| 110 |
*/!function(i,o){"use strict";a=[n(112)],void 0===(r=function(e){return function(e,t){var n=e.jQuery,a=e.console;function r(e,t){for(var n in t)e[n]=t[n];return e}var i=Array.prototype.slice;function o(e,t,l){if(!(this instanceof o))return new o(e,t,l);var s,c=e;("string"==typeof e&&(c=document.querySelectorAll(e)),c)?(this.elements=(s=c,Array.isArray(s)?s:"object"==typeof s&&"number"==typeof s.length?i.call(s):[s]),this.options=r({},this.options),"function"==typeof t?l=t:r(this.options,t),l&&this.on("always",l),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):a.error("Bad element for imagesLoaded "+(c||e))}o.prototype=Object.create(t.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&l[t]){for(var n=e.querySelectorAll("img"),a=0;a<n.length;a++){var r=n[a];this.addImage(r)}if("string"==typeof this.options.background){var i=e.querySelectorAll(this.options.background);for(a=0;a<i.length;a++){var o=i[a];this.addElementBackgroundImages(o)}}}};var l={1:!0,9:!0,11:!0};function s(e){this.img=e}function c(e,t){this.url=e,this.element=t,this.img=new Image}return o.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var n=/url\((['"])?(.*?)\1\)/gi,a=n.exec(t.backgroundImage);null!==a;){var r=a&&a[2];r&&this.addBackground(r,e),a=n.exec(t.backgroundImage)}},o.prototype.addImage=function(e){var t=new s(e);this.images.push(t)},o.prototype.addBackground=function(e,t){var n=new c(e,t);this.images.push(n)},o.prototype.check=function(){var e=this;function t(t,n,a){setTimeout((function(){e.progress(t,n,a)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(e){e.once("progress",t),e.check()})):this.complete()},o.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+n,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},s.prototype=Object.create(t.prototype),s.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},s.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},s.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},s.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},s.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},s.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(s.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},o.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((n=t).fn.imagesLoaded=function(e,t){return new o(this,e,t).jqDeferred.promise(n(this))})},o.makeJQueryPlugin(),o}(i,e)}.apply(t,a))||(e.exports=r)}("undefined"!=typeof window?window:this)},function(e,t,n){var a=n(67),r=n(26),i=n(554),o=n(28),l=n(69),s=n(27),c=Object.prototype.hasOwnProperty,u=i((function(e,t){if(l(t)||o(t))r(t,s(t),e);else for(var n in t)c.call(t,n)&&a(e,n,t[n])}));e.exports=u},function(e,t,n){var a=n(555),r=n(556);e.exports=function(e){return a((function(t,n){var a=-1,i=n.length,o=i>1?n[i-1]:void 0,l=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,l&&r(n[0],n[1],l)&&(o=i<3?void 0:o,i=1),t=Object(t);++a<i;){var s=n[a];s&&e(t,s,a,o)}return t}))}},function(e,t,n){var a=n(110),r=n(163),i=n(164);e.exports=function(e,t){return i(r(e,t,a),e+"")}},function(e,t,n){var a=n(64),r=n(28),i=n(68),o=n(8);e.exports=function(e,t,n){if(!o(n))return!1;var l=typeof t;return!!("number"==l?r(n)&&i(t,n.length):"string"==l&&t in n)&&a(n[t],e)}},function(e,t,n){"use strict";var a=n(301).forEach,r=n(558),i=n(559),o=n(560),l=n(561),s=n(562),c=n(302),u=n(563),p=n(565),d=n(566),m=n(567);function f(e){return Array.isArray(e)||void 0!==e.length}function b(e){if(Array.isArray(e))return e;var t=[];return a(e,(function(e){t.push(e)})),t}function g(e){return e&&1===e.nodeType}function h(e,t,n){var a=e[t];return null==a&&void 0!==n?n:a}e.exports=function(e){var t;if((e=e||{}).idHandler)t={get:function(t){return e.idHandler.get(t,!0)},set:e.idHandler.set};else{var n=o(),v=l({idGenerator:n,stateHandler:p});t=v}var y=e.reporter;y||(y=s(!1===y));var w=h(e,"batchProcessor",u({reporter:y})),k={};k.callOnAdd=!!h(e,"callOnAdd",!0),k.debug=!!h(e,"debug",!1);var _,x=i(t),S=r({stateHandler:p}),E=h(e,"strategy","object"),T=h(e,"important",!1),C={reporter:y,batchProcessor:w,stateHandler:p,idHandler:t,important:T};if("scroll"===E&&(c.isLegacyOpera()?(y.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),E="object"):c.isIE(9)&&(y.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),E="object")),"scroll"===E)_=m(C);else{if("object"!==E)throw new Error("Invalid strategy name: "+E);_=d(C)}var M={};return{listenTo:function(e,n,r){function i(e){var t=x.get(e);a(t,(function(t){t(e)}))}function o(e,t,n){x.add(t,n),e&&n(t)}if(r||(r=n,n=e,e={}),!n)throw new Error("At least one element required.");if(!r)throw new Error("Listener required.");if(g(n))n=[n];else{if(!f(n))return y.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");n=b(n)}var l=0,s=h(e,"callOnAdd",k.callOnAdd),c=h(e,"onReady",(function(){})),u=h(e,"debug",k.debug);a(n,(function(e){p.getState(e)||(p.initState(e),t.set(e));var d=t.get(e);if(u&&y.log("Attaching listener to element",d,e),!S.isDetectable(e))return u&&y.log(d,"Not detectable."),S.isBusy(e)?(u&&y.log(d,"System busy making it detectable"),o(s,e,r),M[d]=M[d]||[],void M[d].push((function(){++l===n.length&&c()}))):(u&&y.log(d,"Making detectable..."),S.markBusy(e,!0),_.makeDetectable({debug:u,important:T},e,(function(e){if(u&&y.log(d,"onElementDetectable"),p.getState(e)){S.markAsDetectable(e),S.markBusy(e,!1),_.addListener(e,i),o(s,e,r);var t=p.getState(e);if(t&&t.startSize){var m=e.offsetWidth,f=e.offsetHeight;t.startSize.width===m&&t.startSize.height===f||i(e)}M[d]&&a(M[d],(function(e){e()}))}else u&&y.log(d,"Element uninstalled before being detectable.");delete M[d],++l===n.length&&c()})));u&&y.log(d,"Already detecable, adding listener."),o(s,e,r),l++})),l===n.length&&c()},removeListener:x.removeListener,removeAllListeners:x.removeAllListeners,uninstall:function(e){if(!e)return y.error("At least one element is required.");if(g(e))e=[e];else{if(!f(e))return y.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=b(e)}a(e,(function(e){x.removeAllListeners(e),_.uninstall(e),p.cleanState(e)}))},initDocument:function(e){_.initDocument&&_.initDocument(e)}}}},function(e,t,n){"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var n=t(e);return n&&!!n.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,n){t(e).busy=!!n}}}},function(e,t,n){"use strict";e.exports=function(e){var t={};function n(n){var a=e.get(n);return void 0===a?[]:t[a]||[]}return{get:n,add:function(n,a){var r=e.get(n);t[r]||(t[r]=[]),t[r].push(a)},removeListener:function(e,t){for(var a=n(e),r=0,i=a.length;r<i;++r)if(a[r]===t){a.splice(r,1);break}},removeAllListeners:function(e){var t=n(e);t&&(t.length=0)}}}},function(e,t,n){"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},function(e,t,n){"use strict";e.exports=function(e){var t=e.idGenerator,n=e.stateHandler.getState;return{get:function(e){var t=n(e);return t&&void 0!==t.id?t.id:null},set:function(e){var a=n(e);if(!a)throw new Error("setId required the element to have a resize detection state.");var r=t.generate();return a.id=r,r}}}},function(e,t,n){"use strict";e.exports=function(e){function t(){}var n={log:t,warn:t,error:t};if(!e&&window.console){var a=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var n=0;n<arguments.length;n++)e(arguments[n])}};a(n,"log"),a(n,"warn"),a(n,"error")}return n}},function(e,t,n){"use strict";var a=n(564);function r(){var e={},t=0,n=0,a=0;return{add:function(r,i){i||(i=r,r=0),r>n?n=r:r<a&&(a=r),e[r]||(e[r]=[]),e[r].push(i),t++},process:function(){for(var t=a;t<=n;t++)for(var r=e[t],i=0;i<r.length;i++){(0,r[i])()}},size:function(){return t}}}e.exports=function(e){var t=(e=e||{}).reporter,n=a.getOption(e,"async",!0),i=a.getOption(e,"auto",!0);i&&!n&&(t&&t.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),n=!0);var o,l=r(),s=!1;function c(){for(s=!0;l.size();){var e=l;l=r(),e.process()}s=!1}function u(){var e;e=c,o=setTimeout(e,0)}return{add:function(e,t){!s&&i&&n&&0===l.size()&&u(),l.add(e,t)},force:function(e){s||(void 0===e&&(e=n),o&&(clearTimeout(o),o=null),e?u():c())}}}},function(e,t,n){"use strict";(e.exports={}).getOption=function(e,t,n){var a=e[t];if(null==a&&void 0!==n)return n;return a}},function(e,t,n){"use strict";function a(e){return e._erd}e.exports={initState:function(e){return e._erd={},a(e)},getState:a,cleanState:function(e){delete e._erd}}},function(e,t,n){"use strict";var a=n(302);e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,r=e.stateHandler.getState;if(!t)throw new Error("Missing required dependency: reporter.");function i(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function o(e){return r(e).object}return{makeDetectable:function(e,o,l){l||(l=o,o=e,e=null),(e=e||{}).debug,a.isIE(8)?l(o):function(o,l){var s=i(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),c=!1,u=window.getComputedStyle(o),p=o.offsetWidth,d=o.offsetHeight;function m(){function n(){if("static"===u.position){o.style.setProperty("position","relative",e.important?"important":"");var n=function(t,n,a,r){var i=a[r];"auto"!==i&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(i)&&(t.warn("An element that is positioned static has style."+r+"="+i+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",n),n.style.setProperty(r,"0",e.important?"important":""))};n(t,o,u,"top"),n(t,o,u,"right"),n(t,o,u,"bottom"),n(t,o,u,"left")}}""!==u.position&&(n(),c=!0);var i=document.createElement("object");i.style.cssText=s,i.tabIndex=-1,i.type="text/html",i.setAttribute("aria-hidden","true"),i.onload=function(){c||n(),function e(t,n){if(!t.contentDocument){var a=r(t);return a.checkForObjectDocumentTimeoutId&&window.clearTimeout(a.checkForObjectDocumentTimeoutId),void(a.checkForObjectDocumentTimeoutId=setTimeout((function(){a.checkForObjectDocumentTimeoutId=0,e(t,n)}),100))}n(t.contentDocument)}(this,(function(e){l(o)}))},a.isIE()||(i.data="about:blank"),r(o)&&(o.appendChild(i),r(o).object=i,a.isIE()&&(i.data="about:blank"))}r(o).startSize={width:p,height:d},n?n.add(m):m()}(o,l)},addListener:function(e,t){function n(){t(e)}if(a.isIE(8))r(e).object={proxy:n},e.attachEvent("onresize",n);else{var i=o(e);if(!i)throw new Error("Element is not detectable by this strategy.");i.contentDocument.defaultView.addEventListener("resize",n)}},uninstall:function(e){if(r(e)){var t=o(e);t&&(a.isIE(8)?e.detachEvent("onresize",t.proxy):e.removeChild(t),r(e).checkForObjectDocumentTimeoutId&&window.clearTimeout(r(e).checkForObjectDocumentTimeoutId),delete r(e).object)}}}}},function(e,t,n){"use strict";var a=n(301).forEach;e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,r=e.stateHandler.getState,i=(e.stateHandler.hasState,e.idHandler);if(!n)throw new Error("Missing required dependency: batchProcessor");if(!t)throw new Error("Missing required dependency: reporter.");var o=function(){var e=document.createElement("div");e.style.cssText=s(["position: absolute","width: 1000px","height: 1000px","visibility: hidden","margin: 0","padding: 0"]);var t=document.createElement("div");t.style.cssText=s(["position: absolute","width: 500px","height: 500px","overflow: scroll","visibility: none","top: -1500px","left: -1500px","visibility: hidden","margin: 0","padding: 0"]),t.appendChild(e),document.body.insertBefore(t,document.body.firstChild);var n=500-t.clientWidth,a=500-t.clientHeight;return document.body.removeChild(t),{width:n,height:a}}();function l(e){!function(e,t,n){if(!e.getElementById(t)){var a=n+"_animation",r=n+"_animation_active",i="/* Created by the element-resize-detector library. */\n";i+="."+n+" > div::-webkit-scrollbar { "+s(["display: none"])+" }\n\n",i+="."+r+" { "+s(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+a,"animation-name: "+a])+" }\n",i+="@-webkit-keyframes "+a+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",function(n,a){a=a||function(t){e.head.appendChild(t)};var r=e.createElement("style");r.innerHTML=n,r.id=t,a(r)}(i+="@keyframes "+a+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}(e,"erd_scroll_detection_scrollbar_style","erd_scroll_detection_container")}function s(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function c(e,n,a){if(e.addEventListener)e.addEventListener(n,a);else{if(!e.attachEvent)return t.error("[scroll] Don't know how to add event listeners.");e.attachEvent("on"+n,a)}}function u(e,n,a){if(e.removeEventListener)e.removeEventListener(n,a);else{if(!e.detachEvent)return t.error("[scroll] Don't know how to remove event listeners.");e.detachEvent("on"+n,a)}}function p(e){return r(e).container.childNodes[0].childNodes[0].childNodes[0]}function d(e){return r(e).container.childNodes[0].childNodes[0].childNodes[1]}return l(window.document),{makeDetectable:function(e,l,u){function m(){if(e.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(i.get(l),"Scroll: "),t.log.apply)t.log.apply(null,n);else for(var a=0;a<n.length;a++)t.log(n[a])}}function f(e){var t=r(e).container.childNodes[0],n=window.getComputedStyle(t);return!n.width||-1===n.width.indexOf("px")}function b(){var e=window.getComputedStyle(l),t={};return t.position=e.position,t.width=l.offsetWidth,t.height=l.offsetHeight,t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.widthCSS=e.width,t.heightCSS=e.height,t}function g(){if(m("storeStyle invoked."),r(l)){var e=b();r(l).style=e}else m("Aborting because element has been uninstalled")}function h(e,t,n){r(e).lastWidth=t,r(e).lastHeight=n}function v(){return 2*o.width+1}function y(){return 2*o.height+1}function w(e){return e+10+v()}function k(e){return e+10+y()}function _(e,t,n){var a=p(e),r=d(e),i=w(t),o=k(n),l=function(e){return 2*e+v()}(t),s=function(e){return 2*e+y()}(n);a.scrollLeft=i,a.scrollTop=o,r.scrollLeft=l,r.scrollTop=s}function x(){var e=r(l).container;if(!e){(e=document.createElement("div")).className="erd_scroll_detection_container",e.style.cssText=s(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),r(l).container=e,function(e){e.className+=" erd_scroll_detection_container_animation_active"}(e),l.appendChild(e);var t=function(){r(l).onRendered&&r(l).onRendered()};c(e,"animationstart",t),r(l).onAnimationStart=t}return e}function S(){if(m("Injecting elements"),r(l)){!function(){var n=r(l).style;if("static"===n.position){l.style.setProperty("position","relative",e.important?"important":"");var a=function(e,t,n,a){var r=n[a];"auto"!==r&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(r)&&(e.warn("An element that is positioned static has style."+a+"="+r+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+a+" will be set to 0. Element: ",t),t.style[a]=0)};a(t,l,n,"top"),a(t,l,n,"right"),a(t,l,n,"bottom"),a(t,l,n,"left")}}();var n=r(l).container;n||(n=x());var a,i,u,p,d=o.width,f=o.height,b=s(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),g=s(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(["left: "+(a=(a=-(1+d))?a+"px":"0"),"top: "+(i=(i=-(1+f))?i+"px":"0"),"right: "+(p=(p=-d)?p+"px":"0"),"bottom: "+(u=(u=-f)?u+"px":"0")])),h=s(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),v=s(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),y=s(["position: absolute","left: 0","top: 0"]),w=s(["position: absolute","width: 200%","height: 200%"]),k=document.createElement("div"),_=document.createElement("div"),S=document.createElement("div"),E=document.createElement("div"),T=document.createElement("div"),C=document.createElement("div");k.dir="ltr",k.style.cssText=b,k.className="erd_scroll_detection_container",_.className="erd_scroll_detection_container",_.style.cssText=g,S.style.cssText=h,E.style.cssText=y,T.style.cssText=v,C.style.cssText=w,S.appendChild(E),T.appendChild(C),_.appendChild(S),_.appendChild(T),k.appendChild(_),n.appendChild(k),c(S,"scroll",M),c(T,"scroll",O),r(l).onExpandScroll=M,r(l).onShrinkScroll=O}else m("Aborting because element has been uninstalled");function M(){r(l).onExpand&&r(l).onExpand()}function O(){r(l).onShrink&&r(l).onShrink()}}function E(){function o(t,n,a){var r=function(e){return p(e).childNodes[0]}(t),i=w(n),o=k(a);r.style.setProperty("width",i+"px",e.important?"important":""),r.style.setProperty("height",o+"px",e.important?"important":"")}function s(a){var s=l.offsetWidth,u=l.offsetHeight,p=s!==r(l).lastWidth||u!==r(l).lastHeight;m("Storing current size",s,u),h(l,s,u),n.add(0,(function(){if(p)if(r(l))if(c()){if(e.debug){var n=l.offsetWidth,a=l.offsetHeight;n===s&&a===u||t.warn(i.get(l),"Scroll: Size changed before updating detector elements.")}o(l,s,u)}else m("Aborting because element container has not been initialized");else m("Aborting because element has been uninstalled")})),n.add(1,(function(){r(l)?c()?_(l,s,u):m("Aborting because element container has not been initialized"):m("Aborting because element has been uninstalled")})),p&&a&&n.add(2,(function(){r(l)?c()?a():m("Aborting because element container has not been initialized"):m("Aborting because element has been uninstalled")}))}function c(){return!!r(l).container}function u(){m("notifyListenersIfNeeded invoked");var e=r(l);return void 0===r(l).lastNotifiedWidth&&e.lastWidth===e.startSize.width&&e.lastHeight===e.startSize.height?m("Not notifying: Size is the same as the start size, and there has been no notification yet."):e.lastWidth===e.lastNotifiedWidth&&e.lastHeight===e.lastNotifiedHeight?m("Not notifying: Size already notified"):(m("Current size not notified, notifying..."),e.lastNotifiedWidth=e.lastWidth,e.lastNotifiedHeight=e.lastHeight,void a(r(l).listeners,(function(e){e(l)})))}function b(){m("Scroll detected."),f(l)?m("Scroll event fired while unrendered. Ignoring..."):s(u)}if(m("registerListenersAndPositionElements invoked."),r(l)){r(l).onRendered=function(){if(m("startanimation triggered."),f(l))m("Ignoring since element is still unrendered...");else{m("Element rendered.");var e=p(l),t=d(l);0!==e.scrollLeft&&0!==e.scrollTop&&0!==t.scrollLeft&&0!==t.scrollTop||(m("Scrollbars out of sync. Updating detector elements..."),s(u))}},r(l).onExpand=b,r(l).onShrink=b;var g=r(l).style;o(l,g.width,g.height)}else m("Aborting because element has been uninstalled")}function T(){if(m("finalizeDomMutation invoked."),r(l)){var e=r(l).style;h(l,e.width,e.height),_(l,e.width,e.height)}else m("Aborting because element has been uninstalled")}function C(){u(l)}function M(){var e;m("Installing..."),r(l).listeners=[],e=b(),r(l).startSize={width:e.width,height:e.height},m("Element start size",r(l).startSize),n.add(0,g),n.add(1,S),n.add(2,E),n.add(3,T),n.add(4,C)}u||(u=l,l=e,e=null),e=e||{},m("Making detectable..."),!function(e){return!function(e){return e===e.ownerDocument.body||e.ownerDocument.body.contains(e)}(e)||null===window.getComputedStyle(e)}(l)?M():(m("Element is detached"),x(),m("Waiting until element is attached..."),r(l).onRendered=function(){m("Element is now attached"),M()})},addListener:function(e,t){if(!r(e).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");r(e).listeners.push(t)},uninstall:function(e){var t=r(e);t&&(t.onExpandScroll&&u(p(e),"scroll",t.onExpandScroll),t.onShrinkScroll&&u(d(e),"scroll",t.onShrinkScroll),t.onAnimationStart&&u(t.container,"animationstart",t.onAnimationStart),t.container&&e.removeChild(t.container))},initDocument:l}}},function(e,t,n){var a=n(8),r=n(569),i=n(173),o=Math.max,l=Math.min;e.exports=function(e,t,n){var s,c,u,p,d,m,f=0,b=!1,g=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=s,a=c;return s=c=void 0,f=t,p=e.apply(a,n)}function y(e){return f=e,d=setTimeout(k,t),b?v(e):p}function w(e){var n=e-m;return void 0===m||n>=t||n<0||g&&e-f>=u}function k(){var e=r();if(w(e))return _(e);d=setTimeout(k,function(e){var n=t-(e-m);return g?l(n,u-(e-f)):n}(e))}function _(e){return d=void 0,h&&s?v(e):(s=c=void 0,p)}function x(){var e=r(),n=w(e);if(s=arguments,c=this,m=e,n){if(void 0===d)return y(m);if(g)return clearTimeout(d),d=setTimeout(k,t),v(m)}return void 0===d&&(d=setTimeout(k,t)),p}return t=i(t)||0,a(n)&&(b=!!n.leading,u=(g="maxWait"in n)?o(i(n.maxWait)||0,t):u,h="trailing"in n?!!n.trailing:h),x.cancel=function(){void 0!==d&&clearTimeout(d),f=0,s=m=c=d=void 0},x.flush=function(){return void 0===d?p:_(r())},x}},function(e,t,n){var a=n(7);e.exports=function(){return a.Date.now()}},function(e,t,n){"use strict";var a=n(3),r=n(571);if(void 0===a)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new a.Component).updater;e.exports=r(a.Component,a.isValidElement,i)},function(e,t,n){"use strict";var a=n(111),r=n(572),i=n(573);e.exports=function(e,t,n){var o=[],l={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},s={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},c={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)p(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=a({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=a({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=m(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=a({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var n in t){var a=t[n];if(t.hasOwnProperty(n)){if(i(!(n in c),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e){var r=s.hasOwnProperty(n)?s[n]:null;return i("DEFINE_MANY_MERGED"===r,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=m(e[n],a))}e[n]=a}}}(e,t)},autobind:function(){}};function u(e,t){var n=l.hasOwnProperty(t)?l[t]:null;v.hasOwnProperty(t)&&i("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&i("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function p(e,n){if(n){i("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),i(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var a=e.prototype,r=a.__reactAutoBindPairs;for(var o in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(o)&&"mixins"!==o){var s=n[o],p=a.hasOwnProperty(o);if(u(p,o),c.hasOwnProperty(o))c[o](e,s);else{var d=l.hasOwnProperty(o);if("function"==typeof s&&!d&&!p&&!1!==n.autobind)r.push(o,s),a[o]=s;else if(p){var b=l[o];i(d&&("DEFINE_MANY_MERGED"===b||"DEFINE_MANY"===b),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",b,o),"DEFINE_MANY_MERGED"===b?a[o]=m(a[o],s):"DEFINE_MANY"===b&&(a[o]=f(a[o],s))}else a[o]=s}}}else;}function d(e,t){for(var n in i(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(i(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function m(e,t){return function(){var n=e.apply(this,arguments),a=t.apply(this,arguments);if(null==n)return a;if(null==a)return n;var r={};return d(r,n),d(r,a),r}}function f(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function b(e,t){return t.bind(e)}var g={componentDidMount:function(){this.__isMounted=!0}},h={componentWillUnmount:function(){this.__isMounted=!1}},v={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},y=function(){};return a(y.prototype,e.prototype,v),function(e){var t=function(e,a,o){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var a=t[n],r=t[n+1];e[a]=b(e,r)}}(this),this.props=e,this.context=a,this.refs=r,this.updater=o||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;i("object"==typeof l&&!Array.isArray(l),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=l};for(var a in t.prototype=new y,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],o.forEach(p.bind(null,t)),p(t,g),p(t,e),p(t,h),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),i(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[a]||(t.prototype[a]=null);return t}}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";e.exports=function(e,t,n,a,r,i,o,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,a,r,i,o,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(e,t,n){"use strict";n.r(t);n(575),n(579),n(315),n(580);const a={};a.category=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-blockspare",fill:"url(#blockspare-gradient)",width:"20px",height:"20px",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40"},wp.element.createElement("g",{className:"blockspare-logo"},wp.element.createElement("g",null,wp.element.createElement("path",{class:"st0",d:"M1.6,9.2v21.4l18.3-9.2L20.2,0L1.6,9.2z M16.9,19.8L4.9,26V10.9l12-6.1V19.8z"}),wp.element.createElement("polygon",{id:"XMLID_3_",class:"st1",points:"19.9,21.4 16.9,23 26,27.7 13.8,33.8 4.9,29 1.6,30.7 13.9,36.9 32.4,27.7 "})),wp.element.createElement("g",null,wp.element.createElement("polygon",{id:"XMLID_2_",class:"st0",points:"23,1.5 23,19.8 32.4,24.6 32.4,9.4 35.3,10.9 35.3,29 38.4,30.7 38.4,9.2 29.4,4.8 29.2,19.7 26,18.4 26,3.1 "}),wp.element.createElement("polygon",{id:"XMLID_1_",class:"st1",points:"17,38.4 19.9,40 38.4,30.7 35.3,29 "})))),a.accordion=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-accordion",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("rect",{id:"XMLID_1_",x:"1.2",y:"6.8",width:"17.6",height:"12.6"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"1.2",y:"3.6",width:"17.6",height:"2"}),wp.element.createElement("rect",{id:"XMLID_3_",x:"1.2",y:"0.6",width:"17.6",height:"2"}))),a.price=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-price",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_27_",d:"M5.3,12.6c0.8,0,1.6,0,2.3,0c0.1,0.8,0.7,1.2,1.4,1.4c0.8,0.2,1.6,0.2,2.3-0.2c0.6-0.3,0.9-0.8,0.8-1.4 c-0.1-0.5-0.4-0.7-0.8-0.9c-0.6-0.2-1.2-0.3-1.8-0.5c-0.7-0.2-1.4-0.3-2-0.6c-1.5-0.6-2.2-1.8-2-3.4c0.2-1.4,1-2.3,2.3-2.8 C8.2,4.2,8.6,4.1,9,4c0-0.7,0-1.4,0-2.2c0.7,0,1.4,0,2,0c0,0.7,0,1.4,0,2.2c1.2,0.2,2.2,0.7,2.9,1.7c0.4,0.5,0.5,1.1,0.6,1.7 c-0.8,0-1.5,0-2.3,0c-0.1-0.4-0.3-0.8-0.7-1.1c-0.5-0.3-1-0.4-1.5-0.4C9.5,5.9,9,6,8.6,6.2C8.2,6.5,8,6.9,8,7.4 c0,0.5,0.3,0.8,0.7,1c0.5,0.3,1.1,0.4,1.7,0.5C11.2,9,12,9.1,12.7,9.4c1.5,0.6,2.1,1.8,1.9,3.4c-0.2,1.5-1.2,2.6-2.7,3 c-0.3,0.1-0.6,0.1-0.9,0.2c0,0.7,0,1.4,0,2.2c-0.7,0-1.4,0-2.1,0c0-0.7,0-1.4,0.1-2.1c-0.5-0.2-1-0.3-1.5-0.5 c-1.3-0.5-2.1-1.5-2.2-2.9C5.3,12.7,5.3,12.6,5.3,12.6z"}))),a.container=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("circle",{id:"XMLID_3_",cx:"10",cy:"9.9",r:"5.5"}),wp.element.createElement("g",{id:"XMLID_4_"},wp.element.createElement("rect",{id:"XMLID_5_",x:"8.9",y:"6.1",class:"st0",width:"2.2",height:"7.9"}),wp.element.createElement("rect",{id:"XMLID_6_",x:"6",y:"9",class:"st0",width:"7.9",height:"2.2"}))),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_8_",d:"M20,20H0V0H20V20z M1,19H19V1H1V19z"}))),a.contentbox=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-contentbox",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("circle",{id:"XMLID_1_",cx:"5.7",cy:"10",r:"3.8"}),wp.element.createElement("g",{id:"XMLID_3_"},wp.element.createElement("rect",{id:"XMLID_5_",x:"10.7",y:"10.6",width:"7.3",height:"2"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"10.7",y:"7.4",width:"7.3",height:"2"}))),wp.element.createElement("g",{id:"XMLID_7_"},wp.element.createElement("path",{id:"XMLID_4_",d:"M19.8,16.8H0.2V3.2h19.7V16.8z M0.9,16h18.2V4H0.9V16z"}))),a.userprofile=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-userprofile",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_3_",d:"M13.1,2.5c1.7,1.7,1.7,4.5,0,6.3s-4.5,1.7-6.3,0s-1.7-4.5,0-6.3C8.6,0.7,11.4,0.7,13.1,2.5"}),wp.element.createElement("path",{id:"XMLID_2_",d:"M16.8,13.2c-4-2.7-9.5-2.7-13.6,0c-0.6,0.4-1,1.1-1,1.8v3.8h15.5V15C17.7,14.3,17.4,13.6,16.8,13.2 L16.8,13.2z"}))),a.starrating=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-starrating",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("polygon",{id:"XMLID_6_",points:"17.4,8.2 12.3,7.5 10,2.8 7.7,7.5 2.6,8.2 6.3,11.8 5.4,16.9 10,14.5 14.6,16.9 13.7,11.8 "}),wp.element.createElement("polygon",{id:"XMLID_8_",class:"st0",points:"13.7,15.8 10,13.8 10,4.2 11.9,8 16,8.6 13,11.6 "}))),a.imagecarousel=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-imagecarousel",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_9_",d:"M16.4,16.4H3.6V3.6h12.7V16.4z M4.6,15.4h10.7V4.6H4.6V15.4z"})),wp.element.createElement("rect",{id:"XMLID_3_",x:"17.5",y:"4.1",width:"2.5",height:"11.7"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"0",y:"4.1",width:"2.5",height:"11.7"}),wp.element.createElement("g",{id:"XMLID_7_"},wp.element.createElement("polygon",{id:"XMLID_2_",points:"5.1,14 8.6,7.9 12.1,14 "}),wp.element.createElement("polygon",{id:"XMLID_6_",points:"10.4,14 12.6,10.1 14.9,14 "}),wp.element.createElement("circle",{id:"XMLID_5_",cx:"12.4",cy:"7.1",r:"1.4"}))),a.imageslider=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-imageslider",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("path",{id:"XMLID_9_",d:"M16.4,16.4H3.6V3.6h12.7V16.4z M4.6,15.4h10.7V4.6H4.6V15.4z"}),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("polygon",{id:"XMLID_5_",points:"5.1,14 8.6,7.9 12.1,14 "}),wp.element.createElement("polygon",{id:"XMLID_6_",points:"10.4,14 12.6,10.1 14.9,14 "}),wp.element.createElement("circle",{id:"XMLID_7_",cx:"12.4",cy:"7.1",r:"1.4"})),wp.element.createElement("path",{id:"XMLID_20_",d:"M1.1,10l1.5-0.9C2.7,9,2.7,8.9,2.7,8.7c0-0.1-0.1-0.3-0.2-0.4C2.4,8.2,2.2,8.2,2,8.3L0.1,9.5 C0,9.6,0,9.7,0,9.9v0.2c0,0.2,0,0.4,0.1,0.5L2,11.7c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.1-0.2,0.1-0.4 c0-0.2-0.1-0.3-0.2-0.4L1.1,10z"}),wp.element.createElement("path",{id:"XMLID_17_",d:"M19.9,9.5L18,8.3c-0.2-0.1-0.4-0.1-0.6,0.1c-0.1,0.1-0.1,0.2-0.1,0.4c0,0.2,0.1,0.3,0.2,0.4l1.5,0.9 l-1.5,0.9c-0.1,0.1-0.2,0.2-0.2,0.4c0,0.1,0.1,0.3,0.2,0.4c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1l1.8-1.1 c0.2-0.1,0.2-0.3,0.2-0.5V9.9C20,9.7,20,9.6,19.9,9.5z"})),a.postlist=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-postlist",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_5_",d:"M6.8,8.3H0.9V2h5.9V8.3z"})),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("rect",{id:"XMLID_3_",x:"8.7",y:"3.1",width:"8.5",height:"1.4"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"8.7",y:"5.8",width:"10.2",height:"1.4"})),wp.element.createElement("g",{id:"XMLID_14_"},wp.element.createElement("path",{id:"XMLID_15_",d:"M6.9,18.2H0.8v-6.6h6.1V18.2z"})),wp.element.createElement("g",{id:"XMLID_11_"},wp.element.createElement("rect",{id:"XMLID_13_",x:"8.7",y:"12.8",width:"8.5",height:"1.4"}),wp.element.createElement("rect",{id:"XMLID_12_",x:"8.7",y:"15.5",width:"10.2",height:"1.4"}))),a.postgrid=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-postgrid",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_5_"},wp.element.createElement("g",{id:"XMLID_14_"},wp.element.createElement("path",{id:"XMLID_15_",d:"M9,11.2H1V2.9h8V11.2z"})),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_3_",d:"M19,11.2h-8V2.9h8V11.2z"})),wp.element.createElement("rect",{id:"XMLID_1_",x:"1",y:"12.4",width:"7.2",height:"1.8"}),wp.element.createElement("rect",{id:"XMLID_6_",x:"1",y:"15.3",width:"8",height:"1.8"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"11",y:"12.4",width:"7.2",height:"1.8"}),wp.element.createElement("rect",{id:"XMLID_7_",x:"11",y:"15.3",width:"8",height:"1.8"}))),a.postcarousel=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-postcarousel",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("g",{id:"XMLID_14_"},wp.element.createElement("path",{id:"XMLID_15_",d:"M16,11.4H4V1.7H16V11.4z"})),wp.element.createElement("rect",{id:"XMLID_5_",x:"4",y:"12.8",width:"10.8",height:"2.1"}),wp.element.createElement("rect",{id:"XMLID_6_",x:"4",y:"16.2",width:"12.1",height:"2.1"})),wp.element.createElement("path",{id:"XMLID_20_",d:"M1.1,10l1.5-0.9C2.7,9,2.7,8.9,2.7,8.7c0-0.1-0.1-0.3-0.2-0.4C2.4,8.2,2.2,8.2,2,8.3L0.1,9.5 C0,9.6,0,9.7,0,9.9v0.2c0,0.2,0,0.4,0.1,0.5L2,11.7c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.1-0.2,0.1-0.4 c0-0.2-0.1-0.3-0.2-0.4L1.1,10z"}),wp.element.createElement("path",{id:"XMLID_2_",d:"M19.9,9.5L18,8.3c-0.2-0.1-0.4-0.1-0.6,0.1c-0.1,0.1-0.1,0.2-0.1,0.4c0,0.2,0.1,0.3,0.2,0.4l1.5,0.9l-1.5,0.9 c-0.1,0.1-0.2,0.2-0.2,0.4c0,0.1,0.1,0.3,0.2,0.4c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1l1.8-1.1c0.2-0.1,0.2-0.3,0.2-0.5V9.9 C20,9.7,20,9.6,19.9,9.5z"})),a.iconblockspare=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-iconblockspare",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_23_",d:"M17.4,2c0.2,0,0.5,0,0.7,0c0.4,0,0.5,0.1,0.5,0.5c0,2.7-0.9,5-2.8,6.9c-0.8,0.8-1.7,1.5-2.5,2.3 c-0.1,0.1-0.2,0.3-0.2,0.4c-0.1,1.1-0.1,2.2-0.2,3.3c0,0.3-0.1,0.4-0.3,0.6c-1.2,0.7-2.5,1.4-3.7,2c-0.3,0.2-0.5,0.1-0.7-0.1 c-0.6-0.4-0.7-0.9-0.4-1.5c0.3-0.6,0.4-1.2,0.6-1.8c0.1-0.2,0-0.3-0.1-0.5c-0.8-0.8-1.7-1.6-2.5-2.4c-0.2-0.2-0.3-0.2-0.5-0.1 c-0.8,0.3-1.7,0.5-2.5,0.7c-0.3,0.1-0.4,0-0.6-0.2c-0.9-0.9-0.8-0.6-0.2-1.5c0.6-1,1.2-2,1.8-2.9C3.8,7.4,4,7.3,4.3,7.3 c1.2,0,2.3-0.1,3.5-0.2C8,7.1,8.2,7,8.3,6.9c1-1,2-2,3.1-2.9C13,2.7,14.9,2.1,17,2C17.1,2,17.3,2,17.4,2C17.4,2,17.4,2,17.4,2z M15.2,6.1c0.6,0,1-0.4,1-0.9c0-0.5-0.5-1-1-1c-0.5,0-1,0.4-1,1C14.2,5.6,14.7,6.1,15.2,6.1z"}))),a.iconlist=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-iconlist",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_16_",d:"M2.4,3.3c0.7-0.7,1.3-1.3,2-2c0.1-0.1,0.1-0.1,0.2-0.2C4.8,1,5.1,1,5.3,1.1c0.2,0.2,0.2,0.4,0,0.6 c0,0-0.1,0.1-0.1,0.1C4.4,2.7,3.6,3.5,2.8,4.3C2.5,4.6,2.3,4.6,2,4.3C1.6,3.9,1.2,3.5,0.8,3.1C0.5,2.8,0.6,2.3,1,2.2 c0.2-0.1,0.4,0,0.5,0.2C1.8,2.7,2.1,3,2.4,3.3z"}),wp.element.createElement("rect",{id:"XMLID_1_",x:"6.4",y:"2.2",width:"13",height:"1.7"})),wp.element.createElement("g",{id:"XMLID_4_"},wp.element.createElement("path",{id:"XMLID_6_",d:"M2.4,10.6c0.7-0.7,1.3-1.3,2-2c0.1-0.1,0.1-0.1,0.2-0.2c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.4,0,0.6 c0,0-0.1,0.1-0.1,0.1c-0.8,0.8-1.6,1.6-2.4,2.4c-0.3,0.3-0.5,0.3-0.8,0c-0.4-0.4-0.8-0.8-1.2-1.2C0.5,10,0.6,9.6,1,9.5 c0.2-0.1,0.4,0,0.5,0.2C1.8,10,2.1,10.3,2.4,10.6z"}),wp.element.createElement("rect",{id:"XMLID_5_",x:"6.4",y:"9.5",width:"13",height:"1.7"})),wp.element.createElement("g",{id:"XMLID_7_"},wp.element.createElement("path",{id:"XMLID_9_",d:"M2.4,17.8c0.7-0.7,1.3-1.3,2-2c0.1-0.1,0.1-0.1,0.2-0.2c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.4,0,0.6 c0,0-0.1,0.1-0.1,0.1c-0.8,0.8-1.6,1.6-2.4,2.4c-0.3,0.3-0.5,0.3-0.8,0c-0.4-0.4-0.8-0.8-1.2-1.2c-0.3-0.3-0.2-0.7,0.2-0.8 c0.2-0.1,0.4,0,0.5,0.2C1.8,17.2,2.1,17.5,2.4,17.8z"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"6.4",y:"16.7",width:"13",height:"1.7"}))),a.button=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-button",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("path",{id:"XMLID_2_",class:"st0",d:"M18,9.5H2c-1.1,0-2-0.9-2-2v-2c0-1.1,0.9-2,2-2H18c1.1,0,2,0.9,2,2v2C20,8.6,19.1,9.5,18,9.5z"}),wp.element.createElement("g",{id:"XMLID_5_"},wp.element.createElement("path",{id:"XMLID_6_",class:"st1",d:"M12.8,20H9.7c-1,0-1.9-0.6-2.4-1.5L4.4,13l0.4-0.3c0.3-0.3,0.7-0.4,1.1-0.4 c0.4,0,0.8,0.2,1.1,0.6l0.5,0.6l0-6.2c0-0.6,0.5-1.2,1.1-1.2c0.6,0,1.1,0.5,1.1,1.2v3.2c0.2-0.2,0.5-0.4,0.8-0.4 c0.5,0,0.9,0.3,1.1,0.8c0.2-0.3,0.5-0.5,0.9-0.5c0.5,0,1,0.4,1.1,1c0.2-0.3,0.5-0.4,0.9-0.4h0c0.6,0,1.1,0.5,1.1,1.2l0,4.8 C15.6,18.7,14.4,20,12.8,20z M5.3,13.2l2.6,5c0.4,0.7,1.1,1.1,1.8,1.1h3.1c1.1,0,2.1-1,2.1-2.2l0-4.8c0-0.2-0.2-0.4-0.4-0.4h0 c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.3-0.3,0.6-0.6,0.6s-0.6-0.3-0.6-0.6v-1.1c0-0.2-0.2-0.4-0.4-0.4c-0.2,0-0.4,0.2-0.4,0.4v1.2 c0,0.3-0.3,0.6-0.6,0.6c-0.3,0-0.6-0.3-0.6-0.6v-1.5c0-0.2-0.2-0.4-0.4-0.4c-0.2,0-0.4,0.2-0.4,0.4V13c0,0.3-0.3,0.6-0.6,0.6 C9.3,13.6,9,13.4,9,13V7.3c0-0.2-0.2-0.4-0.4-0.4S8.3,7.1,8.3,7.3l0,6.6c0,0.3-0.2,0.5-0.4,0.6c-0.2,0.1-0.5,0-0.7-0.2l-0.8-1 C6.3,13.1,6.1,13,5.9,13C5.7,13,5.5,13,5.3,13.2z"})),wp.element.createElement("g",{id:"XMLID_4_"},wp.element.createElement("path",{id:"XMLID_3_",class:"st0",d:"M14.5,11.4L14.5,11.4c-0.4,0-0.8,0.3-0.8,0.8v0.6c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2 v-1.1c0-0.4-0.3-0.8-0.7-0.8c-0.4,0-0.7,0.4-0.7,0.8v1.2c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2v-1.5c0-0.4-0.3-0.8-0.7-0.8 h0c-0.4,0-0.7,0.3-0.7,0.8V13c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2v-1.7c0,0,0,0,0,0c0,0,0,0,0,0v-4 c0-0.4-0.3-0.8-0.7-0.8c-0.4,0-0.7,0.4-0.7,0.8l0,6.6c0,0.1-0.1,0.2-0.1,0.2c-0.1,0-0.2,0-0.2-0.1l-0.8-1c-0.2-0.3-0.5-0.4-0.8-0.4 c-0.3,0-0.6,0.1-0.9,0.3c0,0,0,0,0,0l-0.2,0.1l2.7,5.2c0.4,0.8,1.2,1.3,2.1,1.3h3.1c1.3,0,2.4-1.2,2.4-2.6c0-0.8,0-1.3,0-1.8 c0-1.2,0-1.7,0-3C15.2,11.7,14.9,11.4,14.5,11.4z"}))),a.cta=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-cta",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_17_"},wp.element.createElement("rect",{id:"XMLID_15_",x:"14.6",y:"4.1",transform:"matrix(0.7071 -0.7071 0.7071 0.7071 1.7696 13.5544)",class:"st0",width:"5.3",height:"1.2"}),wp.element.createElement("rect",{id:"XMLID_14_",x:"16.4",y:"8.1",class:"st0",width:"3.5",height:"1.2"}),wp.element.createElement("rect",{id:"XMLID_13_",x:"14.6",y:"12.6",transform:"matrix(0.7071 0.7071 -0.7071 0.7071 14.3689 -8.3364)",class:"st0",width:"5.3",height:"1.2"}),wp.element.createElement("g",{id:"XMLID_16_"},wp.element.createElement("path",{id:"XMLID_1_",class:"st0",d:"M2.6,11.8H0.8c-0.4,0-0.7-0.3-0.7-0.7V7c0-0.4,0.3-0.7,0.7-0.7h1.8C3,6.3,3.3,6.6,3.3,7v4.2 C3.3,11.5,3,11.8,2.6,11.8z"}),wp.element.createElement("polygon",{id:"XMLID_24_",class:"st0",points:"7.3,12.8 4,12.2 4,6 7.3,5.4 "}),wp.element.createElement("polygon",{id:"XMLID_28_",class:"st0",points:"3.9,12.8 7.2,13.5 7.2,17.6 3.9,17.6 "}),wp.element.createElement("polygon",{id:"XMLID_26_",class:"st0",points:"13.3,14.2 8.1,12.8 8.1,5.2 13.3,3.8 "}),wp.element.createElement("circle",{id:"XMLID_25_",class:"st0",cx:"13.9",cy:"8.7",r:"1.8"})))),a.masonry=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-masonry",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("rect",{id:"XMLID_1_",x:"1.2",y:"11.2",class:"st0",width:"8.2",height:"7.6"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"1.2",y:"1.2",class:"st0",width:"8.2",height:"8.7"}),wp.element.createElement("rect",{id:"XMLID_3_",x:"10.6",y:"1.2",class:"st0",width:"8.2",height:"5"}),wp.element.createElement("rect",{id:"XMLID_5_",x:"10.6",y:"7.7",class:"st0",width:"8.2",height:"11.1"})),a.logobadge=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-logobadge",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("path",{id:"XMLID_16_",d:"M3.1,2.8c0.3-0.1,0.5-0.2,0.8-0.3c0.8-0.3,1.6-0.6,2.5-0.8c0,0,0.1,0,0.2,0C7,1.9,7.5,2.1,8,2.3 c0.1,0,0.1,0,0.2,0C8.8,2,9.4,1.7,9.9,1.5c0.1,0,0.1,0,0.2,0c0.6,0.3,1.1,0.5,1.7,0.8c0.1,0,0.1,0,0.2,0c0.5-0.2,1-0.4,1.6-0.6 c0,0,0.1,0,0.1,0c1.1,0.4,2.1,0.7,3.2,1.1c0,0,0.1,0,0.1,0c-0.1,0.4-0.3,0.7-0.4,1.1c-0.2,0.8-0.4,1.6-0.3,2.4c0,0.5,0.1,1,0.2,1.5 c0.2,1,0.4,2.1,0.6,3.1c0.1,0.7,0.2,1.3,0.2,2c0,0.3,0,0.5-0.1,0.8c0,0.4-0.2,0.7-0.5,1c-0.4,0.5-1,0.9-1.5,1.3 c-0.8,0.5-1.7,0.9-2.6,1.3c-0.9,0.4-1.7,0.8-2.5,1.4c0,0-0.1,0.1-0.1,0C9,17.9,8.1,17.4,7,17c-0.8-0.4-1.7-0.8-2.4-1.2 c-0.5-0.3-0.9-0.7-1.3-1.1c-0.4-0.4-0.5-0.9-0.6-1.4c0-0.7,0-1.3,0.1-2C3,10,3.3,8.8,3.6,7.6C3.7,7,3.8,6.4,3.8,5.8 C3.8,4.8,3.5,3.8,3.1,2.8C3.1,2.8,3.1,2.8,3.1,2.8z"})),a.notice=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg",fill:"#8B249C",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_4_"}),wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_3_",className:"st0",d:"M10,20C4.5,20,0,15.5,0,10C0,4.5,4.5,0,10,0c5.5,0,10,4.5,10,10C20,15.5,15.5,20,10,20z M10,1 C5,1,1,5,1,10s4.1,9,9,9s9-4.1,9-9S15,1,10,1z"})),wp.element.createElement("path",{id:"XMLID_10_",className:"st0",d:"M11.7,4.4C11.7,5.3,11,6,10,6C9,6,8.3,5.3,8.3,4.4C8.3,3.5,9,2.7,10,2.7 C11,2.7,11.7,3.5,11.7,4.4z"}),wp.element.createElement("rect",{id:"XMLID_9_",x:"8.8",y:"7.1",className:"st0",width:"2.5",height:"9.6"})),a.progressBar=wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#8B249C",className:"blockspare-svg"},wp.element.createElement("g",{id:"XMLID_4_"}),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_5_",className:"st0",d:"M20,3.9H0V0h20V3.9z M0.5,3.4h19V0.5h-19V3.4z"})),wp.element.createElement("rect",{id:"XMLID_3_",x:"0.9",y:"0.9",className:"st0",width:"16.6",height:"2.1"})),wp.element.createElement("g",{id:"XMLID_9_"},wp.element.createElement("g",{id:"XMLID_11_"},wp.element.createElement("path",{id:"XMLID_12_",className:"st0",d:"M20,9.3H0V5.4h20V9.3z M0.5,8.8h19V5.9h-19V8.8z"})),wp.element.createElement("rect",{id:"XMLID_10_",x:"0.9",y:"6.3",className:"st0",width:"10.2",height:"2.1"})),wp.element.createElement("g",{id:"XMLID_15_"},wp.element.createElement("g",{id:"XMLID_17_"},wp.element.createElement("path",{id:"XMLID_18_",className:"st0",d:"M20,14.6H0v-3.9h20V14.6z M0.5,14.1h19v-2.9h-19V14.1z"})),wp.element.createElement("rect",{id:"XMLID_16_",x:"0.9",y:"11.6",className:"st0",width:"14.4",height:"2.1"})),wp.element.createElement("g",{id:"XMLID_21_"},wp.element.createElement("g",{id:"XMLID_23_"},wp.element.createElement("path",{id:"XMLID_24_",className:"st0",d:"M20,20H0v-3.9h20V20z M0.5,19.5h19v-2.9h-19V19.5z"})),wp.element.createElement("rect",{id:"XMLID_22_",x:"0.9",y:"17",className:"st0",width:"16.6",height:"2.1"}))),a.pricingTable=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-pricing-table",xmlns:"http://www.w3.org/2000/svg",viewBox:"-469 271 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_34_",class:"st0",d:"M-455.6,291h-6.8v-20h6.8V291z"})),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_31_",class:"st0",d:"M-462.8,289h-5.9V273h5.9V289z"})),wp.element.createElement("g",{id:"XMLID_3_"},wp.element.createElement("path",{id:"XMLID_28_",class:"st0",d:"M-449.3,289h-5.9V273h5.9V289z"})),wp.element.createElement("path",{id:"XMLID_25_",class:"st1",d:"M-464.4,287.5h-2.7c-0.3,0-0.5-0.2-0.5-0.5l0,0c0-0.3,0.2-0.5,0.5-0.5h2.7 c0.3,0,0.5,0.2,0.5,0.5l0,0C-463.9,287.3-464.1,287.5-464.4,287.5z"}),wp.element.createElement("path",{id:"XMLID_26_",class:"st1",d:"M-457.7,287.5h-2.6c-0.3,0-0.5-0.2-0.5-0.5l0,0c0-0.3,0.2-0.5,0.5-0.5h2.7 c0.3,0,0.5,0.2,0.5,0.5l0,0C-457.1,287.3-457.4,287.5-457.7,287.5z"}),wp.element.createElement("path",{id:"XMLID_27_",class:"st1",d:"M-451,287.5h-2.7c-0.3,0-0.5-0.2-0.5-0.5l0,0c0-0.3,0.2-0.5,0.5-0.5h2.7c0.3,0,0.5,0.2,0.5,0.5 l0,0C-450.4,287.3-450.7,287.5-451,287.5z"}),wp.element.createElement("g",null,wp.element.createElement("path",{class:"st1",d:"M-466.1,283.3v-1c-0.6,0-1.2-0.2-1.5-0.4l0.2-0.7c0.4,0.2,0.9,0.4,1.4,0.4c0.7,0,1.2-0.4,1.2-1 c0-0.5-0.4-0.9-1.1-1.2c-1-0.4-1.6-0.9-1.6-1.7c0-0.8,0.6-1.4,1.5-1.6v-1h0.6v1c0.6,0,1,0.2,1.3,0.3l-0.2,0.7 c-0.2-0.1-0.6-0.3-1.2-0.3c-0.8,0-1,0.5-1,0.9c0,0.5,0.4,0.8,1.2,1.1c1,0.4,1.5,0.9,1.5,1.8c0,0.8-0.5,1.5-1.6,1.7v1H-466.1z"})),wp.element.createElement("g",null,wp.element.createElement("path",{class:"st1",d:"M-459.3,282.3v-1c-0.6,0-1.2-0.2-1.5-0.4l0.2-0.7c0.4,0.2,0.9,0.4,1.4,0.4c0.7,0,1.2-0.4,1.2-1 c0-0.5-0.4-0.9-1.1-1.2c-1-0.4-1.6-0.9-1.6-1.7c0-0.8,0.6-1.4,1.5-1.6v-1h0.6v1c0.6,0,1,0.2,1.3,0.3l-0.2,0.7 c-0.2-0.1-0.6-0.3-1.2-0.3c-0.8,0-1,0.5-1,0.9c0,0.5,0.4,0.8,1.2,1.1c1,0.4,1.5,0.9,1.5,1.8c0,0.8-0.5,1.5-1.6,1.7v1H-459.3z"})),wp.element.createElement("g",null,wp.element.createElement("path",{class:"st1",d:"M-452.6,283.3v-1c-0.6,0-1.2-0.2-1.5-0.4l0.2-0.7c0.4,0.2,0.9,0.4,1.4,0.4c0.7,0,1.2-0.4,1.2-1 c0-0.5-0.4-0.9-1.1-1.2c-1-0.4-1.6-0.9-1.6-1.7c0-0.8,0.6-1.4,1.5-1.6v-1h0.6v1c0.6,0,1,0.2,1.3,0.3l-0.2,0.7 c-0.2-0.1-0.6-0.3-1.2-0.3c-0.8,0-1,0.5-1,0.9c0,0.5,0.4,0.8,1.2,1.1c1,0.4,1.5,0.9,1.5,1.8c0,0.8-0.5,1.5-1.6,1.7v1H-452.6z"}))),a.pricingList=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("circle",{cx:"3.3",cy:"2.6",r:"2.6"}),wp.element.createElement("rect",{x:"7.1",y:"1.4",className:"st0",width:"9.8",height:"0.8"}),wp.element.createElement("rect",{x:"17.7",y:"1.4",className:"st0",width:"2.3",height:"0.8"}),wp.element.createElement("rect",{x:"7.1",y:"3.1",className:"st0",width:"12.9",height:"0.8"}),wp.element.createElement("circle",{className:"st0",cx:"3.3",cy:"9.7",r:"2.6"}),wp.element.createElement("rect",{x:"7.1",y:"8.9",className:"st0",width:"9.8",height:"0.8"}),wp.element.createElement("rect",{x:"17.7",y:"8.9",className:"st0",width:"2.3",height:"0.8"}),wp.element.createElement("rect",{x:"7.1",y:"10.5",className:"st0",width:"12.9",height:"0.8"}),wp.element.createElement("circle",{className:"st0",cx:"3.3",cy:"17.4",r:"2.6"}),wp.element.createElement("rect",{x:"7.1",y:"16.3",className:"st0",width:"9.8",height:"0.8"}),wp.element.createElement("rect",{x:"17.7",y:"16.3",className:"st0",width:"2.3",height:"0.8"}),wp.element.createElement("rect",{x:"7.1",y:"17.9",className:"st0",width:"12.9",height:"0.8"})),a.socialShare=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("path",{id:"XMLID_7_",class:"st0",d:"M16,12.8c-0.9,0-1.8,0.4-2.3,1l-6.4-3.7c0-0.1,0-0.1,0-0.2c0-0.1,0-0.2,0-0.3l6.3-3.6 C14.1,6.8,15,7.3,16,7.3c1.7,0,3.2-1.4,3.2-3.2C19.1,2.4,17.7,1,16,1s-3.2,1.4-3.2,3.2c0,0.3,0,0.5,0.1,0.8L6.7,8.4 C6.2,7.5,5.2,6.8,4.1,6.8c-1.7,0-3.2,1.4-3.2,3.2c0,1.7,1.4,3.2,3.2,3.2c1.2,0,2.2-0.7,2.7-1.6L13,15c-0.1,0.3-0.2,0.6-0.2,0.9 c0,1.7,1.4,3.2,3.2,3.2s3.2-1.4,3.2-3.2C19.1,14.2,17.7,12.8,16,12.8z"})),a.sociallinks=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-sociallinks",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("rect",{id:"XMLID_1_",x:"0.5",y:"0.5",width:"9",height:"9"}),wp.element.createElement("rect",{id:"XMLID_10_",x:"10.5",y:"0.5",width:"9",height:"9"}),wp.element.createElement("rect",{id:"XMLID_12_",x:"0.5",y:"10.5",width:"9",height:"9"}),wp.element.createElement("rect",{id:"XMLID_11_",x:"10.5",y:"10.5",width:"9",height:"9"}),wp.element.createElement("g",{id:"XMLID_7_"},wp.element.createElement("path",{id:"XMLID_70_",class:"st0",d:"M11.2,15.1c0-0.6,0-1.1,0-1.5c0-0.4,0-0.7,0.2-1c0.2-0.6,0.7-1,1.3-1.2 c0.2-0.1,0.5-0.1,0.8-0.1c1,0,2,0,2.9,0c0.3,0,0.7,0,1,0.1c0.6,0.2,1,0.6,1.2,1.2c0.1,0.3,0.2,0.5,0.2,0.8c0,0.4,0,0.8,0,1.3 c0,0.6,0,1.1,0,1.7c0,0.3,0,0.6-0.1,1c-0.2,0.7-0.7,1.2-1.4,1.4c-0.2,0.1-0.5,0.1-0.7,0.1c-1,0-1.9,0-2.9,0c-0.3,0-0.7,0-1-0.1 c-0.7-0.2-1.1-0.7-1.3-1.4c-0.1-0.2-0.1-0.5-0.1-0.7C11.2,16,11.2,15.5,11.2,15.1z M18.1,15C18.1,15,18.1,15,18.1,15 c0-0.3,0-0.7,0-1c0-0.3,0-0.7-0.1-1c-0.1-0.3-0.2-0.5-0.4-0.7c-0.2-0.2-0.4-0.3-0.7-0.3c-0.4-0.1-0.8-0.1-1.1-0.1 c-0.6,0-1.1,0-1.7,0c-0.3,0-0.7,0-1,0.1c-0.3,0.1-0.5,0.2-0.7,0.4C12.1,12.5,12,12.8,12,13c-0.1,0.4-0.1,0.7-0.1,1.1 c0,0.6,0,1.2,0,1.8c0,0.4,0,0.7,0.1,1.1c0.1,0.3,0.2,0.5,0.4,0.7c0.2,0.2,0.5,0.3,0.7,0.3c0.4,0.1,0.7,0.1,1.1,0.1 c0.6,0,1.2,0,1.7,0c0.3,0,0.7,0,1-0.1c0.3-0.1,0.5-0.2,0.7-0.4c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3,0.1-0.6,0.1-0.9 C18.1,15.7,18.1,15.4,18.1,15z"}),wp.element.createElement("path",{id:"XMLID_63_",class:"st0",d:"M16.9,15c0,1-0.8,2-2,2c-1,0-2-0.8-2-2c0-1,0.8-1.9,2-2C16.1,13,17,14,16.9,15z M15,13.7 c-0.7,0-1.3,0.6-1.3,1.3c0,0.7,0.6,1.3,1.3,1.3c0.7,0,1.3-0.6,1.3-1.3C16.3,14.3,15.7,13.7,15,13.7z"}),wp.element.createElement("path",{id:"XMLID_62_",class:"st0",d:"M17.5,13c0,0.2-0.2,0.5-0.5,0.5c-0.2,0-0.5-0.2-0.5-0.5c0-0.2,0.2-0.5,0.5-0.4 C17.3,12.5,17.5,12.7,17.5,13z"})),wp.element.createElement("g",{id:"XMLID_4_"},wp.element.createElement("path",{id:"XMLID_35_",class:"st0",d:"M13.5,6.7c-0.8,0-1.3-0.6-1.5-1.1c0.2,0,0.5,0,0.7,0c-0.4-0.1-0.7-0.3-0.9-0.6 c-0.2-0.3-0.3-0.6-0.3-1c0.1,0,0.2,0.1,0.3,0.1c0.1,0,0.2,0.1,0.4,0.1C11.8,4,11.5,3.6,11.5,3c0-0.3,0.1-0.6,0.2-0.9 c0.8,1,1.9,1.5,3.2,1.6c0-0.1,0-0.1,0-0.2c0-0.6,0.2-1,0.6-1.4c0.6-0.5,1.5-0.4,2.1,0.1c0,0,0,0,0.1,0C18,2.3,18.3,2.2,18.6,2 c0,0,0,0,0,0c-0.1,0.2-0.1,0.3-0.3,0.5c-0.1,0.1-0.3,0.3-0.4,0.4c0.3,0,0.6-0.1,0.9-0.2c0,0,0,0,0,0c-0.2,0.3-0.4,0.5-0.7,0.7 c0,0,0,0,0,0.1c0,0.7-0.1,1.4-0.4,2c-0.3,0.7-0.8,1.3-1.4,1.8c-0.5,0.3-1,0.6-1.6,0.7c-0.6,0.1-1.3,0.2-1.9,0 c-0.5-0.1-1-0.3-1.5-0.6c0,0,0,0,0,0c0.6,0.1,1.2,0,1.8-0.3C13.2,7,13.3,6.9,13.5,6.7z"})),wp.element.createElement("g",{id:"XMLID_3_"},wp.element.createElement("path",{id:"XMLID_37_",class:"st0",d:"M4.2,5.3c-0.4,0-0.8,0-1.2,0C3,4.9,3,4.4,3,4c0.4,0,0.8,0,1.2,0c0,0,0,0,0-0.1 c0-0.4,0-0.7,0-1.1c0-0.4,0.1-0.7,0.3-1C4.7,1.4,5,1.3,5.4,1.2c0.2-0.1,0.5-0.1,0.7-0.1c0.3,0,0.6,0,0.9,0c0,0,0,0,0,0 C7,1.6,7,2,7,2.4c0,0,0,0,0,0c0,0,0,0-0.1,0c-0.3,0-0.5,0-0.8,0c-0.1,0-0.1,0-0.2,0C5.8,2.5,5.6,2.6,5.6,2.9c0,0.1,0,0.2,0,0.3 c0,0.2,0,0.5,0,0.7c0,0,0,0,0,0.1c0.5,0,0.9,0,1.4,0C6.9,4.4,6.8,4.9,6.8,5.3c-0.4,0-0.8,0-1.2,0c0,1.2,0,2.4,0,3.6 c-0.5,0-1,0-1.4,0C4.2,7.7,4.2,6.5,4.2,5.3z"})),wp.element.createElement("g",{id:"XMLID_5_"},wp.element.createElement("path",{id:"XMLID_33_",class:"st0",d:"M8.6,18.6C8.6,18.6,8.6,18.6,8.6,18.6c-0.5,0-1,0-1.4,0c0,0,0,0,0,0c0,0,0,0,0,0 c0-0.8,0-1.6,0-2.4c0-0.2,0-0.4,0-0.6c0-0.1-0.1-0.2-0.1-0.3C6.8,15.1,6.7,15,6.5,15c-0.2,0-0.3,0-0.5,0c-0.2,0.1-0.4,0.2-0.5,0.4 c-0.1,0.1-0.1,0.3-0.1,0.4c0,0.1,0,0.3,0,0.4c0,0.8,0,1.5,0,2.3c0,0,0,0,0,0c-0.5,0-1,0-1.5,0c0-1.6,0-3.2,0-4.8c0.5,0,0.9,0,1.4,0 c0,0.2,0,0.4,0,0.6c0,0,0,0,0,0c0,0,0,0,0,0C5.6,14.2,5.8,14,6,13.8c0.2-0.1,0.5-0.2,0.8-0.2c0.3,0,0.5,0,0.7,0.1 c0.4,0.1,0.7,0.4,0.8,0.8c0.1,0.2,0.1,0.5,0.1,0.7c0,0.1,0,0.3,0,0.4c0,0,0,0,0,0C8.6,16.7,8.6,17.6,8.6,18.6z"}),wp.element.createElement("path",{id:"XMLID_32_",class:"st0",d:"M2.3,11.4c0,0,0.1,0,0.1,0c0.4,0.1,0.7,0.4,0.7,0.8c0,0.4-0.3,0.8-0.7,0.8 c-0.5,0.1-0.9-0.2-1-0.7c0,0,0,0,0-0.1c0,0,0-0.1,0-0.1c0,0,0,0,0,0c0-0.3,0.3-0.6,0.6-0.7c0.1,0,0.1,0,0.2,0 C2.2,11.4,2.3,11.4,2.3,11.4z"}),wp.element.createElement("path",{id:"XMLID_30_",class:"st0",d:"M3,18.6c-0.5,0-1,0-1.5,0c0-1.6,0-3.2,0-4.8c0.5,0,1,0,1.5,0C3,15.4,3,17,3,18.6z"}))),a.tabs=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-tabs",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("rect",{id:"XMLID_1_",x:"1.2",y:"4.9",width:"17.6",height:"14"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"1.2",y:"1.3",width:"8.2",height:"3.6"}),wp.element.createElement("rect",{id:"XMLID_3_",x:"10.6",y:"1.3",width:"8.2",height:"2.5"}))),a.shapediviver=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-shape-diviver",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("path",{id:"XMLID_6_",d:"M20,20H0V0h20V20z M1,19h18V1H1V19z"}),wp.element.createElement("path",{id:"XMLID_10_",d:"M0,10.8c0,0,6.3-3.3,10.6,1.1c5.3,5.5,9.4-2,9.4-2V20L0,20V10.8z"})),a.counter=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-shape-counter",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("rect",{id:"XMLID_4_",x:"1.3",y:"1",width:"8",height:"18"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"10.7",y:"1",width:"8",height:"18"}),wp.element.createElement("g",{id:"XMLID_23_"},wp.element.createElement("path",{id:"XMLID_25_",class:"st0",d:"M8.4,10c0,0.7-0.1,1.3-0.2,1.8c-0.1,0.5-0.3,1-0.5,1.3c-0.2,0.3-0.6,0.6-1,0.8 c-0.4,0.2-0.9,0.3-1.4,0.3c-0.6,0-1-0.1-1.4-0.3c-0.4-0.2-0.7-0.4-1-0.8c-0.2-0.4-0.4-0.8-0.5-1.3c-0.1-0.5-0.2-1.1-0.2-1.8 c0-0.7,0.1-1.3,0.2-1.8c0.1-0.5,0.3-0.9,0.5-1.3c0.3-0.4,0.6-0.6,1-0.8c0.4-0.2,0.9-0.3,1.4-0.3c0.6,0,1.1,0.1,1.5,0.3 s0.7,0.5,1,0.8C8,7.2,8.2,7.7,8.3,8.2C8.4,8.7,8.4,9.3,8.4,10z M6.4,10c0-1-0.1-1.7-0.2-2.1C6,7.5,5.7,7.3,5.3,7.3 c-0.4,0-0.7,0.2-0.8,0.6C4.3,8.3,4.3,9,4.3,10c0,1,0.1,1.7,0.2,2.1c0.2,0.4,0.4,0.6,0.8,0.6s0.7-0.2,0.8-0.6 C6.3,11.7,6.4,11,6.4,10z"})),wp.element.createElement("g",{id:"XMLID_3_"},wp.element.createElement("path",{id:"XMLID_9_",class:"st0",d:"M17.6,7.6L14.2,14H12l3.6-6.5h-3.8V6h5.9V7.6z"})),wp.element.createElement("path",{id:"XMLID_26_",class:"st0",d:"M15.1,2.1c-0.2,0.4-0.4,0.5-0.8,0.5c-0.4,0-0.6-0.1-0.8-0.5C13.4,1.9,13.3,1,13.3,1h-1.9 c0,0,0.1,0.6,0.1,0.9c0.1,0.5,0.3,0.8,0.5,1.2c0.2,0.3,0.5,0.6,0.9,0.7C13.3,3.9,13.8,4,14.3,4c0.5,0,1-0.1,1.4-0.3 C16,3.6,16.3,3.3,16.5,3c0.2-0.3,0.4-0.6,0.5-1.1C17.1,1.6,17.1,1,17.2,1h-1.9C15.2,1,15.2,1.9,15.1,2.1z"})),a.testimonial=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-testimonial",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_2_",class:"st0",d:"M17.5,14.1H2.5c-1.3,0-2.3-1-2.3-2.3V6.3C0.2,5,1.3,4,2.5,4h14.9c1.3,0,2.3,1,2.3,2.3v5.6 C19.8,13.1,18.7,14.1,17.5,14.1z"}),wp.element.createElement("polygon",{id:"XMLID_3_",class:"st0",points:"1.8,13 4.1,17 6.4,13 "}))),a.upload=wp.element.createElement("svg",{width:"50px",height:"50px",viewBox:"0 0 20 20",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M17.9,4c-1,0-2,0-3,0c-0.2,0-0.3,0-0.3-0.3c-0.1-0.9-1-1.5-1.8-1.5c-1.9,0-3.8,0-5.7,0 c-0.8,0-1.6,0.6-1.7,1.5C5.4,3.9,5.3,4,5,4c-1,0-1.9,0-2.9,0C1.1,4,0.1,5,0.1,6c0,3.2,0,6.5,0,9.7c0,0.2,0.1,0.5,0.2,0.7 c0.4,0.9,1.2,1.4,2.2,1.4c2.5,0,5.1,0,7.6,0c2.5,0,4.9,0,7.4,0c0.3,0,0.5,0,0.8-0.1c0.9-0.2,1.7-1.1,1.8-2c0-3.3,0-6.5,0-9.8 C19.9,5,18.9,4,17.9,4z M19,15.3c0,0.4-0.1,0.9-0.5,1.2c-0.3,0.3-0.7,0.3-1.1,0.3c-2.5,0-4.9,0-7.4,0c-2.5,0-4.9,0-7.4,0 c-0.4,0-0.9,0-1.2-0.4c-0.2-0.2-0.4-0.5-0.4-0.9c0-3.1,0-6.3,0-9.4C1.1,5.5,1.6,5,2.3,5c1.1,0,2.3,0,3.4,0c0.6,0,0.8-0.2,0.8-0.8 c0,0,0-0.1,0-0.1C6.4,3.3,6.8,3.1,7.3,3.1c1.8,0,3.8,0,5.6,0c0.6,0,1.1,0.3,1.1,1c0,0.1,0,0.1,0,0.2C14,4.8,14,5,14.5,5 c1.1,0,2.1,0,3.2,0c0.9,0,1.4,0.5,1.4,1.5C19.1,9.4,19,12.3,19,15.3z"}),wp.element.createElement("path",{d:"M10,6.2c-2.6,0-4.7,2.1-4.7,4.6c0,2.6,2.1,4.7,4.6,4.7c2.6,0,4.7-2.1,4.7-4.6C14.7,8.3,12.6,6.2,10,6.2z M10,14.5c-1.9,0-3.6-1.4-3.6-3.6c0-2,1.6-3.6,3.6-3.6c2,0,3.6,1.5,3.6,3.7C13.6,13,12,14.5,10,14.5z"}),wp.element.createElement("path",{d:"M16.7,6.2c-0.5,0-0.9,0.4-0.9,0.9c0,0.5,0.4,0.9,0.9,0.9c0.5,0,0.9-0.5,0.9-0.9C17.7,6.6,17.2,6.2,16.7,6.2 z"})),a.sectionHeader=wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B",className:"blockspare-svg"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_3_",d:"M17,2.2v15.6h-4.3v-6.3H7.4v6.3H3V2.2h4.3V8h5.3V2.2H17z"}))),a.services=wp.element.createElement("svg",{width:"20px",height:"20px",className:"blockspare-svg blockspare-svg-services",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("circle",{id:"XMLID_1_",cx:"4.5",cy:"5",r:"3.4"}),wp.element.createElement("circle",{id:"XMLID_9_",cx:"15.5",cy:"5",r:"3.4"}),wp.element.createElement("rect",{id:"XMLID_2_",y:"10",width:"9",height:"1.7"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"11",y:"9.8",width:"9",height:"1.7"}),wp.element.createElement("rect",{id:"XMLID_4_",y:"13.3",width:"9",height:"6.7"}),wp.element.createElement("rect",{id:"XMLID_7_",x:"11",y:"13.1",width:"9",height:"6.9"})),a.emptySpaces=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{className:"cls-1",x:"1.5",y:"1.5",width:"13",height:"13"})),a.layouts=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{fill:"#333333",d:"M0.4,15.1V0.7c0-0.2,0.1-0.3,0.3-0.3h8.8c0.2,0,0.3,0.1,0.3,0.3v14.4c0,0.2-0.1,0.3-0.3,0.3H0.7 C0.6,15.4,0.4,15.3,0.4,15.1z"}),wp.element.createElement("path",{fill:"#333333",d:"M10.2,7.2V0.7c0-0.2,0.1-0.3,0.3-0.3h8.8c0.2,0,0.3,0.1,0.3,0.3v6.5c0,0.2-0.1,0.3-0.3,0.3h-8.8 C10.3,7.5,10.2,7.3,10.2,7.2z"}),wp.element.createElement("path",{fill:"#333333",d:"M10.3,15.1V8.2c0-0.2,0.1-0.3,0.3-0.3h3.8c0.2,0,0.3,0.1,0.3,0.3v6.9c0,0.2-0.1,0.3-0.3,0.3h-3.8 C10.4,15.4,10.3,15.3,10.3,15.1z"}),wp.element.createElement("path",{fill:"#333333",d:"M0.8,15.8h18.4c0.2,0,0.3,0.1,0.3,0.3v3.3c0,0.2-0.1,0.3-0.3,0.3H0.8c-0.2,0-0.3-0.1-0.3-0.3 v-3.3C0.5,15.9,0.7,15.8,0.8,15.8z"}),wp.element.createElement("path",{fill:"#333333",d:"M15.2,15.1V8.2c0-0.2,0.1-0.3,0.3-0.3h3.7c0.2,0,0.3,0.1,0.3,0.3v6.9c0,0.2-0.1,0.3-0.3,0.3h-3.7 C15.3,15.4,15.2,15.3,15.2,15.1z"})),a.flipX=wp.element.createElement("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"m11 18h3v-2h-3zm3-12h2v-2h-2zm-14-2v12c0 1.1.9 2 2 2h3v-2h-3v-12h3v-2h-3c-1.1 0-2 .9-2 2zm14-2v2h2c0-1.1-.9-2-2-2zm-7 18h2v-20h-2zm7-4h2v-2h-2zm-3-12h3v-2h-3zm3 8h2v-4h-2zm0 6c1.1 0 2-.9 2-2h-2z",transform:"translate(2)"})),a.flipY=wp.element.createElement("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"m13 16h3v-2h-3zm3-12h2v-2h-2zm-14-2v12c0 1.1.9 2 2 2h3v-2h-3v-12h3v-2h-3c-1.1 0-2 .9-2 2zm14-2v2h2c0-1.1-.9-2-2-2zm-7 18h2v-20h-2zm7-4h2v-2h-2zm-3-12h3v-2h-3zm3 8h2v-4h-2zm0 6c1.1 0 2-.9 2-2h-2z",transform:"matrix(0 1 -1 0 18 0)"})),a.edit='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><Path d="m11 5.9125c-2.784375 0-5.01875 2.26875-5.01875 5.01875 0 2.784375 2.26875 5.01875 5.01875 5.01875 2.784375 0 5.01875-2.26875 5.01875-5.01875s-2.234375-5.01875-5.01875-5.01875zm.378125 6.325-1.134375 1.134375-1.134375-1.134375-1.1-1.1 1.134375-1.134375 1.1 1.1 2.6125-2.6125 1.134375 1.134375zm9.659375-2.715625c-.446875-.4125-.61875-1.065625-.378125-1.615625l.20625-.515625c.34375-.790625-.103125-1.684375-.928125-1.925l-.55-.1375c-.584375-.171875-.996875-.6875-1.03125-1.30625v-.584375c-.034375-.859375-.825-1.478125-1.65-1.340625l-.55.103125c-.61875.103125-1.203125-.171875-1.478125-.721875l-.275-.48125c-.4125-.75625-1.375-.9625-2.0625-.48125l-.446875.309375c-.48125.34375-1.16875.34375-1.65 0l-.446875-.34375c-.6875-.515625-1.684375-.275-2.096875.48125l-.275.48125c-.309375.55-.89375.825-1.5125.721875l-.55-.103125c-.859375-.1375-1.615625.48125-1.684375 1.340625l-.034375.55c-.034375.61875-.446875 1.134375-1.03125 1.30625l-.55.171875c-.825.240625-1.271875 1.134375-.928125 1.925l.20625.515625c.240625.55.06875 1.203125-.378125 1.615625l-.4125.378125c-.653125.55-.653125 1.58125 0 2.13125l.4125.378125c.446875.4125.61875 1.065625.378125 1.615625l-.20625.515625c-.34375.790625.103125 1.684375.928125 1.925l.55.1375c.584375.171875.996875.6875 1.03125 1.30625l.034375.55c.034375.859375.825 1.478125 1.65 1.340625l.55-.103125c.61875-.103125 1.203125.171875 1.478125.721875l.275.48125c.4125.75625 1.375.9625 2.0625.48125l.446875-.309375c.48125-.34375 1.16875-.34375 1.65 0l.446875.34375c.6875.515625 1.684375.275 2.096875-.48125l.275-.48125c.309375-.55.89375-.825 1.5125-.721875l.55.103125c.859375.1375 1.615625-.48125 1.684375-1.340625l.034375-.55c.034375-.61875.446875-1.134375 1.03125-1.30625l.55-.1375c.825-.240625 1.271875-1.134375.928125-1.925l-.20625-.515625c-.240625-.55-.06875-1.203125.378125-1.615625l.4125-.378125c.653125-.55.653125-1.58125 0-2.13125zm-10.0375 8.3875c-3.85 0-6.94375-3.128125-6.94375-6.94375 0-3.85 3.128125-6.94375 6.94375-6.94375 3.85 0 6.94375 3.128125 6.94375 6.94375s-3.09375 6.94375-6.94375 6.94375z" transform="translate(1 1)" /></svg>;',a.blockspare_placeholder=wp.element.createElement("svg",{viewBox:"0 0 384 384",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M203.3,384c-7.5,0-15,0-22.5,0c-7.9-1.1-15.8-1.9-23.7-3.3C78.7,366.6,16.4,303.8,3,225.4c-1.2-7.1-2-14.3-3-21.4 c0-8,0-16,0-24c0.2-1,0.6-1.9,0.6-2.9c1.4-18.8,5.7-36.9,12.4-54.5c0.6-1.5,0.6-3.3,0.9-4.7c1-1.5,2.3-2.9,3-4.5 C26,93.3,38,75.2,53.4,59.3C82.7,29,118.1,10.1,159.6,2.9c7.2-1.2,14.6-2,21.9-2.9c7.3,0,14.5,0,21.8,0c1,0.2,1.9,0.4,2.9,0.6 c12.3,2.1,25,2.8,36.8,6.5c75.8,23.3,122,74.1,138.1,151.9c1.4,6.9,2,14,3,21.1c0,8,0,16,0,24c-0.2,1-0.5,1.9-0.6,2.9 c-1.3,8.8-2.1,17.6-3.9,26.3c-15.7,75.1-78.8,135.5-154.4,147.9C217.8,382.3,210.5,383,203.3,384z M20.8,140.3 c-22.5,68.7,1.5,162.7,85.2,208.8c80.6,44.3,178.3,19.1,229.2-49.9c-3.4-3.2-6.6-6.7-10.2-9.8c-3.9-3.3-5.5-7-5.1-12.1 c0.4-5.5,0.2-11,0-16.5c-0.1-2-0.5-4.2-1.4-6.1c-5-10.2-9.6-20.6-15.4-30.4c-7-11.8-10.4-24.1-8.9-37.8c0.2-1.6-0.5-4.2-1.6-4.8 c-4.9-2.6-8.3-8.1-14.7-7.8c-0.5,0-1,0.2-1.5,0.3c-6.1,1.5-12.1,3.1-18.2,4.4c-1.7,0.4-3.8,0.4-5.4-0.3 c-14.6-6.1-29.2-12.3-43.7-18.8c-1.9-0.9-4.1-3.4-4.4-5.4c-2.4-14.4-4.2-28.9-6.3-43.4c-0.4-3,0.4-5.3,2.5-7.4 c5.9-5.8,11.6-11.8,17.6-17.4c1.6-1.5,4.1-2.6,6.2-2.6c12.1-0.2,24.2-0.1,36.4-0.1c3,0,5.2,1.2,6.9,3.7c3,4.6,6,9.2,9.2,13.7 c0.9,1.3,2.6,2.4,4.1,2.7c6,1.2,12,2.1,18.1,3.1c4.7,0.7,9.7,2.8,14,1.7c10.4-2.5,20.4-6.5,31.4-10.2c-6.7-8.9-13-17.3-19.3-25.8 c-5,3.4-9.3,6.4-13.8,9.1c-1.8,1.1-4.3,2-6.2,1.6c-15.8-3.2-31.8-5.3-46.9-11.2c-1.7-0.7-3.9-0.7-5.8-0.3 c-6.3,1.4-12.6,3.2-18.9,4.6c-2.1,0.5-4.5,0.6-6.6,0c-5.9-1.7-11.7-3.7-17.4-5.7c-5-1.7-6.4-5.3-4.1-10c3.9-8,7.9-15.8,11.8-23.8 c1.6-3.2,3.9-4.5,7.5-4.4c5.9,0.1,11.8-0.3,17.6,0.1c6.4,0.4,10.9-3.3,16.4-5.8c-27.7-15.5-93.9-17.9-122.5-4.2 c3.5,1.6,6.2,3.4,9.2,4c11,2.1,22.1,3.8,33.2,5.8c5.7,1,7.5,4.2,5.7,9.8c-1.8,5.6-3.7,11.1-5.5,16.7c-0.9,2.9-2.6,4.7-5.5,5.6 c-4.2,1.3-8.4,2.5-12.4,4.3c-2,0.9-4.1,2.3-5.3,4.1c-5.2,8.2-10,16.7-15.2,25c-1.3,2-3.1,3.9-5.2,5.2c-9.3,5.8-18.8,11.4-28.3,17 c-1.8,1-3.9,1.8-5.9,2.1c-11.5,1.8-23,3.5-34.5,5c-2.6,0.3-3.1,1.4-3.3,3.8c-0.5,5.4,0.8,9.7,5.3,13c1.7,1.2,3.4,2.8,4.5,4.5 c1.4,2.2,2.5,4.7,3,7.3c0.5,2.4,0.1,5,0.1,7.6c0.3,0.1,0.7,0.2,1,0.3c2.1-2.2,4.2-4.6,6.4-6.7c4.4-4.3,8.9-3.6,11.7,2 c3.1,6,6.1,12,9,18.1c1,2.1,2.2,2.8,4.6,2.8c11.9-0.1,23.7,0.1,35.6-0.1c4.1-0.1,6.7,1.5,8.8,5.1c4.6,8,9.6,15.8,14.1,23.8 c1.4,2.5,3.1,3.4,6,3.3c5.4-0.2,10.7-0.1,16.1-0.1c6.7,0,9,2.8,7.8,9.5c-0.8,4.4-2.3,8.8-2.6,13.2c-0.8,13.7-6.8,24.4-17.6,32.6 c-0.3,0.2-0.5,0.6-0.8,0.8c-8.7,6.2-12.3,14.4-10.5,25c0.6,3.6-1.1,6.2-4,8.3c-6.5,4.7-12.9,9.5-19.2,14.4c-1.2,1-2.2,3-2.2,4.6 c-0.2,8.2,0,16.5-0.1,24.7c-0.1,6-3.8,8.7-9.5,6.8c-5.6-1.8-11.1-3.7-16.7-5.5c-3-0.9-4.8-2.7-6-5.7c-3.7-9.5-7.6-19-11.3-28.5 c-0.8-2.2-1.3-4.6-1.3-6.9C96,287.3,96,269.9,96,252.6c0-1.3,0-2.7,0-4.1c-8.2-1.6-16-3.3-23.8-4.7c-4.2-0.7-7-2.5-8.8-6.5 c-2-4.7-4.2-9.4-6.9-13.7c-4.4-7.2-5.6-14.8-5.6-23.2c0-7.5,1.2-13.8,7.6-18.3c0.6-0.4,1-1.1,1.7-1.9c-1.3-0.9-2.4-1.7-3.5-2.4 c-8.8-5.9-17.8-11.6-26.4-17.8c-2.1-1.5-3.8-3.9-4.8-6.3C23.6,149.5,22.4,145.1,20.8,140.3z M342.3,288.8 c36.6-54.1,37.1-128,8.3-179.1c-10.8,3.6-21.7,7.3-32.6,10.8c-2.2,0.7-4.7,1.1-6.9,0.8c-10.5-1.5-20.9-3.7-31.4-5 c-5.8-0.8-9.9-3-12.8-8.3c-2.2-4.1-4.5-9.3-8.2-11.3c-3.7-2-9.3-0.6-14-0.6c-6,0-12.6-1.5-17.8,0.7c-5.1,2.1-8.7,8-13,12.2 c-0.2,0.2-0.4,0.3-0.5,0.5c-0.5,1.4-1.4,2.9-1.2,4.2c1.4,10.9,3.1,21.8,4.5,32.7c0.3,2.2,1.2,3.2,3.1,4c11.5,4.8,22.9,9.9,34.4,14.7 c1.5,0.6,3.4,0.7,5,0.4c6.5-1.4,12.9-3.1,19.2-4.8c3-0.8,5.6-0.4,8.1,1.4c5.4,3.8,10.9,7.5,16.5,11c2.9,1.9,4.2,4.4,4.2,7.8 c-0.1,6.2-0.2,12.5,0.1,18.7c0.1,2.4,0.6,5,1.7,7.1c4.6,9.7,9,19.6,14.5,28.8c7.5,12.6,11.2,25.7,9.4,40.3c-0.1,0.5-0.1,1,0,1.5 c0.4,1.1,0.7,2.4,1.4,3.2C336.8,283.2,339.4,285.8,342.3,288.8z M87.8,170.8c-7.8,7.8-15.2,15.1-22.4,22.6c-0.9,0.9-1.3,2.6-1.4,4 c-0.9,8,0.5,15.6,5,22.5c1.8,2.7,2.7,5.9,4.5,8.6c1,1.4,2.7,2.9,4.4,3.2c8,1.8,16.1,3.3,24.2,5c5.2,1.1,6.7,2.9,6.7,8.2 c0,12,0.7,24-0.2,36c-1.2,17.1,2,33,9.3,48.5c2.3,4.8,5.4,6.2,10.2,7c0-6.3,0.4-12.5-0.1-18.5c-0.4-5.5,1.5-9.3,6.2-12.1 c2.9-1.7,5.4-4,8.1-6c3.7-2.8,8.8-4.9,10.6-8.6c1.9-3.8,0.8-9.3,0.7-14c-0.1-3.3,1-5.7,3.3-7.9c7-6.8,13.8-13.7,20.7-20.6 c0.7-0.7,1.8-1.4,1.9-2.2c1.6-7.2,3-14.5,4.6-22.2c-5.8,0-10.9-0.1-16,0c-3.8,0.1-6.3-1.4-8.2-4.7c-4.8-8.3-9.9-16.5-14.7-24.8 c-1.1-2-2.4-2.7-4.7-2.7c-12.1,0.1-24.2,0-36.4,0.1c-4,0-6.6-1.5-8.3-5.1C93.4,181.7,90.7,176.5,87.8,170.8z M170.7,43.7 c-1.7-0.3-3.1-0.7-4.6-0.9c-14.6-2.6-30-2.8-41.8-14c-1.5-1.5-3.1-1.4-5.1-0.5c-41.2,18.9-71.3,48.9-90.4,90 c-0.6,1.3-0.7,3.2-0.3,4.5c2.6,8.2,5.3,16.4,8.2,24.5c0.5,1.4,1.6,2.8,2.9,3.6c7.1,4.9,14.3,9.6,21.5,14.4c0.8,0.5,1.6,0.9,2.6,1.3 c1.1-9.7,1.1-9.7-5.1-15.9c-1.5-1.5-3.3-2.8-4.4-4.6c-1.3-2.1-2.6-4.6-2.8-7c-0.4-5.1-0.1-10.2-0.1-15.4c0-6.1,1.6-8,7.7-8.9 c7.8-1.1,15.6-2.2,23.4-3.3c10-1.4,19.4-3.3,28.6-8.5c13.2-7.6,24.1-16.5,30.1-30.7c4.5-10.6,12.1-17,23.5-18.8 c0.6-0.1,1.3-0.2,1.8-0.6c0.7-0.6,1.6-1.2,1.9-2C169.1,48.7,169.8,46.3,170.7,43.7z M220.4,60c7.9,3.8,9.6,4,17.3,2.1 c5.1-1.3,10.1-2.7,15.2-3.7c2-0.4,4.3-0.5,6.2,0.2c14.2,5.4,29,8.1,43.8,11c1.3,0.2,2.9,0.3,3.9-0.2c3.1-1.8,6-3.9,9.5-6.2 c-1.2-1.1-2.2-1.9-3.1-2.7c-10.8-9.9-22.6-18.4-35.4-25.5c-2.3-1.3-4.2-1.5-6.5-0.1c-12.4,7.9-25.7,12.3-40.7,10.2 c-0.4-0.1-0.8-0.1-1.1,0c-0.8,0.4-1.9,0.8-2.3,1.4C224.9,50.9,222.7,55.4,220.4,60z"})),a.premium=wp.element.createElement("svg",{className:"blockspare-svg-blockspare",fill:"url(#blockspare-gradient)",width:"50px",height:"50px",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40"},wp.element.createElement("g",{className:"blockspare-logo"},wp.element.createElement("g",null,wp.element.createElement("path",{className:"st0",d:"M1.6,9.2v21.4l18.3-9.2L20.2,0L1.6,9.2z M16.9,19.8L4.9,26V10.9l12-6.1V19.8z"}),wp.element.createElement("polygon",{id:"XMLID_3_",className:"st1",points:"19.9,21.4 16.9,23 26,27.7 13.8,33.8 4.9,29 1.6,30.7 13.9,36.9 32.4,27.7 "})),wp.element.createElement("g",null,wp.element.createElement("polygon",{id:"XMLID_2_",className:"st0",points:"23,1.5 23,19.8 32.4,24.6 32.4,9.4 35.3,10.9 35.3,29 38.4,30.7 38.4,9.2 29.4,4.8 29.2,19.7 26,18.4 26,3.1 "}),wp.element.createElement("polygon",{id:"XMLID_1_",className:"st1",points:"17,38.4 19.9,40 38.4,30.7 35.3,29 "}))));var r=a,i=n(0),o=n.n(i);const l=wp.blocks,s=l.getCategories,c=l.setCategories,u=wp.i18n.__;c([{icon:r.category,slug:"blockspare",title:u("Blockspare","blockspare")},...s().filter(({slug:e})=>"blockspare"!==e)]);const p=wp.hooks.addFilter,d=wp.compose.createHigherOrderComponent,m=["blockspare/blockspare-shape-divider"];const f=d(e=>t=>{const n=t.name;if(m.includes(n)&&(t.attributes.blockspare=t.attributes.blockspare||{},void 0===t.attributes.blockspare.id)){const e=new Date;t.attributes.blockspare=Object.assign({},t.attributes.blockspare,{id:""+e.getMonth()+e.getDate()+e.getHours()+e.getMinutes()+e.getSeconds()+e.getMilliseconds()})}return wp.element.createElement(e,t)},"withAttributes");p("blocks.registerBlockType","blockspare/custom/attributes",(function(e){return m.includes(e.name)&&void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{blockspare:{type:"object"}})),e})),p("editor.BlockEdit","blockspare/attributes",f);n(581),n(582);var b=n(117),g=["fa fa-plus","fa fa-plus-circle","fas fa-arrow-up"];const h=wp.i18n.__,v=wp.element,y=v.Component,w=v.Fragment;var k=class extends y{constructor(e){super(e),this.state={isOpen:!1,filterText:"",showIcons:!1}}render(){const e=this.props,t=e.value,n=e.disableToggle,a=e.colorSettings,r=e.iconColor,i=e.onColorChange,o=this.state.filterText;var l=[];return o.length>2?g.forEach(e=>{e.includes(o)&&l.push(e)}):l=g,wp.element.createElement("div",{className:"blockspare-field blockspare-field-icon-list "+(n?"":"blockspare-toggle-enabled")},this.props.label&&wp.element.createElement(w,null,n?wp.element.createElement("label",null,this.props.label):wp.element.createElement(Toggle,{label:this.props.label,className:"blockspare-icon-list-toggle",value:!!this.props.value,onChange:()=>this.props.onChange(this.props.value?"":" ")})),a&&wp.element.createElement(Color,{label:h(" Color"),value:r||"#ccc",onChange:e=>i(e)}),(n||""!=this.props.value)&&wp.element.createElement("div",{className:"blockspare-icon-list-wrapper"},wp.element.createElement("input",{type:"text",value:this.state.filterText,placeholder:"Search...",onChange:e=>this.setState({filterText:e.target.value}),autoComplete:"off"}),wp.element.createElement("div",{className:"blockspare-icon-list-icons"},l.map(e=>wp.element.createElement("span",{className:t==e?"blockspare-active":"",onClick:t=>{this.props.onChange(e)}},wp.element.createElement("span",{className:e}))))))}};n(583);wp.i18n.__;const _=wp.element.Fragment;var x=e=>wp.element.createElement(_,null,wp.element.createElement("div",{className:"premium-feature"},wp.element.createElement("p",null,r.premium),wp.element.createElement("span",null,"Upgrade to Pro"),wp.element.createElement("h4",null,"Blockspare - Beautiful Page Building Gutenberg Blocks for WordPress."),wp.element.createElement("p",null,"Want more advanced controls for this block?"),wp.element.createElement("p",{className:"butten-text"}," ",wp.element.createElement("a",{href:"https://blockspare.com/block/"+e.demoLink,target:"_blank"},"Explore More"))));const S=wp.i18n.__,E=wp.compose.compose,T=wp.data,C=T.withSelect,M=T.withDispatch,O=wp.element,L=O.Component,D=O.Fragment,F=wp.components,P=F.Button,j=F.PanelBody,N=(F.SelectControl,F.RangeControl,wp.blockEditor),z=N.InnerBlocks,A=N.RichText,Y=N.InspectorControls,B=N.PanelColorSettings;var I=E([C((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlockHierarchyRootClientId,i=a.getBlock,o=a.isBlockSelected,l=a.hasSelectedInnerBlock;return{block:i(n),isSelectedBlockInRoot:o(n)||l(n,!0),rootBlock:n?i(r(n)):null}}),M(e=>{const t=e("core/block-editor");return{removeBlock:t.removeBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends L{constructor(){super(...arguments),this.findParentAccordion=this.findParentAccordion.bind(this),this.state={device:"md"}}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}findParentAccordion(e){const t=this.props.block;let n=!1;return e.innerBlocks&&e.innerBlocks.length&&e.innerBlocks.forEach(a=>{n||a.clientId!==t.clientId?n||(n=this.findParentAccordion(a)):n=e}),n}setGlobalSettings(e,t){const n=this.props.updateBlockAttributes,a=this.findParentAccordion(this.props.rootBlock);a.innerBlocks&&a.innerBlocks.length&&a.innerBlocks.forEach(a=>{n(a.clientId,{[e]:t})})}updateRootBlock(e,t){(0,this.props.updateBlockAttributes)(this.findParentAccordion(this.props.rootBlock).clientId,{[e]:t})}updateItemNumber(e){const t=this.props.updateBlockAttributes,n=this.findParentAccordion(this.props.rootBlock);for(;e<n.innerBlocks.length;)t(n.innerBlocks[e].clientId,{itemNumber:n.innerBlocks[e].attributes.itemNumber-1}),e++}_onClickLabel(){const e=this.props,t=e.clientId,n=e.rootBlock,a=e.attributes,r=e.setAttributes,i=e.updateBlockAttributes,o=this.findParentAccordion(this.props.rootBlock);n.attributes.itemToggle?o.innerBlocks.forEach(e=>{const n=e.clientId==t&&!a.active;i(e.clientId,{active:n})}):r({active:!a.active})}render(){const e=this.props,t=(e.rootBlock,e.attributes),n=t.active,a=t.uniqueId,r=t.itemNumber,i=t.defaultText,o=t.fillType,l=t.heading,s=t.name,c=t.iconPosition,u=t.panelColor,p=t.panelActiveColor,d=t.textColor,m=t.marginBottom,f=t.activeTextColor,b=t.panelBackGroundColor,g=e.setAttributes,h=e.isSelected,v=e.isSelectedBlockInRoot;let y="";y=p||"#8b249c";let w="#3c1a5b";u&&(w=u);let _="#fff";f&&(_=f);let E="#fff";d&&(E=d);let T="#fff";b&&(T=b);const C=`blockspare-accordion-item blockspare-type-${o} ${n?"blockspare-accordion-active":""}`,M={backgroundColor:1==n?y:w},O=(S("Left","blockspare"),S("Right","blockspare"),{marginBottom:m+"px"});return wp.element.createElement(D,null,wp.element.createElement(Y,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"accordion"}),wp.element.createElement(j,{title:S("Color settings","blockspare"),initialOpen:!0},wp.element.createElement(B,{title:S("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:d,onChange:e=>this.setGlobalSettings("textColor",e),label:S("Text Color","blockspare")},{value:f,onChange:e=>this.setGlobalSettings("activeTextColor",e),label:S("Active Text Color","blockspare")},{value:p,onChange:e=>this.setGlobalSettings("panelActiveColor",e),label:S("Active Panel Color","blockspare")},{value:u,onChange:e=>this.setGlobalSettings("panelColor",e),label:S("Panel Color","blockspare")}]})),wp.element.createElement(j,{title:S("Icon settings","blockspare"),initialOpen:!1},wp.element.createElement(k,{value:s,onChange:e=>this.setGlobalSettings("name",e)})))),wp.element.createElement("div",{className:"blockspare-block-"+a},wp.element.createElement("div",{className:C,style:O},wp.element.createElement("div",{className:"blockspare-accordion-panel "+c,style:M},wp.element.createElement("span",{className:"blockspare-accordion-panel-handler",onClick:()=>this._onClickLabel(),role:"button",style:{color:n?_:E}},s&&wp.element.createElement("span",{className:"blockspare-accordion-icon "+s}),wp.element.createElement(A,{tagName:"span",placeholder:S("Add Accordion Item.."),className:"blockspare-accordion-panel-handler-label",value:l,onChange:e=>g({heading:e}),allowedFormats:["bold","italic","strikethrough"],isSelected:h,keepPlaceholderOnFocus:!0,onClick:()=>this.updateLabel()})),v&&wp.element.createElement(P,{onClick:()=>{const e=this.findParentAccordion(this.props.rootBlock);e&&e.clientId&&(this.updateItemNumber(r),this.props.removeBlock(this.props.clientId),e.innerBlocks.length<=1&&this.props.removeBlock(e.clientId))},className:"blockspare-accordion-item-remove-button"},wp.element.createElement("i",{className:"fa fa-times"}))),wp.element.createElement("div",{className:"blockspare-accordion-body",style:{backgroundColor:T},"data-bg":T},wp.element.createElement(z,{template:i?[["core/paragraph",{content:i,customFontSize:16}]]:"",templateLock:!1})))))}});const R=wp.element.Component,H=wp.blockEditor,W=H.InnerBlocks,U=H.RichText;var G=class extends R{render(){const e=this.props.attributes,t=e.uniqueId,n=(e.itemNumber,e.heading),a=e.name,r=e.iconPosition,i=e.fillType,o=(e.active,e.openFirstItem,e.panelColor),l=e.panelActiveColor,s=e.textColor,c=e.marginBottom,u=e.activeTextColor,p=e.panelBackGroundColor;e.defaultTextSize;let d="";d=l||"#8b249c";let m="#3c1a5b";o&&(m=o);let f="#fff";u&&(f=u);let b="#fff";s&&(b=s);const g=`blockspare-accordion-item blockspare-type-${i} `,h={backgroundColor:m},v={marginBottom:c+"px"};let y="#fff";return p&&(y=p),wp.element.createElement("div",{className:"blockspare-block-"+t},wp.element.createElement("div",{className:g,"data-act-color":f,"data-txt-color":b,"data-active":d,"data-pan":m,style:v},wp.element.createElement("div",{className:"blockspare-accordion-panel "+r,style:h},wp.element.createElement("span",{className:"blockspare-accordion-panel-handler",role:"button",style:{color:b}},a&&wp.element.createElement("span",{className:"blockspare-accordion-icon "+a}),wp.element.createElement(U.Content,{tagName:"span",className:"blockspare-accordion-panel-handler-label",value:n}))),wp.element.createElement("div",{className:"blockspare-accordion-body",style:{backgroundColor:y},"data-bg":y},wp.element.createElement(W.Content,null))))}};const V=wp.i18n.__,q=wp.blocks.registerBlockType,$=b.category,J=b.attributes,X={title:V("Accordion","blockspare"),description:V("Display creative collapsible texts Accordion.","blockspare"),parent:["blockspare/blockspare-accordion"],icon:"link",category:$,supports:{html:!1,inserter:!1,reusable:!1},attributes:J,edit:I,save:G};q("blockspare/accordion-item",X);wp.i18n.__;const K=wp.element,Q=K.Component,Z=K.Fragment,ee=(wp.components.IconButton,wp.blockEditor.InnerBlocks),te=wp.blocks.createBlock,ne=wp.compose.compose,ae=wp.data,re=ae.withSelect,ie=ae.withDispatch;var oe=ne([re((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,i=a.isBlockSelected,o=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:i(n)||o(n,!0)}}),ie(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends Q{constructor(...e){var t,n,a;super(...e),a=e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++){const n="Ipsam per dolores minus natoque? Rutrum dolorem voluptates euismod pharetra! Rhoncus distinctio cupiditate accusantium. Cillum aliquid.";t.push(["blockspare/accordion-item",{itemNumber:e,defaultText:n,customFontSize:16}])}return t},(n="getAccordionTemplate")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertAccordionItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes,n=t.itemNumber+1,a=X.heading;e=Object.assign({},t,{itemNumber:n,heading:a,active:!1,defaultText:""})}else e=X;a(te("blockspare/accordion-item",e),void 0,n)}render(){const e=this.props,t=(e.name,e.attributes),n=(e.isSelectedBlockInRoot,e.setAttributes,e.attributes.uniqueId);return wp.element.createElement(Z,null,wp.element.createElement("div",{className:"blockspare-block-accordion blockspare-block-"+n},wp.element.createElement(ee,{template:this.getAccordionTemplate(t),allowedBlocks:["blockspare/accordion-item"]})))}});const le=wp.element.Component,se=wp.blockEditor.InnerBlocks;var ce=class extends le{render(){const e=this.props.attributes,t=e.uniqueId,n=e.itemToggle,a="blockspare-block-accordion blockspare-block blockspare-block-"+t;return wp.element.createElement("div",{className:a,"data-item-toggle":n},wp.element.createElement(se.Content,null))}},ue=n(78);const pe=wp.i18n.__,de=wp.blocks.registerBlockType,me=ue.name,fe=ue.category,be=ue.attributes;de(me,{title:pe("BS Accordion","blockspare"),description:pe("Display creative collapsible Accordion.","blockspare"),category:fe,icon:r.accordion,keywords:[pe("accordion","blockspare"),pe("block","blockspare"),pe("collapsible","blockspare"),pe("collapse","blockspare")],supports:{html:!1,className:!1,align:["center","wide","full"]},attributes:be,edit:oe,save:ce});n(584),n(585);var ge=n(79);const he=wp.i18n.__,ve=wp.element.Fragment,ye=wp.components,we=ye.SelectControl,ke=ye.ToggleControl,_e=ye.RangeControl,xe=wp.blockEditor.PanelColorSettings;function Se(e){const t=e.enableGradient,n=e.enableButtonBackgroundColor,a=e.buttonBackgroundColor,r=e.onChangeButtonColor,i=void 0===r?()=>{}:r,o=e.buttonTextColor,l=e.onChangeButtonTextColor,s=void 0===l?()=>{}:l,c=e.enableButtonShape,u=e.buttonShape,p=e.onChangeButtonShape,d=void 0===p?()=>{}:p,m=e.enableButtonStyle,f=e.buttonStyle,b=e.onChangeBorderStyle,g=void 0===b?()=>{}:b,h=e.enableButtonTarget,v=e.buttonTarget,y=e.onChangeButtonTarget,w=void 0===y?()=>{}:y,k=e.borderColor,_=e.onchangeBorderColor,x=void 0===_?()=>{}:_,S=e.borderBtnTextColor,E=e.onChangeBorderBtnTextColor,T=void 0===E?()=>{}:E,C=e.enableBtnBorderWidth,M=e.btnBorderWidth,O=e.onchangebtnBorderWidth,L=void 0===O?()=>{}:O,D=e.buttonHoverEffect,F=e.onchangeButtonHoverEffect,P=void 0===F?()=>{}:F,j=(he("Small","blockspare"),he("Medium","blockspare"),he("Large","blockspare"),he("Extra Large","blockspare"),[{value:"blockspare-button-shape-square",label:he("Square","blockspare")},{value:"blockspare-button-shape-rounded",label:he("Rounded Square","blockspare")},{value:"blockspare-button-shape-circular",label:he("Circular","blockspare")}]),N=[{value:"none",label:he("Fill","blockspare")},{value:"solid",label:he("Border","blockspare")}],z=(he("Normal","blockspare"),he("Bold","blockspare"),[{value:"",label:he("None","blockspare")},{value:"hover-style-1",label:he("Dim","blockspare")},{value:"hover-style-2",label:he("Raise","blockspare")}]);return wp.element.createElement(ve,null,0!=h&&wp.element.createElement(ke,{label:he("Open link in new window","blockspare"),checked:v,onChange:w}),0!=c&&wp.element.createElement(we,{label:he("Button Shape","blockspare"),value:u,options:j.map(({value:e,label:t})=>({value:e,label:t})),onChange:d}),0!=m&&wp.element.createElement(we,{label:he("Border Style","blockspare"),value:f,options:N.map(({value:e,label:t})=>({value:e,label:t})),onChange:g}),wp.element.createElement(we,{label:he("Hover Option","blockspare"),value:D,options:z.map(({value:e,label:t})=>({value:e,label:t})),onChange:P}),0!=C&&"solid"===f&&wp.element.createElement(_e,{label:he("Border Width","blockspare"),value:M,min:1,step:1,max:5,onChange:L}),0!=C&&"solid"===f&&wp.element.createElement(_e,{label:he("Border Width","blockspare"),value:M,min:1,step:1,max:5,onChange:L}),0!=n&&"none"===f&&1==t&&wp.element.createElement(xe,{title:he("Button Color Options","blockspare"),initialOpen:!1,colorSettings:[{value:o,onChange:s,label:he("Button Text Color","blockspare")}]}),0!=n&&"none"===f&&0==t&&wp.element.createElement(xe,{title:he("Button Color Options","blockspare"),initialOpen:!1,colorSettings:[{value:a,onChange:i,label:he("Button Color","blockspare")},{value:o,onChange:s,label:he("Button Text Color","blockspare")}]}),"solid"===f&&wp.element.createElement(xe,{title:he("Border Color","blockspare"),initialOpen:!0,colorSettings:[{value:k,onChange:x,label:he("Border Color","blockspare")},{value:S,onChange:T,label:he("Texts Color","blockspare")}]}))}const Ee=wp.i18n.__,Te=wp.element.Fragment,Ce=wp.components.RangeControl,Me=wp.blockEditor.PanelColorSettings;function Oe(e){const t=e.backgroundColor1,n=e.backgroundColor2,a=e.gradientAngle,r=e.colorLocation1,i=e.colorLocation2,o=e.onChangeBackgroundColor1,l=void 0===o?()=>{}:o,s=e.onChangeBackgroundColor2,c=void 0===s?()=>{}:s,u=e.onChangeGradientAngle,p=void 0===u?()=>{}:u,d=e.onChangeColorLocation1,m=void 0===d?()=>{}:d,f=e.onChangeColorLocation2,b=void 0===f?()=>{}:f;return wp.element.createElement(Te,null,wp.element.createElement(Me,{title:Ee("Gradient Color Option ","blockspare"),initialOpen:!0,colorSettings:[{value:t,onChange:l,label:Ee("Background Color #1","blockspare")},{value:n,onChange:c,label:Ee("Background Color #2","blockspare")}]}),wp.element.createElement(Ce,{label:Ee("Gradient Angle","blockspare"),value:a,onChange:p,min:-180,step:1,max:180}),wp.element.createElement(Ce,{label:Ee("Location #1","blockspare"),value:r,onChange:m,min:0,step:1,max:100}),wp.element.createElement(Ce,{label:Ee("Location #2","blockspare"),value:i,onChange:b,min:0,step:1,max:100}))}const Le=wp.i18n.__,De=wp.element.Fragment,Fe=wp.components.RangeControl;function Pe(e){const t=e.padding,n=e.paddingTitle,a=e.paddingHelp,r=e.paddingMin,i=e.paddingMax,o=e.paddingEnable,l=e.onChangePadding,s=void 0===l?()=>{}:l,c=e.paddingTop,u=e.paddingTopMin,p=e.paddingTopMax,d=e.paddingEnableTop,m=e.onChangePaddingTop,f=void 0===m?()=>{}:m,b=e.paddingRight,g=e.paddingRightMin,h=e.paddingRightMax,v=e.paddingEnableRight,y=e.onChangePaddingRight,w=void 0===y?()=>{}:y,k=e.paddingBottom,_=e.paddingBottomMin,x=e.paddingBottomMax,S=e.paddingEnableBottom,E=e.onChangePaddingBottom,T=void 0===E?()=>{}:E,C=e.paddingLeft,M=e.paddingLeftMin,O=e.paddingLeftMax,L=e.paddingEnableLeft,D=e.onChangePaddingLeft,F=void 0===D?()=>{}:D,P=e.paddingVertical,j=e.paddingEnableVertical,N=e.paddingVerticalMin,z=e.paddingVerticalMax,A=e.onChangePaddingVertical,Y=void 0===A?()=>{}:A,B=e.paddingHorizontal,I=e.paddingEnableHorizontal,R=e.paddingHorizontalMin,H=e.paddingHorizontalMax,W=e.onChangePaddingHorizontal,U=void 0===W?()=>{}:W;return wp.element.createElement(De,null,o&&wp.element.createElement(Fe,{label:n||Le("Padding","blockspare"),help:a||null,value:t,min:r,max:i,onChange:s}),d&&wp.element.createElement(Fe,{label:Le("Padding Top","blockspare"),value:c,min:u,max:p,onChange:f}),v&&wp.element.createElement(Fe,{label:Le("Padding Right","blockspare"),value:b,min:g,max:h,onChange:w}),S&&wp.element.createElement(Fe,{label:Le("Padding Bottom","blockspare"),value:k,min:_,max:x,onChange:T}),L&&wp.element.createElement(Fe,{label:Le("Padding Left","blockspare"),value:C,min:M,max:O,onChange:F}),j&&wp.element.createElement(Fe,{label:Le("Padding Vertical","blockspare"),value:P,min:N,max:z,onChange:Y}),I&&wp.element.createElement(Fe,{label:Le("Padding Horizontal","blockspare"),value:B,min:R,max:H,onChange:U}))}const je=wp.i18n.__,Ne=wp.element.Fragment,ze=wp.components.RangeControl;function Ae(e){const t=e.margin,n=e.marginTitle,a=e.marginHelp,r=e.marginMin,i=e.marginMax,o=e.marginEnable,l=e.onChangeMargin,s=void 0===l?()=>{}:l,c=e.marginTop,u=e.marginTopMin,p=e.marginTopMax,d=e.marginEnableTop,m=e.onChangeMarginTop,f=void 0===m?()=>{}:m,b=e.marginBottom,g=e.marginBottomMin,h=e.marginBottomMax,v=e.marginEnableBottom,y=e.onChangeMarginBottom,w=void 0===y?()=>{}:y;return wp.element.createElement(Ne,null,o&&wp.element.createElement(ze,{label:n||je("Margin","blockspare"),help:a||null,value:t,min:r,max:i,onChange:s}),d&&wp.element.createElement(ze,{label:je("Margin Top","blockspare"),value:c,min:u,max:p,onChange:f}),v&&wp.element.createElement(ze,{label:je("Margin Bottom","blockspare"),value:b,min:g,max:h,onChange:w}))}var Ye=n(114),Be=n.n(Ye);const Ie={ABeeZee:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Abel:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Abhaya Libre":{v:["regular","500","600","700","800"],subset:["latin-ext","sinhala","latin"],weight:["400","500","600","700","800"],i:["normal"]},"Abril Fatface":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aclonica:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Acme:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Actor:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Adamina:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Advent Pro":{v:["100","200","300","regular","500","600","700"],subset:["latin-ext","greek","latin"],weight:["100","200","300","400","500","600","700"],i:["normal"]},"Aguafina Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Akronim:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aladin:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aldrich:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Alef:{v:["regular","700"],subset:["hebrew","latin"],weight:["400","700"],i:["normal"]},Alegreya:{v:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","700","800","900"],i:["normal","italic"]},"Alegreya SC":{v:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","700","800","900"],i:["normal","italic"]},"Alegreya Sans":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal","italic"]},"Alegreya Sans SC":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal","italic"]},"Alex Brush":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Alfa Slab One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Alice:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin"],weight:["400"],i:["normal"]},Alike:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Alike Angular":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Allan:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Allerta:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Allerta Stencil":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Allura:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Almendra:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Almendra Display":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Almendra SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Amarante:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Amaranth:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Amatic SC":{v:["regular","700"],subset:["cyrillic","latin-ext","hebrew","vietnamese","latin"],weight:["400","700"],i:["normal"]},Amethysta:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Amiko:{v:["regular","600","700"],subset:["latin-ext","devanagari","latin"],weight:["400","600","700"],i:["normal"]},Amiri:{v:["regular","italic","700","700italic"],subset:["latin-ext","arabic","latin"],weight:["400","700"],i:["normal","italic"]},Amita:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Anaheim:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Andada:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Andika:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Angkor:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Annie Use Your Telescope":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Anonymous Pro":{v:["regular","italic","700","700italic"],subset:["cyrillic","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Antic:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Antic Didone":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Antic Slab":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Anton:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Arapey:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Arbutus:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Arbutus Slab":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Architects Daughter":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Archivo:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Archivo Black":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Archivo Narrow":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Aref Ruqaa":{v:["regular","700"],subset:["arabic","latin"],weight:["400","700"],i:["normal"]},"Arima Madurai":{v:["100","200","300","regular","500","700","800","900"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["100","200","300","400","500","700","800","900"],i:["normal"]},Arimo:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Arizonia:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Armata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Arsenal:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Artifika:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Arvo:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Arya:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Asap:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Asap Condensed":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Asar:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Asset:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Assistant:{v:["200","300","regular","600","700","800"],subset:["hebrew","latin"],weight:["200","300","400","600","700","800"],i:["normal"]},Astloch:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Asul:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Athiti:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Atma:{v:["300","regular","500","600","700"],subset:["latin-ext","bengali","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Atomic Age":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Aubrey:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Audiowide:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Autour One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Average:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Average Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Averia Gruesa Libre":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Averia Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Averia Sans Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Averia Serif Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Bad Script":{v:["regular"],subset:["cyrillic","latin"],weight:["400"],i:["normal"]},Bahiana:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Baloo:{v:["regular"],subset:["latin-ext","devanagari","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhai":{v:["regular"],subset:["latin-ext","gujarati","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhaijaan":{v:["regular"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhaina":{v:["regular"],subset:["latin-ext","oriya","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Chettan":{v:["regular"],subset:["malayalam","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Da":{v:["regular"],subset:["latin-ext","vietnamese","bengali","latin"],weight:["400"],i:["normal"]},"Baloo Paaji":{v:["regular"],subset:["latin-ext","gurmukhi","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Tamma":{v:["regular"],subset:["latin-ext","vietnamese","latin","kannada"],weight:["400"],i:["normal"]},"Baloo Tammudu":{v:["regular"],subset:["latin-ext","telugu","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Thambi":{v:["regular"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["400"],i:["normal"]},Balthazar:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bangers:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Barlow:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Barlow Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Barlow Semi Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Barrio:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Basic:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Battambang:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},Baumans:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bayon:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Belgrano:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bellefair:{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},Belleza:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},BenchNine:{v:["300","regular","700"],subset:["latin-ext","latin"],weight:["300","400","700"],i:["normal"]},Bentham:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Berkshire Swash":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Bevan:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bigelow Rules":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bigshot One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bilbo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bilbo Swash Caps":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},BioRhyme:{v:["200","300","regular","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal"]},"BioRhyme Expanded":{v:["200","300","regular","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal"]},Biryani:{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},Bitter:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Black And White Picture":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Black Han Sans":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Black Ops One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Bokor:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Bonbon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Boogaloo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bowlby One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bowlby One SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Brawler:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bree Serif":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bubblegum Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bubbler One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Buda:{v:["300"],subset:["latin"],weight:["300"],i:[]},Buenard:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Bungee:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Hairline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Inline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Outline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Shade":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Butcherman:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Butterfly Kids":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cabin:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Cabin Condensed":{v:["regular","500","600","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal"]},"Cabin Sketch":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Caesar Dressing":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cagliostro:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cairo:{v:["200","300","regular","600","700","900"],subset:["latin-ext","arabic","latin"],weight:["200","300","400","600","700","900"],i:["normal"]},Calligraffitti:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cambay:{v:["regular","italic","700","700italic"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal","italic"]},Cambo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Candal:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cantarell:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Cantata One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cantora One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Capriola:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cardo:{v:["regular","italic","700"],subset:["greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Carme:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carrois Gothic":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carrois Gothic SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carter One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Catamaran:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","tamil","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Caudex:{v:["regular","italic","700","700italic"],subset:["greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Caveat:{v:["regular","700"],subset:["cyrillic","latin-ext","latin"],weight:["400","700"],i:["normal"]},"Caveat Brush":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cedarville Cursive":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Ceviche One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Changa:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","arabic","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Changa One":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Chango:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chathura:{v:["100","300","regular","700","800"],subset:["telugu","latin"],weight:["100","300","400","700","800"],i:["normal"]},"Chau Philomene One":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Chela One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Chelsea Market":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chenla:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Cherry Cream Soda":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Cherry Swash":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Chewy:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Chicle:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chivo:{v:["300","300italic","regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["300","400","700","900"],i:["normal","italic"]},Chonburi:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},Cinzel:{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},"Cinzel Decorative":{v:["regular","700","900"],subset:["latin"],weight:["400","700","900"],i:["normal"]},"Clicker Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Coda:{v:["regular","800"],subset:["latin-ext","latin"],weight:["400","800"],i:["normal"]},"Coda Caption":{v:["800"],subset:["latin-ext","latin"],weight:["800"],i:[]},Codystar:{v:["300","regular"],subset:["latin-ext","latin"],weight:["300","400"],i:["normal"]},Coiny:{v:["regular"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["400"],i:["normal"]},Combo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Comfortaa:{v:["300","regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","700"],i:["normal"]},"Coming Soon":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Concert One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Condiment:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Content:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},"Contrail One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Convergence:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cookie:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Copse:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Corben:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Cormorant:{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant Garamond":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant Infant":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant SC":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Cormorant Unicase":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Cormorant Upright":{v:["300","regular","500","600","700"],subset:["latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},Courgette:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cousine:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Coustard:{v:["regular","900"],subset:["latin"],weight:["400","900"],i:["normal"]},"Covered By Your Grace":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Crafty Girls":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Creepster:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Crete Round":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Crimson Text":{v:["regular","italic","600","600italic","700","700italic"],subset:["latin"],weight:["400","600","700"],i:["normal","italic"]},"Croissant One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Crushed:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cuprum:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Cute Font":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Cutive:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cutive Mono":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Damion:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Dancing Script":{v:["regular","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal"]},Dangrek:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"David Libre":{v:["regular","500","700"],subset:["latin-ext","hebrew","vietnamese","latin"],weight:["400","500","700"],i:["normal"]},"Dawning of a New Day":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Days One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Dekko:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Delius:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Delius Swash Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Delius Unicase":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Della Respira":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Denk One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Devonshire:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dhurjati:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Didact Gothic":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},Diplomata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Diplomata SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Do Hyeon":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Dokdo:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Domine:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Donegal One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Doppio One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dorsa:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Dosis:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Dr Sugiyama":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Duru Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dynalight:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"EB Garamond":{v:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","600","700","800"],i:["normal","italic"]},"Eagle Lake":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"East Sea Dokdo":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Eater:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Economica:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Eczar:{v:["regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800"],i:["normal"]},"El Messiri":{v:["regular","500","600","700"],subset:["cyrillic","arabic","latin"],weight:["400","500","600","700"],i:["normal"]},Electrolize:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Elsie:{v:["regular","900"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal"]},"Elsie Swash Caps":{v:["regular","900"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal"]},"Emblema One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Emilys Candy":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Encode Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Expanded":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Semi Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Semi Expanded":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Engagement:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Englebert:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Enriqueta:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Erica One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Esteban:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Euphoria Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ewert:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Exo:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Exo 2":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Expletus Sans":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Fanwood Text":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Farsan:{v:["regular"],subset:["latin-ext","gujarati","vietnamese","latin"],weight:["400"],i:["normal"]},Fascinate:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fascinate Inline":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Faster One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fasthand:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Fauna One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Faustina:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Federant:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Federo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Felipa:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Fenix:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Finger Paint":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fira Mono":{v:["regular","500","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400","500","700"],i:["normal"]},"Fira Sans":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fira Sans Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fira Sans Extra Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fjalla One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fjord One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Flamenco:{v:["300","regular"],subset:["latin"],weight:["300","400"],i:["normal"]},Flavors:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fondamento:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Fontdiner Swanky":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Forum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},"Francois One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Frank Ruhl Libre":{v:["300","regular","500","700","900"],subset:["latin-ext","hebrew","latin"],weight:["300","400","500","700","900"],i:["normal"]},"Freckle Face":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fredericka the Great":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fredoka One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Freehand:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Fresca:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Frijole:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fruktur:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fugaz One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"GFS Didot":{v:["regular"],subset:["greek"],weight:["400"],i:["normal"]},"GFS Neohellenic":{v:["regular","italic","700","700italic"],subset:["greek"],weight:["400","700"],i:["normal","italic"]},Gabriela:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin"],weight:["400"],i:["normal"]},Gaegu:{v:["300","regular","700"],subset:["korean","latin"],weight:["300","400","700"],i:["normal"]},Gafata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Galada:{v:["regular"],subset:["bengali","latin"],weight:["400"],i:["normal"]},Galdeano:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Galindo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Gamja Flower":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Gentium Basic":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Gentium Book Basic":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Geo:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Geostar:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Geostar Fill":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Germania One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Gidugu:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Gilda Display":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Give You Glory":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Glass Antiqua":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Glegoo:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},"Gloria Hallelujah":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Goblin One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Gochi Hand":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Gorditas:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Gothic A1":{v:["100","200","300","regular","500","600","700","800","900"],subset:["korean","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Goudy Bookletter 1911":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Graduate:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Grand Hotel":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Gravitas One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Great Vibes":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Griffy:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Gruppo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Gudea:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Gugi:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Gurajada:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Habibi:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Halant:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hammersmith One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Hanalei:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Hanalei Fill":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Handlee:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Hanuman:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},"Happy Monkey":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Harmattan:{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},"Headland One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Heebo:{v:["100","300","regular","500","700","800","900"],subset:["hebrew","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},"Henny Penny":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Herr Von Muellerhoff":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Hi Melody":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Hind:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Guntur":{v:["300","regular","500","600","700"],subset:["latin-ext","telugu","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Madurai":{v:["300","regular","500","600","700"],subset:["latin-ext","tamil","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Siliguri":{v:["300","regular","500","600","700"],subset:["latin-ext","bengali","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Vadodara":{v:["300","regular","500","600","700"],subset:["latin-ext","gujarati","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Holtwood One SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Homemade Apple":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Homenaje:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IBM Plex Mono":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Sans":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Sans Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Serif":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IM Fell DW Pica":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell DW Pica SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell Double Pica":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell Double Pica SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell English":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell English SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell French Canon":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell French Canon SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell Great Primer":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell Great Primer SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Iceberg:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Iceland:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Imprima:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Inconsolata:{v:["regular","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal"]},Inder:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Indie Flower":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Inika:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Inknut Antiqua":{v:["300","regular","500","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700","800","900"],i:["normal"]},"Irish Grover":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Istok Web":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Italiana:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Italianno:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Itim:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},"Jacques Francois":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Jacques Francois Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Jaldi:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},"Jim Nightshade":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Jockey One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Jolly Lodger":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Jomhuria:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},"Josefin Sans":{v:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","300","400","600","700"],i:["normal","italic"]},"Josefin Slab":{v:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subset:["latin"],weight:["100","300","400","600","700"],i:["normal","italic"]},"Joti One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Jua:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Judson:{v:["regular","italic","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Julee:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Julius Sans One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Junge:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Jura:{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Just Another Hand":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Just Me Again Down Here":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kadwa:{v:["regular","700"],subset:["devanagari","latin"],weight:["400","700"],i:["normal"]},Kalam:{v:["300","regular","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","700"],i:["normal"]},Kameron:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Kanit:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Kantumruy:{v:["300","regular","700"],subset:["khmer"],weight:["300","400","700"],i:["normal"]},Karla:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Karma:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Katibeh:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},"Kaushan Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kavivanar:{v:["regular"],subset:["latin-ext","tamil","latin"],weight:["400"],i:["normal"]},Kavoon:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kdam Thmor":{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Keania One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kelly Slab":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Kenia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Khand:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Khmer:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Khula:{v:["300","regular","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["300","400","600","700","800"],i:["normal"]},"Kirang Haerang":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Kite One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Knewave:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kosugi:{v:["regular"],subset:["cyrillic","japanese","latin"],weight:["400"],i:["normal"]},"Kosugi Maru":{v:["regular"],subset:["cyrillic","japanese","latin"],weight:["400"],i:["normal"]},"Kotta One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Koulen:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Kranky:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Kreon:{v:["300","regular","700"],subset:["latin"],weight:["300","400","700"],i:["normal"]},Kristi:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Krona One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kumar One":{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},"Kumar One Outline":{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Kurale:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},"La Belle Aurore":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Laila:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Lakki Reddy":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Lalezar:{v:["regular"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400"],i:["normal"]},Lancelot:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Lateef:{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},Lato:{v:["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","300","400","700","900"],i:["normal","italic"]},"League Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Leckerli One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ledger:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Lekton:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Lemon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Lemonada:{v:["300","regular","600","700"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["300","400","600","700"],i:["normal"]},"Libre Barcode 128":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 128 Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Extended":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Extended Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Baskerville":{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Libre Franklin":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Life Savers":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Lilita One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Lily Script One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Limelight:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Linden Hill":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Lobster:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Lobster Two":{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Londrina Outline":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Sketch":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Solid":{v:["100","300","regular","900"],subset:["latin"],weight:["100","300","400","900"],i:["normal"]},Lora:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Love Ya Like A Sister":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Loved by the King":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Lovers Quarrel":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Luckiest Guy":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Lusitana:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Lustria:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"M PLUS 1p":{v:["100","300","regular","500","700","800","900"],subset:["cyrillic","cyrillic-ext","greek-ext","japanese","latin-ext","hebrew","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},"M PLUS Rounded 1c":{v:["100","300","regular","500","700","800","900"],subset:["cyrillic","cyrillic-ext","greek-ext","japanese","latin-ext","hebrew","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},Macondo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Macondo Swash Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mada:{v:["200","300","regular","500","600","700","900"],subset:["arabic","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},Magra:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Maiden Orange":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Maitree:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Mako:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mallanna:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Mandali:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Manuale:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Marcellus:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Marcellus SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Marck Script":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Margarine:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Markazi Text":{v:["regular","500","600","700"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400","500","600","700"],i:["normal"]},"Marko One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Marmelad:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Martel:{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},"Martel Sans":{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},Marvel:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Mate:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"Mate SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Maven Pro":{v:["regular","500","700","900"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","700","900"],i:["normal"]},McLaren:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Meddon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},MedievalSharp:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Medula One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Meera Inimai":{v:["regular"],subset:["tamil","latin"],weight:["400"],i:["normal"]},Megrim:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Meie Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Merienda:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Merienda One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Merriweather:{v:["300","300italic","regular","italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","700","900"],i:["normal","italic"]},"Merriweather Sans":{v:["300","300italic","regular","italic","700","700italic","800","800italic"],subset:["latin-ext","latin"],weight:["300","400","700","800"],i:["normal","italic"]},Metal:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Metal Mania":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Metamorphous:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Metrophobic:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Michroma:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Milonga:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Miltonian:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Miltonian Tattoo":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mina:{v:["regular","700"],subset:["latin-ext","bengali","latin"],weight:["400","700"],i:["normal"]},Miniver:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Miriam Libre":{v:["regular","700"],subset:["latin-ext","hebrew","latin"],weight:["400","700"],i:["normal"]},Mirza:{v:["regular","500","600","700"],subset:["latin-ext","arabic","latin"],weight:["400","500","600","700"],i:["normal"]},"Miss Fajardose":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mitr:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Modak:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},"Modern Antiqua":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mogra:{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Molengo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Molle:{v:["italic"],subset:["latin-ext","latin"],weight:[],i:["italic"]},Monda:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Monofett:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Monoton:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Monsieur La Doulaise":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Montaga:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Montez:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Montserrat:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Montserrat Alternates":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Montserrat Subrayada":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Moul:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Moulpali:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Mountains of Christmas":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Mouse Memoirs":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr Bedfort":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr Dafoe":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr De Haviland":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mrs Saint Delafield":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mrs Sheppards":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mukta:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Mahee":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","gurmukhi","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Malar":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","tamil","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Vaani":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","gujarati","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},Muli:{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Mystery Quest":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},NTR:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Nanum Brush Script":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Nanum Gothic":{v:["regular","700","800"],subset:["korean","latin"],weight:["400","700","800"],i:["normal"]},"Nanum Gothic Coding":{v:["regular","700"],subset:["korean","latin"],weight:["400","700"],i:["normal"]},"Nanum Myeongjo":{v:["regular","700","800"],subset:["korean","latin"],weight:["400","700","800"],i:["normal"]},"Nanum Pen Script":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Neucha:{v:["regular"],subset:["cyrillic","latin"],weight:["400"],i:["normal"]},Neuton:{v:["200","300","regular","italic","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal","italic"]},"New Rocker":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"News Cycle":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Niconne:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Nixie One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Nobile:{v:["regular","italic","500","500italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","500","700"],i:["normal","italic"]},Nokora:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},Norican:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Nosifer:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Nothing You Could Do":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Noticia Text":{v:["regular","italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Sans":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","devanagari","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Sans JP":{v:["100","300","regular","500","700","900"],subset:["japanese","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Noto Sans KR":{v:["100","300","regular","500","700","900"],subset:["korean","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Noto Serif":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Serif JP":{v:["200","300","regular","500","600","700","900"],subset:["japanese","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Noto Serif KR":{v:["200","300","regular","500","600","700","900"],subset:["korean","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Nova Cut":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Flat":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Mono":{v:["regular"],subset:["greek","latin"],weight:["400"],i:["normal"]},"Nova Oval":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Round":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Slim":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Square":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Numans:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Nunito:{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Nunito Sans":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Odor Mean Chey":{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Offside:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Old Standard TT":{v:["regular","italic","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Oldenburg:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Oleo Script":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Oleo Script Swash Caps":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Open Sans":{v:["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","600","700","800"],i:["normal","italic"]},"Open Sans Condensed":{v:["300","300italic","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","700"],i:[]},Oranienbaum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},Orbitron:{v:["regular","500","700","900"],subset:["latin"],weight:["400","500","700","900"],i:["normal"]},Oregano:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Orienta:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Original Surfer":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Oswald:{v:["200","300","regular","500","600","700"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},"Over the Rainbow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Overlock:{v:["regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal","italic"]},"Overlock SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Overpass:{v:["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","600","700","800","900"],i:["normal","italic"]},"Overpass Mono":{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},Ovo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Oxygen:{v:["300","regular","700"],subset:["latin-ext","latin"],weight:["300","400","700"],i:["normal"]},"Oxygen Mono":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"PT Mono":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},"PT Sans":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"PT Sans Caption":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal"]},"PT Sans Narrow":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal"]},"PT Serif":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"PT Serif Caption":{v:["regular","italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal","italic"]},Pacifico:{v:["regular"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Padauk:{v:["regular","700"],subset:["myanmar","latin"],weight:["400","700"],i:["normal"]},Palanquin:{v:["100","200","300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["100","200","300","400","500","600","700"],i:["normal"]},"Palanquin Dark":{v:["regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700"],i:["normal"]},Pangolin:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Paprika:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Parisienne:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Passero One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Passion One":{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},"Pathway Gothic One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Patrick Hand":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Patrick Hand SC":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Pattaya:{v:["regular"],subset:["cyrillic","latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},"Patua One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Pavanam:{v:["regular"],subset:["latin-ext","tamil","latin"],weight:["400"],i:["normal"]},"Paytone One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Peddana:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Peralta:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Permanent Marker":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Petit Formal Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Petrona:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Philosopher:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Piedra:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Pinyon Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pirata One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Plaster:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Play:{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["400","700"],i:["normal"]},Playball:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Playfair Display":{v:["regular","italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400","700","900"],i:["normal","italic"]},"Playfair Display SC":{v:["regular","italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400","700","900"],i:["normal","italic"]},Podkova:{v:["regular","500","600","700","800"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","500","600","700","800"],i:["normal"]},"Poiret One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Poller One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Poly:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Pompiere:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pontano Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Poor Story":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Poppins:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","devanagari","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Port Lligat Sans":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Port Lligat Slab":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pragati Narrow":{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Prata:{v:["regular"],subset:["cyrillic","cyrillic-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Preahvihear:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Press Start 2P":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},Pridi:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},"Princess Sofia":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Prociono:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Prompt:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Prosto One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Proza Libre":{v:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["latin-ext","latin"],weight:["400","500","600","700","800"],i:["normal","italic"]},Puritan:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Purple Purse":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Quando:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Quantico:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Quattrocento:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Quattrocento Sans":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Questrial:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Quicksand:{v:["300","regular","500","700"],subset:["latin-ext","vietnamese","latin"],weight:["300","400","500","700"],i:["normal"]},Quintessential:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Qwigley:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Racing Sans One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Radley:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Rajdhani:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Rakkas:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},Raleway:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Raleway Dots":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ramabhadra:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Ramaraja:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Rambla:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Rammetto One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ranchers:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Rancho:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ranga:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Rasa:{v:["300","regular","500","600","700"],subset:["latin-ext","gujarati","latin"],weight:["300","400","500","600","700"],i:["normal"]},Rationale:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Ravi Prakash":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Redressed:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Reem Kufi":{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},"Reenie Beanie":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Revalia:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Rhodium Libre":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Ribeye:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ribeye Marrow":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Righteous:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Risque:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Roboto:{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","900"],i:["normal","italic"]},"Roboto Condensed":{v:["300","300italic","regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","700"],i:["normal","italic"]},"Roboto Mono":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700"],i:["normal","italic"]},"Roboto Slab":{v:["100","300","regular","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","700"],i:["normal"]},Rochester:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Rock Salt":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Rokkitt:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Romanesco:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ropa Sans":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Rosario:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Rosarivo:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Rouge Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Rozha One":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Rubik:{v:["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","hebrew","latin"],weight:["300","400","500","700","900"],i:["normal","italic"]},"Rubik Mono One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Ruda:{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},Rufina:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Ruge Boogie":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ruluko:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Rum Raisin":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ruslan Display":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Russo One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Ruthie:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Rye:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sacramento:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sahitya:{v:["regular","700"],subset:["devanagari","latin"],weight:["400","700"],i:["normal"]},Sail:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Saira:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Extra Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Semi Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Salsa:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sanchez:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Sancreek:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sansita:{v:["regular","italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","700","800","900"],i:["normal","italic"]},Sarala:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Sarina:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sarpanch:{v:["regular","500","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800","900"],i:["normal"]},Satisfy:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Sawarabi Gothic":{v:["regular"],subset:["cyrillic","japanese","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Sawarabi Mincho":{v:["regular"],subset:["japanese","latin-ext","latin"],weight:["400"],i:["normal"]},Scada:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Scheherazade:{v:["regular","700"],subset:["arabic","latin"],weight:["400","700"],i:["normal"]},Schoolbell:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Scope One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Seaweed Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Secular One":{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},"Sedgwick Ave":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Sedgwick Ave Display":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Sevillana:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Seymour One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Shadows Into Light":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Shadows Into Light Two":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Shanti:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Share:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Share Tech":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Share Tech Mono":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Shojumaru:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Short Stack":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Shrikhand:{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Siemreap:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Sigmar One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Signika:{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},"Signika Negative":{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},Simonetta:{v:["regular","italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal","italic"]},Sintony:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Sirin Stencil":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Six Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Skranji:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Slabo 13px":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Slabo 27px":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Slackey:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Smokum:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Smythe:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sniglet:{v:["regular","800"],subset:["latin-ext","latin"],weight:["400","800"],i:["normal"]},Snippet:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Snowburst One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Sofadi One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sofia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Song Myung":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Sonsie One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Sorts Mill Goudy":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Source Code Pro":{v:["200","300","regular","500","600","700","900"],subset:["latin-ext","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Source Sans Pro":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["200","300","400","600","700","900"],i:["normal","italic"]},"Source Serif Pro":{v:["regular","600","700"],subset:["latin-ext","latin"],weight:["400","600","700"],i:["normal"]},"Space Mono":{v:["regular","italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Special Elite":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Spectral:{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700","800"],i:["normal","italic"]},"Spectral SC":{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700","800"],i:["normal","italic"]},"Spicy Rice":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Spinnaker:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Spirax:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Squada One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Sree Krushnadevaraya":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Sriracha:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},Stalemate:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Stalinist One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Stardos Stencil":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Stint Ultra Condensed":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Stint Ultra Expanded":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Stoke:{v:["300","regular"],subset:["latin-ext","latin"],weight:["300","400"],i:["normal"]},Strait:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Stylish:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Sue Ellen Francisco":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Suez One":{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},Sumana:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Sunflower:{v:["300","500","700"],subset:["korean","latin"],weight:["300","500","700"],i:[]},Sunshiney:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Supermercado One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sura:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Suranna:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Suravaram:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Suwannaphum:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Swanky and Moo Moo":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Syncopate:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Tajawal:{v:["200","300","regular","500","700","800","900"],subset:["arabic","latin"],weight:["200","300","400","500","700","800","900"],i:["normal"]},Tangerine:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Taprom:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Tauri:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Taviraj:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Teko:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Telex:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Tenali Ramakrishna":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Tenor Sans":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Text Me One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"The Girl Next Door":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Tienne:{v:["regular","700","900"],subset:["latin"],weight:["400","700","900"],i:["normal"]},Tillana:{v:["regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800"],i:["normal"]},Timmana:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Tinos:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Titan One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Titillium Web":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],subset:["latin-ext","latin"],weight:["200","300","400","600","700","900"],i:["normal","italic"]},"Trade Winds":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Trirong:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Trocchi:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Trochut:{v:["regular","italic","700"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Trykker:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Tulpen One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ubuntu:{v:["300","300italic","regular","italic","500","500italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["300","400","500","700"],i:["normal","italic"]},"Ubuntu Condensed":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},"Ubuntu Mono":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Ultra:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Uncial Antiqua":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Underdog:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Unica One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},UnifrakturCook:{v:["700"],subset:["latin"],weight:["700"],i:[]},UnifrakturMaguntia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Unkempt:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Unlock:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Unna:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},VT323:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Vampiro One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Varela:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Varela Round":{v:["regular"],subset:["latin-ext","hebrew","vietnamese","latin"],weight:["400"],i:["normal"]},"Vast Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Vesper Libre":{v:["regular","500","700","900"],subset:["latin-ext","devanagari","latin"],weight:["400","500","700","900"],i:["normal"]},Vibur:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Vidaloka:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Viga:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Voces:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Volkhov:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Vollkorn:{v:["regular","italic","600","600italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["400","600","700","900"],i:["normal","italic"]},"Vollkorn SC":{v:["regular","600","700","900"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","600","700","900"],i:["normal"]},Voltaire:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Waiting for the Sunrise":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Wallpoet:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Walter Turncoat":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Warnes:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Wellfleet:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Wendy One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Wire One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Work Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Yanone Kaffeesatz":{v:["200","300","regular","700"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","700"],i:["normal"]},Yantramanav:{v:["100","300","regular","500","700","900"],subset:["latin-ext","devanagari","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Yatra One":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Yellowtail:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Yeon Sung":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Yeseva One":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Yesteryear:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Yrsa:{v:["300","regular","500","600","700"],subset:["latin-ext","latin"],weight:["300","400","500","600","700"],i:["normal"]},Zeyada:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Zilla Slab":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Zilla Slab Highlight":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]}};var Re=Ie,He=n(4),We=n.n(He);function Ue(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var Ge=function(e,t){var n;void 0===t&&(t=Ue);var a,r=[],i=!1;return function(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];return i&&n===this&&t(o,r)||(a=e.apply(this,o),i=!0,n=this,r=o),a}},Ve=n(303),qe=n.n(Ve);var $e=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var a=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(a);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);r.insertRule(e,i?0:r.cssRules.length)}catch(e){0}}else a.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Je=function(e){function t(e,t,a){var r=t.trim().split(f);t=r;var i=r.length,o=e.length;switch(o){case 0:case 1:var l=0;for(e=0===o?"":e[0]+" ";l<i;++l)t[l]=n(e,t[l],a).trim();break;default:var s=l=0;for(t=[];l<i;++l)for(var c=0;c<o;++c)t[s++]=n(e[c]+" ",r[l],a).trim()}return t}function n(e,t,n){var a=t.charCodeAt(0);switch(33>a&&(a=(t=t.trim()).charCodeAt(0)),a){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function a(e,t,n,i){var o=e+";",l=2*t+3*n+4*i;if(944===l){e=o.indexOf(":",9)+1;var s=o.substring(e,o.length-1).trim();return s=o.substring(0,e).trim()+s+";",1===O||2===O&&r(s,1)?"-webkit-"+s+s:s}if(0===O||2===O&&!r(o,1))return o;switch(l){case 1015:return 97===o.charCodeAt(10)?"-webkit-"+o+o:o;case 951:return 116===o.charCodeAt(3)?"-webkit-"+o+o:o;case 963:return 110===o.charCodeAt(5)?"-webkit-"+o+o:o;case 1009:if(100!==o.charCodeAt(4))break;case 969:case 942:return"-webkit-"+o+o;case 978:return"-webkit-"+o+"-moz-"+o+o;case 1019:case 983:return"-webkit-"+o+"-moz-"+o+"-ms-"+o+o;case 883:if(45===o.charCodeAt(8))return"-webkit-"+o+o;if(0<o.indexOf("image-set(",11))return o.replace(E,"$1-webkit-$2")+o;break;case 932:if(45===o.charCodeAt(4))switch(o.charCodeAt(5)){case 103:return"-webkit-box-"+o.replace("-grow","")+"-webkit-"+o+"-ms-"+o.replace("grow","positive")+o;case 115:return"-webkit-"+o+"-ms-"+o.replace("shrink","negative")+o;case 98:return"-webkit-"+o+"-ms-"+o.replace("basis","preferred-size")+o}return"-webkit-"+o+"-ms-"+o+o;case 964:return"-webkit-"+o+"-ms-flex-"+o+o;case 1023:if(99!==o.charCodeAt(8))break;return"-webkit-box-pack"+(s=o.substring(o.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+o+"-ms-flex-pack"+s+o;case 1005:return d.test(o)?o.replace(p,":-webkit-")+o.replace(p,":-moz-")+o:o;case 1e3:switch(t=(s=o.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=o.replace(y,"tb");break;case 232:s=o.replace(y,"tb-rl");break;case 220:s=o.replace(y,"lr");break;default:return o}return"-webkit-"+o+"-ms-"+s+o;case 1017:if(-1===o.indexOf("sticky",9))break;case 975:switch(t=(o=e).length-10,l=(s=(33===o.charCodeAt(t)?o.substring(0,t):o).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:o=o.replace(s,"-webkit-"+s)+";"+o;break;case 207:case 102:o=o.replace(s,"-webkit-"+(102<l?"inline-":"")+"box")+";"+o.replace(s,"-webkit-"+s)+";"+o.replace(s,"-ms-"+s+"box")+";"+o}return o+";";case 938:if(45===o.charCodeAt(5))switch(o.charCodeAt(6)){case 105:return s=o.replace("-items",""),"-webkit-"+o+"-webkit-box-"+s+"-ms-flex-"+s+o;case 115:return"-webkit-"+o+"-ms-flex-item-"+o.replace(_,"")+o;default:return"-webkit-"+o+"-ms-flex-line-pack"+o.replace("align-content","").replace(_,"")+o}break;case 973:case 989:if(45!==o.charCodeAt(3)||122===o.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?a(e.replace("stretch","fill-available"),t,n,i).replace(":fill-available",":stretch"):o.replace(s,"-webkit-"+s)+o.replace(s,"-moz-"+s.replace("fill-",""))+o;break;case 962:if(o="-webkit-"+o+(102===o.charCodeAt(5)?"-ms-"+o:"")+o,211===n+i&&105===o.charCodeAt(13)&&0<o.indexOf("transform",10))return o.substring(0,o.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+o}return o}function r(e,t){var n=e.indexOf(1===t?":":"{"),a=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),P(2!==t?a:a.replace(x,"$1"),n,t)}function i(e,t){var n=a(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(k," or ($1)").substring(4):"("+t+")"}function o(e,t,n,a,r,i,o,l,c,u){for(var p,d=0,m=t;d<F;++d)switch(p=D[d].call(s,e,m,n,a,r,i,o,l,c,u)){case void 0:case!1:case!0:case null:break;default:m=p}if(m!==t)return m}function l(e){return void 0!==(e=e.prefix)&&(P=null,e?"function"!=typeof e?O=1:(O=2,P=e):O=0),l}function s(e,n){var l=e;if(33>l.charCodeAt(0)&&(l=l.trim()),l=[l],0<F){var s=o(-1,n,l,l,C,T,0,0,0,0);void 0!==s&&"string"==typeof s&&(n=s)}var p=function e(n,l,s,p,d){for(var m,f,b,y,k,_=0,x=0,S=0,E=0,D=0,P=0,N=b=m=0,z=0,A=0,Y=0,B=0,I=s.length,R=I-1,H="",W="",U="",G="";z<I;){if(f=s.charCodeAt(z),z===R&&0!==x+E+S+_&&(0!==x&&(f=47===x?10:47),E=S=_=0,I++,R++),0===x+E+S+_){if(z===R&&(0<A&&(H=H.replace(u,"")),0<H.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:H+=s.charAt(z)}f=59}switch(f){case 123:for(m=(H=H.trim()).charCodeAt(0),b=1,B=++z;z<I;){switch(f=s.charCodeAt(z)){case 123:b++;break;case 125:b--;break;case 47:switch(f=s.charCodeAt(z+1)){case 42:case 47:e:{for(N=z+1;N<R;++N)switch(s.charCodeAt(N)){case 47:if(42===f&&42===s.charCodeAt(N-1)&&z+2!==N){z=N+1;break e}break;case 10:if(47===f){z=N+1;break e}}z=N}}break;case 91:f++;case 40:f++;case 34:case 39:for(;z++<R&&s.charCodeAt(z)!==f;);}if(0===b)break;z++}switch(b=s.substring(B,z),0===m&&(m=(H=H.replace(c,"").trim()).charCodeAt(0)),m){case 64:switch(0<A&&(H=H.replace(u,"")),f=H.charCodeAt(1)){case 100:case 109:case 115:case 45:A=l;break;default:A=L}if(B=(b=e(l,A,b,f,d+1)).length,0<F&&(k=o(3,b,A=t(L,H,Y),l,C,T,B,f,d,p),H=A.join(""),void 0!==k&&0===(B=(b=k.trim()).length)&&(f=0,b="")),0<B)switch(f){case 115:H=H.replace(w,i);case 100:case 109:case 45:b=H+"{"+b+"}";break;case 107:b=(H=H.replace(g,"$1 $2"))+"{"+b+"}",b=1===O||2===O&&r("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=H+b,112===p&&(W+=b,b="")}else b="";break;default:b=e(l,t(l,H,Y),b,p,d+1)}U+=b,b=Y=A=N=m=0,H="",f=s.charCodeAt(++z);break;case 125:case 59:if(1<(B=(H=(0<A?H.replace(u,""):H).trim()).length))switch(0===N&&(m=H.charCodeAt(0),45===m||96<m&&123>m)&&(B=(H=H.replace(" ",":")).length),0<F&&void 0!==(k=o(1,H,l,n,C,T,W.length,p,d,p))&&0===(B=(H=k.trim()).length)&&(H="\0\0"),m=H.charCodeAt(0),f=H.charCodeAt(1),m){case 0:break;case 64:if(105===f||99===f){G+=H+s.charAt(z);break}default:58!==H.charCodeAt(B-1)&&(W+=a(H,m,f,H.charCodeAt(2)))}Y=A=N=m=0,H="",f=s.charCodeAt(++z)}}switch(f){case 13:case 10:47===x?x=0:0===1+m&&107!==p&&0<H.length&&(A=1,H+="\0"),0<F*j&&o(0,H,l,n,C,T,W.length,p,d,p),T=1,C++;break;case 59:case 125:if(0===x+E+S+_){T++;break}default:switch(T++,y=s.charAt(z),f){case 9:case 32:if(0===E+_+x)switch(D){case 44:case 58:case 9:case 32:y="";break;default:32!==f&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===E+x+_&&(A=Y=1,y="\f"+y);break;case 108:if(0===E+x+_+M&&0<N)switch(z-N){case 2:112===D&&58===s.charCodeAt(z-3)&&(M=D);case 8:111===P&&(M=P)}break;case 58:0===E+x+_&&(N=z);break;case 44:0===x+S+E+_&&(A=1,y+="\r");break;case 34:case 39:0===x&&(E=E===f?0:0===E?f:E);break;case 91:0===E+x+S&&_++;break;case 93:0===E+x+S&&_--;break;case 41:0===E+x+_&&S--;break;case 40:if(0===E+x+_){if(0===m)switch(2*D+3*P){case 533:break;default:m=1}S++}break;case 64:0===x+S+E+_+N+b&&(b=1);break;case 42:case 47:if(!(0<E+_+S))switch(x){case 0:switch(2*f+3*s.charCodeAt(z+1)){case 235:x=47;break;case 220:B=z,x=42}break;case 42:47===f&&42===D&&B+2!==z&&(33===s.charCodeAt(B+2)&&(W+=s.substring(B,z+1)),y="",x=0)}}0===x&&(H+=y)}P=D,D=f,z++}if(0<(B=W.length)){if(A=l,0<F&&(void 0!==(k=o(2,W,A,n,C,T,B,p,d,p))&&0===(W=k).length))return G+W+U;if(W=A.join(",")+"{"+W+"}",0!=O*M){switch(2!==O||r(W,2)||(M=0),M){case 111:W=W.replace(v,":-moz-$1")+W;break;case 112:W=W.replace(h,"::-webkit-input-$1")+W.replace(h,"::-moz-$1")+W.replace(h,":-ms-input-$1")+W}M=0}}return G+W+U}(L,l,n,0,0);return 0<F&&(void 0!==(s=o(-2,p,l,l,C,T,p.length,0,0,0))&&(p=s)),"",M=0,T=C=1,p}var c=/^\0+/g,u=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,m=/([,: ])(transform)/g,f=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,h=/::(place)/g,v=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,_=/-self|flex-/g,x=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,E=/([^-])(image-set\()/,T=1,C=1,M=0,O=1,L=[],D=[],F=0,P=null,j=0;return s.use=function e(t){switch(t){case void 0:case null:F=D.length=0;break;default:if("function"==typeof t)D[F++]=t;else if("object"==typeof t)for(var n=0,a=t.length;n<a;++n)e(t[n]);else j=0|!!t}return e},s.set=l,void 0!==e&&l(e),s};function Xe(e){e&&Ke.current.insert(e+"}")}var Ke={current:null},Qe=function(e,t,n,a,r,i,o,l,s,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return Ke.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===l)return t+"/*|*/";break;case 3:switch(l){case 102:case 112:return Ke.current.insert(n[0]+t),"";default:return t+(0===c?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(Xe)}},Ze=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var a=new Je(t);var r,i={};r=e.container||document.head;var o,l=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(l,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){i[e]=!0})),e.parentNode!==r&&r.appendChild(e)})),a.use(e.stylisPlugins)(Qe),o=function(e,t,n,r){var i=t.name;Ke.current=n,a(e,t.styles),r&&(s.inserted[i]=!0)};var s={key:n,sheet:new $e({key:n,container:r,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:i,registered:{},insert:o};return s};function et(e,t,n){var a="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):a+=n+" "})),a}var tt=function(e,t,n){var a=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[a]&&(e.registered[a]=t.styles),void 0===e.inserted[t.name]){var r=t;do{e.insert("."+a,r,e.sheet,!0);r=r.next}while(void 0!==r)}};var nt=function(e){for(var t,n=0,a=0,r=e.length;r>=4;++a,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(a+2))<<16;case 2:n^=(255&e.charCodeAt(a+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(a)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},at={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var rt=/[A-Z]|^ms/g,it=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ot=function(e){return 45===e.charCodeAt(1)},lt=function(e){return null!=e&&"boolean"!=typeof e},st=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return ot(e)?e:e.replace(rt,"-$&").toLowerCase()})),ct=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(it,(function(e,t,n){return pt={name:t,styles:n,next:pt},t}))}return 1===at[e]||ot(e)||"number"!=typeof t||0===t?t:t+"px"};function ut(e,t,n,a){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return pt={name:n.name,styles:n.styles,next:pt},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)pt={name:r.name,styles:r.styles,next:pt},r=r.next;return n.styles+";"}return function(e,t,n){var a="";if(Array.isArray(n))for(var r=0;r<n.length;r++)a+=ut(e,t,n[r],!1);else for(var i in n){var o=n[i];if("object"!=typeof o)null!=t&&void 0!==t[o]?a+=i+"{"+t[o]+"}":lt(o)&&(a+=st(i)+":"+ct(i,o)+";");else if(!Array.isArray(o)||"string"!=typeof o[0]||null!=t&&void 0!==t[o[0]]){var l=ut(e,t,o,!1);switch(i){case"animation":case"animationName":a+=st(i)+":"+l+";";break;default:a+=i+"{"+l+"}"}}else for(var s=0;s<o.length;s++)lt(o[s])&&(a+=st(i)+":"+ct(i,o[s])+";")}return a}(e,t,n);case"function":if(void 0!==e){var i=pt,o=n(e);return pt=i,ut(e,t,o,a)}break;case"string":}if(null==t)return n;var l=t[n];return void 0===l||a?n:l}var pt,dt=/label:\s*([^\s;\n{]+)\s*;/g;var mt=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a=!0,r="";pt=void 0;var i=e[0];null==i||void 0===i.raw?(a=!1,r+=ut(n,t,i,!1)):r+=i[0];for(var o=1;o<e.length;o++)r+=ut(n,t,e[o],46===r.charCodeAt(r.length-1)),a&&(r+=i[o]);dt.lastIndex=0;for(var l,s="";null!==(l=dt.exec(r));)s+="-"+l[1];return{name:nt(r)+s,styles:r,next:pt}};var ft=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return mt(t)},bt=Object(He.createContext)("undefined"!=typeof HTMLElement?Ze():null),gt=Object(He.createContext)({}),ht=bt.Provider,vt=function(e){return Object(He.forwardRef)((function(t,n){return Object(He.createElement)(bt.Consumer,null,(function(a){return e(t,a,n)}))}))},yt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",wt=Object.prototype.hasOwnProperty,kt=function(e,t,n,a){var r=null===n?t.css:t.css(n);"string"==typeof r&&void 0!==e.registered[r]&&(r=e.registered[r]);var i=t[yt],o=[r],l="";"string"==typeof t.className?l=et(e.registered,o,t.className):null!=t.className&&(l=t.className+" ");var s=mt(o);tt(e,s,"string"==typeof i);l+=e.key+"-"+s.name;var c={};for(var u in t)wt.call(t,u)&&"css"!==u&&u!==yt&&(c[u]=t[u]);return c.ref=a,c.className=l,Object(He.createElement)(i,c)},_t=vt((function(e,t,n){return"function"==typeof e.css?Object(He.createElement)(gt.Consumer,null,(function(a){return kt(t,e,a,n)})):kt(t,e,null,n)}));var xt=function(e,t){var n=arguments;if(null==t||!wt.call(t,"css"))return He.createElement.apply(void 0,n);var a=n.length,r=new Array(a);r[0]=_t;var i={};for(var o in t)wt.call(t,o)&&(i[o]=t[o]);i[yt]=e,r[1]=i;for(var l=2;l<a;l++)r[l]=n[l];return He.createElement.apply(null,r)},St=(He.Component,function e(t){for(var n=t.length,a=0,r="";a<n;a++){var i=t[a];if(null!=i){var o=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))o=e(i);else for(var l in o="",i)i[l]&&l&&(o&&(o+=" "),o+=l);break;default:o=i}o&&(r&&(r+=" "),r+=o)}}return r});function Et(e,t,n){var a=[],r=et(e,a,n);return a.length<2?n:r+t(a)}var Tt=vt((function(e,t){return Object(He.createElement)(gt.Consumer,null,(function(n){var a=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];var r=mt(n,t.registered);return tt(t,r,!1),t.key+"-"+r.name},r={css:a,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Et(t.registered,a,St(n))},theme:n},i=e.children(r);return!0,i}))})),Ct=n(50),Mt=n(51),Ot=n.n(Mt),Lt=function(){};function Dt(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Ft(e,t,n){var a=[n];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&a.push(""+Dt(e,r));return a.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Pt=function(e){return Array.isArray(e)?e.filter(Boolean):"object"==typeof e&&null!==e?[e]:[]};function jt(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Nt(e){return jt(e)?window.pageYOffset:e.scrollTop}function zt(e,t){jt(e)?window.scrollTo(0,t):e.scrollTop=t}function At(e,t,n,a){void 0===n&&(n=200),void 0===a&&(a=Lt);var r=Nt(e),i=t-r,o=0;!function t(){var l,s=i*((l=(l=o+=10)/n-1)*l*l+1)+r;zt(e,s),o<n?window.requestAnimationFrame(t):a(e)}()}function Yt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Bt=n(115),It=n.n(Bt);function Rt(){return(Rt=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 Ht(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Wt(e){var t=e.maxHeight,n=e.menuEl,a=e.minHeight,r=e.placement,i=e.shouldScroll,o=e.isFixedPosition,l=e.theme.spacing,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,a=/(auto|scroll)/,r=document.documentElement;if("fixed"===t.position)return r;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&a.test(t.overflow+t.overflowY+t.overflowX))return i;return r}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u=s.getBoundingClientRect().height,p=n.getBoundingClientRect(),d=p.bottom,m=p.height,f=p.top,b=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,h=Nt(s),v=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=b-y,k=g-f,_=w+h,x=u-h-f,S=d-g+h+v,E=h+f-y;switch(r){case"auto":case"bottom":if(k>=m)return{placement:"bottom",maxHeight:t};if(x>=m&&!o)return i&&At(s,S,160),{placement:"bottom",maxHeight:t};if(!o&&x>=a||o&&k>=a)return i&&At(s,S,160),{placement:"bottom",maxHeight:o?k-v:x-v};if("auto"===r||o){var T=t,C=o?w:_;return C>=a&&(T=Math.min(C-v-l.controlHeight,t)),{placement:"top",maxHeight:T}}if("bottom"===r)return zt(s,S),{placement:"bottom",maxHeight:t};break;case"top":if(w>=m)return{placement:"top",maxHeight:t};if(_>=m&&!o)return i&&At(s,E,160),{placement:"top",maxHeight:t};if(!o&&_>=a||o&&w>=a){var M=t;return(!o&&_>=a||o&&w>=a)&&(M=o?w-y:_-y),i&&At(s,E,160),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'+r+'".')}return c}var Ut=function(e){return"auto"===e?"bottom":e},Gt=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={maxHeight:t.props.maxMenuHeight,placement:null},t.getPlacement=function(e){var n=t.props,a=n.minMenuHeight,r=n.maxMenuHeight,i=n.menuPlacement,o=n.menuPosition,l=n.menuShouldScrollIntoView,s=n.theme,c=t.context.getPortalPlacement;if(e){var u="fixed"===o,p=Wt({maxHeight:r,menuEl:e,minHeight:a,placement:i,shouldScroll:l&&!u,isFixedPosition:u,theme:s});c&&c(p),t.setState(p)}},t.getUpdatedProps=function(){var e=t.props.menuPlacement,n=t.state.placement||Ut(e);return Rt({},t.props,{placement:n,maxHeight:t.state.maxHeight})},t}return Ht(t,e),t.prototype.render=function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})},t}(He.Component);Gt.contextTypes={getPortalPlacement:Ot.a.func};var Vt=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:2*n+"px "+3*n+"px",textAlign:"center"}},qt=Vt,$t=Vt,Jt=function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return xt("div",Rt({css:r("noOptionsMessage",e),className:a({"menu-notice":!0,"menu-notice--no-options":!0},n)},i),t)};Jt.defaultProps={children:"No options"};var Xt=function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return xt("div",Rt({css:r("loadingMessage",e),className:a({"menu-notice":!0,"menu-notice--loading":!0},n)},i),t)};Xt.defaultProps={children:"Loading..."};var Kt=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={placement:null},t.getPortalPlacement=function(e){var n=e.placement;n!==Ut(t.props.menuPlacement)&&t.setState({placement:n})},t}Ht(t,e);var n=t.prototype;return n.getChildContext=function(){return{getPortalPlacement:this.getPortalPlacement}},n.render=function(){var e=this.props,t=e.appendTo,n=e.children,a=e.controlElement,r=e.menuPlacement,i=e.menuPosition,o=e.getStyles,l="fixed"===i;if(!t&&!l||!a)return null;var s=this.state.placement||Ut(r),c=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(a),u=l?0:window.pageYOffset,p=c[s]+u,d=xt("div",{css:o("menuPortal",{offset:p,position:i,rect:c})},n);return t?Object(Ct.createPortal)(d,t):d},t}(He.Component);Kt.childContextTypes={getPortalPlacement:Ot.a.func};var Qt=Array.isArray,Zt=Object.keys,en=Object.prototype.hasOwnProperty;function tn(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var a,r,i,o=Qt(t),l=Qt(n);if(o&&l){if((r=t.length)!=n.length)return!1;for(a=r;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(o!=l)return!1;var s=t instanceof Date,c=n instanceof Date;if(s!=c)return!1;if(s&&c)return t.getTime()==n.getTime();var u=t instanceof RegExp,p=n instanceof RegExp;if(u!=p)return!1;if(u&&p)return t.toString()==n.toString();var d=Zt(t);if((r=d.length)!==Zt(n).length)return!1;for(a=r;0!=a--;)if(!en.call(n,d[a]))return!1;for(a=r;0!=a--;)if(!("_owner"===(i=d[a])&&t.$$typeof||e(t[i],n[i])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}function nn(){return(nn=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 an(){var e=function(e,t){t||(t=e.slice(0));return e.raw=t,e}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);return an=function(){return e},e}function rn(){return(rn=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)}var on={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},ln=function(e){var t=e.size,n=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["size"]);return xt("svg",rn({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:on},n))},sn=function(e){return xt(ln,rn({size:20},e),xt("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},cn=function(e){return xt(ln,rn({size:20},e),xt("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},un=function(e){var t=e.isFocused,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorContainer",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*a,transition:"color 150ms",":hover":{color:t?r.neutral80:r.neutral40}}},pn=un,dn=un,mn=function(){var e=ft.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(an()),fn=function(e){var t=e.delay,n=e.offset;return xt("span",{css:ft({animation:mn+" 1s ease-in-out "+t+"ms infinite;",backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},bn=function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerProps,i=e.isRtl;return xt("div",rn({},r,{css:a("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),xt(fn,{delay:0,offset:i}),xt(fn,{delay:160,offset:!0}),xt(fn,{delay:320,offset:!i}))};function gn(){return(gn=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)}bn.defaultProps={size:4};function hn(){return(hn=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 vn(){return(vn=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)}var yn=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}};function wn(){return(wn=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)}var kn=function(e){var t=e.children,n=e.innerProps;return xt("div",n,t)},_n=kn,xn=kn;var Sn=function(e){var t=e.children,n=e.className,a=e.components,r=e.cx,i=e.data,o=e.getStyles,l=e.innerProps,s=e.isDisabled,c=e.removeProps,u=e.selectProps,p=a.Container,d=a.Label,m=a.Remove;return xt(Tt,null,(function(a){var f=a.css,b=a.cx;return xt(p,{data:i,innerProps:wn({},l,{className:b(f(o("multiValue",e)),r({"multi-value":!0,"multi-value--is-disabled":s},n))}),selectProps:u},xt(d,{data:i,innerProps:{className:b(f(o("multiValueLabel",e)),r({"multi-value__label":!0},n))},selectProps:u},t),xt(m,{data:i,innerProps:wn({className:b(f(o("multiValueRemove",e)),r({"multi-value__remove":!0},n))},c),selectProps:u}))}))};function En(){return(En=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)}Sn.defaultProps={cropWithEllipsis:!0};function Tn(){return(Tn=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 Cn(){return(Cn=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 Mn(){return(Mn=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)}var On={ClearIndicator:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return xt("div",rn({},i,{css:r("clearIndicator",e),className:a({indicator:!0,"clear-indicator":!0},n)}),t||xt(sn,null))},Control:function(e){var t=e.children,n=e.cx,a=e.getStyles,r=e.className,i=e.isDisabled,o=e.isFocused,l=e.innerRef,s=e.innerProps,c=e.menuIsOpen;return xt("div",gn({ref:l,css:a("control",e),className:n({control:!0,"control--is-disabled":i,"control--is-focused":o,"control--menu-is-open":c},r)},s),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return xt("div",rn({},i,{css:r("dropdownIndicator",e),className:a({indicator:!0,"dropdown-indicator":!0},n)}),t||xt(cn,null))},DownChevron:cn,CrossIcon:sn,Group:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.Heading,o=e.headingProps,l=e.label,s=e.theme,c=e.selectProps;return xt("div",{css:r("group",e),className:a({group:!0},n)},xt(i,hn({},o,{selectProps:c,theme:s,getStyles:r,cx:a}),l),xt("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.theme,i=(e.selectProps,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["className","cx","getStyles","theme","selectProps"]));return xt("div",hn({css:a("groupHeading",hn({theme:r},i)),className:n({"group-heading":!0},t)},i))},IndicatorsContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles;return xt("div",{css:r("indicatorsContainer",e),className:a({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerProps;return xt("span",rn({},r,{css:a("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerRef,i=e.isHidden,o=e.isDisabled,l=e.theme,s=(e.selectProps,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return xt("div",{css:a("input",vn({theme:l},s))},xt(It.a,vn({className:n({input:!0},t),inputRef:r,inputStyle:yn(i),disabled:o},s)))},LoadingIndicator:bn,Menu:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerRef,o=e.innerProps;return xt("div",Rt({css:r("menu",e),className:a({menu:!0},n)},o,{ref:i}),t)},MenuList:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isMulti,o=e.innerRef;return xt("div",{css:r("menuList",e),className:a({"menu-list":!0,"menu-list--is-multi":i},n),ref:o},t)},MenuPortal:Kt,LoadingMessage:Xt,NoOptionsMessage:Jt,MultiValue:Sn,MultiValueContainer:_n,MultiValueLabel:xn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return xt("div",n,t||xt(sn,{size:14}))},Option:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isDisabled,o=e.isFocused,l=e.isSelected,s=e.innerRef,c=e.innerProps;return xt("div",En({css:r("option",e),className:a({option:!0,"option--is-disabled":i,"option--is-focused":o,"option--is-selected":l},n),ref:s},c),t)},Placeholder:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return xt("div",Tn({css:r("placeholder",e),className:a({placeholder:!0},n)},i),t)},SelectContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps,o=e.isDisabled,l=e.isRtl;return xt("div",nn({css:r("container",e),className:a({"--is-disabled":o,"--is-rtl":l},n)},i),t)},SingleValue:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isDisabled,o=e.innerProps;return xt("div",Cn({css:r("singleValue",e),className:a({"single-value":!0,"single-value--is-disabled":i},n)},o),t)},ValueContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.isMulti,i=e.getStyles,o=e.hasValue;return xt("div",{css:i("valueContainer",e),className:a({"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o},n)},t)}},Ln=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],Dn=function(e){for(var t=0;t<Ln.length;t++)e=e.replace(Ln[t].letters,Ln[t].base);return e};function Fn(){return(Fn=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)}var Pn=function(e){return e.replace(/^\s+|\s+$/g,"")},jn=function(e){return e.label+" "+e.value};function Nn(){return(Nn=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)}var zn={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},An=function(e){return xt("span",Nn({css:zn},e))};function Yn(){return(Yn=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 Bn(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return xt("input",Yn({ref:t},n,{css:ft({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}var In=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.props.innerRef(Object(Ct.findDOMNode)(this))},r.componentWillUnmount=function(){this.props.innerRef(null)},r.render=function(){return this.props.children},a}(He.Component),Rn=["boxSizing","height","overflow","paddingRight","position"],Hn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Wn(e){e.preventDefault()}function Un(e){e.stopPropagation()}function Gn(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Vn(){return"ontouchstart"in window||navigator.maxTouchPoints}var qn=!(!window.document||!window.document.createElement),$n=0,Jn=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).originalStyles={},t.listenerOptions={capture:!1,passive:!1},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){var e=this;if(qn){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,i=r&&r.style;if(n&&Rn.forEach((function(t){var n=i&&i[t];e.originalStyles[t]=n})),n&&$n<1){var o=parseInt(this.originalStyles.paddingRight,10)||0,l=document.body?document.body.clientWidth:0,s=window.innerWidth-l+o||0;Object.keys(Hn).forEach((function(e){var t=Hn[e];i&&(i[e]=t)})),i&&(i.paddingRight=s+"px")}r&&Vn()&&(r.addEventListener("touchmove",Wn,this.listenerOptions),a&&(a.addEventListener("touchstart",Gn,this.listenerOptions),a.addEventListener("touchmove",Un,this.listenerOptions))),$n+=1}},r.componentWillUnmount=function(){var e=this;if(qn){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,i=r&&r.style;$n=Math.max($n-1,0),n&&$n<1&&Rn.forEach((function(t){var n=e.originalStyles[t];i&&(i[t]=n)})),r&&Vn()&&(r.removeEventListener("touchmove",Wn,this.listenerOptions),a&&(a.removeEventListener("touchstart",Gn,this.listenerOptions),a.removeEventListener("touchmove",Un,this.listenerOptions)))}},r.render=function(){return null},a}(He.Component);Jn.defaultProps={accountForScrollbars:!0};var Xn={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},Kn=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={touchScrollTarget:null},t.getScrollTarget=function(e){e!==t.state.touchScrollTarget&&t.setState({touchScrollTarget:e})},t.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},t}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=this.props,t=e.children,n=e.isEnabled,a=this.state.touchScrollTarget;return n?xt("div",null,xt("div",{onClick:this.blurSelectInput,css:Xn}),xt(In,{innerRef:this.getScrollTarget},t),a?xt(Jn,{touchScrollTarget:a}):null):t},a}(He.PureComponent);var Qn=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).isBottom=!1,t.isTop=!1,t.scrollTarget=void 0,t.touchStart=void 0,t.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},t.handleEventDelta=function(e,n){var a=t.props,r=a.onBottomArrive,i=a.onBottomLeave,o=a.onTopArrive,l=a.onTopLeave,s=t.scrollTarget,c=s.scrollTop,u=s.scrollHeight,p=s.clientHeight,d=t.scrollTarget,m=n>0,f=u-p-c,b=!1;f>n&&t.isBottom&&(i&&i(e),t.isBottom=!1),m&&t.isTop&&(l&&l(e),t.isTop=!1),m&&n>f?(r&&!t.isBottom&&r(e),d.scrollTop=u,b=!0,t.isBottom=!0):!m&&-n>c&&(o&&!t.isTop&&o(e),d.scrollTop=0,b=!0,t.isTop=!0),b&&t.cancelScroll(e)},t.onWheel=function(e){t.handleEventDelta(e,e.deltaY)},t.onTouchStart=function(e){t.touchStart=e.changedTouches[0].clientY},t.onTouchMove=function(e){var n=t.touchStart-e.changedTouches[0].clientY;t.handleEventDelta(e,n)},t.getScrollTarget=function(e){t.scrollTarget=e},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.startListening(this.scrollTarget)},r.componentWillUnmount=function(){this.stopListening(this.scrollTarget)},r.startListening=function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))},r.stopListening=function(e){"function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1)},r.render=function(){return We.a.createElement(In,{innerRef:this.getScrollTarget},this.props.children)},a}(He.Component);function Zn(e){var t=e.isEnabled,n=void 0===t||t,a=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["isEnabled"]);return n?We.a.createElement(Qn,a):a.children}var ea=function(e,t){void 0===t&&(t={});var n=t,a=n.isSearchable,r=n.isMulti,i=n.label,o=n.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options"+(o?"":", press Enter to select the currently focused option")+", press Escape to exit the menu, press Tab to select the option and exit the menu.";case"input":return(i||"Select")+" is focused "+(a?",type to refine list":"")+", press Down to open the menu, "+(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},ta=function(e,t){var n=t.value,a=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option "+n+", deselected.";case"select-option":return a?"option "+n+" is disabled. Select another option.":"option "+n+", selected."}},na=function(e){return!!e.isDisabled};var aa={clearIndicator:dn,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,a=e.theme,r=a.colors,i=a.borderRadius,o=a.spacing;return{label:"control",alignItems:"center",backgroundColor:t?r.neutral5:r.neutral0,borderColor:t?r.neutral10:n?r.primary:r.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px "+r.primary:null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?r.primary:r.neutral30}}},dropdownIndicator:pn,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?r.neutral10:r.neutral20,marginBottom:2*a,marginTop:2*a,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,visibility:t?"hidden":"visible",color:r.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,a=e.theme,r=a.colors,i=a.spacing.baseUnit;return{label:"loadingIndicator",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:$t,menu:function(e){var t,n=e.placement,a=e.theme,r=a.borderRadius,i=a.spacing,o=a.colors;return(t={label:"menu"})[function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n)]="100%",t.backgroundColor=o.neutral0,t.borderRadius=r,t.boxShadow="0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",t.marginBottom=i.menuGutter,t.marginTop=i.menuGutter,t.position="absolute",t.width="100%",t.zIndex=1,t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,a=e.position;return{left:t.left,position:a,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,a=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:a/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,a=t.colors,r=e.cropWithEllipsis;return{borderRadius:n/2,color:a.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:r?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,a=t.borderRadius,r=t.colors;return{alignItems:"center",borderRadius:a/2,backgroundColor:e.isFocused&&r.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}}},noOptionsMessage:qt,option:function(e){var t=e.isDisabled,n=e.isFocused,a=e.isSelected,r=e.theme,i=r.spacing,o=r.colors;return{label:"option",backgroundColor:a?o.primary:n?o.primary25:"transparent",color:t?o.neutral20:a?o.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:2*i.baseUnit+"px "+3*i.baseUnit+"px",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(a?o.primary:o.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{label:"singleValue",color:t?r.neutral40:r.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,maxWidth:"calc(100% - "+2*a.baseUnit+"px)",overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:t.baseUnit/2+"px "+2*t.baseUnit+"px",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var ra={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}};function ia(){return(ia=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 oa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var la,sa={backspaceRemovesValue:!0,blurInputOnSelect:Yt(),captureMenuScroll:!Yt(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=Fn({ignoreCase:!0,ignoreAccents:!0,stringify:jn,trim:!0,matchFrom:"any"},la),a=n.ignoreCase,r=n.ignoreAccents,i=n.stringify,o=n.trim,l=n.matchFrom,s=o?Pn(t):t,c=o?Pn(i(e)):i(e);return a&&(s=s.toLowerCase(),c=c.toLowerCase()),r&&(s=Dn(s),c=Dn(c)),"start"===l?c.substr(0,s.length)===s:c.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:na,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return t+" result"+(1!==t?"s":"")+" available"},styles:{},tabIndex:"0",tabSelectsValue:!0},ca=1,ua=function(e){var t,n;function a(t){var n;(n=e.call(this,t)||this).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},n.blockOptionHover=!1,n.isComposing=!1,n.clearFocusValueOnUpdate=!1,n.commonProps=void 0,n.components=void 0,n.hasGroups=!1,n.initialTouchX=0,n.initialTouchY=0,n.inputIsHiddenAfterUpdate=void 0,n.instancePrefix="",n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(e){n.controlRef=e},n.focusedOptionRef=null,n.getFocusedOptionRef=function(e){n.focusedOptionRef=e},n.menuListRef=null,n.getMenuListRef=function(e){n.menuListRef=e},n.inputRef=null,n.getInputRef=function(e){n.inputRef=e},n.cacheComponents=function(e){n.components=Mn({},On,{components:e}.components)},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(e,t){var a=n.props;(0,a.onChange)(e,ia({},t,{name:a.name}))},n.setValue=function(e,t,a){void 0===t&&(t="set-value");var r=n.props,i=r.closeMenuOnSelect,o=r.isMulti;n.onInputChange("",{action:"set-value"}),i&&(n.inputIsHiddenAfterUpdate=!o,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(e,{action:t,option:a})},n.selectOption=function(e){var t=n.props,a=t.blurInputOnSelect,r=t.isMulti,i=n.state.selectValue;if(r)if(n.isOptionSelected(e,i)){var o=n.getOptionValue(e);n.setValue(i.filter((function(e){return n.getOptionValue(e)!==o})),"deselect-option",e),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(e)}})}else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue([].concat(i,[e]),"select-option",e),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue(e,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));a&&n.blurInput()},n.removeValue=function(e){var t=n.state.selectValue,a=n.getOptionValue(e),r=t.filter((function(e){return n.getOptionValue(e)!==a}));n.onChange(r.length?r:null,{action:"remove-value",removedValue:e}),n.announceAriaLiveSelection({event:"remove-value",context:{value:e?n.getOptionLabel(e):""}}),n.focusInput()},n.clearValue=function(){var e=n.props.isMulti;n.onChange(e?[]:null,{action:"clear"})},n.popValue=function(){var e=n.state.selectValue,t=e[e.length-1],a=e.slice(0,e.length-1);n.announceAriaLiveSelection({event:"pop-value",context:{value:t?n.getOptionLabel(t):""}}),n.onChange(a.length?a:null,{action:"pop-value",removedValue:t})},n.getOptionLabel=function(e){return n.props.getOptionLabel(e)},n.getOptionValue=function(e){return n.props.getOptionValue(e)},n.getStyles=function(e,t){var a=aa[e](t);a.boxSizing="border-box";var r=n.props.styles[e];return r?r(a,t):a},n.getElementId=function(e){return n.instancePrefix+"-"+e},n.getActiveDescendentId=function(){var e=n.props.menuIsOpen,t=n.state,a=t.menuOptions,r=t.focusedOption;if(r&&e){var i=a.focusable.indexOf(r),o=a.render[i];return o&&o.key}},n.announceAriaLiveSelection=function(e){var t=e.event,a=e.context;n.setState({ariaLiveSelection:ta(t,a)})},n.announceAriaLiveContext=function(e){var t=e.event,a=e.context;n.setState({ariaLiveContext:ea(t,ia({},a,{label:n.props["aria-label"]}))})},n.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(e){n.blockOptionHover=!1},n.onControlMouseDown=function(e){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},n.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||n.props.isDisabled)){var t=n.props,a=t.isMulti,r=t.menuIsOpen;n.focusInput(),r?(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()):n.openMenu("first"),e.preventDefault(),e.stopPropagation()}},n.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.stopPropagation(),n.openAfterFocus=!1,"touchend"===e.type?n.focusInput():setTimeout((function(){return n.focusInput()})))},n.onScroll=function(e){"boolean"==typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&jt(e.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(e){var t=e.touches.item(0);t&&(n.initialTouchX=t.clientX,n.initialTouchY=t.clientY,n.userIsDragging=!1)},n.onTouchMove=function(e){var t=e.touches.item(0);if(t){var a=Math.abs(t.clientX-n.initialTouchX),r=Math.abs(t.clientY-n.initialTouchY);n.userIsDragging=a>5||r>5}},n.onTouchEnd=function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(e){n.userIsDragging||n.onControlMouseDown(e)},n.onClearIndicatorTouchEnd=function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)},n.onDropdownIndicatorTouchEnd=function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)},n.handleInputChange=function(e){var t=e.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(t,{action:"input-change"}),n.onMenuOpen()},n.onInputFocus=function(e){var t=n.props,a=t.isSearchable,r=t.isMulti;n.props.onFocus&&n.props.onFocus(e),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:r}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(e){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))},n.onOptionHover=function(e){n.blockOptionHover||n.state.focusedOption===e||n.setState({focusedOption:e})},n.shouldHideSelectedOptions=function(){var e=n.props,t=e.hideSelectedOptions,a=e.isMulti;return void 0===t?a:t},n.onKeyDown=function(e){var t=n.props,a=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,o=t.inputValue,l=t.isClearable,s=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,p=t.tabSelectsValue,d=t.openMenuOnFocus,m=n.state,f=m.focusedOption,b=m.focusedValue,g=m.selectValue;if(!(s||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!a||o)return;n.focusValue("previous");break;case"ArrowRight":if(!a||o)return;n.focusValue("next");break;case"Delete":case"Backspace":if(o)return;if(b)n.removeValue(b);else{if(!r)return;a?n.popValue():l&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!c||!p||!f||d&&n.isOptionSelected(f,g))return;n.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(c){if(!f)return;if(n.isComposing)return;n.selectOption(f);break}return;case"Escape":c?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):l&&i&&n.clearValue();break;case" ":if(o)return;if(!c){n.openMenu("first");break}if(!f)return;n.selectOption(f);break;case"ArrowUp":c?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":c?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!c)return;n.focusOption("pageup");break;case"PageDown":if(!c)return;n.focusOption("pagedown");break;case"Home":if(!c)return;n.focusOption("first");break;case"End":if(!c)return;n.focusOption("last");break;default:return}e.preventDefault()}},n.buildMenuOptions=function(e,t){var a=e.inputValue,r=void 0===a?"":a,i=e.options,o=function(e,a){var i=n.isOptionDisabled(e,t),o=n.isOptionSelected(e,t),l=n.getOptionLabel(e),s=n.getOptionValue(e);if(!(n.shouldHideSelectedOptions()&&o||!n.filterOption({label:l,value:s,data:e},r))){var c=i?void 0:function(){return n.onOptionHover(e)},u=i?void 0:function(){return n.selectOption(e)},p=n.getElementId("option")+"-"+a;return{innerProps:{id:p,onClick:u,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:i,isSelected:o,key:p,label:l,type:"option",value:s}}};return i.reduce((function(e,t,a){if(t.options){n.hasGroups||(n.hasGroups=!0);var r=t.options.map((function(t,n){var r=o(t,a+"-"+n);return r&&e.focusable.push(t),r})).filter(Boolean);if(r.length){var i=n.getElementId("group")+"-"+a;e.render.push({type:"group",key:i,data:t,options:r})}}else{var l=o(t,""+a);l&&(e.render.push(l),e.focusable.push(t))}return e}),{render:[],focusable:[]})};var a=t.value;n.cacheComponents=Ge(n.cacheComponents,tn).bind(oa(oa(n))),n.cacheComponents(t.components),n.instancePrefix="react-select-"+(n.props.instanceId||++ca);var r=Pt(a);n.buildMenuOptions=Ge(n.buildMenuOptions,(function(e,t){var n=e,a=n[0],r=n[1],i=t,o=i[0];return tn(r,i[1])&&tn(a.inputValue,o.inputValue)&&tn(a.options,o.options)})).bind(oa(oa(n)));var i=t.menuIsOpen?n.buildMenuOptions(t,r):{render:[],focusable:[]};return n.state.menuOptions=i,n.state.selectValue=r,n}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()},r.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.options,a=t.value,r=t.menuIsOpen,i=t.inputValue;if(this.cacheComponents(e.components),e.value!==a||e.options!==n||e.menuIsOpen!==r||e.inputValue!==i){var o=Pt(e.value),l=e.menuIsOpen?this.buildMenuOptions(e,o):{render:[],focusable:[]},s=this.getNextFocusedValue(o),c=this.getNextFocusedOption(l.focusable);this.setState({menuOptions:l,selectValue:o,focusedOption:c,focusedValue:s})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)},r.componentDidUpdate=function(e){var t,n,a,r,i,o=this.props,l=o.isDisabled,s=o.menuIsOpen,c=this.state.isFocused;(c&&!l&&e.isDisabled||c&&s&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,a=t.getBoundingClientRect(),r=n.getBoundingClientRect(),i=n.offsetHeight/3,r.bottom+i>a.bottom?zt(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+i,t.scrollHeight)):r.top-i<a.top&&zt(t,Math.max(n.offsetTop-i,0)),this.scrollToFocusedOptionOnUpdate=!1)},r.componentWillUnmount=function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)},r.onMenuOpen=function(){this.props.onMenuOpen()},r.onMenuClose=function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()},r.onInputChange=function(e,t){this.props.onInputChange(e,t)},r.focusInput=function(){this.inputRef&&this.inputRef.focus()},r.blurInput=function(){this.inputRef&&this.inputRef.blur()},r.openMenu=function(e){var t=this,n=this.state,a=n.selectValue,r=n.isFocused,i=this.buildMenuOptions(this.props,a),o=this.props.isMulti,l="first"===e?0:i.focusable.length-1;if(!o){var s=i.focusable.indexOf(a[0]);s>-1&&(l=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:i,focusedValue:null,focusedOption:i.focusable[l]},(function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu"})}))},r.focusValue=function(e){var t=this.props,n=t.isMulti,a=t.isSearchable,r=this.state,i=r.selectValue,o=r.focusedValue;if(n){this.setState({focusedOption:null});var l=i.indexOf(o);o||(l=-1,this.announceAriaLiveContext({event:"value"}));var s=i.length-1,c=-1;if(i.length){switch(e){case"previous":c=0===l?0:-1===l?s:l-1;break;case"next":l>-1&&l<s&&(c=l+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:i[c]})}}},r.focusOption=function(e){void 0===e&&(e="first");var t=this.props.pageSize,n=this.state,a=n.focusedOption,r=n.menuOptions.focusable;if(r.length){var i=0,o=r.indexOf(a);a||(o=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:na(r[i])}})}},r.getTheme=function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(ra):ia({},ra,this.props.theme):ra},r.getCommonProps=function(){var e=this.clearValue,t=this.getStyles,n=this.setValue,a=this.selectOption,r=this.props,i=r.classNamePrefix,o=r.isMulti,l=r.isRtl,s=r.options,c=this.state.selectValue,u=this.hasValue();return{cx:Ft.bind(null,i),clearValue:e,getStyles:t,getValue:function(){return c},hasValue:u,isMulti:o,isRtl:l,options:s,selectOption:a,setValue:n,selectProps:r,theme:this.getTheme()}},r.getNextFocusedValue=function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,a=t.selectValue.indexOf(n);if(a>-1){if(e.indexOf(n)>-1)return n;if(a<e.length)return e[a]}return null},r.getNextFocusedOption=function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]},r.hasValue=function(){return this.state.selectValue.length>0},r.hasOptions=function(){return!!this.state.menuOptions.render.length},r.countOptions=function(){return this.state.menuOptions.focusable.length},r.isClearable=function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t},r.isOptionDisabled=function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)},r.isOptionSelected=function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var a=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===a}))},r.filterOption=function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)},r.formatOptionLabel=function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:a})}return this.getOptionLabel(e)},r.formatGroupLabel=function(e){return this.props.formatGroupLabel(e)},r.startListeningComposition=function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))},r.stopListeningComposition=function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))},r.startListeningToTouch=function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))},r.stopListeningToTouch=function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))},r.constructAriaLiveMessage=function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,a=e.focusedValue,r=e.focusedOption,i=this.props,o=i.options,l=i.menuIsOpen,s=i.inputValue,c=i.screenReaderStatus;return(a?function(e){var t=e.focusedValue,n=e.getOptionLabel,a=e.selectValue;return"value "+n(t)+" focused, "+(a.indexOf(t)+1)+" of "+a.length+"."}({focusedValue:a,getOptionLabel:this.getOptionLabel,selectValue:n}):"")+" "+(r&&l?function(e){var t=e.focusedOption,n=e.getOptionLabel,a=e.options;return"option "+n(t)+" focused"+(t.isDisabled?" disabled":"")+", "+(a.indexOf(t)+1)+" of "+a.length+"."}({focusedOption:r,getOptionLabel:this.getOptionLabel,options:o}):"")+" "+function(e){var t=e.inputValue;return e.screenReaderMessage+(t?" for search term "+t:"")+"."}({inputValue:s,screenReaderMessage:c({count:this.countOptions()})})+" "+t},r.renderInput=function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,a=e.inputId,r=e.inputValue,i=e.tabIndex,o=this.components.Input,l=this.state.inputIsHidden,s=a||this.getElementId("input"),c={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!n)return We.a.createElement(Bn,ia({id:s,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Lt,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:i,value:""},c));var u=this.commonProps,p=u.cx,d=u.theme,m=u.selectProps;return We.a.createElement(o,ia({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:s,innerRef:this.getInputRef,isDisabled:t,isHidden:l,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:m,spellCheck:"false",tabIndex:i,theme:d,type:"text",value:r},c))},r.renderPlaceholderOrValue=function(){var e=this,t=this.components,n=t.MultiValue,a=t.MultiValueContainer,r=t.MultiValueLabel,i=t.MultiValueRemove,o=t.SingleValue,l=t.Placeholder,s=this.commonProps,c=this.props,u=c.controlShouldRenderValue,p=c.isDisabled,d=c.isMulti,m=c.inputValue,f=c.placeholder,b=this.state,g=b.selectValue,h=b.focusedValue,v=b.isFocused;if(!this.hasValue()||!u)return m?null:We.a.createElement(l,ia({},s,{key:"placeholder",isDisabled:p,isFocused:v}),f);if(d)return g.map((function(t,o){var l=t===h;return We.a.createElement(n,ia({},s,{components:{Container:a,Label:r,Remove:i},isFocused:l,isDisabled:p,key:e.getOptionValue(t),index:o,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var y=g[0];return We.a.createElement(o,ia({},s,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))},r.renderClearIndicator=function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||a||!this.hasValue()||r)return null;var o={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return We.a.createElement(e,ia({},t,{innerProps:o,isFocused:i}))},r.renderLoadingIndicator=function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!e||!r)return null;return We.a.createElement(e,ia({},t,{innerProps:{"aria-hidden":"true"},isDisabled:a,isFocused:i}))},r.renderIndicatorSeparator=function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var a=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused;return We.a.createElement(n,ia({},a,{isDisabled:r,isFocused:i}))},r.renderDropdownIndicator=function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,a=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return We.a.createElement(e,ia({},t,{innerProps:r,isDisabled:n,isFocused:a}))},r.renderMenu=function(){var e=this,t=this.components,n=t.Group,a=t.GroupHeading,r=t.Menu,i=t.MenuList,o=t.MenuPortal,l=t.LoadingMessage,s=t.NoOptionsMessage,c=t.Option,u=this.commonProps,p=this.state,d=p.focusedOption,m=p.menuOptions,f=this.props,b=f.captureMenuScroll,g=f.inputValue,h=f.isLoading,v=f.loadingMessage,y=f.minMenuHeight,w=f.maxMenuHeight,k=f.menuIsOpen,_=f.menuPlacement,x=f.menuPosition,S=f.menuPortalTarget,E=f.menuShouldBlockScroll,T=f.menuShouldScrollIntoView,C=f.noOptionsMessage,M=f.onMenuScrollToTop,O=f.onMenuScrollToBottom;if(!k)return null;var L,D=function(t){var n=d===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,We.a.createElement(c,ia({},u,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())L=m.render.map((function(t){if("group"===t.type){t.type;var r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,["type"]),i=t.key+"-heading";return We.a.createElement(n,ia({},u,r,{Heading:a,headingProps:{id:i},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return D(e)})))}if("option"===t.type)return D(t)}));else if(h){var F=v({inputValue:g});if(null===F)return null;L=We.a.createElement(l,u,F)}else{var P=C({inputValue:g});if(null===P)return null;L=We.a.createElement(s,u,P)}var j={minMenuHeight:y,maxMenuHeight:w,menuPlacement:_,menuPosition:x,menuShouldScrollIntoView:T},N=We.a.createElement(Gt,ia({},u,j),(function(t){var n=t.ref,a=t.placerProps,o=a.placement,l=a.maxHeight;return We.a.createElement(r,ia({},u,j,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:h,placement:o}),We.a.createElement(Zn,{isEnabled:b,onTopArrive:M,onBottomArrive:O},We.a.createElement(Kn,{isEnabled:E},We.a.createElement(i,ia({},u,{innerRef:e.getMenuListRef,isLoading:h,maxHeight:l}),L))))}));return S||"fixed"===x?We.a.createElement(o,ia({},u,{appendTo:S,controlElement:this.controlRef,menuPlacement:_,menuPosition:x}),N):N},r.renderFormField=function(){var e=this,t=this.props,n=t.delimiter,a=t.isDisabled,r=t.isMulti,i=t.name,o=this.state.selectValue;if(i&&!a){if(r){if(n){var l=o.map((function(t){return e.getOptionValue(t)})).join(n);return We.a.createElement("input",{name:i,type:"hidden",value:l})}var s=o.length>0?o.map((function(t,n){return We.a.createElement("input",{key:"i-"+n,name:i,type:"hidden",value:e.getOptionValue(t)})})):We.a.createElement("input",{name:i,type:"hidden"});return We.a.createElement("div",null,s)}var c=o[0]?this.getOptionValue(o[0]):"";return We.a.createElement("input",{name:i,type:"hidden",value:c})}},r.renderLiveRegion=function(){return this.state.isFocused?We.a.createElement(An,{"aria-live":"polite"},We.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),We.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null},r.render=function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,a=e.SelectContainer,r=e.ValueContainer,i=this.props,o=i.className,l=i.id,s=i.isDisabled,c=i.menuIsOpen,u=this.state.isFocused,p=this.commonProps=this.getCommonProps();return We.a.createElement(a,ia({},p,{className:o,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:u}),this.renderLiveRegion(),We.a.createElement(t,ia({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:u,menuIsOpen:c}),We.a.createElement(r,ia({},p,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),We.a.createElement(n,ia({},p,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())},a}(He.Component);function pa(){return(pa=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)}ua.defaultProps=sa;var da={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};He.Component;var ma,fa,ba,ga=(ma=ua,ba=fa=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).select=void 0,t.state={inputValue:void 0!==t.props.inputValue?t.props.inputValue:t.props.defaultInputValue,menuIsOpen:void 0!==t.props.menuIsOpen?t.props.menuIsOpen:t.props.defaultMenuIsOpen,value:void 0!==t.props.value?t.props.value:t.props.defaultValue},t.onChange=function(e,n){t.callProp("onChange",e,n),t.setState({value:e})},t.onInputChange=function(e,n){var a=t.callProp("onInputChange",e,n);t.setState({inputValue:void 0!==a?a:e})},t.onMenuOpen=function(){t.callProp("onMenuOpen"),t.setState({menuIsOpen:!0})},t.onMenuClose=function(){t.callProp("onMenuClose"),t.setState({menuIsOpen:!1})},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.focus=function(){this.select.focus()},r.blur=function(){this.select.blur()},r.getProp=function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]},r.callProp=function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return(t=this.props)[e].apply(t,a)}},r.render=function(){var e=this,t=this.props,n=(t.defaultInputValue,t.defaultMenuIsOpen,t.defaultValue,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return We.a.createElement(ma,pa({},n,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))},a}(He.Component),fa.defaultProps=da,ba);const{__:ha}=wp.i18n,{SelectControl:va}=wp.components,{Component:ya,Fragment:wa}=wp.element;var ka=function(e){const t=[{value:"",label:ha("Default"),weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Arial",label:"Arial",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Helvetica",label:"Helvetica",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Times New Roman",label:"Times New Roman",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Georgia",label:"Georgia",weight:["100","200","300","400","500","600","700","800","900"],google:!1}];let n="",a="";Object.keys(Re).map((r,i)=>{t.push({value:r,label:r,weight:Re[r].weight}),r===e.fontFamily.value&&(n=Re[r].weight,a=Re[r].subset)}),""===n&&(n=t[0].weight);const r={value:"default",label:ha("Default","blockspare")},i=[];n.forEach((function(e){i.push({value:e,label:e})})),i.unshift(r);const o=[];"object"==typeof a&&a.forEach((function(e){o.push({value:e,label:e})}));const l=(t,n,a)=>{let r,i;if("object"==typeof Re[a]){const o=Re[a].weight,l=Re[a].subset;"object"==typeof o&&(o.forEach((function(n){if(t.value!=n)return i=n,r=!0,void e.setAttributes({[e.fontWeight.label]:i});r=!1})),l.forEach((function(t){if(n.value!=t)return i=t,r=!0,void e.setAttributes({[e.fontSubset.label]:i});r=!1})))}},s=(t,n)=>{let a;a=""==n||"object"==typeof Re[n],e.setAttributes({[t.label]:a})};return React.createElement("div",{className:"blockspare-typography-font-family-options"},React.createElement("label",{className:"blockspare-typography-font-family-label"},ha("Font Family")),React.createElement(ga,{options:t,value:{value:e.fontFamily.value,label:e.fontFamily.value,weight:i},isMulti:!1,maxMenuHeight:300,onChange:t=>{const{loadGoogleFonts:n,fontFamily:a,fontWeight:r,fontSubset:i}=e;e.setAttributes({[a.label]:t.label}),s(n,t.label),l(r,i,t.label)},className:"react-select-container",classNamePrefix:"react-select"}),React.createElement(va,{label:ha("Font Weight"),value:e.fontWeight.value,onChange:t=>e.setAttributes({[e.fontWeight.label]:t}),options:i}),React.createElement(va,{label:ha("Font Subset"),value:e.fontSubset.value,onChange:t=>e.setAttributes({[e.fontSubset.label]:t}),options:o}))};const{__:_a}=wp.i18n,{SelectControl:xa}=wp.components,{Component:Sa,Fragment:Ea}=wp.element;var Ta=class extends Sa{render(){const{headerTagOption:e,setAttributes:t}=this.props,n=[{value:"h1",label:_a("h1","blockspare")},{value:"h2",label:_a("h2","blockspare")},{value:"h3",label:_a("h3","blockspare")},{value:"h4",label:_a("h4","blockspare")},{value:"h5",label:_a("h5","blockspare")},{value:"h6",label:_a("h6","blockspare")}];return React.createElement(Ea,null,React.createElement(xa,{label:"Title Tag",value:e,options:n.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>t({headerTagOption:e})}))}};const{__:Ca}=wp.i18n,{RangeControl:Ma,ButtonGroup:Oa,Button:La,TabPanel:Da,Dashicon:Fa}=wp.components,{Component:Pa,Fragment:ja}=wp.element;var Na=function(e){let t;return t="sizeTypes"in e?e.sizeTypes:[{key:"px",name:Ca("px")},{key:"em",name:Ca("em")}],Ca("Size Type"),Be()(t,({name:t,key:n})=>React.createElement(La,{key:n,className:"blockspare-size-btn",isSmall:!0,isPrimary:e.type.value===n,"aria-pressed":e.type.value===n,onClick:()=>e.setAttributes({[e.typeLabel]:n})},t)),React.createElement("div",{className:"blockspare-typography-range-options"},React.createElement("p",{className:"blockspare-font-size-title"},Ca("Font Size","blockspare")),React.createElement(Da,{className:"blockspare-size-type-field-tabs",activeClass:"active-tab",tabs:[{name:"desktop",title:React.createElement(Fa,{icon:"desktop"}),className:"blockspare-desktop-tab blockspare-responsive-tabs"},{name:"tablet",title:React.createElement(Fa,{icon:"tablet"}),className:"blockspare-tablet-tab blockspare-responsive-tabs"},{name:"mobile",title:React.createElement(Fa,{icon:"smartphone"}),className:"blockspare-mobile-tab blockspare-responsive-tabs"}]},t=>{let n;return n="mobile"===t.name?React.createElement(ja,null,React.createElement(Ma,{value:e.sizeMobile.value,onChange:t=>e.setAttributes({[e.sizeMobileLabel]:t}),min:0,max:100,step:e.steps})):"tablet"===t.name?React.createElement(ja,null,React.createElement(Ma,{value:e.sizeTablet.value,onChange:t=>e.setAttributes({[e.sizeTabletLabel]:t}),min:0,max:100,step:e.steps})):React.createElement(ja,null,React.createElement(Ma,{value:e.size.value,onChange:t=>e.setAttributes({[e.sizeLabel]:t}),min:0,max:100,step:e.steps})),React.createElement("div",null,n)}))};n(586);function za(){return(za=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)}const{__:Aa}=wp.i18n,{Button:Ya,Dashicon:Ba,SelectControl:Ia}=wp.components,{Component:Ra,Fragment:Ha}=wp.element;var Wa=class extends Ra{constructor(){super(...arguments),this.onAdvancedControlClick=this.onAdvancedControlClick.bind(this)}onAdvancedControlClick(){let e=!0,t=Aa("Hide Advanced");null!==this.state&&!0===this.state.showAdvancedControls&&(e=!1,t=Aa("Advanced")),this.setState({showAdvancedControls:e,showAdvancedControlsLabel:t})}render(){let e,t,n,a,r,i,o;const{disableTag:l=!0,disableFontFamily:s,disableFontSize:c,disableLineHeight:u,disableAdvancedOptions:p=!1}=this.props;return!0!==s&&(a=React.createElement(ka,this.props)),1!=l&&(e=React.createElement(Ta,this.props)),!0!==u&&(n=React.createElement(Na,za({type:this.props.lineHeightType,typeLabel:this.props.lineHeightType.label,sizeMobile:this.props.lineHeightMobile,sizeMobileLabel:this.props.lineHeightMobile.label,sizeTablet:this.props.lineHeightTablet,sizeTabletLabel:this.props.lineHeightTablet.label,size:this.props.lineHeight,sizeLabel:this.props.lineHeight.label,sizeMobileText:Aa("Line Height"),sizeTabletText:Aa("Line Height"),sizeText:Aa("Line Height"),steps:1},this.props))),!0!==c&&(t=React.createElement(Na,za({type:this.props.fontSizeType,typeLabel:this.props.fontSizeType.label,sizeMobile:this.props.fontSizeMobile,sizeMobileLabel:this.props.fontSizeMobile.label,sizeTablet:this.props.fontSizeTablet,sizeTabletLabel:this.props.fontSizeTablet.label,size:this.props.fontSize,sizeLabel:this.props.fontSize.label,sizeMobileText:this.props.fontSizeLabel?this.props.fontSizeLabel:Aa("Font Size"),sizeTabletText:this.props.fontSizeLabel?this.props.fontSizeLabel:Aa("Font Size"),sizeText:this.props.fontSizeLabel?this.props.fontSizeLabel:Aa("Font Size"),steps:1},this.props))),!0!==s&&!0!==c?r=React.createElement(Ya,{className:"blockspare-size-btn blockspare-typography-control-btn",isSmall:!0,"aria-pressed":null!==this.state,onClick:this.onAdvancedControlClick},React.createElement(Ba,{icon:"admin-generic"})):o=React.createElement(Ha,null,t,a,n),null!==this.state&&!0===this.state.showAdvancedControls&&(o=React.createElement("div",{className:"blockspare-typography-advanced"},t,a,n)),!0!==s&&!0!==c&&(i=React.createElement("div",{className:"blockspare-typography-option-actions"},React.createElement("span",null,this.props.label),r,void 0)),React.createElement("div",{className:"blockspare-typography-options"},!p&&React.createElement(Ha,null,e,i,o))}};const Ua=wp.i18n.__,Ga=wp.element.Component,Va=wp.blockEditor.InspectorControls,qa=wp.components,$a=qa.PanelBody,Ja=qa.ToggleControl;class Xa extends Ga{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonBackgroundColor,a=t.buttonTextColor,r=t.buttonSize,i=t.buttonShape,o=t.buttonStyle,l=t.buttonTarget,s=t.borderColor,c=t.borderBtnTextColor,u=t.enableGradient,p=t.backgroundColor1,d=t.backgroundColor2,m=t.gradientAngle,f=t.colorLocation1,b=t.colorLocation2,g=t.btnFontWeight,h=t.btnBorderWidth,v=t.buttonHoverEffect,y=(t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft,t.marginTop),w=t.marginBottom,k=t.buttonFontSize,_=t.buttonFontFamily,S=t.buttonFontWeight,E=t.buttonFontSubset,T=t.buttonFontSizeType,C=t.buttonFontSizeMobile,M=t.buttonFontSizeTablet,O=t.buttonLoadGoogleFonts,L=e.attributes,D=e.setAttributes;return wp.element.createElement(Va,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"button"}),wp.element.createElement($a,{title:Ua("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(Se,{enableButtonTarget:!1,buttonTarget:l,onChangeButtonTarget:e=>D({buttonTarget:!l}),enableGradient:u,onChangeGradient:e=>D({enableGradient:e}),enableButtonSize:!0,buttonSize:r,onChangeButtonSize:e=>D({buttonSize:e}),enableButtonShape:!0,buttonShape:i,onChangeButtonShape:e=>D({buttonShape:e}),buttonBackgroundColor:n,onChangeButtonColor:e=>D({buttonBackgroundColor:e}),buttonTextColor:a,onChangeButtonTextColor:e=>D({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:o,onChangeBorderStyle:e=>D({buttonStyle:e}),buttonHoverEffect:v,onchangeButtonHoverEffect:e=>D({buttonHoverEffect:e}),borderColor:s,onchangeBorderColor:e=>D({borderColor:e}),borderBtnTextColor:c,onChangeBorderBtnTextColor:e=>D({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:h,onchangebtnBorderWidth:e=>D({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:g,onchangeBtnFontWeight:e=>D({btnFontWeight:e})}),wp.element.createElement($a,{title:Ua("Typography Settings","blockspare")},wp.element.createElement(Wa,{label:Ua("Button Fonts Settings"),attributes:L,setAttributes:D,loadGoogleFonts:{value:O,label:Ua("buttonLoadGoogleFonts")},fontFamily:{value:_,label:Ua("buttonFontFamily")},fontWeight:{value:S,label:Ua("buttonFontWeight")},fontSubset:{value:E,label:Ua("buttonFontSubset")},fontSizeType:{value:T,label:Ua("buttonFontSizeType")},fontSize:{value:k,label:Ua("buttonFontSize")},fontSizeMobile:{value:C,label:Ua("buttonFontSizeMobile")},fontSizeTablet:{value:M,label:Ua("buttonFontSizeTablet")},disableLineHeight:!0})),"none"===o&&wp.element.createElement(Ja,{label:Ua("Enable Gradient","blockspare"),checked:u,onChange:()=>this.props.setAttributes({enableGradient:!u})}),u&&"none"===o&&wp.element.createElement(Oe,{backgroundColor1:p,onChangeBackgroundColor1:e=>D({backgroundColor1:e}),backgroundColor2:d,onChangeBackgroundColor2:e=>D({backgroundColor2:e}),gradientAngle:m,onChangeGradientAngle:e=>D({gradientAngle:e}),colorLocation1:f,onChangeColorLocation1:e=>D({colorLocation1:e}),colorLocation2:b,onChangeColorLocation2:e=>D({colorLocation2:e})})),wp.element.createElement($a,{title:Ua("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement($a,{title:Ua("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:y,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>D({marginTop:e}),marginEnableBottom:!0,marginBottom:w,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>D({marginBottom:e})})))))}}var Ka=n(9),Qa=n.n(Ka),Za=n(304),er=n.n(Za);wp.i18n.sprintf;const tr=(e,t=!1)=>{const n=e.replace(/\/\*.*?\*\//g,"").replace(/\n\s*\n/g,"").replace(/[\n\r \t]/g," ").replace(/ +/g," ").replace(/ ?([,:;{}]) ?/g,"$1").replace(/[^\}\{]+\{\}/g,"").replace(/[^\}\{]+\{\}/g,"").replace(/;}/g,"}").trim();return t?n.replace(/\s?\!important/g,"").replace(/([;\}])/g," !important$1").replace(/\} !important\}/g,"}}").trim():n},nr=(e,t="",n="",a="")=>e.trim().replace(/[\n\s\t]+/g," ").split(",").map(e=>{let r="";return r=n&&t?n&&!t?`.${n} ${e.trim()}`:`.${n} ${e.trim()}`.replace(new RegExp(`(.${n}) (.${t}(#|:|\\[|\\.|\\s|$))`,"g"),"$1$2"):e,a?`${a} ${r}`:r}).join(", ");function ar(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 rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ir=(e,t="",n="",a=!1)=>Object.keys(e).reduce((r,i)=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ar(Object(n),!0).forEach((function(t){rr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r,{[nr(i,t,n,a?"#editor":"")]:e[i]}),{}),or=e=>tr(Object.keys(e).reduce((t,n)=>{const a=Object.keys(e[n]).reduce((t,a)=>{const r=e[n][a];return void 0===r?t:`${t}\n\t${a.replace(/^(--?)?(.*?$)/,(e,t,n)=>`${t||""}${er()(n)}`)}: ${r};`},"");return`${t}\n\n${n} {${a}\n}`},"").trim());var lr=e=>{const t=e.style,n=void 0===t?{}:t,a=e.editorMode,r=void 0!==a&&a,i=e.blockUniqueClassName,o=void 0===i?"":i,l=e.blockMainClassName,s=void 0===l?"":l,c=e.breakTablet,u=void 0===c?1025:c,p=e.breakMobile,d=((e,t="",n="",a=1025,r=768,i=!1)=>{const o=[],l=Qa()(e,["tablet","mobile","editor"]);if(Object.keys(l).length){const e=ir(l,t,n,i);o.push(or(e))}if(void 0!==e.tablet){const r=ir(e.tablet,t,n,i),l=or(r);l&&o.push(`\n@media screen and (max-width: ${a}px) {\n${l} }`)}if(void 0!==e.mobile){const a=ir(e.mobile,t,n,i),l=or(a);l&&o.push(`\n@media screen and (max-width: ${r}px) {\n${l} }`)}if(i&&void 0!==e.editor){const a=ir(e.editor,t,n,i);o.push(or(a))}return tr(o.join(""))})(n,s,o,u,void 0===p?768:p,r);return d?wp.element.createElement("style",null,d):null},sr=n(5),cr=n.n(sr);function ur(){return(ur=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 pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const dr=wp.hooks.applyFilters,mr=wp.element.Component,fr=wp.compose.createHigherOrderComponent;var br=(e,t={})=>fr(n=>{var a,r;return r=a=class extends mr{render(){const a=o()([this.props.className,this.props.attributes.uniqueClass]),r=this.props.blockName,i=dr(`blockspare.${r}.styles`,e(this.props),this.props),l=wp.element.createElement(lr,{blockUniqueClassName:this.props.attributes.uniqueClass,blockMainClassName:this.props.className,style:i,editorMode:t.editorMode||!1});return wp.element.createElement(n,ur({},this.props,{className:a,styles:l}))}},pr(a,"propTypes",{attributes:cr.a.shape({uniqueClass:cr.a.string.isRequired}),blockName:cr.a.string.isRequired,mainClassName:cr.a.string.isRequired}),pr(a,"defaultProps",{attributes:{},blockName:"",className:"",mainClassName:""}),r},"withBlockStyles");wp.hooks.addFilter;const gr=wp.element.Component,hr=wp.compose.createHigherOrderComponent;var vr=hr(e=>{var t,n,a,r,i;return n=t=class extends gr{componentDidMount(){const e=this.props,t=e.attributes,n=e.setAttributes,a=e.clientId,r="blockspare-"+a.substring(0,15);void 0!==t.uniqueClass&&t.uniqueClass===r||n({uniqueClass:r})}render(){return wp.element.createElement(e,this.props)}},i={attributes:{},clientId:"",setAttributes:()=>{}},(r="defaultProps")in(a=t)?Object.defineProperty(a,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[r]=i,n},"withUniqueClass"),yr=n(1),wr=n.n(yr);var kr=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.marginTop,r=t.marginBottom,i=t.buttonStyle,o=t.enableGradient,l=t.backgroundColor1,s=t.backgroundColor2,c=t.gradientAngle,u=t.colorLocation1,p=t.colorLocation2,d=(t.btnFontWeight,t.btnBorderWidth),m=t.borderColor,f=t.buttonBackgroundColor,b=t.borderBtnTextColor,g=t.buttonTextColor,h=t.buttonFontSize,v=t.buttonFontFamily,y=t.buttonFontWeight,w=t.buttonFontSizeType,k=t.buttonFontSizeMobile,_=t.buttonFontSizeTablet,x=[];if(x.push({".blockspare-block-button":{textAlign:n,marginTop:a?a+"px":"0px",marginBottom:r?r+"px":"0px"}}),"none"===i)if(1==o){const e=c+"deg",t=u+"%",n=p+"%";x.push({".blockspare-block-button span":{color:g||"#fff",borderWidth:d+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${l||"#3B1A5B"} ${t},${s||"#8B249C"} ${n})`}})}else x.push({".blockspare-block-button span":{color:g||"#fff",borderWidth:d+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:f||"#3c1a5b"}});else x.push({".blockspare-block-button span":{color:b||"#404040"},".blockspare-button":{borderColor:m||"#3c1a5b",borderStyle:i,borderWidth:d+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return x.push({".blockspare-block-button span":{fontSize:h+w,fontFamily:v,fontWeight:y},tablet:{".blockspare-block-button span":{fontSize:_+w}},mobile:{".blockspare-block-button span":{fontSize:k+w}}}),wr.a.all(x)},_r=n(305),xr=n.n(_r);function Sr(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 Er(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}if(void 0===Tr)var Tr=[];const Cr=wp.element.Component,Mr="inactive",Or="active",Lr="loading";class Dr extends Cr{constructor(e){super(e),this.state={status:void 0},this.handleLoading=()=>{this.setState({status:Lr})},this.addFont=e=>{Tr.includes(e)||Tr.push(e)},this.handleActive=()=>{this.setState({status:Or})},this.handleInactive=()=>{this.setState({status:Mr})},this.loadFonts=()=>{Tr.includes(this.props.config.google.families[0])||(xr.a.load(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sr(Object(n),!0).forEach((function(t){Er(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props.config,{loading:this.handleLoading,active:this.handleActive,inactive:this.handleInactive})),this.addFont(this.props.config.google.families[0]))}}componentDidMount(){this.loadFonts()}componentDidUpdate(e,t){const n=this.props,a=n.onStatus,r=n.config;t.status!==this.state.status&&a(this.state.status),e.config!==r&&this.loadFonts()}render(){return this.props.children||null}}Dr.propTypes={config:cr.a.object.isRequired,children:cr.a.element,onStatus:cr.a.func.isRequired},Dr.defaultProps={onStatus:()=>{}};var Fr=Dr;const Pr=wp.element,jr=Pr.Fragment,Nr=Pr.Component,zr=wp.compose.compose,Ar=wp.i18n.__,Yr=wp.blockEditor,Br=Yr.RichText,Ir=Yr.AlignmentToolbar,Rr=Yr.BlockControls,Hr=Yr.URLInput,Wr=wp.components,Ur=Wr.IconButton,Gr=Wr.Dashicon;var Vr=zr(vr,br(kr))(class extends Nr{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.sectionAlignment,i=t.buttonSize,l=t.buttonShape,s=t.buttonHoverEffect,c=t.buttonLoadGoogleFonts,u=t.buttonFontFamily,p=t.buttonFontWeight,d=e.className,m=e.isSelected,f=e.setAttributes;e.attributes;let b;if(1==c){const e={google:{families:[u+(p?":"+p:"")]}};b=wp.element.createElement(Fr,{config:e})}const g=o()([d,"blockspare-block-button-wrap"]);return wp.element.createElement(jr,null,wp.element.createElement(Rr,{key:"controls"},wp.element.createElement(Ir,{value:r,onChange:e=>{f({sectionAlignment:e})}})),wp.element.createElement(Xa,this.props),wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement("a",{href:"#"},wp.element.createElement(Br,{tagName:"span",placeholder:Ar("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:""+n,allowedFormats:[],className:o()("blockspare-button",l,i,s),onChange:e=>f({buttonText:e})}))),m&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+r,onSubmit:e=>e.preventDefault(),style:{textAlign:r}},wp.element.createElement(Gr,{icon:"admin-links"}),wp.element.createElement(Hr,{className:"button-url",value:a,onChange:e=>f({buttonUrl:e})}),wp.element.createElement(Ur,{icon:"editor-break",label:Ar("Buy","blockspare"),type:"submit"}))),b)}});wp.i18n.__;const qr=wp.element.Component,$r=wp.compose.compose,Jr=wp.blockEditor.RichText;var Xr=$r(vr,br(kr))(class extends qr{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonShape,i=t.buttonSize,l=t.buttonTarget,s=t.buttonHoverEffect,c=e.className,u=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",r,i,s)},wp.element.createElement(Jr.Content,{tagName:"span",value:n}))))}});var Kr={sectionAlignment:{type:"string",default:"center"},uniqueClass:{type:"string",default:""},buttonText:{type:"string",default:"Get Started"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonBackgroundColor:{type:"string",default:"#3c1a5b"},buttonTextColor:{type:"string",default:"#fff"},buttonSize:{type:"string",default:"blockspare-button-size-small"},buttonShape:{type:"string",default:"blockspare-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},buttonStyle:{type:"string",default:"none"},borderColor:{type:"string",default:"#3c1a5b"},borderBtnTextColor:{type:"string",default:"#404040"},enableGradient:{type:"boolean",default:!1},backgroundColor1:{type:"string",default:"#3B1A5B"},backgroundColor2:{type:"string",default:"#8B249C"},gradientAngle:{type:"number",default:-90},colorLocation1:{type:"number",default:30},colorLocation2:{type:"number",default:70},btnBorderWidth:{type:"number",default:1},btnFontWeight:{type:"string",default:"normal"},buttonHoverEffect:{type:"string",default:""},buttonFontSize:{type:"number",default:16},buttonFontFamily:{type:"string",default:"Default"},buttonFontWeight:{type:"string"},buttonFontSubset:{type:"string"},buttonFontSizeType:{type:"string",default:"px"},buttonFontSizeMobile:{type:"number"},buttonFontSizeTablet:{type:"number"},buttonLoadGoogleFonts:{type:"boolean",default:!1}};var Qr=e=>{let t="";if("none"===e.buttonStyle)if(1==e.enableGradient){const n=e.gradientAngle+"deg",a=e.colorLocation1+"%",r=e.colorLocation2+"%";t={backgroundImage:`linear-gradient(${n},${e.backgroundColor1?e.backgroundColor1:"#3B1A5B"} ${a},${e.backgroundColor2?e.backgroundColor2:"#8B249C"} ${r})`,color:e.buttonTextColor?e.buttonTextColor:"#fff",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"}}else t={color:e.buttonTextColor?e.buttonTextColor:"#fff",backgroundColor:e.buttonBackgroundColor?e.buttonBackgroundColor:"#3c1a5b",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};else t={color:e.borderBtnTextColor?e.borderBtnTextColor:"#404040",backgroundColor:"transparent",borderColor:e.borderColor?e.borderColor:"#3c1a5b",borderStyle:e.buttonStyle,fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};return t};var Zr=e=>{let t="";if("none"===e.buttonStyle)if(1==e.enableGradient){const n=e.gradientAngle+"deg",a=e.colorLocation1+"%",r=e.colorLocation2+"%";t={backgroundImage:`linear-gradient(${n},${e.backgroundColor1?e.backgroundColor1:"#3B1A5B"} ${a},${e.backgroundColor2?e.backgroundColor2:"#8B249C"} ${r})`,color:e.buttonTextColor?e.buttonTextColor+"!important":"#fff!important",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"}}else t={color:e.buttonTextColor?e.buttonTextColor+"!important":"#fff!important",backgroundColor:e.buttonBackgroundColor?e.buttonBackgroundColor:"#3c1a5b",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};else t={color:e.borderBtnTextColor?e.borderBtnTextColor+"!important":"#404040!important",backgroundColor:"transparent",borderColor:e.borderColor?e.borderColor:"#3c1a5b",borderStyle:e.buttonStyle,fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};return t};function ei(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 ti(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ei(Object(n),!0).forEach((function(t){ni(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ei(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ni(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ai=e=>{const t=e.attributes.sectionAlignment,n=[];return n.push({".blockspare-block-button":{textAlign:t},".blockspare-button":ti({},Zr(e.attributes))}),wr.a.all(n)};wp.i18n.__;const ri=wp.element.Component,ii=wp.compose.compose,oi=wp.blockEditor.RichText;var li=ii(vr,br(ai))(class extends ri{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonShape,i=t.buttonSize,l=t.buttonTarget,s=t.buttonHoverEffect,c=e.className,u=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",r,i,s)},wp.element.createElement(oi.Content,{value:n}))))}});var si=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.marginTop,r=t.marginBottom,i=t.buttonStyle,o=t.enableGradient,l=t.backgroundColor1,s=t.backgroundColor2,c=t.gradientAngle,u=t.colorLocation1,p=t.colorLocation2,d=t.btnFontWeight,m=t.btnBorderWidth,f=t.borderColor,b=t.buttonBackgroundColor,g=t.borderBtnTextColor,h=t.buttonTextColor,v=[];if(v.push({".blockspare-block-button":{textAlign:n,marginTop:a?a+"px":"0px",marginBottom:r?r+"px":"0px"}}),"none"===i)if(1==o){const e=c+"deg",t=u+"%",n=p+"%";v.push({".blockspare-block-button span":{color:h||"#fff",fontWeight:d,borderWidth:m+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${l||"#3B1A5B"} ${t},${s||"#8B249C"} ${n})`}})}else v.push({".blockspare-block-button span":{color:h||"#fff",fontWeight:d,borderWidth:m+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:b||"#3c1a5b"}});else v.push({".blockspare-block-button span":{color:g||"#404040",borderColor:f||"#3c1a5b",borderStyle:i,fontWeight:d,borderWidth:m+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return wr.a.all(v)};wp.i18n.__;const ci=wp.element.Component,ui=wp.compose.compose,pi=wp.blockEditor.RichText;var di=ui(vr,br(si))(class extends ci{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonShape,i=t.buttonSize,l=t.buttonTarget,s=t.buttonHoverEffect,c=e.className,u=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",r,i,s)},wp.element.createElement(pi.Content,{tagName:"span",value:n}))))}});function mi(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 fi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mi(Object(n),!0).forEach((function(t){bi(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const gi=wp.blockEditor,hi=gi.RichText;gi.AlignmentToolbar,gi.BlockControls,gi.URLInput;var vi=[{attributes:fi({marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}},Kr),save:function(e){const t=e.attributes,n=(t.sectionAlignment,t.buttonText),a=t.buttonUrl,r=t.buttonShape,i=t.buttonSize,l=t.buttonTarget,s=t.buttonHoverEffect,c=fi({},Qr(e.attributes));return wp.element.createElement("div",{style:{textAlign:e.attributes.sectionAlignment},className:o()(e.attributes.className,"blockspare-block-button")},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",r,i,s),style:c},wp.element.createElement(hi.Content,{value:n})))}},{attributes:fi({},Kr,{marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}}),save:e=>wp.element.createElement(li,e)},{attributes:fi({},Kr,{marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}}),save:e=>wp.element.createElement(di,e)}];function yi(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 wi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ki=ge.name,_i=ge.category,xi=wp.i18n.__;(0,wp.blocks.registerBlockType)(ki,{title:xi("BS Button","blockspare"),description:xi("Prompt visitors to take action with multiple buttons, side by side.","blockspare"),category:_i,icon:r.button,attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yi(Object(n),!0).forEach((function(t){wi(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Kr,{},ge.attributes),keywords:[xi("block","blockspare"),xi("button","blockspare"),xi("cta","blockspare"),xi("call to action","blockspare")],example:{attributes:{sectionAlignment:"center",buttonText:xi("Get Started","blockspare"),buttonBackgroundColor:"#3c1a5b",buttonTextColor:"#fff",buttonSize:"blockspare-button-size-small",buttonShape:"blockspare-button-shape-rounded"}},edit:Vr,save:Xr,deprecated:vi});n(587);var Si=n(80);var Ei={className:{type:"string"},uniqueClass:{type:"string",default:""},align:{type:"string",default:"center"},sectionAlignment:{type:"string",default:"center"},headerTitle:{type:"string",default:"Enter Title"},titleFontSize:{type:"number",default:32},subtitleFontSize:{type:"number",default:18},headerSubTitle:{type:"string",default:"Enter Subtitle"},headerboxColor:{type:"string",default:"transparent"},headertitleColor:{type:"string",default:"#404040"},headersubtitleColor:{type:"string",default:"#6d6d6d"},headertitleDashColor:{type:"string",default:"#6d6d6d"},headerpaddingTop:{type:"number",default:10},headerpaddingRight:{type:"number",default:20},headerpaddingBottom:{type:"number",default:10},headerpaddingLeft:{type:"number",default:20},headermarginTop:{type:"number",default:30},headermarginBottom:{type:"number",default:30},headerlayoutOption:{type:"string",default:"blockspare-style1"},headerTagOption:{type:"string",default:"h2"},titlePaddingTop:{type:"number",default:5},titlePaddingBottom:{type:"number",default:5},subtitlePaddingTop:{type:"number",default:5},subtitlePaddingBottom:{type:"number",default:5},dashColor:{type:"string",default:"#8b249c"},titleFontFamily:{type:"string",default:"Default"},titleFontWeight:{type:"string"},titleFontSubset:{type:"string"},titleFontSizeType:{type:"string",default:"px"},titleFontSizeMobile:{type:"number"},titleFontSizeTablet:{type:"number"},titleLoadGoogleFonts:{type:"boolean",default:!1},subTitleFontSize:{type:"number",default:18},subTitleFontFamily:{type:"string",default:"Default"},subTitleFontWeight:{type:"string"},subTitleFontSubset:{type:"string"},subTitleFontSizeType:{type:"string",default:"px"},subTitleFontSizeMobile:{type:"number"},subTitleFontSizeTablet:{type:"number"},subTitleLoadGoogleFonts:{type:"boolean",default:!1}};var Ti={enableBoxShadow:{type:"boolean",default:!1},xOffset:{type:"number",default:0},yOffset:{type:"number",default:6},blur:{type:"number",default:12},spread:{type:"number",default:-10},shadowColor:{type:"string",default:"#000"}};var Ci={paddingTop:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingLeft:{type:"number",default:20},marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}};const Mi=wp.i18n.__,Oi=wp.element.Fragment,Li=wp.components,Di=(Li.ToggleControl,Li.PanelBody),Fi=(Li.SelectControl,Li.RangeControl),Pi=wp.blockEditor.PanelColorSettings;function ji(e){const t=e.enableBlockGaps,n=(e.titleFontSize,e.onChangetitleFontSize,e.subtitleFontSize,e.onChangesubtitleFontSize,e.headerTagOption,e.onChangeHeaderTag,e.enableheaderboxColor,e.headerboxColor,e.onChangeboxcolor,e.headerlayoutOption),a=e.dashColor,r=e.onChangeDashColor,i=void 0===r?()=>{}:r,o=e.headertitleColor,l=e.onChangetitlecolor,s=void 0===l?()=>{}:l,c=e.titlePaddingTop,u=e.onChangetitlePaddingTop,p=void 0===u?()=>{}:u,d=e.titlePaddingBottom,m=e.onChangetitlePaddingBottom,f=void 0===m?()=>{}:m,b=e.headersubtitleColor,g=e.onChangesubtitlecolor,h=void 0===g?()=>{}:g,v=e.subtitlePaddingTop,y=e.onChangesubtitlePaddingTop,w=void 0===y?()=>{}:y,k=e.subtitlePaddingBottom,_=e.onChangesubtitlePaddingBottom,x=void 0===_?()=>{}:_,S=e.headerpaddingTop,E=e.onChangeheaderpaddingTop,T=void 0===E?()=>{}:E,C=e.headerpaddingRight,M=e.onChangeheaderpaddingRight,O=void 0===M?()=>{}:M,L=e.headerpaddingBottom,D=e.onChangeheaderpaddingBottom,F=void 0===D?()=>{}:D,P=e.headerpaddingLeft,j=e.onChangeheaderpaddingLeft,N=void 0===j?()=>{}:j,z=e.headermarginTop,A=e.onChangeheadermarginTop,Y=void 0===A?()=>{}:A,B=e.headermarginBottom,I=e.onChangeheadermarginBottom,R=void 0===I?()=>{}:I;Mi("h1","blockspare"),Mi("h2","blockspare"),Mi("h3","blockspare"),Mi("h4","blockspare"),Mi("h5","blockspare"),Mi("h6","blockspare");return wp.element.createElement(Oi,null,wp.element.createElement(Di,{title:Mi("Color Settings","blockspare"),initialOpen:!1},wp.element.createElement(Pi,{title:Mi("Title Settings","blockspare"),initialOpen:!0,colorSettings:[{value:o,onChange:s,label:Mi("Title Color","blockspare")},{value:b,onChange:h,label:Mi("Subtitle Color","blockspare")}]}),"blockspare-style2"===n&&wp.element.createElement(Pi,{title:Mi("Dash color","blockspare"),initialOpen:!0,colorSettings:[{value:a,onChange:i,label:Mi("Dash Color","blockspare")}]})),wp.element.createElement(Di,{title:Mi("Content Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(Di,{title:Mi("Title Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Fi,{label:Mi("Padding Top","blockspare"),value:c,onChange:p,min:0,max:100}),wp.element.createElement(Fi,{label:Mi("Padding Bottom","blockspare"),value:d,onChange:f,min:0,max:100})),wp.element.createElement(Di,{title:Mi("Subtitle Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Fi,{label:Mi("Padding Top","blockspare"),value:v,onChange:w,min:0,max:100}),wp.element.createElement(Fi,{label:Mi("Padding Bottom","blockspare"),value:k,onChange:x,min:0,max:100}))),1==t&&wp.element.createElement(Di,{title:Mi("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Di,{title:Mi("Padding Settings","blockspare"),initialOpen:!1},wp.element.createElement(Fi,{label:Mi("Header Padding Top","blockspare"),value:S,onChange:T,min:0,max:100}),wp.element.createElement(Fi,{label:Mi("Header Padding Left","blockspare"),value:P,onChange:N,min:0,max:100}),wp.element.createElement(Fi,{label:Mi("Header Padding Bottom","blockspare"),value:L,onChange:F,min:0,max:100}),wp.element.createElement(Fi,{label:Mi("Header Padding Right","blockspare"),value:C,onChange:O,min:0,max:100})),wp.element.createElement(Di,{title:Mi("Margin Settings","blockspare"),initialOpen:!1},wp.element.createElement(Fi,{label:Mi("Margin Top","blockspare"),value:z,onChange:Y,min:0,max:100}),wp.element.createElement(Fi,{label:Mi("Margin Bottom","blockspare"),value:B,onChange:R,min:0,max:100}))))}var Ni=n(13),zi=n.n(Ni);const Ai={ABeeZee:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Abel:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Abhaya Libre":{v:["regular","500","600","700","800"],subset:["latin-ext","sinhala","latin"],weight:["400","500","600","700","800"],i:["normal"]},"Abril Fatface":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aclonica:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Acme:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Actor:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Adamina:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Advent Pro":{v:["100","200","300","regular","500","600","700"],subset:["latin-ext","greek","latin"],weight:["100","200","300","400","500","600","700"],i:["normal"]},"Aguafina Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Akronim:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aladin:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aldrich:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Alef:{v:["regular","700"],subset:["hebrew","latin"],weight:["400","700"],i:["normal"]},Alegreya:{v:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","700","800","900"],i:["normal","italic"]},"Alegreya SC":{v:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","700","800","900"],i:["normal","italic"]},"Alegreya Sans":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal","italic"]},"Alegreya Sans SC":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal","italic"]},"Alex Brush":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Alfa Slab One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Alice:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin"],weight:["400"],i:["normal"]},Alike:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Alike Angular":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Allan:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Allerta:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Allerta Stencil":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Allura:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Almendra:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Almendra Display":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Almendra SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Amarante:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Amaranth:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Amatic SC":{v:["regular","700"],subset:["cyrillic","latin-ext","hebrew","vietnamese","latin"],weight:["400","700"],i:["normal"]},Amethysta:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Amiko:{v:["regular","600","700"],subset:["latin-ext","devanagari","latin"],weight:["400","600","700"],i:["normal"]},Amiri:{v:["regular","italic","700","700italic"],subset:["latin-ext","arabic","latin"],weight:["400","700"],i:["normal","italic"]},Amita:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Anaheim:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Andada:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Andika:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Angkor:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Annie Use Your Telescope":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Anonymous Pro":{v:["regular","italic","700","700italic"],subset:["cyrillic","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Antic:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Antic Didone":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Antic Slab":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Anton:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Arapey:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Arbutus:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Arbutus Slab":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Architects Daughter":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Archivo:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Archivo Black":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Archivo Narrow":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Aref Ruqaa":{v:["regular","700"],subset:["arabic","latin"],weight:["400","700"],i:["normal"]},"Arima Madurai":{v:["100","200","300","regular","500","700","800","900"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["100","200","300","400","500","700","800","900"],i:["normal"]},Arimo:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Arizonia:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Armata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Arsenal:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Artifika:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Arvo:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Arya:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Asap:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Asap Condensed":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Asar:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Asset:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Assistant:{v:["200","300","regular","600","700","800"],subset:["hebrew","latin"],weight:["200","300","400","600","700","800"],i:["normal"]},Astloch:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Asul:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Athiti:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Atma:{v:["300","regular","500","600","700"],subset:["latin-ext","bengali","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Atomic Age":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Aubrey:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Audiowide:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Autour One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Average:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Average Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Averia Gruesa Libre":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Averia Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Averia Sans Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Averia Serif Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Bad Script":{v:["regular"],subset:["cyrillic","latin"],weight:["400"],i:["normal"]},Bahiana:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Baloo:{v:["regular"],subset:["latin-ext","devanagari","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhai":{v:["regular"],subset:["latin-ext","gujarati","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhaijaan":{v:["regular"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhaina":{v:["regular"],subset:["latin-ext","oriya","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Chettan":{v:["regular"],subset:["malayalam","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Da":{v:["regular"],subset:["latin-ext","vietnamese","bengali","latin"],weight:["400"],i:["normal"]},"Baloo Paaji":{v:["regular"],subset:["latin-ext","gurmukhi","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Tamma":{v:["regular"],subset:["latin-ext","vietnamese","latin","kannada"],weight:["400"],i:["normal"]},"Baloo Tammudu":{v:["regular"],subset:["latin-ext","telugu","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Thambi":{v:["regular"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["400"],i:["normal"]},Balthazar:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bangers:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Barlow:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Barlow Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Barlow Semi Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Barrio:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Basic:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Battambang:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},Baumans:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bayon:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Belgrano:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bellefair:{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},Belleza:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},BenchNine:{v:["300","regular","700"],subset:["latin-ext","latin"],weight:["300","400","700"],i:["normal"]},Bentham:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Berkshire Swash":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Bevan:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bigelow Rules":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bigshot One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bilbo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bilbo Swash Caps":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},BioRhyme:{v:["200","300","regular","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal"]},"BioRhyme Expanded":{v:["200","300","regular","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal"]},Biryani:{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},Bitter:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Black And White Picture":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Black Han Sans":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Black Ops One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Bokor:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Bonbon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Boogaloo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bowlby One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bowlby One SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Brawler:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bree Serif":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bubblegum Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bubbler One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Buda:{v:["300"],subset:["latin"],weight:["300"],i:[]},Buenard:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Bungee:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Hairline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Inline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Outline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Shade":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Butcherman:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Butterfly Kids":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cabin:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Cabin Condensed":{v:["regular","500","600","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal"]},"Cabin Sketch":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Caesar Dressing":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cagliostro:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cairo:{v:["200","300","regular","600","700","900"],subset:["latin-ext","arabic","latin"],weight:["200","300","400","600","700","900"],i:["normal"]},Calligraffitti:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cambay:{v:["regular","italic","700","700italic"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal","italic"]},Cambo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Candal:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cantarell:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Cantata One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cantora One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Capriola:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cardo:{v:["regular","italic","700"],subset:["greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Carme:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carrois Gothic":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carrois Gothic SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carter One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Catamaran:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","tamil","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Caudex:{v:["regular","italic","700","700italic"],subset:["greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Caveat:{v:["regular","700"],subset:["cyrillic","latin-ext","latin"],weight:["400","700"],i:["normal"]},"Caveat Brush":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cedarville Cursive":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Ceviche One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Changa:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","arabic","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Changa One":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Chango:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chathura:{v:["100","300","regular","700","800"],subset:["telugu","latin"],weight:["100","300","400","700","800"],i:["normal"]},"Chau Philomene One":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Chela One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Chelsea Market":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chenla:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Cherry Cream Soda":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Cherry Swash":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Chewy:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Chicle:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chivo:{v:["300","300italic","regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["300","400","700","900"],i:["normal","italic"]},Chonburi:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},Cinzel:{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},"Cinzel Decorative":{v:["regular","700","900"],subset:["latin"],weight:["400","700","900"],i:["normal"]},"Clicker Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Coda:{v:["regular","800"],subset:["latin-ext","latin"],weight:["400","800"],i:["normal"]},"Coda Caption":{v:["800"],subset:["latin-ext","latin"],weight:["800"],i:[]},Codystar:{v:["300","regular"],subset:["latin-ext","latin"],weight:["300","400"],i:["normal"]},Coiny:{v:["regular"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["400"],i:["normal"]},Combo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Comfortaa:{v:["300","regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","700"],i:["normal"]},"Coming Soon":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Concert One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Condiment:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Content:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},"Contrail One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Convergence:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cookie:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Copse:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Corben:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Cormorant:{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant Garamond":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant Infant":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant SC":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Cormorant Unicase":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Cormorant Upright":{v:["300","regular","500","600","700"],subset:["latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},Courgette:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cousine:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Coustard:{v:["regular","900"],subset:["latin"],weight:["400","900"],i:["normal"]},"Covered By Your Grace":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Crafty Girls":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Creepster:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Crete Round":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Crimson Text":{v:["regular","italic","600","600italic","700","700italic"],subset:["latin"],weight:["400","600","700"],i:["normal","italic"]},"Croissant One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Crushed:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cuprum:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Cute Font":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Cutive:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cutive Mono":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Damion:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Dancing Script":{v:["regular","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal"]},Dangrek:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"David Libre":{v:["regular","500","700"],subset:["latin-ext","hebrew","vietnamese","latin"],weight:["400","500","700"],i:["normal"]},"Dawning of a New Day":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Days One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Dekko:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Delius:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Delius Swash Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Delius Unicase":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Della Respira":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Denk One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Devonshire:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dhurjati:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Didact Gothic":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},Diplomata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Diplomata SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Do Hyeon":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Dokdo:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Domine:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Donegal One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Doppio One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dorsa:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Dosis:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Dr Sugiyama":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Duru Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dynalight:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"EB Garamond":{v:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","600","700","800"],i:["normal","italic"]},"Eagle Lake":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"East Sea Dokdo":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Eater:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Economica:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Eczar:{v:["regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800"],i:["normal"]},"El Messiri":{v:["regular","500","600","700"],subset:["cyrillic","arabic","latin"],weight:["400","500","600","700"],i:["normal"]},Electrolize:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Elsie:{v:["regular","900"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal"]},"Elsie Swash Caps":{v:["regular","900"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal"]},"Emblema One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Emilys Candy":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Encode Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Expanded":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Semi Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Semi Expanded":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Engagement:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Englebert:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Enriqueta:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Erica One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Esteban:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Euphoria Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ewert:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Exo:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Exo 2":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Expletus Sans":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Fanwood Text":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Farsan:{v:["regular"],subset:["latin-ext","gujarati","vietnamese","latin"],weight:["400"],i:["normal"]},Fascinate:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fascinate Inline":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Faster One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fasthand:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Fauna One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Faustina:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Federant:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Federo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Felipa:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Fenix:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Finger Paint":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fira Mono":{v:["regular","500","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400","500","700"],i:["normal"]},"Fira Sans":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fira Sans Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fira Sans Extra Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fjalla One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fjord One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Flamenco:{v:["300","regular"],subset:["latin"],weight:["300","400"],i:["normal"]},Flavors:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fondamento:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Fontdiner Swanky":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Forum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},"Francois One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Frank Ruhl Libre":{v:["300","regular","500","700","900"],subset:["latin-ext","hebrew","latin"],weight:["300","400","500","700","900"],i:["normal"]},"Freckle Face":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fredericka the Great":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fredoka One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Freehand:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Fresca:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Frijole:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fruktur:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fugaz One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"GFS Didot":{v:["regular"],subset:["greek"],weight:["400"],i:["normal"]},"GFS Neohellenic":{v:["regular","italic","700","700italic"],subset:["greek"],weight:["400","700"],i:["normal","italic"]},Gabriela:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin"],weight:["400"],i:["normal"]},Gaegu:{v:["300","regular","700"],subset:["korean","latin"],weight:["300","400","700"],i:["normal"]},Gafata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Galada:{v:["regular"],subset:["bengali","latin"],weight:["400"],i:["normal"]},Galdeano:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Galindo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Gamja Flower":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Gentium Basic":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Gentium Book Basic":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Geo:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Geostar:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Geostar Fill":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Germania One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Gidugu:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Gilda Display":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Give You Glory":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Glass Antiqua":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Glegoo:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},"Gloria Hallelujah":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Goblin One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Gochi Hand":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Gorditas:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Gothic A1":{v:["100","200","300","regular","500","600","700","800","900"],subset:["korean","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Goudy Bookletter 1911":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Graduate:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Grand Hotel":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Gravitas One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Great Vibes":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Griffy:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Gruppo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Gudea:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Gugi:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Gurajada:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Habibi:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Halant:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hammersmith One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Hanalei:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Hanalei Fill":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Handlee:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Hanuman:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},"Happy Monkey":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Harmattan:{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},"Headland One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Heebo:{v:["100","300","regular","500","700","800","900"],subset:["hebrew","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},"Henny Penny":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Herr Von Muellerhoff":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Hi Melody":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Hind:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Guntur":{v:["300","regular","500","600","700"],subset:["latin-ext","telugu","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Madurai":{v:["300","regular","500","600","700"],subset:["latin-ext","tamil","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Siliguri":{v:["300","regular","500","600","700"],subset:["latin-ext","bengali","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Vadodara":{v:["300","regular","500","600","700"],subset:["latin-ext","gujarati","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Holtwood One SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Homemade Apple":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Homenaje:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IBM Plex Mono":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Sans":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Sans Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Serif":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IM Fell DW Pica":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell DW Pica SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell Double Pica":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell Double Pica SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell English":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell English SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell French Canon":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell French Canon SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell Great Primer":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell Great Primer SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Iceberg:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Iceland:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Imprima:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Inconsolata:{v:["regular","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal"]},Inder:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Indie Flower":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Inika:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Inknut Antiqua":{v:["300","regular","500","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700","800","900"],i:["normal"]},"Irish Grover":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Istok Web":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Italiana:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Italianno:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Itim:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},"Jacques Francois":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Jacques Francois Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Jaldi:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},"Jim Nightshade":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Jockey One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Jolly Lodger":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Jomhuria:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},"Josefin Sans":{v:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","300","400","600","700"],i:["normal","italic"]},"Josefin Slab":{v:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subset:["latin"],weight:["100","300","400","600","700"],i:["normal","italic"]},"Joti One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Jua:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Judson:{v:["regular","italic","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Julee:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Julius Sans One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Junge:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Jura:{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Just Another Hand":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Just Me Again Down Here":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kadwa:{v:["regular","700"],subset:["devanagari","latin"],weight:["400","700"],i:["normal"]},Kalam:{v:["300","regular","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","700"],i:["normal"]},Kameron:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Kanit:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Kantumruy:{v:["300","regular","700"],subset:["khmer"],weight:["300","400","700"],i:["normal"]},Karla:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Karma:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Katibeh:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},"Kaushan Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kavivanar:{v:["regular"],subset:["latin-ext","tamil","latin"],weight:["400"],i:["normal"]},Kavoon:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kdam Thmor":{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Keania One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kelly Slab":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Kenia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Khand:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Khmer:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Khula:{v:["300","regular","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["300","400","600","700","800"],i:["normal"]},"Kirang Haerang":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Kite One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Knewave:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kosugi:{v:["regular"],subset:["cyrillic","japanese","latin"],weight:["400"],i:["normal"]},"Kosugi Maru":{v:["regular"],subset:["cyrillic","japanese","latin"],weight:["400"],i:["normal"]},"Kotta One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Koulen:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Kranky:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Kreon:{v:["300","regular","700"],subset:["latin"],weight:["300","400","700"],i:["normal"]},Kristi:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Krona One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kumar One":{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},"Kumar One Outline":{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Kurale:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},"La Belle Aurore":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Laila:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Lakki Reddy":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Lalezar:{v:["regular"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400"],i:["normal"]},Lancelot:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Lateef:{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},Lato:{v:["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","300","400","700","900"],i:["normal","italic"]},"League Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Leckerli One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ledger:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Lekton:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Lemon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Lemonada:{v:["300","regular","600","700"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["300","400","600","700"],i:["normal"]},"Libre Barcode 128":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 128 Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Extended":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Extended Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Baskerville":{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Libre Franklin":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Life Savers":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Lilita One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Lily Script One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Limelight:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Linden Hill":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Lobster:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Lobster Two":{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Londrina Outline":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Sketch":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Solid":{v:["100","300","regular","900"],subset:["latin"],weight:["100","300","400","900"],i:["normal"]},Lora:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Love Ya Like A Sister":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Loved by the King":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Lovers Quarrel":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Luckiest Guy":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Lusitana:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Lustria:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"M PLUS 1p":{v:["100","300","regular","500","700","800","900"],subset:["cyrillic","cyrillic-ext","greek-ext","japanese","latin-ext","hebrew","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},"M PLUS Rounded 1c":{v:["100","300","regular","500","700","800","900"],subset:["cyrillic","cyrillic-ext","greek-ext","japanese","latin-ext","hebrew","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},Macondo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Macondo Swash Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mada:{v:["200","300","regular","500","600","700","900"],subset:["arabic","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},Magra:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Maiden Orange":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Maitree:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Mako:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mallanna:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Mandali:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Manuale:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Marcellus:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Marcellus SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Marck Script":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Margarine:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Markazi Text":{v:["regular","500","600","700"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400","500","600","700"],i:["normal"]},"Marko One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Marmelad:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Martel:{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},"Martel Sans":{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},Marvel:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Mate:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"Mate SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Maven Pro":{v:["regular","500","700","900"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","700","900"],i:["normal"]},McLaren:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Meddon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},MedievalSharp:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Medula One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Meera Inimai":{v:["regular"],subset:["tamil","latin"],weight:["400"],i:["normal"]},Megrim:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Meie Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Merienda:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Merienda One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Merriweather:{v:["300","300italic","regular","italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","700","900"],i:["normal","italic"]},"Merriweather Sans":{v:["300","300italic","regular","italic","700","700italic","800","800italic"],subset:["latin-ext","latin"],weight:["300","400","700","800"],i:["normal","italic"]},Metal:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Metal Mania":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Metamorphous:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Metrophobic:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Michroma:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Milonga:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Miltonian:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Miltonian Tattoo":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mina:{v:["regular","700"],subset:["latin-ext","bengali","latin"],weight:["400","700"],i:["normal"]},Miniver:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Miriam Libre":{v:["regular","700"],subset:["latin-ext","hebrew","latin"],weight:["400","700"],i:["normal"]},Mirza:{v:["regular","500","600","700"],subset:["latin-ext","arabic","latin"],weight:["400","500","600","700"],i:["normal"]},"Miss Fajardose":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mitr:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Modak:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},"Modern Antiqua":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mogra:{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Molengo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Molle:{v:["italic"],subset:["latin-ext","latin"],weight:[],i:["italic"]},Monda:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Monofett:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Monoton:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Monsieur La Doulaise":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Montaga:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Montez:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Montserrat:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Montserrat Alternates":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Montserrat Subrayada":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Moul:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Moulpali:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Mountains of Christmas":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Mouse Memoirs":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr Bedfort":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr Dafoe":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr De Haviland":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mrs Saint Delafield":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mrs Sheppards":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mukta:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Mahee":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","gurmukhi","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Malar":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","tamil","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Vaani":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","gujarati","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},Muli:{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Mystery Quest":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},NTR:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Nanum Brush Script":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Nanum Gothic":{v:["regular","700","800"],subset:["korean","latin"],weight:["400","700","800"],i:["normal"]},"Nanum Gothic Coding":{v:["regular","700"],subset:["korean","latin"],weight:["400","700"],i:["normal"]},"Nanum Myeongjo":{v:["regular","700","800"],subset:["korean","latin"],weight:["400","700","800"],i:["normal"]},"Nanum Pen Script":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Neucha:{v:["regular"],subset:["cyrillic","latin"],weight:["400"],i:["normal"]},Neuton:{v:["200","300","regular","italic","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal","italic"]},"New Rocker":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"News Cycle":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Niconne:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Nixie One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Nobile:{v:["regular","italic","500","500italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","500","700"],i:["normal","italic"]},Nokora:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},Norican:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Nosifer:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Nothing You Could Do":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Noticia Text":{v:["regular","italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Sans":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","devanagari","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Sans JP":{v:["100","300","regular","500","700","900"],subset:["japanese","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Noto Sans KR":{v:["100","300","regular","500","700","900"],subset:["korean","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Noto Serif":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Serif JP":{v:["200","300","regular","500","600","700","900"],subset:["japanese","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Noto Serif KR":{v:["200","300","regular","500","600","700","900"],subset:["korean","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Nova Cut":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Flat":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Mono":{v:["regular"],subset:["greek","latin"],weight:["400"],i:["normal"]},"Nova Oval":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Round":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Slim":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Square":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Numans:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Nunito:{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Nunito Sans":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Odor Mean Chey":{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Offside:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Old Standard TT":{v:["regular","italic","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Oldenburg:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Oleo Script":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Oleo Script Swash Caps":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Open Sans":{v:["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","600","700","800"],i:["normal","italic"]},"Open Sans Condensed":{v:["300","300italic","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","700"],i:[]},Oranienbaum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},Orbitron:{v:["regular","500","700","900"],subset:["latin"],weight:["400","500","700","900"],i:["normal"]},Oregano:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Orienta:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Original Surfer":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Oswald:{v:["200","300","regular","500","600","700"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},"Over the Rainbow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Overlock:{v:["regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal","italic"]},"Overlock SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Overpass:{v:["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","600","700","800","900"],i:["normal","italic"]},"Overpass Mono":{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},Ovo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Oxygen:{v:["300","regular","700"],subset:["latin-ext","latin"],weight:["300","400","700"],i:["normal"]},"Oxygen Mono":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"PT Mono":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},"PT Sans":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"PT Sans Caption":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal"]},"PT Sans Narrow":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal"]},"PT Serif":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"PT Serif Caption":{v:["regular","italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal","italic"]},Pacifico:{v:["regular"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Padauk:{v:["regular","700"],subset:["myanmar","latin"],weight:["400","700"],i:["normal"]},Palanquin:{v:["100","200","300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["100","200","300","400","500","600","700"],i:["normal"]},"Palanquin Dark":{v:["regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700"],i:["normal"]},Pangolin:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Paprika:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Parisienne:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Passero One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Passion One":{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},"Pathway Gothic One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Patrick Hand":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Patrick Hand SC":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Pattaya:{v:["regular"],subset:["cyrillic","latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},"Patua One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Pavanam:{v:["regular"],subset:["latin-ext","tamil","latin"],weight:["400"],i:["normal"]},"Paytone One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Peddana:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Peralta:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Permanent Marker":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Petit Formal Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Petrona:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Philosopher:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Piedra:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Pinyon Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pirata One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Plaster:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Play:{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["400","700"],i:["normal"]},Playball:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Playfair Display":{v:["regular","italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400","700","900"],i:["normal","italic"]},"Playfair Display SC":{v:["regular","italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400","700","900"],i:["normal","italic"]},Podkova:{v:["regular","500","600","700","800"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","500","600","700","800"],i:["normal"]},"Poiret One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Poller One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Poly:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Pompiere:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pontano Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Poor Story":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Poppins:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","devanagari","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Port Lligat Sans":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Port Lligat Slab":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pragati Narrow":{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Prata:{v:["regular"],subset:["cyrillic","cyrillic-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Preahvihear:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Press Start 2P":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},Pridi:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},"Princess Sofia":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Prociono:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Prompt:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Prosto One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Proza Libre":{v:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["latin-ext","latin"],weight:["400","500","600","700","800"],i:["normal","italic"]},Puritan:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Purple Purse":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Quando:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Quantico:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Quattrocento:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Quattrocento Sans":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Questrial:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Quicksand:{v:["300","regular","500","700"],subset:["latin-ext","vietnamese","latin"],weight:["300","400","500","700"],i:["normal"]},Quintessential:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Qwigley:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Racing Sans One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Radley:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Rajdhani:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Rakkas:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},Raleway:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Raleway Dots":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ramabhadra:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Ramaraja:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Rambla:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Rammetto One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ranchers:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Rancho:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ranga:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Rasa:{v:["300","regular","500","600","700"],subset:["latin-ext","gujarati","latin"],weight:["300","400","500","600","700"],i:["normal"]},Rationale:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Ravi Prakash":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Redressed:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Reem Kufi":{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},"Reenie Beanie":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Revalia:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Rhodium Libre":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Ribeye:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ribeye Marrow":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Righteous:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Risque:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Roboto:{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","900"],i:["normal","italic"]},"Roboto Condensed":{v:["300","300italic","regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","700"],i:["normal","italic"]},"Roboto Mono":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700"],i:["normal","italic"]},"Roboto Slab":{v:["100","300","regular","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","700"],i:["normal"]},Rochester:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Rock Salt":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Rokkitt:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Romanesco:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ropa Sans":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Rosario:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Rosarivo:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Rouge Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Rozha One":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Rubik:{v:["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","hebrew","latin"],weight:["300","400","500","700","900"],i:["normal","italic"]},"Rubik Mono One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Ruda:{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},Rufina:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Ruge Boogie":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ruluko:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Rum Raisin":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ruslan Display":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Russo One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Ruthie:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Rye:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sacramento:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sahitya:{v:["regular","700"],subset:["devanagari","latin"],weight:["400","700"],i:["normal"]},Sail:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Saira:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Extra Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Semi Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Salsa:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sanchez:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Sancreek:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sansita:{v:["regular","italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","700","800","900"],i:["normal","italic"]},Sarala:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Sarina:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sarpanch:{v:["regular","500","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800","900"],i:["normal"]},Satisfy:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Sawarabi Gothic":{v:["regular"],subset:["cyrillic","japanese","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Sawarabi Mincho":{v:["regular"],subset:["japanese","latin-ext","latin"],weight:["400"],i:["normal"]},Scada:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Scheherazade:{v:["regular","700"],subset:["arabic","latin"],weight:["400","700"],i:["normal"]},Schoolbell:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Scope One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Seaweed Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Secular One":{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},"Sedgwick Ave":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Sedgwick Ave Display":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Sevillana:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Seymour One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Shadows Into Light":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Shadows Into Light Two":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Shanti:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Share:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Share Tech":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Share Tech Mono":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Shojumaru:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Short Stack":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Shrikhand:{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Siemreap:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Sigmar One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Signika:{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},"Signika Negative":{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},Simonetta:{v:["regular","italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal","italic"]},Sintony:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Sirin Stencil":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Six Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Skranji:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Slabo 13px":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Slabo 27px":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Slackey:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Smokum:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Smythe:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sniglet:{v:["regular","800"],subset:["latin-ext","latin"],weight:["400","800"],i:["normal"]},Snippet:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Snowburst One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Sofadi One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sofia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Song Myung":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Sonsie One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Sorts Mill Goudy":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Source Code Pro":{v:["200","300","regular","500","600","700","900"],subset:["latin-ext","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Source Sans Pro":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["200","300","400","600","700","900"],i:["normal","italic"]},"Source Serif Pro":{v:["regular","600","700"],subset:["latin-ext","latin"],weight:["400","600","700"],i:["normal"]},"Space Mono":{v:["regular","italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Special Elite":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Spectral:{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700","800"],i:["normal","italic"]},"Spectral SC":{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700","800"],i:["normal","italic"]},"Spicy Rice":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Spinnaker:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Spirax:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Squada One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Sree Krushnadevaraya":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Sriracha:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},Stalemate:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Stalinist One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Stardos Stencil":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Stint Ultra Condensed":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Stint Ultra Expanded":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Stoke:{v:["300","regular"],subset:["latin-ext","latin"],weight:["300","400"],i:["normal"]},Strait:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Stylish:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Sue Ellen Francisco":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Suez One":{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},Sumana:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Sunflower:{v:["300","500","700"],subset:["korean","latin"],weight:["300","500","700"],i:[]},Sunshiney:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Supermercado One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sura:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Suranna:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Suravaram:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Suwannaphum:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Swanky and Moo Moo":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Syncopate:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Tajawal:{v:["200","300","regular","500","700","800","900"],subset:["arabic","latin"],weight:["200","300","400","500","700","800","900"],i:["normal"]},Tangerine:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Taprom:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Tauri:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Taviraj:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Teko:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Telex:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Tenali Ramakrishna":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Tenor Sans":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Text Me One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"The Girl Next Door":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Tienne:{v:["regular","700","900"],subset:["latin"],weight:["400","700","900"],i:["normal"]},Tillana:{v:["regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800"],i:["normal"]},Timmana:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Tinos:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Titan One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Titillium Web":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],subset:["latin-ext","latin"],weight:["200","300","400","600","700","900"],i:["normal","italic"]},"Trade Winds":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Trirong:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Trocchi:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Trochut:{v:["regular","italic","700"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Trykker:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Tulpen One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ubuntu:{v:["300","300italic","regular","italic","500","500italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["300","400","500","700"],i:["normal","italic"]},"Ubuntu Condensed":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},"Ubuntu Mono":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Ultra:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Uncial Antiqua":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Underdog:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Unica One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},UnifrakturCook:{v:["700"],subset:["latin"],weight:["700"],i:[]},UnifrakturMaguntia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Unkempt:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Unlock:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Unna:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},VT323:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Vampiro One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Varela:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Varela Round":{v:["regular"],subset:["latin-ext","hebrew","vietnamese","latin"],weight:["400"],i:["normal"]},"Vast Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Vesper Libre":{v:["regular","500","700","900"],subset:["latin-ext","devanagari","latin"],weight:["400","500","700","900"],i:["normal"]},Vibur:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Vidaloka:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Viga:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Voces:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Volkhov:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Vollkorn:{v:["regular","italic","600","600italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["400","600","700","900"],i:["normal","italic"]},"Vollkorn SC":{v:["regular","600","700","900"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","600","700","900"],i:["normal"]},Voltaire:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Waiting for the Sunrise":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Wallpoet:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Walter Turncoat":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Warnes:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Wellfleet:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Wendy One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Wire One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Work Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Yanone Kaffeesatz":{v:["200","300","regular","700"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","700"],i:["normal"]},Yantramanav:{v:["100","300","regular","500","700","900"],subset:["latin-ext","devanagari","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Yatra One":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Yellowtail:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Yeon Sung":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Yeseva One":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Yesteryear:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Yrsa:{v:["300","regular","500","600","700"],subset:["latin-ext","latin"],weight:["300","400","500","600","700"],i:["normal"]},Zeyada:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Zilla Slab":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Zilla Slab Highlight":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]}};var Yi=Ai,Bi=n(3),Ii=n.n(Bi);function Ri(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var Hi=function(e,t){var n;void 0===t&&(t=Ri);var a,r=[],i=!1;return function(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];return i&&n===this&&t(o,r)||(a=e.apply(this,o),i=!0,n=this,r=o),a}},Wi=n(306),Ui=n.n(Wi);var Gi=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var a=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(a);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);r.insertRule(e,i?0:r.cssRules.length)}catch(e){0}}else a.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Vi=function(e){function t(e,t,a){var r=t.trim().split(f);t=r;var i=r.length,o=e.length;switch(o){case 0:case 1:var l=0;for(e=0===o?"":e[0]+" ";l<i;++l)t[l]=n(e,t[l],a).trim();break;default:var s=l=0;for(t=[];l<i;++l)for(var c=0;c<o;++c)t[s++]=n(e[c]+" ",r[l],a).trim()}return t}function n(e,t,n){var a=t.charCodeAt(0);switch(33>a&&(a=(t=t.trim()).charCodeAt(0)),a){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function a(e,t,n,i){var o=e+";",l=2*t+3*n+4*i;if(944===l){e=o.indexOf(":",9)+1;var s=o.substring(e,o.length-1).trim();return s=o.substring(0,e).trim()+s+";",1===O||2===O&&r(s,1)?"-webkit-"+s+s:s}if(0===O||2===O&&!r(o,1))return o;switch(l){case 1015:return 97===o.charCodeAt(10)?"-webkit-"+o+o:o;case 951:return 116===o.charCodeAt(3)?"-webkit-"+o+o:o;case 963:return 110===o.charCodeAt(5)?"-webkit-"+o+o:o;case 1009:if(100!==o.charCodeAt(4))break;case 969:case 942:return"-webkit-"+o+o;case 978:return"-webkit-"+o+"-moz-"+o+o;case 1019:case 983:return"-webkit-"+o+"-moz-"+o+"-ms-"+o+o;case 883:if(45===o.charCodeAt(8))return"-webkit-"+o+o;if(0<o.indexOf("image-set(",11))return o.replace(E,"$1-webkit-$2")+o;break;case 932:if(45===o.charCodeAt(4))switch(o.charCodeAt(5)){case 103:return"-webkit-box-"+o.replace("-grow","")+"-webkit-"+o+"-ms-"+o.replace("grow","positive")+o;case 115:return"-webkit-"+o+"-ms-"+o.replace("shrink","negative")+o;case 98:return"-webkit-"+o+"-ms-"+o.replace("basis","preferred-size")+o}return"-webkit-"+o+"-ms-"+o+o;case 964:return"-webkit-"+o+"-ms-flex-"+o+o;case 1023:if(99!==o.charCodeAt(8))break;return"-webkit-box-pack"+(s=o.substring(o.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+o+"-ms-flex-pack"+s+o;case 1005:return d.test(o)?o.replace(p,":-webkit-")+o.replace(p,":-moz-")+o:o;case 1e3:switch(t=(s=o.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=o.replace(y,"tb");break;case 232:s=o.replace(y,"tb-rl");break;case 220:s=o.replace(y,"lr");break;default:return o}return"-webkit-"+o+"-ms-"+s+o;case 1017:if(-1===o.indexOf("sticky",9))break;case 975:switch(t=(o=e).length-10,l=(s=(33===o.charCodeAt(t)?o.substring(0,t):o).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:o=o.replace(s,"-webkit-"+s)+";"+o;break;case 207:case 102:o=o.replace(s,"-webkit-"+(102<l?"inline-":"")+"box")+";"+o.replace(s,"-webkit-"+s)+";"+o.replace(s,"-ms-"+s+"box")+";"+o}return o+";";case 938:if(45===o.charCodeAt(5))switch(o.charCodeAt(6)){case 105:return s=o.replace("-items",""),"-webkit-"+o+"-webkit-box-"+s+"-ms-flex-"+s+o;case 115:return"-webkit-"+o+"-ms-flex-item-"+o.replace(_,"")+o;default:return"-webkit-"+o+"-ms-flex-line-pack"+o.replace("align-content","").replace(_,"")+o}break;case 973:case 989:if(45!==o.charCodeAt(3)||122===o.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?a(e.replace("stretch","fill-available"),t,n,i).replace(":fill-available",":stretch"):o.replace(s,"-webkit-"+s)+o.replace(s,"-moz-"+s.replace("fill-",""))+o;break;case 962:if(o="-webkit-"+o+(102===o.charCodeAt(5)?"-ms-"+o:"")+o,211===n+i&&105===o.charCodeAt(13)&&0<o.indexOf("transform",10))return o.substring(0,o.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+o}return o}function r(e,t){var n=e.indexOf(1===t?":":"{"),a=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),P(2!==t?a:a.replace(x,"$1"),n,t)}function i(e,t){var n=a(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(k," or ($1)").substring(4):"("+t+")"}function o(e,t,n,a,r,i,o,l,c,u){for(var p,d=0,m=t;d<F;++d)switch(p=D[d].call(s,e,m,n,a,r,i,o,l,c,u)){case void 0:case!1:case!0:case null:break;default:m=p}if(m!==t)return m}function l(e){return void 0!==(e=e.prefix)&&(P=null,e?"function"!=typeof e?O=1:(O=2,P=e):O=0),l}function s(e,n){var l=e;if(33>l.charCodeAt(0)&&(l=l.trim()),l=[l],0<F){var s=o(-1,n,l,l,C,T,0,0,0,0);void 0!==s&&"string"==typeof s&&(n=s)}var p=function e(n,l,s,p,d){for(var m,f,b,y,k,_=0,x=0,S=0,E=0,D=0,P=0,N=b=m=0,z=0,A=0,Y=0,B=0,I=s.length,R=I-1,H="",W="",U="",G="";z<I;){if(f=s.charCodeAt(z),z===R&&0!==x+E+S+_&&(0!==x&&(f=47===x?10:47),E=S=_=0,I++,R++),0===x+E+S+_){if(z===R&&(0<A&&(H=H.replace(u,"")),0<H.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:H+=s.charAt(z)}f=59}switch(f){case 123:for(m=(H=H.trim()).charCodeAt(0),b=1,B=++z;z<I;){switch(f=s.charCodeAt(z)){case 123:b++;break;case 125:b--;break;case 47:switch(f=s.charCodeAt(z+1)){case 42:case 47:e:{for(N=z+1;N<R;++N)switch(s.charCodeAt(N)){case 47:if(42===f&&42===s.charCodeAt(N-1)&&z+2!==N){z=N+1;break e}break;case 10:if(47===f){z=N+1;break e}}z=N}}break;case 91:f++;case 40:f++;case 34:case 39:for(;z++<R&&s.charCodeAt(z)!==f;);}if(0===b)break;z++}switch(b=s.substring(B,z),0===m&&(m=(H=H.replace(c,"").trim()).charCodeAt(0)),m){case 64:switch(0<A&&(H=H.replace(u,"")),f=H.charCodeAt(1)){case 100:case 109:case 115:case 45:A=l;break;default:A=L}if(B=(b=e(l,A,b,f,d+1)).length,0<F&&(k=o(3,b,A=t(L,H,Y),l,C,T,B,f,d,p),H=A.join(""),void 0!==k&&0===(B=(b=k.trim()).length)&&(f=0,b="")),0<B)switch(f){case 115:H=H.replace(w,i);case 100:case 109:case 45:b=H+"{"+b+"}";break;case 107:b=(H=H.replace(g,"$1 $2"))+"{"+b+"}",b=1===O||2===O&&r("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=H+b,112===p&&(W+=b,b="")}else b="";break;default:b=e(l,t(l,H,Y),b,p,d+1)}U+=b,b=Y=A=N=m=0,H="",f=s.charCodeAt(++z);break;case 125:case 59:if(1<(B=(H=(0<A?H.replace(u,""):H).trim()).length))switch(0===N&&(m=H.charCodeAt(0),45===m||96<m&&123>m)&&(B=(H=H.replace(" ",":")).length),0<F&&void 0!==(k=o(1,H,l,n,C,T,W.length,p,d,p))&&0===(B=(H=k.trim()).length)&&(H="\0\0"),m=H.charCodeAt(0),f=H.charCodeAt(1),m){case 0:break;case 64:if(105===f||99===f){G+=H+s.charAt(z);break}default:58!==H.charCodeAt(B-1)&&(W+=a(H,m,f,H.charCodeAt(2)))}Y=A=N=m=0,H="",f=s.charCodeAt(++z)}}switch(f){case 13:case 10:47===x?x=0:0===1+m&&107!==p&&0<H.length&&(A=1,H+="\0"),0<F*j&&o(0,H,l,n,C,T,W.length,p,d,p),T=1,C++;break;case 59:case 125:if(0===x+E+S+_){T++;break}default:switch(T++,y=s.charAt(z),f){case 9:case 32:if(0===E+_+x)switch(D){case 44:case 58:case 9:case 32:y="";break;default:32!==f&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===E+x+_&&(A=Y=1,y="\f"+y);break;case 108:if(0===E+x+_+M&&0<N)switch(z-N){case 2:112===D&&58===s.charCodeAt(z-3)&&(M=D);case 8:111===P&&(M=P)}break;case 58:0===E+x+_&&(N=z);break;case 44:0===x+S+E+_&&(A=1,y+="\r");break;case 34:case 39:0===x&&(E=E===f?0:0===E?f:E);break;case 91:0===E+x+S&&_++;break;case 93:0===E+x+S&&_--;break;case 41:0===E+x+_&&S--;break;case 40:if(0===E+x+_){if(0===m)switch(2*D+3*P){case 533:break;default:m=1}S++}break;case 64:0===x+S+E+_+N+b&&(b=1);break;case 42:case 47:if(!(0<E+_+S))switch(x){case 0:switch(2*f+3*s.charCodeAt(z+1)){case 235:x=47;break;case 220:B=z,x=42}break;case 42:47===f&&42===D&&B+2!==z&&(33===s.charCodeAt(B+2)&&(W+=s.substring(B,z+1)),y="",x=0)}}0===x&&(H+=y)}P=D,D=f,z++}if(0<(B=W.length)){if(A=l,0<F&&(void 0!==(k=o(2,W,A,n,C,T,B,p,d,p))&&0===(W=k).length))return G+W+U;if(W=A.join(",")+"{"+W+"}",0!=O*M){switch(2!==O||r(W,2)||(M=0),M){case 111:W=W.replace(v,":-moz-$1")+W;break;case 112:W=W.replace(h,"::-webkit-input-$1")+W.replace(h,"::-moz-$1")+W.replace(h,":-ms-input-$1")+W}M=0}}return G+W+U}(L,l,n,0,0);return 0<F&&(void 0!==(s=o(-2,p,l,l,C,T,p.length,0,0,0))&&(p=s)),"",M=0,T=C=1,p}var c=/^\0+/g,u=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,m=/([,: ])(transform)/g,f=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,h=/::(place)/g,v=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,_=/-self|flex-/g,x=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,E=/([^-])(image-set\()/,T=1,C=1,M=0,O=1,L=[],D=[],F=0,P=null,j=0;return s.use=function e(t){switch(t){case void 0:case null:F=D.length=0;break;default:if("function"==typeof t)D[F++]=t;else if("object"==typeof t)for(var n=0,a=t.length;n<a;++n)e(t[n]);else j=0|!!t}return e},s.set=l,void 0!==e&&l(e),s};function qi(e){e&&$i.current.insert(e+"}")}var $i={current:null},Ji=function(e,t,n,a,r,i,o,l,s,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return $i.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===l)return t+"/*|*/";break;case 3:switch(l){case 102:case 112:return $i.current.insert(n[0]+t),"";default:return t+(0===c?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(qi)}},Xi=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var a=new Vi(t);var r,i={};r=e.container||document.head;var o,l=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(l,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){i[e]=!0})),e.parentNode!==r&&r.appendChild(e)})),a.use(e.stylisPlugins)(Ji),o=function(e,t,n,r){var i=t.name;$i.current=n,a(e,t.styles),r&&(s.inserted[i]=!0)};var s={key:n,sheet:new Gi({key:n,container:r,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:i,registered:{},insert:o};return s};function Ki(e,t,n){var a="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):a+=n+" "})),a}var Qi=function(e,t,n){var a=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[a]&&(e.registered[a]=t.styles),void 0===e.inserted[t.name]){var r=t;do{e.insert("."+a,r,e.sheet,!0);r=r.next}while(void 0!==r)}};var Zi=function(e){for(var t,n=0,a=0,r=e.length;r>=4;++a,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(a+2))<<16;case 2:n^=(255&e.charCodeAt(a+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(a)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},eo={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var to=/[A-Z]|^ms/g,no=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ao=function(e){return 45===e.charCodeAt(1)},ro=function(e){return null!=e&&"boolean"!=typeof e},io=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return ao(e)?e:e.replace(to,"-$&").toLowerCase()})),oo=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(no,(function(e,t,n){return so={name:t,styles:n,next:so},t}))}return 1===eo[e]||ao(e)||"number"!=typeof t||0===t?t:t+"px"};function lo(e,t,n,a){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return so={name:n.name,styles:n.styles,next:so},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)so={name:r.name,styles:r.styles,next:so},r=r.next;return n.styles+";"}return function(e,t,n){var a="";if(Array.isArray(n))for(var r=0;r<n.length;r++)a+=lo(e,t,n[r],!1);else for(var i in n){var o=n[i];if("object"!=typeof o)null!=t&&void 0!==t[o]?a+=i+"{"+t[o]+"}":ro(o)&&(a+=io(i)+":"+oo(i,o)+";");else if(!Array.isArray(o)||"string"!=typeof o[0]||null!=t&&void 0!==t[o[0]]){var l=lo(e,t,o,!1);switch(i){case"animation":case"animationName":a+=io(i)+":"+l+";";break;default:a+=i+"{"+l+"}"}}else for(var s=0;s<o.length;s++)ro(o[s])&&(a+=io(i)+":"+oo(i,o[s])+";")}return a}(e,t,n);case"function":if(void 0!==e){var i=so,o=n(e);return so=i,lo(e,t,o,a)}break;case"string":}if(null==t)return n;var l=t[n];return void 0===l||a?n:l}var so,co=/label:\s*([^\s;\n{]+)\s*;/g;var uo=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a=!0,r="";so=void 0;var i=e[0];null==i||void 0===i.raw?(a=!1,r+=lo(n,t,i,!1)):r+=i[0];for(var o=1;o<e.length;o++)r+=lo(n,t,e[o],46===r.charCodeAt(r.length-1)),a&&(r+=i[o]);co.lastIndex=0;for(var l,s="";null!==(l=co.exec(r));)s+="-"+l[1];return{name:Zi(r)+s,styles:r,next:so}};var po=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return uo(t)},mo=Object(Bi.createContext)("undefined"!=typeof HTMLElement?Xi():null),fo=Object(Bi.createContext)({}),bo=mo.Provider,go=function(e){return Object(Bi.forwardRef)((function(t,n){return Object(Bi.createElement)(mo.Consumer,null,(function(a){return e(t,a,n)}))}))},ho=Object.prototype.hasOwnProperty,vo=function(e,t,n,a){var r=null===n?t.css:t.css(n);"string"==typeof r&&void 0!==e.registered[r]&&(r=e.registered[r]);var i=t.__EMOTION_TYPE_PLEASE_DO_NOT_USE__,o=[r],l="";"string"==typeof t.className?l=Ki(e.registered,o,t.className):null!=t.className&&(l=t.className+" ");var s=uo(o);Qi(e,s,"string"==typeof i);l+=e.key+"-"+s.name;var c={};for(var u in t)ho.call(t,u)&&"css"!==u&&"__EMOTION_TYPE_PLEASE_DO_NOT_USE__"!==u&&(c[u]=t[u]);return c.ref=a,c.className=l,Object(Bi.createElement)(i,c)},yo=go((function(e,t,n){return"function"==typeof e.css?Object(Bi.createElement)(fo.Consumer,null,(function(a){return vo(t,e,a,n)})):vo(t,e,null,n)}));var wo=function(e,t){var n=arguments;if(null==t||!ho.call(t,"css"))return Bi.createElement.apply(void 0,n);var a=n.length,r=new Array(a);r[0]=yo;var i={};for(var o in t)ho.call(t,o)&&(i[o]=t[o]);i.__EMOTION_TYPE_PLEASE_DO_NOT_USE__=e,r[1]=i;for(var l=2;l<a;l++)r[l]=n[l];return Bi.createElement.apply(null,r)},ko=(Bi.Component,function e(t){for(var n=t.length,a=0,r="";a<n;a++){var i=t[a];if(null!=i){var o=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))o=e(i);else for(var l in o="",i)i[l]&&l&&(o&&(o+=" "),o+=l);break;default:o=i}o&&(r&&(r+=" "),r+=o)}}return r});function _o(e,t,n){var a=[],r=Ki(e,a,n);return a.length<2?n:r+t(a)}var xo=go((function(e,t){return Object(Bi.createElement)(fo.Consumer,null,(function(n){var a=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];var r=uo(n,t.registered);return Qi(t,r,!1),t.key+"-"+r.name},r={css:a,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return _o(t.registered,a,ko(n))},theme:n},i=e.children(r);return!0,i}))})),So=n(18),Eo=function(){};function To(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Co(e,t,n){var a=[n];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&a.push(""+To(e,r));return a.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Mo=function(e){return Array.isArray(e)?e.filter(Boolean):"object"==typeof e&&null!==e?[e]:[]};function Oo(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Lo(e){return Oo(e)?window.pageYOffset:e.scrollTop}function Do(e,t){Oo(e)?window.scrollTo(0,t):e.scrollTop=t}function Fo(e,t,n,a){void 0===n&&(n=200),void 0===a&&(a=Eo);var r=Lo(e),i=t-r,o=0;!function t(){var l,s=i*((l=(l=o+=10)/n-1)*l*l+1)+r;Do(e,s),o<n?window.requestAnimationFrame(t):a(e)}()}function Po(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var jo=n(116),No=n.n(jo);function zo(){return(zo=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 Ao(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Yo(e){var t=e.maxHeight,n=e.menuEl,a=e.minHeight,r=e.placement,i=e.shouldScroll,o=e.isFixedPosition,l=e.theme.spacing,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,a=/(auto|scroll)/,r=document.documentElement;if("fixed"===t.position)return r;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&a.test(t.overflow+t.overflowY+t.overflowX))return i;return r}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u=s.getBoundingClientRect().height,p=n.getBoundingClientRect(),d=p.bottom,m=p.height,f=p.top,b=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,h=Lo(s),v=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=b-y,k=g-f,_=w+h,x=u-h-f,S=d-g+h+v,E=h+f-y;switch(r){case"auto":case"bottom":if(k>=m)return{placement:"bottom",maxHeight:t};if(x>=m&&!o)return i&&Fo(s,S,160),{placement:"bottom",maxHeight:t};if(!o&&x>=a||o&&k>=a)return i&&Fo(s,S,160),{placement:"bottom",maxHeight:o?k-v:x-v};if("auto"===r||o){var T=t,C=o?w:_;return C>=a&&(T=Math.min(C-v-l.controlHeight,t)),{placement:"top",maxHeight:T}}if("bottom"===r)return Do(s,S),{placement:"bottom",maxHeight:t};break;case"top":if(w>=m)return{placement:"top",maxHeight:t};if(_>=m&&!o)return i&&Fo(s,E,160),{placement:"top",maxHeight:t};if(!o&&_>=a||o&&w>=a){var M=t;return(!o&&_>=a||o&&w>=a)&&(M=o?w-y:_-y),i&&Fo(s,E,160),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'+r+'".')}return c}var Bo=function(e){return"auto"===e?"bottom":e},Io=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={maxHeight:t.props.maxMenuHeight,placement:null},t.getPlacement=function(e){var n=t.props,a=n.minMenuHeight,r=n.maxMenuHeight,i=n.menuPlacement,o=n.menuPosition,l=n.menuShouldScrollIntoView,s=n.theme,c=t.context.getPortalPlacement;if(e){var u="fixed"===o,p=Yo({maxHeight:r,menuEl:e,minHeight:a,placement:i,shouldScroll:l&&!u,isFixedPosition:u,theme:s});c&&c(p),t.setState(p)}},t.getUpdatedProps=function(){var e=t.props.menuPlacement,n=t.state.placement||Bo(e);return zo({},t.props,{placement:n,maxHeight:t.state.maxHeight})},t}return Ao(t,e),t.prototype.render=function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})},t}(Bi.Component);Io.contextTypes={getPortalPlacement:cr.a.func};var Ro=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:2*n+"px "+3*n+"px",textAlign:"center"}},Ho=Ro,Wo=Ro,Uo=function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return wo("div",zo({css:r("noOptionsMessage",e),className:a({"menu-notice":!0,"menu-notice--no-options":!0},n)},i),t)};Uo.defaultProps={children:"No options"};var Go=function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return wo("div",zo({css:r("loadingMessage",e),className:a({"menu-notice":!0,"menu-notice--loading":!0},n)},i),t)};Go.defaultProps={children:"Loading..."};var Vo=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={placement:null},t.getPortalPlacement=function(e){var n=e.placement;n!==Bo(t.props.menuPlacement)&&t.setState({placement:n})},t}Ao(t,e);var n=t.prototype;return n.getChildContext=function(){return{getPortalPlacement:this.getPortalPlacement}},n.render=function(){var e=this.props,t=e.appendTo,n=e.children,a=e.controlElement,r=e.menuPlacement,i=e.menuPosition,o=e.getStyles,l="fixed"===i;if(!t&&!l||!a)return null;var s=this.state.placement||Bo(r),c=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(a),u=l?0:window.pageYOffset,p=c[s]+u,d=wo("div",{css:o("menuPortal",{offset:p,position:i,rect:c})},n);return t?Object(So.createPortal)(d,t):d},t}(Bi.Component);Vo.childContextTypes={getPortalPlacement:cr.a.func};var qo=Array.isArray,$o=Object.keys,Jo=Object.prototype.hasOwnProperty;function Xo(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var a,r,i,o=qo(t),l=qo(n);if(o&&l){if((r=t.length)!=n.length)return!1;for(a=r;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(o!=l)return!1;var s=t instanceof Date,c=n instanceof Date;if(s!=c)return!1;if(s&&c)return t.getTime()==n.getTime();var u=t instanceof RegExp,p=n instanceof RegExp;if(u!=p)return!1;if(u&&p)return t.toString()==n.toString();var d=$o(t);if((r=d.length)!==$o(n).length)return!1;for(a=r;0!=a--;)if(!Jo.call(n,d[a]))return!1;for(a=r;0!=a--;)if(!("_owner"===(i=d[a])&&t.$$typeof||e(t[i],n[i])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}function Ko(){return(Ko=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 Qo(){var e=function(e,t){t||(t=e.slice(0));return e.raw=t,e}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);return Qo=function(){return e},e}function Zo(){return(Zo=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)}var el={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},tl=function(e){var t=e.size,n=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["size"]);return wo("svg",Zo({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:el},n))},nl=function(e){return wo(tl,Zo({size:20},e),wo("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},al=function(e){return wo(tl,Zo({size:20},e),wo("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},rl=function(e){var t=e.isFocused,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorContainer",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*a,transition:"color 150ms",":hover":{color:t?r.neutral80:r.neutral40}}},il=rl,ol=rl,ll=function(){var e=po.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Qo()),sl=function(e){var t=e.delay,n=e.offset;return wo("span",{css:po({animation:ll+" 1s ease-in-out "+t+"ms infinite;",backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},cl=function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerProps,i=e.isRtl;return wo("div",Zo({},r,{css:a("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),wo(sl,{delay:0,offset:i}),wo(sl,{delay:160,offset:!0}),wo(sl,{delay:320,offset:!i}))};function ul(){return(ul=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)}cl.defaultProps={size:4};function pl(){return(pl=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 dl(){return(dl=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)}var ml=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}};function fl(){return(fl=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)}var bl=function(e){var t=e.children,n=e.innerProps;return wo("div",n,t)},gl=bl,hl=bl;var vl=function(e){var t=e.children,n=e.className,a=e.components,r=e.cx,i=e.data,o=e.getStyles,l=e.innerProps,s=e.isDisabled,c=e.removeProps,u=e.selectProps,p=a.Container,d=a.Label,m=a.Remove;return wo(xo,null,(function(a){var f=a.css,b=a.cx;return wo(p,{data:i,innerProps:fl({},l,{className:b(f(o("multiValue",e)),r({"multi-value":!0,"multi-value--is-disabled":s},n))}),selectProps:u},wo(d,{data:i,innerProps:{className:b(f(o("multiValueLabel",e)),r({"multi-value__label":!0},n))},selectProps:u},t),wo(m,{data:i,innerProps:fl({className:b(f(o("multiValueRemove",e)),r({"multi-value__remove":!0},n))},c),selectProps:u}))}))};function yl(){return(yl=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)}vl.defaultProps={cropWithEllipsis:!0};function wl(){return(wl=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 kl(){return(kl=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 _l(){return(_l=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)}var xl={ClearIndicator:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return wo("div",Zo({},i,{css:r("clearIndicator",e),className:a({indicator:!0,"clear-indicator":!0},n)}),t||wo(nl,null))},Control:function(e){var t=e.children,n=e.cx,a=e.getStyles,r=e.className,i=e.isDisabled,o=e.isFocused,l=e.innerRef,s=e.innerProps,c=e.menuIsOpen;return wo("div",ul({ref:l,css:a("control",e),className:n({control:!0,"control--is-disabled":i,"control--is-focused":o,"control--menu-is-open":c},r)},s),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return wo("div",Zo({},i,{css:r("dropdownIndicator",e),className:a({indicator:!0,"dropdown-indicator":!0},n)}),t||wo(al,null))},DownChevron:al,CrossIcon:nl,Group:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.Heading,o=e.headingProps,l=e.label,s=e.theme,c=e.selectProps;return wo("div",{css:r("group",e),className:a({group:!0},n)},wo(i,pl({},o,{selectProps:c,theme:s,getStyles:r,cx:a}),l),wo("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.theme,i=(e.selectProps,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["className","cx","getStyles","theme","selectProps"]));return wo("div",pl({css:a("groupHeading",pl({theme:r},i)),className:n({"group-heading":!0},t)},i))},IndicatorsContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles;return wo("div",{css:r("indicatorsContainer",e),className:a({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerProps;return wo("span",Zo({},r,{css:a("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerRef,i=e.isHidden,o=e.isDisabled,l=e.theme,s=(e.selectProps,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return wo("div",{css:a("input",dl({theme:l},s))},wo(No.a,dl({className:n({input:!0},t),inputRef:r,inputStyle:ml(i),disabled:o},s)))},LoadingIndicator:cl,Menu:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerRef,o=e.innerProps;return wo("div",zo({css:r("menu",e),className:a({menu:!0},n)},o,{ref:i}),t)},MenuList:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isMulti,o=e.innerRef;return wo("div",{css:r("menuList",e),className:a({"menu-list":!0,"menu-list--is-multi":i},n),ref:o},t)},MenuPortal:Vo,LoadingMessage:Go,NoOptionsMessage:Uo,MultiValue:vl,MultiValueContainer:gl,MultiValueLabel:hl,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return wo("div",n,t||wo(nl,{size:14}))},Option:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isDisabled,o=e.isFocused,l=e.isSelected,s=e.innerRef,c=e.innerProps;return wo("div",yl({css:r("option",e),className:a({option:!0,"option--is-disabled":i,"option--is-focused":o,"option--is-selected":l},n),ref:s},c),t)},Placeholder:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps;return wo("div",wl({css:r("placeholder",e),className:a({placeholder:!0},n)},i),t)},SelectContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.innerProps,o=e.isDisabled,l=e.isRtl;return wo("div",Ko({css:r("container",e),className:a({"--is-disabled":o,"--is-rtl":l},n)},i),t)},SingleValue:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isDisabled,o=e.innerProps;return wo("div",kl({css:r("singleValue",e),className:a({"single-value":!0,"single-value--is-disabled":i},n)},o),t)},ValueContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.isMulti,i=e.getStyles,o=e.hasValue;return wo("div",{css:i("valueContainer",e),className:a({"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o},n)},t)}},Sl=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],El=function(e){for(var t=0;t<Sl.length;t++)e=e.replace(Sl[t].letters,Sl[t].base);return e};function Tl(){return(Tl=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)}var Cl=function(e){return e.replace(/^\s+|\s+$/g,"")},Ml=function(e){return e.label+" "+e.value};function Ol(){return(Ol=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)}var Ll={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},Dl=function(e){return wo("span",Ol({css:Ll},e))};function Fl(){return(Fl=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 Pl(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return wo("input",Fl({ref:t},n,{css:po({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}var jl=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.props.innerRef(Object(So.findDOMNode)(this))},r.componentWillUnmount=function(){this.props.innerRef(null)},r.render=function(){return this.props.children},a}(Bi.Component),Nl=["boxSizing","height","overflow","paddingRight","position"],zl={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Al(e){e.preventDefault()}function Yl(e){e.stopPropagation()}function Bl(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Il(){return"ontouchstart"in window||navigator.maxTouchPoints}var Rl=!(!window.document||!window.document.createElement),Hl=0,Wl=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).originalStyles={},t.listenerOptions={capture:!1,passive:!1},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){var e=this;if(Rl){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,i=r&&r.style;if(n&&Nl.forEach((function(t){var n=i&&i[t];e.originalStyles[t]=n})),n&&Hl<1){var o=parseInt(this.originalStyles.paddingRight,10)||0,l=document.body?document.body.clientWidth:0,s=window.innerWidth-l+o||0;Object.keys(zl).forEach((function(e){var t=zl[e];i&&(i[e]=t)})),i&&(i.paddingRight=s+"px")}r&&Il()&&(r.addEventListener("touchmove",Al,this.listenerOptions),a&&(a.addEventListener("touchstart",Bl,this.listenerOptions),a.addEventListener("touchmove",Yl,this.listenerOptions))),Hl+=1}},r.componentWillUnmount=function(){var e=this;if(Rl){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,i=r&&r.style;Hl=Math.max(Hl-1,0),n&&Hl<1&&Nl.forEach((function(t){var n=e.originalStyles[t];i&&(i[t]=n)})),r&&Il()&&(r.removeEventListener("touchmove",Al,this.listenerOptions),a&&(a.removeEventListener("touchstart",Bl,this.listenerOptions),a.removeEventListener("touchmove",Yl,this.listenerOptions)))}},r.render=function(){return null},a}(Bi.Component);Wl.defaultProps={accountForScrollbars:!0};var Ul={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},Gl=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={touchScrollTarget:null},t.getScrollTarget=function(e){e!==t.state.touchScrollTarget&&t.setState({touchScrollTarget:e})},t.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},t}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=this.props,t=e.children,n=e.isEnabled,a=this.state.touchScrollTarget;return n?wo("div",null,wo("div",{onClick:this.blurSelectInput,css:Ul}),wo(jl,{innerRef:this.getScrollTarget},t),a?wo(Wl,{touchScrollTarget:a}):null):t},a}(Bi.PureComponent);var Vl=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).isBottom=!1,t.isTop=!1,t.scrollTarget=void 0,t.touchStart=void 0,t.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},t.handleEventDelta=function(e,n){var a=t.props,r=a.onBottomArrive,i=a.onBottomLeave,o=a.onTopArrive,l=a.onTopLeave,s=t.scrollTarget,c=s.scrollTop,u=s.scrollHeight,p=s.clientHeight,d=t.scrollTarget,m=n>0,f=u-p-c,b=!1;f>n&&t.isBottom&&(i&&i(e),t.isBottom=!1),m&&t.isTop&&(l&&l(e),t.isTop=!1),m&&n>f?(r&&!t.isBottom&&r(e),d.scrollTop=u,b=!0,t.isBottom=!0):!m&&-n>c&&(o&&!t.isTop&&o(e),d.scrollTop=0,b=!0,t.isTop=!0),b&&t.cancelScroll(e)},t.onWheel=function(e){t.handleEventDelta(e,e.deltaY)},t.onTouchStart=function(e){t.touchStart=e.changedTouches[0].clientY},t.onTouchMove=function(e){var n=t.touchStart-e.changedTouches[0].clientY;t.handleEventDelta(e,n)},t.getScrollTarget=function(e){t.scrollTarget=e},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.startListening(this.scrollTarget)},r.componentWillUnmount=function(){this.stopListening(this.scrollTarget)},r.startListening=function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))},r.stopListening=function(e){"function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1)},r.render=function(){return Ii.a.createElement(jl,{innerRef:this.getScrollTarget},this.props.children)},a}(Bi.Component);function ql(e){var t=e.isEnabled,n=void 0===t||t,a=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["isEnabled"]);return n?Ii.a.createElement(Vl,a):a.children}var $l=function(e,t){void 0===t&&(t={});var n=t,a=n.isSearchable,r=n.isMulti,i=n.label,o=n.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options"+(o?"":", press Enter to select the currently focused option")+", press Escape to exit the menu, press Tab to select the option and exit the menu.";case"input":return(i||"Select")+" is focused "+(a?",type to refine list":"")+", press Down to open the menu, "+(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},Jl=function(e,t){var n=t.value,a=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option "+n+", deselected.";case"select-option":return a?"option "+n+" is disabled. Select another option.":"option "+n+", selected."}},Xl=function(e){return!!e.isDisabled};var Kl={clearIndicator:ol,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,a=e.theme,r=a.colors,i=a.borderRadius,o=a.spacing;return{label:"control",alignItems:"center",backgroundColor:t?r.neutral5:r.neutral0,borderColor:t?r.neutral10:n?r.primary:r.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px "+r.primary:null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?r.primary:r.neutral30}}},dropdownIndicator:il,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?r.neutral10:r.neutral20,marginBottom:2*a,marginTop:2*a,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,visibility:t?"hidden":"visible",color:r.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,a=e.theme,r=a.colors,i=a.spacing.baseUnit;return{label:"loadingIndicator",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:Wo,menu:function(e){var t,n=e.placement,a=e.theme,r=a.borderRadius,i=a.spacing,o=a.colors;return(t={label:"menu"})[function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n)]="100%",t.backgroundColor=o.neutral0,t.borderRadius=r,t.boxShadow="0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",t.marginBottom=i.menuGutter,t.marginTop=i.menuGutter,t.position="absolute",t.width="100%",t.zIndex=1,t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,a=e.position;return{left:t.left,position:a,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,a=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:a/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,a=t.colors,r=e.cropWithEllipsis;return{borderRadius:n/2,color:a.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:r?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,a=t.borderRadius,r=t.colors;return{alignItems:"center",borderRadius:a/2,backgroundColor:e.isFocused&&r.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}}},noOptionsMessage:Ho,option:function(e){var t=e.isDisabled,n=e.isFocused,a=e.isSelected,r=e.theme,i=r.spacing,o=r.colors;return{label:"option",backgroundColor:a?o.primary:n?o.primary25:"transparent",color:t?o.neutral20:a?o.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:2*i.baseUnit+"px "+3*i.baseUnit+"px",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(a?o.primary:o.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{label:"singleValue",color:t?r.neutral40:r.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,maxWidth:"calc(100% - "+2*a.baseUnit+"px)",overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:t.baseUnit/2+"px "+2*t.baseUnit+"px",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var Ql={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}};function Zl(){return(Zl=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 es(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ts={backspaceRemovesValue:!0,blurInputOnSelect:Po(),captureMenuScroll:!Po(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e){return function(t,n){var a=Tl({ignoreCase:!0,ignoreAccents:!0,stringify:Ml,trim:!0,matchFrom:"any"},e),r=a.ignoreCase,i=a.ignoreAccents,o=a.stringify,l=a.trim,s=a.matchFrom,c=l?Cl(n):n,u=l?Cl(o(t)):o(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=El(c),u=El(u)),"start"===s?u.substr(0,c.length)===c:u.indexOf(c)>-1}}(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Xl,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return t+" result"+(1!==t?"s":"")+" available"},styles:{},tabIndex:"0",tabSelectsValue:!0},ns=1,as=function(e){var t,n;function a(t){var n;(n=e.call(this,t)||this).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},n.blockOptionHover=!1,n.isComposing=!1,n.clearFocusValueOnUpdate=!1,n.commonProps=void 0,n.components=void 0,n.hasGroups=!1,n.initialTouchX=0,n.initialTouchY=0,n.inputIsHiddenAfterUpdate=void 0,n.instancePrefix="",n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(e){n.controlRef=e},n.focusedOptionRef=null,n.getFocusedOptionRef=function(e){n.focusedOptionRef=e},n.menuListRef=null,n.getMenuListRef=function(e){n.menuListRef=e},n.inputRef=null,n.getInputRef=function(e){n.inputRef=e},n.cacheComponents=function(e){n.components=_l({},xl,{components:e}.components)},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(e,t){var a=n.props;(0,a.onChange)(e,Zl({},t,{name:a.name}))},n.setValue=function(e,t,a){void 0===t&&(t="set-value");var r=n.props,i=r.closeMenuOnSelect,o=r.isMulti;n.onInputChange("",{action:"set-value"}),i&&(n.inputIsHiddenAfterUpdate=!o,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(e,{action:t,option:a})},n.selectOption=function(e){var t=n.props,a=t.blurInputOnSelect,r=t.isMulti,i=n.state.selectValue;if(r)if(n.isOptionSelected(e,i)){var o=n.getOptionValue(e);n.setValue(i.filter((function(e){return n.getOptionValue(e)!==o})),"deselect-option",e),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(e)}})}else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue([].concat(i,[e]),"select-option",e),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue(e,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));a&&n.blurInput()},n.removeValue=function(e){var t=n.state.selectValue,a=n.getOptionValue(e),r=t.filter((function(e){return n.getOptionValue(e)!==a}));n.onChange(r.length?r:null,{action:"remove-value",removedValue:e}),n.announceAriaLiveSelection({event:"remove-value",context:{value:e?n.getOptionLabel(e):""}}),n.focusInput()},n.clearValue=function(){var e=n.props.isMulti;n.onChange(e?[]:null,{action:"clear"})},n.popValue=function(){var e=n.state.selectValue,t=e[e.length-1],a=e.slice(0,e.length-1);n.announceAriaLiveSelection({event:"pop-value",context:{value:t?n.getOptionLabel(t):""}}),n.onChange(a.length?a:null,{action:"pop-value",removedValue:t})},n.getOptionLabel=function(e){return n.props.getOptionLabel(e)},n.getOptionValue=function(e){return n.props.getOptionValue(e)},n.getStyles=function(e,t){var a=Kl[e](t);a.boxSizing="border-box";var r=n.props.styles[e];return r?r(a,t):a},n.getElementId=function(e){return n.instancePrefix+"-"+e},n.getActiveDescendentId=function(){var e=n.props.menuIsOpen,t=n.state,a=t.menuOptions,r=t.focusedOption;if(r&&e){var i=a.focusable.indexOf(r),o=a.render[i];return o&&o.key}},n.announceAriaLiveSelection=function(e){var t=e.event,a=e.context;n.setState({ariaLiveSelection:Jl(t,a)})},n.announceAriaLiveContext=function(e){var t=e.event,a=e.context;n.setState({ariaLiveContext:$l(t,Zl({},a,{label:n.props["aria-label"]}))})},n.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(e){n.blockOptionHover=!1},n.onControlMouseDown=function(e){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},n.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||n.props.isDisabled)){var t=n.props,a=t.isMulti,r=t.menuIsOpen;n.focusInput(),r?(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()):n.openMenu("first"),e.preventDefault(),e.stopPropagation()}},n.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.stopPropagation(),n.openAfterFocus=!1,"touchend"===e.type?n.focusInput():setTimeout((function(){return n.focusInput()})))},n.onScroll=function(e){"boolean"==typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Oo(e.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(e){var t=e.touches.item(0);t&&(n.initialTouchX=t.clientX,n.initialTouchY=t.clientY,n.userIsDragging=!1)},n.onTouchMove=function(e){var t=e.touches.item(0);if(t){var a=Math.abs(t.clientX-n.initialTouchX),r=Math.abs(t.clientY-n.initialTouchY);n.userIsDragging=a>5||r>5}},n.onTouchEnd=function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(e){n.userIsDragging||n.onControlMouseDown(e)},n.onClearIndicatorTouchEnd=function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)},n.onDropdownIndicatorTouchEnd=function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)},n.handleInputChange=function(e){var t=e.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(t,{action:"input-change"}),n.onMenuOpen()},n.onInputFocus=function(e){var t=n.props,a=t.isSearchable,r=t.isMulti;n.props.onFocus&&n.props.onFocus(e),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:r}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(e){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))},n.onOptionHover=function(e){n.blockOptionHover||n.state.focusedOption===e||n.setState({focusedOption:e})},n.shouldHideSelectedOptions=function(){var e=n.props,t=e.hideSelectedOptions,a=e.isMulti;return void 0===t?a:t},n.onKeyDown=function(e){var t=n.props,a=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,o=t.inputValue,l=t.isClearable,s=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,p=t.tabSelectsValue,d=t.openMenuOnFocus,m=n.state,f=m.focusedOption,b=m.focusedValue,g=m.selectValue;if(!(s||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!a||o)return;n.focusValue("previous");break;case"ArrowRight":if(!a||o)return;n.focusValue("next");break;case"Delete":case"Backspace":if(o)return;if(b)n.removeValue(b);else{if(!r)return;a?n.popValue():l&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!c||!p||!f||d&&n.isOptionSelected(f,g))return;n.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(c){if(!f)return;if(n.isComposing)return;n.selectOption(f);break}return;case"Escape":c?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):l&&i&&n.clearValue();break;case" ":if(o)return;if(!c){n.openMenu("first");break}if(!f)return;n.selectOption(f);break;case"ArrowUp":c?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":c?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!c)return;n.focusOption("pageup");break;case"PageDown":if(!c)return;n.focusOption("pagedown");break;case"Home":if(!c)return;n.focusOption("first");break;case"End":if(!c)return;n.focusOption("last");break;default:return}e.preventDefault()}},n.buildMenuOptions=function(e,t){var a=e.inputValue,r=void 0===a?"":a,i=e.options,o=function(e,a){var i=n.isOptionDisabled(e,t),o=n.isOptionSelected(e,t),l=n.getOptionLabel(e),s=n.getOptionValue(e);if(!(n.shouldHideSelectedOptions()&&o||!n.filterOption({label:l,value:s,data:e},r))){var c=i?void 0:function(){return n.onOptionHover(e)},u=i?void 0:function(){return n.selectOption(e)},p=n.getElementId("option")+"-"+a;return{innerProps:{id:p,onClick:u,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:i,isSelected:o,key:p,label:l,type:"option",value:s}}};return i.reduce((function(e,t,a){if(t.options){n.hasGroups||(n.hasGroups=!0);var r=t.options.map((function(t,n){var r=o(t,a+"-"+n);return r&&e.focusable.push(t),r})).filter(Boolean);if(r.length){var i=n.getElementId("group")+"-"+a;e.render.push({type:"group",key:i,data:t,options:r})}}else{var l=o(t,""+a);l&&(e.render.push(l),e.focusable.push(t))}return e}),{render:[],focusable:[]})};var a=t.value;n.cacheComponents=Hi(n.cacheComponents,Xo).bind(es(es(n))),n.cacheComponents(t.components),n.instancePrefix="react-select-"+(n.props.instanceId||++ns);var r=Mo(a);n.buildMenuOptions=Hi(n.buildMenuOptions,(function(e,t){var n=e,a=n[0],r=n[1],i=t,o=i[0];return Xo(r,i[1])&&Xo(a.inputValue,o.inputValue)&&Xo(a.options,o.options)})).bind(es(es(n)));var i=t.menuIsOpen?n.buildMenuOptions(t,r):{render:[],focusable:[]};return n.state.menuOptions=i,n.state.selectValue=r,n}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()},r.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.options,a=t.value,r=t.menuIsOpen,i=t.inputValue;if(this.cacheComponents(e.components),e.value!==a||e.options!==n||e.menuIsOpen!==r||e.inputValue!==i){var o=Mo(e.value),l=e.menuIsOpen?this.buildMenuOptions(e,o):{render:[],focusable:[]},s=this.getNextFocusedValue(o),c=this.getNextFocusedOption(l.focusable);this.setState({menuOptions:l,selectValue:o,focusedOption:c,focusedValue:s})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)},r.componentDidUpdate=function(e){var t,n,a,r,i,o=this.props,l=o.isDisabled,s=o.menuIsOpen,c=this.state.isFocused;(c&&!l&&e.isDisabled||c&&s&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,a=t.getBoundingClientRect(),r=n.getBoundingClientRect(),i=n.offsetHeight/3,r.bottom+i>a.bottom?Do(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+i,t.scrollHeight)):r.top-i<a.top&&Do(t,Math.max(n.offsetTop-i,0)),this.scrollToFocusedOptionOnUpdate=!1)},r.componentWillUnmount=function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)},r.onMenuOpen=function(){this.props.onMenuOpen()},r.onMenuClose=function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()},r.onInputChange=function(e,t){this.props.onInputChange(e,t)},r.focusInput=function(){this.inputRef&&this.inputRef.focus()},r.blurInput=function(){this.inputRef&&this.inputRef.blur()},r.openMenu=function(e){var t=this,n=this.state,a=n.selectValue,r=n.isFocused,i=this.buildMenuOptions(this.props,a),o=this.props.isMulti,l="first"===e?0:i.focusable.length-1;if(!o){var s=i.focusable.indexOf(a[0]);s>-1&&(l=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:i,focusedValue:null,focusedOption:i.focusable[l]},(function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu"})}))},r.focusValue=function(e){var t=this.props,n=t.isMulti,a=t.isSearchable,r=this.state,i=r.selectValue,o=r.focusedValue;if(n){this.setState({focusedOption:null});var l=i.indexOf(o);o||(l=-1,this.announceAriaLiveContext({event:"value"}));var s=i.length-1,c=-1;if(i.length){switch(e){case"previous":c=0===l?0:-1===l?s:l-1;break;case"next":l>-1&&l<s&&(c=l+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:i[c]})}}},r.focusOption=function(e){void 0===e&&(e="first");var t=this.props.pageSize,n=this.state,a=n.focusedOption,r=n.menuOptions.focusable;if(r.length){var i=0,o=r.indexOf(a);a||(o=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:Xl(r[i])}})}},r.getTheme=function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Ql):Zl({},Ql,this.props.theme):Ql},r.getCommonProps=function(){var e=this.clearValue,t=this.getStyles,n=this.setValue,a=this.selectOption,r=this.props,i=r.classNamePrefix,o=r.isMulti,l=r.isRtl,s=r.options,c=this.state.selectValue,u=this.hasValue();return{cx:Co.bind(null,i),clearValue:e,getStyles:t,getValue:function(){return c},hasValue:u,isMulti:o,isRtl:l,options:s,selectOption:a,setValue:n,selectProps:r,theme:this.getTheme()}},r.getNextFocusedValue=function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,a=t.selectValue.indexOf(n);if(a>-1){if(e.indexOf(n)>-1)return n;if(a<e.length)return e[a]}return null},r.getNextFocusedOption=function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]},r.hasValue=function(){return this.state.selectValue.length>0},r.hasOptions=function(){return!!this.state.menuOptions.render.length},r.countOptions=function(){return this.state.menuOptions.focusable.length},r.isClearable=function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t},r.isOptionDisabled=function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)},r.isOptionSelected=function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var a=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===a}))},r.filterOption=function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)},r.formatOptionLabel=function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:a})}return this.getOptionLabel(e)},r.formatGroupLabel=function(e){return this.props.formatGroupLabel(e)},r.startListeningComposition=function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))},r.stopListeningComposition=function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))},r.startListeningToTouch=function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))},r.stopListeningToTouch=function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))},r.constructAriaLiveMessage=function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,a=e.focusedValue,r=e.focusedOption,i=this.props,o=i.options,l=i.menuIsOpen,s=i.inputValue,c=i.screenReaderStatus;return(a?function(e){var t=e.focusedValue,n=e.getOptionLabel,a=e.selectValue;return"value "+n(t)+" focused, "+(a.indexOf(t)+1)+" of "+a.length+"."}({focusedValue:a,getOptionLabel:this.getOptionLabel,selectValue:n}):"")+" "+(r&&l?function(e){var t=e.focusedOption,n=e.getOptionLabel,a=e.options;return"option "+n(t)+" focused"+(t.isDisabled?" disabled":"")+", "+(a.indexOf(t)+1)+" of "+a.length+"."}({focusedOption:r,getOptionLabel:this.getOptionLabel,options:o}):"")+" "+function(e){var t=e.inputValue;return e.screenReaderMessage+(t?" for search term "+t:"")+"."}({inputValue:s,screenReaderMessage:c({count:this.countOptions()})})+" "+t},r.renderInput=function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,a=e.inputId,r=e.inputValue,i=e.tabIndex,o=this.components.Input,l=this.state.inputIsHidden,s=a||this.getElementId("input"),c={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!n)return Ii.a.createElement(Pl,Zl({id:s,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Eo,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:i,value:""},c));var u=this.commonProps,p=u.cx,d=u.theme,m=u.selectProps;return Ii.a.createElement(o,Zl({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:s,innerRef:this.getInputRef,isDisabled:t,isHidden:l,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:m,spellCheck:"false",tabIndex:i,theme:d,type:"text",value:r},c))},r.renderPlaceholderOrValue=function(){var e=this,t=this.components,n=t.MultiValue,a=t.MultiValueContainer,r=t.MultiValueLabel,i=t.MultiValueRemove,o=t.SingleValue,l=t.Placeholder,s=this.commonProps,c=this.props,u=c.controlShouldRenderValue,p=c.isDisabled,d=c.isMulti,m=c.inputValue,f=c.placeholder,b=this.state,g=b.selectValue,h=b.focusedValue,v=b.isFocused;if(!this.hasValue()||!u)return m?null:Ii.a.createElement(l,Zl({},s,{key:"placeholder",isDisabled:p,isFocused:v}),f);if(d)return g.map((function(t,o){var l=t===h;return Ii.a.createElement(n,Zl({},s,{components:{Container:a,Label:r,Remove:i},isFocused:l,isDisabled:p,key:e.getOptionValue(t),index:o,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var y=g[0];return Ii.a.createElement(o,Zl({},s,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))},r.renderClearIndicator=function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||a||!this.hasValue()||r)return null;var o={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Ii.a.createElement(e,Zl({},t,{innerProps:o,isFocused:i}))},r.renderLoadingIndicator=function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!e||!r)return null;return Ii.a.createElement(e,Zl({},t,{innerProps:{"aria-hidden":"true"},isDisabled:a,isFocused:i}))},r.renderIndicatorSeparator=function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var a=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused;return Ii.a.createElement(n,Zl({},a,{isDisabled:r,isFocused:i}))},r.renderDropdownIndicator=function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,a=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Ii.a.createElement(e,Zl({},t,{innerProps:r,isDisabled:n,isFocused:a}))},r.renderMenu=function(){var e=this,t=this.components,n=t.Group,a=t.GroupHeading,r=t.Menu,i=t.MenuList,o=t.MenuPortal,l=t.LoadingMessage,s=t.NoOptionsMessage,c=t.Option,u=this.commonProps,p=this.state,d=p.focusedOption,m=p.menuOptions,f=this.props,b=f.captureMenuScroll,g=f.inputValue,h=f.isLoading,v=f.loadingMessage,y=f.minMenuHeight,w=f.maxMenuHeight,k=f.menuIsOpen,_=f.menuPlacement,x=f.menuPosition,S=f.menuPortalTarget,E=f.menuShouldBlockScroll,T=f.menuShouldScrollIntoView,C=f.noOptionsMessage,M=f.onMenuScrollToTop,O=f.onMenuScrollToBottom;if(!k)return null;var L,D=function(t){var n=d===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,Ii.a.createElement(c,Zl({},u,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())L=m.render.map((function(t){if("group"===t.type){t.type;var r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,["type"]),i=t.key+"-heading";return Ii.a.createElement(n,Zl({},u,r,{Heading:a,headingProps:{id:i},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return D(e)})))}if("option"===t.type)return D(t)}));else if(h){var F=v({inputValue:g});if(null===F)return null;L=Ii.a.createElement(l,u,F)}else{var P=C({inputValue:g});if(null===P)return null;L=Ii.a.createElement(s,u,P)}var j={minMenuHeight:y,maxMenuHeight:w,menuPlacement:_,menuPosition:x,menuShouldScrollIntoView:T},N=Ii.a.createElement(Io,Zl({},u,j),(function(t){var n=t.ref,a=t.placerProps,o=a.placement,l=a.maxHeight;return Ii.a.createElement(r,Zl({},u,j,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:h,placement:o}),Ii.a.createElement(ql,{isEnabled:b,onTopArrive:M,onBottomArrive:O},Ii.a.createElement(Gl,{isEnabled:E},Ii.a.createElement(i,Zl({},u,{innerRef:e.getMenuListRef,isLoading:h,maxHeight:l}),L))))}));return S||"fixed"===x?Ii.a.createElement(o,Zl({},u,{appendTo:S,controlElement:this.controlRef,menuPlacement:_,menuPosition:x}),N):N},r.renderFormField=function(){var e=this,t=this.props,n=t.delimiter,a=t.isDisabled,r=t.isMulti,i=t.name,o=this.state.selectValue;if(i&&!a){if(r){if(n){var l=o.map((function(t){return e.getOptionValue(t)})).join(n);return Ii.a.createElement("input",{name:i,type:"hidden",value:l})}var s=o.length>0?o.map((function(t,n){return Ii.a.createElement("input",{key:"i-"+n,name:i,type:"hidden",value:e.getOptionValue(t)})})):Ii.a.createElement("input",{name:i,type:"hidden"});return Ii.a.createElement("div",null,s)}var c=o[0]?this.getOptionValue(o[0]):"";return Ii.a.createElement("input",{name:i,type:"hidden",value:c})}},r.renderLiveRegion=function(){return this.state.isFocused?Ii.a.createElement(Dl,{"aria-live":"polite"},Ii.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),Ii.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null},r.render=function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,a=e.SelectContainer,r=e.ValueContainer,i=this.props,o=i.className,l=i.id,s=i.isDisabled,c=i.menuIsOpen,u=this.state.isFocused,p=this.commonProps=this.getCommonProps();return Ii.a.createElement(a,Zl({},p,{className:o,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:u}),this.renderLiveRegion(),Ii.a.createElement(t,Zl({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:u,menuIsOpen:c}),Ii.a.createElement(r,Zl({},p,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),Ii.a.createElement(n,Zl({},p,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())},a}(Bi.Component);function rs(){return(rs=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)}as.defaultProps=ts;var is={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};Bi.Component;var os=function(e){var t,n;return n=t=function(t){var n,a;function r(){for(var e,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(e=t.call.apply(t,[this].concat(a))||this).select=void 0,e.state={inputValue:void 0!==e.props.inputValue?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:void 0!==e.props.menuIsOpen?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:void 0!==e.props.value?e.props.value:e.props.defaultValue},e.onChange=function(t,n){e.callProp("onChange",t,n),e.setState({value:t})},e.onInputChange=function(t,n){var a=e.callProp("onInputChange",t,n);e.setState({inputValue:void 0!==a?a:t})},e.onMenuOpen=function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})},e.onMenuClose=function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})},e}a=t,(n=r).prototype=Object.create(a.prototype),n.prototype.constructor=n,n.__proto__=a;var i=r.prototype;return i.focus=function(){this.select.focus()},i.blur=function(){this.select.blur()},i.getProp=function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]},i.callProp=function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return(t=this.props)[e].apply(t,a)}},i.render=function(){var t=this,n=this.props,a=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return Ii.a.createElement(e,rs({},a,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))},r}(Bi.Component),t.defaultProps=is,n}(as);const ls=wp.i18n.__,ss=wp.components.SelectControl,cs=wp.element;cs.Component,cs.Fragment;var us=function(e){const t=[{value:"",label:ls("Default"),weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Arial",label:"Arial",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Helvetica",label:"Helvetica",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Times New Roman",label:"Times New Roman",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Georgia",label:"Georgia",weight:["100","200","300","400","500","600","700","800","900"],google:!1}];let n="",a="";Object.keys(Yi).map((r,i)=>{t.push({value:r,label:r,weight:Yi[r].weight}),r===e.fontFamily.value&&(n=Yi[r].weight,a=Yi[r].subset)}),""===n&&(n=t[0].weight);const r={value:"default",label:ls("Default","blockspare")},i=[];n.forEach((function(e){i.push({value:e,label:e})})),i.unshift(r);const o=[];"object"==typeof a&&a.forEach((function(e){o.push({value:e,label:e})}));const l=(t,n,a)=>{let r,i;if("object"==typeof Yi[a]){const o=Yi[a].weight,l=Yi[a].subset;"object"==typeof o&&(o.forEach((function(n){if(t.value!=n)return i=n,r=!0,void e.setAttributes({[e.fontWeight.label]:i});r=!1})),l.forEach((function(t){if(n.value!=t)return i=t,r=!0,void e.setAttributes({[e.fontSubset.label]:i});r=!1})))}},s=(t,n)=>{let a;a=""==n||"object"==typeof Yi[n],e.setAttributes({[t.label]:a})};return wp.element.createElement("div",{className:"blockspare-typography-font-family-options"},wp.element.createElement("label",{className:"blockspare-typography-font-family-label"},ls("Font Family")),wp.element.createElement(os,{options:t,value:{value:e.fontFamily.value,label:e.fontFamily.value,weight:i},isMulti:!1,maxMenuHeight:300,onChange:t=>{const n=e.loadGoogleFonts,a=e.fontFamily,r=e.fontWeight,i=e.fontSubset;e.setAttributes({[a.label]:t.label}),s(n,t.label),l(r,i,t.label)},className:"react-select-container",classNamePrefix:"react-select"}),wp.element.createElement(ss,{label:ls("Font Weight"),value:e.fontWeight.value,onChange:t=>e.setAttributes({[e.fontWeight.label]:t}),options:i}),wp.element.createElement(ss,{label:ls("Font Subset"),value:e.fontSubset.value,onChange:t=>e.setAttributes({[e.fontSubset.label]:t}),options:o}))};const ps=wp.i18n.__,ds=wp.components.SelectControl,ms=wp.element,fs=ms.Component,bs=ms.Fragment;var gs=class extends fs{render(){const e=this.props,t=e.headerTagOption,n=e.setAttributes,a=[{value:"h1",label:ps("h1","blockspare")},{value:"h2",label:ps("h2","blockspare")},{value:"h3",label:ps("h3","blockspare")},{value:"h4",label:ps("h4","blockspare")},{value:"h5",label:ps("h5","blockspare")},{value:"h6",label:ps("h6","blockspare")}];return wp.element.createElement(bs,null,wp.element.createElement(ds,{label:"Title Tag",value:t,options:a.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>n({headerTagOption:e})}))}};const hs=wp.i18n.__,vs=wp.components,ys=vs.RangeControl,ws=vs.ButtonGroup,ks=vs.Button,_s=vs.TabPanel,xs=vs.Dashicon,Ss=wp.element,Es=(Ss.Component,Ss.Fragment);var Ts=function(e){let t;return t="sizeTypes"in e?e.sizeTypes:[{key:"px",name:hs("px")},{key:"em",name:hs("em")}],wp.element.createElement(ws,{className:"blockspare-size-type-field","aria-label":hs("Size Type")},zi()(t,({name:t,key:n})=>wp.element.createElement(ks,{key:n,className:"blockspare-size-btn",isSmall:!0,isPrimary:e.type.value===n,"aria-pressed":e.type.value===n,onClick:()=>e.setAttributes({[e.typeLabel]:n})},t))),wp.element.createElement("div",{className:"blockspare-typography-range-options"},wp.element.createElement("p",{className:"blockspare-font-size-title"},hs("Font Size","blockspare")),wp.element.createElement(_s,{className:"blockspare-size-type-field-tabs",activeClass:"active-tab",tabs:[{name:"desktop",title:wp.element.createElement(xs,{icon:"desktop"}),className:"blockspare-desktop-tab blockspare-responsive-tabs"},{name:"tablet",title:wp.element.createElement(xs,{icon:"tablet"}),className:"blockspare-tablet-tab blockspare-responsive-tabs"},{name:"mobile",title:wp.element.createElement(xs,{icon:"smartphone"}),className:"blockspare-mobile-tab blockspare-responsive-tabs"}]},t=>{let n;return n="mobile"===t.name?wp.element.createElement(Es,null,wp.element.createElement(ys,{value:e.sizeMobile.value,onChange:t=>e.setAttributes({[e.sizeMobileLabel]:t}),min:0,max:100,step:e.steps})):"tablet"===t.name?wp.element.createElement(Es,null,wp.element.createElement(ys,{value:e.sizeTablet.value,onChange:t=>e.setAttributes({[e.sizeTabletLabel]:t}),min:0,max:100,step:e.steps})):wp.element.createElement(Es,null,wp.element.createElement(ys,{value:e.size.value,onChange:t=>e.setAttributes({[e.sizeLabel]:t}),min:0,max:100,step:e.steps})),wp.element.createElement("div",null,n)}))};n(589);function Cs(){return(Cs=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)}const Ms=wp.i18n.__,Os=wp.components,Ls=Os.Button,Ds=Os.Dashicon,Fs=(Os.SelectControl,wp.element),Ps=Fs.Component,js=Fs.Fragment;var Ns=class extends Ps{constructor(){super(...arguments),this.onAdvancedControlClick=this.onAdvancedControlClick.bind(this)}onAdvancedControlClick(){let e=!0,t=Ms("Hide Advanced");null!==this.state&&!0===this.state.showAdvancedControls&&(e=!1,t=Ms("Advanced")),this.setState({showAdvancedControls:e,showAdvancedControlsLabel:t})}render(){let e,t,n,a,r,i,o;const l=this.props,s=l.disableTag,c=void 0===s||s,u=l.disableFontFamily,p=l.disableFontSize,d=l.disableLineHeight,m=l.disableAdvancedOptions,f=void 0!==m&&m;return!0!==u&&(a=wp.element.createElement(us,this.props)),1!=c&&(e=wp.element.createElement(gs,this.props)),!0!==d&&(n=wp.element.createElement(Ts,Cs({type:this.props.lineHeightType,typeLabel:this.props.lineHeightType.label,sizeMobile:this.props.lineHeightMobile,sizeMobileLabel:this.props.lineHeightMobile.label,sizeTablet:this.props.lineHeightTablet,sizeTabletLabel:this.props.lineHeightTablet.label,size:this.props.lineHeight,sizeLabel:this.props.lineHeight.label,sizeMobileText:Ms("Line Height"),sizeTabletText:Ms("Line Height"),sizeText:Ms("Line Height"),steps:1},this.props))),!0!==p&&(t=wp.element.createElement(Ts,Cs({type:this.props.fontSizeType,typeLabel:this.props.fontSizeType.label,sizeMobile:this.props.fontSizeMobile,sizeMobileLabel:this.props.fontSizeMobile.label,sizeTablet:this.props.fontSizeTablet,sizeTabletLabel:this.props.fontSizeTablet.label,size:this.props.fontSize,sizeLabel:this.props.fontSize.label,sizeMobileText:this.props.fontSizeLabel?this.props.fontSizeLabel:Ms("Font Size"),sizeTabletText:this.props.fontSizeLabel?this.props.fontSizeLabel:Ms("Font Size"),sizeText:this.props.fontSizeLabel?this.props.fontSizeLabel:Ms("Font Size"),steps:1},this.props))),!0!==u&&!0!==p?r=wp.element.createElement(Ls,{className:"blockspare-size-btn blockspare-typography-control-btn",isSmall:!0,"aria-pressed":null!==this.state,onClick:this.onAdvancedControlClick},wp.element.createElement(Ds,{icon:"admin-generic"})):o=wp.element.createElement(js,null,t,a,n),null!==this.state&&!0===this.state.showAdvancedControls&&(o=wp.element.createElement("div",{className:"blockspare-typography-advanced"},t,a,n)),!0!==u&&!0!==p&&(i=wp.element.createElement("div",{className:"blockspare-typography-option-actions"},wp.element.createElement("span",null,this.props.label),r,void 0)),wp.element.createElement("div",{className:"blockspare-typography-options"},!f&&wp.element.createElement(js,null,e,i,o))}};let zs=blockspare_globals.srcUrl+"/dist";var As=function({imageFile:e,imageHoverFile:t,imageWidth:n="",imageHeight:a="",label:r}){const i=e?e.match(/https?:/i)?e:zs?`${zs}/${e}`:e:"",o=t?t.match(/https?:/i)?t:zs?`${zs}/${t}`:t:null;return wp.element.createElement("span",{className:"blockspare-design-panel-item"},o&&wp.element.createElement("img",{className:"blockspare-design-panel-item__hover-image",src:o,alt:r,width:n,height:a}),i&&wp.element.createElement("img",{className:"blockspare-design-panel-item__image",src:i,alt:r,width:n,height:a}),wp.element.createElement("span",{className:"design-label"},r))};function Ys(){return(Ys=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 Bs(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 Is(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Rs=wp.components.RadioControl;var Hs=function(e){const t=e.selected,n=e.options,a=e.onChange,r=e.className,i=void 0===r?"":r,l=n.map(e=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bs(Object(n),!0).forEach((function(t){Is(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{label:wp.element.createElement(As,{imageFile:e.image,imageHoverFile:e.hoverImage,imageWidth:e.imageWidth,imageHeight:e.imageHeight,isPro:e.isPro,label:e.label}),title:e.label,value:e.value}));return wp.element.createElement("div",{className:o()(i,"blockspare-design-control-wrapper components-base-control")},wp.element.createElement("div",{className:"components-base-control__label"},e.label),wp.element.createElement(Rs,Ys({},Qa()(e,["label"]),{className:"blockspare-design-control",selected:t,options:l,onChange:a})))};function Ws(){return(Ws=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)}const Us=wp.i18n.__,Gs=wp.components.BaseControl,Vs=wp.hooks.applyFilters,qs={"double-wave":{image:"images/double-wave.png",label:Us("Double Wave","blockspare"),value:"double-wave"},wavy:{image:"images/wavy.png",label:Us("Wavy","blockspare"),value:"wavy"},sloped:{image:"images/sloped.png",label:Us("Sloped","blockspare"),value:"sloped"},grow:{image:"images/grow.png",label:Us("Grow","blockspare"),value:"grow"},angled:{image:"images/angled.png",label:Us("Angled","blockspare"),value:"angled"}},$s=e=>{const t=Object.keys(qs).filter(t=>!e.excludeDesigns.includes(t)).map(e=>qs[e]);return wp.element.createElement(Gs,{className:"blockspare-design-separator-control",id:"blockspare-design-separator-control",label:e.label,help:e.help},wp.element.createElement(Hs,Ws({options:Vs("blockspare.separator.edit.layouts",t,e)},Qa()(e,["label","help"]))))};$s.defaultProps={label:"",help:"",excludeDesigns:[]};var Js=$s;function Xs(){return(Xs=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)}const Ks=wp.i18n.__,Qs="blockspare".i18n,Zs=wp.components.PanelBody;var ec=function(e){const t=e.options,n=e.selected,a=e.title,r=void 0===a?Ks("Layout",Qs):a,i=e.selectedOptionInTitle,l=void 0===i||i,s=e.help,c=void 0===s?"":s,u=e.className,p=void 0===u?"":u,d=e.initialOpen,m=void 0===d||d,f=t?t.find(e=>e.value===n):null,b=f?`${r} – ${f.label}`:r,g=o()(["blockspare-design-panel-body",p]);return wp.element.createElement(Zs,Xs({title:l?wp.element.createElement("span",null,b):r,className:g,initialOpen:m},Qa()(e,["help"])),c&&wp.element.createElement("p",{className:"components-base-control__help"},c),t&&wp.element.createElement(Hs,Qa()(e,["help","title"])),e.children)};const tc=wp.hooks.applyFilters,nc=wp.i18n.__;function ac(e){const t=e.headerlayoutOption,n=e.onChangeHeaderLayput,a=void 0===n?()=>{}:n;return wp.element.createElement(ec,{initialOpen:!1,selected:t,options:tc("blockspare.cta.edit.layouts",[{label:nc("Layout 1","blockspare"),value:"blockspare-style1",image:"images/blockspare-header-layout-1.png"},{label:nc("Layout 2","blockspare"),value:"blockspare-style2",image:"images/blockspare-header-layout-2.png"},{label:nc("Layout 3","blockspare"),value:"blockspare-style3",image:"images/blockspare-header-layout-3.png"}]),onChange:a})}const rc=wp.i18n.__,ic=wp.element.Component,oc=wp.blockEditor,lc=oc.InspectorControls,sc=oc.MediaUpload,cc=oc.PanelColorSettings,uc=wp.components,pc=uc.RangeControl,dc=uc.PanelBody,mc=uc.IconButton,fc=uc.ToggleControl;uc.SelectControl;class bc extends ic{render(){const e=this.props,t=e.attributes,n=t.opacityRatio,a=t.ctaBackGroundColor,r=t.showImage,i=t.imgURL,o=t.imgID,l=t.imgAlt,s=t.buttonBackgroundColor,c=t.buttonTextColor,u=t.buttonSize,p=t.buttonStyle,d=t.buttonShape,m=t.buttonTarget,f=t.paddingTop,b=t.paddingRight,g=t.paddingBottom,h=t.paddingLeft,v=t.marginTop,y=t.marginBottom,w=t.titleFontSize,k=(t.subtitleFontSize,t.headerTagOption),_=t.headertitleColor,S=t.headersubtitleColor,E=t.headerlayoutOption,T=t.titlePaddingTop,C=t.titlePaddingBottom,M=t.subtitlePaddingTop,O=t.subtitlePaddingBottom,L=t.headerboxColor,D=t.dashColor,F=t.borderColor,P=t.borderBtnTextColor,j=(t.backgroundFix,t.enableGradient),N=t.backgroundColor1,z=t.backgroundColor2,A=t.gradientAngle,Y=t.colorLocation1,B=t.colorLocation2,I=(t.borderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.btnFontWeight),R=t.btnBorderWidth,H=t.buttonHoverEffect,W=t.titleLoadGoogleFonts,U=t.titleFontFamily,G=t.titleFontWeight,V=t.titleFontSubset,q=t.titleFontSizeType,$=t.titleFontSizeMobile,J=t.titleFontSizeTablet,X=t.subTitleFontSize,K=t.subTitleLoadGoogleFonts,Q=t.subTitleFontFamily,Z=t.subTitleFontWeight,ee=t.subTitleFontSubset,te=t.subTitleFontSizeType,ne=t.subTitleFontSizeMobile,ae=t.subTitleFontSizeTablet,re=t.buttonFontSize,ie=t.buttonFontFamily,oe=t.buttonFontWeight,le=t.buttonFontSubset,se=t.buttonFontSizeType,ce=t.buttonFontSizeMobile,ue=t.buttonFontSizeTablet,pe=t.buttonLoadGoogleFonts,de=e.attributes,me=e.setAttributes,fe=()=>{me({imgID:null,imgURL:null,imgAlt:null})};rc("Layout 1","blockspare"),rc("Layout 2","blockspare"),rc("Layout 3","blockspare");return wp.element.createElement(lc,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"call-to-action"}),wp.element.createElement(dc,{title:rc("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(ac,{headerlayoutOption:E,onChangeHeaderLayput:e=>me({headerlayoutOption:e})}),wp.element.createElement(dc,{title:rc("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:rc("Title Fonts Settings"),attributes:de,setAttributes:me,loadGoogleFonts:{value:W,label:rc("titleLoadGoogleFonts")},fontFamily:{value:U,label:rc("titleFontFamily")},fontWeight:{value:G,label:rc("titleFontWeight")},fontSubset:{value:V,label:rc("titleFontSubset")},fontSizeType:{value:q,label:rc("titleFontSizeType")},fontSize:{value:w,label:rc("titleFontSize")},fontSizeMobile:{value:$,label:rc("titleFontSizeMobile")},fontSizeTablet:{value:J,label:rc("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:k}),wp.element.createElement(Ns,{label:rc("Subtitle Fonts Settings"),attributes:de,setAttributes:me,loadGoogleFonts:{value:K,label:rc("subTitleLoadGoogleFonts")},fontFamily:{value:Q,label:rc("subTitleFontFamily")},fontWeight:{value:Z,label:rc("subTitleFontWeight")},fontSubset:{value:ee,label:rc("subTitleFontSubset")},fontSizeType:{value:te,label:rc("subTitleFontSizeType")},fontSize:{value:X,label:rc("subTitleFontSize")},fontSizeMobile:{value:ne,label:rc("subTitleFontSizeMobile")},fontSizeTablet:{value:ae,label:rc("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),wp.element.createElement(ji,{enableBlockGaps:!1,headerboxColor:L,onChangeboxcolor:e=>me({headerboxColor:e}),dashColor:D,headerlayoutOption:E,onChangeDashColor:e=>me({dashColor:e}),headertitleColor:_,onChangetitlecolor:e=>me({headertitleColor:e}),titlePaddingTop:T,onChangetitlePaddingTop:e=>me({titlePaddingTop:e}),titlePaddingBottom:C,onChangetitlePaddingBottom:e=>me({titlePaddingBottom:e}),headersubtitleColor:S,onChangesubtitlecolor:e=>me({headersubtitleColor:e}),subtitlePaddingTop:M,onChangesubtitlePaddingTop:e=>me({subtitlePaddingTop:e}),subtitlePaddingBottom:O,onChangesubtitlePaddingBottom:e=>me({subtitlePaddingBottom:e})})),wp.element.createElement(dc,{title:rc("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(Se,{enableButtonTarget:!1,buttonTarget:m,onChangeButtonTarget:e=>me({buttonTarget:!m}),enableGradient:j,onChangeGradient:e=>me({enableGradient:e}),enableButtonSize:!0,buttonSize:u,onChangeButtonSize:e=>me({buttonSize:e}),enableButtonShape:!0,buttonShape:d,onChangeButtonShape:e=>me({buttonShape:e}),buttonBackgroundColor:s,onChangeButtonColor:e=>me({buttonBackgroundColor:e}),buttonTextColor:c,onChangeButtonTextColor:e=>me({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:p,onChangeBorderStyle:e=>me({buttonStyle:e}),buttonHoverEffect:H,onchangeButtonHoverEffect:e=>me({buttonHoverEffect:e}),borderColor:F,onchangeBorderColor:e=>me({borderColor:e}),borderBtnTextColor:P,onChangeBorderBtnTextColor:e=>me({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:R,onchangebtnBorderWidth:e=>me({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:I,onchangeBtnFontWeight:e=>me({btnFontWeight:e})}),wp.element.createElement(dc,{title:rc(" Typography","blockspare"),initialOpen:!0},wp.element.createElement(Ns,{label:rc("Button Fonts Settings"),attributes:de,setAttributes:me,loadGoogleFonts:{value:pe,label:rc("buttonLoadGoogleFonts")},fontFamily:{value:ie,label:rc("buttonFontFamily")},fontWeight:{value:oe,label:rc("buttonFontWeight")},fontSubset:{value:le,label:rc("buttonFontSubset")},fontSizeType:{value:se,label:rc("buttonFontSizeType")},fontSize:{value:re,label:rc("buttonFontSize")},fontSizeMobile:{value:ce,label:rc("buttonFontSizeMobile")},fontSizeTablet:{value:ue,label:rc("buttonFontSizeTablet")},disableLineHeight:!0})),"none"===p&&wp.element.createElement(fc,{label:rc("Enable Gradient","blockspare"),checked:j,onChange:()=>this.props.setAttributes({enableGradient:!j})}),j&&"none"===p&&wp.element.createElement(dc,{title:rc("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Oe,{backgroundColor1:N,onChangeBackgroundColor1:e=>me({backgroundColor1:e}),backgroundColor2:z,onChangeBackgroundColor2:e=>me({backgroundColor2:e}),gradientAngle:A,onChangeGradientAngle:e=>me({gradientAngle:e}),colorLocation1:Y,onChangeColorLocation1:e=>me({colorLocation1:e}),colorLocation2:B,onChangeColorLocation2:e=>me({colorLocation2:e})}))),wp.element.createElement(dc,{title:rc("Background Settings","blockspare"),initialOpen:!1},wp.element.createElement(fc,{label:rc("Display Image","blockspare"),checked:r,onChange:()=>this.props.setAttributes({showImage:!r})}),1==r&&wp.element.createElement("div",null,wp.element.createElement(sc,{onSelect:e=>{me({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:o,render:({open:e})=>wp.element.createElement("div",null,wp.element.createElement(mc,{className:"aft-cta-inspector-media",label:rc("Edit image","blockspare"),icon:"format-image",onClick:e},rc("Select Image","blockspare")),i&&!!i.length&&wp.element.createElement(mc,{className:"blockspare-cta-inspector-media",label:rc("Remove Image","blockspare"),icon:"dismiss",onClick:fe},rc("Remove","blockspare")))}),wp.element.createElement("div",null,i&&!!i.length&&wp.element.createElement("img",{src:i,width:"100px",height:"100px",alt:l}))),i&&!!i.length&&1==r&&wp.element.createElement(pc,{label:rc("Image Opacity","blockspare"),value:n,onChange:e=>this.props.setAttributes({opacityRatio:e}),min:0,max:100,step:10}),wp.element.createElement(cc,{title:rc("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:a,onChange:e=>me({ctaBackGroundColor:e}),label:rc("Background Color","blockspare")}]})),wp.element.createElement(dc,{title:rc("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(dc,{title:rc("Padding Settings","blockspare"),initialOpen:!0},wp.element.createElement(Pe,{paddingEnableTop:!0,paddingTop:f,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>me({paddingTop:e}),paddingEnableRight:!0,paddingRight:b,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>me({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:g,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>me({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:h,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>me({paddingLeft:e})})),wp.element.createElement(dc,{title:rc("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:v,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>me({marginTop:e}),marginEnableBottom:!0,marginBottom:y,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>me({marginBottom:e})})))))}}const gc=wp.i18n.__,hc=wp.element,vc=hc.Component,yc=hc.Fragment,wc=wp.editor,kc=wc.RichText;wc.getFontSizeClass,wc.getColorClassName;class _c extends vc{render(){const e=this.props,t=(e.align,e.sectionAlignment,e.headerTitle),n=e.headerTagOption,a=e.headerSubTitle,r=e.setAttributes,i=(e.isSelected,e.titleLoadGoogleFonts),o=e.titleFontFamily,l=e.titleFontWeight,s=(e.titleFontSubset,e.subTitleLoadGoogleFonts),c=e.subTitleFontFamily,u=e.subTitleFontWeight;let p,d;if(1==i){const e={google:{families:[o+(l?":"+l:"")]}};p=wp.element.createElement(Fr,{config:e})}if(1==s){const e={google:{families:[c+(u?":"+u:"")]}};d=wp.element.createElement(Fr,{config:e})}return wp.element.createElement(yc,null,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash"}),wp.element.createElement(kc,{tagName:n,placeholder:gc("Title","blockspare"),keepPlaceholderOnFocus:!0,value:t,className:"blockspare-title",onChange:e=>r({headerTitle:e})}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash"})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash"}),wp.element.createElement(kc,{tagName:"p",placeholder:gc("Sub Title","blockspare"),keepPlaceholderOnFocus:!0,value:a,className:"blockspare-subtitle",onChange:e=>r({headerSubTitle:e})}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash"}),p,d))}}var xc=e=>{let t="";return e.enableBoxShadow&&(t={boxShadow:e.xOffset+"px "+e.yOffset+"px "+e.blur+"px "+e.spread+"px "+e.shadowColor}),t};var Sc=e=>{let t="";return t={textAlign:e.sectionAlignment,paddingTop:e.paddingTop?e.paddingTop+"px":"0px",paddingRight:e.paddingRight?e.paddingRight+"px":"0px",paddingBottom:e.paddingBottom?e.paddingBottom+"px":"0px",paddingLeft:e.paddingLeft?e.paddingLeft+"px":"0px",marginTop:e.marginTop?e.marginTop+"px":"0px",marginBottom:e.marginBottom?e.marginBottom+"px":"0px"},t};function Ec(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 Tc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ec(Object(n),!0).forEach((function(t){Cc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ec(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Cc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mc=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.ctaBackGroundColor,r=t.borderRadius,i=t.headertitleColor,o=t.titleFontSize,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.headersubtitleColor,u=(t.subtitleFontSize,t.subtitlePaddingTop),p=t.subtitlePaddingBottom,d=t.dashColor,m=t.headerboxColor,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=t.subTitleFontSize,w=t.subTitleFontFamily,k=t.subTitleFontWeight,_=(t.subTitleFontSubset,t.subTitleFontSizeType),x=t.subTitleFontSizeMobile,S=t.subTitleFontSizeTablet,E=t.headerpaddingTop,T=t.headerpaddingRight,C=t.headerpaddingBottom,M=t.headerpaddingLeft,O=t.headermarginTop,L=t.headermarginBottom,D=t.buttonStyle,F=t.enableGradient,P=t.backgroundColor1,j=t.backgroundColor2,N=t.gradientAngle,z=t.colorLocation1,A=t.colorLocation2,Y=(t.btnFontWeight,t.btnBorderWidth),B=t.borderColor,I=t.buttonBackgroundColor,R=t.borderBtnTextColor,H=t.buttonTextColor,W=t.buttonFontSize,U=t.buttonFontFamily,G=t.buttonFontWeight,V=t.buttonFontSizeType,q=t.buttonFontSizeMobile,$=t.buttonFontSizeTablet,J=[];if(J.push({".blockspare-cta-wrapper":Tc({backgroundColor:a||"#0e0e0e"},xc(e.attributes),{},Sc(e.attributes),{borderRadius:r?r+"px":null})}),"none"===D)if(1==F){const e=N+"deg",t=z+"%",n=A+"%";J.push({".blockspare-block-button span":{color:H||"#fff",borderWidth:Y+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${P||"#3B1A5B"} ${t},${j||"#8B249C"} ${n})`}})}else J.push({".blockspare-block-button span":{color:H||"#fff",borderWidth:Y+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:I||"#3c1a5b"}});else J.push({".blockspare-block-button span":{color:R||"#404040"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent",borderColor:B||"#3c1a5b",borderStyle:D,borderWidth:Y+"px"}});return J.push({".blockspare-block-button span":{fontSize:W+V,fontFamily:U,fontWeight:G},tablet:{".blockspare-block-button span":{fontSize:$+V}},mobile:{".blockspare-block-button span":{fontSize:q+V}}}),J.push({".blockspare-section-head-wrap":{backgroundColor:m||"transparent",textAlign:n,paddingTop:E+"px",paddingRight:T+"px",paddingBottom:C+"px",marginTop:O+"px",marginBottom:L+"px",paddingLeft:M+"px"}}),J.push({".blockspare-title":{color:i,fontSize:o+g+"!important",fontFamily:f+"!important",fontWeight:b+"!important",paddingTop:l+"px ",paddingBottom:s+"px"},".blockspare-subtitle":{color:c,fontSize:y+_+"!important",fontFamily:w+"!important",fontWeight:k+"!important",paddingTop:u+"px",paddingBottom:p+"px"},".blockspare-title-dash":{color:d},tablet:{".blockspare-title":{fontSize:v+g+"!important"},".blockspare-subtitle":{fontSize:S+_+"!important"}},mobile:{".blockspare-title":{fontSize:h+g+"!important"},".blockspare-subtitle":{fontSize:x+_+"!important"}}}),wr.a.all(J)};function Oc(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 Lc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Dc=blockspare_globals,Fc=wp.element,Pc=Fc.Component,jc=Fc.Fragment,Nc=wp.compose.compose,zc=wp.i18n.__,Ac=wp.blockEditor,Yc=Ac.AlignmentToolbar,Bc=Ac.URLInput,Ic=Ac.BlockControls,Rc=Ac.BlockAlignmentToolbar,Hc=Ac.RichText,Wc=wp.components,Uc=Wc.IconButton,Gc=Wc.Dashicon;var Vc=Nc(vr,br(Mc))(class extends Pc{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonAlignment,l=t.buttonSize,s=t.buttonShape,c=t.showImage,u=t.imgURL,p=t.sectionAlignment,d=t.backgroundFix,m=(t.imgAlt,t.opacityRatio),f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,v=t.headerlayoutOption,y=(t.profileContentFontSize,t.titleLoadGoogleFonts),w=t.titleFontFamily,k=t.titleFontWeight,_=t.subTitleLoadGoogleFonts,x=t.subTitleFontFamily,S=t.subTitleFontWeight,E=t.buttonLoadGoogleFonts,T=t.buttonFontFamily,C=t.buttonFontWeight,M=e.className,O=e.isSelected,L=(e.attributes,e.setAttributes);let D="url("+Dc.img+")";u&&u.length&&(D="url("+u+")");const F=o()([M,"align"+n,"blockspare-calltoaction"]);let P;if(1==E){const e={google:{families:[T+(C?":"+C:"")]}};P=wp.element.createElement(Fr,{config:e})}return wp.element.createElement(jc,null,wp.element.createElement(Ic,null,wp.element.createElement(Rc,{value:n,onChange:e=>{L({align:e})},controls:["center","wide","full"]}),wp.element.createElement(Yc,{value:p,onChange:e=>{L({sectionAlignment:e})}})),wp.element.createElement(bc,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oc(Object(n),!0).forEach((function(t){Lc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:L},this.props)),wp.element.createElement("div",{className:F},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-cta-wrapper blockspare-blocks","align"+n,u&&u.length&&d?"blockspare-background-fix":"")},c&&u&&wp.element.createElement("div",{className:o()("blockspare-image-wrap","blockspare-cta-background",(j=m,0===j?null:"has-background-opacity-"+10*Math.round(j/10)),{"has-background-opacity":0!==m}),style:{backgroundImage:D}}),!u&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",v,"blockspare-"+p)},wp.element.createElement(_c,{setAttributes:L,headerTitle:b,headerTagOption:f,headerSubTitle:g,titleFontFamily:w,titleFontWeight:k,titleLoadGoogleFonts:y,subTitleLoadGoogleFonts:_,subTitleFontFamily:x,subTitleFontWeight:S}))),wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement("a",{href:"#"},wp.element.createElement(Hc,{tagName:"span",placeholder:zc("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:""+a,allowedFormats:[],className:o()("blockspare-button",s,l,h),onChange:e=>L({buttonText:e})}))),O&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+i,onSubmit:e=>e.preventDefault()},wp.element.createElement(Gc,{icon:"admin-links"}),wp.element.createElement(Bc,{className:"button-url",value:r,onChange:e=>L({buttonUrl:e})}),wp.element.createElement(Uc,{icon:"editor-break",label:zc("Apply","blockspare"),type:"submit"})))),P);var j}});const qc=wp.element,$c=qc.Component,Jc=qc.Fragment,Xc=wp.editor,Kc=Xc.RichText;Xc.getFontSizeClass,Xc.getColorClassName;class Qc extends $c{render(){const e=this.props,t=(e.align,e.headerTitle),n=e.headerTagOption,a=e.headerSubTitle;return wp.element.createElement(Jc,null,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash"}),t&&wp.element.createElement(Kc.Content,{tagName:n,className:"blockspare-title",value:t}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash"})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash"}),a&&wp.element.createElement(Kc.Content,{tagName:"p",className:"blockspare-subtitle",value:a}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash"})))}}const Zc=blockspare_globals,eu=wp.element.Component,tu=(wp.i18n.__,wp.compose.compose),nu=wp.blockEditor.RichText;var au=tu(vr,br(Mc))(class extends eu{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.opacityRatio,u=t.sectionAlignment,p=t.showImage,d=t.imgURL,m=t.headerlayoutOption,f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,v=t.backgroundFix,y=e.className;e.attributes;let w="url("+Zc.img+")";d&&d.length&&(w="url("+d+")");const k=o()([y,"align"+n,"blockspare-calltoaction"]);return wp.element.createElement("div",{className:k},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-cta-wrapper blockspare-blocks",d&&d.length&&v?"blockspare-background-fix":"")},p&&d&&wp.element.createElement("div",{className:o()("blockspare-image-wrap","blockspare-cta-background",(_=c,0===_?null:"has-background-opacity-"+10*Math.round(_/10)),{"has-background-opacity":0!==c}),style:{backgroundImage:w}}),!d&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",m,"blockspare-"+u)},wp.element.createElement(Qc,{headerTitle:b,headerTagOption:f,headerSubTitle:g}))),wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,h)},wp.element.createElement(nu.Content,{tagName:"span",value:a})))));var _}});var ru=n(307);var iu=e=>{let t="";return t={borderColor:e.dashColor?e.dashColor:"#8b249c"},t};var ou=e=>{let t="";return t={color:e.headertitleColor?e.headertitleColor:"#404040",fontSize:e.titleFontSize+"px",paddingTop:e.titlePaddingTop?e.titlePaddingTop+"px":"0px",paddingBottom:e.titlePaddingBottom?e.titlePaddingBottom+"px":"0px"},t};var lu=e=>{let t="";return t={fontSize:e.subtitleFontSize+"px",color:e.headersubtitleColor?e.headersubtitleColor:"#6d6d6d",paddingTop:e.subtitlePaddingTop?e.subtitlePaddingTop+"px":void 0,paddingBottom:e.subtitlePaddingBottom?e.subtitlePaddingBottom+"px":void 0},t};var su=e=>{let t="";if("none"===e.buttonStyle)if(1==e.enableGradient){const n=e.gradientAngle+"deg",a=e.colorLocation1+"%",r=e.colorLocation2+"%";t={backgroundImage:`linear-gradient(${n},${e.backgroundColor1?e.backgroundColor1:"#3B1A5B"} ${a},${e.backgroundColor2?e.backgroundColor2:"#8B249C"} ${r})`,color:e.buttonTextColor?e.buttonTextColor:"#fff",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"}}else t={color:e.buttonTextColor?e.buttonTextColor:"#fff",backgroundColor:e.buttonBackgroundColor?e.buttonBackgroundColor:"#3c1a5b",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};else t={color:e.borderBtnTextColor?e.borderBtnTextColor:"#404040",backgroundColor:"transparent",borderColor:e.borderColor?e.borderColor:"#3c1a5b",borderStyle:e.buttonStyle,fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};return t};function cu(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 uu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pu=wp.element.Component;class du extends pu{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cu(Object(n),!0).forEach((function(t){uu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({backgroundColor:e.ctaBackGroundColor?e.ctaBackGroundColor:"#0e0e0e"},xc(e),{},Sc(e),{borderRadius:e.borderRadius?e.borderRadius:null});return wp.element.createElement("div",{className:o()("blockspare-cta-wrapper blockspare-blocks","align"+e.align,e.imgURL&&e.imgURL.length&&e.backgroundFix?"blockspare-background-fix":""),style:t},this.props.children)}}var mu=e=>{let t="";return t={textAlign:e.sectionAlignment,paddingTop:e.headerpaddingTop?e.headerpaddingTop+"px":"0px",paddingRight:e.headerpaddingRight?e.headerpaddingRight+"px":"0px",paddingBottom:e.headerpaddingBottom?e.headerpaddingBottom+"px":"0px",marginTop:e.headermarginTop?e.headermarginTop+"px":"0px",marginBottom:e.headermarginBottom?e.headermarginBottom+"px":"0px",paddingLeft:e.headerpaddingLeft?e.headerpaddingLeft+"px":"0px",backgroundColor:e.headerboxColor?e.headerboxColor:"transparent"},t};function fu(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 bu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gu=wp.element.Component;class hu extends gu{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerlayoutOption,i=e.attributes,l=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fu(Object(n),!0).forEach((function(t){bu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},mu(i)));return wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+n),style:l},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",r,"blockspare-"+a)},this.props.children))}}const vu=wp.element.Component;class yu extends vu{constructor(e){super(...arguments)}render(){return wp.element.createElement("div",{style:{textAlign:this.props.attributes.sectionAlignment},className:o()(this.props.className,"blockspare-block-button")},this.props.children)}}function wu(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 ku(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wu(Object(n),!0).forEach((function(t){_u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xu=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.ctaBackGroundColor,r=t.borderRadius,i=t.headertitleColor,o=t.titleFontSize,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.headersubtitleColor,u=(t.subtitleFontSize,t.subtitlePaddingTop),p=t.subtitlePaddingBottom,d=t.dashColor,m=t.headerboxColor,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=t.subTitleFontSize,w=t.subTitleFontFamily,k=t.subTitleFontWeight,_=(t.subTitleFontSubset,t.subTitleFontSizeType),x=t.subTitleFontSizeMobile,S=t.subTitleFontSizeTablet,E=t.headerpaddingTop,T=t.headerpaddingRight,C=t.headerpaddingBottom,M=t.headerpaddingLeft,O=t.headermarginTop,L=t.headermarginBottom,D=[];return D.push({".blockspare-cta-wrapper":ku({backgroundColor:a||"#0e0e0e"},xc(e.attributes),{},Sc(e.attributes),{borderRadius:r?r+"px":null}),".blockspare-button":ku({},Qr(e.attributes))}),D.push({".blockspare-section-head-wrap":{backgroundColor:m||"transparent",textAlign:n,paddingTop:E+"px",paddingRight:T+"px",paddingBottom:C+"px",marginTop:O+"px",marginBottom:L+"px",paddingLeft:M+"px"}}),D.push({".blockspare-title":{color:i,fontSize:o+g+"!important",fontFamily:f+"!important",fontWeight:b+"!important",paddingTop:l+"px ",paddingBottom:s+"px"},".blockspare-subtitle":{color:c,fontSize:y+_+"!important",fontFamily:w+"!important",fontWeight:k+"!important",paddingTop:u+"px",paddingBottom:p+"px"},".blockspare-title-dash":{color:d},tablet:{".blockspare-title":{fontSize:v+g+"!important"},".blockspare-subtitle":{fontSize:S+_+"!important"}},mobile:{".blockspare-title":{fontSize:h+g+"!important"},".blockspare-subtitle":{fontSize:x+_+"!important"}}}),wr.a.all(D)};const Su=blockspare_globals,Eu=wp.element.Component,Tu=(wp.i18n.__,wp.compose.compose),Cu=wp.blockEditor.RichText;var Mu=Tu(vr,br(xu))(class extends Eu{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.opacityRatio,u=t.sectionAlignment,p=t.showImage,d=t.imgURL,m=t.headerlayoutOption,f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,v=t.backgroundFix,y=e.className;e.attributes;let w="url("+Su.img+")";d&&d.length&&(w="url("+d+")");const k=o()([y,"align"+n,"blockspare-calltoaction"]);return wp.element.createElement("div",{className:k},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-cta-wrapper blockspare-blocks",d&&d.length&&v?"blockspare-background-fix":"")},p&&wp.element.createElement("div",{className:o()("blockspare-image-wrap","blockspare-cta-background",(_=c,0===_?null:"has-background-opacity-"+10*Math.round(_/10)),{"has-background-opacity":0!==c}),style:{backgroundImage:w}}),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",m,"blockspare-"+u)},wp.element.createElement(Qc,{headerTitle:b,headerTagOption:f,headerSubTitle:g}))),wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,h)},wp.element.createElement(Cu.Content,{value:a})))));var _}});function Ou(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 Lu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ou(Object(n),!0).forEach((function(t){Du(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ou(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Du(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fu=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.ctaBackGroundColor,r=t.borderRadius,i=t.headertitleColor,o=t.titleFontSize,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.headersubtitleColor,u=(t.subtitleFontSize,t.subtitlePaddingTop),p=t.subtitlePaddingBottom,d=t.dashColor,m=t.headerboxColor,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=t.subTitleFontSize,w=t.subTitleFontFamily,k=t.subTitleFontWeight,_=(t.subTitleFontSubset,t.subTitleFontSizeType),x=t.subTitleFontSizeMobile,S=t.subTitleFontSizeTablet,E=t.headerpaddingTop,T=t.headerpaddingRight,C=t.headerpaddingBottom,M=t.headerpaddingLeft,O=t.headermarginTop,L=t.headermarginBottom,D=[];return D.push({".blockspare-cta-wrapper":Lu({backgroundColor:a||"#0e0e0e"},xc(e.attributes),{},Sc(e.attributes),{borderRadius:r?r+"px":null}),".blockspare-button":Lu({},Zr(e.attributes))}),D.push({".blockspare-section-head-wrap":{backgroundColor:m||"transparent",textAlign:n,paddingTop:E+"px",paddingRight:T+"px",paddingBottom:C+"px",marginTop:O+"px",marginBottom:L+"px",paddingLeft:M+"px"}}),D.push({".blockspare-title":{color:i,fontSize:o+g+"!important",fontFamily:f+"!important",fontWeight:b+"!important",paddingTop:l+"px ",paddingBottom:s+"px"},".blockspare-subtitle":{color:c,fontSize:y+_+"!important",fontFamily:w+"!important",fontWeight:k+"!important",paddingTop:u+"px",paddingBottom:p+"px"},".blockspare-title-dash":{color:d},tablet:{".blockspare-title":{fontSize:v+g+"!important"},".blockspare-subtitle":{fontSize:S+_+"!important"}},mobile:{".blockspare-title":{fontSize:h+g+"!important"},".blockspare-subtitle":{fontSize:x+_+"!important"}}}),wr.a.all(D)};const Pu=blockspare_globals,ju=wp.element.Component,Nu=(wp.i18n.__,wp.compose.compose),zu=wp.blockEditor.RichText;var Au=Nu(vr,br(Fu))(class extends ju{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.opacityRatio,u=t.sectionAlignment,p=t.showImage,d=t.imgURL,m=t.headerlayoutOption,f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,v=t.backgroundFix,y=e.className;e.attributes;let w="url("+Pu.img+")";d&&d.length&&(w="url("+d+")");const k=o()([y,"align"+n,"blockspare-calltoaction"]);return wp.element.createElement("div",{className:k},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-cta-wrapper blockspare-blocks",d&&d.length&&v?"blockspare-background-fix":"")},p&&wp.element.createElement("div",{className:o()("blockspare-image-wrap","blockspare-cta-background",(_=c,0===_?null:"has-background-opacity-"+10*Math.round(_/10)),{"has-background-opacity":0!==c}),style:{backgroundImage:w}}),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",m,"blockspare-"+u)},wp.element.createElement(Qc,{headerTitle:b,headerTagOption:f,headerSubTitle:g}))),wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,h)},wp.element.createElement(zu.Content,{value:a})))));var _}});function Yu(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 Bu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yu(Object(n),!0).forEach((function(t){Iu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Iu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ru=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.ctaBackGroundColor,r=t.borderRadius,i=t.headertitleColor,o=t.titleFontSize,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.headersubtitleColor,u=(t.subtitleFontSize,t.subtitlePaddingTop),p=t.subtitlePaddingBottom,d=t.dashColor,m=t.headerboxColor,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=t.subTitleFontSize,w=t.subTitleFontFamily,k=t.subTitleFontWeight,_=(t.subTitleFontSubset,t.subTitleFontSizeType),x=t.subTitleFontSizeMobile,S=t.subTitleFontSizeTablet,E=t.headerpaddingTop,T=t.headerpaddingRight,C=t.headerpaddingBottom,M=t.headerpaddingLeft,O=t.headermarginTop,L=t.headermarginBottom,D=t.buttonStyle,F=t.enableGradient,P=t.backgroundColor1,j=t.backgroundColor2,N=t.gradientAngle,z=t.colorLocation1,A=t.colorLocation2,Y=t.btnFontWeight,B=t.btnBorderWidth,I=t.borderColor,R=t.buttonBackgroundColor,H=t.borderBtnTextColor,W=t.buttonTextColor,U=[];if(U.push({".blockspare-cta-wrapper":Bu({backgroundColor:a||"#0e0e0e"},xc(e.attributes),{},Sc(e.attributes),{borderRadius:r?r+"px":null})}),"none"===D)if(1==F){const e=N+"deg",t=z+"%",n=A+"%";U.push({".blockspare-block-button span":{color:W||"#fff",fontWeight:Y,borderWidth:B+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${P||"#3B1A5B"} ${t},${j||"#8B249C"} ${n})`}})}else U.push({".blockspare-block-button span":{color:W||"#fff",fontWeight:Y,borderWidth:B+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:R||"#3c1a5b"}});else U.push({".blockspare-block-button span":{color:H||"#404040",borderColor:I||"#3c1a5b",borderStyle:D,fontWeight:Y,borderWidth:B+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return U.push({".blockspare-section-head-wrap":{backgroundColor:m||"transparent",textAlign:n,paddingTop:E+"px",paddingRight:T+"px",paddingBottom:C+"px",marginTop:O+"px",marginBottom:L+"px",paddingLeft:M+"px"}}),U.push({".blockspare-title":{color:i,fontSize:o+g+"!important",fontFamily:f+"!important",fontWeight:b+"!important",paddingTop:l+"px ",paddingBottom:s+"px"},".blockspare-subtitle":{color:c,fontSize:y+_+"!important",fontFamily:w+"!important",fontWeight:k+"!important",paddingTop:u+"px",paddingBottom:p+"px"},".blockspare-title-dash":{color:d},tablet:{".blockspare-title":{fontSize:v+g+"!important"},".blockspare-subtitle":{fontSize:S+_+"!important"}},mobile:{".blockspare-title":{fontSize:h+g+"!important"},".blockspare-subtitle":{fontSize:x+_+"!important"}}}),wr.a.all(U)};const Hu=blockspare_globals,Wu=wp.element.Component,Uu=(wp.i18n.__,wp.compose.compose),Gu=wp.blockEditor.RichText;var Vu=Uu(vr,br(Ru))(class extends Wu{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.opacityRatio,u=t.sectionAlignment,p=t.showImage,d=t.imgURL,m=t.headerlayoutOption,f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,v=t.backgroundFix,y=e.className;e.attributes;let w="url("+Hu.img+")";d&&d.length&&(w="url("+d+")");const k=o()([y,"align"+n,"blockspare-calltoaction"]);return wp.element.createElement("div",{className:k},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-cta-wrapper blockspare-blocks",d&&d.length&&v?"blockspare-background-fix":"")},p&&wp.element.createElement("div",{className:o()("blockspare-image-wrap","blockspare-cta-background",(_=c,0===_?null:"has-background-opacity-"+10*Math.round(_/10)),{"has-background-opacity":0!==c}),style:{backgroundImage:w}}),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",m,"blockspare-"+u)},wp.element.createElement(Qc,{headerTitle:b,headerTagOption:f,headerSubTitle:g}))),wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,h)},wp.element.createElement(Gu.Content,{tagName:"span",value:a})))));var _}});function qu(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 $u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qu(Object(n),!0).forEach((function(t){Ju(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ju(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Xu=blockspare_globals,Ku=$u({},Ei,{},ru.attributes,{},Kr,{},Ci,{},Ti),Qu=wp.blockEditor.RichText;wp.i18n.__;var Zu=[{attributes:Ku,save:function(e){const t=e.attributes,n=(t.align,t.buttonText),a=t.buttonUrl,r=t.buttonTarget,i=t.buttonSize,l=t.buttonShape,s=t.opacityRatio,c=t.sectionAlignment,u=t.showImage,p=t.imgURL,d=(t.imgAlt,t.headerTagOption),m=t.headerTitle,f=t.headerSubTitle,b=t.buttonHoverEffect,g=$u({},iu(e.attributes)),h=$u({},ou(e.attributes)),v=$u({},lu(e.attributes)),y=$u({},su(e.attributes));let w="url("+Xu.img+")";p&&p.length&&(w="url("+p+")");$u({backgroundColor:Ku.ctaBackGroundColor?Ku.ctaBackGroundColor:"#0e0e0e"},xc(Ku),{},Sc(Ku),{borderRadius:Ku.borderRadius?Ku.borderRadius:null});return wp.element.createElement(du,e,u&&p&&wp.element.createElement("div",{className:o()("blockspare-image-wrap","blockspare-cta-background",(k=s,0===k?null:"has-background-opacity-"+10*Math.round(k/10)),{"has-background-opacity":0!==s}),style:{backgroundImage:w}}),!p&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-head-wrap",style:{textAlign:c}},wp.element.createElement(hu,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:g}),m&&wp.element.createElement(Qu.Content,{tagName:d,className:"blockspare-title",style:h,value:m}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:g})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:g}),f&&wp.element.createElement(Qu.Content,{tagName:"p",className:"blockspare-subtitle",style:v,value:f}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:g})))),wp.element.createElement(yu,e,n&&wp.element.createElement("a",{href:a,target:r?"_blank":null,rel:r?"noopener noreferrer":null,className:o()("blockspare-button",l,i,b),style:y},wp.element.createElement(Qu.Content,{value:n}))));var k}},{attributes:$u({},Ei,{className:{type:"string"},align:{type:"string",default:"center"},sectionAlignment:{type:"string",default:"center"},showImage:{type:"boolean",default:!0},imgURL:{type:"string"},imgID:{type:"number"},imgAlt:{type:"string"},opacityRatio:{type:"number",default:75},ctaBackGroundColor:{type:"string",default:"#0e0e0e"},borderRadius:{type:"number",default:0},headerTagOption:{type:"string",default:"h2"},backgroundFix:{type:"boolean",default:!1},headertitleColor:{type:"string",default:"#fff"},headersubtitleColor:{type:"string",default:"#fff"},headermarginTop:{type:"number",default:5},headermarginBottom:{type:"number",default:5},headerpaddingLeft:{type:"number",default:0},headerpaddingRight:{type:"number",default:0}},Kr,{},Ci,{},Ti),save:e=>wp.element.createElement(Au,e)},{attributes:$u({},Ei,{className:{type:"string"},align:{type:"string",default:"center"},sectionAlignment:{type:"string",default:"center"},showImage:{type:"boolean",default:!0},imgURL:{type:"string"},imgID:{type:"number"},imgAlt:{type:"string"},opacityRatio:{type:"number",default:75},ctaBackGroundColor:{type:"string",default:"#0e0e0e"},borderRadius:{type:"number",default:0},headerTagOption:{type:"string",default:"h2"},backgroundFix:{type:"boolean",default:!1},headertitleColor:{type:"string",default:"#fff"},headersubtitleColor:{type:"string",default:"#fff"},headermarginTop:{type:"number",default:5},headermarginBottom:{type:"number",default:5},headerpaddingLeft:{type:"number",default:0},headerpaddingRight:{type:"number",default:0}},Kr,{},Ci,{},Ti),save:e=>wp.element.createElement(Mu,e)},{attributes:$u({},Ei,{className:{type:"string"},align:{type:"string",default:"center"},sectionAlignment:{type:"string",default:"center"},showImage:{type:"boolean",default:!0},imgURL:{type:"string"},imgID:{type:"number"},imgAlt:{type:"string"},opacityRatio:{type:"number",default:75},ctaBackGroundColor:{type:"string",default:"#0e0e0e"},borderRadius:{type:"number",default:0},headerTagOption:{type:"string",default:"h2"},backgroundFix:{type:"boolean",default:!1},headertitleColor:{type:"string",default:"#fff"},headersubtitleColor:{type:"string",default:"#fff"},headermarginTop:{type:"number",default:5},headermarginBottom:{type:"number",default:5},headerpaddingLeft:{type:"number",default:0},headerpaddingRight:{type:"number",default:0}},Kr,{},Ci,{},Ti),save:e=>wp.element.createElement(Vu,e)}];function ep(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 tp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const np=Si.name,ap=Si.category,rp=wp.blocks.registerBlockType,ip=wp.i18n.__,op=["center","wide","full"],lp=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ep(Object(n),!0).forEach((function(t){tp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ep(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ei,{},Si.attributes,{},Kr,{},Ci,{},Ti);rp(np,{title:ip("BS Call to Action","blockspare"),description:ip("BS call to action allow you to add title,subtitle,text button and background image/color","blockspare"),category:ap,icon:r.cta,attributes:lp,keywords:[ip("call to action","blockspare"),ip("block","blockspare"),ip("cta","blockspare"),ip("link","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},getEditWrapperProps(e){const t=e.align;if(-1!==op.indexOf(t))return{"data-align":t}},edit:Vc,save:au,deprecated:Zu});n(590),n(592);var sp=n(33);const cp=wp.element.Component,up=wp.i18n.__,pp=wp.hooks.applyFilters,dp=wp.blockEditor,mp=dp.InspectorControls,fp=dp.MediaUpload,bp=dp.PanelColorSettings,gp=wp.components,hp=gp.ToggleControl,vp=gp.PanelBody,yp=gp.SelectControl,kp=gp.IconButton;gp.RangeControl;class _p extends cp{render(){const e=[{value:"",label:up("Default","blockspare")},{value:"blockspare-style1",label:up("Style 1","blockspare")},{value:"blockspare-style2",label:up("Style 2","blockspare")}],t=this.props,n=t.attributes,a=n.backGroundColor,r=n.imageShape,i=n.descriptionColor,o=n.imgID,l=n.imgURL,s=n.imgAlt,c=n.showContentImg,u=n.buttonBackgroundColor,p=n.buttonTextColor,d=n.buttonSize,m=n.buttonShape,f=n.buttonTarget,b=n.buttonStyle,g=n.borderColor,h=n.borderBtnTextColor,v=n.showButton,y=n.marginTop,w=n.marginBottom,k=n.layoutOption,_=n.titleFontSize,S=(n.subtitleFontSize,n.headerboxColor),E=n.headertitleColor,T=n.headersubtitleColor,C=n.headerlayoutOption,M=n.titlePaddingTop,O=n.titlePaddingBottom,L=n.subtitlePaddingTop,D=n.subtitlePaddingBottom,F=n.dashColor,P=n.design,j=void 0===P?"style-1":P,N=n.enableGradient,z=n.backgroundColor1,A=n.backgroundColor2,Y=n.gradientAngle,B=n.colorLocation1,I=n.colorLocation2,R=n.headerTagOption,H=(n.enableBoxShadow,n.xOffset,n.yOffset,n.blur,n.spread,n.shadowColor,n.borderRadius,n.btnFontWeight),W=n.btnBorderWidth,U=n.buttonHoverEffect,G=n.titleLoadGoogleFonts,V=n.titleFontFamily,q=n.titleFontWeight,$=n.titleFontSubset,J=n.titleFontSizeType,X=n.titleFontSizeMobile,K=n.titleFontSizeTablet,Q=n.subTitleFontSize,Z=n.subTitleLoadGoogleFonts,ee=n.subTitleFontFamily,te=n.subTitleFontWeight,ne=n.subTitleFontSubset,ae=n.subTitleFontSizeType,re=n.subTitleFontSizeMobile,ie=n.subTitleFontSizeTablet,oe=n.descriptionFontSize,le=n.descriptionFontFamily,se=n.descriptionFontWeight,ce=n.descriptionFontSubset,ue=n.descriptionFontSizeType,pe=n.descriptionFontSizeMobile,de=n.descriptionFontSizeTablet,me=n.descriptionLoadGoogleFonts,fe=n.buttonFontSize,be=n.buttonFontFamily,ge=n.buttonFontWeight,he=n.buttonFontSubset,ve=n.buttonFontSizeType,ye=n.buttonFontSizeMobile,we=n.buttonFontSizeTablet,ke=n.buttonLoadGoogleFonts,_e=t.attributes,xe=t.setAttributes,Ee=()=>{xe({imgID:null,imgURL:null,imgAlt:null})};up("Layout 1","blockspare"),up("Layout 2","blockspare"),up("Layout 3","blockspare");return wp.element.createElement(mp,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"content-box"}),wp.element.createElement(ec,{initialOpen:!1,selected:j,options:pp("blockspare.cta.edit.layouts",[{label:up("Layout 1","blockspare"),value:"style-1",image:"images/style-1.png"},{label:up("Layout 2","blockspare"),value:"style-2",image:"images/style-2.png"},{label:up("Layout 3","blockspare"),value:"style-3",image:"images/style-3.png"}]),onChange:e=>xe({design:e})}),wp.element.createElement(vp,{title:up("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(hp,{label:up("Display Button","blockspare"),checked:v,onChange:()=>this.props.setAttributes({showButton:!v})}),wp.element.createElement(hp,{label:up("Reverse","blockspare"),checked:k,onChange:()=>this.props.setAttributes({layoutOption:!k})}),c&&wp.element.createElement(fp,{onSelect:e=>{xe({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:o,render:({open:e})=>wp.element.createElement("div",null,wp.element.createElement(kp,{className:"aft-cta-inspector-media",label:up("Edit image","blockspare"),icon:"format-image",onClick:e},up("Select Image","blockspare")),l&&!!l.length&&wp.element.createElement(kp,{className:"blockspare-cta-inspector-media",label:up("Remove Image","blockspare"),icon:"dismiss",onClick:Ee},up("Remove","blockspare")))}),l&&!!l.length&&wp.element.createElement("div",null,wp.element.createElement("img",{src:l,width:"100px",height:"100px",alt:s})),l&&!!l.length&&wp.element.createElement(yp,{label:up("Choose Image Shape","blockspare"),options:e,value:r,onChange:e=>this.props.setAttributes({imageShape:e})}),"style-3"!=j&&wp.element.createElement(bp,{title:up("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:a,onChange:e=>xe({backGroundColor:e}),label:up("Background Color","blockspare")}]})),wp.element.createElement(vp,{title:up("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(ac,{headerlayoutOption:C,onChangeHeaderLayput:e=>xe({headerlayoutOption:e})}),wp.element.createElement(vp,{title:up("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:up("Title Fonts Settings"),attributes:_e,setAttributes:xe,loadGoogleFonts:{value:G,label:up("titleLoadGoogleFonts")},fontFamily:{value:V,label:up("titleFontFamily")},fontWeight:{value:q,label:up("titleFontWeight")},fontSubset:{value:$,label:up("titleFontSubset")},fontSizeType:{value:J,label:up("titleFontSizeType")},fontSize:{value:_,label:up("titleFontSize")},fontSizeMobile:{value:X,label:up("titleFontSizeMobile")},fontSizeTablet:{value:K,label:up("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:R}),wp.element.createElement(Ns,{label:up("Subtitle Fonts Settings"),attributes:_e,setAttributes:xe,loadGoogleFonts:{value:Z,label:up("subTitleLoadGoogleFonts")},fontFamily:{value:ee,label:up("subTitleFontFamily")},fontWeight:{value:te,label:up("subTitleFontWeight")},fontSubset:{value:ne,label:up("subTitleFontSubset")},fontSizeType:{value:ae,label:up("subTitleFontSizeType")},fontSize:{value:Q,label:up("subTitleFontSize")},fontSizeMobile:{value:re,label:up("subTitleFontSizeMobile")},fontSizeTablet:{value:ie,label:up("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),wp.element.createElement(Ns,{label:up("Description Fonts Settings"),attributes:_e,setAttributes:xe,loadGoogleFonts:{value:me,label:up("descriptionLoadGoogleFonts")},fontFamily:{value:le,label:up("descriptionFontFamily")},fontWeight:{value:se,label:up("descriptionFontWeight")},fontSubset:{value:ce,label:up("descriptionFontSubset")},fontSizeType:{value:ue,label:up("descriptionFontSizeType")},fontSize:{value:oe,label:up("descriptionFontSize")},fontSizeMobile:{value:pe,label:up("descriptionFontSizeMobile")},fontSizeTablet:{value:de,label:up("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(ji,{enableBlockGaps:!1,headerboxColor:S,onChangeboxcolor:e=>xe({headerboxColor:e}),dashColor:F,headerTagOption:R,onChangeDashColor:e=>xe({dashColor:e}),headertitleColor:E,onChangetitlecolor:e=>xe({headertitleColor:e}),titlePaddingTop:M,onChangetitlePaddingTop:e=>xe({titlePaddingTop:e}),titlePaddingBottom:O,onChangetitlePaddingBottom:e=>xe({titlePaddingBottom:e}),headersubtitleColor:T,onChangesubtitlecolor:e=>xe({headersubtitleColor:e}),subtitlePaddingTop:L,onChangesubtitlePaddingTop:e=>xe({subtitlePaddingTop:e}),subtitlePaddingBottom:D,onChangesubtitlePaddingBottom:e=>xe({subtitlePaddingBottom:e})})),wp.element.createElement(vp,{title:up("Color Settings","blockspare"),initialOpen:!1},wp.element.createElement(bp,{title:up("Description Color","blockspare"),initialOpen:!1,colorSettings:[{value:i,onChange:e=>xe({descriptionColor:e}),label:up("Description Color","blockspare")}]})),v&&wp.element.createElement(vp,{title:up("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(Se,{enableButtonTarget:!1,buttonTarget:f,onChangeButtonTarget:e=>xe({buttonTarget:!f}),enableGradient:N,onChangeGradient:e=>xe({enableGradient:e}),enableButtonSize:!0,buttonSize:d,onChangeButtonSize:e=>xe({buttonSize:e}),enableButtonShape:!0,buttonShape:m,onChangeButtonShape:e=>xe({buttonShape:e}),buttonBackgroundColor:u,onChangeButtonColor:e=>xe({buttonBackgroundColor:e}),buttonTextColor:p,onChangeButtonTextColor:e=>xe({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:b,onChangeBorderStyle:e=>xe({buttonStyle:e}),buttonHoverEffect:U,onchangeButtonHoverEffect:e=>xe({buttonHoverEffect:e}),borderColor:g,onchangeBorderColor:e=>xe({borderColor:e}),borderBtnTextColor:h,onChangeBorderBtnTextColor:e=>xe({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:W,onchangebtnBorderWidth:e=>xe({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:H,onchangeBtnFontWeight:e=>xe({btnFontWeight:e})}),wp.element.createElement(vp,{title:up(" Typography","blockspare"),initialOpen:!0},wp.element.createElement(Ns,{label:up("Button Fonts Settings"),attributes:_e,setAttributes:xe,loadGoogleFonts:{value:ke,label:up("buttonLoadGoogleFonts")},fontFamily:{value:be,label:up("buttonFontFamily")},fontWeight:{value:ge,label:up("buttonFontWeight")},fontSubset:{value:he,label:up("buttonFontSubset")},fontSizeType:{value:ve,label:up("buttonFontSizeType")},fontSize:{value:fe,label:up("buttonFontSize")},fontSizeMobile:{value:ye,label:up("buttonFontSizeMobile")},fontSizeTablet:{value:we,label:up("buttonFontSizeTablet")},disableLineHeight:!0})),"none"===b&&wp.element.createElement(hp,{label:up("Enable Gradient","blockspare"),checked:N,onChange:()=>this.props.setAttributes({enableGradient:!N})}),N&&"none"===b&&v&&wp.element.createElement(vp,{title:up("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Oe,{backgroundColor1:z,onChangeBackgroundColor1:e=>xe({backgroundColor1:e}),backgroundColor2:A,onChangeBackgroundColor2:e=>xe({backgroundColor2:e}),gradientAngle:Y,onChangeGradientAngle:e=>xe({gradientAngle:e}),colorLocation1:B,onChangeColorLocation1:e=>xe({colorLocation1:e}),colorLocation2:I,onChangeColorLocation2:e=>xe({colorLocation2:e})}))),wp.element.createElement(vp,{title:up("Block Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:y,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>xe({marginTop:e}),marginEnableBottom:!0,marginBottom:w,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>xe({marginBottom:e})}))))}}var xp=e=>{let t="";return"style-3"!=e.design&&(t={boxShadow:e.enableBoxShadow?e.xOffset+"px "+e.yOffset+"px "+e.blur+"px "+e.spread+"px "+e.shadowColor:"",borderRadius:e.borderRadius?e.borderRadius:null,backgroundColor:e.enableBackgroundColor?e.backGroundColor:void 0}),t};function Sp(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 Ep(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sp(Object(n),!0).forEach((function(t){Tp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cp=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.backGroundColor,v=t.subTitleFontSize,y=t.subTitleFontFamily,w=t.subTitleFontWeight,k=t.subTitleFontSizeType,_=t.subTitleFontSizeMobile,x=t.subTitleFontSizeTablet,S=t.headerpaddingTop,E=t.headerpaddingRight,T=t.headerpaddingBottom,C=t.headerpaddingLeft,M=t.headermarginTop,O=t.headermarginBottom,L=t.descriptionColor,D=t.descriptionFontSize,F=t.descriptionFontFamily,P=t.descriptionFontWeight,j=(t.descriptionFontSubset,t.descriptionFontSizeType),N=t.descriptionFontSizeMobile,z=t.descriptionFontSizeTablet,A=t.design,Y=t.buttonStyle,B=t.enableGradient,I=t.backgroundColor1,R=t.backgroundColor2,H=t.gradientAngle,W=t.colorLocation1,U=t.colorLocation2,G=(t.btnFontWeight,t.btnBorderWidth),V=t.borderColor,q=t.buttonBackgroundColor,$=t.borderBtnTextColor,J=t.buttonTextColor,X=t.buttonFontSize,K=t.buttonFontFamily,Q=t.buttonFontWeight,Z=t.buttonFontSizeType,ee=t.buttonFontSizeMobile,te=t.buttonFontSizeTablet,ne=[];if("style-3"!==A&&ne.push({".blockspare-contentBox .blockspare-section-wrapper":{backgroundColor:h||"#fff"}}),ne.push({".blockspare-content-wrapper":Ep({},Sc(e.attributes)),".blockspare-description":{color:L,fontSize:D+j,fontFamily:F,fontWeight:P},".blockspare-mainheader-wrap":Ep({},xp(e.attributes)),".blockspare-section-header-wrapper":{borderColor:u}}),ne.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:S+"px",paddingRight:E+"px",paddingBottom:T+"px",marginTop:M+"px",marginBottom:O+"px",paddingLeft:C+"px"}}),"none"===Y)if(1==B){const e=H+"deg",t=W+"%",n=U+"%";ne.push({".blockspare-block-button span":{color:J||"#fff",borderWidth:G+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${I||"#3B1A5B"} ${t},${R||"#8B249C"} ${n})`}})}else ne.push({".blockspare-block-button span":{color:J||"#fff",borderWidth:G+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:q||"#3c1a5b"}});else ne.push({".blockspare-block-button span":{color:$||"#404040",borderColor:V||"#3c1a5b",borderStyle:Y,borderWidth:G+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return ne.push({".blockspare-block-button span":{fontSize:X+Z,fontFamily:K,fontWeight:Q},tablet:{".blockspare-block-button span":{fontSize:te+Z}},mobile:{".blockspare-block-button span":{fontSize:ee+Z}}}),ne.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:v+k,fontFamily:y,fontWeight:w,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:x+k},".blockspare-description":{fontSize:z+k}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+k},".blockspare-description":{fontSize:N+k}}}),wr.a.all(ne)};function Mp(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 Op(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Lp=blockspare_globals,Dp=wp.element,Fp=Dp.Component,Pp=Dp.Fragment,jp=wp.i18n.__,Np=wp.compose.compose,zp=wp.blockEditor,Ap=zp.BlockControls,Yp=zp.RichText,Bp=zp.URLInput,Ip=zp.AlignmentToolbar,Rp=wp.components,Hp=Rp.IconButton,Wp=Rp.Dashicon;var Up=Np(vr,br(Cp))(class extends Fp{render(){const e=this.props,t=e.attributes,n=(t.align,t.sectionAlignment),a=(t.backGroundColor,t.descriptionColor,t.sectionDescription),r=t.buttonText,i=t.buttonUrl,l=t.showButton,s=t.buttonSize,c=t.buttonShape,u=t.buttonAlignment,p=t.showContentImg,d=t.imgURL,m=t.imgAlt,f=t.imageShape,b=t.layoutOption,g=t.headerTagOption,h=t.headerTitle,v=t.headerSubTitle,y=t.design,w=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),k=(t.profileContentFontSize,t.titleLoadGoogleFonts),_=t.titleFontFamily,x=t.titleFontWeight,S=t.subTitleLoadGoogleFonts,E=t.subTitleFontFamily,T=t.subTitleFontWeight,C=t.headerlayoutOption,M=t.descriptionLoadGoogleFonts,O=t.descriptionFontFamily,L=t.descriptionFontWeight,D=(t.descriptionFontSubset,t.buttonLoadGoogleFonts),F=t.buttonFontFamily,P=t.buttonFontWeight,j=e.className,N=(e.attributes,e.setAttributes),z=e.isSelected;let A=Lp.img;d&&d.length&&(A=d);const Y=o()([j,"blockspare-contentBox"]);let B,I;if(1==M){const e={google:{families:[O+(L?":"+L:"")]}};B=wp.element.createElement(Fr,{config:e})}if(1==D){const e={google:{families:[F+(P?":"+P:"")]}};I=wp.element.createElement(Fr,{config:e})}return wp.element.createElement(Pp,null,wp.element.createElement(_p,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mp(Object(n),!0).forEach((function(t){Op(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:N},this.props)),wp.element.createElement(Ap,null,wp.element.createElement(Ip,{value:n,onChange:e=>{N({sectionAlignment:e})}})),wp.element.createElement("div",{className:Y},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-content-wrapper blockspare-blocks",1==b?"reverse-img":"","style-3"!=y?"has-background":"",y)},p&&d&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:A,alt:m,className:f})),!d&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:"blockspare-section-head-wrap"},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",C,"blockspare-"+n)},wp.element.createElement(_c,{setAttributes:N,headerTitle:h,headerTagOption:g,headerSubTitle:v,titleFontFamily:_,titleFontWeight:x,titleLoadGoogleFonts:k,subTitleLoadGoogleFonts:S,subTitleFontFamily:E,subTitleFontWeight:T}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(Yp,{tagName:"p",placeholder:jp("Description","blockspare"),keepPlaceholderOnFocus:!0,value:a,className:"blockspare-description",onChange:e=>N({sectionDescription:e})}),l&&wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement(Yp,{tagName:"span",placeholder:jp("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:`<span>${r}</span>`,allowedFormats:[],className:o()("blockspare-button",c,s,w),onChange:e=>N({buttonText:e})})),z&&l&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+u,onSubmit:e=>e.preventDefault()},wp.element.createElement(Wp,{icon:"admin-links"}),wp.element.createElement(Bp,{className:"button-url",value:i,onChange:e=>N({buttonUrl:e})}),wp.element.createElement(Hp,{icon:"editor-break",label:jp("Apply","blockspare"),type:"submit"}))))),B,I))}});const Gp=blockspare_globals,Vp=wp.element.Component,qp=(wp.i18n.__,wp.compose.compose),$p=wp.blockEditor.RichText;var Jp=qp(vr,br(Cp))(class extends Vp{render(){const e=this.props,t=e.attributes,n=(t.align,t.sectionAlignment),a=(t.descriptionColor,t.sectionDescription),r=t.buttonText,i=t.buttonUrl,l=t.showButton,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.showContentImg,d=t.imgURL,m=t.imgAlt,f=t.imageShape,b=t.layoutOption,g=t.headerTitle,h=t.headerSubTitle,v=(t.dashColor,t.headerlayoutOption),y=t.headerTagOption,w=(t.backGroundColor,t.design),k=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),_=e.className;e.attributes;let x=Gp.img;d&&d.length&&(x=d);const S=o()([_,"blockspare-contentBox"]);return wp.element.createElement("div",{className:S},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-content-wrapper blockspare-blocks",1==b?"reverse-img":"","style-3"!=w?"has-background":"",w)},p&&d&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:x,alt:m,className:f})),!d&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",v,"blockspare-"+n)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",v,"blockspare-"+n)},wp.element.createElement(Qc,{headerTitle:g,headerTagOption:y,headerSubTitle:h}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement($p.Content,{tagName:"p",className:"blockspare-description",value:a}),l&&wp.element.createElement("div",{className:"blockspare-block-button"},r&&wp.element.createElement("a",{href:i,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:o()("blockspare-button",c,s,k)},wp.element.createElement($p.Content,{tagName:"span",value:r}))))))))}});const Xp=wp.element.Component;class Kp extends Xp{constructor(e){super(...arguments)}render(){return wp.element.createElement("div",{style:{textAlign:this.props.attributes.sectionAlignment},className:o()("blockspare-block-button")},this.props.children)}}function Qp(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 Zp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qp(Object(n),!0).forEach((function(t){ed(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ed(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const td=blockspare_globals,nd=wp.element,ad=nd.Component,rd=(nd.Fragment,wp.i18n.__,wp.blockEditor),id=(rd.BlockControls,rd.RichText);rd.URLInput,rd.AlignmentToolbar;class od extends ad{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.descriptionColor,i=t.sectionDescription,l=t.buttonText,s=t.buttonUrl,c=t.showButton,u=t.buttonSize,p=t.buttonShape,d=t.buttonTarget,m=t.showContentImg,f=t.imgURL,b=t.imgAlt,g=t.imageShape,h=t.layoutOption,v=t.headerTitle,y=t.headerSubTitle,w=t.dashColor,k=t.headerlayoutOption,_=t.headerTagOption,x=(t.backGroundColor,t.design),S=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),E=(e.className,e.attributes),T=Zp({},Sc(E)),C={borderColor:w},M=Zp({},su(E)),O=Zp({},iu(E)),L=Zp({},ou(E)),D=Zp({},lu(E));let F=td.img;return f&&f.length&&(F=f),wp.element.createElement("div",{className:o()("blockspare-content-wrapper blockspare-blocks","align"+n,1==h?"reverse-img":"","style-3"!=x?"has-background":"",x),style:T},m&&f&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:F,alt:b,className:g})),!f&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper",style:Zp({},xp(E))},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper"),style:C},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",k,"blockspare-"+a)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement(hu,this.props,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:O}),v&&wp.element.createElement(id.Content,{tagName:_,className:"blockspare-title",style:L,value:v}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:O})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:O}),y&&wp.element.createElement(id.Content,{tagName:"p",className:"blockspare-subtitle",style:D,value:y}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:O}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(id.Content,{tagName:"p",style:{color:r},value:i}),c&&wp.element.createElement(Kp,this.props,l&&wp.element.createElement("a",{href:s,target:d?"_blank":null,rel:d?"noopener noreferrer":null,className:o()("blockspare-button",p,u,S),style:M},wp.element.createElement(id.Content,{value:l})))))))}}var ld=n(308);function sd(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 cd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sd(Object(n),!0).forEach((function(t){ud(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ud(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pd=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.backGroundColor,v=t.subTitleFontSize,y=t.subTitleFontFamily,w=t.subTitleFontWeight,k=t.subTitleFontSizeType,_=t.subTitleFontSizeMobile,x=t.subTitleFontSizeTablet,S=t.headerpaddingTop,E=t.headerpaddingRight,T=t.headerpaddingBottom,C=t.headerpaddingLeft,M=t.headermarginTop,O=t.headermarginBottom,L=t.descriptionColor,D=t.descriptionFontSize,F=t.descriptionFontFamily,P=t.descriptionFontWeight,j=(t.descriptionFontSubset,t.descriptionFontSizeType),N=t.descriptionFontSizeMobile,z=t.descriptionFontSizeTablet,A=[];return"style-3"!==t.design&&A.push({".blockspare-contentBox .blockspare-section-wrapper":{backgroundColor:h||"#fff"}}),A.push({".blockspare-content-wrapper":cd({},Sc(e.attributes)),".blockspare-description":{color:L,fontSize:D+j,fontFamily:F,fontWeight:P},".blockspare-button":cd({},Zr(e.attributes)),".blockspare-mainheader-wrap":cd({},xp(e.attributes)),".blockspare-section-header-wrapper":{borderColor:u}}),A.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:S+"px",paddingRight:E+"px",paddingBottom:T+"px",marginTop:M+"px",marginBottom:O+"px",paddingLeft:C+"px"}}),A.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:v+k,fontFamily:y,fontWeight:w,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:x+k},".blockspare-description":{fontSize:z+k}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+k},".blockspare-description":{fontSize:N+k}}}),wr.a.all(A)};const dd=blockspare_globals,md=wp.element.Component,fd=(wp.i18n.__,wp.compose.compose),bd=wp.blockEditor.RichText;var gd=fd(vr,br(pd))(class extends md{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=(t.descriptionColor,t.sectionDescription),i=t.buttonText,l=t.buttonUrl,s=t.showButton,c=t.buttonSize,u=t.buttonShape,p=t.buttonTarget,d=t.showContentImg,m=t.imgURL,f=t.imgAlt,b=t.imageShape,g=t.layoutOption,h=t.headerTitle,v=t.headerSubTitle,y=(t.dashColor,t.headerlayoutOption),w=t.headerTagOption,k=(t.backGroundColor,t.design),_=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),x=e.className;e.attributes;let S=dd.img;m&&m.length&&(S=m);const E=o()([x,"blockspare-contentBox"]);return wp.element.createElement("div",{className:E},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-content-wrapper blockspare-blocks","align"+n,1==g?"reverse-img":"","style-3"!=k?"has-background":"",k)},d&&m&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:S,alt:f,className:b})),!m&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",y,"blockspare-"+a)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",y,"blockspare-"+a)},wp.element.createElement(Qc,{headerTitle:h,headerTagOption:w,headerSubTitle:v}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(bd.Content,{tagName:"p",className:"blockspare-description",value:r}),s&&wp.element.createElement("div",{className:"blockspare-block-button"},i&&wp.element.createElement("a",{href:l,target:p?"_blank":null,rel:p?"noopener noreferrer":null,className:o()("blockspare-button",u,c,_)},wp.element.createElement(bd.Content,{value:i}))))))))}});function hd(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 vd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hd(Object(n),!0).forEach((function(t){yd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wd=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.backGroundColor,v=t.subTitleFontSize,y=t.subTitleFontFamily,w=t.subTitleFontWeight,k=t.subTitleFontSizeType,_=t.subTitleFontSizeMobile,x=t.subTitleFontSizeTablet,S=t.headerpaddingTop,E=t.headerpaddingRight,T=t.headerpaddingBottom,C=t.headerpaddingLeft,M=t.headermarginTop,O=t.headermarginBottom,L=t.descriptionColor,D=t.descriptionFontSize,F=t.descriptionFontFamily,P=t.descriptionFontWeight,j=(t.descriptionFontSubset,t.descriptionFontSizeType),N=t.descriptionFontSizeMobile,z=t.descriptionFontSizeTablet,A=[];return"style-3"!==t.design&&A.push({".blockspare-contentBox .blockspare-section-wrapper":{backgroundColor:h||"#fff"}}),A.push({".blockspare-content-wrapper":vd({},Sc(e.attributes)),".blockspare-description":{color:L,fontSize:D+j,fontFamily:F,fontWeight:P},".blockspare-button":vd({},Qr(e.attributes)),".blockspare-mainheader-wrap":vd({},xp(e.attributes)),".blockspare-section-header-wrapper":{borderColor:u}}),A.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:S+"px",paddingRight:E+"px",paddingBottom:T+"px",marginTop:M+"px",marginBottom:O+"px",paddingLeft:C+"px"}}),A.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:v+k,fontFamily:y,fontWeight:w,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:x+k},".blockspare-description":{fontSize:z+k}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+k},".blockspare-description":{fontSize:N+k}}}),wr.a.all(A)};const kd=blockspare_globals,_d=wp.element.Component,xd=(wp.i18n.__,wp.compose.compose),Sd=wp.blockEditor.RichText;var Ed=xd(vr,br(wd))(class extends _d{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=(t.descriptionColor,t.sectionDescription),i=t.buttonText,l=t.buttonUrl,s=t.showButton,c=t.buttonSize,u=t.buttonShape,p=t.buttonTarget,d=t.showContentImg,m=t.imgURL,f=t.imgAlt,b=t.imageShape,g=t.layoutOption,h=t.headerTitle,v=t.headerSubTitle,y=(t.dashColor,t.headerlayoutOption),w=t.headerTagOption,k=(t.backGroundColor,t.design),_=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),x=e.className;e.attributes;let S=kd.img;m&&m.length&&(S=m);const E=o()([x,"blockspare-contentBox"]);return wp.element.createElement("div",{className:E},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-content-wrapper blockspare-blocks","align"+n,1==g?"reverse-img":"","style-3"!=k?"has-background":"",k)},d&&m&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:S,alt:f,className:b})),!m&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",y,"blockspare-"+a)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",y,"blockspare-"+a)},wp.element.createElement(Qc,{headerTitle:h,headerTagOption:w,headerSubTitle:v}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(Sd.Content,{tagName:"p",className:"blockspare-description",value:r}),s&&wp.element.createElement("div",{className:"blockspare-block-button"},i&&wp.element.createElement("a",{href:l,target:p?"_blank":null,rel:p?"noopener noreferrer":null,className:o()("blockspare-button",u,c,_)},wp.element.createElement(Sd.Content,{value:i}))))))))}});function Td(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 Cd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Td(Object(n),!0).forEach((function(t){Md(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Td(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Md(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Od=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.backGroundColor,v=t.subTitleFontSize,y=t.subTitleFontFamily,w=t.subTitleFontWeight,k=t.subTitleFontSizeType,_=t.subTitleFontSizeMobile,x=t.subTitleFontSizeTablet,S=t.headerpaddingTop,E=t.headerpaddingRight,T=t.headerpaddingBottom,C=t.headerpaddingLeft,M=t.headermarginTop,O=t.headermarginBottom,L=t.descriptionColor,D=t.descriptionFontSize,F=t.descriptionFontFamily,P=t.descriptionFontWeight,j=(t.descriptionFontSubset,t.descriptionFontSizeType),N=t.descriptionFontSizeMobile,z=t.descriptionFontSizeTablet,A=t.design,Y=t.buttonStyle,B=t.enableGradient,I=t.backgroundColor1,R=t.backgroundColor2,H=t.gradientAngle,W=t.colorLocation1,U=t.colorLocation2,G=t.btnFontWeight,V=t.btnBorderWidth,q=t.borderColor,$=t.buttonBackgroundColor,J=t.borderBtnTextColor,X=t.buttonTextColor,K=[];if("style-3"!==A&&K.push({".blockspare-contentBox .blockspare-section-wrapper":{backgroundColor:h||"#fff"}}),K.push({".blockspare-content-wrapper":Cd({},Sc(e.attributes)),".blockspare-description":{color:L,fontSize:D+j,fontFamily:F,fontWeight:P},".blockspare-mainheader-wrap":Cd({},xp(e.attributes)),".blockspare-section-header-wrapper":{borderColor:u}}),K.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:S+"px",paddingRight:E+"px",paddingBottom:T+"px",marginTop:M+"px",marginBottom:O+"px",paddingLeft:C+"px"}}),"none"===Y)if(1==B){const e=H+"deg",t=W+"%",n=U+"%";K.push({".blockspare-block-button span":{color:X||"#fff",fontWeight:G,borderWidth:V+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${I||"#3B1A5B"} ${t},${R||"#8B249C"} ${n})`}})}else K.push({".blockspare-block-button span":{color:X||"#fff",fontWeight:G,borderWidth:V+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:$||"#3c1a5b"}});else K.push({".blockspare-block-button span":{color:J||"#404040",borderColor:q||"#3c1a5b",borderStyle:Y,fontWeight:G,borderWidth:V+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return K.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:v+k,fontFamily:y,fontWeight:w,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:x+k},".blockspare-description":{fontSize:z+k}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+k},".blockspare-description":{fontSize:N+k}}}),wr.a.all(K)};const Ld=blockspare_globals,Dd=wp.element.Component,Fd=(wp.i18n.__,wp.compose.compose),Pd=wp.blockEditor.RichText;var jd=Fd(vr,br(Od))(class extends Dd{render(){const e=this.props,t=e.attributes,n=(t.align,t.sectionAlignment),a=(t.descriptionColor,t.sectionDescription),r=t.buttonText,i=t.buttonUrl,l=t.showButton,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.showContentImg,d=t.imgURL,m=t.imgAlt,f=t.imageShape,b=t.layoutOption,g=t.headerTitle,h=t.headerSubTitle,v=(t.dashColor,t.headerlayoutOption),y=t.headerTagOption,w=(t.backGroundColor,t.design),k=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),_=e.className;e.attributes;let x=Ld.img;d&&d.length&&(x=d);const S=o()([_,"blockspare-contentBox"]);return wp.element.createElement("div",{className:S},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-content-wrapper blockspare-blocks",1==b?"reverse-img":"","style-3"!=w?"has-background":"",w)},p&&d&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:x,alt:m,className:f})),!d&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",v,"blockspare-"+n)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",v,"blockspare-"+n)},wp.element.createElement(Qc,{headerTitle:g,headerTagOption:y,headerSubTitle:h}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(Pd.Content,{tagName:"p",className:"blockspare-description",value:a}),l&&wp.element.createElement("div",{className:"blockspare-block-button"},r&&wp.element.createElement("a",{href:i,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:o()("blockspare-button",c,s,k)},wp.element.createElement(Pd.Content,{tagName:"span",value:r}))))))))}});function Nd(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 zd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nd(Object(n),!0).forEach((function(t){Ad(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ad(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Yd=zd({},Ci,{},Ei,{},ld.attributes,{},Ti,{},Kr);var Bd=[{attributes:Yd,save:e=>wp.element.createElement(od,e)},{attributes:Yd,save:e=>wp.element.createElement(Ed,e)},{attributes:Yd,save:e=>wp.element.createElement(gd,e)},{attributes:zd({},Ci,{},Ei,{},sp.attributes,{},Ti,{},Kr),save:e=>wp.element.createElement(jd,e)}];function Id(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 Rd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Hd=wp.i18n.__,Wd=wp.blocks.registerBlockType,Ud=sp.name,Gd=sp.category,Vd=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Id(Object(n),!0).forEach((function(t){Rd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Id(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ci,{},Ei,{},sp.attributes,{},Ti,{},Kr);Wd(Ud,{title:Hd("BS Content Box","blockspare"),description:Hd("You can create a variety of layouts using this block.","blockspare"),category:Gd,icon:r.contentbox,attributes:Vd,keywords:[Hd("block","blockspare"),Hd("container","blockspare"),Hd("content","blockspare"),Hd("box","blockspare")],supports:{align:["center","wide","full"]},example:{attributes:{design:"style-1"}},edit:Up,save:Jp,deprecated:Bd});n(593),n(594);var qd=n(34);wp.i18n.__,wp.element.Fragment,wp.components.RangeControl,wp.blockEditor.PanelColorSettings;const $d=wp.i18n.__,Jd=wp.element.Component,Xd=wp.blockEditor,Kd=Xd.InspectorControls,Qd=(Xd.MediaUpload,Xd.PanelColorSettings),Zd=wp.components,em=(Zd.RangeControl,Zd.PanelBody);Zd.IconButton,Zd.ToggleControl,Zd.SelectControl;class tm extends Jd{render(){const e=this.props.attributes,t=(e.opacityRatio,e.backGroundColor),n=(e.imgURL,e.imgID,e.imgAlt,e.paddingTop),a=e.paddingRight,r=e.paddingBottom,i=e.paddingLeft,o=e.marginTop,l=e.marginBottom,s=(e.backgroundFix,e.separatorEnable,e.design,e.width,e.height,e.color,e.showFront,e.zindexDivider,e.dividerPosition,e.topDividerMargin,e.bottomDividerMargin,e.enableGradient,e.backgroundColor1,e.backgroundColor2,e.gradientAngle,e.colorLocation1,e.colorLocation2,e.borderRadius,e.enableBoxShadow,e.xOffset,e.yOffset,e.blur,e.spread,e.shadowColor,e.enableGap,this.props.setAttributes);$d("Top","blockspare"),$d("Bottom","blockspare");return wp.element.createElement(Kd,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"container"}),wp.element.createElement(em,{title:$d("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(Qd,{title:$d("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:t,onChange:e=>s({backGroundColor:e}),label:$d("Background Color","blockspare")}]})),wp.element.createElement(em,{title:$d("Block Gaps","blockspare"),initialOpen:!1},wp.element.createElement(em,{title:$d("Padding Settings","blockspare"),initialOpen:!0},wp.element.createElement(Pe,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>s({paddingTop:e}),paddingEnableRight:!0,paddingRight:a,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>s({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:r,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>s({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:i,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>s({paddingLeft:e})})),wp.element.createElement(em,{title:$d("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:o,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>s({marginTop:e}),marginEnableBottom:!0,marginBottom:l,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>s({marginBottom:e})})))))}}n(595);var nm=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{className:"st0",d:"M-.5 27.7v146.8h1946V10.7s-170.6 20.4-265 57.2c0 0-374.1 116.7-794.2 24.7 0 0-414.1-100.9-673.1-92-.1 0-102.9 5.2-213.7 27.1z"}),wp.element.createElement("path",{className:"st1",d:"M1945.5 69.9s-425.5-100-888 20.5c0 0-342.6 63.3-611.4 43.8 0 0-224.9-40.3-446.6-84.4V174h1946V69.9z"}),wp.element.createElement("path",{d:"M-.5 88s425.5-100 888 20.5c0 0 342.6 63.3 611.4 43.8 0 0 224.9-20.2 446.6-64.3v87H-.5V88z"}))};nm.defaultProps={className:"divider--doublewave",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1946 175",preserveAspectRatio:"none"};var am=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{className:"st1",d:"M-.5 0l958.8 69.3L1917 0v77H-.5z"}),wp.element.createElement("path",{className:"st2",d:"M-.5 24.5l958.8 46.3L1917 24.5V77H-.5z"}),wp.element.createElement("path",{className:"st3",d:"M-.5 49.1l958.8 23.1L1917 49.1V77H-.5z"}),wp.element.createElement("path",{d:"M-.5 77H1917v28H-.5z"}))};am.defaultProps={className:"divider--fan",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1917 105",preserveAspectRatio:"none"};var rm=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M42.19 9.35c2.26.25 5.15-.04 7.55-.53 2.36-.49 7.09-2.35 10.05-3.57C67.37 2.03 73.16.8 79.05.28c2.36-.21 4.87-.35 10.34.25s10.62 2.56 10.62 2.56V10H0V6.97s7.2-3.26 15.84-3.05c3.92.07 9.28.67 13.4 2.24 2.12.81 5.22 1.82 7.97 2.42 2.72.63 3.95.67 4.98.77z"}))};rm.defaultProps={className:"divider--wavy",viewBox:"0 0 100 10",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"};var im=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M1000 299l2-279C847-16 692 155 587 184c-102.64 28.35-149-32-232-31-80 1-142 53-229 80-65.54 20.34-101 15-126 11.61V299z"}),wp.element.createElement("path",{d:"M1000 286l2-252C845-9 700 178 597 212c-101.11 33.38-159-47-242-46-80 1-145.09 54.07-229 87-65.21 25.59-104.07 16.72-126 10.61V286z"}),wp.element.createElement("path",{d:"M1000 300l1-230.29C784 57 700.53 198.86 597 226c-103 27-174-30-257-29-80 1-130.09 37.07-214 70-61.23 24-108 15.61-126 10.61V300z"}))};im.defaultProps={className:"divider--waves",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 300",preserveAspectRatio:"none"};var om=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M0 100C20 0 50 0 100 100z"}))};om.defaultProps={className:"divider--sloped",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"};var lm=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{className:"st1",d:"M0 108.1h630V0S475 104.6 314 104.6 0 0 0 0z"}),wp.element.createElement("path",{className:"st2",d:"M0 106.9h630V17.8s-155 87.9-316 87.9S0 19 0 19z"}),wp.element.createElement("path",{d:"M0 120h630V45.1s-155 61.8-316 61.8S0 45.1 0 45.1z"}))};lm.defaultProps={className:"divider--curve",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 630 120",preserveAspectRatio:"none"};var sm=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M-53.5 413H-337v-10.8s6.5 1.6 16.8.5c4.8-.6 10.1-2.5 15.8-3.7 5.7-1.2 10.5-1.5 12-1.6 5.9-.2 11 .5 14.2.9 7.6.9 13.2 3.5 17 4.7 3.9 1.2 9.1 1.9 10.5 2 13.2.8 45.3-15.5 63-15.8 16.6-.3 30 6.1 36.6 9.3 5.9 2.8 6.4 3 18 7.4s33.4-3.7 44.7-5.7c8.3-1.5 14.1-1.8 20.9-1.5 6.7.3 14 4.6 14 4.6v9.7zm-26.8-11.7c-2.9.4-5.7 1.8-6 1.9s3.5-1.1 5.8-1.1 3.6.6 4.3-.4c.6-1-1.1-.9-4.1-.4zm-20.1 3.6c-3.1.5-9.1 2-12.4 2.7-8 1.7-16.8 1-17.6 1.1-.7.1 6.9 1.2 15.1.1 4.8-.7 11.9-2.7 15.1-3.5 3.2-.7 5.6-.9 5.6-.9s-2.5-.1-5.8.5zm-69.9-7.4c-2.4-.5-2.2-.8-7.6-1.6-5.4-.8-11.2-.2-11.2 0-.1.1 4.9.1 8.8.5 3.8.4 7.9 1.4 10 2 5.2 1.4 20.2 6.8 18.5 6.1-1.7-.7-14.7-6.2-18.5-7zm27.3 6.8c-3.1-1.2-6.8-3.1-6.6-3 .2.2 2.9 2.2 6.9 3.7s5 1.1 4.8 1.1c-.1 0-2.1-.6-5.1-1.8zm84.9 0c-3.9-1.9-7.2-2.5-7.4-2.5-.2-.1 3.8 1.3 6.7 2.7 2.9 1.4 4.7 2.4 4.8 2.5.1.1-.2-.8-4.1-2.7zm-253-2.2c-3.3 1.1-3.5 1.1-5.7 1.6-4.3 1-12.2.6-12.5.7-.4.1 7.3 1 11.3.2 2.4-.4 5.2-1 7.8-2 2.6-1 4.6-1 4.5-1.2-.1-.3-2.1-.4-5.4.7zm58.2 5.4c5.2.6 6.2 0 6.2-.3s-4 .3-8.9-.8c-4.9-1-8-2.5-8.4-2.6s5.9 3.1 11.1 3.7zm-7.6.9c1.6.4 2.7.3 2.7.2s.4-.3-1.9-.6c-2.3-.4-5.5-1.8-5.7-1.7-.2.1 3.2 1.6 4.9 2.1zm22.2-.8c1.6-.5 2.5-1.2 2.4-1.3-.1-.1.2-.5-1.9.5s-5.5 1.6-5.6 1.8c-.1.2 3.5-.4 5.1-1zm-31.7-5.1c1.6.4 2.1.7 2.5.8s-.6-.5-2.2-1.2-2-.5-1.9-.2c.1.3-.1.2 1.6.6zm-28.8-2.2c1.5.1 1.6-.1 1.6-.4 0-.3-.8-.3-2-.2-1.2.1-3.5.9-3.3.9s2.1-.4 3.7-.3zm105.8-8.7c-6.5.2-20.1 5.2-16.5 4.1 3.6-1.1 12.2-3.5 17.2-3.5 5.1 0 7.4-.4 7.5-.3.1.1-1.7-.5-8.2-.3z"}),wp.element.createElement("path",{d:"M-74.2 394.6c-3.3.2-16.6 3-17 3.3-.4.3 9.3-2.2 16.6-2.9 2.6-.3 7.1.1 7.2 0 .1 0-1.9-.8-6.8-.4zM-118.1 405.1c-7.4.6-13-1.1-13.3-1.2-.4-.1 7.3.7 12.3.5 5-.2 9.3-1.1 9.5-1.2.2-.1-1.1 1.3-8.5 1.9zM-128.9 400c1.5-.1 1.6.1 1.6.4 0 .3-.8.4-2 .3s-3.3-1-3.2-1.1 1.9.5 3.6.4zM-142.1 399.7c-2.1-1-6.2-2.7-6.3-2.6-.1 0 4.2 2.2 6.1 3.1 1.9 1 6.3 2.3 6.3 2.2 0-.1-4-1.7-6.1-2.7zM-189.3 385.9c-3.3.2-16.6 3-17 3.3s9.3-2.2 16.6-2.9c2.6-.3 7.1.1 7.2 0s-1.9-.8-6.8-.4zM-292.3 394.2c1.6.1 4.9-.3 6.7-.4 4.3-.3 8.2 1.9 8.6 1.9.4.1-2.8-2.2-7-2.6-2.4-.2-6.5.5-8.2.7-1.7.2-2.9-.1-2.9-.1s1.2.4 2.8.5zM-258.5 402c1.6.4 3.4.1 3.4 0 0-.2.2-.3-2.1-.5-2.3-.3-4.1-1.2-4.3-1.1-.2.1 1.4 1.1 3 1.6zM-314.8 398.7c2.4-.6 5.1-1.5 5.1-1.4s-2.6 1.5-5 2-6.7.6-6.7.5c.1-.1 4.3-.5 6.6-1.1z"}))};sm.defaultProps={className:"divider--shapeocean",xmlns:"http://www.w3.org/2000/svg",viewBox:"-337 385.2 283.5 27.8",preserveAspectRatio:"none"};var cm=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{className:"st1",d:"M261.2 64.9C367.6 54.7 499.6 39.7 630 18.5V0C497.8 31.4 363.7 52 261.2 64.9z"}),wp.element.createElement("path",{className:"st2",d:"M261.2 64.9c-41 3.9-78.2 7.1-110 9.6 13.2-.4 27-.9 41.5-1.6C315 67.7 478.4 59.4 630 34.8V18.5C499.1 39.8 367.3 54.8 261.2 64.9z"}),wp.element.createElement("path",{d:"M192.7 72.9c-14.5.7-28.3 1.2-41.5 1.6C59.9 77.7 0 77.4 0 77.4V80h630V33.8C478.4 58.4 315 67.7 192.7 72.9z"}))};cm.defaultProps={className:"divider--grow",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 630 80",preserveAspectRatio:"none"};var um=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M630 36.9a34.6 34.6 0 0 0-16.5-4.2c-17.2 0-31.8 12.7-36.7 30.3a21.2 21.2 0 0 0-9.3-2.2 21.8 21.8 0 0 0-13.9 5.1 38.7 38.7 0 0 0-40.4-4.8c-5.2-7.7-13.4-12.6-22.7-12.6a25.7 25.7 0 0 0-8.7 1.5C472.9 27.8 453 12.4 430 12.4s-42.7 15.3-51.7 37.2c-7.2-10.9-18.8-18.1-31.8-18.1a37 37 0 0 0-24 9.2c-6-10.3-16.3-17-28-17-13.8 0-25.6 9.3-30.7 22.7a26.5 26.5 0 0 0-19.8-9.2 22 22 0 0 0-5.8.7c-4-11.6-14-19.9-25.7-19.9a24.7 24.7 0 0 0-9.4 1.9C189.2 7.4 171.6 0 152.5 0 124.6 0 100 15.8 85.3 39.9A27.6 27.6 0 0 0 63 28.2a23.9 23.9 0 0 0-7.1 1C47.2 13 31.5 2.3 13.5 2.3A43.3 43.3 0 0 0 0 4.4V80h630z"}))};um.defaultProps={className:"divider--clouds",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 630 80",preserveAspectRatio:"none"};var pm=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M0 100L100 0v100z"}))};pm.defaultProps={className:"divider--angled",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"};const dm={wavy:rm,waves:im,"double-wave":nm,fan:am,sloped:om,curve:lm,shapeocean:sm,grow:cm,clouds:um,angled:pm},mm=e=>{const t=dm[e.design],n=o()([e.className,"blockspare-separator-wrapper"]);return wp.element.createElement("div",{className:n},wp.element.createElement(t,{className:e.design,preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};mm.defaultProps={className:"",design:"double-wave",shadow:!1},mm.Save=e=>wp.element.createElement(mm,e);var fm=mm;const bm=wp.i18n.__,gm=wp.element,hm=gm.Component,vm=gm.Fragment,ym=wp.blockEditor,wm=ym.BlockControls,km=(ym.BlockAlignmentToolbar,wp.components.Toolbar);var _m=class extends hm{render(){const e=this.props,t=e.attributes,n=e.setAttributes,a=(t.horizontalFlip,t.verticalFlip),i=[{icon:r.flipY,title:bm("Flip horiztonally","blockspare"),isActive:!!a,onClick:()=>n({verticalFlip:!a})}];return wp.element.createElement(vm,null,wp.element.createElement(wm,null,wp.element.createElement(km,{controls:i})))}};var xm=e=>{let t="";if(1==e.enableGradient){const n=e.gradientAngle+"deg",a=e.colorLocation1+"%",r=e.colorLocation2+"%";t={backgroundImage:`linear-gradient(${n},${e.backgroundColor1?e.backgroundColor1:"#3B1A5B"} ${a},${e.backgroundColor2?e.backgroundColor2:"#8B249C"} ${r})`}}else t={backgroundColor:e.backGroundColor?e.backGroundColor:"#fff"};return t};function Sm(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 Em(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sm(Object(n),!0).forEach((function(t){Tm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cm=e=>{const t=e.attributes,n=(t.align,t.opacityRatio,t.imgURL),a=(t.backgroundFix,t.verticalFlip,t.horizontalFlip,t.separatorEnable,t.design,t.height,t.color,t.width,t.showFront,t.zindexDivider,t.dividerPosition,t.topDividerMargin,t.bottomDividerMargin,t.borderRadius);t.enableGap;let r="";n&&(r="url("+n+")");const i=[];return i.push({".blockspare-block-container-wrapper":Em({},xc(e.attributes),{},xm(e.attributes),{},Sc(e.attributes),{borderRadius:a?a+"px":null}),".blockspare-image-wrap":{backgroundImage:r}}),wr.a.all(i)};function Mm(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 Om(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Lm=wp.element,Dm=Lm.Component,Fm=Lm.Fragment,Pm=wp.compose.compose,jm=wp.blockEditor.InnerBlocks;var Nm=Pm(vr,br(Cm))(class extends Dm{render(){const e=this.props,t=e.attributes,n=t.align,a=t.opacityRatio,r=t.imgURL,i=t.backgroundFix,l=t.verticalFlip,s=t.horizontalFlip,c=t.separatorEnable,u=t.design,p=(t.height,t.color,t.width),d=t.showFront,m=(t.zindexDivider,t.dividerPosition),f=(t.topDividerMargin,t.bottomDividerMargin,t.borderRadius,t.enableGap),b=e.className,g=(e.attributes,e.setAttributes),h=e.isSelected,v=o()([b]);let y=o()("blockspare-blocks blockspare-svg-wrapper",function(e){if(void 0!==e){return"has-width-"+e.toString().replace(".","-")}}(p),b,{"is-vertically-flipped":l,"is-horizontally-flipped":s});return wp.element.createElement(Fm,null,wp.element.createElement(tm,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mm(Object(n),!0).forEach((function(t){Om(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:g},this.props)),h&&c&&wp.element.createElement(_m,this.props),wp.element.createElement("div",{className:v},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-container-wrapper","align"+n,f?"has-gap-enable":"",r&&r.length&&i?"blockspare-background-fix":"",c?m:"")},wp.element.createElement("div",{className:o()("blockspare-container-background","blockspare-image-wrap",(w=a,0===w?null:"has-background-opacity-"+10*Math.round(w/10)),{"has-background-opacity":0!==a})}),c&&wp.element.createElement("div",{className:o()("blockspare-top-separator",d?"blockspare-svg-show-front":"")},wp.element.createElement("div",{className:y},wp.element.createElement(fm,{design:u,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks"},wp.element.createElement(jm,{templateLock:!1,renderAppender:()=>this.props.hasInnerBlocks?wp.element.createElement(jm.DefaultBlockAppender,null):wp.element.createElement(jm.ButtonBlockAppender,null)}))))));var w}});const zm=wp.element.Component,Am=wp.compose.compose,Ym=wp.blockEditor.InnerBlocks;var Bm=Am(vr,br(Cm))(class extends zm{render(){const e=this.props,t=e.attributes,n=t.align,a=t.opacityRatio,r=t.imgURL,i=t.backgroundFix,l=t.verticalFlip,s=t.horizontalFlip,c=t.separatorEnable,u=t.design,p=(t.height,t.color,t.width),d=t.showFront,m=(t.zindexDivider,t.dividerPosition),f=(t.topDividerMargin,t.bottomDividerMargin,t.borderRadius,t.enableGap),b=e.className,g=(e.attributes,o()([b]));let h=o()("blockspare-blocks blockspare-svg-wrapper",function(e){if(void 0!==e){return"has-width-"+e.toString().replace(".","-")}}(p),b,{"is-vertically-flipped":l,"is-horizontally-flipped":s});return wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-container-wrapper",f?"has-gap-enable":"","align"+n,r&&r.length&&i?"blockspare-background-fix":"",c?m:"")},wp.element.createElement("div",{className:o()("blockspare-container-background","blockspare-image-wrap",(v=a,0===v?null:"has-background-opacity-"+10*Math.round(v/10)),{"has-background-opacity":0!==a})}),c&&wp.element.createElement("div",{className:o()("blockspare-top-separator",f?"has-gap-enable":"",d?"blockspare-svg-show-front":"")},wp.element.createElement("div",{className:h},wp.element.createElement(fm,{design:u,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks blockspare-inner-wrapper-blocks"},wp.element.createElement(Ym.Content,null)))));var v}});var Im=n(118);var Rm={enableGradient:{type:"boolean",default:!1},backgroundColor1:{type:"string",default:"#3B1A5B"},backgroundColor2:{type:"string",default:"#8B249C"},gradientAngle:{type:"number",default:-90},colorLocation1:{type:"number",default:30},colorLocation2:{type:"number",default:70}};var Hm={align:{type:"string",default:"full"},design:{type:"string",default:"double-wave"},layer1Shadow:{type:"boolean",default:!1},width:{type:"number",default:1},height:{type:"number",default:150},color:{type:"string",default:"#3c1a5b"}};function Wm(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 Um(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wm(Object(n),!0).forEach((function(t){Gm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vm=e=>{const t=e.attributes,n=(t.align,t.opacityRatio,t.imgURL),a=(t.backgroundFix,t.verticalFlip,t.horizontalFlip,t.separatorEnable),r=(t.design,t.height),i=t.color,o=(t.width,t.showFront),l=t.zindexDivider,s=t.dividerPosition,c=t.topDividerMargin,u=t.bottomDividerMargin,p=t.borderRadius;t.enableGap;let d="";n&&(d="url("+n+")");const m=[];let f="";return a&&(f="has-separator-top"===s?{top:c+"px",zIndex:o?l:""}:"has-separator-bottom"===s?{bottom:u+"px",zIndex:o?l:""}:""),m.push({".blockspare-block-container-wrapper":Um({},xc(e.attributes),{},xm(e.attributes),{},Sc(e.attributes),{borderRadius:p?p+"px":null}),".blockspare-image-wrap":{backgroundImage:d},".blockspare-top-separator":{sepStyles:f},".blockspare-svg-wrapper":{color:i||"#3c1a5b",height:r}}),wr.a.all(m)};const qm=wp.element.Component,$m=wp.compose.compose,Jm=wp.blockEditor.InnerBlocks;var Xm=$m(vr,br(Vm))(class extends qm{render(){const e=this.props,t=e.attributes,n=t.align,a=t.opacityRatio,r=t.imgURL,i=t.backgroundFix,l=t.verticalFlip,s=t.horizontalFlip,c=t.separatorEnable,u=t.design,p=(t.height,t.color,t.width),d=t.showFront,m=(t.zindexDivider,t.dividerPosition),f=(t.topDividerMargin,t.bottomDividerMargin,t.borderRadius,t.enableGap),b=e.className,g=(e.attributes,o()([b]));let h=o()("blockspare-blocks blockspare-svg-wrapper",function(e){if(void 0!==e){return"has-width-"+e.toString().replace(".","-")}}(p),b,{"is-vertically-flipped":l,"is-horizontally-flipped":s});return wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-container-wrapper",f?"has-gap-enable":"","align"+n,r&&r.length&&i?"blockspare-background-fix":"",c?m:"")},wp.element.createElement("div",{className:o()("blockspare-container-background","blockspare-image-wrap",(v=a,0===v?null:"has-background-opacity-"+10*Math.round(v/10)),{"has-background-opacity":0!==a})}),c&&wp.element.createElement("div",{className:o()("blockspare-top-separator",f?"has-gap-enable":"",d?"blockspare-svg-show-front":"")},wp.element.createElement("div",{className:h},wp.element.createElement(fm,{design:u,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks blockspare-inner-wrapper-blocks"},wp.element.createElement(Jm.Content,null)))));var v}});function Km(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 Qm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Km(Object(n),!0).forEach((function(t){Zm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Km(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ef=e=>{const t=e.attributes,n=(t.align,t.opacityRatio,t.imgURL),a=(t.backgroundFix,t.verticalFlip,t.horizontalFlip,t.separatorEnable),r=(t.design,t.height),i=t.color,o=(t.width,t.showFront),l=t.zindexDivider,s=t.dividerPosition,c=t.topDividerMargin,u=t.bottomDividerMargin,p=t.borderRadius;t.enableGap;let d="";n&&(d="url("+n+")");const m=[];let f="";return a&&(f="has-separator-top"===s?{top:c+"px",zIndex:o?l:""}:"has-separator-bottom"===s?{bottom:u+"px",zIndex:o?l:""}:""),m.push({".blockspare-block-container-wrapper":Qm({},xc(e.attributes),{},xm(e.attributes),{},Sc(e.attributes),{borderRadius:p?p+"px":null}),".blockspare-image-wrap":{backgroundImage:d},".blockspare-top-separator":{sepStyles:f},".blockspare-svg-wrapper":{color:i||"#3c1a5b",height:r}}),wr.a.all(m)};const tf=wp.element.Component,nf=wp.compose.compose,af=wp.blockEditor.InnerBlocks;var rf=nf(vr,br(ef))(class extends tf{render(){const e=this.props,t=e.attributes,n=t.align,a=t.opacityRatio,r=t.imgURL,i=t.backgroundFix,l=t.verticalFlip,s=t.horizontalFlip,c=t.separatorEnable,u=t.design,p=(t.height,t.color,t.width),d=t.showFront,m=(t.zindexDivider,t.dividerPosition),f=(t.topDividerMargin,t.bottomDividerMargin,t.borderRadius,t.enableGap),b=e.className,g=(e.attributes,o()([b]));let h=o()("blockspare-blocks blockspare-svg-wrapper",function(e){if(void 0!==e){return"has-width-"+e.toString().replace(".","-")}}(p),b,{"is-vertically-flipped":l,"is-horizontally-flipped":s});return wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-container-wrapper",f?"has-gap-enable":"","align"+n,r&&r.length&&i?"blockspare-background-fix":"",c?m:"")},wp.element.createElement("div",{className:o()("blockspare-container-background","blockspare-image-wrap",(v=a,0===v?null:"has-background-opacity-"+10*Math.round(v/10)),{"has-background-opacity":0!==a})}),c&&wp.element.createElement("div",{className:o()("blockspare-top-separator",f?"has-gap-enable":"",d?"blockspare-svg-show-front":"")},wp.element.createElement("div",{className:h},wp.element.createElement(fm,{design:u,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks blockspare-inner-wrapper-blocks"},wp.element.createElement(af.Content,null)))));var v}});function of(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 lf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?of(Object(n),!0).forEach((function(t){sf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):of(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const cf=wp.blockEditor.InnerBlocks;var uf=[{attributes:lf({},Im.attributes,{},Rm,{},Ci,{},Hm,{},Ti),save:function(e){const t=e.attributes,n=t.className,a=t.align,r=t.opacityRatio,i=t.imgURL,l=t.backgroundFix,s=t.verticalFlip,c=t.horizontalFlip,u=t.separatorEnable,p=t.design,d=t.height,m=t.color,f=t.width,b=t.showFront,g=t.zindexDivider,h=t.dividerPosition,v=t.topDividerMargin,y=t.bottomDividerMargin,w=t.borderRadius,k=t.enableGap,_=lf({},xm(e.attributes),{},xc(e.attributes),{minHeight:"100px"},Sc(e.attributes),{borderRadius:w||null});let x="";u&&(x="has-separator-top"===h?{top:v+"px",zIndex:b?g:""}:"has-separator-bottom"===h?{bottom:y+"px",zIndex:b?g:""}:"");let S="";i&&(S="url("+i+")");let E=o()("blockspare-blocks blockspare-svg-wrapper",function(e){return"has-width-"+e.toString().replace(".","-")}(f),n,{"is-vertically-flipped":s,"is-horizontally-flipped":c});return wp.element.createElement("div",{className:o()("blockspare-block-container-wrapper",k?"has-gap-enable":"","align"+a,i&&i.length&&l?"blockspare-background-fix":"",u?h:""),style:_},wp.element.createElement("div",{className:o()("blockspare-container-background","blockspare-image-wrap",(T=r,0===T?null:"has-background-opacity-"+10*Math.round(T/10)),{"has-background-opacity":0!==r}),style:{backgroundImage:S}}),u&&wp.element.createElement("div",{className:o()("blockspare-top-separator",k?"has-gap-enable":"",b?"blockspare-svg-show-front":""),style:x},wp.element.createElement("div",{className:E,style:{color:m||"#3c1a5b",height:d}},wp.element.createElement(fm,{design:p,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks blockspare-inner-wrapper-blocks"},wp.element.createElement(cf.Content,null))));var T}},{attributes:lf({},Rm,{},Ci,{},Hm,{},Ti,{},Im.attributes),save:e=>wp.element.createElement(Xm,e)},{attributes:lf({},Rm,{},Ci,{},Hm,{},Ti,{},qd.attributes),save:e=>wp.element.createElement(rf,e)}];function pf(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 df(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const mf=qd.name,ff=qd.category,bf=wp.i18n.__,gf=wp.blocks,hf=gf.registerBlockType,vf=gf.createBlock,yf=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pf(Object(n),!0).forEach((function(t){df(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Rm,{},Ci,{},Hm,{},Ti,{},qd.attributes);hf(mf,{title:bf("BS Container","blockspare"),description:bf("BS add container","blockspare"),category:ff,icon:r.container,attributes:yf,keywords:[bf("block","blockspare"),bf("container","blockspare"),bf("group","blockspare")],supports:{align:["center","wide","full"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:Nm,save:Bm,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert(e){if(1===e.length&&"blockspare/blockspare-container"===e[0].name)return;const t=["wide","full"],n=e.reduce((e,n)=>{const a=n.attributes.align;return t.indexOf(a)>t.indexOf(e)?a:e},void 0),a=e.map(e=>vf(e.name,e.attributes,e.innerBlocks));return vf("blockspare/blockspare-container",{align:n},a)}}]},deprecated:uf});n(596),n(597);var wf=n(35),kf=(n(598),["fas fa-ad","fas fa-address-book","fas fa-address-card","fas fa-adjust","fas fa-air-freshener","fas fa-align-center","fas fa-align-justify","fas fa-align-left","fas fa-align-right","fas fa-allergies","fas fa-ambulance","fas fa-american-sign-language-interpreting","fas fa-anchor","fas fa-angle-double-down","fas fa-angle-double-left","fas fa-angle-double-right","fas fa-angle-double-up","fas fa-angle-down","fas fa-angle-left","fas fa-angle-right","fas fa-angle-up","fas fa-angry","fas fa-ankh","fas fa-apple-alt","fas fa-archive","fas fa-archway","fas fa-arrow-alt-circle-down","fas fa-arrow-alt-circle-left","fas fa-arrow-alt-circle-right","fas fa-arrow-alt-circle-up","fas fa-arrow-circle-down","fas fa-arrow-circle-left","fas fa-arrow-circle-right","fas fa-arrow-circle-up","fas fa-arrow-down","fas fa-arrow-left","fas fa-arrow-right","fas fa-arrow-up","fas fa-arrows-alt","fas fa-arrows-alt-h","fas fa-arrows-alt-v","fas fa-assistive-listening-systems","fas fa-asterisk","fas fa-at","fas fa-atlas","fas fa-atom","fas fa-audio-description","fas fa-award","fas fa-baby","fas fa-baby-carriage","fas fa-backspace","fas fa-backward","fas fa-balance-scale","fas fa-ban","fas fa-band-aid","fas fa-barcode","fas fa-bars","fas fa-baseball-ball","fas fa-basketball-ball","fas fa-bath","fas fa-battery-empty","fas fa-battery-full","fas fa-battery-half","fas fa-battery-quarter","fas fa-battery-three-quarters","fas fa-bed","fas fa-beer","fas fa-bell","fas fa-bell-slash","fas fa-bezier-curve","fas fa-bible","fas fa-bicycle","fas fa-binoculars","fas fa-biohazard","fas fa-birthday-cake","fas fa-blender","fas fa-blender-phone","fas fa-blind","fas fa-blog","fas fa-bold","fas fa-bolt","fas fa-bomb","fas fa-bone","fas fa-bong","fas fa-book","fas fa-book-dead","fas fa-book-open","fas fa-book-reader","fas fa-bookmark","fas fa-bowling-ball","fas fa-box","fas fa-box-open","fas fa-boxes","fas fa-braille","fas fa-brain","fas fa-briefcase","fas fa-briefcase-medical","fas fa-broadcast-tower","fas fa-broom","fas fa-brush","fas fa-bug","fas fa-building","fas fa-bullhorn","fas fa-bullseye","fas fa-burn","fas fa-bus","fas fa-bus-alt","fas fa-business-time","fas fa-calculator","fas fa-calendar","fas fa-calendar-alt","fas fa-calendar-check","fas fa-calendar-day","fas fa-calendar-minus","fas fa-calendar-plus","fas fa-calendar-times","fas fa-calendar-week","fas fa-camera","fas fa-camera-retro","fas fa-campground","fas fa-candy-cane","fas fa-cannabis","fas fa-capsules","fas fa-car","fas fa-car-alt","fas fa-car-battery","fas fa-car-crash","fas fa-car-side","fas fa-caret-down","fas fa-caret-left","fas fa-caret-right","fas fa-caret-square-down","fas fa-caret-square-left","fas fa-caret-square-right","fas fa-caret-square-up","fas fa-caret-up","fas fa-carrot","fas fa-cart-arrow-down","fas fa-cart-plus","fas fa-cash-register","fas fa-cat","fas fa-certificate","fas fa-chair","fas fa-chalkboard","fas fa-chalkboard-teacher","fas fa-charging-station","fas fa-chart-area","fas fa-chart-bar","fas fa-chart-line","fas fa-chart-pie","fas fa-check","fas fa-check-circle","fas fa-check-double","fas fa-check-square","fas fa-chess","fas fa-chess-bishop","fas fa-chess-board","fas fa-chess-king","fas fa-chess-knight","fas fa-chess-pawn","fas fa-chess-queen","fas fa-chess-rook","fas fa-chevron-circle-down","fas fa-chevron-circle-left","fas fa-chevron-circle-right","fas fa-chevron-circle-up","fas fa-chevron-down","fas fa-chevron-left","fas fa-chevron-right","fas fa-chevron-up","fas fa-child","fas fa-church","fas fa-circle","fas fa-circle-notch","fas fa-city","fas fa-clipboard","fas fa-clipboard-check","fas fa-clipboard-list","fas fa-clock","fas fa-clone","fas fa-closed-captioning","fas fa-cloud","fas fa-cloud-download-alt","fas fa-cloud-meatball","fas fa-cloud-moon","fas fa-cloud-moon-rain","fas fa-cloud-rain","fas fa-cloud-showers-heavy","fas fa-cloud-sun","fas fa-cloud-sun-rain","fas fa-cloud-upload-alt","fas fa-cocktail","fas fa-code","fas fa-code-branch","fas fa-coffee","fas fa-cog","fas fa-cogs","fas fa-coins","fas fa-columns","fas fa-comment","fas fa-comment-alt","fas fa-comment-dollar","fas fa-comment-dots","fas fa-comment-slash","fas fa-comments","fas fa-comments-dollar","fas fa-compact-disc","fas fa-compass","fas fa-compress","fas fa-compress-arrows-alt","fas fa-concierge-bell","fas fa-cookie","fas fa-cookie-bite","fas fa-copy","fas fa-copyright","fas fa-couch","fas fa-credit-card","fas fa-crop","fas fa-crop-alt","fas fa-cross","fas fa-crosshairs","fas fa-crow","fas fa-crown","fas fa-cube","fas fa-cubes","fas fa-cut","fas fa-database","fas fa-deaf","fas fa-democrat","fas fa-desktop","fas fa-dharmachakra","fas fa-diagnoses","fas fa-dice","fas fa-dice-d20","fas fa-dice-d6","fas fa-dice-five","fas fa-dice-four","fas fa-dice-one","fas fa-dice-six","fas fa-dice-three","fas fa-dice-two","fas fa-digital-tachograph","fas fa-directions","fas fa-divide","fas fa-dizzy","fas fa-dna","fas fa-dog","fas fa-dollar-sign","fas fa-dolly","fas fa-dolly-flatbed","fas fa-donate","fas fa-door-closed","fas fa-door-open","fas fa-dot-circle","fas fa-dove","fas fa-download","fas fa-drafting-compass","fas fa-dragon","fas fa-draw-polygon","fas fa-drum","fas fa-drum-steelpan","fas fa-drumstick-bite","fas fa-dumbbell","fas fa-dumpster","fas fa-dumpster-fire","fas fa-dungeon","fas fa-edit","fas fa-eject","fas fa-ellipsis-h","fas fa-ellipsis-v","fas fa-envelope","fas fa-envelope-open","fas fa-envelope-open-text","fas fa-envelope-square","fas fa-equals","fas fa-eraser","fas fa-ethernet","fas fa-euro-sign","fas fa-exchange-alt","fas fa-exclamation","fas fa-exclamation-circle","fas fa-exclamation-triangle","fas fa-expand","fas fa-expand-arrows-alt","fas fa-external-link-alt","fas fa-external-link-square-alt","fas fa-eye","fas fa-eye-dropper","fas fa-eye-slash","fas fa-fast-backward","fas fa-fast-forward","fas fa-fax","fas fa-feather","fas fa-feather-alt","fas fa-female","fas fa-fighter-jet","fas fa-file","fas fa-file-alt","fas fa-file-archive","fas fa-file-audio","fas fa-file-code","fas fa-file-contract","fas fa-file-csv","fas fa-file-download","fas fa-file-excel","fas fa-file-export","fas fa-file-image","fas fa-file-import","fas fa-file-invoice","fas fa-file-invoice-dollar","fas fa-file-medical","fas fa-file-medical-alt","fas fa-file-pdf","fas fa-file-powerpoint","fas fa-file-prescription","fas fa-file-signature","fas fa-file-upload","fas fa-file-video","fas fa-file-word","fas fa-fill","fas fa-fill-drip","fas fa-film","fas fa-filter","fas fa-fingerprint","fas fa-fire","fas fa-fire-alt","fas fa-fire-extinguisher","fas fa-first-aid","fas fa-fish","fas fa-fist-raised","fas fa-flag","fas fa-flag-checkered","fas fa-flag-usa","fas fa-flask","fas fa-flushed","fas fa-folder","fas fa-folder-minus","fas fa-folder-open","fas fa-folder-plus","fas fa-font","fas fa-football-ball","fas fa-forward","fas fa-frog","fas fa-frown","fas fa-frown-open","fas fa-funnel-dollar","fas fa-futbol","fas fa-gamepad","fas fa-gas-pump","fas fa-gavel","fas fa-gem","fas fa-genderless","fas fa-ghost","fas fa-gift","fas fa-gifts","fas fa-glass-cheers","fas fa-glass-martini","fas fa-glass-martini-alt","fas fa-glass-whiskey","fas fa-glasses","fas fa-globe","fas fa-globe-africa","fas fa-globe-americas","fas fa-globe-asia","fas fa-globe-europe","fas fa-golf-ball","fas fa-gopuram","fas fa-graduation-cap","fas fa-greater-than","fas fa-greater-than-equal","fas fa-grimace","fas fa-grin","fas fa-grin-alt","fas fa-grin-beam","fas fa-grin-beam-sweat","fas fa-grin-hearts","fas fa-grin-squint","fas fa-grin-squint-tears","fas fa-grin-stars","fas fa-grin-tears","fas fa-grin-tongue","fas fa-grin-tongue-squint","fas fa-grin-tongue-wink","fas fa-grin-wink","fas fa-grip-horizontal","fas fa-grip-lines","fas fa-grip-lines-vertical","fas fa-grip-vertical","fas fa-guitar","fas fa-h-square","fas fa-hammer","fas fa-hamsa","fas fa-hand-holding","fas fa-hand-holding-heart","fas fa-hand-holding-usd","fas fa-hand-lizard","fas fa-hand-paper","fas fa-hand-peace","fas fa-hand-point-down","fas fa-hand-point-left","fas fa-hand-point-right","fas fa-hand-point-up","fas fa-hand-pointer","fas fa-hand-rock","fas fa-hand-scissors","fas fa-hand-spock","fas fa-hands","fas fa-hands-helping","fas fa-handshake","fas fa-hanukiah","fas fa-hashtag","fas fa-hat-wizard","fas fa-haykal","fas fa-hdd","fas fa-heading","fas fa-headphones","fas fa-headphones-alt","fas fa-headset","fas fa-heart","fas fa-heart-broken","fas fa-heartbeat","fas fa-helicopter","fas fa-highlighter","fas fa-hiking","fas fa-hippo","fas fa-history","fas fa-hockey-puck","fas fa-holly-berry","fas fa-home","fas fa-horse","fas fa-horse-head","fas fa-hospital","fas fa-hospital-alt","fas fa-hospital-symbol","fas fa-hot-tub","fas fa-hotel","fas fa-hourglass","fas fa-hourglass-end","fas fa-hourglass-half","fas fa-hourglass-start","fas fa-house-damage","fas fa-hryvnia","fas fa-i-cursor","fas fa-icicles","fas fa-id-badge","fas fa-id-card","fas fa-id-card-alt","fas fa-igloo","fas fa-image","fas fa-images","fas fa-inbox","fas fa-indent","fas fa-industry","fas fa-infinity","fas fa-info","fas fa-info-circle","fas fa-italic","fas fa-jedi","fas fa-joint","fas fa-journal-whills","fas fa-kaaba","fas fa-key","fas fa-keyboard","fas fa-khanda","fas fa-kiss","fas fa-kiss-beam","fas fa-kiss-wink-heart","fas fa-kiwi-bird","fas fa-landmark","fas fa-language","fas fa-laptop","fas fa-laptop-code","fas fa-laugh","fas fa-laugh-beam","fas fa-laugh-squint","fas fa-laugh-wink","fas fa-layer-group","fas fa-leaf","fas fa-lemon","fas fa-less-than","fas fa-less-than-equal","fas fa-level-down-alt","fas fa-level-up-alt","fas fa-life-ring","fas fa-lightbulb","fas fa-link","fas fa-lira-sign","fas fa-list","fas fa-list-alt","fas fa-list-ol","fas fa-list-ul","fas fa-location-arrow","fas fa-lock","fas fa-lock-open","fas fa-long-arrow-alt-down","fas fa-long-arrow-alt-left","fas fa-long-arrow-alt-right","fas fa-long-arrow-alt-up","fas fa-low-vision","fas fa-luggage-cart","fas fa-magic","fas fa-magnet","fas fa-mail-bulk","fas fa-male","fas fa-map","fas fa-map-marked","fas fa-map-marked-alt","fas fa-map-marker","fas fa-map-marker-alt","fas fa-map-pin","fas fa-map-signs","fas fa-marker","fas fa-mars","fas fa-mars-double","fas fa-mars-stroke","fas fa-mars-stroke-h","fas fa-mars-stroke-v","fas fa-mask","fas fa-medal","fas fa-medkit","fas fa-meh","fas fa-meh-blank","fas fa-meh-rolling-eyes","fas fa-memory","fas fa-menorah","fas fa-mercury","fas fa-meteor","fas fa-microchip","fas fa-microphone","fas fa-microphone-alt","fas fa-microphone-alt-slash","fas fa-microphone-slash","fas fa-microscope","fas fa-minus","fas fa-minus-circle","fas fa-minus-square","fas fa-mitten","fas fa-mobile","fas fa-mobile-alt","fas fa-money-bill","fas fa-money-bill-alt","fas fa-money-bill-wave","fas fa-money-bill-wave-alt","fas fa-money-check","fas fa-money-check-alt","fas fa-monument","fas fa-moon","fas fa-mortar-pestle","fas fa-mosque","fas fa-motorcycle","fas fa-mountain","fas fa-mouse-pointer","fas fa-mug-hot","fas fa-music","fas fa-network-wired","fas fa-neuter","fas fa-newspaper","fas fa-not-equal","fas fa-notes-medical","fas fa-object-group","fas fa-object-ungroup","fas fa-oil-can","fas fa-om","fas fa-otter","fas fa-outdent","fas fa-paint-brush","fas fa-paint-roller","fas fa-palette","fas fa-pallet","fas fa-paper-plane","fas fa-paperclip","fas fa-parachute-box","fas fa-paragraph","fas fa-parking","fas fa-passport","fas fa-pastafarianism","fas fa-paste","fas fa-pause","fas fa-pause-circle","fas fa-paw","fas fa-peace","fas fa-pen","fas fa-pen-alt","fas fa-pen-fancy","fas fa-pen-nib","fas fa-pen-square","fas fa-pencil-alt","fas fa-pencil-ruler","fas fa-people-carry","fas fa-percent","fas fa-percentage","fas fa-person-booth","fas fa-phone","fas fa-phone-slash","fas fa-phone-square","fas fa-phone-volume","fas fa-piggy-bank","fas fa-pills","fas fa-place-of-worship","fas fa-plane","fas fa-plane-arrival","fas fa-plane-departure","fas fa-play","fas fa-play-circle","fas fa-plug","fas fa-plus","fas fa-plus-circle","fas fa-plus-square","fas fa-podcast","fas fa-poll","fas fa-poll-h","fas fa-poo","fas fa-poo-storm","fas fa-poop","fas fa-portrait","fas fa-pound-sign","fas fa-power-off","fas fa-pray","fas fa-praying-hands","fas fa-prescription","fas fa-prescription-bottle","fas fa-prescription-bottle-alt","fas fa-print","fas fa-procedures","fas fa-project-diagram","fas fa-puzzle-piece","fas fa-qrcode","fas fa-question","fas fa-question-circle","fas fa-quidditch","fas fa-quote-left","fas fa-quote-right","fas fa-quran","fas fa-radiation","fas fa-radiation-alt","fas fa-rainbow","fas fa-random","fas fa-receipt","fas fa-recycle","fas fa-redo","fas fa-redo-alt","fas fa-registered","fas fa-reply","fas fa-reply-all","fas fa-republican","fas fa-restroom","fas fa-retweet","fas fa-ribbon","fas fa-ring","fas fa-road","fas fa-robot","fas fa-rocket","fas fa-route","fas fa-rss","fas fa-rss-square","fas fa-ruble-sign","fas fa-ruler","fas fa-ruler-combined","fas fa-ruler-horizontal","fas fa-ruler-vertical","fas fa-running","fas fa-rupee-sign","fas fa-sad-cry","fas fa-sad-tear","fas fa-satellite","fas fa-satellite-dish","fas fa-save","fas fa-school","fas fa-screwdriver","fas fa-scroll","fas fa-sd-card","fas fa-search","fas fa-search-dollar","fas fa-search-location","fas fa-search-minus","fas fa-search-plus","fas fa-seedling","fas fa-server","fas fa-shapes","fas fa-share","fas fa-share-alt","fas fa-share-alt-square","fas fa-share-square","fas fa-shekel-sign","fas fa-shield-alt","fas fa-ship","fas fa-shipping-fast","fas fa-shoe-prints","fas fa-shopping-bag","fas fa-shopping-basket","fas fa-shopping-cart","fas fa-shower","fas fa-shuttle-van","fas fa-sign","fas fa-sign-in-alt","fas fa-sign-language","fas fa-sign-out-alt","fas fa-signal","fas fa-signature","fas fa-sim-card","fas fa-sitemap","fas fa-skating","fas fa-skiing","fas fa-skiing-nordic","fas fa-skull","fas fa-skull-crossbones","fas fa-slash","fas fa-sleigh","fas fa-sliders-h","fas fa-smile","fas fa-smile-beam","fas fa-smile-wink","fas fa-smog","fas fa-smoking","fas fa-smoking-ban","fas fa-sms","fas fa-snowboarding","fas fa-snowflake","fas fa-snowman","fas fa-snowplow","fas fa-socks","fas fa-solar-panel","fas fa-sort","fas fa-sort-alpha-down","fas fa-sort-alpha-up","fas fa-sort-amount-down","fas fa-sort-amount-up","fas fa-sort-down","fas fa-sort-numeric-down","fas fa-sort-numeric-up","fas fa-sort-up","fas fa-spa","fas fa-space-shuttle","fas fa-spider","fas fa-spinner","fas fa-splotch","fas fa-spray-can","fas fa-square","fas fa-square-full","fas fa-square-root-alt","fas fa-stamp","fas fa-star","fas fa-star-and-crescent","fas fa-star-half","fas fa-star-half-alt","fas fa-star-of-david","fas fa-star-of-life","fas fa-step-backward","fas fa-step-forward","fas fa-stethoscope","fas fa-sticky-note","fas fa-stop","fas fa-stop-circle","fas fa-stopwatch","fas fa-store","fas fa-store-alt","fas fa-stream","fas fa-street-view","fas fa-strikethrough","fas fa-stroopwafel","fas fa-subscript","fas fa-subway","fas fa-suitcase","fas fa-suitcase-rolling","fas fa-sun","fas fa-superscript","fas fa-surprise","fas fa-swatchbook","fas fa-swimmer","fas fa-swimming-pool","fas fa-synagogue","fas fa-sync","fas fa-sync-alt","fas fa-syringe","fas fa-table","fas fa-table-tennis","fas fa-tablet","fas fa-tablet-alt","fas fa-tablets","fas fa-tachometer-alt","fas fa-tag","fas fa-tags","fas fa-tape","fas fa-tasks","fas fa-taxi","fas fa-teeth","fas fa-teeth-open","fas fa-temperature-high","fas fa-temperature-low","fas fa-tenge","fas fa-terminal","fas fa-text-height","fas fa-text-width","fas fa-th","fas fa-th-large","fas fa-th-list","fas fa-theater-masks","fas fa-thermometer","fas fa-thermometer-empty","fas fa-thermometer-full","fas fa-thermometer-half","fas fa-thermometer-quarter","fas fa-thermometer-three-quarters","fas fa-thumbs-down","fas fa-thumbs-up","fas fa-thumbtack","fas fa-ticket-alt","fas fa-times","fas fa-times-circle","fas fa-tint","fas fa-tint-slash","fas fa-tired","fas fa-toggle-off","fas fa-toggle-on","fas fa-toilet","fas fa-toilet-paper","fas fa-toolbox","fas fa-tools","fas fa-tooth","fas fa-torah","fas fa-torii-gate","fas fa-tractor","fas fa-trademark","fas fa-traffic-light","fas fa-train","fas fa-tram","fas fa-transgender","fas fa-transgender-alt","fas fa-trash","fas fa-trash-alt","fas fa-tree","fas fa-trophy","fas fa-truck","fas fa-truck-loading","fas fa-truck-monster","fas fa-truck-moving","fas fa-truck-pickup","fas fa-tshirt","fas fa-tty","fas fa-tv","fas fa-umbrella","fas fa-umbrella-beach","fas fa-underline","fas fa-undo","fas fa-undo-alt","fas fa-universal-access","fas fa-university","fas fa-unlink","fas fa-unlock","fas fa-unlock-alt","fas fa-upload","fas fa-user","fas fa-user-alt","fas fa-user-alt-slash","fas fa-user-astronaut","fas fa-user-check","fas fa-user-circle","fas fa-user-clock","fas fa-user-cog","fas fa-user-edit","fas fa-user-friends","fas fa-user-graduate","fas fa-user-injured","fas fa-user-lock","fas fa-user-md","fas fa-user-minus","fas fa-user-ninja","fas fa-user-plus","fas fa-user-secret","fas fa-user-shield","fas fa-user-slash","fas fa-user-tag","fas fa-user-tie","fas fa-user-times","fas fa-users","fas fa-users-cog","fas fa-utensil-spoon","fas fa-utensils","fas fa-vector-square","fas fa-venus","fas fa-venus-double","fas fa-venus-mars","fas fa-vial","fas fa-vials","fas fa-video","fas fa-video-slash","fas fa-vihara","fas fa-volleyball-ball","fas fa-volume-down","fas fa-volume-mute","fas fa-volume-off","fas fa-volume-up","fas fa-vote-yea","fas fa-vr-cardboard","fas fa-walking","fas fa-wallet","fas fa-warehouse","fas fa-water","fas fa-weight","fas fa-weight-hanging","fas fa-wheelchair","fas fa-wifi","fas fa-wind","fas fa-window-close","fas fa-window-maximize","fas fa-window-minimize","fas fa-window-restore","fas fa-wine-bottle","fas fa-wine-glass","fas fa-wine-glass-alt","fas fa-won-sign","fas fa-wrench","fas fa-x-ray","fas fa-yen-sign","fas fa-yin-yang","far fa-address-book","far fa-address-card","far fa-angry","far fa-arrow-alt-circle-down","far fa-arrow-alt-circle-left","far fa-arrow-alt-circle-right","far fa-arrow-alt-circle-up","far fa-bell","far fa-bell-slash","far fa-bookmark","far fa-building","far fa-calendar","far fa-calendar-alt","far fa-calendar-check","far fa-calendar-minus","far fa-calendar-plus","far fa-calendar-times","far fa-caret-square-down","far fa-caret-square-left","far fa-caret-square-right","far fa-caret-square-up","far fa-chart-bar","far fa-check-circle","far fa-check-square","far fa-circle","far fa-clipboard","far fa-clock","far fa-clone","far fa-closed-captioning","far fa-comment","far fa-comment-alt","far fa-comment-dots","far fa-comments","far fa-compass","far fa-copy","far fa-copyright","far fa-credit-card","far fa-dizzy","far fa-dot-circle","far fa-edit","far fa-envelope","far fa-envelope-open","far fa-eye","far fa-eye-slash","far fa-file","far fa-file-alt","far fa-file-archive","far fa-file-audio","far fa-file-code","far fa-file-excel","far fa-file-image","far fa-file-pdf","far fa-file-powerpoint","far fa-file-video","far fa-file-word","far fa-flag","far fa-flushed","far fa-folder","far fa-folder-open","far fa-frown","far fa-frown-open","far fa-futbol","far fa-gem","far fa-grimace","far fa-grin","far fa-grin-alt","far fa-grin-beam","far fa-grin-beam-sweat","far fa-grin-hearts","far fa-grin-squint","far fa-grin-squint-tears","far fa-grin-stars","far fa-grin-tears","far fa-grin-tongue","far fa-grin-tongue-squint","far fa-grin-tongue-wink","far fa-grin-wink","far fa-hand-lizard","far fa-hand-paper","far fa-hand-peace","far fa-hand-point-down","far fa-hand-point-left","far fa-hand-point-right","far fa-hand-point-up","far fa-hand-pointer","far fa-hand-rock","far fa-hand-scissors","far fa-hand-spock","far fa-handshake","far fa-hdd","far fa-heart","far fa-hospital","far fa-hourglass","far fa-id-badge","far fa-id-card","far fa-image","far fa-images","far fa-keyboard","far fa-kiss","far fa-kiss-beam","far fa-kiss-wink-heart","far fa-laugh","far fa-laugh-beam","far fa-laugh-squint","far fa-laugh-wink","far fa-lemon","far fa-life-ring","far fa-lightbulb","far fa-list-alt","far fa-map","far fa-meh","far fa-meh-blank","far fa-meh-rolling-eyes","far fa-minus-square","far fa-money-bill-alt","far fa-moon","far fa-newspaper","far fa-object-group","far fa-object-ungroup","far fa-paper-plane","far fa-pause-circle","far fa-play-circle","far fa-plus-square","far fa-question-circle","far fa-registered","far fa-sad-cry","far fa-sad-tear","far fa-save","far fa-share-square","far fa-smile","far fa-smile-beam","far fa-smile-wink","far fa-snowflake","far fa-square","far fa-star","far fa-star-half","far fa-sticky-note","far fa-stop-circle","far fa-sun","far fa-surprise","far fa-thumbs-down","far fa-thumbs-up","far fa-times-circle","far fa-tired","far fa-trash-alt","far fa-user","far fa-user-circle","far fa-window-close","far fa-window-maximize","far fa-window-minimize","far fa-window-restore","fab fa-500px","fab fa-accessible-icon","fab fa-accusoft","fab fa-acquisitions-incorporated","fab fa-adn","fab fa-adobe","fab fa-adversal","fab fa-affiliatetheme","fab fa-algolia","fab fa-alipay","fab fa-amazon","fab fa-amazon-pay","fab fa-amilia","fab fa-android","fab fa-angellist","fab fa-angrycreative","fab fa-angular","fab fa-app-store","fab fa-app-store-ios","fab fa-apper","fab fa-apple","fab fa-apple-pay","fab fa-artstation","fab fa-asymmetrik","fab fa-atlassian","fab fa-audible","fab fa-autoprefixer","fab fa-avianex","fab fa-aviato","fab fa-aws","fab fa-bandcamp","fab fa-behance","fab fa-behance-square","fab fa-bimobject","fab fa-bitbucket","fab fa-bitcoin","fab fa-bity","fab fa-black-tie","fab fa-blackberry","fab fa-blogger","fab fa-blogger-b","fab fa-bluetooth","fab fa-bluetooth-b","fab fa-btc","fab fa-buromobelexperte","fab fa-buysellads","fab fa-canadian-maple-leaf","fab fa-cc-amazon-pay","fab fa-cc-amex","fab fa-cc-apple-pay","fab fa-cc-diners-club","fab fa-cc-discover","fab fa-cc-jcb","fab fa-cc-mastercard","fab fa-cc-paypal","fab fa-cc-stripe","fab fa-cc-visa","fab fa-centercode","fab fa-centos","fab fa-chrome","fab fa-cloudscale","fab fa-cloudsmith","fab fa-cloudversify","fab fa-codepen","fab fa-codiepie","fab fa-confluence","fab fa-connectdevelop","fab fa-contao","fab fa-cpanel","fab fa-creative-commons","fab fa-creative-commons-by","fab fa-creative-commons-nc","fab fa-creative-commons-nc-eu","fab fa-creative-commons-nc-jp","fab fa-creative-commons-nd","fab fa-creative-commons-pd","fab fa-creative-commons-pd-alt","fab fa-creative-commons-remix","fab fa-creative-commons-sa","fab fa-creative-commons-sampling","fab fa-creative-commons-sampling-plus","fab fa-creative-commons-share","fab fa-creative-commons-zero","fab fa-critical-role","fab fa-css3","fab fa-css3-alt","fab fa-cuttlefish","fab fa-d-and-d","fab fa-d-and-d-beyond","fab fa-dashcube","fab fa-delicious","fab fa-deploydog","fab fa-deskpro","fab fa-dev","fab fa-deviantart","fab fa-dhl","fab fa-diaspora","fab fa-digg","fab fa-digital-ocean","fab fa-discord","fab fa-discourse","fab fa-dochub","fab fa-docker","fab fa-draft2digital","fab fa-dribbble","fab fa-dribbble-square","fab fa-dropbox","fab fa-drupal","fab fa-dyalog","fab fa-earlybirds","fab fa-ebay","fab fa-edge","fab fa-elementor","fab fa-ello","fab fa-ember","fab fa-empire","fab fa-envira","fab fa-erlang","fab fa-ethereum","fab fa-etsy","fab fa-expeditedssl","fab fa-facebook","fab fa-facebook-f","fab fa-facebook-messenger","fab fa-facebook-square","fab fa-fantasy-flight-games","fab fa-fedex","fab fa-fedora","fab fa-figma","fab fa-firefox","fab fa-first-order","fab fa-first-order-alt","fab fa-firstdraft","fab fa-flickr","fab fa-flipboard","fab fa-fly","fab fa-font-awesome","fab fa-font-awesome-alt","fab fa-font-awesome-flag","fab fa-fonticons","fab fa-fonticons-fi","fab fa-fort-awesome","fab fa-fort-awesome-alt","fab fa-forumbee","fab fa-foursquare","fab fa-free-code-camp","fab fa-freebsd","fab fa-fulcrum","fab fa-galactic-republic","fab fa-galactic-senate","fab fa-get-pocket","fab fa-gg","fab fa-gg-circle","fab fa-git","fab fa-git-square","fab fa-github","fab fa-github-alt","fab fa-github-square","fab fa-gitkraken","fab fa-gitlab","fab fa-gitter","fab fa-glide","fab fa-glide-g","fab fa-gofore","fab fa-goodreads","fab fa-goodreads-g","fab fa-google","fab fa-google-drive","fab fa-google-play","fab fa-google-plus","fab fa-google-plus-g","fab fa-google-plus-square","fab fa-google-wallet","fab fa-gratipay","fab fa-grav","fab fa-gripfire","fab fa-grunt","fab fa-gulp","fab fa-hacker-news","fab fa-hacker-news-square","fab fa-hackerrank","fab fa-hips","fab fa-hire-a-helper","fab fa-hooli","fab fa-hornbill","fab fa-hotjar","fab fa-houzz","fab fa-html5","fab fa-hubspot","fab fa-imdb","fab fa-instagram","fab fa-intercom","fab fa-internet-explorer","fab fa-invision","fab fa-ioxhost","fab fa-itunes","fab fa-itunes-note","fab fa-java","fab fa-jedi-order","fab fa-jenkins","fab fa-jira","fab fa-joget","fab fa-joomla","fab fa-js","fab fa-js-square","fab fa-jsfiddle","fab fa-kaggle","fab fa-keybase","fab fa-keycdn","fab fa-kickstarter","fab fa-kickstarter-k","fab fa-korvue","fab fa-laravel","fab fa-lastfm","fab fa-lastfm-square","fab fa-leanpub","fab fa-less","fab fa-line","fab fa-linkedin","fab fa-linkedin-in","fab fa-linode","fab fa-linux","fab fa-lyft","fab fa-magento","fab fa-mailchimp","fab fa-mandalorian","fab fa-markdown","fab fa-mastodon","fab fa-maxcdn","fab fa-medapps","fab fa-medium","fab fa-medium-m","fab fa-medrt","fab fa-meetup","fab fa-megaport","fab fa-mendeley","fab fa-microsoft","fab fa-mix","fab fa-mixcloud","fab fa-mizuni","fab fa-modx","fab fa-monero","fab fa-napster","fab fa-neos","fab fa-nimblr","fab fa-nintendo-switch","fab fa-node","fab fa-node-js","fab fa-npm","fab fa-ns8","fab fa-nutritionix","fab fa-odnoklassniki","fab fa-odnoklassniki-square","fab fa-old-republic","fab fa-opencart","fab fa-openid","fab fa-opera","fab fa-optin-monster","fab fa-osi","fab fa-page4","fab fa-pagelines","fab fa-palfed","fab fa-patreon","fab fa-paypal","fab fa-penny-arcade","fab fa-periscope","fab fa-phabricator","fab fa-phoenix-framework","fab fa-phoenix-squadron","fab fa-php","fab fa-pied-piper","fab fa-pied-piper-alt","fab fa-pied-piper-hat","fab fa-pied-piper-pp","fab fa-pinterest","fab fa-pinterest-p","fab fa-pinterest-square","fab fa-playstation","fab fa-product-hunt","fab fa-pushed","fab fa-python","fab fa-qq","fab fa-quinscape","fab fa-quora","fab fa-r-project","fab fa-raspberry-pi","fab fa-ravelry","fab fa-react","fab fa-reacteurope","fab fa-readme","fab fa-rebel","fab fa-red-river","fab fa-reddit","fab fa-reddit-alien","fab fa-reddit-square","fab fa-redhat","fab fa-renren","fab fa-replyd","fab fa-researchgate","fab fa-resolving","fab fa-rev","fab fa-rocketchat","fab fa-rockrms","fab fa-safari","fab fa-sass","fab fa-schlix","fab fa-scribd","fab fa-searchengin","fab fa-sellcast","fab fa-sellsy","fab fa-servicestack","fab fa-shirtsinbulk","fab fa-shopware","fab fa-simplybuilt","fab fa-sistrix","fab fa-sith","fab fa-sketch","fab fa-skyatlas","fab fa-skype","fab fa-slack","fab fa-slack-hash","fab fa-slideshare","fab fa-snapchat","fab fa-snapchat-ghost","fab fa-snapchat-square","fab fa-soundcloud","fab fa-sourcetree","fab fa-speakap","fab fa-spotify","fab fa-squarespace","fab fa-stack-exchange","fab fa-stack-overflow","fab fa-staylinked","fab fa-steam","fab fa-steam-square","fab fa-steam-symbol","fab fa-sticker-mule","fab fa-strava","fab fa-stripe","fab fa-stripe-s","fab fa-studiovinari","fab fa-stumbleupon","fab fa-stumbleupon-circle","fab fa-superpowers","fab fa-supple","fab fa-suse","fab fa-teamspeak","fab fa-telegram","fab fa-telegram-plane","fab fa-tencent-weibo","fab fa-the-red-yeti","fab fa-themeco","fab fa-themeisle","fab fa-think-peaks","fab fa-trade-federation","fab fa-trello","fab fa-tripadvisor","fab fa-tumblr","fab fa-tumblr-square","fab fa-twitch","fab fa-twitter","fab fa-twitter-square","fab fa-typo3","fab fa-uber","fab fa-ubuntu","fab fa-uikit","fab fa-uniregistry","fab fa-untappd","fab fa-ups","fab fa-usb","fab fa-usps","fab fa-ussunnah","fab fa-vaadin","fab fa-viacoin","fab fa-viadeo","fab fa-viadeo-square","fab fa-viber","fab fa-vimeo","fab fa-vimeo-square","fab fa-vimeo-v","fab fa-vine","fab fa-vk","fab fa-vnv","fab fa-vuejs","fab fa-weebly","fab fa-weibo","fab fa-weixin","fab fa-whatsapp","fab fa-whatsapp-square","fab fa-whmcs","fab fa-wikipedia-w","fab fa-windows","fab fa-wix","fab fa-wizards-of-the-coast","fab fa-wolf-pack-battalion","fab fa-wordpress","fab fa-wordpress-simple","fab fa-wpbeginner","fab fa-wpexplorer","fab fa-wpforms","fab fa-wpressr","fab fa-xbox","fab fa-xing","fab fa-xing-square","fab fa-y-combinator","fab fa-yahoo","fab fa-yandex","fab fa-yandex-international","fab fa-yarn","fab fa-yelp","fab fa-yoast","fab fa-youtube","fab fa-youtube-square","fab fa-zhihu"]);const _f=wp.i18n.__,xf=wp.element,Sf=xf.Component,Ef=xf.Fragment;var Tf=class extends Sf{constructor(e){super(e),this.state={isOpen:!1,filterText:"",showIcons:!1}}render(){const e=this.props,t=e.value,n=e.disableToggle,a=e.colorSettings,r=e.iconColor,i=e.onColorChange,o=this.state.filterText;var l=[];return o.length>2?kf.forEach(e=>{e.includes(o)&&l.push(e)}):l=kf,wp.element.createElement("div",{className:"blockspare-field blockspare-field-icon-list "+(n?"":"blockspare-toggle-enabled")},this.props.label&&wp.element.createElement(Ef,null,n?wp.element.createElement("label",null,this.props.label):wp.element.createElement(Toggle,{label:this.props.label,className:"blockspare-icon-list-toggle",value:!!this.props.value,onChange:()=>this.props.onChange(this.props.value?"":" ")})),a&&wp.element.createElement(Color,{label:_f(" Color"),value:r||"#ccc",onChange:e=>i(e)}),(n||""!=this.props.value)&&wp.element.createElement("div",{className:"blockspare-icon-list-wrapper"},wp.element.createElement("input",{type:"text",value:this.state.filterText,placeholder:"Search...",onChange:e=>this.setState({filterText:e.target.value}),autoComplete:"off"}),wp.element.createElement("div",{className:"blockspare-icon-list-icons"},l.map(e=>wp.element.createElement("span",{className:t==e?"blockspare-active":"",onClick:t=>{this.props.onChange(e)}},wp.element.createElement("span",{className:e}))))))}};const Cf=wp.i18n.__,Mf=wp.element.Fragment,Of=wp.blockEditor,Lf=(Of.InspectorControls,Of.PanelColorSettings),Df=wp.components,Ff=(Df.PanelBody,Df.SelectControl);Df.RangeControl;function Pf(e){const t=e.name,n=e.onChangeName,a=void 0===n?()=>{}:n,r=e.enableiconSize,i=e.iconSize,o=e.onChangeIconSizeOptions,l=void 0===o?()=>{}:o,s=e.enableiconStyles,c=e.iconStyles,u=e.onChangeIconStyles,p=void 0===u?()=>{}:u,d=e.iconBackgroundColor,m=e.onChangeIconBackgroundColor,f=void 0===m?()=>{}:m,b=(e.iconBorderColor,e.onChangeIconBorderColor,e.iconColor),g=e.OnChangeIconColor,h=void 0===g?()=>{}:g,v=(e.borderRadius,e.onChangeBorderRadius,[{value:"blockspare-icon-size-small",label:Cf("Small","blockspare")},{value:"blockspare-icon-size-medium",label:Cf("Medium","blockspare")},{value:"blockspare-icon-size-large",label:Cf("Large","blockspare")},{value:"blockspare-icon-size-extralarge",label:Cf("Extra Large","blockspare")}]),y=[{value:"blockspare-icon-style1",label:Cf("None","blockspare")},{value:"blockspare-icon-style2",label:Cf("Background","blockspare")},{value:"blockspare-icon-style3",label:Cf("Border","blockspare")}];return wp.element.createElement(Mf,null,wp.element.createElement(Tf,{value:t,onChange:a}),0!=r&&wp.element.createElement(Ff,{label:Cf("Icon Size","blockspare"),value:i,options:v.map(({value:e,label:t})=>({value:e,label:t})),onChange:l}),0!=s&&wp.element.createElement(Ff,{label:Cf("Icon Style","blockspare"),value:c,options:y.map(({value:e,label:t})=>({value:e,label:t})),onChange:p}),wp.element.createElement(Lf,{title:Cf("Icon Color","blockspare"),initialOpen:!1,colorSettings:[{value:b,onChange:h,label:Cf("Icon Color","blockspare")}]}),"blockspare-icon-style2"===c&&wp.element.createElement(Lf,{title:Cf("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:d,onChange:f,label:Cf("Background Color","blockspare")}]}))}const jf=wp.element.Component,Nf=wp.i18n.__,zf=wp.blockEditor,Af=zf.InspectorControls,Yf=(zf.PanelColorSettings,wp.components),Bf=(Yf.RangeControl,Yf.PanelBody),If=Yf.ToggleControl;Yf.SelectControl;class Rf extends jf{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.backGroundColor,t.showImage),a=(t.counterFontColor,t.paddingTop),r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.marginTop,s=t.marginBottom,c=t.imgIconOption,u=t.name,p=t.iconSize,d=t.iconStyles,m=t.iconBackgroundColor,f=t.iconBorderColor,b=t.iconColor,g=t.borderRadius,h=(t.design,t.titleFontSize),v=(t.subtitleFontSize,t.headerTagOption),y=t.headertitleColor,w=t.headersubtitleColor,k=t.headerlayoutOption,_=t.titlePaddingTop,S=t.titlePaddingBottom,E=t.subtitlePaddingTop,T=t.subtitlePaddingBottom,C=t.headerboxColor,M=t.dashColor,O=(t.blockBorderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.titleLoadGoogleFonts),L=t.titleFontFamily,D=t.titleFontWeight,F=t.titleFontSubset,P=t.titleFontSizeType,j=t.titleFontSizeMobile,N=t.titleFontSizeTablet,z=t.subTitleFontSize,A=t.subTitleLoadGoogleFonts,Y=t.subTitleFontFamily,B=t.subTitleFontWeight,I=t.subTitleFontSubset,R=t.subTitleFontSizeType,H=t.subTitleFontSizeMobile,W=t.subTitleFontSizeTablet,U=t.counterFontSize,G=t.counterLoadGoogleFonts,V=t.counterFontFamily,q=t.counterFontWeight,$=t.counterFontSubset,J=t.counterFontSizeType,X=t.counterFontSizeMobile,K=t.counterFontSizeTablet,Q=e.attributes,Z=e.setAttributes;Nf("Icon","blockspare"),Nf("Image","blockspare"),Nf("Layout 1","blockspare"),Nf("Layout 2","blockspare"),Nf("Layout 1","blockspare"),Nf("Layout 2","blockspare"),Nf("Layout 3","blockspare");return wp.element.createElement(Af,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"counter"}),wp.element.createElement(Bf,{title:Nf("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(If,{label:Nf("Display Icon ","blockspare"),checked:n,onChange:()=>this.props.setAttributes({showImage:!n})})),"icon"==c&&n&&wp.element.createElement(Bf,{title:Nf("Icon Settings"),initialOpen:!1},wp.element.createElement(Pf,{name:u,onChangeName:e=>Z({name:e}),enableiconSize:!1,iconSize:p,onChangeIconSizeOptions:e=>Z({iconSize:e}),enableiconStyles:!1,iconStyles:d,onChangeIconStyles:e=>Z({iconStyles:e}),iconBackgroundColor:m,onChangeIconBackgroundColor:e=>Z({iconBackgroundColor:e}),iconBorderColor:f,onChangeIconBorderColor:e=>Z({iconBorderColor:e}),iconColor:b,OnChangeIconColor:e=>Z({iconColor:e}),borderRadius:g,onChangeBorderRadius:e=>Z({borderRadius:e})})),wp.element.createElement(Bf,{title:Nf("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(ac,{headerlayoutOption:k,onChangeHeaderLayput:e=>Z({headerlayoutOption:e})}),wp.element.createElement(Bf,{title:Nf("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:Nf("Title Fonts Settings"),attributes:Q,setAttributes:Z,loadGoogleFonts:{value:O,label:Nf("titleLoadGoogleFonts")},fontFamily:{value:L,label:Nf("titleFontFamily")},fontWeight:{value:D,label:Nf("titleFontWeight")},fontSubset:{value:F,label:Nf("titleFontSubset")},fontSizeType:{value:P,label:Nf("titleFontSizeType")},fontSize:{value:h,label:Nf("titleFontSize")},fontSizeMobile:{value:j,label:Nf("titleFontSizeMobile")},fontSizeTablet:{value:N,label:Nf("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:v}),wp.element.createElement(Ns,{label:Nf("Subtitle Fonts Settings"),attributes:Q,setAttributes:Z,loadGoogleFonts:{value:A,label:Nf("subTitleLoadGoogleFonts")},fontFamily:{value:Y,label:Nf("subTitleFontFamily")},fontWeight:{value:B,label:Nf("subTitleFontWeight")},fontSubset:{value:I,label:Nf("subTitleFontSubset")},fontSizeType:{value:R,label:Nf("subTitleFontSizeType")},fontSize:{value:z,label:Nf("subTitleFontSize")},fontSizeMobile:{value:H,label:Nf("subTitleFontSizeMobile")},fontSizeTablet:{value:W,label:Nf("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),wp.element.createElement(Ns,{label:Nf("Counter Fonts Settings"),attributes:Q,setAttributes:Z,loadGoogleFonts:{value:G,label:Nf("counterLoadGoogleFonts")},fontFamily:{value:V,label:Nf("counterFontFamily")},fontWeight:{value:q,label:Nf("counterFontWeight")},fontSubset:{value:$,label:Nf("counterFontSubset")},fontSizeType:{value:J,label:Nf("counterFontSizeType")},fontSize:{value:U,label:Nf("counterFontSize")},fontSizeMobile:{value:X,label:Nf("counterFontSizeMobile")},fontSizeTablet:{value:K,label:Nf("counterFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(ji,{enableBlockGaps:!1,headerTagOption:v,onChangeHeaderTag:e=>Z({headerTagOption:e}),headerboxColor:C,onChangeboxcolor:e=>Z({headerboxColor:e}),dashColor:M,headerlayoutOption:k,onChangeDashColor:e=>Z({dashColor:e}),headertitleColor:y,onChangetitlecolor:e=>Z({headertitleColor:e}),titlePaddingTop:_,onChangetitlePaddingTop:e=>Z({titlePaddingTop:e}),titlePaddingBottom:S,onChangetitlePaddingBottom:e=>Z({titlePaddingBottom:e}),headersubtitleColor:w,onChangesubtitlecolor:e=>Z({headersubtitleColor:e}),subtitlePaddingTop:E,onChangesubtitlePaddingTop:e=>Z({subtitlePaddingTop:e}),subtitlePaddingBottom:T,onChangesubtitlePaddingBottom:e=>Z({subtitlePaddingBottom:e})})),wp.element.createElement(Bf,{title:Nf("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(Bf,{title:Nf("Padding Settings","blockspare"),initialOpen:!1},wp.element.createElement(Pe,{paddingEnableTop:!0,paddingTop:a,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>Z({paddingTop:e}),paddingEnableRight:!0,paddingRight:r,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>Z({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:i,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>Z({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:o,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>Z({paddingLeft:e})})),wp.element.createElement(Bf,{title:Nf("Margin Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:l,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>Z({marginTop:e}),marginEnableBottom:!0,marginBottom:s,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>Z({marginBottom:e})})))))}}var Hf=n(309),Wf=n.n(Hf);var Uf=e=>{let t="";return t="blockspare-icon-style2"===e.iconStyles?{backgroundColor:e.iconBackgroundColor?e.iconBackgroundColor:"#8b249c",borderColor:e.iconBorderColor?e.iconBorderColor:"#8b249c",color:e.iconColor?e.iconColor:"#fff",borderRadius:e.borderRadius+"%"}:"blockspare-icon-style3"===e.iconStyles?{backgroundColor:"transparent",borderColor:e.iconBorderColor?e.iconBorderColor:"#8b249c",color:e.iconColor?e.iconColor:"#fff",borderRadius:e.borderRadius+"%"}:{color:e.iconColor?e.iconColor:"#fff"},t};function Gf(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 Vf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gf(Object(n),!0).forEach((function(t){qf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $f=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.headerpaddingTop,m=t.headerpaddingRight,f=t.headerpaddingBottom,b=t.headerpaddingLeft,g=t.headermarginTop,h=t.headermarginBottom,v=t.counterFontColor,y=t.backGroundColor,w=t.blockBorderRadius,k=t.titleFontFamily,_=t.titleFontWeight,x=t.titleFontSizeType,S=t.titleFontSizeMobile,E=t.titleFontSizeTablet,T=t.subTitleFontSize,C=t.subTitleFontFamily,M=t.subTitleFontWeight,O=t.subTitleFontSizeType,L=t.subTitleFontSizeMobile,D=t.subTitleFontSizeTablet,F=t.counterFontSize,P=t.counterFontFamily,j=t.counterFontWeight,N=t.counterFontSizeType,z=t.counterFontSizeMobile,A=t.counterFontSizeTablet,Y=[];return Y.push({".blockspare-counter-wrapper":Vf({backgroundColor:y||"#fff"},xc(e.attributes),{},Sc(e.attributes),{borderRadius:w||null}),".blockspare-counter-wrapper .blockspare-block-icon":Vf({},Uf(e.attributes)),".blockspare-counter":{fontSize:F+N,fontFamily:P,fontWeight:j}}),Y.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:d+"px",paddingRight:m+"px",paddingBottom:f+"px",marginTop:g+"px",marginBottom:h+"px",paddingLeft:b+"px"}}),Y.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+x,fontFamily:k,fontWeight:_,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:T+O,fontFamily:C,fontWeight:M,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},".blockspare-counter-wrapper":Vf({backgroundColor:y||"#fff"},xc(e.attributes),{},Sc(e.attributes),{borderRadius:w?w+"px":null}),".blockspare-counter":{color:v||"#000"},"..blockspare-block-icon":Vf({},Uf(e.attributes)),tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:E+x},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:D+O},".blockspare-counter":{fontSize:A+x}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:S+x},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:L+O},".blockspare-counter":{fontSize:z+x}}}),wr.a.all(Y)};function Jf(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 Xf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Kf=wp.element,Qf=Kf.Component,Zf=Kf.Fragment,eb=(wp.i18n.__,wp.compose.compose),tb=wp.components,nb=tb.Toolbar,ab=tb.RangeControl,rb=wp.blockEditor,ib=rb.BlockControls,ob=rb.InnerBlocks,lb=["core/image"],sb=[["core/image",{}]];var cb=eb(vr,br($f))(class extends Qf{render(){const e=this.props,t=e.attributes,n=t.align,a=t.showImage,r=t.counter,i=(t.counterFontColor,t.imgIconOption),l=t.name,s=t.iconSize,c=t.iconStyles,u=t.design,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=(t.blockBorderRadius,t.titleLoadGoogleFonts),b=t.titleFontFamily,g=t.titleFontWeight,h=t.subTitleLoadGoogleFonts,v=t.subTitleFontFamily,y=t.subTitleFontWeight,w=t.headerlayoutOption,k=t.sectionAlignment,_=t.counterLoadGoogleFonts,x=t.counterFontFamily,S=t.counterFontWeight,E=e.className,T=(e.isSelected,e.attributes,e.setAttributes);let C;if(1==_){const e={google:{families:[x+(S?":"+S:"")]}};C=wp.element.createElement(Fr,{config:e})}const M=o()([E]);return wp.element.createElement(Zf,null,wp.element.createElement(Rf,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jf(Object(n),!0).forEach((function(t){Xf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:T},this.props)),wp.element.createElement(ib,null,wp.element.createElement(nb,null,wp.element.createElement(ab,{className:"blockspare_progress_bar_value",value:r,onChange:e=>T({counter:e}),min:0,max:1e6}))),wp.element.createElement("div",{className:M},this.props.styles,wp.element.createElement("div",{className:"blockspare-counter-wrapper blockspare-blocks"},wp.element.createElement("div",{className:o()("blockspare-counter-section")},wp.element.createElement("div",{className:o()("blockspare-counters-item",u)},a&&"image"==i&&wp.element.createElement(ob,{template:sb,allowedBlocks:lb,templateLock:!0,templateInsertUpdatesSelection:!0}),a&&"icon"==i&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",s,c)},wp.element.createElement("i",{className:l}))),wp.element.createElement("div",{className:"blockspare-counters"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+n)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",w,"blockspare-"+k)},wp.element.createElement(_c,{setAttributes:T,headerTitle:d,headerTagOption:p,headerSubTitle:m,titleFontFamily:b,titleFontWeight:g,titleLoadGoogleFonts:f,subTitleLoadGoogleFonts:h,subTitleFontFamily:v,subTitleFontWeight:y})))),wp.element.createElement("p",{className:"blockspare-counter"},wp.element.createElement(Wf.a,{className:"account-balance",start:0,end:r,duration:4.75})))))),C)}});const ub=wp.element.Component,pb=wp.compose.compose,db=wp.blockEditor.InnerBlocks;var mb=pb(vr,br($f))(class extends ub{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.showImage,a=t.counter,r=t.align,i=(t.counterFontColor,t.imgIconOption),l=t.name,s=t.iconSize,c=t.iconStyles,u=t.design,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=(t.backGroundColor,t.blockBorderRadius,t.sectionAlignment),b=t.headerlayoutOption,g=e.className,h=(e.attributes,o()([g]));return wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:"blockspare-counter-wrapper blockspare-blocks blockspare-section-counter-bar"},wp.element.createElement("div",{className:o()("blockspare-counter-section")},wp.element.createElement("div",{className:o()("blockspare-counters-item",u)},n&&"image"==i&&wp.element.createElement(db.Content,null),n&&"icon"==i&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",s,c)},wp.element.createElement("i",{className:l}))),wp.element.createElement("div",{className:"blockspare-counters"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+r)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",b,"blockspare-"+f)},wp.element.createElement(Qc,{headerTitle:d,headerTagOption:p,headerSubTitle:m})))),wp.element.createElement("p",{className:"blockspare-counter"},a)))))}});function fb(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 bb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fb(Object(n),!0).forEach((function(t){gb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hb=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.headerpaddingTop,m=t.headerpaddingRight,f=t.headerpaddingBottom,b=t.headerpaddingLeft,g=t.headermarginTop,h=t.headermarginBottom,v=t.counterFontColor,y=t.backGroundColor,w=t.blockBorderRadius,k=t.titleFontFamily,_=t.titleFontWeight,x=t.titleFontSizeType,S=t.titleFontSizeMobile,E=t.titleFontSizeTablet,T=t.subTitleFontSize,C=t.subTitleFontFamily,M=t.subTitleFontWeight,O=t.subTitleFontSizeType,L=t.subTitleFontSizeMobile,D=t.subTitleFontSizeTablet,F=t.counterFontSize,P=t.counterFontFamily,j=t.counterFontWeight,N=t.counterFontSizeType,z=t.counterFontSizeMobile,A=t.counterFontSizeTablet,Y=[];return Y.push({".blockspare-counter-wrapper":bb({backgroundColor:y||"#fff"},xc(e.attributes),{},Sc(e.attributes),{borderRadius:w||null}),".blockspare-block-icon":bb({},Uf(e.attributes)),".blockspare-counter":{fontSize:F+N,fontFamily:P,fontWeight:j}}),Y.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:d+"px",paddingRight:m+"px",paddingBottom:f+"px",marginTop:g+"px",marginBottom:h+"px",paddingLeft:b+"px"}}),Y.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+x,fontFamily:k,fontWeight:_,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:T+O,fontFamily:C,fontWeight:M,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},".blockspare-counter-wrapper":bb({backgroundColor:y||"#fff"},xc(e.attributes),{},Sc(e.attributes),{borderRadius:w?w+"px":null}),".blockspare-counter":{color:v||"#000"},"..blockspare-block-icon":bb({},Uf(e.attributes)),tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:E+x},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:D+O},".blockspare-counter":{fontSize:A+x}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:S+x},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:L+O},".blockspare-counter":{fontSize:z+x}}}),wr.a.all(Y)};const vb=wp.element.Component,yb=wp.compose.compose,wb=wp.blockEditor.InnerBlocks;var kb=yb(vr,br(hb))(class extends vb{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.showImage,a=t.counter,r=t.align,i=(t.counterFontColor,t.imgIconOption),l=t.name,s=t.iconSize,c=t.iconStyles,u=t.design,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=(t.backGroundColor,t.blockBorderRadius,t.sectionAlignment),b=t.headerlayoutOption,g=e.className,h=(e.attributes,o()([g]));return wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:"blockspare-counter-wrapper blockspare-blocks blockspare-section-counter-bar"},wp.element.createElement("div",{className:o()("blockspare-counter-section")},wp.element.createElement("div",{className:o()("blockspare-counters-item",u)},n&&"image"==i&&wp.element.createElement(wb.Content,null),n&&"icon"==i&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",s,c)},wp.element.createElement("i",{className:l}))),wp.element.createElement("div",{className:"blockspare-counters"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+r)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",b,"blockspare-"+f)},wp.element.createElement(Qc,{headerTitle:d,headerTagOption:p,headerSubTitle:m})))),wp.element.createElement("p",{className:"blockspare-counter"},a)))))}});function _b(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 xb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_b(Object(n),!0).forEach((function(t){Sb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Eb=xb({},Ei,{},Ci,{},wf.attributes,{},Ti),Tb=wp.editor.RichText;var Cb=[{attributes:Eb,save:function(e){const t=e.attributes,n=t.showImage,a=t.counter,r=t.counterFontColor,i=t.imgIconOption,l=t.name,s=t.iconSize,c=t.iconStyles,u=t.design,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.backGroundColor,b=t.blockBorderRadius,g=xb({backgroundColor:f||"#fff"},xc(e.attributes),{},Sc(e.attributes),{borderRadius:b||null}),h=xb({},Uf(e.attributes)),v=xb({},iu(e.attributes)),y=xb({},ou(e.attributes)),w=xb({},lu(e.attributes));return wp.element.createElement("div",{className:"blockspare-counter-wrapper blockspare-blocks blockspare-section-counter-bar",style:g},wp.element.createElement("div",{className:o()("blockspare-counter-section")},wp.element.createElement("div",{className:o()("blockspare-counters-item",u)},n&&"image"==i&&wp.element.createElement(InnerBlocks.Content,null),n&&"icon"==i&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",s,c),style:h},wp.element.createElement("i",{className:l}))),wp.element.createElement("div",{className:"blockspare-counters"},wp.element.createElement(hu,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:v}),d&&wp.element.createElement(Tb.Content,{tagName:p,className:"blockspare-title",style:y,value:d}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:v})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:v}),m&&wp.element.createElement(Tb.Content,{tagName:"p",className:"blockspare-subtitle",style:w,value:m}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:v})))),wp.element.createElement("p",{className:"blockspare-counter",style:{color:r||"#000"}},a))))}},{attributes:Eb,save:e=>wp.element.createElement(kb,e)}];function Mb(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 Ob(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Lb=wf.name,Db=wf.category,Fb=wp.i18n.__,Pb=wp.blocks.registerBlockType,jb=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mb(Object(n),!0).forEach((function(t){Ob(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ei,{},Ci,{},wf.attributes,{},Ti);Pb(Lb,{title:Fb("BS Counter","blockspare"),description:Fb("Add counter in you page and post","blockspare`"),Description:"Displays Counter",category:Db,icon:r.counter,attributes:jb,keywords:[Fb("block","blockspare"),Fb("counter","blockspare"),Fb("number","blockspare"),Fb("box","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{counter:100,counterFontColor:"#000",headertitleColor:"#000",backGroundColor:"#fff",headersubtitleColor:"#000",name:"fas fa-chart-line",headerTitle:"Enter Title"}},edit:cb,save:mb,deprecated:Cb});n(599);var Nb=n(36);const zb=wp.i18n.__,Ab=wp.element.Component,Yb=wp.blockEditor.InspectorControls,Bb=wp.components.PanelBody;class Ib extends Ab{render(){const e=this.props.attributes,t=e.name,n=e.iconSize,a=e.iconStyles,r=e.iconBackgroundColor,i=e.iconBorderColor,o=e.iconColor,l=e.borderRadius,s=e.marginTop,c=e.marginBottom,u=this.props.setAttributes;return wp.element.createElement(Yb,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"icon"}),wp.element.createElement(Bb,{title:zb("Icon Settings"),initialOpen:!1},wp.element.createElement(Pf,{name:t,onChangeName:e=>u({name:e}),enableiconSize:!1,iconSize:n,onChangeIconSizeOptions:e=>u({iconSize:e}),enableiconStyles:!1,iconStyles:a,onChangeIconStyles:e=>u({iconStyles:e}),iconBackgroundColor:r,onChangeIconBackgroundColor:e=>u({iconBackgroundColor:e}),iconBorderColor:i,onChangeIconBorderColor:e=>u({iconBorderColor:e}),iconColor:o,OnChangeIconColor:e=>u({iconColor:e}),borderRadius:l,onChangeBorderRadius:e=>u({borderRadius:e})})),wp.element.createElement(Bb,{title:zb("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:s,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>u({marginTop:e}),marginEnableBottom:!0,marginBottom:c,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>u({marginBottom:e})}))))}}var Rb=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconStyles,r=t.iconBackgroundColor,i=t.iconBorderColor,o=t.iconColor,l=t.borderRadius,s=t.marginTop,c=t.marginBottom,u=[];return u.push({".blockspare-block-icon-wrapper":{textAlign:n,marginTop:s+"px",marginBottom:c+"px"}}),"blockspare-icon-style2"===a?u.push({".blockspare-block-icon":{backgroundColor:r||"#8b249c",borderColor:i||"#8b249c",color:o||"#fff",borderRadius:l+"%"}}):"blockspare-icon-style3"===a?u.push({".blockspare-block-icon":{backgroundColor:"transparent",borderColor:i||"#8b249c",color:o||"#fff",borderRadius:l+"%"}}):u.push({".blockspare-block-icon":{color:o||"#fff"}}),wr.a.all(u)};function Hb(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 Wb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ub=wp.element,Gb=Ub.Component,Vb=Ub.Fragment,qb=(wp.i18n.__,wp.compose.compose),$b=wp.blockEditor,Jb=$b.AlignmentToolbar,Xb=$b.BlockControls;var Kb=qb(vr,br(Rb,{editorMode:!0}))(class extends Gb{constructor(){super(...arguments),this.state={device:"md",spacer:!0}}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}render(){const e=this.props,t=e.attributes,n=t.name,a=t.iconSize,r=t.iconStyles,i=t.sectionAlignment,l=e.className,s=(e.attributes,e.setAttributes),c=o()([l,"blockspare-blocks"]);return wp.element.createElement(Vb,null,wp.element.createElement(Xb,{key:"controls"},wp.element.createElement(Jb,{value:i,onChange:e=>{s({sectionAlignment:e})}})),wp.element.createElement(Ib,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hb(Object(n),!0).forEach((function(t){Wb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:s},this.props)),wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",a,r)},wp.element.createElement("i",{className:n})))))}});const Qb=wp.element.Component,Zb=wp.compose.compose;var eg=Zb(vr,br(Rb))(class extends Qb{render(){const e=this.props,t=e.attributes,n=t.name,a=t.iconSize,r=t.iconStyles,i=e.className,l=o()([i,"blockspare-blocks"]);return wp.element.createElement("div",{className:l},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",a,r)},wp.element.createElement("i",{className:n}))))}});var tg=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconStyles,r=t.iconBackgroundColor,i=t.iconBorderColor,o=t.iconColor,l=t.borderRadius,s=[];return s.push({".blockspare-block-icon-wrapper":{textAlign:n}}),"blockspare-icon-style2"===a?s.push({".blockspare-block-icon":{backgroundColor:r||"#8b249c",borderColor:i||"#8b249c",color:o||"#fff",borderRadius:l+"%"}}):"blockspare-icon-style3"===a?s.push({".blockspare-block-icon":{backgroundColor:"transparent",borderColor:i||"#8b249c",color:o||"#fff",borderRadius:l+"%"}}):s.push({".blockspare-block-icon":{color:o||"#fff"}}),wr.a.all(s)};const ng=wp.element.Component,ag=wp.compose.compose;var rg=ag(vr,br(tg))(class extends ng{render(){const e=this.props,t=e.attributes,n=t.name,a=t.iconSize,r=t.iconStyles,i=e.className,l=o()([i,"blockspare-blocks"]);return wp.element.createElement("div",{className:l},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",a,r)},wp.element.createElement("i",{className:n}))))}});function ig(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 og(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lg=Nb.attributes;var sg=[{attributes:lg,save:function(e){const t=e.attributes,n=t.name,a=t.iconSize,r=t.iconStyles,i=t.sectionAlignment,l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ig(Object(n),!0).forEach((function(t){og(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ig(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Uf(e.attributes));return wp.element.createElement("div",{className:"blockspare-block"},wp.element.createElement("div",{className:"blockspare-block-icon-wrapper",style:{textAlign:i}},wp.element.createElement("div",{className:o()("blockspare-block-icon",a,r),style:l},wp.element.createElement("i",{className:n}))))}},{attributes:lg,save:e=>wp.element.createElement(rg,e)}];const cg=Nb.name,ug=Nb.category,pg=Nb.attributes,dg=wp.i18n.__;(0,wp.blocks.registerBlockType)(cg,{title:dg("BS Icon","blockspare"),description:dg("Our Icon block allows you to choose and place various type of icons","blockspare"),category:ug,icon:r.iconblockspare,keywords:[dg("block","blockspare"),dg("icon","blockspare"),dg("set","blockspare"),dg("box","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},attributes:pg,edit:Kb,save:eg,deprecated:sg});n(600),n(601);var mg=n(37),fg=n(31),bg=n.n(fg),gg=n(32),hg=n.n(gg);const vg=wp.i18n.__,yg=wp.element.Component,wg=wp.blockEditor,kg=wg.InspectorControls,_g=wg.PanelColorSettings,xg=wp.components,Sg=xg.PanelBody,Eg=xg.SelectControl,Tg=xg.ToggleControl,Cg=(xg.TextControl,xg.RangeControl);class Mg extends yg{imageSizeSelect(){const e=wp.data.select("core/editor").getEditorSettings();return hg()(zi()(e.imageSizes,({name:e,slug:t})=>({value:t,label:e})))}render(){const e=this.props,t=e.attributes,n=t.numberofSlide,a=(t.carouselSpeed,t.showsliderNextPrev),r=(t.carouselNextIcon,t.showDots),i=t.navigationColor,o=t.gutterSpace,l=(t.colorFilter,t.showOriginalOnHover,t.navigationSize),s=t.enableAutoPlay,c=t.marginTop,u=t.marginBottom,p=(e.attributes,e.setAttributes),d={value:"selectimage",label:vg("Select image size")};this.imageSizeSelect().unshift(d);vg("Chevron","blockspare"),vg("Angle","blockspare"),vg("Chevron Circle","blockspare"),vg("Caret","blockspare"),vg("Circle","blockspare"),vg("Original","blockspare"),vg("Grayscale","blockspare"),vg("Sepia","blockspare"),vg("Saturation","blockspare"),vg("Dim","blockspare"),vg("Vintage","blockspare");const m=[{value:"blockspare-navigation-small",label:vg("Small","blockspare")},{value:"blockspare-navigation-medium",label:vg("Medium","blockspare")},{value:"blockspare-navigation-large",label:vg("Large","blockspare")}];return wp.element.createElement(kg,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"image-carousel"}),wp.element.createElement(Sg,{title:vg("Carousel Settings","blockspare"),initialOpen:!1},wp.element.createElement(Cg,{label:vg("Number of slide to show","blockspare"),value:n,onChange:e=>p({numberofSlide:e}),min:2,max:3}),wp.element.createElement(Cg,{label:vg("Gutter Sapce","blockspare"),value:o,onChange:e=>p({gutterSpace:e}),min:0,max:5}),wp.element.createElement(Tg,{label:vg("Enable Autoplay","blockspare"),checked:s,onChange:()=>this.props.setAttributes({enableAutoPlay:!s}),help:vg("The effect will applicable on frontend only.","blockspare")}),wp.element.createElement(Tg,{label:vg("Display Navigation","blockspare"),checked:a,onChange:()=>this.props.setAttributes({showsliderNextPrev:!a})}),a&&wp.element.createElement(Eg,{label:vg(" Navigation Size","blockspare"),value:l,options:m.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>p({navigationSize:e})}),wp.element.createElement(Tg,{label:vg("Display Dots","blockspare"),checked:r,onChange:()=>this.props.setAttributes({showDots:!r})}),a&&wp.element.createElement(_g,{title:vg("Navigation/Dots Color","blockspare"),initialOpen:!1,colorSettings:[{value:i,onChange:e=>p({navigationColor:e}),label:vg("Navigation/Dots Color","blockspare")}]})),wp.element.createElement(Sg,{title:vg("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:c,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>p({marginTop:e}),marginEnableBottom:!0,marginBottom:u,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>p({marginBottom:e})}))))}}var Og=n(310),Lg=n.n(Og);const Dg=wp.i18n.__,Fg=wp.element,Pg=Fg.Component,jg=Fg.Fragment,Ng=wp.compose.compose,zg=wp.components,Ag=zg.IconButton,Yg=zg.Spinner,Bg=zg.Dashicon,Ig=wp.blockEditor,Rg=Ig.RichText,Hg=Ig.URLInput,Wg=wp.data.withSelect,Ug=wp.keycodes,Gg=(Ug.BACKSPACE,Ug.DELETE,wp.blob.isBlobURL);var Vg=Ng([Wg((e,t)=>{const n=e("core").getMedia,a=t.id;return{image:a?n(a):null}})])(class extends Pg{constructor(){super(...arguments),this.onImageClick=this.onImageClick.bind(this),this.onSelectCaption=this.onSelectCaption.bind(this),this.bindContainer=this.bindContainer.bind(this),this.saveCustomLink=this.saveCustomLink.bind(this),this.state={captionSelected:!1,captionFocused:!1,isSaved:!1}}bindContainer(e){this.container=e}onSelectCaption(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}onImageClick(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1,captionFocused:!1})}saveCustomLink(){this.setState({isSaved:!0})}componentDidUpdate(e){const t=this.props,n=t.isSelected,a=t.image,r=t.url,i=t.imgLink;a&&!r&&this.props.setAttributes({url:a.source_url,alt:a.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1,captionFocused:!1}),i&&!n&&e.isSelected&&this.setState({isSaved:!1})}render(){const e=this.props,t=e.alt,n=e.caption,a=e.captions,r=e.fontSize,i=e.gutter,l=e.gutterMobile,s=e.id,c=e.isFirstItem,u=e.isLastItem,p=e.isSelected,d=e.linkTo,m=e.marginBottom,f=e.marginLeft,b=e.marginRight,g=e.marginTop,h=e.onMoveBackward,v=e.onMoveForward,y=e.onRemove,w=e.setAttributes,k=e.shadow,_=e.supportsCaption,x=e.supportsMoving,S=void 0===x||x,E=e.verticalMoving,T=void 0!==E&&E,C=e.url,M=e.sizes,O=e.inspectorSize,L=e["aria-label"],D=e.imgLink;let F="";F=M?"medium"===O?void 0===M.medium?C:void 0!==M.medium?M.medium.url:C:"full"===O?void 0===M.large?C:void 0!==M.full.url?M.full.url:C:C:C;const P=o()({["has-shadow-"+k]:"none"!==k||void 0!==k}),j=wp.element.createElement(jg,null,wp.element.createElement("img",{src:F,className:P,alt:t,"data-id":s,"data-imglink":D,onClick:this.onImageClick,tabIndex:"0","aria-label":L}),Gg(C)&&wp.element.createElement(Yg,null)),N=o()({"is-selected":p,"is-transient":C&&0===C.indexOf("blob:"),["has-margin-top-"+i]:g&&i>0,["has-margin-top-mobile-"+l]:g&&l>0,["has-margin-right-"+i]:b&&i>0,["has-margin-right-mobile-"+l]:b&&l>0,["has-margin-bottom-"+i]:m&&i>0,["has-margin-bottom-mobile-"+l]:m&&l>0,["has-margin-left-"+i]:f&&i>0,["has-margin-left-mobile-"+l]:f&&l>0}),z={fontSize:r?r+"px":void 0};return wp.element.createElement("figure",{className:"blockspare-gallery-figure "+N,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},p&&wp.element.createElement(jg,null,S&&wp.element.createElement("div",{className:"components-blockspare-gallery-item__move-menu"},wp.element.createElement(Ag,{icon:T?"arrow-up":"arrow-left",onClick:!c&&h,className:"blockspare-gallery-item-button",label:Dg("Move Image Backward","blockspare"),"aria-disabled":c,disabled:!p}),wp.element.createElement(Ag,{icon:T?"arrow-down":"arrow-right",onClick:!u&&v,className:"blockspare-gallery-item-button",label:Dg("Move Image Forward","blockspare"),"aria-disabled":u,disabled:!p})),wp.element.createElement("div",{className:"components-blockspare-gallery-item__remove-menu"},wp.element.createElement(Ag,{icon:"no-alt",onClick:y,className:"blockspare-gallery-item-button",label:Dg("Remove Image","blockspare"),disabled:!p})),"custom"===d&&wp.element.createElement("form",{className:"components-blockspare-gallery-item-image-link",onSubmit:e=>e.preventDefault()},wp.element.createElement(Bg,{icon:"admin-links"}),wp.element.createElement(Hg,{value:D,onChange:e=>w({imgLink:e})}),wp.element.createElement(Ag,{icon:this.state.isSaved?"saved":"editor-break",label:this.state.isSaved?Dg("Saving","blockspare"):Dg("Apply","blockspare"),onClick:this.saveCustomLink,type:"submit"}))),j,!0!==_||Rg.isEmpty(n)&&!p||!a?null:wp.element.createElement(Rg,{tagName:"figcaption",placeholder:Dg("Write caption…","blockspare"),className:"blockspare-gallery-caption",style:z,value:n,isSelected:this.state.captionSelected,onChange:e=>w({caption:e}),unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}),qg=n(311),$g=n.n(qg),Jg=n(75),Xg=n.n(Jg),Kg=n(312),Qg=n.n(Kg);const Zg=(e,t)=>{const n=$g()(e,["alt","id","link","caption","imgLink","sizes"]);n.url=Xg()(e,["sizes","large","url"])||Xg()(e,["media_details","sizes","large","source_url"])||e.url;const a=Qg()(t,(function(e){return e.url===n.url}));return n.imgLink=a>=0?t[a].imgLink:"",n},eh=["image"],th=wp.i18n,nh=th.__,ah=th.sprintf,rh=wp.element.Component,ih=wp.blockEditor,oh=ih.MediaPlaceholder,lh=ih.BlockIcon;var sh=class extends rh{constructor(){super(...arguments),this.onSelectImages=this.onSelectImages.bind(this)}onSelectImages(e){this.props.setAttributes({images:e.map(e=>Zg(e))})}render(){const e=this.props,t=e.attributes,n=(e.gutter,e.gutterMobile,e.isSelected),a=(e.marginBottom,e.marginLeft,e.marginRight,e.marginTop,e.noticeOperations),r=e.noticeUI,i=t.images,l=!!i.length,s=o()("blockspare-gallery--figure");return wp.element.createElement("div",{className:s},wp.element.createElement(oh,{addToGallery:l,isAppender:l,dropZoneUIOnly:l&&!n,icon:!l&&wp.element.createElement(lh,{icon:this.props.icon}),labels:{title:!l&&ah(nh("%s Gallery","blockspare"),this.props.label),instructions:!l&&nh("Upload an image file, pick one from your media library, or add one with a URL.","blockspare")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:eh,multiple:!0,value:l?i:void 0,onError:a.createErrorNotice,notices:l?void 0:r}))}};const ch=wp.element,uh=ch.Component,ph=ch.Fragment,dh=wp.blockEditor.mediaUpload,mh=wp.components.DropZone;var fh=class extends uh{constructor(){super(...arguments),this.addMediaFiles=this.addMediaFiles.bind(this)}addMediaFiles(e){const t=this.props.attributes.images||[],n=this.props,a=n.noticeOperations,r=n.setAttributes;dh({allowedTypes:eh,filesList:e,onFileChange:e=>{const n=e.map(e=>Zg(e));r({images:t.concat(n)})},onError:a.createErrorNotice})}render(){return wp.element.createElement(ph,null,wp.element.createElement(mh,{onFilesDrop:this.addMediaFiles,label:this.props.label}))}};var bh=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=[];return r.push({".blockspare-carousel-wrap":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0}}),wr.a.all(r)};function gh(){return(gh=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 hh(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 vh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hh(Object(n),!0).forEach((function(t){yh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const wh=wp.element,kh=wh.Component,_h=wh.Fragment,xh=wp.i18n,Sh=xh.__,Eh=xh.sprintf,Th=wp.compose.compose,Ch=wp.components,Mh=Ch.withNotices,Oh=(Ch.ResizableBox,Ch.Toolbar),Lh=Ch.IconButton,Dh=wp.blockEditor,Fh=Dh.BlockControls,Ph=Dh.MediaUpload,jh=Dh.MediaUploadCheck;var Nh=Th([Mh,vr,br(bh)])(class extends kh{constructor(){super(...arguments),this.onSelectImage=this.onSelectImage.bind(this),this.onRemoveImage=this.onRemoveImage.bind(this),this.onMoveForward=this.onMoveForward.bind(this),this.onMoveBackward=this.onMoveBackward.bind(this),this.setImageAttributes=this.setImageAttributes.bind(this),this.onItemClick=this.onItemClick.bind(this),this.onEditSelectImages=this.onEditSelectImages.bind(this),this.state={selectedImage:null,captionFocused:!1}}componentDidMount(){this.props.setAttributes({lightbox:void 0,lightboxStyle:void 0,shadow:void 0})}componentDidUpdate(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1,captionFocused:!1}),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1}),this.props.attributes.gutter<=0&&this.props.setAttributes({radius:0}),"xlrg"===this.props.attributes.gridSize&&void 0===e.attributes.align&&this.props.setAttributes({gutter:0,gutterMobile:0})}onSelectImage(e){return()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e,captionFocused:!1})}}onMove(e,t){const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:n})}onMoveForward(e){return()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)}}onMoveBackward(e){return()=>{0!==e&&this.onMove(e,e-1)}}onRemoveImage(e){return()=>{const t=bg()(this.props.attributes.images,(t,n)=>e!==n);this.setState({selectedImage:null}),this.props.setAttributes({images:t})}}setImageAttributes(e,t){const n=this.props,a=n.attributes.images,r=n.setAttributes;a[e]&&r({images:[...a.slice(0,e),vh({},a[e],{},t),...a.slice(e+1)]})}onItemClick(){this.props.isSelected||this.props.onSelect(),this.state.captionFocused&&this.setState({captionFocused:!1})}onEditSelectImages(e){this.props.setAttributes({images:e.map(e=>Zg(e,this.props.attributes.images))})}render(){const e=this.props,t=e.attributes,n=t.images,a=t.numberofSlide,r=t.carouselSpeed,i=t.showsliderNextPrev,l=t.carouselNextIcon,s=t.showDots,c=t.navigationColor,u=t.gutterSpace,p=t.colorFilter,d=t.showOriginalOnHover,m=t.navigationSize,f=(t.enableAutoPlay,e.className),b=e.isSelected,g=(e.noticeUI,e.setAttributes),h=o()([f]),v=!!n.length,y=wp.element.createElement(fh,this.props);if(!v)return wp.element.createElement(sh,gh({},this.props,{label:Sh("Carousel","blockspare")}));var w="fas fa-angle-right",k="fas fa-angle-left";"fas fa-angle-right"===l?(w=wp.element.createElement(Ah,null),k=wp.element.createElement(zh,null)):"fas fa-chevron-circle-right"===l?(w=wp.element.createElement(Bh,null),k=wp.element.createElement(Yh,null)):"fas fa-caret-right"===l?(w=wp.element.createElement(Rh,null),k=wp.element.createElement(Ih,null)):"fas fa-chevron-right"===l?(w=wp.element.createElement(Wh,null),k=wp.element.createElement(Hh,null)):"fas fa-arrow-circle-right"===l?(w=wp.element.createElement(Gh,null),k=wp.element.createElement(Uh,null)):(w="fas fa-angle-right",k="fas fa-angle-left");const _={dots:s,loop:!0,speed:r,arrows:i,slidesToShow:a,nextArrow:w,prevArrow:k};return wp.element.createElement(_h,null,wp.element.createElement(Fh,null,v&&wp.element.createElement(_h,null,wp.element.createElement(Mg,vh({setAttributes:g},this.props)),wp.element.createElement(Oh,null,wp.element.createElement(jh,null,wp.element.createElement(Ph,{onSelect:this.onEditSelectImages,allowedTypes:eh,multiple:!0,gallery:!0,value:n.map(e=>e.id),render:({open:e})=>wp.element.createElement(Lh,{className:"components-toolbar__control",label:Sh("Edit gallery","blockspare"),icon:"edit",onClick:e})}))))),y,wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-carousel-wrap","has-gutter-space-"+u,p,"blockspare-original"!==p&&d?"has-hover-effect":"",m)},wp.element.createElement("div",{className:"blockspare-carousel-items",style:{color:c}},wp.element.createElement(Lg.a,_,n.map((e,t)=>{const a=Eh(Sh("image %1$d of %2$d in gallery","blockspare"),t+1,n.length);return wp.element.createElement("div",{className:"blockspare-gallery-item",key:e.id||e.url,onClick:this.onItemClick},wp.element.createElement(Vg,{url:e.url,alt:e.alt,id:e.id,marginRight:!0,marginLeft:!0,isSelected:b&&this.state.selectedImage===t,onRemove:this.onRemoveImage(t),onSelect:this.onSelectImage(t),setAttributes:e=>this.setImageAttributes(t,e),caption:e.caption,"aria-label":a,supportsCaption:!1,onMoveBackward:this.onMoveBackward(t),onMoveForward:this.onMoveForward(t),supportsMoving:!0,sizes:e.sizes,inspectorSize:"medium"}))}))))))}});function zh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-prev slick-arrow fas fa-angle-left"),onClick:t})}function Ah(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-next slick-arrow fas fa-angle-right"),onClick:t})}function Yh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-prev slick-arrow fas fa-chevron-circle-left"),onClick:t})}function Bh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-next slick-arrow fas fa-chevron-circle-right"),onClick:t})}function Ih(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-prev slick-arrow fas fa-caret-left"),onClick:t})}function Rh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-next slick-arrow fas fa-caret-right"),onClick:t})}function Hh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-prev slick-arrow fas fa-chevron-left"),onClick:t})}function Wh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-next slick-arrow fas fa-chevron-right"),onClick:t})}function Uh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-prev slick-arrow fas fa-arrow-circle-left"),onClick:t})}function Gh(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:o()("slide-next slick-arrow fas fa-arrow-circle-right"),onClick:t})}const Vh=wp.element.Component,qh=wp.compose.compose;var $h=qh(vr,br(bh))(class extends Vh{render(){const e=this.props,t=e.attributes,n=t.images,a=t.numberofSlide,r=t.carouselSpeed,i=t.showsliderNextPrev,l=t.carouselNextIcon,s=t.showDots,c=t.navigationColor,u=t.gutterSpace,p=t.colorFilter,d=t.showOriginalOnHover,m=t.navigationSize,f=t.enableAutoPlay,b=e.className;let g=l,h=l.replace("-right","-left"),v={loop:!0,autoplay:f,slidesToShow:a,speed:r,arrows:i,dots:s};var y=JSON.stringify(v);const w=o()([b]);return wp.element.createElement("div",{className:w},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-carousel-wrap","has-gutter-space-"+u,p,m,"blockspare-original"!==p&&d?"has-hover-effect":"")},wp.element.createElement("div",{className:"blockspare-carousel-items","data-next":g,"data-prev":h,"data-slick":y,style:{color:c}},n.map((e,t)=>{let n="";return n=void 0===e.sizes.medium?e.url:e.sizes.medium.url,wp.element.createElement("div",{className:"blockspare-gallery-figure "},wp.element.createElement("img",{src:n}))}))))}});const Jh=wp.element.Component;class Xh extends Jh{render(){const e=this.props,t=e.attributes,n=t.images,a=t.numberofSlide,r=t.carouselSpeed,i=t.showsliderNextPrev,l=t.carouselNextIcon,s=t.showDots,c=t.navigationColor,u=t.gutterSpace,p=t.colorFilter,d=t.showOriginalOnHover,m=t.navigationSize,f=t.enableAutoPlay,b=e.className;let g=l,h=l.replace("-right","-left"),v={loop:!0,autoplay:f,slidesToShow:a,speed:r,arrows:i,dots:s};var y=JSON.stringify(v);return wp.element.createElement("div",{className:o()(b,"blockspare-blocks blockspare-carousel-wrap","has-gutter-space-"+u,p,m,"blockspare-original"!==p&&d?"has-hover-effect":"")},wp.element.createElement("div",{className:"blockspare-carousel-items","data-next":g,"data-prev":h,"data-slick":y,style:{color:c}},n.map((e,t)=>{let n="";return n=void 0===e.sizes.medium?e.url:e.sizes.medium.url,wp.element.createElement("div",{className:"blockspare-gallery-figure "},wp.element.createElement("img",{src:n}))})))}}function Kh(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 Qh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zh=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kh(Object(n),!0).forEach((function(t){Qh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},mg.attributes),save:e=>wp.element.createElement(Xh,e)}];const ev=blockspare_globals,tv=mg.name,nv=mg.category,av=mg.attributes,rv=wp.i18n.__;(0,wp.blocks.registerBlockType)(tv,{title:rv("BS Image Carousel","blockspare"),description:rv("Add logos, badges and images to build carousel.","blockspare"),category:nv,icon:r.imagecarousel,attributes:av,keywords:[rv("block","blockspare"),rv("image","blockspare"),rv("carousel","blockspare"),rv("slider","blockspare"),rv("gallery","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{align:"full",images:[{url:ev.img},{url:ev.img},{url:ev.img}],showsliderNextPrev:!0,showDots:!0}},edit:Nh,save:$h,deprecated:Zh});var iv=n(81),ov=(n(602),n(603),n(19));const lv=wp.i18n.__,sv=wp.element,cv=sv.Component,uv=(sv.Fragment,wp.blockEditor),pv=uv.InspectorControls,dv=uv.PanelColorSettings,mv=wp.components,fv=mv.PanelBody;mv.SelectControl,mv.RangeControl;class bv extends cv{render(){const e=this.props,t=e.attributes,n=t.percentageTextColor,a=t.textSize,r=t.barColor,i=(t.backgroundColor,t.barThickness,t.titleLoadGoogleFonts),o=t.titleFontFamily,l=t.titleFontWeight,s=t.titleFontSubset,c=t.titleFontSizeType,u=t.titleFontSizeMobile,p=t.titleFontSizeTablet,d=e.attributes,m=e.setAttributes;return wp.element.createElement(pv,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"progress-bar"}),wp.element.createElement(fv,{title:lv("Block Settings"),initialOpen:!1},wp.element.createElement(Ns,{label:lv("Title"),attributes:d,setAttributes:m,loadGoogleFonts:{value:i,label:lv("titleLoadGoogleFonts")},fontFamily:{value:o,label:lv("titleFontFamily")},fontWeight:{value:l,label:lv("titleFontWeight")},fontSubset:{value:s,label:lv("titleFontSubset")},fontSizeType:{value:c,label:lv("titleFontSizeType")},fontSize:{value:a,label:lv("textSize")},fontSizeMobile:{value:u,label:lv("titleFontSizeMobile")},fontSizeTablet:{value:p,label:lv("titleFontSizeTablet")},disableLineHeight:!0}),wp.element.createElement(dv,{title:lv("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:r,onChange:e=>m({barColor:e}),label:lv("Bar Color","blockspare")},{value:n,onChange:e=>m({percentageTextColor:e}),label:lv("Percentage Texts Color","blockspare")}]}))))}}var gv=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textSize,r=t.textColor,i=t.percentageTextColor,o=t.barColor,l=t.backgroundColor,s=t.titleFontFamily,c=t.titleFontWeight,u=t.titleFontSizeType,p=t.titleFontSizeMobile,d=t.titleFontSizeTablet,m=[];return m.push({".blockspare-title":{textAlign:n,color:r||"#404040",fontSize:a+u+"!important",fontFamily:s,fontWeight:"Default"!==s?c+"!important":""},".blockspare_progress-bar-label":{color:i||"#8b249c"},".blockspare-skillbar":{backgroundColor:l||"#8b249c"},".blockspare-skillbar-bar":{backgroundColor:o||"#2DB7F5"},tablet:{".blockspare-title":{fontSize:d+u+"!important"}},mobile:{".blockspare-title":{fontSize:p+u+"!important"}}}),wr.a.all(m)};class hv extends Bi.Component{constructor(e){super(e),this.state={indicator:0,isActive:!1}}componentDidMount(){setTimeout(()=>this.setState({indicator:this.props.percent,isActive:!0}),1e3)}componentWillReceiveProps(e){this.state.isActive&&this.props.percent!==e.percent&&this.setState({indicator:e.percent})}render(){const e=this.state,t=e.indicator,n=(e.isActive,this.props),a=n.barColor,r=n.barThickness,i=(n.percent,n.backgroundColor),o=(n.percentageTextColor,`M ${r/2},${r/2} L ${100-r/2},${r/2}`);return wp.element.createElement("div",{className:"blockspare_progress-bar-container"},wp.element.createElement("svg",{className:"blockspare_progress-bar-line",viewBox:"0 0 100 "+r,preserveAspectRatio:"none"},wp.element.createElement("path",{className:"blockspare_progress-bar-line-trail",d:o,strokeWidth:r,style:{stroke:i||"#8b249c"}}),wp.element.createElement("path",{className:"blockspare_progress-bar-line-path",d:o,stroke:a||"#2DB7F5",strokeWidth:r,style:{strokeDashoffset:100-t+"px"}})))}}function vv(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 yv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const wv=wp.element,kv=wv.Component,_v=wv.Fragment,xv=wp.i18n.__,Sv=wp.compose.compose,Ev=wp.blockEditor,Tv=Ev.BlockControls,Cv=Ev.RichText,Mv=Ev.AlignmentToolbar,Ov=wp.components,Lv=Ov.Toolbar,Dv=Ov.RangeControl;var Fv=Sv(vr,br(gv))(class extends kv{render(){const e=this.props,t=e.attributes,n=t.title,a=(t.textSize,t.textColor,t.percentageTextColor),r=t.percentage,i=t.barColor,l=t.barThickness,s=t.backgroundColor,c=t.sectionAlignment,u=t.titleLoadGoogleFonts,p=t.titleFontFamily,d=t.titleFontWeight,m=(t.percent,e.isActive),f=void 0===m?"true":m,b=e.className,g=e.setAttributes;let h;if(1==u){const e={google:{families:[p+(d?":"+d:"")]}};h=wp.element.createElement(Fr,{config:e})}const v=o()([b,"blockspare-progressbar-wrap"]);return wp.element.createElement(_v,null,wp.element.createElement(bv,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vv(Object(n),!0).forEach((function(t){yv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:g},this.props)),wp.element.createElement(Tv,null,wp.element.createElement(Mv,{value:c,onChange:e=>{g({sectionAlignment:e})}}),wp.element.createElement(Lv,null,wp.element.createElement(Dv,{className:"blockspare_progress_bar_value",value:r,onChange:e=>g({percentage:e}),min:0,max:100}))),wp.element.createElement("div",{className:v},this.props.styles,wp.element.createElement("div",{className:"blockspare-precent-text-wrap"},wp.element.createElement(Cv,{tagName:"div",placeholder:xv("Title","blockspare"),keepPlaceholderOnFocus:!0,value:n,className:o()("blockspare-title","blockspare-progress-title"),onChange:e=>g({title:e})}),wp.element.createElement("div",{className:"blockspare_progress-bar-label",style:{visibility:f?"visible":"hidden",color:a||"#8b249c"}},r,"%")),wp.element.createElement(hv,{percent:r,barColor:i,barThickness:l,backgroundColor:s,percentageTextColor:a})),h)}});const Pv=wp.element.Component,jv=wp.compose.compose,Nv=wp.blockEditor.RichText;var zv=jv(vr,br(gv))(class extends Pv{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.title,a=t.percentage,r=t.barThickness,i=(t.sectionAlignment,e.className),l=o()([i,"blockspare-progressbar-wrap"]);return wp.element.createElement("div",{className:l},this.props.styles,wp.element.createElement("div",{className:"blockspare_progress-bar-container"},wp.element.createElement("div",{className:"blockspare-precent-text-wrap"},wp.element.createElement(Nv.Content,{tagName:"div",className:o()("blockspare-title","blockspare-progress-title"),value:n}),wp.element.createElement("div",{className:"blockspare_progress-bar-label"},a,"%")),wp.element.createElement("div",{className:"blockspare-skillbar-item","data-percent":a},wp.element.createElement("div",{className:o()("blockspare-skillbar","barthickness-"+r)},wp.element.createElement("div",{className:"blockspare-skillbar-bar"})))))}});var Av=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textSize,r=t.textColor,i=t.percentageTextColor,o=t.barColor,l=t.backgroundColor,s=t.titleFontFamily,c=t.titleFontWeight,u=t.titleFontSizeType,p=t.titleFontSizeMobile,d=t.titleFontSizeTablet,m=[];return m.push({".blockspare-title":{textAlign:n,color:r||"#404040",fontSize:a+u+"!important",fontFamily:s,fontWeight:"Default"!==s?c+"!important":""},".blockspare_progress-bar-label":{color:i||"#8b249c"},".blockspare-skillbar":{backgroundColor:l||"#8b249c"},".blockspare-skillbar-bar":{backgroundColor:o||"#2DB7F5"},tablet:{".blockspare-title":{fontSize:d+u+"!important"}},mobile:{".blockspare-title":{fontSize:p+u+"!important"}}}),wr.a.all(m)};const Yv=wp.element.Component,Bv=wp.compose.compose,Iv=wp.blockEditor.RichText;var Rv=Bv(vr,br(Av))(class extends Yv{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.title,a=t.percentage,r=t.barThickness,i=(t.sectionAlignment,e.className),l=o()([i,"blockspare-progressbar-wrap"]);return wp.element.createElement("div",{className:l},this.props.styles,wp.element.createElement("div",{className:"blockspare_progress-bar-container"},wp.element.createElement(Iv.Content,{tagName:"div",className:o()("blockspare-title","blockspare-progress-title"),value:n}),wp.element.createElement("div",{className:"blockspare-skillbar-item","data-percent":a},wp.element.createElement("div",{className:"blockspare_progress-bar-label"},a,"%"),wp.element.createElement("div",{className:o()("blockspare-skillbar","barthickness-"+r)},wp.element.createElement("div",{className:"blockspare-skillbar-bar"})))))}});function Hv(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 Wv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hv(Object(n),!0).forEach((function(t){Uv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Gv=wp.blockEditor.RichText;var Vv=[{attributes:Wv({},ov.attributes),save:function(e){const t=e.attributes,n=(t.blockID,t.title),a=t.textSize,r=t.textColor,i=t.percentageTextColor,l=t.percentage,s=t.barColor,c=t.backgroundColor,u=t.barThickness,p=t.sectionAlignment,d={backgroundColor:s||"#2DB7F5"};return wp.element.createElement("div",{className:"blockspare_progress-bar-container"},wp.element.createElement(Gv.Content,{tagName:"div",value:n,style:{textAlign:p,color:r||"#404040",fontSize:a+"px"}}),wp.element.createElement("div",{className:"blockspare-skillbar-item","data-percent":l},wp.element.createElement("div",{className:"blockspare_progress-bar-label",style:{color:i||"#8b249c"}},l,"%"),wp.element.createElement("div",{className:o()("blockspare-skillbar","barthickness-"+u),style:{backgroundColor:c||"#8b249c"}},wp.element.createElement("div",{className:"blockspare-skillbar-bar",style:d}))))}},{attributes:Wv({},ov.attributes),save:e=>wp.element.createElement(Rv,e)}];const qv=ov.name,$v=ov.attributes,Jv=ov.category,Xv=wp.i18n.__,Kv=wp.blocks.registerBlockType,Qv={title:Xv("progress","blockspare"),description:Xv("Display multiple linear progressbar.","blockspare"),parent:["blockspare/linearprogressbar"],icon:"link",category:Jv,supports:{html:!1,inserter:!1,reusable:!1},attributes:$v,edit:Fv,save:zv,deprecated:Vv};Kv(qv,Qv);const Zv=wp.element,ey=Zv.Component,ty=Zv.Fragment,ny=(wp.i18n.__,wp.compose.compose),ay=(wp.components.IconButton,wp.blockEditor.InnerBlocks),ry=wp.blocks.createBlock,iy=wp.data,oy=iy.withSelect,ly=iy.withDispatch;var sy=ny([oy((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,i=a.isBlockSelected,o=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:i(n)||o(n,!0)}}),ly(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends ey{constructor(...e){var t,n,a;super(...e),a=e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++){const n="Create stylish Linear progressbar.";t.push(["blockspare/blockspare-skillbar",{itemNumber:e,defaultText:n}])}return t},(n="getProgressbarTemplate")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertProgressbarItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=Qv.title;e=Object.assign({},{},{itemNumber:t,title1:n,active:!1,defaultText:""})}else e=Qv;a(ry("blockspare/blockspare-skillbar",e),void 0,n)}render(){const e=this.props,t=(e.name,e.attributes),n=(e.isSelectedBlockInRoot,e.setAttributes,e.attributes.uniqueId);return wp.element.createElement(ty,null,wp.element.createElement("div",{className:"blockspare-block-progress-bar blockspare-block-"+n},wp.element.createElement(ay,{template:this.getProgressbarTemplate(t),allowedBlocks:["blockspare/blockspare-skillbar"]})))}});const cy=wp.element.Component,uy=wp.blockEditor.InnerBlocks;var py=class extends cy{render(){const e=this.props.attributes,t=(e.animation,e.uniqueId),n=(e.itemToggle,e.interaction,"blockspare-block-progress-bar blockspare-block-interaction blockspare-block-"+t);return wp.element.createElement("div",{className:n},wp.element.createElement(uy.Content,null))}};const dy=iv.name,my=iv.category,fy=iv.attributes,by=wp.i18n.__;(0,wp.blocks.registerBlockType)(dy,{title:by("BS Progressbar","blockspare"),description:by("Display creative Linear Progressbar.","blockspare"),category:my,icon:r.progressBar,attributes:fy,keywords:[by("block","blockspare"),by("progress","blockspare"),by("bar","blockspare"),by("number","blockspare"),by("counter","blockspare")],supports:{html:!1,className:!1,align:["center","wide","full"]},edit:sy,save:py});n(604),n(605);var gy=n(38),hy=["blockspare-list-check","blockspare-list-check-square","blockspare-list-check-square-outline","blockspare-list-check-double","blockspare-list-check-circle","blockspare-list-check-circle-outline","blockspare-list-square","blockspare-list-square-outline"];const vy=wp.i18n.__,yy=wp.element,wy=yy.Component,ky=yy.Fragment;var _y=class extends wy{constructor(e){super(e),this.state={isOpen:!1,filterText:"",showIcons:!1}}render(){const e=this.props,t=e.value,n=e.disableToggle,a=e.colorSettings,r=e.iconColor,i=e.onColorChange,o=this.state.filterText;var l=[];return o.length>2?hy.forEach(e=>{e.includes(o)&&l.push(e)}):l=hy,wp.element.createElement("div",{className:"blockspare-field blockspare-field-icon-list "+(n?"":"blockspare-toggle-enabled")},this.props.label&&wp.element.createElement(ky,null,n?wp.element.createElement("label",null,this.props.label):wp.element.createElement(Toggle,{label:this.props.label,className:"blockspare-icon-list-toggle",value:!!this.props.value,onChange:()=>this.props.onChange(this.props.value?"":" ")})),a&&wp.element.createElement(Color,{label:vy(" Color"),value:r||"#ccc",onChange:e=>i(e)}),(n||""!=this.props.value)&&wp.element.createElement("div",{className:"blockspare-icon-list-wrapper"},wp.element.createElement("input",{type:"text",value:this.state.filterText,placeholder:"Search...",onChange:e=>this.setState({filterText:e.target.value}),autoComplete:"off"}),wp.element.createElement("div",{className:"blockspare-icon-list-icons"},l.map(e=>wp.element.createElement("span",{className:t==e?"blockspare-active":"",onClick:t=>{this.props.onChange(e)}},wp.element.createElement("span",{className:e}))))))}};const xy=wp.i18n.__,Sy=wp.element.Fragment,Ey=wp.blockEditor,Ty=(Ey.InspectorControls,Ey.PanelColorSettings),Cy=wp.components;Cy.PanelBody,Cy.SelectControl,Cy.RangeControl;function My(e){const t=e.name,n=e.onChangeName,a=void 0===n?()=>{}:n,r=e.listType,i=(e.onChangeListStyle,e.orderListStyle,e.onChangeOrderListStyle,e.color),o=e.onchangeColor,l=void 0===o?()=>{}:o;xy("List With icon","blockspare"),xy("Ordered List","blockspare"),xy("None","blockspare"),xy("Style1","blockspare"),xy("Style2","blockspare"),xy("Style3","blockspare");return wp.element.createElement(Sy,null,"ul"==r&&wp.element.createElement(_y,{value:t,onChange:a}),wp.element.createElement(Ty,{title:xy("Color","blockspare"),initialOpen:!1,colorSettings:[{value:i,onChange:l,label:xy("Icon Color","blockspare")}]}))}const Oy=wp.i18n.__,Ly=wp.element,Dy=Ly.Component,Fy=(Ly.Fragment,wp.blockEditor),Py=Fy.InspectorControls,jy=(Fy.PanelColorSettings,wp.components),Ny=jy.PanelBody;jy.ToggleControl,jy.RangeControl;class zy extends Dy{render(){const e=this.props,t=e.attributes,n=t.name,a=t.listType,r=t.orderListStyle,i=t.color,o=(t.listBackGroundColor,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.borderRadius,t.marginTop),l=t.marginBottom,s=t.descriptionFontSize,c=t.descriptionFontFamily,u=t.descriptionFontWeight,p=t.descriptionFontSubset,d=t.descriptionFontSizeType,m=t.descriptionFontSizeMobile,f=t.descriptionFontSizeTablet,b=t.descriptionLoadGoogleFonts,g=e.attributes,h=e.setAttributes;return wp.element.createElement(Py,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"icon-list"}),wp.element.createElement(Ny,{title:Oy("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:Oy("Description Fonts Settings"),attributes:g,setAttributes:h,loadGoogleFonts:{value:b,label:Oy("descriptionLoadGoogleFonts")},fontFamily:{value:c,label:Oy("descriptionFontFamily")},fontWeight:{value:u,label:Oy("descriptionFontWeight")},fontSubset:{value:p,label:Oy("descriptionFontSubset")},fontSizeType:{value:d,label:Oy("descriptionFontSizeType")},fontSize:{value:s,label:Oy("descriptionFontSize")},fontSizeMobile:{value:m,label:Oy("descriptionFontSizeMobile")},fontSizeTablet:{value:f,label:Oy("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(Ny,{title:Oy("Icon Settings"),initialOpen:!1},wp.element.createElement(My,{name:n,onChangeName:e=>h({name:e}),listType:a,onChangeListStyle:e=>h({listType:e}),orderListStyle:r,onChangeOrderListStyle:e=>h({orderListStyle:e}),color:i,onchangeColor:e=>h({color:e})})),wp.element.createElement(Ny,{title:Oy("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:o,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>h({marginTop:e}),marginEnableBottom:!0,marginBottom:l,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>h({marginBottom:e})}))))}}function Ay(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 Yy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ay(Object(n),!0).forEach((function(t){By(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ay(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function By(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Iy=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.listBackGroundColor,r=t.borderRadius,i=t.color,o=t.descriptionFontSize,l=t.descriptionFontFamily,s=t.descriptionFontWeight,c=(t.descriptionFontSubset,t.descriptionFontSizeType),u=t.descriptionFontSizeMobile,p=t.descriptionFontSizeTablet,d=t.marginTop,m=t.marginBottom,f=[],b=o-2;return f.push({".blockspare-list-wrap":Yy({backgroundColor:a,borderRadius:r+"px",paddingTop:a?"20px":"",paddingBottom:a?"20px":"",paddingLeft:a?"20px":"",paddingRight:a?"20px":""},xc(e.attributes),{marginTop:d?d+"px":void 0,marginBottom:m?m+"px":void 0}),".listDescription li":{color:i||"#000",textAlign:n,fontSize:o+c,fontFamily:l+"!important",fontWeight:s+"!important"},".listDescription li:before":{fontSize:b+c},tablet:{".listDescription li":{fontSize:p+c},".listDescription li:before":{fontSize:b+c}},mobile:{".listDescription li":{fontSize:u+c},".listDescription li:before":{fontSize:b+c}}}),wr.a.all(f)};function Ry(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 Hy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Wy=wp.element,Uy=Wy.Component,Gy=Wy.Fragment,Vy=(wp.i18n.__,wp.compose.compose),qy=wp.blockEditor.RichText,$y=wp.blockEditor,Jy=$y.AlignmentToolbar,Xy=$y.BlockControls;var Ky=Vy(vr,br(Iy))(class extends Uy{render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.listData,r=t.name,i=t.listType,l=t.orderListStyle,s=t.descriptionLoadGoogleFonts,c=t.descriptionFontFamily,u=t.descriptionFontWeight,p=e.className,d=(e.attributes,e.setAttributes);let m,f="";if(f="ul"==i?r:"ol"==i?l:"",1==s){const e={google:{families:[c+(u?":"+u:"")]}};m=wp.element.createElement(Fr,{config:e})}const b=o()([p,"blockspare-block-iconlist-wrap"]);return wp.element.createElement(Gy,null,wp.element.createElement(zy,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ry(Object(n),!0).forEach((function(t){Hy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ry(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:d},this.props)),wp.element.createElement(Xy,null,wp.element.createElement(Jy,{value:n,onChange:e=>{d({sectionAlignment:e})}})),wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(qy,{tagName:"none"==i?"ul":i,multiline:"li",itemProp:"description",keepPlaceholderOnFocus:!0,value:a,onChange:e=>d({listData:e}),className:o()(f,"listDescription")}))),m)}});const Qy=wp.element.Component,Zy=wp.compose.compose,ew=wp.blockEditor.RichText;var tw=Zy(vr,br(Iy))(class extends Qy{render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.listData),a=t.name,r=t.listType,i=t.orderListStyle,l=(t.color,t.listBackGroundColor,t.borderRadius,e.className);e.attributes;let s="";s="ul"==r?a:"ol"==r?i:"";const c=o()([l,"blockspare-block-iconlist-wrap"]);return wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(ew.Content,{tagName:"none"==r?"ul":r,multiline:"li",value:n,className:o()(s,"listDescription")})))}}),nw=n(119);function aw(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 rw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aw(Object(n),!0).forEach((function(t){iw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function iw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ow=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.listBackGroundColor,r=t.borderRadius,i=t.color,o=t.descriptionFontSize,l=t.descriptionFontFamily,s=t.descriptionFontWeight,c=(t.descriptionFontSubset,t.descriptionFontSizeType),u=t.descriptionFontSizeMobile,p=t.descriptionFontSizeTablet,d=[];return d.push({".blockspare-list-wrap":rw({backgroundColor:a,borderRadius:r+"px",paddingTop:a?"20px":"",paddingBottom:a?"20px":"",paddingLeft:a?"20px":"",paddingRight:a?"20px":""},xc(e.attributes)),".listDescription li":{color:i||"#000",textAlign:n,fontSize:o+c,fontFamily:l+"!important",fontWeight:s+"!important"},".listDescription li:before":{fontSize:o+c},tablet:{".listDescription li":{fontSize:p+c},".listDescription li:before":{fontSize:o+c}},mobile:{".listDescription li":{fontSize:u+c},".listDescription li:before":{fontSize:o+c}}}),wr.a.all(d)};const lw=wp.element.Component,sw=wp.compose.compose,cw=wp.blockEditor.RichText;var uw=sw(vr,br(ow))(class extends lw{render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.listData),a=t.name,r=t.listType,i=t.orderListStyle,l=(t.color,t.listBackGroundColor,t.borderRadius,e.className);e.attributes;let s="";s="ul"==r?a:"ol"==r?i:"";const c=o()([l,"blockspare-block-iconlist-wrap"]);return wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(cw.Content,{tagName:"none"==r?"ul":r,multiline:"li",value:n,className:o()(s,"listDescription")})))}});function pw(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 dw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pw(Object(n),!0).forEach((function(t){mw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fw=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.listBackGroundColor,r=t.borderRadius,i=t.color,o=t.descriptionFontSize,l=t.descriptionFontFamily,s=t.descriptionFontWeight,c=(t.descriptionFontSubset,t.descriptionFontSizeType),u=t.descriptionFontSizeMobile,p=t.descriptionFontSizeTablet,d=t.marginTop,m=t.marginBottom,f=[];let b;return b=16===o?o-2:o,f.push({".blockspare-list-wrap":dw({backgroundColor:a,borderRadius:r+"px",paddingTop:a?"20px":"",paddingBottom:a?"20px":"",paddingLeft:a?"20px":"",paddingRight:a?"20px":""},xc(e.attributes),{marginTop:d?d+"px":void 0,marginBottom:m?m+"px":void 0}),".listDescription li":{color:i||"#000",textAlign:n,fontSize:o+c,fontFamily:l+"!important",fontWeight:s+"!important"},".listDescription li:before":{fontSize:b+c},tablet:{".listDescription li, .listDescription li:before ":{fontSize:p+c}},mobile:{".listDescription li, .listDescription li:before":{fontSize:u+c}}}),wr.a.all(f)};const bw=wp.element.Component,gw=wp.compose.compose,hw=wp.blockEditor.RichText;var vw=gw(vr,br(fw))(class extends bw{render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.listData),a=t.name,r=t.listType,i=t.orderListStyle,l=(t.color,t.listBackGroundColor,t.borderRadius,e.className);e.attributes;let s="";s="ul"==r?a:"ol"==r?i:"";const c=o()([l,"blockspare-block-iconlist-wrap"]);return wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(hw.Content,{tagName:"none"==r?"ul":r,multiline:"li",value:n,className:o()(s,"listDescription")})))}});function yw(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 ww(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yw(Object(n),!0).forEach((function(t){kw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const _w=wp.blockEditor.RichText;var xw=[{attributes:ww({},nw.attributes,{},Ti),save:function(e){const t=e.attributes,n=t.sectionAlignment,a=t.listData,r=t.name,i=t.listType,l=t.orderListStyle,s=t.color,c=t.listBackGroundColor,u=t.borderRadius;let p="";return p="ul"==i?r:"ol"==i?l:"",wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap"),style:ww({backgroundColor:c,borderRadius:u+"px",paddingTop:c?"20px":"",paddingBottom:c?"20px":"",paddingLeft:c?"20px":"",paddingRight:c?"20px":""},xc(e.attributes))},wp.element.createElement(_w.Content,{tagName:"none"==i?"ul":i,multiline:"li",value:a,className:p,style:{color:s||"#000",textAlign:n}}))}},{attributes:ww({},nw.attributes,{},Ti),save:e=>wp.element.createElement(uw,e)},{attributes:ww({},gy.attributes,{},Ti),save:e=>wp.element.createElement(vw,e)}];function Sw(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 Ew(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Tw=gy.name,Cw=gy.category,Mw=wp.i18n.__,Ow=wp.blocks.registerBlockType,Lw=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sw(Object(n),!0).forEach((function(t){Ew(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},gy.attributes,{},Ti);Ow(Tw,{title:Mw("BS Icon List","blockspare"),description:Mw("Icon List allow you to add list with various type of icons","blockspare"),category:Cw,icon:r.iconlist,attributes:Lw,keywords:[Mw("block","blockspare"),Mw("list","blockspare"),Mw("icon","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{listData:"<li>Vestibulum ac diam sit amet</li> <li>Vestibulum ac diam sit amet</li> <li>Vestibulum ac diam sit amet</li>",name:"blockspare-list-check",sectionAlignment:"center"}},edit:Ky,save:tw,deprecated:xw});n(606),n(607);var Dw=n(39);function Fw(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 Pw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fw(Object(n),!0).forEach((function(t){jw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Nw=wp.i18n.__,zw=wp.element,Aw=zw.Component,Yw=zw.Fragment;wp.components.ResizableBox,wp.keycodes.BACKSPACE;var Bw=class extends Aw{constructor(){super(...arguments),this.onRemoveImage=this.onRemoveImage.bind(this),this.onSelectImage=this.onSelectImage.bind(this),this.onMoveForward=this.onMoveForward.bind(this),this.onMoveBackward=this.onMoveBackward.bind(this),this.setImageAttributes=this.setImageAttributes.bind(this),this.onEditSelectImages=this.onEditSelectImages.bind(this),this.state={selectedImage:null}}componentDidMount(){"xlrg"===this.props.attributes.gridSize&&this.props.setAttributes({align:"wide",gridSize:"lrg"})}componentDidUpdate(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}onSelectImage(e){return()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})}}onMove(e,t){const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:n})}onMoveForward(e){return()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)}}onMoveBackward(e){return()=>{0!==e&&this.onMove(e,e-1)}}onRemoveImage(e){return()=>{const t=bg()(this.props.attributes.images,(t,n)=>e!==n);this.setState({selectedImage:null}),this.props.setAttributes({images:t})}}setImageAttributes(e,t){const n=this.props,a=n.attributes.images,r=n.setAttributes;a[e]&&r({images:[...a.slice(0,e),Pw({},a[e],{},t),...a.slice(e+1)]})}onEditSelectImages(e){this.props.setAttributes({images:e.map(e=>Zg(e,this.props.attributes.images))})}render(){let e;switch(this.props.attributes.align){case"wide":e=4;break;case"full":e=5;break;default:e=3}this.props.attributes;const t=this.props,n=t.isSelected,a=t.captions,r=t.images,i=t.linkTo;return wp.element.createElement(Yw,null,wp.element.createElement("ul",{className:"blockspare-logo-wrap"},r.map((e,t)=>{const o=sprintf(Nw("image %1$d of %2$d in gallery","blockspare"),t+1,r.length);return wp.element.createElement("li",{className:"blockspare-gallery-item",key:e.id||e.url},wp.element.createElement(Vg,{url:e.url,alt:e.alt,id:e.id,imgLink:e.imgLink,linkTo:i,isFirstItem:0===t,isLastItem:t+1===r.length,isSelected:n&&this.state.selectedImage===t,onSelect:this.onSelectImage(t),onMoveBackward:this.onMoveBackward(t),onMoveForward:this.onMoveForward(t),onRemove:this.onRemoveImage(t),setAttributes:e=>this.setImageAttributes(t,e),caption:e.caption,"aria-label":o,captions:a,supportsCaption:!0}))})))}};function Iw(){return(Iw=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)}const Rw=wp.i18n.__,Hw=wp.element,Ww=Hw.Component,Uw=Hw.Fragment,Gw=wp.compose.compose,Vw=wp.components.withNotices,qw=wp.blockEditor,$w=qw.MediaPlaceholder,Jw=qw.BlockIcon;var Xw=Gw([Vw])(class extends Ww{constructor(){super(...arguments),this.onSelectImages=this.onSelectImages.bind(this)}onSelectImages(e){this.props.setAttributes({images:e.map(e=>Zg(e))})}render(){const e=this.props,t=e.className,n=e.noticeOperations,a=e.attributes,i=e.noticeUI,l=e.isSelected,s=a.images,c=a.grayscale,u=!!s.length;o()(t,{"has-filter-grayscale":c});return wp.element.createElement(Uw,null,wp.element.createElement(fh,this.props),wp.element.createElement("div",{className:"blockspare-blocks blockspare-logos-wrapper"},wp.element.createElement(Bw,Iw({},this.props,{images:s})),(!u||l)&&wp.element.createElement($w,{addToGallery:u,isAppender:u,icon:wp.element.createElement(Jw,{icon:r.edit}),labels:{title:Rw("Logos Grid","blockspare"),instructions:Rw("Upload an image file, pick one from your media library, or add one with a URL","blockspare")},multiple:!0,accept:"image/*",allowedTypes:["image"],value:u?s:void 0,onError:n.createErrorNotice,notices:i,onSelect:this.onSelectImages,className:o()({"is-appender":u})})))}});const Kw=wp.element.Component,Qw=wp.blockEditor.RichText;function Zw(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 ek(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tk=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zw(Object(n),!0).forEach((function(t){ek(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Dw.attributes),save:function(e){const t=e.attributes,n=t.captions,a=t.images,r=t.linkTo,i=t.rel,o=t.target;return wp.element.createElement("div",{className:"blockspare-blocks blockspare-logos-wrapper"},wp.element.createElement("ul",{className:"blockspare-logo-wrap"},a.map(e=>{let t;switch(r){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const a=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return wp.element.createElement("li",{key:e.id||e.url,className:"blockspare-gallery-item"},wp.element.createElement("figure",{className:"blockspare-gallery-figure"},t?wp.element.createElement("a",{href:t,target:o,rel:i},a):a,n&&e.caption&&e.caption.length>0&&wp.element.createElement(RichText.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:e.caption})))})))}}];const nk=blockspare_globals,ak=wp.i18n.__,rk=wp.blocks.registerBlockType,ik=Dw.name,ok=Dw.category,lk=Dw.attributes;rk(ik,{title:ak("BS Logo Grid","blockspare"),description:ak("Add logos, badges, or certifications to build credibility.","blockspare"),category:ok,icon:r.logobadge,attributes:lk,keywords:[ak("block","blockspare"),ak("logo","blockspare"),ak("brand","blockspare"),ak("clients","blockspare"),ak("grid","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{align:"full",images:[{url:nk.img,width:420},{url:nk.img,width:420},{url:nk.img,width:420},{url:nk.img,width:420}]}},edit:Xw,save:class extends Kw{render(){const e=this.props.attributes,t=e.captions,n=e.images,a=e.linkTo,r=e.rel,i=e.target;return wp.element.createElement("div",{className:"blockspare-blocks blockspare-logos-wrapper"},wp.element.createElement("ul",{className:"blockspare-logo-wrap"},n.map(e=>{let n;switch(a){case"media":n=e.url;break;case"attachment":n=e.link}e.imgLink&&(n=e.imgLink);const o=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return wp.element.createElement("li",{key:e.id||e.url,className:"blockspare-gallery-item"},wp.element.createElement("figure",{className:"blockspare-gallery-figure"},n?wp.element.createElement("a",{href:n,target:i,rel:r},o):o,t&&e.caption&&e.caption.length>0&&wp.element.createElement(Qw.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:e.caption})))})))}},deprecated:tk});n(608);var sk=n(76),ck=n.n(sk),uk=n(77),pk=n.n(uk),dk=n(2),mk=n.n(dk);function fk(){return(fk=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)}const bk=wp.hooks,gk=(bk.addFilter,bk.applyFilters),hk=wp.i18n.__,vk=wp.element,yk=vk.Component,wk=(vk.Fragment,wp.blockEditor),kk=wk.InspectorControls,_k=wk.PanelColorSettings,xk=wp.components,Sk=xk.PanelBody,Ek=xk.QueryControls,Tk=xk.RangeControl,Ck=xk.SelectControl,Mk=(xk.TextControl,xk.ToggleControl),Ok=wp.url.addQueryArgs,Lk=wp.apiFetch;class Dk extends yk{constructor(){super(...arguments),this.state={categoriesList:[]}}componentDidMount(){this.stillMounted=!0,this.fetchRequest=Lk({path:Ok("/wp/v2/categories",{per_page:-1})}).then(e=>{this.stillMounted&&this.setState({categoriesList:e})}).catch(()=>{this.stillMounted&&this.setState({categoriesList:[]})})}componentWillUnmount(){this.stillMounted=!1}imageSizeSelect(){const e=wp.data.select("core/editor").getEditorSettings();return hg()(zi()(e.imageSizes,({name:e,slug:t})=>({value:t,label:e})))}render(){const e=this.props,t=e.attributes,n=t.columns,a=t.postType,r=t.backGroundColor,i=t.design,o=void 0===i?"blockspare-grid-layout-1":i,l=(t.displayPostTitle,t.displayPostCategory),s=t.displayPostAuthor,c=t.displayPostDate,u=t.displayPostExcerpt,p=t.displayPostLink,d=(t.excerptLength,t.readMoreText,t.postsToShow,t.enableBackgroundColor,t.marginTop),m=t.marginBottom,f=(t.imageSize,t.order),b=t.orderBy,g=t.categories,h=(t.offset,t.contentOrder,t.equalImageHeight,t.postTitleColor),v=t.postTitleFontSize,y=t.linkColor,w=t.generalColor,k=(t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.borderRadius,t.titleLoadGoogleFonts),_=t.titleFontFamily,S=t.titleFontWeight,E=t.titleFontSubset,T=t.titleFontSizeType,C=t.titleFontSizeMobile,M=t.titleFontSizeTablet,O=e.attributes,L=e.setAttributes,D=e.latestPosts,F=(hk("Default","blockspare"),hk("Meta → Title → Category → Content","blockspare"),hk("Title → Meta → Category → Content","blockspare"),hk("Title → Category → Meta → Content","blockspare"),JSON.parse(blockspare_globals.taxonomies)),P={value:"",label:hk("All","blockspare")};F.unshift(P);const j=Array.isArray(D)&&D.length,N="post"===a;this.imageSizeSelect();return wp.element.createElement(kk,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"posts-grid"}),wp.element.createElement(ec,{initialOpen:!1,selected:o,options:gk("blockspare.cta.edit.layouts",[{label:hk("Style 1","blockspare"),value:"blockspare-grid-layout-1",image:"images/blockspare-grid-layout-1.png"},{label:hk("Style 2","blockspare"),value:"blockspare-grid-layout-2",image:"images/blockspare-grid-layout-2.png"},{label:hk("Style 3","blockspare"),value:"blockspare-grid-layout-3",image:"images/blockspare-grid-layout-3.png"}]),onChange:e=>L({design:e})}),wp.element.createElement(Sk,{title:hk("Block Settings","blockspare"),className:N?null:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(Tk,{label:hk("Columns","blockspare"),value:n,onChange:e=>L({columns:e}),min:1,max:j?Math.min(3,D.length):3}),wp.element.createElement(_k,{title:hk("Title Color","blockspare"),initialOpen:!0,colorSettings:[{value:h,onChange:e=>L({postTitleColor:e}),label:hk("Title Color","blockspare")}]}),wp.element.createElement(Ns,{label:hk("Title Fonts Settings"),attributes:O,setAttributes:L,loadGoogleFonts:{value:k,label:hk("titleLoadGoogleFonts")},fontFamily:{value:_,label:hk("titleFontFamily")},fontWeight:{value:S,label:hk("titleFontWeight")},fontSubset:{value:E,label:hk("titleFontSubset")},fontSizeType:{value:T,label:hk("titleFontSizeType")},fontSize:{value:v,label:hk("postTitleFontSize")},fontSizeMobile:{value:C,label:hk("titleFontSizeMobile")},fontSizeTablet:{value:M,label:hk("titleFontSizeTablet")},disableLineHeight:!0}),N&&wp.element.createElement(Mk,{label:hk("Display Category","blockspare"),checked:l,onChange:()=>this.props.setAttributes({displayPostCategory:!l})}),N&&wp.element.createElement(Mk,{label:hk("Display Author","blockspare"),checked:s,onChange:()=>this.props.setAttributes({displayPostAuthor:!s})}),N&&wp.element.createElement(Mk,{label:hk("Display Date","blockspare"),checked:c,onChange:()=>this.props.setAttributes({displayPostDate:!c})}),wp.element.createElement(Mk,{label:hk("Display Excerpt","blockspare"),checked:u,onChange:()=>this.props.setAttributes({displayPostExcerpt:!u})}),wp.element.createElement(Mk,{label:hk("Display Continue Reading Link","blockspare"),checked:p,onChange:()=>this.props.setAttributes({displayPostLink:!p})}),"blockspare-grid-layout-4"!=o&&"blockspare-grid-layout-5"!=o&&"blockspare-grid-layout-6"!=o&&wp.element.createElement(_k,{title:hk("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:r,onChange:e=>L({backGroundColor:e}),label:hk("Background Color","blockspare")}]}),wp.element.createElement(_k,{title:hk(" Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:y,onChange:e=>L({linkColor:e}),label:hk("Link Color","blockspare")},{value:w,onChange:e=>L({generalColor:e}),label:hk("General Color","blockspare")}]})),wp.element.createElement(Sk,{title:hk("Post Settings","blockspare"),className:N?null:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(Ek,fk({order:f,orderBy:b},{onOrderChange:e=>L({order:e}),onOrderByChange:e=>L({orderBy:e})})),wp.element.createElement(Ck,{label:"Category",value:g,onChange:e=>L({categories:e}),options:F})),wp.element.createElement(Sk,{title:hk("Block Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:d,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>L({marginTop:e}),marginEnableBottom:!0,marginBottom:m,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>L({marginBottom:e})}))))}}var Fk=e=>{let t="";return t={border:e.borderColor,backgroundColor:e.backGroundColor?e.backGroundColor:void 0,boxShadow:e.enableBoxShadow?e.xOffset+"px "+e.yOffset+"px "+e.blur+"px "+e.spread+"px "+e.shadowColor:"",borderRadius:e.borderRadius?e.borderRadius:null},t};function Pk(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 jk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pk(Object(n),!0).forEach((function(t){Nk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zk=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=t.linkColor,i=t.postTitleColor,o=t.generalColor,l=t.design,s=t.postTitleFontSize,c=t.titleFontFamily,u=t.titleFontWeight,p=(t.titleFontSubset,t.titleFontSizeType),d=t.titleFontSizeMobile,m=t.titleFontSizeTablet,f=[];return f.push({".blockspare-post-wrap":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0},".blockspare-post-category":{color:r||"#1977ac"},".blockspare-block-post-grid-author a span":{color:r||"#1977ac"},".blockspare-text-link a":{color:r||"#1977ac"},".blockspare-block-post-grid-title a span":{color:i?i+"!important":"#404040",fontSize:s+p,fontFamily:c,fontWeight:u},".blockspare-block-post-grid-date, .blockspare-block-post-grid-excerpt":{color:o||"#000"},tablet:{".blockspare-block-post-grid-title a span":{fontSize:m+p}},mobile:{".blockspare-block-post-grid-title a span":{fontSize:d+p}}}),"blockspare-list-layout-6"!=l&&"blockspare-list-layout-5"!=l&&"blockspare-list-layout-4"!=l&&f.push({".blockspare-post-single":jk({},Fk(e.attributes))}),wr.a.all(f)};function Ak(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 Yk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ak(Object(n),!0).forEach((function(t){Bk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ak(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Bk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ik=wp.element,Rk=Ik.Component,Hk=Ik.Fragment,Wk=wp.i18n.__,Uk=wp.compose.compose,Gk=wp.htmlEntities.decodeEntities,Vk=wp.data.withSelect,qk=wp.components,$k=qk.Placeholder,Jk=qk.Spinner;var Xk=Uk([Vk((e,t)=>{const n=t.attributes,a=n.order,r=n.categories,i=e("core").getEntityRecords,o=pk()({categories:r,order:a,orderby:t.attributes.orderBy,per_page:t.attributes.postsToShow,offset:t.attributes.offset},e=>!ck()(e));return{latestPosts:i("postType",t.attributes.postType,o)}}),vr,br(zk)])(class extends Rk{render(){const e=this.props,t=e.attributes,n=(t.align,t.columns),a=t.postType,r=t.backGroundColor,i=t.design,l=t.displayPostTitle,s=t.displayPostCategory,c=t.displayPostAuthor,u=t.displayPostDate,p=t.displayPostExcerpt,d=t.displayPostLink,m=t.excerptLength,f=t.readMoreText,b=t.postsToShow,g=t.enableBackgroundColor,h=(t.marginTop,t.marginBottom,t.imageSize),v=void 0===h?"medium":h,y=t.contentOrder,w=(t.borderColor,t.sectionTag),k=t.equalImageHeight,_=(t.postTitleColor,t.postTitleFontSize,t.linkColor,t.generalColor,t.borderRadius,t.titleLoadGoogleFonts),x=t.titleFontFamily,S=t.titleFontWeight,E=e.className,T=(e.attributes,e.setAttributes),C=e.latestPosts;let M;if(1==_){const e={google:{families:[x+(S?":"+S:"")]}};M=wp.element.createElement(Fr,{config:e})}const O=Array.isArray(C)&&C.length,L="post"===a;if(!O)return wp.element.createElement(Hk,null,wp.element.createElement(Dk,Yk({setAttributes:T},this.props)),wp.element.createElement($k,{icon:"admin-post",label:Wk("BS Blocks Posts Grid","blockspare")},Array.isArray(C)?Wk("No posts found.","blockspare"):wp.element.createElement(Jk,null)));const D=C.length>b?C.slice(0,b):C,F=w||"section",P=o()([E,"blockspare-latestpost-grid"]);return wp.element.createElement(Hk,null,wp.element.createElement(Dk,Yk({setAttributes:T},this.props)),wp.element.createElement("div",{className:P},this.props.styles,wp.element.createElement(F,{className:o()(E,"blockspare-post-wrap")},wp.element.createElement("div",{className:o()("blockspare-latest-post-wrap",i,"blockspare-is-grid","column-"+n)},D.map((e,t)=>{const n=(e.featured_image_urls&&e.featured_image_urls[v||"large"]||[])[0];return wp.element.createElement("div",{className:o()("blockspare-post-single",n?"":"post-has-no-image",k?"has-img-equal-height":"","blockspare-grid-layout-4"!=i&&"blockspare-grid-layout-5"!=i&&"blockspare-grid-layout-6"!=i?"has-background":"")},n&&wp.element.createElement("figure",{className:"blockspare-post-img"},wp.element.createElement("a",null,wp.element.createElement("img",{src:n,alt:Wk("featured","blockspare")}))),wp.element.createElement("div",{className:o()("blockspare-post-content",y)},wp.element.createElement("div",{className:"blockspare-bg-overlay",style:{backgroundColor:g?r:""}}),wp.element.createElement("div",{className:"blockspare-block-post-grid-header"},s&&wp.element.createElement("div",{className:"blockspare-post-category",dangerouslySetInnerHTML:{__html:e.category_info.replace(/href=['"].*?['"]/g,"")}}),l&&wp.element.createElement("h4",{className:"blockspare-block-post-grid-title"},wp.element.createElement("a",{target:"_blank",className:"blockspare-title-link",rel:"bookmark"},wp.element.createElement("span",null,Gk(e.title.rendered.trim())||Wk("(Untitled)","blockspare")))),L&&(c||u)&&wp.element.createElement("div",{className:"blockspare-block-post-grid-byline"},c&&e.author_info.display_name&&wp.element.createElement("div",{className:"blockspare-block-post-grid-author"},wp.element.createElement("a",{className:"blockspare-text-link",target:"_blank",href:e.author_info.author_link},wp.element.createElement("span",null,e.author_info.display_name))),u&&e.date_gmt&&wp.element.createElement("time",{dateTime:mk()(e.date_gmt).utc().format(),className:"blockspare-block-post-grid-date"},mk()(e.date_gmt).local().format("MMMM DD, Y","blockspare")))),(p||d)&&wp.element.createElement("div",{className:"blockspare-block-post-grid-excerpt"},p&&e.excerpt&&wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:(a=e.excerpt.rendered,b=m,a.split(" ").splice(0,b).join(" "))}}),d&&wp.element.createElement("p",null,wp.element.createElement("a",{className:"blockspare-block-post-grid-more-link blockspare-text-link",href:e.link,target:"_blank",rel:"bookmark"},wp.element.createElement("span",null,f))))));var a,b})))),M)}});const Kk=wp.i18n.__;(0,wp.blocks.registerBlockType)("blockspare/blockspare-latest-posts-grid",{title:Kk("BS Posts Grid","blockspare"),description:Kk("Add posts grid from selected categories.","blockspare"),category:"blockspare",icon:r.postgrid,keywords:[Kk("block","blockspare"),Kk("post","blockspare"),Kk("blog","blockspare"),Kk("archive","blockspare"),Kk("article","blockspare"),Kk("list","blockspare"),Kk("grid","blockspare"),Kk("latest","blockspare"),Kk("category","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{design:"blockspare-grid-layout-1",postsToShow:2,displayPostCategory:!1,displayPostAuthor:!1,displayPostDate:!1,imageSize:"medium",postTitleFontSize:16}},edit:Xk,save:()=>null});n(609);function Qk(){return(Qk=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)}const Zk=wp.element.Component,e_=wp.i18n.__,t_=wp.hooks,n_=(t_.addFilter,t_.applyFilters),a_=wp.blockEditor,r_=a_.InspectorControls,i_=a_.PanelColorSettings,o_=wp.components,l_=o_.PanelBody,s_=o_.QueryControls,c_=(o_.RangeControl,o_.SelectControl),u_=(o_.TextControl,o_.ToggleControl),p_=wp.url.addQueryArgs,d_=wp.apiFetch;class m_ extends Zk{constructor(){super(...arguments),this.state={categoriesList:[]}}componentDidMount(){this.stillMounted=!0,this.fetchRequest=d_({path:p_("/wp/v2/categories",{per_page:-1})}).then(e=>{this.stillMounted&&this.setState({categoriesList:e})}).catch(()=>{this.stillMounted&&this.setState({categoriesList:[]})})}componentWillUnmount(){this.stillMounted=!1}imageSizeSelect(){const e=wp.data.select("core/editor").getEditorSettings();return hg()(zi()(e.imageSizes,({name:e,slug:t})=>({value:t,label:e})))}render(){const e=this.props,t=e.attributes,n=t.postType,a=t.displayPostTitle,r=t.displayPostCategory,i=t.displayPostAuthor,o=t.displayPostDate,l=t.displayPostExcerpt,s=t.displayPostLink,c=(t.excerptLength,t.readMoreText,t.design),u=void 0===c?"blockspare-list-layout-1":c,p=(t.postsToShow,t.backGroundColor),d=(t.enableBackgroundColor,t.marginTop),m=t.marginBottom,f=(t.imageSize,t.order),b=t.orderBy,g=t.categories,h=(t.offset,t.contentOrder,t.postTitleColor),v=t.postTitleFontSize,y=t.linkColor,w=t.generalColor,k=(t.borderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.titleLoadGoogleFonts),_=t.titleFontFamily,S=t.titleFontWeight,E=t.titleFontSubset,T=t.titleFontSizeType,C=t.titleFontSizeMobile,M=t.titleFontSizeTablet,O=e.attributes,L=e.setAttributes,D=(e.latestPosts,JSON.parse(blockspare_globals.taxonomies)),F={value:"",label:e_("All","blockspare")};D.unshift(F);this.imageSizeSelect();const P="post"===n;e_("Default","blockspare"),e_("Meta → Title → Category → Content","blockspare"),e_("Title → Meta → Category → Content","blockspare"),e_("Title → Category → Meta → Content","blockspare");return wp.element.createElement(r_,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"posts-list"}),wp.element.createElement(ec,{initialOpen:!1,selected:u,options:n_("blockspare.cta.edit.layouts",[{label:e_("Style 1","blockspare"),value:"blockspare-list-layout-1",image:"images/blockspare-list-layout-1.png"},{label:e_("Style 2","blockspare"),value:"blockspare-list-layout-2",image:"images/blockspare-list-layout-2.png"},{label:e_("Style 3","blockspare"),value:"blockspare-list-layout-3",image:"images/blockspare-list-layout-3.png"}]),onChange:e=>L({design:e})}),wp.element.createElement(l_,{title:e_("Block Settings","blockspare"),className:P?null:"blockspare-hide-query",initialOpen:!1},a&&wp.element.createElement(i_,{title:e_("Title Color","blockspare"),initialOpen:!0,colorSettings:[{value:h,onChange:e=>L({postTitleColor:e}),label:e_("Title Color","blockspare")}]}),a&&wp.element.createElement(Ns,{label:e_("Title Fonts Settings"),attributes:O,setAttributes:L,loadGoogleFonts:{value:k,label:e_("titleLoadGoogleFonts")},fontFamily:{value:_,label:e_("titleFontFamily")},fontWeight:{value:S,label:e_("titleFontWeight")},fontSubset:{value:E,label:e_("titleFontSubset")},fontSizeType:{value:T,label:e_("titleFontSizeType")},fontSize:{value:v,label:e_("postTitleFontSize")},fontSizeMobile:{value:C,label:e_("titleFontSizeMobile")},fontSizeTablet:{value:M,label:e_("titleFontSizeTablet")},disableLineHeight:!0}),P&&wp.element.createElement(u_,{label:e_("Display Category","blockspare"),checked:r,onChange:()=>this.props.setAttributes({displayPostCategory:!r})}),P&&wp.element.createElement(u_,{label:e_("Display Author","blockspare"),checked:i,onChange:()=>this.props.setAttributes({displayPostAuthor:!i})}),P&&wp.element.createElement(u_,{label:e_("Display Date","blockspare"),checked:o,onChange:()=>this.props.setAttributes({displayPostDate:!o})}),wp.element.createElement(u_,{label:e_("Display Excerpt","blockspare"),checked:l,onChange:()=>this.props.setAttributes({displayPostExcerpt:!l})}),wp.element.createElement(u_,{label:e_("Display Continue Reading Link","blockspare"),checked:s,onChange:()=>this.props.setAttributes({displayPostLink:!s})}),"blockspare-list-layout-6"!=u&&"blockspare-list-layout-5"!=u&&"blockspare-list-layout-4"!=u&&wp.element.createElement(i_,{title:e_("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:p,onChange:e=>L({backGroundColor:e}),label:e_("Background Color","blockspare")}]}),wp.element.createElement(i_,{title:e_("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:y,onChange:e=>L({linkColor:e}),label:e_("Link Color","blockspare")},{value:w,onChange:e=>L({generalColor:e}),label:e_("General Color","blockspare")}]})),wp.element.createElement(l_,{title:e_("Post Settings","blockspare"),className:P?null:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(s_,Qk({order:f,orderBy:b},{onOrderChange:e=>L({order:e}),onOrderByChange:e=>L({orderBy:e})})),wp.element.createElement(c_,{label:"Category",value:g,onChange:e=>L({categories:e}),options:D})),wp.element.createElement(l_,{title:e_("Block Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:d,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>L({marginTop:e}),marginEnableBottom:!0,marginBottom:m,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>L({marginBottom:e})}))))}}function f_(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 b_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f_(Object(n),!0).forEach((function(t){g_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h_=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=t.linkColor,i=t.postTitleColor,o=t.generalColor,l=t.design,s=t.postTitleFontSize,c=t.titleFontFamily,u=t.titleFontWeight,p=(t.titleFontSubset,t.titleFontSizeType),d=t.titleFontSizeMobile,m=t.titleFontSizeTablet,f=[];return f.push({".blockspare-post-wrap":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0},".blockspare-post-category":{color:r||"#1977ac"},".blockspare-block-post-grid-author a span":{color:r||"#1977ac"},".blockspare-text-link a":{color:r||"#1977ac"},".blockspare-block-post-grid-title a span":{color:i?i+"!important":"#404040",fontSize:s+p,fontFamily:c,fontWeight:u},".blockspare-block-post-grid-date, .blockspare-block-post-grid-excerpt":{color:o||"#000"},tablet:{".blockspare-block-post-grid-title a span":{fontSize:m+p}},mobile:{".blockspare-block-post-grid-title a span":{fontSize:d+p}}}),"blockspare-list-layout-6"!=l&&"blockspare-list-layout-5"!=l&&"blockspare-list-layout-4"!=l&&f.push({".blockspare-post-single":b_({},Fk(e.attributes))}),wr.a.all(f)};function v_(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 y_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v_(Object(n),!0).forEach((function(t){w_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k_=wp.element,__=k_.Component,x_=k_.Fragment,S_=wp.i18n.__,E_=wp.compose.compose,T_=wp.htmlEntities.decodeEntities,C_=wp.data.withSelect,M_=wp.components,O_=M_.Placeholder,L_=M_.Spinner;var D_=E_([C_((e,t)=>{const n=t.attributes,a=n.order,r=n.categories,i=e("core").getEntityRecords,o=pk()({categories:r,order:a,orderby:t.attributes.orderBy,per_page:t.attributes.postsToShow,offset:t.attributes.offset},e=>!ck()(e));return{latestPosts:i("postType",t.attributes.postType,o)}}),vr,br(h_)])(class extends __{render(){const e=this.props,t=e.attributes,n=t.postType,a=(t.align,t.displayPostTitle),r=t.displayPostCategory,i=t.displayPostAuthor,l=t.displayPostDate,s=t.displayPostExcerpt,c=t.displayPostLink,u=t.excerptLength,p=t.readMoreText,d=t.design,m=t.postsToShow,f=t.sectionTag,b=(t.marginTop,t.marginBottom,t.imageSize),g=void 0===b?"medium":b,h=t.contentOrder,v=(t.postTitleColor,t.postTitleFontSize,t.linkColor,t.generalColor,t.titleLoadGoogleFonts),y=t.titleFontFamily,w=t.titleFontWeight,k=e.className,_=e.attributes,x=e.setAttributes,S=e.latestPosts;let E;if(1==v){const e={google:{families:[y+(w?":"+w:"")]}};E=wp.element.createElement(Fr,{config:e})}const T=Array.isArray(S)&&S.length,C="post"===n;if(!T)return wp.element.createElement(x_,null,wp.element.createElement(m_,y_({setAttributes:x},this.props)),wp.element.createElement(O_,{icon:"admin-post",label:S_("BS Blocks Posts List","blockspare")},Array.isArray(S)?S_("No posts found.","blockspare"):wp.element.createElement(L_,null)));const M=S.length>m?S.slice(0,m):S,O=f||"section";let L={};"blockspare-list-layout-6"!=d&&"blockspare-list-layout-5"!=d&&"blockspare-list-layout-4"!=d&&(L=y_({},Fk(_)));const D=o()([k,"blockspare-latestpost-list"]);return wp.element.createElement(x_,null,wp.element.createElement(m_,y_({setAttributes:x},this.props)),wp.element.createElement("div",{className:D},this.props.styles,wp.element.createElement(O,{className:o()(this.props.className,"blockspare-post-wrap")},wp.element.createElement("div",{className:o()("blockspare-latest-post-wrap",d,"blockspare-is-list")},M.map((e,t)=>{const n=(e.featured_image_urls&&e.featured_image_urls[g||"large"]||[])[0];return wp.element.createElement("div",{className:o()("blockspare-post-single",n?"":"post-has-no-image","blockspare-list-layout-6"!=d&&"blockspare-list-layout-5"!=d&&"blockspare-list-layout-4"!=d?"has-background":"")},n&&wp.element.createElement("figure",{className:"blockspare-post-img"},wp.element.createElement("a",null,wp.element.createElement("img",{src:n,alt:S_("featured","blockspare")}))),wp.element.createElement("div",{className:o()("blockspare-post-content",h)},wp.element.createElement("div",{className:"blockspare-block-post-grid-header"},r&&wp.element.createElement("div",{className:"blockspare-post-category",dangerouslySetInnerHTML:{__html:e.category_info.replace(/href=['"].*?['"]/g,"")}}),a&&wp.element.createElement("h4",{className:"blockspare-block-post-grid-title"},wp.element.createElement("a",{target:"_blank",rel:"bookmark",className:"blockspare-title-link"},wp.element.createElement("span",null,T_(e.title.rendered.trim())||S_("(Untitled)","blockspare")))),C&&(i||l)&&wp.element.createElement("div",{className:"blockspare-block-post-grid-byline"},i&&e.author_info.display_name&&wp.element.createElement("div",{className:"blockspare-block-post-grid-author"},wp.element.createElement("a",{className:"blockspare-text-link",target:"_blank",href:e.author_info.author_link},wp.element.createElement("span",null,e.author_info.display_name))),l&&e.date_gmt&&wp.element.createElement("time",{dateTime:mk()(e.date_gmt).utc().format(),className:"blockspare-block-post-grid-date"},mk()(e.date_gmt).local().format("MMMM DD, Y","blockspare")))),(s||c)&&wp.element.createElement("div",{className:"blockspare-block-post-grid-excerpt"},s&&e.excerpt&&wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:(m=e.excerpt.rendered,f=u,m.split(" ").splice(0,f).join(" "))}}),c&&wp.element.createElement("p",null,wp.element.createElement("a",{className:"blockspare-block-post-grid-more-link blockspare-text-link",href:e.link,target:"_blank",rel:"bookmark"},wp.element.createElement("span",null,p))))));var m,f})))),E)}});const F_=wp.i18n.__;(0,wp.blocks.registerBlockType)("blockspare/blockspare-latest-posts-list",{title:F_("BS Posts List","blockspare"),description:F_("Add posts list from selected categories.","blockspare"),category:"blockspare",icon:r.postlist,keywords:[F_("block","blockspare"),F_("post","blockspare"),F_("list","blockspare"),F_("blog","blockspare"),F_("archive","blockspare"),F_("article","blockspare"),F_("latest","blockspare"),F_("category","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{design:"blockspare-list-layout-1",postsToShow:3,displayPostCategory:!1,displayPostAuthor:!1,displayPostDate:!1,imageSize:"medium",postTitleFontSize:16}},edit:D_,save:()=>null});n(610),n(611);var P_=n(40),j_=n(313),N_=n.n(j_);const z_=wp.i18n.__;z_("Dark","blockspare"),z_("Light","blockspare"),z_("None","blockspare");wp.i18n.__;const A_=wp.element,Y_=(A_.Component,A_.Fragment,wp.components);Y_.SelectControl,Y_.ToggleControl,Y_.PanelBody,Y_.TextControl;const B_=wp.i18n.__,I_=wp.element.Component,R_=wp.blockEditor.InspectorControls,H_=wp.components,W_=H_.PanelBody,U_=H_.RangeControl;H_.ToggleControl,H_.SelectControl;var G_=class extends I_{constructor(){super(...arguments),this.setCaptionStyleTo=this.setCaptionStyleTo.bind(this)}componentDidUpdate(){this.props.attributes.gutter<=0&&this.props.setAttributes({radius:0})}setCaptionStyleTo(e){this.props.setAttributes({captionStyle:e})}getCaptionsHelp(e){return B_(e?"Showing captions for each media item.":"Toggle to show media captions.","blockspare")}render(){const e=this.props,t=e.attributes,n=(e.setAttributes,t.captions,t.captionStyle,t.gutter);t.gridSize,B_("Small","blockspare"),B_("Medium","blockspare"),B_("Large","blockspare");return wp.element.createElement(R_,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"image-masonry"}),wp.element.createElement(W_,{title:B_("Masonry Settings","blockspare")},wp.element.createElement(U_,{label:B_("Gutter","blockspare"),value:n,onChange:e=>this.props.setAttributes({gutter:e}),min:0,max:50,step:5}))))}};function V_(){return(V_=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 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 $_(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){J_(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 J_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const X_=wp.element,K_=X_.Component,Q_=X_.Fragment,Z_=wp.i18n.__,ex=wp.compose.compose,tx=wp.data.withSelect,nx=wp.components,ax=nx.withNotices,rx=nx.Toolbar,ix=nx.IconButton,ox=wp.blockEditor,lx=ox.BlockControls,sx=ox.MediaUpload,cx=ox.MediaUploadCheck,ux={transitionDuration:0,percentPosition:!0};var px=ex([tx(e=>({editorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),pluginSidebarOpened:e("core/edit-post").isPluginSidebarOpened(),publishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),wideControlsEnabled:e("core/editor").getEditorSettings().alignWide})),ax])(class extends K_{constructor(){super(...arguments),this.onRemoveImage=this.onRemoveImage.bind(this),this.onSelectImage=this.onSelectImage.bind(this),this.onMoveForward=this.onMoveForward.bind(this),this.onMoveBackward=this.onMoveBackward.bind(this),this.setImageAttributes=this.setImageAttributes.bind(this),this.onEditSelectImages=this.onEditSelectImages.bind(this),this.state={selectedImage:null}}componentDidMount(){"xlrg"===this.props.attributes.gridSize&&this.props.setAttributes({align:"center",gridSize:"lrg"})}componentDidUpdate(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}onSelectImage(e){return()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})}}onMove(e,t){const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:n})}onMoveForward(e){return()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)}}onMoveBackward(e){return()=>{0!==e&&this.onMove(e,e-1)}}onRemoveImage(e){return()=>{const t=bg()(this.props.attributes.images,(t,n)=>e!==n);this.setState({selectedImage:null}),this.props.setAttributes({images:t})}}setImageAttributes(e,t){const n=this.props,a=n.attributes.images,r=n.setAttributes;a[e]&&r({images:[...a.slice(0,e),$_({},a[e],{},t),...a.slice(e+1)]})}onEditSelectImages(e){this.props.setAttributes({images:e.map(e=>Zg(e,this.props.attributes.images))})}render(){const e=this.props,t=e.attributes,n=(e.className,e.isSelected),a=(e.noticeUI,t.align,t.captions),r=t.gridSize,i=t.gutter,l=t.images,s=t.linkTo,c=t.colorFilter,u=t.showOriginalOnHover,p=!!l.length,d=wp.element.createElement(fh,this.props),m=o()("has-grid-"+r,"has-gutter-"+i);return p?wp.element.createElement(Q_,null,n&&wp.element.createElement(G_,this.props),wp.element.createElement(lx,null,p&&wp.element.createElement(Q_,null,wp.element.createElement(rx,null,wp.element.createElement(cx,null,wp.element.createElement(sx,{onSelect:this.onEditSelectImages,allowedTypes:eh,multiple:!0,gallery:!0,value:l.map(e=>e.id),render:({open:e})=>wp.element.createElement(ix,{className:"components-toolbar__control",label:Z_("Edit gallery","blockspare"),icon:"edit",onClick:e})}))))),wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-masonry-wrapper",a?captionStyle:"",c,"blockspare-original"!==c&&u?"has-hover-effect":"")},d,wp.element.createElement(N_.a,{elementType:"ul",className:m,options:ux,disableImagesLoaded:!1,updateOnEachImageLoad:!1},l.map((e,t)=>{const r=sprintf(Z_("image %1$d of %2$d in gallery","blockspare"),t+1,l.length);return wp.element.createElement("li",{className:"blockspare-gallery-item",key:e.id||e.url},wp.element.createElement(Vg,{url:e.url,alt:e.alt,id:e.id,imgLink:e.imgLink,linkTo:s,isFirstItem:0===t,isLastItem:t+1===l.length,isSelected:n&&this.state.selectedImage===t,onSelect:this.onSelectImage(t),onMoveBackward:this.onMoveBackward(t),onMoveForward:this.onMoveForward(t),onRemove:this.onRemoveImage(t),setAttributes:e=>this.setImageAttributes(t,e),caption:e.caption,"aria-label":r,captions:a,supportsCaption:!0}))})))):wp.element.createElement(sh,V_({},this.props,{label:Z_("Masonry","blockspare"),icon:"lionk"}))}});const dx=wp.blockEditor.RichText;var mx=({attributes:e,className:t})=>{const n=e.captions,a=e.gridSize,r=e.gutter,i=e.images,l=e.linkTo,s=(e.lightbox,e.rel),c=e.target,u=e.colorFilter,p=e.showOriginalOnHover,d=o()({"has-gutter":r}),m=o()("has-grid-"+a,"has-gutter-"+r);return wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-masonry-wrapper",n?captionStyle:"",u,"blockspare-original"!==u&&p?"has-hover-effect":"")},wp.element.createElement("div",{className:d},wp.element.createElement("ul",{className:m},i.map(e=>{let t;switch(l){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const a=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return wp.element.createElement("li",{key:e.id||e.url,className:"blockspare-gallery-item"},wp.element.createElement("figure",{className:"blockspare-gallery-figure"},t?wp.element.createElement("a",{href:t,target:c,rel:s},a):a,n&&e.caption&&e.caption.length>0&&wp.element.createElement(dx.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:e.caption})))}))))};var fx={images:{type:"array",default:[],source:"query",selector:".blockspare-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},link:{source:"attribute",selector:"img",attribute:"data-link"},imgLink:{source:"attribute",selector:"img",attribute:"data-imglink"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"array",source:"children",selector:"figcaption"}}},linkTo:{type:"string",default:"none"},target:{type:"string"},rel:{type:"string",default:""},align:{type:"string"},gutter:{type:"number",default:15},captions:{type:"boolean",default:!1},captionStyle:{type:"string",default:"dark"},captionColor:{type:"string"},colorFilter:{type:"string",default:"blockspare-original"},showOriginalOnHover:{type:"boolean",default:!1}};function bx(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 gx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hx=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bx(Object(n),!0).forEach((function(t){gx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},fx,{},P_.attributes),save:function(e){const t=e.attributes,n=t.captions,a=t.gridSize,r=t.gutter,i=t.images,l=t.linkTo,s=(t.lightbox,t.rel),c=t.target,u=o()({"has-gutter":r>0}),p=o()("has-grid-"+a,{["has-gutter-"+r]:r>0});return wp.element.createElement("div",{className:"blockspare-blocks blockspare-masonry-wrapper"},wp.element.createElement("div",{className:u},wp.element.createElement("ul",{className:p},i.map(e=>{let t;switch(l){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const a=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return wp.element.createElement("li",{key:e.id||e.url,className:"blockspare-gallery-item"},wp.element.createElement("figure",{className:"blockspare-gallery-figure"},t?wp.element.createElement("a",{href:t,target:c,rel:s},a):a,n&&e.caption&&e.caption.length>0&&wp.element.createElement(RichText.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:e.caption})))}))))}}];function vx(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 yx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const wx=blockspare_globals,kx=P_.name,_x=P_.category,xx=wp.i18n.__,Sx=wp.blocks.registerBlockType,Ex=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vx(Object(n),!0).forEach((function(t){yx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},fx,{},P_.attributes);Sx(kx,{title:xx("BS Image Masonry","blockspare"),description:xx("Add Masonry Items","blockspare"),category:_x,icon:r.masonry,attributes:Ex,keywords:[xx("block","blockspare"),xx("image","blockspare"),xx("masonry","blockspare"),xx("gallery","blockspare"),xx("column","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{gridSize:"lrg",gutter:5,images:[{url:wx.menu_img_url},{url:wx.img},{url:wx.menu_img_url},{url:wx.img},{url:wx.menu_img_url},{url:wx.menu_img_url},{url:wx.img},{url:wx.menu_img_url},{url:wx.img}]}},edit:px,save:mx,deprecated:hx});n(612),n(613);var Tx=n(41);const Cx=wp.i18n.__,Mx=wp.element,Ox=Mx.Component,Lx=(Mx.Fragment,wp.blockEditor),Dx=Lx.InspectorControls,Fx=Lx.PanelColorSettings,Px=wp.components,jx=Px.PanelBody,Nx=Px.ToggleControl;Px.RangeControl;class zx extends Ox{render(){const e=this.props,t=e.attributes,n=t.textsColor,a=t.backGroundColor,r=t.boxBorderColor,i=t.buttonBackgroundColor,o=t.buttonTextColor,l=t.buttonSize,s=t.buttonShape,c=t.buttonTarget,u=t.paddingTop,p=t.paddingRight,d=t.paddingBottom,m=t.paddingLeft,f=t.marginTop,b=t.marginBottom,g=t.enableButton,h=t.buttonStyle,v=t.borderColor,y=t.borderBtnTextColor,w=t.fontSize,k=t.enableGradient,_=t.backgroundColor1,S=t.backgroundColor2,E=t.gradientAngle,T=t.colorLocation1,C=t.colorLocation2,M=(t.borderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.btnFontWeight),O=t.btnBorderWidth,L=t.buttonHoverEffect,D=t.titleLoadGoogleFonts,F=t.titleFontFamily,P=t.titleFontWeight,j=t.titleFontSubset,N=t.titleFontSizeType,z=t.titleFontSizeMobile,A=t.titleFontSizeTablet,Y=e.attributes,B=e.setAttributes;return wp.element.createElement(Dx,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"notice-bar"}),wp.element.createElement(jx,{title:Cx("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ns,{label:Cx("Title Fonts Settings"),attributes:Y,setAttributes:B,loadGoogleFonts:{value:D,label:Cx("titleLoadGoogleFonts")},fontFamily:{value:F,label:Cx("titleFontFamily")},fontWeight:{value:P,label:Cx("titleFontWeight")},fontSubset:{value:j,label:Cx("titleFontSubset")},fontSizeType:{value:N,label:Cx("titleFontSizeType")},fontSize:{value:w,label:Cx("fontSize")},fontSizeMobile:{value:z,label:Cx("titleFontSizeMobile")},fontSizeTablet:{value:A,label:Cx("titleFontSizeTablet")},disableLineHeight:!0}),wp.element.createElement(Fx,{title:Cx("Texts Color","blockspare"),initialOpen:!0,colorSettings:[{value:n,onChange:e=>B({textsColor:e}),label:Cx("Texts Color","blockspare")},{value:a,onChange:e=>B({backGroundColor:e}),label:Cx("Background Color","blockspare")},{value:r,onChange:e=>B({boxBorderColor:e}),label:Cx("Dash Color","blockspare")}]})),g&&wp.element.createElement(jx,{title:Cx("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(Se,{enableButtonTarget:!1,buttonTarget:c,onChangeButtonTarget:e=>B({buttonTarget:!c}),enableGradient:k,onChangeGradient:e=>B({enableGradient:e}),enableButtonSize:!0,buttonSize:l,onChangeButtonSize:e=>B({buttonSize:e}),enableButtonShape:!0,buttonShape:s,onChangeButtonShape:e=>B({buttonShape:e}),buttonBackgroundColor:i,onChangeButtonColor:e=>B({buttonBackgroundColor:e}),buttonTextColor:o,onChangeButtonTextColor:e=>B({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:h,onChangeBorderStyle:e=>B({buttonStyle:e}),buttonHoverEffect:L,onchangeButtonHoverEffect:e=>B({buttonHoverEffect:e}),borderColor:v,onchangeBorderColor:e=>B({borderColor:e}),borderBtnTextColor:y,onChangeBorderBtnTextColor:e=>B({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:O,onchangebtnBorderWidth:e=>B({btnBorderWidth:e}),enableBtnFontWeight:!0,btnFontWeight:M,onchangeBtnFontWeight:e=>B({btnFontWeight:e})})),g&&"none"===h&&wp.element.createElement(Nx,{label:Cx("Enable Gradient","blockspare"),checked:k,onChange:()=>this.props.setAttributes({enableGradient:!k})}),k&&"none"===h&&g&&wp.element.createElement(jx,{title:Cx("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Oe,{backgroundColor1:_,onChangeBackgroundColor1:e=>B({backgroundColor1:e}),backgroundColor2:S,onChangeBackgroundColor2:e=>B({backgroundColor2:e}),gradientAngle:E,onChangeGradientAngle:e=>B({gradientAngle:e}),colorLocation1:T,onChangeColorLocation1:e=>B({colorLocation1:e}),colorLocation2:C,onChangeColorLocation2:e=>B({colorLocation2:e})})),wp.element.createElement(jx,{title:Cx("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(jx,{title:Cx("Padding Settings","blockspare"),initialOpen:!1},wp.element.createElement(Pe,{paddingEnableTop:!0,paddingTop:u,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>B({paddingTop:e}),paddingEnableRight:!0,paddingRight:p,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>B({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:d,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>B({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:m,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>B({paddingLeft:e})})),wp.element.createElement(jx,{title:Cx("Margin Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:f,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>B({marginTop:e}),marginEnableBottom:!0,marginBottom:b,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>B({marginBottom:e})})))))}}function Ax(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 Yx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ax(Object(n),!0).forEach((function(t){Bx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ax(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Bx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ix=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textsColor,r=t.fontSize,i=t.backGroundColor,o=t.boxBorderColor,l=t.paddingTop,s=t.paddingRight,c=t.paddingBottom,u=t.paddingLeft,p=t.marginTop,d=t.marginBottom,m=t.borderRadius,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=t.buttonStyle,w=t.enableGradient,k=t.backgroundColor1,_=t.backgroundColor2,x=t.gradientAngle,S=t.colorLocation1,E=t.colorLocation2,T=t.btnFontWeight,C=t.btnBorderWidth,M=t.borderColor,O=t.buttonBackgroundColor,L=t.borderBtnTextColor,D=t.buttonTextColor,F=t.enableButton,P=t.buttonFontSize,j=t.buttonFontFamily,N=t.buttonFontWeight,z=t.buttonFontSizeType,A=t.buttonFontSizeMobile,Y=t.buttonFontSizeTablet,B=[];if("none"===y)if(1==w){const e=x+"deg",t=S+"%",n=E+"%";B.push({".blockspare-block-button span":{color:D||"#fff",fontWeight:T,borderWidth:C+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${k||"#3B1A5B"} ${t},${_||"#8B249C"} ${n})`}})}else B.push({".blockspare-block-button span":{color:D||"#fff",fontWeight:T,borderWidth:C+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:O||"#3c1a5b"}});else B.push({".blockspare-block-button span":{color:L||"#404040",borderColor:M||"#3c1a5b",borderStyle:y,fontWeight:T,borderWidth:C+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return F&&B.push({".blockspare-block-button span":{fontSize:P+z,fontFamily:j,fontWeight:N},tablet:{".blockspare-block-button span":{fontSize:Y+z}},mobile:{".blockspare-block-button span":{fontSize:A+z}}}),B.push({".blockspare-noticebar-wrapper":Yx({},xc(e.attributes),{backgroundColor:i||"#fff",borderColor:o||"#cc0000",textAlign:n,paddingTop:l?l+"px":void 0,paddingRight:s?s+"px":void 0,paddingBottom:c?c+"px":void 0,paddingLeft:u?u+"px":void 0,marginTop:p?p+"px":void 0,marginBottom:d?d+"px":void 0,borderRadius:m?m+"px":void 0}),".blockspare-section-notice-wrap":{textAlign:n},".blockspare-notice-content":{color:a,fontSize:r+g+"!important",fontFamily:f,fontWeight:"Default"!==f?b+"!important":""},tablet:{".blockspare-notice-content":{fontSize:v+g+"!important"}},mobile:{".blockspare-notice-content":{fontSize:h+g+"!important"}}}),wr.a.all(B)};function Rx(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 Hx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Wx=wp.element.Component,Ux=wp.i18n.__,Gx=wp.compose.compose,Vx=wp.blockEditor,qx=Vx.AlignmentToolbar,$x=Vx.URLInput,Jx=Vx.BlockControls,Xx=Vx.RichText,Kx=wp.components,Qx=Kx.IconButton,Zx=Kx.Dashicon;var eS=Gx(vr,br(Ix))(class extends Wx{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonAlignment,i=t.buttonSize,l=t.buttonShape,s=t.noticeContent,c=t.sectionAlignment,u=t.enableButton,p=t.buttonHoverEffect,d=t.titleLoadGoogleFonts,m=t.titleFontFamily,f=t.titleFontWeight,b=t.buttonLoadGoogleFonts,g=t.buttonFontFamily,h=t.buttonFontWeight,v=e.className,y=(e.attributes,e.isSelected),w=e.setAttributes;let k,_;if(1==d){const e={google:{families:[m+(f?":"+f:"")]}};k=wp.element.createElement(Fr,{config:e})}if(1==b){const e={google:{families:[g+(h?":"+h:"")]}};_=wp.element.createElement(Fr,{config:e})}const x=o()([v,"blockspare-notice-block"]);return wp.element.createElement("fragment",null,wp.element.createElement(Jx,null,wp.element.createElement(qx,{value:c,onChange:e=>{w({sectionAlignment:e})}})),wp.element.createElement(zx,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rx(Object(n),!0).forEach((function(t){Hx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:w},this.props)),wp.element.createElement("div",{className:x},this.props.styles,wp.element.createElement("div",{className:"blockspare-noticebar-wrapper blockspare-blocks"},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement(Xx,{tagName:"div",placeholder:Ux("Add your notice here..","blockspare"),keepPlaceholderOnFocus:!0,value:s,className:"blockspare-notice-content",onChange:e=>w({noticeContent:e})})),u&&wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement("a",{href:"#"},wp.element.createElement(Xx,{tagName:"span",placeholder:Ux("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:n,allowedFormats:[],className:o()("blockspare-button",l,i,p),onChange:e=>w({buttonText:e})})),y&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+r,onSubmit:e=>e.preventDefault()},wp.element.createElement(Zx,{icon:"admin-links"}),wp.element.createElement($x,{className:"button-url",value:a,onChange:e=>w({buttonUrl:e})}),wp.element.createElement(Qx,{icon:"editor-break",label:Ux("Apply","blockspare"),type:"submit"}))))),k,_)}});const tS=wp.element.Component,nS=wp.compose.compose,aS=wp.blockEditor.RichText;var rS=nS(vr,br(Ix))(class extends tS{render(){const e=this.props,t=e.attributes,n=(t.align,t.buttonText),a=t.buttonUrl,r=t.buttonTarget,i=t.buttonSize,l=t.buttonShape,s=t.noticeContent,c=t.enableButton,u=t.buttonHoverEffect,p=e.className,d=o()([p,"blockspare-notice-block"]);return wp.element.createElement("div",{className:d},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-noticebar-wrapper","blockspare-blocks")},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,s&&wp.element.createElement(aS.Content,{tagName:"div",className:"blockspare-notice-content",value:s})))),c&&wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:r?"_blank":null,rel:r?"noopener noreferrer":null,className:o()("blockspare-button",l,i,u)},wp.element.createElement(aS.Content,{value:n})))))}});function iS(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 oS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iS(Object(n),!0).forEach((function(t){lS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sS=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textsColor,r=t.fontSize,i=t.backGroundColor,o=t.boxBorderColor,l=t.paddingTop,s=t.paddingRight,c=t.paddingBottom,u=t.paddingLeft,p=t.marginTop,d=t.marginBottom,m=t.borderRadius,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=[];return y.push({".blockspare-noticebar-wrapper":oS({},xc(e.attributes),{backgroundColor:i||"#fff",borderColor:o||"#cc0000",textAlign:n,paddingTop:l?l+"px":void 0,paddingRight:s?s+"px":void 0,paddingBottom:c?c+"px":void 0,paddingLeft:u?u+"px":void 0,marginTop:p?p+"px":void 0,marginBottom:d?d+"px":void 0,borderRadius:m?m+"px":void 0}),".blockspare-section-notice-wrap":{textAlign:n},".blockspare-notice-content":{color:a,fontSize:r+g+"!important",fontFamily:f,fontWeight:"Default"!==f?b+"!important":""},".blockspare-button":oS({},Zr(e.attributes)),tablet:{".blockspare-notice-content":{fontSize:v+g+"!important"}},mobile:{".blockspare-notice-content":{fontSize:h+g+"!important"}}}),wr.a.all(y)};const cS=wp.element.Component,uS=wp.compose.compose,pS=wp.blockEditor.RichText;var dS=uS(vr,br(sS))(class extends cS{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.noticeContent,u=t.enableButton,p=t.buttonHoverEffect,d=e.className,m=o()([d,"blockspare-notice-block"]);return wp.element.createElement("div",{className:m},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-noticebar-wrapper","blockspare-blocks","align"+n)},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,c&&wp.element.createElement(pS.Content,{tagName:"div",className:"blockspare-notice-content",value:c})))),u&&wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,p)},wp.element.createElement(pS.Content,{value:a})))))}});function mS(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 fS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mS(Object(n),!0).forEach((function(t){bS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gS=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textsColor,r=t.fontSize,i=t.backGroundColor,o=t.boxBorderColor,l=t.paddingTop,s=t.paddingRight,c=t.paddingBottom,u=t.paddingLeft,p=t.marginTop,d=t.marginBottom,m=t.borderRadius,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=[];return y.push({".blockspare-noticebar-wrapper":fS({},xc(e.attributes),{backgroundColor:i||"#fff",borderColor:o||"#cc0000",textAlign:n,paddingTop:l?l+"px":void 0,paddingRight:s?s+"px":void 0,paddingBottom:c?c+"px":void 0,paddingLeft:u?u+"px":void 0,marginTop:p?p+"px":void 0,marginBottom:d?d+"px":void 0,borderRadius:m?m+"px":void 0}),".blockspare-section-notice-wrap":{textAlign:n},".blockspare-notice-content":{color:a,fontSize:r+g+"!important",fontFamily:f,fontWeight:"Default"!==f?b+"!important":""},".blockspare-button":fS({},Qr(e.attributes)),tablet:{".blockspare-notice-content":{fontSize:v+g+"!important"}},mobile:{".blockspare-notice-content":{fontSize:h+g+"!important"}}}),wr.a.all(y)};const hS=wp.element.Component,vS=wp.compose.compose,yS=wp.blockEditor.RichText;var wS=vS(vr,br(gS))(class extends hS{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.noticeContent,u=t.enableButton,p=t.buttonHoverEffect,d=e.className,m=o()([d,"blockspare-notice-block"]);return wp.element.createElement("div",{className:m},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-noticebar-wrapper","blockspare-blocks","align"+n)},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,c&&wp.element.createElement(yS.Content,{tagName:"div",className:"blockspare-notice-content",value:c})))),u&&wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,p)},wp.element.createElement(yS.Content,{value:a})))))}});function kS(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 _S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kS(Object(n),!0).forEach((function(t){xS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var SS=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textsColor,r=t.fontSize,i=t.backGroundColor,o=t.boxBorderColor,l=t.paddingTop,s=t.paddingRight,c=t.paddingBottom,u=t.paddingLeft,p=t.marginTop,d=t.marginBottom,m=t.borderRadius,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,v=t.titleFontSizeTablet,y=t.buttonStyle,w=t.enableGradient,k=t.backgroundColor1,_=t.backgroundColor2,x=t.gradientAngle,S=t.colorLocation1,E=t.colorLocation2,T=t.btnFontWeight,C=t.btnBorderWidth,M=t.borderColor,O=t.buttonBackgroundColor,L=t.borderBtnTextColor,D=t.buttonTextColor,F=[];if("none"===y)if(1==w){const e=x+"deg",t=S+"%",n=E+"%";F.push({".blockspare-block-button span":{color:D||"#fff",fontWeight:T,borderWidth:C+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${k||"#3B1A5B"} ${t},${_||"#8B249C"} ${n})`}})}else F.push({".blockspare-block-button span":{color:D||"#fff",fontWeight:T,borderWidth:C+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:O||"#3c1a5b"}});else F.push({".blockspare-block-button span":{color:L||"#404040",borderColor:M||"#3c1a5b",borderStyle:y,fontWeight:T,borderWidth:C+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return F.push({".blockspare-noticebar-wrapper":_S({},xc(e.attributes),{backgroundColor:i||"#fff",borderColor:o||"#cc0000",textAlign:n,paddingTop:l?l+"px":void 0,paddingRight:s?s+"px":void 0,paddingBottom:c?c+"px":void 0,paddingLeft:u?u+"px":void 0,marginTop:p?p+"px":void 0,marginBottom:d?d+"px":void 0,borderRadius:m?m+"px":void 0}),".blockspare-section-notice-wrap":{textAlign:n},".blockspare-notice-content":{color:a,fontSize:r+g+"!important",fontFamily:f,fontWeight:"Default"!==f?b+"!important":""},tablet:{".blockspare-notice-content":{fontSize:v+g+"!important"}},mobile:{".blockspare-notice-content":{fontSize:h+g+"!important"}}}),wr.a.all(F)};const ES=wp.element.Component,TS=wp.compose.compose,CS=wp.blockEditor.RichText;var MS=TS(vr,br(SS))(class extends ES{render(){const e=this.props,t=e.attributes,n=(t.align,t.buttonText),a=t.buttonUrl,r=t.buttonTarget,i=t.buttonSize,l=t.buttonShape,s=t.noticeContent,c=t.enableButton,u=t.buttonHoverEffect,p=e.className,d=o()([p,"blockspare-notice-block"]);return wp.element.createElement("div",{className:d},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-noticebar-wrapper","blockspare-blocks")},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,s&&wp.element.createElement(CS.Content,{tagName:"div",className:"blockspare-notice-content",value:s})))),c&&wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:r?"_blank":null,rel:r?"noopener noreferrer":null,className:o()("blockspare-button",l,i,u)},wp.element.createElement(CS.Content,{value:n})))))}});function OS(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 LS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?OS(Object(n),!0).forEach((function(t){DS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):OS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function DS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const FS=wp.blockEditor.RichText,PS=LS({},Tx.attributes,{},Kr,{},Ti);var jS=[{attributes:PS,save:function(e){const t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,i=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.sectionAlignment,u=t.noticeContent,p=t.textsColor,d=t.backGroundColor,m=t.boxBorderColor,f=t.paddingTop,b=t.paddingRight,g=t.paddingBottom,h=t.paddingLeft,v=t.marginTop,y=t.marginBottom,w=t.enableButton,k=t.fontSize,_=t.borderRadius,x=t.buttonHoverEffect,S=t.className,E=LS({},xc(e.attributes),{textAlign:c,backgroundColor:d||"#fff",borderColor:m||"#cc0000",paddingTop:f?f+"px":void 0,paddingRight:b?b+"px":void 0,paddingBottom:g?g+"px":void 0,paddingLeft:h?h+"px":void 0,marginTop:v?v+"px":void 0,marginBottom:y?y+"px":void 0,borderRadius:_+"px"}),T=LS({},su(e.attributes));return wp.element.createElement("div",{className:o()("blockspare-noticebar-wrapper","blockspare-blocks","align"+n),style:E},wp.element.createElement("div",{className:"blockspare-section-notice-wrap",style:{textAlign:c,color:p||"#4c4c4c"}},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,u&&wp.element.createElement(FS.Content,{tagName:"div",className:"blockspare-notice-content",value:u,style:{fontSize:k+"px"}})))),w&&wp.element.createElement("div",{style:{textAlign:c},className:o()(S,"blockspare-block-button")},a&&wp.element.createElement("a",{href:r,target:i?"_blank":null,rel:i?"noopener noreferrer":null,className:o()("blockspare-button",s,l,x),style:T},wp.element.createElement(FS.Content,{value:a}))))}},{attributes:PS,save:e=>wp.element.createElement(wS,e)},{attributes:PS,save:e=>wp.element.createElement(dS,e)},{attributes:PS,save:e=>wp.element.createElement(MS,e)}];function NS(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 zS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const AS=Tx.name,YS=Tx.category,BS=wp.i18n.__,IS=wp.blocks.registerBlockType,RS=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?NS(Object(n),!0).forEach((function(t){zS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):NS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Kr,{},Ti,{},Tx.attributes);IS(AS,{title:BS("BS Notice Bar","blockspare"),description:BS("BS Notice Bar allow you to add various type of notices","blockspare"),category:YS,icon:r.notice,attributes:RS,keywords:[BS("block","blockspare"),BS("notice","blockspare"),BS("bar","blockspare"),BS("announcement","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:eS,save:rS,deprecated:jS});var HS=n(82);const WS=wp.element.Component;class US extends WS{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=(e.backgroundColor,e.align),n=o()(["blockspare-price-list-section-admin blockspare-price-list"],{["align"+t]:t});return wp.element.createElement("div",{className:n||void 0},this.props.children)}}n(614),n(615);var GS=n(52);const VS=wp.i18n.__,qS=wp.element.Component,$S=wp.blockEditor,JS=$S.InspectorControls,XS=$S.PanelColorSettings,KS=wp.components,QS=KS.PanelBody,ZS=KS.ToggleControl;KS.SelectControl,KS.RangeControl;class eE extends qS{render(){const e=this.props,t=e.attributes,n=(t.layoutOptions,t.priceUnitPosition,t.showDots),a=(t.priceTitleColor,t.priceColor),r=t.priceUnitColor,i=(t.backgroundColor,t.priceDescriptionColor,t.showImage),o=(t.imgIconOption,t.name,t.iconSize,t.iconStyles,t.iconBackgroundColor,t.iconBorderColor,t.iconColor,t.borderRadius,t.paddingTop),l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.marginTop,p=t.marginBottom,d=(t.blockBorderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.titleFontSize),m=t.titleLoadGoogleFonts,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSubset,h=t.titleFontSizeType,v=t.titleFontSizeMobile,y=t.titleFontSizeTablet,w=t.priceUnitFontSize,k=t.priceUnitLoadGoogleFonts,_=t.priceUnitFontFamily,S=t.priceUnitFontWeight,E=t.priceUnitFontSubset,T=t.priceUnitFontSizeType,C=t.priceUnitFontSizeMobile,M=t.priceUnitFontSizeTablet,O=t.descriptionFontSize,L=t.descriptionFontFamily,D=t.descriptionFontWeight,F=t.descriptionFontSubset,P=t.descriptionFontSizeType,j=t.descriptionFontSizeMobile,N=t.descriptionFontSizeTablet,z=t.descriptionLoadGoogleFonts,A=e.attributes,Y=e.setAttributes;VS("Layout 1","blockspare"),VS("Layout 2","blockspare"),VS("Layout 3","blockspare"),VS("Before Price","blockspare"),VS("After Price","blockspare"),VS("Icon","blockspare"),VS("Image","blockspare");return wp.element.createElement(JS,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"price-list"}),wp.element.createElement(QS,{title:VS("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(ZS,{label:VS("Display Image ","blockspare"),checked:i,onChange:()=>this.props.setAttributes({showImage:!i})}),wp.element.createElement(ZS,{label:VS("Display Dots","blockspare"),checked:n,onChange:()=>this.props.setAttributes({showDots:!n})})),wp.element.createElement(QS,{title:VS("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:VS("Title Fonts Settings"),attributes:A,setAttributes:Y,loadGoogleFonts:{value:m,label:VS("titleLoadGoogleFonts")},fontFamily:{value:f,label:VS("titleFontFamily")},fontWeight:{value:b,label:VS("titleFontWeight")},fontSubset:{value:g,label:VS("titleFontSubset")},fontSizeType:{value:h,label:VS("titleFontSizeType")},fontSize:{value:d,label:VS("titleFontSize")},fontSizeMobile:{value:v,label:VS("titleFontSizeMobile")},fontSizeTablet:{value:y,label:VS("titleFontSizeTablet")},disableLineHeight:!0}),wp.element.createElement(Ns,{label:VS("Description Fonts Settings"),attributes:A,setAttributes:Y,loadGoogleFonts:{value:z,label:VS("descriptionLoadGoogleFonts")},fontFamily:{value:L,label:VS("descriptionFontFamily")},fontWeight:{value:D,label:VS("descriptionFontWeight")},fontSubset:{value:F,label:VS("descriptionFontSubset")},fontSizeType:{value:P,label:VS("descriptionFontSizeType")},fontSize:{value:O,label:VS("descriptionFontSize")},fontSizeMobile:{value:j,label:VS("descriptionFontSizeMobile")},fontSizeTablet:{value:N,label:VS("descriptionFontSizeTablet")},disableLineHeight:!0}),wp.element.createElement(Ns,{label:VS("Price Fonts Settings"),attributes:A,setAttributes:Y,loadGoogleFonts:{value:k,label:VS("priceUnitLoadGoogleFonts")},fontFamily:{value:_,label:VS("priceUnitFontFamily")},fontWeight:{value:S,label:VS("priceUnitFontWeight")},fontSubset:{value:E,label:VS("priceUnitFontSubset")},fontSizeType:{value:T,label:VS("priceUnitFontSizeType")},fontSize:{value:w,label:VS("priceUnitFontSize")},fontSizeMobile:{value:C,label:VS("priceUnitFontSizeMobile")},fontSizeTablet:{value:M,label:VS("priceUnitFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(QS,{title:VS("Color Settings","blockspare"),initialOpen:!1},wp.element.createElement(XS,{title:VS("Colors","blockspare"),initialOpen:!0,colorSettings:[{value:a,onChange:e=>Y({priceColor:e}),label:VS("Price Color","blockspare")},{value:r,onChange:e=>Y({priceUnitColor:e}),label:VS("Unit Color","blockspare")}]})),wp.element.createElement(QS,{title:VS("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(QS,{title:VS("Padding Settings","blockspare"),initialOpen:!0},wp.element.createElement(Pe,{paddingEnableTop:!0,paddingTop:o,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>Y({paddingTop:e}),paddingEnableRight:!0,paddingRight:l,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>Y({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:s,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>Y({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:c,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>Y({paddingLeft:e})})),wp.element.createElement(QS,{title:VS("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:u,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>Y({marginTop:e}),marginEnableBottom:!0,marginBottom:p,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>Y({marginBottom:e})})))))}}function tE(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 nE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tE(Object(n),!0).forEach((function(t){aE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function aE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rE=e=>{const t=e.attributes,n=t.backgroundColor,a=t.blockBorderRadius,r=t.priceTitleColor,i=t.priceColor,o=t.priceUnitColor,l=t.priceDescriptionColor,s=t.titleFontSize,c=t.titleFontFamily,u=t.titleFontWeight,p=t.titleFontSizeType,d=t.titleFontSizeMobile,m=t.titleFontSizeTablet,f=t.priceUnitFontSize,b=t.priceUnitFontFamily,g=t.priceUnitFontWeight,h=t.priceUnitFontSizeType,v=t.priceUnitFontSizeMobile,y=t.priceUnitFontSizeTablet,w=t.descriptionFontSize,k=t.descriptionFontFamily,_=t.descriptionFontWeight,x=(t.descriptionFontSubset,t.descriptionFontSizeType),S=t.descriptionFontSizeMobile,E=t.descriptionFontSizeTablet,T=[];var C=f,M=(Math.floor(C/1.3),Math.floor(C/1.3)),O=y,L=Math.floor(O/2.5),D=Math.floor(L/2.5),F=v,P=Math.floor(F/2.5),j=Math.floor(P/2.5);return T.push({".blockspare-price-list-wrap":nE({},Sc(e.attributes),{},xc(e.attributes),{backgroundColor:n||"#fff",borderRadius:a?a+"px":null}),".blockspare-price-list-wrap .blockspare-block-icon":nE({},Uf(e.attributes)),".blockspare-price-divider":{color:l||"#6d6d6d"},".blockspare-title":{color:r||"#404040",fontSize:s+p+"!important",fontFamily:c+"!important",fontWeight:"Default"!==c?u+"!important":""},".blockspare-price":{color:i||"#af0000",fontSize:f+h+"!important",fontFamily:b+"!important",fontWeight:"Default"!==b?g+"!important":""},".blockspare-unit":{color:o||"#af0000",fontSize:M+"px",fontFamily:b,fontWeight:g},".blockspare-description":{color:l||"#6d6d6d",fontSize:w+x+"!important",fontFamily:k+"!important",fontWeight:"Default"!==k?_+"!important":""},tablet:{".blockspare-title":{fontSize:m+p+"!important"},".blockspare-price,":{fontSize:y+p+"!important"},".blockspare-unit":{fontSize:D+p+"!important"},".blockspare-description":{fontSize:E+x+"!important"}},mobile:{".blockspare-title":{fontSize:d+p+"!important"},".blockspare-price":{fontSize:v+p+"!important"}," .blockspare-unit":{fontSize:j+p+"!important"},".blockspare-description":{fontSize:S+x+"!important"}}}),wr.a.all(T)};const iE=blockspare_globals,oE=wp.element,lE=oE.Component,sE=oE.Fragment,cE=wp.i18n.__,uE=wp.compose.compose,pE=["core/image"],dE=[["core/image",{url:iE.menu_img_url,width:120,height:120,align:"center"}]],mE=wp.blockEditor,fE=mE.RichText,bE=mE.InnerBlocks;var gE=uE(vr,br(rE))(class extends lE{render(){const e=this.props,t=e.attributes,n=t.price,a=t.priceTitle,r=t.priceDescription,i=t.priceUnit,l=t.layoutOptions,s=t.priceUnitPosition,c=t.showDots,u=t.showImage,p=t.imgIconOption,d=t.name,m=t.iconSize,f=t.iconStyles,b=e.className,g=(e.attributes,e.setAttributes),h=o()([b,"blockspare-pircelist"]);return wp.element.createElement(sE,null,wp.element.createElement(eE,this.props),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-price-list-wrap",l,s)},wp.element.createElement("div",{className:"blockspare-img-wrapper"},u&&"image"==p&&wp.element.createElement(bE,{template:dE,allowedBlocks:pE,templateLock:!0,templateInsertUpdatesSelection:!0})),u&&"icon"==p&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",m,f)},wp.element.createElement("i",{className:d}))),wp.element.createElement("div",{className:"blockspare-price-content"},wp.element.createElement("div",{className:"blockspare-price-header"},wp.element.createElement(fE,{tagName:"h4",className:"blockspare-title",onChange:e=>g({priceTitle:e}),value:a,placeholder:cE("Title","blockspare"),keepPlaceholderOnFocus:!0}),c&&wp.element.createElement("span",{className:"blockspare-price-divider"}),wp.element.createElement("div",{className:"blockspare-price-unit-wrap"},wp.element.createElement(fE,{tagName:"span",className:"blockspare-price",onChange:e=>g({price:e}),value:n,placeholder:cE("Price","blockspare"),keepPlaceholderOnFocus:!0}),wp.element.createElement(fE,{tagName:"span",className:"blockspare-unit",onChange:e=>g({priceUnit:e}),value:i,placeholder:cE("$","blockspare"),keepPlaceholderOnFocus:!0}))),wp.element.createElement(fE,{tagName:"p",className:"blockspare-description",onChange:e=>g({priceDescription:e}),value:r,placeholder:cE("Description","blockspare"),keepPlaceholderOnFocus:!0})))))}});const hE=wp.element.Component,vE=wp.compose.compose,yE=wp.blockEditor,wE=yE.InnerBlocks,kE=yE.RichText;var _E=vE(vr,br(rE))(class extends hE{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.priceTitle,a=t.priceDescription,r=t.priceUnit,i=t.price,l=t.layoutOptions,s=t.priceUnitPosition,c=t.showDots,u=t.showImage,p=t.imgIconOption,d=t.name,m=t.iconSize,f=t.iconStyles,b=e.className,g=(e.attributes,o()([b,"blockspare-pircelist"]));return wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-price-list-wrap",l,s)},wp.element.createElement("div",{className:"blockspare-imge-wrapper"},u&&"image"==p&&wp.element.createElement(wE.Content,null)),u&&"icon"==p&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",m,f)},wp.element.createElement("i",{className:d}))),wp.element.createElement("div",{className:"blockspare-price-content"},wp.element.createElement("div",{className:"blockspare-price-header"},wp.element.createElement(kE.Content,{tagName:"h4",className:"blockspare-title",value:n}),c&&wp.element.createElement("span",{className:"blockspare-price-divider"}),wp.element.createElement("div",{className:"blockspare-price-unit-wrap"},wp.element.createElement(kE.Content,{tagName:"span",className:"blockspare-price",value:i}),wp.element.createElement(kE.Content,{tagName:"span",className:"blockspare-unit",value:r}))),wp.element.createElement(kE.Content,{tagName:"p",className:"blockspare-description",value:a}))))}});function xE(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 SE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xE(Object(n),!0).forEach((function(t){EE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function EE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var TE=e=>{const t=e.attributes,n=t.backgroundColor,a=t.blockBorderRadius,r=t.priceTitleColor,i=t.priceColor,o=t.priceUnitColor,l=t.priceDescriptionColor,s=t.titleFontSize,c=t.titleFontFamily,u=t.titleFontWeight,p=t.titleFontSizeType,d=t.titleFontSizeMobile,m=t.titleFontSizeTablet,f=t.priceUnitFontSize,b=t.priceUnitFontFamily,g=t.priceUnitFontWeight,h=t.priceUnitFontSizeType,v=t.priceUnitFontSizeMobile,y=t.priceUnitFontSizeTablet,w=t.descriptionFontSize,k=t.descriptionFontFamily,_=t.descriptionFontWeight,x=(t.descriptionFontSubset,t.descriptionFontSizeType),S=t.descriptionFontSizeMobile,E=t.descriptionFontSizeTablet,T=[];return T.push({".blockspare-price-list-wrap":SE({},Sc(e.attributes),{},xc(e.attributes),{backgroundColor:n||"#fff",borderRadius:a||null}),",blockspare-block-icon":SE({},Uf(e.attributes)),".blockspare-price-divider":{color:l||"#6d6d6d"},".blockspare-title":{color:r||"#404040",fontSize:s+p+"!important",fontFamily:c+"!important",fontWeight:"Default"!==c?u+"!important":""},".blockspare-price":{color:i||"#af0000",fontSize:f+h+"!important",fontFamily:b+"!important",fontWeight:"Default"!==b?g+"!important":""},".blockspare-unit":{color:o||"#af0000"},".blockspare-description":{color:l||"#6d6d6d",fontSize:w+x+"!important",fontFamily:k+"!important",fontWeight:"Default"!==k?_+"!important":""},tablet:{".blockspare-title":{fontSize:m+p+"!important"},".blockspare-price, .blockspare-unit":{fontSize:y+p+"!important"},".blockspare-description":{fontSize:E+x+"!important"}},mobile:{".blockspare-title":{fontSize:d+p+"!important"},".blockspare-price, .blockspare-unit":{fontSize:v+p+"!important"},".blockspare-description":{fontSize:S+x+"!important"}}}),wr.a.all(T)};const CE=wp.element.Component,ME=wp.compose.compose,OE=wp.blockEditor,LE=OE.InnerBlocks,DE=OE.RichText;var FE=ME(vr,br(TE))(class extends CE{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.priceTitle,a=t.priceDescription,r=t.priceUnit,i=t.price,l=t.layoutOptions,s=t.priceUnitPosition,c=t.showDots,u=t.showImage,p=t.imgIconOption,d=t.name,m=t.iconSize,f=t.iconStyles,b=e.className,g=(e.attributes,o()([b,"blockspare-pircelist"]));return wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-price-list-wrap",l,s)},wp.element.createElement("div",{className:"blockspare-imge-wrapper"},u&&"image"==p&&wp.element.createElement(LE.Content,null)),u&&"icon"==p&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",m,f)},wp.element.createElement("i",{className:d}))),wp.element.createElement("div",{className:"blockspare-price-content"},wp.element.createElement("div",{className:"blockspare-price-header"},wp.element.createElement(DE.Content,{tagName:"h4",className:"blockspare-title",value:n}),c&&wp.element.createElement("span",{className:"blockspare-price-divider"}),wp.element.createElement("div",{className:"blockspare-price-unit-wrap"},wp.element.createElement(DE.Content,{tagName:"span",className:"blockspare-price",value:i}),wp.element.createElement(DE.Content,{tagName:"span",className:"blockspare-unit",value:r}))),wp.element.createElement(DE.Content,{tagName:"p",className:"blockspare-description",value:a}))))}});function PE(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 jE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PE(Object(n),!0).forEach((function(t){NE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function NE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zE=wp.blockEditor,AE=zE.InnerBlocks,YE=zE.RichText,BE=jE({},GS.attributes,{},Ci,{},Ti);var IE=[{attributes:BE,save:function(e){const t=e.attributes,n=t.priceTitle,a=t.priceDescription,r=t.priceUnit,i=t.price,l=t.layoutOptions,s=t.priceUnitPosition,c=t.showDots,u=t.priceTitleColor,p=t.priceColor,d=t.priceUnitColor,m=t.priceDescriptionColor,f=t.backgroundColor,b=t.showImage,g=t.imgIconOption,h=t.name,v=t.iconSize,y=t.iconStyles,w=t.blockBorderRadius,k=jE({},Uf(e.attributes));return wp.element.createElement("div",{className:o()("blockspare-price-list-wrap",l,s),style:jE({},Sc(e.attributes),{},xc(e.attributes),{backgroundColor:f||"#fff",borderRadius:w||null})},wp.element.createElement("div",{className:"blockspare-imge-wrapper"},b&&"image"==g&&wp.element.createElement(AE.Content,null)),b&&"icon"==g&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:o()("blockspare-block-icon",v,y),style:k},wp.element.createElement("i",{className:h}))),wp.element.createElement("div",{className:"blockspare-price-content"},wp.element.createElement("div",{className:"blockspare-price-header"},wp.element.createElement(YE.Content,{tagName:"h4",className:"blockspare-title",value:n,style:{color:u||"#404040"}}),c&&wp.element.createElement("span",{className:"blockspare-price-divider",style:{color:m||"#6d6d6d"}}),wp.element.createElement("div",{className:"blockspare-price-unit-wrap"},wp.element.createElement(YE.Content,{tagName:"span",className:"blockspare-price",value:i,style:{color:p||"#af0000"}}),wp.element.createElement(YE.Content,{tagName:"span",className:"blockspare-unit",value:r,style:{color:d||"#af0000"}}))),wp.element.createElement(YE.Content,{tagName:"p",className:"blockspare-description",value:a,style:{color:m||"#6d6d6d"}})))}},{attributes:BE,save:e=>wp.element.createElement(FE,e)}];function RE(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 HE(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=wp.i18n.__,UE=wp.blocks.registerBlockType,GE=GS.category,VE=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?RE(Object(n),!0).forEach((function(t){HE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},GS.attributes,{},Ci,{},Ti),qE={title:WE("Price List Item","blockspare"),description:WE("Display creative Price List, Menu .","blockspare"),parent:["blockspare/blockspare-price-list"],icon:r.pricingList,category:GE,supports:{html:!1,inserter:!1,reusable:!1},attributes:VE,edit:gE,save:_E,deprecated:IE};UE("blockspare/list-item",qE);const $E=wp.element,JE=$E.Component,XE=$E.Fragment,KE=wp.i18n.__,QE=wp.compose.compose,ZE=wp.components.PanelBody,eT=wp.blocks.createBlock,tT=wp.data,nT=tT.withSelect,aT=tT.withDispatch,rT=wp.blockEditor,iT=rT.InnerBlocks,oT=rT.InspectorControls,lT=rT.PanelColorSettings;var sT=QE([nT((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,i=a.isBlockSelected,o=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:i(n)||o(n,!0)}}),aT(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends JE{constructor(...e){var t,n,a;super(...e),a=e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++)t.push(["blockspare/list-item",{}]);return t},(n="getPriceTemplate")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertPriceItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=qE.heading;e=Object.assign({},{},{itemNumber:t,heading:n,active:!1,defaultText:""})}else e=qE;a(eT("blockspare/list-item",e),void 0,n)}render(){const e=this.props,t=(e.align,e.attributes),n=e.backgroundColor,a=(e.isSelectedBlockInRoot,e.setAttributes);e.attributes.uniqueId;return[wp.element.createElement(XE,null,wp.element.createElement(oT,null,wp.element.createElement(ZE,{title:KE("Block Settings","blockspare")},wp.element.createElement(lT,{title:KE("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:n,onChange:e=>a({backgroundColor:e}),label:KE("Background Color","blockspare")}]}))),wp.element.createElement(US,this.props,wp.element.createElement(iT,{template:this.getPriceTemplate(t),allowedBlocks:["blockspare/list-item"]})))]}});const cT=wp.element.Component,uT=wp.blockEditor.InnerBlocks;var pT=class extends cT{render(){const e=this.props.attributes,t=e.uniqueId,n=(e.itemToggle,e.align),a=(e.backgroundColor,`blockspare-block-pricelist blockspare-blocks blockspare-block-${t} align${n}`);return wp.element.createElement("div",{className:a},wp.element.createElement(uT.Content,null))}};const dT=HS.name,mT=HS.category,fT=HS.attributes,bT=wp.i18n.__;(0,wp.blocks.registerBlockType)(dT,{title:bT("BS Price List","blockspare"),description:bT("Add a price list.","blockspare"),category:mT,icon:r.pricingList,attributes:fT,keywords:[bT("block","blockspare"),bT("price","blockspare"),bT("list","blockspare"),bT("table","blockspare"),bT("pricing","blockspare"),bT("shop","blockspare"),bT("purchase","blockspare")],supports:{align:["wide","full","center"],html:!0},edit:sT,save:pT});var gT=n(83);const hT=wp.i18n.__,vT=wp.element.Component,yT=wp.blockEditor.InspectorControls,wT=wp.components,kT=(wT.Toolbar,wT.Button,wT.PanelBody),_T=(wT.PanelRow,wT.RangeControl);class xT extends vT{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.columns,a=t.columnsGap,r=t.marginTop,i=t.marginBottom,o=(e.isSelected,e.className,e.setAttributes);return wp.element.createElement(yT,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper pricing-table-blockspare"},wp.element.createElement(x,{protitle:"👋",demoLink:"price-table"}),wp.element.createElement(kT,{title:hT("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(_T,{label:hT("Pricing Columns","blockspare"),value:n,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:3,withInputField:!1}),wp.element.createElement(_T,{label:hT("Pricing Columns Gap","blockspare"),value:a,withInputField:!1,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:4,step:1})),wp.element.createElement(kT,{title:hT("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:r,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>o({marginTop:e}),marginEnableBottom:!0,marginBottom:i,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>o({marginBottom:e})}))))}}const ST=wp.element.Component;class ET extends ST{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.columns,a=(t.columnsGap,t.align),r=(e.attributes,o()([this.props.className,"blockspare-pricing-columns-"+n],{["align"+a]:a}));return wp.element.createElement("div",{className:r||void 0},this.props.children)}}n(616),n(617);var TT=n(42);const CT=wp.i18n.__,MT=wp.element,OT=MT.Component,LT=(MT.Fragment,wp.blockEditor),DT=LT.InspectorControls,FT=(LT.BlockDescription,LT.MediaUpload,LT.PanelColorSettings),PT=wp.components,jT=(PT.Dashicon,PT.Button,PT.PanelBody),NT=(PT.SelectControl,PT.FormToggle,PT.RangeControl);PT.TextControl,PT.ToggleControl;class zT extends OT{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.borderWidth,a=t.borderColor,r=(t.borderRadius,t.backgroundColor),i=t.padding,o=t.sectionScale,l=(t.enableBadge,t.badgeText,t.badgeStyle,t.badgeOption,t.imgID1,t.imgURL1,t.imgAlt1,t.badgeTextColor,t.badgeBackGroundColor,t.badgeImgSize,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,e.isSelected,e.className,e.setAttributes);CT("Style 1","blockspare"),CT("Style 2","blockspare"),CT("Style 3","blockspare"),CT("Text","blockspare"),CT("Image","blockspare");return wp.element.createElement(DT,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(jT,{title:CT("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(NT,{label:CT("Pricing Column Padding","blockspare"),value:i,onChange:e=>this.props.setAttributes({padding:e}),min:0,max:20,step:1}),wp.element.createElement(NT,{label:CT("Pricing Column Border","blockspare"),value:n,onChange:e=>this.props.setAttributes({borderWidth:e}),min:0,max:10,step:1}),wp.element.createElement(NT,{label:CT("Scale Ratio","blockspare"),value:o,onChange:e=>this.props.setAttributes({sectionScale:e}),min:0,max:2,step:1})),wp.element.createElement(jT,{title:CT("Color Settings","blockspare"),initialOpen:!1},0<n&&wp.element.createElement(FT,{title:CT("Border Color","blockspare"),initialOpen:!1,colorSettings:[{value:a,onChange:e=>l({borderColor:e}),label:CT("Border Color","blockspare")}]}),wp.element.createElement(FT,{title:CT("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:r,onChange:e=>l({backgroundColor:e}),label:CT("Background Color","blockspare")}]}))))}}function AT(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 YT(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AT(Object(n),!0).forEach((function(t){BT(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AT(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function BT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var IT=e=>{const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,i=t.backgroundColor,o=t.padding,l=(t.color,t.badgeBackGroundColor),s=t.badgeImgSize,c=t.badgeTextColor,u=[];return u.push({".blockspare-block-pricing-table-inside":YT({},xc(e.attributes),{borderWidth:n?n+"px":null,borderStyle:0<n?"solid":null,borderColor:a||"#fff",borderRadius:r||null,backgroundColor:i||null,padding:o?o+"px":"5px"}),".blockspare-badge span":{color:c||"#fff",backgroundColor:l},".blockspare-badge-image":{width:s+"px"}}),wr.a.all(u)};wp.i18n.__;const RT=wp.element,HT=RT.Component,WT=RT.Fragment,UT=wp.compose.compose,GT=wp.blockEditor,VT=GT.InnerBlocks,qT=(GT.AlignmentToolbar,GT.BlockControls,["blockspare/blockspare-pricing-inner-title","blockspare/blockspare-pricing-inner-price","blockspare/blockspare-pricing-inner-description","blockspare/blockspare-pricing-inner-button","blockspare/blockspare-iconset"]);var $T=UT(vr,br(IT))(class extends HT{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.padding,t.alignment),a=t.sectionScale,r=t.enableBadge,i=t.badgeText,l=t.badgeStyle,s=t.badgeOption,c=(t.imgID1,t.imgURL1),u=t.imgAlt1,p=(t.badgeTextColor,t.badgeBackGroundColor,t.badgeImgSize,e.attributes,e.isSelected,e.className);e.setAttributes;let d="";return d=r&&i&&"badge-text"===s?l:r&&"badge-image"===s?l+" has-image":"",wp.element.createElement(WT,null,wp.element.createElement(zT,this.props),wp.element.createElement("div",{className:o()(p,n?"blockspare-block-pricing-table-"+n:"blockspare-block-pricing-table-center","blockspare-block-pricing-table")},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-pricing-table-inside",d,(m=a,"has-scale-ratio-"+1*Math.round(m)),{"has-scale-ratio":0!==a})},r&&i&&"badge-text"===s&&wp.element.createElement("div",{className:"blockspare-badge-wrapper"},wp.element.createElement("div",{className:"blockspare-badge"},wp.element.createElement("span",{className:o()(l)},i))),r&&"badge-image"===s&&wp.element.createElement("div",{className:o()(l,"blockspare-badge-image")},wp.element.createElement("img",{src:c,alt:u})),wp.element.createElement(VT,{template:[["blockspare/blockspare-iconset",{}],["blockspare/blockspare-pricing-inner-title",{headerTitle:"<strong> Price Title </strong>",headerSubTitle:"Enter Subtitle",titlePaddingTop:0,titlePaddingBottom:0,subtitlePaddingTop:0,subtitlePaddingBottom:0}],["blockspare/blockspare-pricing-inner-price",{price:"59",currency:"$",customFontSize:32,term:"/mo",paddingTop:10,paddingRight:20,paddingBottom:10,paddingLeft:20}],["blockspare/blockspare-pricing-inner-description",{features:"<li>40 Team Members</li><li>40 Personal Contacts</li><li>4000 Message</li>",multilineTag:"li",ordered:!1,customFontSize:16,FontSize:"small",paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}],["blockspare/blockspare-pricing-inner-button",{buttonText:"Get Started",paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}]],allowedBlocks:qT,renderAppender:!1}))));var m}});wp.i18n.__;const JT=wp.element,XT=JT.Component,KT=(JT.Fragment,wp.compose.compose),QT=wp.blockEditor.InnerBlocks;var ZT=KT(vr,br(IT))(class extends XT{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.alignment),a=(t.padding,t.sectionScale),r=t.enableBadge,i=t.badgeText,l=t.badgeStyle,s=t.badgeOption,c=(t.imgID1,t.imgURL1),u=t.imgAlt1,p=(t.badgeTextColor,t.badgeBackGroundColor,t.badgeImgSize,e.className);e.attributes;let d="";return d=r&&i&&"badge-text"===s?l:r&&"badge-image"===s?l+" has-image":"",wp.element.createElement("div",{className:o()(p,n?"blockspare-block-pricing-table-"+n:"blockspare-block-pricing-table-center","blockspare-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-pricing-table-inside",d,(m=a,"has-scale-ratio-"+1*Math.round(m)),{"has-scale-ratio":0!==a})},r&&i&&"badge-text"===s&&wp.element.createElement("div",{className:"blockspare-badge-wrapper"},wp.element.createElement("div",{className:"blockspare-badge"},wp.element.createElement("span",{className:o()(l)},i))),r&&"badge-image"===s&&wp.element.createElement("div",{className:o()(l,"blockspare-badge-image")},wp.element.createElement("img",{src:c,alt:u})),wp.element.createElement(QT.Content,null)));var m}});function eC(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 tC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eC(Object(n),!0).forEach((function(t){nC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const aC=wp.blockEditor.InnerBlocks;var rC=[{attributes:tC({},TT.attributes,{},Ti),save:function(e){const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,i=t.backgroundColor,l=t.alignment,s=t.padding,c=t.sectionScale,u=t.enableBadge,p=t.badgeText,d=t.badgeStyle,m=t.badgeOption,f=(t.imgID1,t.imgURL1),b=t.imgAlt1,g=t.badgeTextColor,h=t.badgeBackGroundColor,v=t.badgeImgSize,y=tC({},xc(e.attributes),{borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:a||null,borderRadius:r||null,backgroundColor:i||"#fff",padding:s?s+"%":null}),w={color:g||"#fff",backgroundColor:h},k={width:v+"px"};let _="";return _=u&&p&&"badge-text"===m?d:u&&"badge-image"===m?d+" has-image":"",wp.element.createElement("div",{className:o()(l?"blockspare-block-pricing-table-"+l:"blockspare-block-pricing-table-center","blockspare-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},wp.element.createElement("div",{className:o()("blockspare-block-pricing-table-inside",_,(x=c,"has-scale-ratio-"+1*Math.round(x)),{"has-scale-ratio":0!==c}),style:y},u&&p&&"badge-text"===m&&wp.element.createElement("div",{className:"blockspare-badge-wrapper"},wp.element.createElement("div",{className:"blockspare-badge"},wp.element.createElement("span",{className:o()(d),style:w},p))),u&&"badge-image"===m&&wp.element.createElement("div",{className:o()(d),style:k},wp.element.createElement("img",{src:f,alt:b})),wp.element.createElement(aC.Content,null)));var x}}];function iC(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 oC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lC=wp.i18n.__,sC=wp.blocks.registerBlockType,cC=(TT.name,TT.category),uC=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iC(Object(n),!0).forEach((function(t){oC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},TT.attributes,{},Ti),pC={title:lC("BS Pricing Column","blockspare"),description:lC("Add a pricing column.","blockspare"),icon:r.pricingTable,category:cC,parent:["blockspare/blockspare-pricing"],keywords:[lC("pricing","blockspare"),lC("shop","blockspare"),lC("buy","blockspare")],attributes:uC,edit:$T,save:ZT,deprecated:rC};sC("blockspare/blockspare-pricing-inner",pC);var dC=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=[];return r.push({".blockspare-pricing-block-wrapper":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0}}),wr.a.all(r)};function mC(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 fC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const bC=wp.element,gC=bC.Component,hC=bC.Fragment,vC=(wp.i18n.__,wp.compose.compose),yC=wp.blocks.createBlock,wC=wp.data,kC=wC.withSelect,_C=wC.withDispatch,xC=wp.blockEditor.InnerBlocks;var SC=vC([kC((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,i=a.isBlockSelected,o=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:i(n)||o(n,!0)}}),_C(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}}),vr,br(dC)])(class extends gC{constructor(...e){super(...e),fC(this,"getServiceTemplate",e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++)t.push(["blockspare/blockspare-pricing-inner",{}]);return t})}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertServiceItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=pC.heading;e=Object.assign({},{},{itemNumber:t,heading:n,active:!1,defaultText:""})}else e=pC;a(yC("blockspare/blockspare-pricing-inner",e),void 0,n)}render(){const e=this.props,t=e.attributes,n=t.columns,a=(t.marginTop,t.marginBottom,t.columnsGap),r=e.attributes,i=e.className,l=e.setAttributes,s=o()(["blockspare-pricing-columns-"+n]),c=o()([i,"blockspare-main-blockwrapper"]);return wp.element.createElement(hC,null,wp.element.createElement(xT,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mC(Object(n),!0).forEach((function(t){fC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:l},this.props)),wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-pricing-block-wrapper"},wp.element.createElement("div",{className:s},wp.element.createElement("div",{className:o()("blockspare-pricing-table-wrap-admin","blockspare-block-pricing-table-gap-"+a)},wp.element.createElement(xC,{template:this.getServiceTemplate(r),allowedBlocks:["blockspare/blockspare-pricing-inner"],renderAppender:!1}))))))}});wp.i18n.__;const EC=wp.element.Component,TC=wp.compose.compose,CC=wp.blockEditor.InnerBlocks;var MC=TC(vr,br(dC))(class extends EC{render(){const e=this.props,t=e.attributes,n=(t.align,t.columns),a=t.columnsGap,r=(t.marginTop,t.marginBottom,e.className),i=o()(["blockspare-pricing-table-wrap","blockspare-block-pricing-table-gap-"+a]),l=o()(["blockspare-pricing-columns-"+n]),s=o()([r,"blockspare-main-blockwrapper"]);return wp.element.createElement("div",{className:s},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-pricing-block-wrapper")},wp.element.createElement("div",{className:l},wp.element.createElement("div",{className:i||void 0},wp.element.createElement(CC.Content,null)))))}});const OC=wp.blockEditor.InnerBlocks;var LC=[{attributes:{columns:{type:"number",default:2},columnsGap:{type:"number",default:1},align:{type:"string",default:"center"},defaultItems:{type:"number",default:2},marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}},save:function(e){const t=e.attributes,n=t.align,a=(t.columns,t.columnsGap),r=t.marginTop,i=t.marginBottom,l=o()(["blockspare-pricing-table-wrap","blockspare-block-pricing-table-gap-"+a]);return wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-pricing-block-wrapper","align"+n),style:{marginTop:r?r+"px":void 0,marginBottom:i?i+"px":void 0}},wp.element.createElement(ET,e,wp.element.createElement("div",{className:l||void 0},wp.element.createElement(OC.Content,null))))}}];const DC=wp.i18n.__,FC=wp.blocks.registerBlockType,PC=(wp.blockEditor.InnerBlocks,gT.name),jC=gT.category,NC=gT.attributes;FC(PC,{title:DC("BS Pricing Table","blockspare"),description:DC("Add a pricing table.","blockspare"),category:jC,icon:r.pricingTable,attributes:NC,keywords:[DC("block","blockspare"),DC("price","blockspare"),DC("list","blockspare"),DC("table","blockspare"),DC("pricing","blockspare"),DC("shop","blockspare"),DC("purchase","blockspare")],supports:{align:["wide","full","center"],html:!0},edit:SC,save:MC,deprecated:LC});var zC=n(120);const AC=wp.i18n.__,YC=wp.element.Component,BC=(wp.compose.compose,wp.blockEditor.InspectorControls),IC=wp.components,RC=(IC.withFallbackStyles,IC.PanelBody);IC.SelectControl;class HC extends YC{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.subtitleFontSize,t.headerTagOption),a=t.headertitleColor,r=t.headersubtitleColor,i=t.headerlayoutOption,o=t.titlePaddingTop,l=t.titlePaddingBottom,s=t.subtitlePaddingTop,c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontSize,m=t.titleLoadGoogleFonts,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSubset,h=t.titleFontSizeType,v=t.titleFontSizeMobile,y=t.titleFontSizeTablet,w=t.subTitleFontSize,k=t.subTitleLoadGoogleFonts,_=t.subTitleFontFamily,x=t.subTitleFontWeight,S=t.subTitleFontSubset,E=t.subTitleFontSizeType,T=t.subTitleFontSizeMobile,C=t.subTitleFontSizeTablet,M=e.attributes,O=e.setAttributes;AC("Layout 1","blockspare"),AC("Layout 2","blockspare"),AC("Layout 3","blockspare");return wp.element.createElement(BC,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(RC,{title:AC("Header Settings","blockspare"),initialOpen:!0},wp.element.createElement(ac,{headerlayoutOption:i,onChangeHeaderLayput:e=>O({headerlayoutOption:e})}),wp.element.createElement(RC,{title:AC("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:AC("Title Fonts Settings"),attributes:M,setAttributes:O,loadGoogleFonts:{value:m,label:AC("titleLoadGoogleFonts")},fontFamily:{value:f,label:AC("titleFontFamily")},fontWeight:{value:b,label:AC("titleFontWeight")},fontSubset:{value:g,label:AC("titleFontSubset")},fontSizeType:{value:h,label:AC("titleFontSizeType")},fontSize:{value:d,label:AC("titleFontSize")},fontSizeMobile:{value:v,label:AC("titleFontSizeMobile")},fontSizeTablet:{value:y,label:AC("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:n}),wp.element.createElement(Ns,{label:AC("Subtitle Fonts Settings"),attributes:M,setAttributes:O,loadGoogleFonts:{value:k,label:AC("subTitleLoadGoogleFonts")},fontFamily:{value:_,label:AC("subTitleFontFamily")},fontWeight:{value:x,label:AC("subTitleFontWeight")},fontSubset:{value:S,label:AC("subTitleFontSubset")},fontSizeType:{value:E,label:AC("subTitleFontSizeType")},fontSize:{value:w,label:AC("subTitleFontSize")},fontSizeMobile:{value:T,label:AC("subTitleFontSizeMobile")},fontSizeTablet:{value:C,label:AC("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),wp.element.createElement(ji,{enableBlockGaps:!1,headerboxColor:p,onChangeboxcolor:e=>O({headerboxColor:e}),dashColor:u,headerlayoutOption:i,onChangeDashColor:e=>O({dashColor:e}),headertitleColor:a,onChangetitlecolor:e=>O({headertitleColor:e}),titlePaddingTop:o,onChangetitlePaddingTop:e=>O({titlePaddingTop:e}),titlePaddingBottom:l,onChangetitlePaddingBottom:e=>O({titlePaddingBottom:e}),headersubtitleColor:r,onChangesubtitlecolor:e=>O({headersubtitleColor:e}),subtitlePaddingTop:s,onChangesubtitlePaddingTop:e=>O({subtitlePaddingTop:e}),subtitlePaddingBottom:c,onChangesubtitlePaddingBottom:e=>O({subtitlePaddingBottom:e})}))))}}var WC=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,v=(t.subTitleLoadGoogleFonts,t.subTitleFontFamily),y=t.subTitleFontWeight,w=(t.subTitleFontSubset,t.subTitleFontSizeType),k=t.subTitleFontSizeMobile,_=t.subTitleFontSizeTablet,x=t.headerpaddingTop,S=(t.headerpaddingRight,t.headerpaddingBottom),E=(t.headerpaddingLeft,t.headermarginTop,t.headermarginBottom,[]);return E.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:x+"px",paddingBottom:S+"px"}}),E.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+w,fontFamily:v,fontWeight:y,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-title":{fontSize:g+f},".blockspare-subtitle":{fontSize:_+w}},mobile:{".blockspare-title":{fontSize:b+f},".blockspare-subtitle":{fontSize:k+w}}}),wr.a.all(E)};function UC(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 GC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?UC(Object(n),!0).forEach((function(t){VC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function VC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const qC=wp.element,$C=qC.Component,JC=qC.Fragment,XC=(wp.i18n.__,wp.compose.compose),KC=wp.blockEditor,QC=(KC.RichText,KC.AlignmentToolbar),ZC=KC.BlockControls;var eM=XC(vr,br(WC))(class extends $C{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTagOption,i=t.headerTitle,l=t.headerSubTitle,s=t.headerlayoutOption,c=t.titleLoadGoogleFonts,u=t.titleFontFamily,p=t.titleFontWeight,d=t.subTitleLoadGoogleFonts,m=t.subTitleFontFamily,f=t.subTitleFontWeight,b=e.className,g=e.attributes,h=e.setAttributes,v=(GC({},iu(g)),GC({},ou(g)),GC({},lu(g)),o()([b,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return[wp.element.createElement(JC,null,wp.element.createElement(ZC,{key:"controls"},wp.element.createElement(QC,{value:a,onChange:e=>{h({sectionAlignment:e})}})),wp.element.createElement(HC,this.props),wp.element.createElement("div",{className:v},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(_c,{setAttributes:h,headerTitle:i,headerTagOption:r,headerSubTitle:l,titleFontFamily:u,titleFontWeight:p,titleLoadGoogleFonts:c,subTitleLoadGoogleFonts:d,subTitleFontFamily:m,subTitleFontWeight:f}))))]}});const tM=wp.element.Component,nM=(wp.i18n.__,wp.compose.compose);var aM=nM(vr,br(WC))(class extends tM{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTitle,i=t.headerTagOption,l=t.headerSubTitle,s=t.headerlayoutOption,c=e.className,u=(e.attributes,e.setAttributes,e.isSelected,o()([c,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(Qc,{headerTitle:r,headerTagOption:i,headerSubTitle:l})))}});function rM(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 iM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const oM=wp.element.Component;class lM extends oM{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerlayoutOption,i=e.attributes,l=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rM(Object(n),!0).forEach((function(t){iM(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rM(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},mu(i)));return wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+n),style:l},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",r,"blockspare-"+a)},this.props.children))}}function sM(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 cM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sM(Object(n),!0).forEach((function(t){uM(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sM(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function uM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pM=wp.editor,dM=pM.RichText;pM.getFontSizeClass,pM.getColorClassName;var mM=[{attributes:cM({},Ei),save:function(e){const t=e.attributes,n=t.headerTagOption,a=t.headerTitle,r=t.headerSubTitle,i=cM({},iu(e.attributes)),o=cM({},ou(e.attributes)),l=cM({},lu(e.attributes));return wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement(lM,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:i}),a&&wp.element.createElement(dM.Content,{tagName:n,className:"blockspare-title",style:o,value:a}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:i})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:i}),r&&wp.element.createElement(dM.Content,{tagName:"p",className:"blockspare-subtitle",style:l,value:r}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:i}))))}}];function fM(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 bM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gM=zC.name,hM=zC.category,vM=wp.i18n.__,yM=wp.blocks.registerBlockType,wM=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fM(Object(n),!0).forEach((function(t){bM(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fM(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ei);yM(gM,{title:vM("Price Title","blockspare"),description:vM("Add a product title component with schema markup.","blockspare"),category:hM,icon:r.sectionHeader,attributes:wM,parent:["blockspare/blockspare-pricing-inner"],keywords:[vM("pricing table","blockspare"),vM("title","blockspare"),vM("shop","blockspare")],edit:eM,save:aM,deprecated:mM});var kM=n(43);const _M=wp.i18n.__,xM=wp.element.Component,SM=(wp.compose.compose,wp.blockEditor),EM=SM.InspectorControls,TM=(SM.FontSizePicker,SM.withFontSizes,SM.withColors,SM.ContrastChecker,SM.PanelColorSettings),CM=wp.components,MM=(CM.withFallbackStyles,CM.PanelBody),OM=CM.ToggleControl,LM=CM.TextControl;CM.RangeControl;class DM extends xM{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.showTerm,a=t.showCurrency,r=t.term,i=t.currency,o=t.paddingTop,l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.priceUnitFontSize,p=t.priceUnitLoadGoogleFonts,d=t.priceUnitFontFamily,m=t.priceUnitFontWeight,f=t.priceUnitFontSubset,b=t.priceUnitFontSizeType,g=t.priceUnitFontSizeMobile,h=t.priceUnitFontSizeTablet,v=(t.backgroundColor,t.priceColor),y=e.attributes,w=e.setAttributes;return wp.element.createElement(EM,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(MM,{title:_M("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(OM,{label:_M("Show currency symbol","blockspare"),checked:a,onChange:()=>this.props.setAttributes({showCurrency:!a})}),a&&wp.element.createElement(LM,{label:_M("Currency Symbol","blockspare"),type:"text",value:i,onChange:e=>this.props.setAttributes({currency:e})}),wp.element.createElement(OM,{label:_M("Show pricing duration","blockspare"),checked:n,onChange:()=>this.props.setAttributes({showTerm:!n})}),n&&wp.element.createElement(LM,{label:_M("Pricing Duration","blockspare"),type:"text",value:r,onChange:e=>this.props.setAttributes({term:e})})),wp.element.createElement(MM,{title:_M("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:_M("Price Fonts Settings"),attributes:y,setAttributes:w,loadGoogleFonts:{value:p,label:_M("priceUnitLoadGoogleFonts")},fontFamily:{value:d,label:_M("priceUnitFontFamily")},fontWeight:{value:m,label:_M("priceUnitFontWeight")},fontSubset:{value:f,label:_M("priceUnitFontSubset")},fontSizeType:{value:b,label:_M("priceUnitFontSizeType")},fontSize:{value:u,label:_M("priceUnitFontSize")},fontSizeMobile:{value:g,label:_M("priceUnitFontSizeMobile")},fontSizeTablet:{value:h,label:_M("priceUnitFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(TM,{title:_M("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:v,onChange:e=>w({priceColor:e}),label:_M("Text Color","blockspare")}]}),wp.element.createElement(MM,{title:_M("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Pe,{paddingEnableTop:!0,paddingTop:o,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>w({paddingTop:e}),paddingEnableRight:!0,paddingRight:l,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>w({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:s,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>w({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:c,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>w({paddingLeft:e})}))))}}var FM=e=>{const t=e.attributes,n=t.sectionAlignment,a=(t.price,t.currency,t.fontSize,t.customFontSize,t.backgroundColor,t.priceColor),r=(t.customBackgroundColor,t.customTextColor,t.term,t.showTerm,t.showCurrency,t.paddingTop),i=t.paddingRight,o=t.paddingBottom,l=t.paddingLeft,s=t.priceUnitFontSize,c=t.priceUnitFontFamily,u=t.priceUnitFontWeight,p=t.priceUnitFontSizeType,d=t.priceUnitFontSizeMobile,m=t.priceUnitFontSizeTablet;var f=s,b=Math.floor(f/2.5),g=Math.floor(f/2.5),h=m,v=Math.floor(h/2.5),y=Math.floor(v/2.5),w=d,k=Math.floor(w/1.5),_=Math.floor(k/1.5);const x=[];return x.push({".blockspare-pricing-table-price-wrap":{textAlign:n,paddingTop:r?r+"px":void 0,paddingRight:i?i+"px":void 0,paddingBottom:o?o+"px":void 0,paddingLeft:l?l+"px":void 0},".blockspare-pricing-table-price":{color:a,fontSize:s+p,fontFamily:c,fontWeight:u},".blockspare-pricing-table-currency":{color:a,fontSize:b+"px",fontFamily:c,fontWeight:u},".blockspare-pricing-table-term":{color:a,fontSize:g+"px",fontFamily:c,fontWeight:u},tablet:{".blockspare-pricing-table-price":{fontSize:m+p},".blockspare-pricing-table-currency":{fontSize:v+p},".blockspare-pricing-table-term":{fontSize:y+p}},mobile:{".blockspare-pricing-table-price":{fontSize:d+p},".blockspare-pricing-table-currency":{fontSize:k+p},".blockspare-pricing-table-term":{fontSize:_+p}}}),wr.a.all(x)};const PM=wp.i18n.__,jM=(wp.blocks.registerBlockType,wp.compose.compose),NM=wp.element,zM=NM.Component,AM=NM.Fragment,YM=wp.blockEditor,BM=YM.RichText,IM=(YM.withFontSizes,YM.withColors,YM.AlignmentToolbar),RM=YM.BlockControls;var HM=jM([vr,br(FM)])(class extends zM{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.price,r=t.currency,i=t.term,l=t.showTerm,s=t.showCurrency,c=(t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft,t.priceUnitLoadGoogleFonts),u=t.priceUnitFontFamily,p=t.priceUnitFontWeight,d=(e.isSelected,e.className),m=e.setAttributes;e.fallbackFontSize,e.fontSize,e.backgroundColor,e.textColor;let f;if(1==c){const e={google:{families:[u+(p?":"+p:"")]}};f=wp.element.createElement(Fr,{config:e})}const b=o()({"blockspare-pricing-table-price-wrap":!0,"blockspare-pricing-has-currency":s}),g=o()({"blockspare-pricing-table-price":!0}),h=o()([d,"blockpare-priceunit"]);return[wp.element.createElement(AM,null,wp.element.createElement(RM,{key:"controls"},wp.element.createElement(IM,{value:n,onChange:e=>{m({sectionAlignment:e})}})),wp.element.createElement(DM,this.props),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:b||void 0},wp.element.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},s&&wp.element.createElement(BM,{tagName:"span",itemProp:"priceCurrency",placeholder:PM("$","blockspare"),keepPlaceholderOnFocus:!0,value:r,className:"blockspare-pricing-table-currency"}),wp.element.createElement(BM,{tagName:"div",itemProp:"price",placeholder:PM("49","blockspare"),keepPlaceholderOnFocus:!0,value:a,onChange:e=>m({price:e}),className:g||void 0,className:"blockspare-pricing-table-price"}),l&&wp.element.createElement(BM,{tagName:"span",value:i,placeholder:PM("/mo","blockspare"),keepPlaceholderOnFocus:!0,onChange:e=>m({term:e}),className:"blockspare-pricing-table-term"})))),f)]}});wp.i18n.__;const WM=wp.element,UM=WM.Component,GM=(WM.Fragment,wp.compose.compose),VM=wp.blockEditor,qM=VM.RichText;VM.getFontSizeClass,VM.getColorClassName;var $M=GM(vr,br(FM))(class extends UM{render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.price),a=t.currency,r=(t.fontSize,t.customFontSize,t.backgroundColor,t.textColor,t.customBackgroundColor,t.customTextColor,t.term),i=t.showTerm,l=t.showCurrency,s=(t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft,e.className),c=o()({"blockspare-pricing-table-price-wrap":!0,"blockspare-pricing-has-currency":l}),u=o()({"blockspare-pricing-table-price":!0}),p=o()([s,"blockpare-priceunit"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:c||void 0},wp.element.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},a&&l&&wp.element.createElement(qM.Content,{tagName:"span",itemProp:"priceCurrency",value:a,className:"blockspare-pricing-table-currency"}),wp.element.createElement(qM.Content,{tagName:"div",itemProp:"price",value:n,className:u||void 0}),r&&i&&wp.element.createElement(qM.Content,{tagName:"span",value:r,className:"blockspare-pricing-table-term"}))))}});function JM(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 XM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const KM=wp.element,QM=(KM.Component,KM.Fragment,wp.blockEditor),ZM=QM.RichText,eO=QM.getFontSizeClass,tO=QM.getColorClassName;var nO=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JM(Object(n),!0).forEach((function(t){XM(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JM(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},kM.attributes),save:function(e){const t=e.attributes,n=t.sectionAlignment,a=t.price,r=t.currency,i=t.fontSize,l=t.customFontSize,s=t.backgroundColor,c=t.textColor,u=t.customBackgroundColor,p=(t.customTextColor,t.term),d=t.showTerm,m=t.showCurrency,f=t.paddingTop,b=t.paddingRight,g=t.paddingBottom,h=t.paddingLeft,v=eO(i),y=(tO("color",c),tO("background-color",s)),w=o()({"has-background":s||u,"blockspare-pricing-table-price-wrap":!0,[y]:y,"blockspare-pricing-has-currency":m&&r}),k=o()({"blockspare-pricing-table-price":!0,[v]:v}),_={textAlign:n,backgroundColor:y?void 0:u,color:c||"#af0000",paddingTop:f?f+"px":void 0,paddingRight:b?b+"px":void 0,paddingBottom:g?g+"px":void 0,paddingLeft:h?h+"px":void 0},x={fontSize:v?void 0:l};var S=v?void 0:l,E=Math.floor(S/2.5);const T={fontSize:S?E+"px":void 0};var C=Math.floor(S/2.5);const M={fontSize:S?C+"px":void 0};return wp.element.createElement("div",{className:w||void 0,style:_},wp.element.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},r&&m&&wp.element.createElement(ZM.Content,{tagName:"span",itemProp:"priceCurrency",value:r,className:"blockspare-pricing-table-currency",style:T}),wp.element.createElement(ZM.Content,{tagName:"div",itemProp:"price",value:a,className:k||void 0,style:x}),p&&d&&wp.element.createElement(ZM.Content,{tagName:"span",value:p,className:"blockspare-pricing-table-term",style:M})))}}];const aO=wp.i18n.__,rO=wp.blocks.registerBlockType,iO=kM.name,oO=kM.category,lO=kM.attributes;rO(iO,{title:aO("Price","blockspare"),description:aO("Adds a product price component with schema markup.","blockspare"),icon:r.price,category:oO,parent:["blockspare/blockspare-pricing-inner"],keywords:[aO("pricing table","blockspare"),aO("title","blockspare"),aO("shop","blockspare")],attributes:lO,edit:HM,save:$M,deprecated:nO});var sO=n(84);var cO=e=>{const t=e.attributes,n=t.sectionAlignment,a=(t.customFontSize,t.descriptionBacgroundColor),r=t.borderColor,i=t.paddingTop,o=t.paddingRight,l=t.paddingBottom,s=t.paddingLeft,c=t.color,u=t.descriptionFontSize,p=t.descriptionFontFamily,d=t.descriptionFontWeight,m=(t.descriptionFontSubset,t.descriptionFontSizeType),f=t.descriptionFontSizeMobile,b=t.descriptionFontSizeTablet,g=[];let h;return h=16===u?u-2:u,g.push({".blockspare-list-wrap":{backgroundColor:a,borderColor:r||void 0,paddingTop:i?i+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:l?l+"px":void 0,paddingLeft:s?s+"px":void 0},".blockspare-pricing-table-features li":{textAlign:n,color:c||"#000",fontSize:u+m,fontFamily:p,fontWeight:d},".blockspare-pricing-table-features li:before":{fontSize:h+m},tablet:{".blockspare-pricing-table-features":{fontSize:b+m}},mobile:{"blockspare-pricing-table-features":{fontSize:f+m}}}),wr.a.all(g)};const uO=wp.i18n.__,pO=wp.element.Component,dO=(wp.compose.compose,wp.blockEditor),mO=dO.InspectorControls,fO=(dO.FontSizePicker,dO.withFontSizes,dO.withColors,dO.ContrastChecker,dO.PanelColorSettings),bO=(dO.ColorPalette,wp.components),gO=(bO.withFallbackStyles,bO.PanelBody);bO.PanelRow,bO.SelectControl,bO.BaseControl,bO.RangeControl;class hO extends pO{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.borderStyle,t.borderColor,t.borderWidth,t.descriptionBacgroundColor),a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.name,s=t.listType,c=t.orderListStyle,u=t.color,p=t.descriptionFontSize,d=t.descriptionFontFamily,m=t.descriptionFontWeight,f=t.descriptionFontSubset,b=t.descriptionFontSizeType,g=t.descriptionFontSizeMobile,h=t.descriptionFontSizeTablet,v=t.descriptionLoadGoogleFonts,y=e.attributes,w=e.setAttributes;e.fallbackFontSize,e.fontSize,e.setFontSize,e.textColor,e.setBackgroundColor,e.setTextColor,e.fallbackBackgroundColor,e.fallbackTextColor,uO("None"),uO("Solid"),uO("Dotted"),uO("Dashed");return wp.element.createElement(mO,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(gO,{title:uO("Custom List Settings"),initialOpen:!1},wp.element.createElement(My,{name:l,onChangeName:e=>w({name:e}),listType:s,onChangeListStyle:e=>w({listType:e}),orderListStyle:c,onChangeOrderListStyle:e=>w({orderListStyle:e}),color:u,onchangeColor:e=>w({color:e})})),wp.element.createElement(gO,{title:uO("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:uO("Description Fonts Settings"),attributes:y,setAttributes:w,loadGoogleFonts:{value:v,label:uO("descriptionLoadGoogleFonts")},fontFamily:{value:d,label:uO("descriptionFontFamily")},fontWeight:{value:m,label:uO("descriptionFontWeight")},fontSubset:{value:f,label:uO("descriptionFontSubset")},fontSizeType:{value:b,label:uO("descriptionFontSizeType")},fontSize:{value:p,label:uO("descriptionFontSize")},fontSizeMobile:{value:g,label:uO("descriptionFontSizeMobile")},fontSizeTablet:{value:h,label:uO("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(fO,{title:uO("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:n,onChange:e=>w({descriptionBacgroundColor:e}),label:uO("Background Color","blockspare")}]}),wp.element.createElement(gO,{title:uO("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Pe,{paddingEnableTop:!0,paddingTop:a,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>w({paddingTop:e}),paddingEnableRight:!0,paddingRight:r,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>w({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:i,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>w({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:o,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>w({paddingLeft:e})}))))}}const vO=wp.i18n.__,yO=wp.compose.compose,wO=wp.element,kO=wO.Component,_O=wO.Fragment,xO=wp.blockEditor,SO=xO.RichText,EO=(xO.withFontSizes,xO.withColors,xO.AlignmentToolbar),TO=xO.BlockControls;xO.BlockAlignmentToolbar;var CO=yO([vr,br(cO)])(class extends kO{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.features,a=t.borderStyle,r=t.borderWidth,i=t.sectionAlignment,l=t.name,s=t.listType,c=t.orderListStyle,u=(t.color,t.descriptionLoadGoogleFonts),p=t.descriptionFontFamily,d=t.descriptionFontWeight,m=(e.isSelected,e.className),f=e.setAttributes;e.fallbackFontSize,e.fontSize,e.backgroundColor,e.textColor;let b;if(1==u){const e={google:{families:[p+(d?":"+d:"")]}};b=wp.element.createElement(Fr,{config:e})}let g="";g="ul"==s?l:"ol"==s?c:"";const h=o()([m,"blockspare-pirce-description"]);return wp.element.createElement(_O,null,wp.element.createElement(TO,null,wp.element.createElement(EO,{value:i,onChange:e=>{f({sectionAlignment:e})}})),wp.element.createElement(hO,this.props),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(SO,{tagName:"none"==s?"ul":s,multiline:"li",itemProp:"description",placeholder:vO("Add a product feature","blockspare"),keepPlaceholderOnFocus:!0,value:n,onChange:e=>f({features:e}),className:o()("blockspare-pricing-table-features",a,"blockspare-list-border-width-"+r,g)}))),b)}});wp.i18n.__;const MO=wp.element,OO=MO.Component,LO=(MO.Fragment,wp.compose.compose),DO=wp.blockEditor.RichText;var FO=LO(vr,br(cO))(class extends OO{render(){const e=this.props,t=e.attributes,n=t.features,a=t.borderStyle,r=t.borderWidth,i=t.name,l=t.listType,s=t.orderListStyle,c=(t.color,e.className);let u="";u="ul"==l?i:"ol"==l?s:"";const p=o()([c,"blockspare-pirce-description"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(DO.Content,{tagName:"none"==l?"ul":l,multiline:"li",itemProp:"description",value:n,className:o()("blockspare-pricing-table-features",a,"blockspare-list-border-width-"+r,u)})))}}),PO=n(121);var jO=e=>{const t=e.attributes,n=t.sectionAlignment,a=(t.customFontSize,t.descriptionBacgroundColor),r=t.borderColor,i=t.paddingTop,o=t.paddingRight,l=t.paddingBottom,s=t.paddingLeft,c=t.color,u=t.descriptionFontSize,p=t.descriptionFontFamily,d=t.descriptionFontWeight,m=(t.descriptionFontSubset,t.descriptionFontSizeType),f=t.descriptionFontSizeMobile,b=t.descriptionFontSizeTablet,g=[];return g.push({".blockspare-list-wrap":{backgroundColor:a,borderColor:r||void 0,paddingTop:i?i+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:l?l+"px":void 0,paddingLeft:s?s+"px":void 0},".blockspare-pricing-table-features li":{textAlign:n,color:c||"#000",fontSize:u+m,fontFamily:p,fontWeight:d},".blockspare-pricing-table-features li:before":{fontSize:u+m},tablet:{".blockspare-pricing-table-features":{fontSize:b+m}},mobile:{"blockspare-pricing-table-features":{fontSize:f+m}}}),wr.a.all(g)};wp.i18n.__;const NO=wp.element,zO=NO.Component,AO=(NO.Fragment,wp.compose.compose),YO=wp.blockEditor.RichText;var BO=AO(vr,br(jO))(class extends zO{render(){const e=this.props,t=e.attributes,n=t.features,a=t.borderStyle,r=t.borderWidth,i=t.name,l=t.listType,s=t.orderListStyle,c=(t.color,e.className);let u="";u="ul"==l?i:"ol"==l?s:"";const p=o()([c,"blockspare-pirce-description"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(YO.Content,{tagName:"none"==l?"ul":l,multiline:"li",itemProp:"description",value:n,className:o()("blockspare-pricing-table-features",a,"blockspare-list-border-width-"+r,u)})))}});function IO(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 RO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?IO(Object(n),!0).forEach((function(t){HO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function HO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const WO=wp.blockEditor,UO=WO.RichText,GO=WO.getFontSizeClass,VO=WO.getColorClassName;var qO=[{attributes:RO({},PO.attributes),save:function(e){const t=e.attributes,n=t.features,a=t.fontSize,r=t.sectionAlignment,i=t.customFontSize,l=t.backgroundColor,s=t.textColor,c=t.customBackgroundColor,u=(t.customTextColor,t.borderStyle),p=t.borderColor,d=t.borderWidth,m=t.paddingTop,f=t.paddingRight,b=t.paddingBottom,g=t.paddingLeft,h=t.name,v=t.listType,y=t.orderListStyle,w=t.color;let k="";k="ul"==v?h:"ol"==v?y:"";const _=GO(a),x=VO("color",s),S=VO("background-color",l),E=o()({"has-background":l||c,"blockspare-pricing-table-features":!0,[_]:_,[x]:x,[S]:S,[u]:u,["blockspare-list-border-width-"+d]:d,[k]:k}),T={textAlign:r,fontSize:_?void 0:i,backgroundColor:S?void 0:c,color:w||"#6d6d6d",borderColor:p||void 0,paddingTop:m?m+"px":void 0,paddingRight:f?f+"px":void 0,paddingBottom:b?b+"px":void 0,paddingLeft:g?g+"px":void 0};return wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(UO.Content,{tagName:"none"==v?"ul":v,itemProp:"description",value:n,className:E||void 0,style:T}))}},{attributes:RO({},PO.attributes),save:e=>wp.element.createElement(BO,e)}];const $O=wp.i18n.__,JO=wp.blocks.registerBlockType,XO=sO.name,KO=sO.category,QO=sO.attributes;JO(XO,{title:$O("Price Features","blockspare"),description:$O("Adds a product feature component with schema markup.","blockspare"),category:KO,icon:r.iconlist,attributes:QO,parent:["blockspare/blockspare-pricing-inner"],keywords:[$O("pricing table","blockspare"),$O("features","blockspare"),$O("shop","blockspare")],edit:CO,save:FO,deprecated:qO});var ZO=n(14);const eL=wp.i18n.__,tL=wp.element.Component,nL=wp.compose.compose,aL=wp.blockEditor,rL=aL.InspectorControls,iL=aL.withFontSizes,oL=aL.withColors,lL=(aL.PanelColorSettings,wp.components),sL=lL.withFallbackStyles,cL=lL.PanelBody,uL=lL.ToggleControl,pL=sL((e,t)=>{const n=t.attributes.backgroundColor,a=e.querySelector('[contenteditable="true"]'),r=a?getComputedStyle(a):null;return{fallbackBackgroundColor:n||!r?void 0:r.backgroundColor}});var dL=nL([pL,iL("fontSize"),oL("backgroundColor")])(class extends tL{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonStyle,a=t.borderColor,r=t.borderBtnTextColor,i=t.buttonBackgroundColor,o=t.buttonTextColor,l=t.buttonSize,s=t.buttonShape,c=t.buttonTarget,u=t.paddingTop,p=t.paddingBottom,d=t.enableGradient,m=t.backgroundColor1,f=t.backgroundColor2,b=t.gradientAngle,g=t.colorLocation1,h=t.colorLocation2,v=t.btnFontWeight,y=t.btnBorderWidth,w=t.buttonHoverEffect,k=t.buttonFontSize,_=t.buttonFontFamily,x=t.buttonFontWeight,S=t.buttonFontSubset,E=t.buttonFontSizeType,T=t.buttonFontSizeMobile,C=t.buttonFontSizeTablet,M=t.buttonLoadGoogleFonts,O=e.attributes,L=e.setAttributes;e.backgroundColor,e.setBackgroundColor;return wp.element.createElement(rL,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(cL,{title:eL("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(Se,{enableButtonTarget:!1,buttonTarget:c,onChangeButtonTarget:e=>L({buttonTarget:!c}),enableGradient:d,onChangeGradient:e=>L({enableGradient:e}),enableButtonSize:!0,buttonSize:l,onChangeButtonSize:e=>L({buttonSize:e}),enableButtonShape:!0,buttonShape:s,onChangeButtonShape:e=>L({buttonShape:e}),buttonBackgroundColor:i,onChangeButtonColor:e=>L({buttonBackgroundColor:e}),buttonTextColor:o,onChangeButtonTextColor:e=>L({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:n,onChangeBorderStyle:e=>L({buttonStyle:e}),buttonHoverEffect:w,onchangeButtonHoverEffect:e=>L({buttonHoverEffect:e}),borderColor:a,onchangeBorderColor:e=>L({borderColor:e}),borderBtnTextColor:r,onChangeBorderBtnTextColor:e=>L({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:y,onchangebtnBorderWidth:e=>L({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:v,onchangeBtnFontWeight:e=>L({btnFontWeight:e})}),wp.element.createElement(cL,{title:eL("Typography Settings","blockspare")},wp.element.createElement(Wa,{label:eL("Button Fonts Settings"),attributes:O,setAttributes:L,loadGoogleFonts:{value:M,label:eL("buttonLoadGoogleFonts")},fontFamily:{value:_,label:eL("buttonFontFamily")},fontWeight:{value:x,label:eL("buttonFontWeight")},fontSubset:{value:S,label:eL("buttonFontSubset")},fontSizeType:{value:E,label:eL("buttonFontSizeType")},fontSize:{value:k,label:eL("buttonFontSize")},fontSizeMobile:{value:T,label:eL("buttonFontSizeMobile")},fontSizeTablet:{value:C,label:eL("buttonFontSizeTablet")},disableLineHeight:!0})),"none"===n&&wp.element.createElement(uL,{label:eL("Enable Gradient","blockspare"),checked:d,onChange:()=>this.props.setAttributes({enableGradient:!d})}),d&&"none"===n&&wp.element.createElement(cL,{title:eL("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Oe,{backgroundColor1:m,onChangeBackgroundColor1:e=>L({backgroundColor1:e}),backgroundColor2:f,onChangeBackgroundColor2:e=>L({backgroundColor2:e}),gradientAngle:b,onChangeGradientAngle:e=>L({gradientAngle:e}),colorLocation1:g,onChangeColorLocation1:e=>L({colorLocation1:e}),colorLocation2:h,onChangeColorLocation2:e=>L({colorLocation2:e})}))),wp.element.createElement(cL,{title:eL("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Pe,{paddingEnableTop:!0,paddingTop:u,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>L({paddingTop:e}),paddingEnableBottom:!0,paddingBottom:p,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>L({paddingBottom:e})}))))}});var mL=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.buttonStyle,s=t.enableGradient,c=t.backgroundColor1,u=t.backgroundColor2,p=t.gradientAngle,d=t.colorLocation1,m=t.colorLocation2,f=(t.btnFontWeight,t.btnBorderWidth),b=t.borderColor,g=t.buttonBackgroundColor,h=t.borderBtnTextColor,v=t.buttonTextColor,y=t.buttonFontSize,w=t.buttonFontFamily,k=t.buttonFontWeight,_=t.buttonFontSizeType,x=t.buttonFontSizeMobile,S=t.buttonFontSizeTablet,E=[];if(E.push({".blockspare-block-button":{textAlign:n},".blockspare-pricing-table-button":{paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),"none"===l)if(1==s){const e=p+"deg",t=d+"%",n=m+"%";E.push({".blockspare-block-button span":{color:v||"#fff",borderWidth:f+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${c||"#3B1A5B"} ${t},${u||"#8B249C"} ${n})`}})}else E.push({".blockspare-block-button span":{color:v||"#fff",borderWidth:f+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:g||"#3c1a5b"}});else E.push({".blockspare-block-button span":{color:h||"#404040",borderColor:b||"#3c1a5b",borderStyle:l,borderWidth:f+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return E.push({".blockspare-block-button span":{fontSize:y+_,fontFamily:w,fontWeight:k},tablet:{".blockspare-block-button span":{fontSize:S+_}},mobile:{".blockspare-block-button span":{fontSize:x+_}}}),wr.a.all(E)};const fL=wp.i18n.__,bL=wp.compose.compose,gL=wp.element,hL=gL.Component,vL=gL.Fragment,yL=wp.blockEditor,wL=yL.RichText,kL=yL.AlignmentToolbar,_L=yL.BlockControls,xL=yL.URLInput,SL=wp.components,EL=SL.IconButton,TL=SL.Dashicon;var CL=bL([vr,br(mL)])(class extends hL{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.sectionAlignment,i=t.buttonSize,l=t.buttonShape,s=t.buttonHoverEffect,c=t.buttonLoadGoogleFonts,u=t.buttonFontFamily,p=t.buttonFontWeight,d=e.className,m=e.isSelected,f=(e.attributes,e.setAttributes);e.backgroundColor;let b;if(1==c){const e={google:{families:[u+(p?":"+p:"")]}};b=wp.element.createElement(Fr,{config:e})}const g=o()({"blockspare-pricing-table-button":!0}),h=o()([d,"blockspare-block-button-wrap"]);return[wp.element.createElement(vL,null,wp.element.createElement(_L,{key:"controls"},wp.element.createElement(kL,{value:r,onChange:e=>{f({sectionAlignment:e})}})),wp.element.createElement(dL,this.props),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:g||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement("a",{href:"#"},wp.element.createElement(wL,{tagName:"span",placeholder:fL("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:""+n,allowedFormats:[],className:o()("blockspare-button",l,i,s),onChange:e=>f({buttonText:e})}))),m&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+r,onSubmit:e=>e.preventDefault()},wp.element.createElement(TL,{icon:"admin-links"}),wp.element.createElement(xL,{className:"button-url",value:a,onChange:e=>f({buttonUrl:e})}),wp.element.createElement(EL,{icon:"editor-break",label:fL("Apply","blockspare"),type:"submit"})))),b)]}});const ML=wp.blockEditor,OL=ML.RichText,LL=(ML.getColorClassName,wp.i18n.__,wp.compose.compose),DL=wp.element,FL=DL.Component;DL.Fragment;var PL=LL(vr,br(mL))(class extends FL{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonSize,i=t.buttonShape,l=t.buttonTarget,s=t.buttonHoverEffect,c=(e.attributes,e.className),u=o()({"blockspare-pricing-table-button":!0}),p=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:u||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",i,r,s)},wp.element.createElement(OL.Content,{tagName:"span",value:n})))))}});const jL=wp.element.Component;class NL extends jL{constructor(e){super(...arguments)}render(){return wp.element.createElement("div",{style:{textAlign:this.props.attributes.sectionAlignment},className:o()(this.props.className,"blockspare-block-button")},this.props.children)}}function zL(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 AL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zL(Object(n),!0).forEach((function(t){YL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function YL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var BL=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=[];return l.push({".blockspare-block-button":{textAlign:n},".blockspare-button":AL({},Zr(e.attributes)),".blockspare-pricing-table-button":{paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),wr.a.all(l)};const IL=wp.blockEditor,RL=IL.RichText,HL=(IL.getColorClassName,wp.i18n.__,wp.compose.compose),WL=wp.element,UL=WL.Component;WL.Fragment;var GL=HL(vr,br(BL))(class extends UL{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonSize,i=t.buttonShape,l=t.buttonTarget,s=t.buttonHoverEffect,c=(e.attributes,e.className),u=o()({"blockspare-pricing-table-button":!0}),p=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:u||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",i,r,s)},wp.element.createElement(RL.Content,{value:n})))))}});function VL(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 qL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VL(Object(n),!0).forEach((function(t){$L(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JL=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=[];return l.push({".blockspare-block-button":{textAlign:n},".blockspare-button":qL({},Qr(e.attributes)),".blockspare-pricing-table-button":{paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),wr.a.all(l)};const XL=wp.blockEditor,KL=XL.RichText,QL=(XL.getColorClassName,wp.i18n.__,wp.compose.compose),ZL=wp.element,eD=ZL.Component;ZL.Fragment;var tD=QL(vr,br(JL))(class extends eD{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonSize,i=t.buttonShape,l=t.buttonTarget,s=t.buttonHoverEffect,c=(e.attributes,e.className),u=o()({"blockspare-pricing-table-button":!0}),p=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:u||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",i,r,s)},wp.element.createElement(KL.Content,{value:n})))))}});var nD=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.buttonStyle,s=t.enableGradient,c=t.backgroundColor1,u=t.backgroundColor2,p=t.gradientAngle,d=t.colorLocation1,m=t.colorLocation2,f=t.btnFontWeight,b=t.btnBorderWidth,g=t.borderColor,h=t.buttonBackgroundColor,v=t.borderBtnTextColor,y=t.buttonTextColor,w=[];if(w.push({".blockspare-block-button":{textAlign:n},".blockspare-pricing-table-button":{paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),"none"===l)if(1==s){const e=p+"deg",t=d+"%",n=m+"%";w.push({".blockspare-block-button span":{color:y||"#fff",fontWeight:f,borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${c||"#3B1A5B"} ${t},${u||"#8B249C"} ${n})`}})}else w.push({".blockspare-block-button span":{color:y||"#fff",fontWeight:f,borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:h||"#3c1a5b"}});else w.push({".blockspare-block-button span":{color:v||"#404040",borderColor:g||"#3c1a5b",borderStyle:l,fontWeight:f,borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return wr.a.all(w)};const aD=wp.blockEditor,rD=aD.RichText,iD=(aD.getColorClassName,wp.i18n.__,wp.compose.compose),oD=wp.element,lD=oD.Component;oD.Fragment;var sD=iD(vr,br(nD))(class extends lD{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonSize,i=t.buttonShape,l=t.buttonTarget,s=t.buttonHoverEffect,c=(e.attributes,e.className),u=o()({"blockspare-pricing-table-button":!0}),p=o()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:u||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:o()("blockspare-button",i,r,s)},wp.element.createElement(rD.Content,{tagName:"span",value:n})))))}});function cD(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 uD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cD(Object(n),!0).forEach((function(t){pD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const dD=wp.blockEditor,mD=dD.RichText,fD=dD.getColorClassName;var bD=[{attributes:uD({},ZO.attributes,{},Kr),save:function(e){const t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=t.paddingTop,i=t.paddingRight,l=t.paddingBottom,s=t.paddingLeft,c=t.buttonText,u=t.buttonUrl,p=t.buttonSize,d=t.buttonShape,m=t.buttonTarget,f=t.buttonHoverEffect,b=fD("background-color",n),g=o()({"has-background":n||a,"blockspare-pricing-table-button":!0,[b]:b}),h=uD({},su(e.attributes)),v={backgroundColor:b?void 0:a,paddingTop:r?r+"px":void 0,paddingRight:i?i+"px":void 0,paddingBottom:l?l+"px":void 0,paddingLeft:s?s+"px":void 0};return wp.element.createElement("div",{className:g||void 0,style:v},wp.element.createElement(NL,e,c&&wp.element.createElement("a",{href:u,target:m?"_blank":null,rel:m?"noopener noreferrer":null,className:o()("blockspare-button",d,p,f),style:h},wp.element.createElement(mD.Content,{value:c}))))}},{attributes:uD({},ZO.attributes,{},Kr),save:e=>wp.element.createElement(tD,e)},{attributes:uD({},ZO.attributes,{},Kr),save:e=>wp.element.createElement(GL,e)},{attributes:uD({},ZO.attributes,{},Kr),save:e=>wp.element.createElement(sD,e)}];function gD(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 hD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const vD=wp.i18n.__,yD=wp.blocks.registerBlockType,wD=wp.blockEditor,kD=(wD.RichText,wD.getColorClassName,ZO.name),_D=ZO.category,xD=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gD(Object(n),!0).forEach((function(t){hD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ZO.attributes,{},Kr);yD(kD,{title:vD("Button","blockspare"),description:vD("Add button with schema markup.","blockspare"),category:_D,icon:r.button,attributes:xD,parent:["blockspare/blockspare-pricing-inner"],keywords:[vD("pricing button","blockspare"),vD("button","blockspare"),vD("link","blockspare")],edit:CL,save:PL,deprecated:bD});n(618),n(619);var SD=n(44);const ED=wp.i18n.__,TD=wp.element,CD=TD.Component,MD=(TD.Fragment,wp.blockEditor),OD=MD.InspectorControls,LD=(MD.PanelColorSettings,wp.components),DD=LD.PanelBody,FD=LD.TextControl,PD=LD.SelectControl;class jD extends CD{render(){const e=this.props,t=e.attributes,n=e.setAttributes,a=(e.clients,ED(" Icon only","blockspare"),ED("Texts only","blockspare"),ED("Icon with Texts","blockspare"),ED(" Official","blockspare"),ED("Custom","blockspare"),[{value:"blockspare-social-icon-square",label:ED("Square","blockspare")},{value:"blockspare-social-icon-circle",label:ED("Circle","blockspare")},{value:"blockspare-social-icon-rounded",label:ED("Rounded Square","blockspare")}]),r=[{value:"blockspare-social-icon-small",label:ED("Small","blockspare")},{value:"blockspare-social-icon-medium",label:ED("Medium","blockspare")},{value:"blockspare-social-icon-large",label:ED("Large","blockspare")}];ED("Solid","blockspare"),ED("Border","blockspare"),ED("None","blockspare");return wp.element.createElement(OD,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"social-links"}),wp.element.createElement(DD,{title:ED("Social Icon Option","blockspare"),initialOpen:!1},wp.element.createElement(PD,{label:ED("Shape","blockspare"),options:a,value:t.buttonShapes,onChange:e=>this.props.setAttributes({buttonShapes:e})}),wp.element.createElement(PD,{label:ED("Size","blockspare"),options:r,value:t.buttonSizes,onChange:e=>this.props.setAttributes({buttonSizes:e})})),wp.element.createElement(DD,{title:ED("Social Settings","blockspare"),className:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(DD,{title:ED("Facebook","blockspare"),initialOpen:!1},wp.element.createElement(FD,{label:ED("Title","blockspare"),type:"text",value:t.facebookTitle,onChange:e=>this.props.setAttributes({facebookTitle:e})}),wp.element.createElement(FD,{label:ED("URL","blockspare"),type:"url",value:t.facebookUrl,onChange:e=>this.props.setAttributes({facebookUrl:e})})),wp.element.createElement(DD,{title:ED("Twitter","blockspare"),initialOpen:!1},wp.element.createElement(FD,{label:ED("Title","blockspare"),type:"text",value:t.twitterTitle,onChange:e=>this.props.setAttributes({twitterTitle:e})}),wp.element.createElement(FD,{label:ED("URL","blockspare"),type:"url",value:t.twitterUrl,onChange:e=>this.props.setAttributes({twitterUrl:e})})),wp.element.createElement(DD,{title:ED("Instagram","blockspare"),initialOpen:!1},wp.element.createElement(FD,{label:ED("Title","blockspare"),type:"text",value:t.instagramTitle,onChange:e=>this.props.setAttributes({instagramTitle:e})}),wp.element.createElement(FD,{label:ED("URL","blockspare"),type:"url",value:t.instagramUrl,onChange:e=>this.props.setAttributes({instagramUrl:e})})),wp.element.createElement(DD,{title:ED("YouTube","blockspare"),initialOpen:!1},wp.element.createElement(FD,{label:ED("Title","blockspare"),type:"text",value:t.youtubeTitle,onChange:e=>this.props.setAttributes({youtubeTitle:e})}),wp.element.createElement(FD,{label:ED("URL","blockspare"),type:"url",value:t.youtubeUrl,onChange:e=>this.props.setAttributes({youtubeUrl:e})})),wp.element.createElement(DD,{title:ED("LinkedIn","blockspare"),initialOpen:!1},wp.element.createElement(FD,{label:ED("Title","blockspare"),type:"text",value:t.linkedinTitle,onChange:e=>this.props.setAttributes({linkedinTitle:e})}),wp.element.createElement(FD,{label:ED("URL","blockspare"),type:"url",value:t.linkedinUrl,onChange:e=>this.props.setAttributes({linkedinUrl:e})})),wp.element.createElement(DD,{title:ED("Pinterest","blockspare"),initialOpen:!1},wp.element.createElement(FD,{label:ED("Title","blockspare"),type:"text",value:t.pinterestTitle,onChange:e=>this.props.setAttributes({pinterestTitle:e})}),wp.element.createElement(FD,{label:ED("URL","blockspare"),type:"url",value:t.pinterestUrl,onChange:e=>this.props.setAttributes({pinterestUrl:e})}))),wp.element.createElement(DD,{title:ED("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(DD,{title:ED("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:t.marginTop,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>n({marginTop:e}),marginEnableBottom:!0,marginBottom:t.marginBottom,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>n({marginBottom:e})})))))}}var ND=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.customfontColorOption,i=t.custombackgroundColorOption,o=t.marginTop,l=t.marginBottom,s=[];return"blockspare-default-official-color"!=a&&s.push({".blockspare-social-links a span":{color:r,backgroundColor:i}}),s.push({".blockspare-social-wrapper":{textAlign:n,marginTop:o?o+"px":"0px",marginBottom:l?l+"px":"0px"}}),wr.a.all(s)};function zD(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 AD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zD(Object(n),!0).forEach((function(t){YD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function YD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const BD=wp.element,ID=BD.Component,RD=BD.Fragment,HD=(wp.i18n.__,wp.compose.compose),WD=wp.blockEditor,UD=WD.BlockControls,GD=WD.AlignmentToolbar;var VD=HD(vr,br(ND))(class extends ID{render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.buttonShapes,i=t.buttonSizes,l=t.buttonOptions,s=t.buttonFills,c=t.facebookUrl,u=t.facebookTitle,p=t.linkedinUrl,d=t.linkedinTitle,m=t.twitterUrl,f=t.twitterTitle,b=t.instagramUrl,g=t.instagramTitle,h=t.youtubeUrl,v=t.youtubeTitle,y=t.pinterestUrl,w=t.pinterestTitle,k=t.tumblrUrl,_=t.tumblrTitle,x=t.telegramUrl,S=t.telegramTitle,E=t.redditUrl,T=t.redditTitle,C=t.flickrUrl,M=t.flickrTitle,O=t.dribbbleUrl,L=t.dribbbleTitle,D=t.vkUrl,F=t.vkTitle,P=t.yelpUrl,j=t.yelpTitle,N=t.quoraUrl,z=t.quoraTitle,A=t.meetupUrl,Y=t.meetupTitle,B=t.githubUrl,I=t.githubTitle,R=e.className,H=(e.attributes,e.setAttributes),W=o()([R,"blockspare-socaillink-block"]);return[wp.element.createElement(RD,null,wp.element.createElement(jD,AD({setAttributes:H},this.props)),wp.element.createElement(UD,null,wp.element.createElement(GD,{value:n,onChange:e=>{H({sectionAlignment:e})}})),wp.element.createElement("div",{className:W},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks","blockspare-social-wrapper")},wp.element.createElement("div",{className:"blockspare-section-head-wrap"},wp.element.createElement("ul",{className:o()("blockspare-social-links",a,r,i,l,s)},c&&wp.element.createElement("li",null,wp.element.createElement("a",{href:c,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-facebook-f"})," ",wp.element.createElement("span",{className:"screen-reader-text"},u)))),p&&wp.element.createElement("li",null,wp.element.createElement("a",{href:p,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},d)))),m&&wp.element.createElement("li",null,wp.element.createElement("a",{href:m,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},f)))),b&&wp.element.createElement("li",null,wp.element.createElement("a",{href:b,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},g)))),h&&wp.element.createElement("li",null,wp.element.createElement("a",{href:h,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},v)))),y&&wp.element.createElement("li",null,wp.element.createElement("a",{href:y,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-pinterest"}),wp.element.createElement("span",{className:"screen-reader-text"},w)))),k&&wp.element.createElement("li",null,wp.element.createElement("a",{href:k,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-tumblr"}),wp.element.createElement("span",{className:"screen-reader-text"},_)))),x&&wp.element.createElement("li",null,wp.element.createElement("a",{href:x,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-telegram"}),wp.element.createElement("span",{className:"screen-reader-text"},S)))),E&&wp.element.createElement("li",null,wp.element.createElement("a",{href:E,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-reddit"}),wp.element.createElement("span",{className:"screen-reader-text"},T)))),C&&wp.element.createElement("li",null,wp.element.createElement("a",{href:C,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-flickr"}),wp.element.createElement("span",{className:"screen-reader-text"},M)))),O&&wp.element.createElement("li",null,wp.element.createElement("a",{href:O,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-dribbble"}),wp.element.createElement("span",{className:"screen-reader-text"},L)))),D&&wp.element.createElement("li",null,wp.element.createElement("a",{href:D,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-vk"}),wp.element.createElement("span",{className:"screen-reader-text"},F)))),P&&wp.element.createElement("li",null,wp.element.createElement("a",{href:P,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-yelp"}),wp.element.createElement("span",{className:"screen-reader-text"},j)))),N&&wp.element.createElement("li",null,wp.element.createElement("a",{href:N,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-quora"}),wp.element.createElement("span",{className:"screen-reader-text"},z)))),A&&wp.element.createElement("li",null,wp.element.createElement("a",{href:A,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-meetup"}),wp.element.createElement("span",{className:"screen-reader-text"},Y)))),B&&wp.element.createElement("li",null,wp.element.createElement("a",{href:B,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-github"}),wp.element.createElement("span",{className:"screen-reader-text"},I)))))))))]}});const qD=wp.element,$D=qD.Component,JD=(qD.Fragment,wp.i18n.__,wp.blockEditor);JD.BlockAlignmentToolbar,JD.BlockControls;class XD extends $D{constructor(e){super(...arguments)}render(){let e="";return e="blockspare-default-official-color"!=this.props.attributes.iconColorOption?{color:this.props.attributes.customfontColorOption,backgroundColor:this.props.attributes.custombackgroundColorOption}:{},wp.element.createElement("ul",{className:o()("blockspare-social-links",this.props.attributes.iconColorOption,this.props.attributes.buttonShapes,this.props.attributes.buttonSizes,this.props.attributes.buttonOptions,this.props.attributes.buttonFills)},this.props.attributes.facebookUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.facebookUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.facebookTitle))),this.props.attributes.linkedinUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.linkedinUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.linkedinTitle))),this.props.attributes.twitterUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.twitterUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.twitterTitle))),this.props.attributes.instagramUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.instagramUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.instagramTitle))),this.props.attributes.youtubeUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.youtubeUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.youtubeTitle))),this.props.attributes.pinterestUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.pinterestUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-pinterest"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.pinterestTitle))),this.props.attributes.tumblrUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.tumblrUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-tumblr"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.tumblrTitle))),this.props.attributes.telegramUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.telegramUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-telegram"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.telegramTitle))),this.props.attributes.redditUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.redditUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-reddit"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.redditTitle))),this.props.attributes.flickrUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.flickrUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-flickr"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.flickrTitle))),this.props.attributes.dribbbleUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.dribbbleUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-dribbble"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.dribbbleTitle))),this.props.attributes.vkUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.vkUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-vk"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.vkTitle))),this.props.attributes.yelpUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.yelpUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-yelp"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.yelpTitle))),this.props.attributes.quoraUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.quoraUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-quora"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.quoraTitle))),this.props.attributes.meetupUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.meetupUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-meetup"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.meetupTitle))),this.props.attributes.githubUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.githubUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-github"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.githubTitle))))}}const KD=wp.element.Component,QD=wp.compose.compose;var ZD=QD(vr,br(ND))(class extends KD{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.iconColorOption),a=t.buttonShapes,r=t.buttonSizes,i=t.buttonOptions,l=t.buttonFills,s=t.facebookUrl,c=t.facebookTitle,u=t.linkedinUrl,p=t.linkedinTitle,d=t.twitterUrl,m=t.twitterTitle,f=t.instagramUrl,b=t.instagramTitle,g=t.youtubeUrl,h=t.youtubeTitle,v=t.pinterestUrl,y=t.pinterestTitle,w=t.tumblrUrl,k=t.tumblrTitle,_=t.telegramUrl,x=t.telegramTitle,S=t.redditUrl,E=t.redditTitle,T=t.flickrUrl,C=t.flickrTitle,M=t.dribbbleUrl,O=t.dribbbleTitle,L=t.vkUrl,D=t.vkTitle,F=t.yelpUrl,P=t.yelpTitle,j=t.quoraUrl,N=t.quoraTitle,z=t.meetupUrl,A=t.meetupTitle,Y=t.githubUrl,B=t.githubTitle,I=e.className,R=(e.attributes,e.setAttributes,o()([I,"blockspare-socaillink-block"]));return wp.element.createElement("div",{className:R},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-social-wrapper"},wp.element.createElement("ul",{className:o()("blockspare-social-links",n,a,r,i,l)},s&&wp.element.createElement("li",null,wp.element.createElement("a",{href:s,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-facebook-f"})," ",wp.element.createElement("span",{className:"screen-reader-text"},c)))),u&&wp.element.createElement("li",null,wp.element.createElement("a",{href:u,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},p)))),d&&wp.element.createElement("li",null,wp.element.createElement("a",{href:d,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},m)))),f&&wp.element.createElement("li",null,wp.element.createElement("a",{href:f,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},b)))),g&&wp.element.createElement("li",null,wp.element.createElement("a",{href:g,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},h)))),v&&wp.element.createElement("li",null,wp.element.createElement("a",{href:v,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-pinterest"}),wp.element.createElement("span",{className:"screen-reader-text"},y)))),w&&wp.element.createElement("li",null,wp.element.createElement("a",{href:w,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-tumblr"}),wp.element.createElement("span",{className:"screen-reader-text"},k)))),_&&wp.element.createElement("li",null,wp.element.createElement("a",{href:_,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-telegram"}),wp.element.createElement("span",{className:"screen-reader-text"},x)))),S&&wp.element.createElement("li",null,wp.element.createElement("a",{href:S,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-reddit"}),wp.element.createElement("span",{className:"screen-reader-text"},E)))),T&&wp.element.createElement("li",null,wp.element.createElement("a",{href:T,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-flickr"}),wp.element.createElement("span",{className:"screen-reader-text"},C)))),M&&wp.element.createElement("li",null,wp.element.createElement("a",{href:M,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-dribbble"}),wp.element.createElement("span",{className:"screen-reader-text"},O)))),L&&wp.element.createElement("li",null,wp.element.createElement("a",{href:L,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-vk"}),wp.element.createElement("span",{className:"screen-reader-text"},D)))),F&&wp.element.createElement("li",null,wp.element.createElement("a",{href:F,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-yelp"}),wp.element.createElement("span",{className:"screen-reader-text"},P)))),j&&wp.element.createElement("li",null,wp.element.createElement("a",{href:j,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-quora"}),wp.element.createElement("span",{className:"screen-reader-text"},N)))),z&&wp.element.createElement("li",null,wp.element.createElement("a",{href:z,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-meetup"}),wp.element.createElement("span",{className:"screen-reader-text"},A)))),Y&&wp.element.createElement("li",null,wp.element.createElement("a",{href:Y,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-github"}),wp.element.createElement("span",{className:"screen-reader-text"},B)))))))}});const eF=wp.element.Component;class tF extends eF{constructor(){super(...arguments)}render(){return wp.element.createElement("div",{style:{textAlign:this.props.attributes.sectionAlignment},className:"blockspare-blocks blockspare-social-wrapper"},wp.element.createElement(XD,this.props))}}var nF=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.customfontColorOption,i=t.custombackgroundColorOption,o=[];return"blockspare-default-official-color"!=a&&o.push({".blockspare-social-links a":{color:r,backgroundColor:i}}),o.push({".blockspare-social-wrapper":{textAlign:n}}),wr.a.all(o)};const aF=wp.element.Component,rF=wp.compose.compose;var iF=rF(vr,br(nF))(class extends aF{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.iconColorOption),a=t.buttonShapes,r=t.buttonSizes,i=t.buttonOptions,l=t.buttonFills,s=t.facebookUrl,c=t.facebookTitle,u=t.linkedinUrl,p=t.linkedinTitle,d=t.twitterUrl,m=t.twitterTitle,f=t.instagramUrl,b=t.instagramTitle,g=t.youtubeUrl,h=t.youtubeTitle,v=t.pinterestUrl,y=t.pinterestTitle,w=t.tumblrUrl,k=t.tumblrTitle,_=t.telegramUrl,x=t.telegramTitle,S=t.redditUrl,E=t.redditTitle,T=t.flickrUrl,C=t.flickrTitle,M=t.dribbbleUrl,O=t.dribbbleTitle,L=t.vkUrl,D=t.vkTitle,F=t.yelpUrl,P=t.yelpTitle,j=t.quoraUrl,N=t.quoraTitle,z=t.meetupUrl,A=t.meetupTitle,Y=t.githubUrl,B=t.githubTitle,I=e.className,R=(e.attributes,e.setAttributes,o()([I,"blockspare-socaillink-block"]));return wp.element.createElement("div",{className:R},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-social-wrapper"},wp.element.createElement("ul",{className:o()("blockspare-social-links",n,a,r,i,l)},s&&wp.element.createElement("li",null,wp.element.createElement("a",{href:s,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},c))),u&&wp.element.createElement("li",null,wp.element.createElement("a",{href:u,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},p))),d&&wp.element.createElement("li",null,wp.element.createElement("a",{href:d,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},m))),f&&wp.element.createElement("li",null,wp.element.createElement("a",{href:f,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},b))),g&&wp.element.createElement("li",null,wp.element.createElement("a",{href:g,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},h))),v&&wp.element.createElement("li",null,wp.element.createElement("a",{href:v,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-pinterest"}),wp.element.createElement("span",{className:"screen-reader-text"},y))),w&&wp.element.createElement("li",null,wp.element.createElement("a",{href:w,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-tumblr"}),wp.element.createElement("span",{className:"screen-reader-text"},k))),_&&wp.element.createElement("li",null,wp.element.createElement("a",{href:_,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-telegram"}),wp.element.createElement("span",{className:"screen-reader-text"},x))),S&&wp.element.createElement("li",null,wp.element.createElement("a",{href:S,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-reddit"}),wp.element.createElement("span",{className:"screen-reader-text"},E))),T&&wp.element.createElement("li",null,wp.element.createElement("a",{href:T,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-flickr"}),wp.element.createElement("span",{className:"screen-reader-text"},C))),M&&wp.element.createElement("li",null,wp.element.createElement("a",{href:M,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-dribbble"}),wp.element.createElement("span",{className:"screen-reader-text"},O))),L&&wp.element.createElement("li",null,wp.element.createElement("a",{href:L,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-vk"}),wp.element.createElement("span",{className:"screen-reader-text"},D))),F&&wp.element.createElement("li",null,wp.element.createElement("a",{href:F,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-yelp"}),wp.element.createElement("span",{className:"screen-reader-text"},P))),j&&wp.element.createElement("li",null,wp.element.createElement("a",{href:j,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-quora"}),wp.element.createElement("span",{className:"screen-reader-text"},N))),z&&wp.element.createElement("li",null,wp.element.createElement("a",{href:z,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-meetup"}),wp.element.createElement("span",{className:"screen-reader-text"},A))),Y&&wp.element.createElement("li",null,wp.element.createElement("a",{href:Y,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-github"}),wp.element.createElement("span",{className:"screen-reader-text"},B))))))}});function oF(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 lF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const sF=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oF(Object(n),!0).forEach((function(t){lF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},SD.attributes);var cF=[{attributes:sF,save:e=>wp.element.createElement(tF,e)},{attributes:sF,save:e=>wp.element.createElement(iF,e)}];const uF=wp.blocks.registerBlockType,pF=SD.name,dF=SD.category,mF=SD.attributes,fF=wp.i18n.__;uF(pF,{title:fF("BS Social Links","blockspare"),category:dF,icon:r.sociallinks,attributes:mF,keywords:[fF("block","blockspare"),fF("social","blockspare"),fF("links","blockspare"),fF("share","blockspare")],example:{attributes:{facebookUrl:"https://facebook.com",twitterUrl:"https://twitter.com",linkedinUrl:"https://www.linkedin.com/",instagramUrl:"https://instagram.com"}},edit:VD,save:ZD,deprecated:cF});const bF=wp.i18n.__,gF=wp.element.Component,hF=wp.blockEditor,vF=hF.InspectorControls,yF=(hF.PanelColorSettings,wp.components),wF=yF.PanelBody,kF=yF.SelectControl,_F=yF.ToggleControl,xF=yF.TextControl;class SF extends gF{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=e.setAttributes,a=(e.clients,bF(" Icon only","blockspare"),bF("Texts only","blockspare"),bF("Icon with Texts","blockspare"),bF(" Official","blockspare"),bF("Custom","blockspare"),[{value:"blockspare-social-icon-square",label:bF("Square","blockspare")},{value:"blockspare-social-icon-circle",label:bF("Circle","blockspare")},{value:"blockspare-social-icon-rounded",label:bF("Rounded Square","blockspare")}]),r=[{value:"blockspare-social-icon-small",label:bF("Small","blockspare")},{value:"blockspare-social-icon-medium",label:bF("Medium","blockspare")},{value:"blockspare-social-icon-large",label:bF("Large","blockspare")}];bF("Solid","blockspare"),bF("Border","blockspare"),bF("None","blockspare");return wp.element.createElement(vF,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"social-sharing"}),wp.element.createElement(wF,{title:bF("Social Icon Option","blockspare"),initialOpen:!1},wp.element.createElement(kF,{label:bF("Shape","blockspare"),options:a,value:t.buttonShapes,onChange:e=>this.props.setAttributes({buttonShapes:e})}),wp.element.createElement(kF,{label:bF("Size","blockspare"),options:r,value:t.buttonSizes,onChange:e=>this.props.setAttributes({buttonSizes:e})})),wp.element.createElement(wF,{title:bF("Social Sharing Settings","blockspare"),initialOpen:!1},wp.element.createElement(wF,{title:bF("Facebook","blockspare"),initialOpen:!1},wp.element.createElement(_F,{label:bF("Enable","blockspare"),checked:!!this.props.attributes.facebook,onChange:()=>this.props.setAttributes({facebook:!this.props.attributes.facebook})}),this.props.attributes.facebook&&wp.element.createElement(xF,{label:bF("Title","blockspare"),type:"text",value:t.facebookTitle,onChange:e=>this.props.setAttributes({facebookTitle:e})})),wp.element.createElement(wF,{title:bF("Twitter","blockspare"),initialOpen:!1},wp.element.createElement(_F,{label:bF("Enable","blockspare"),checked:!!this.props.attributes.twitter,onChange:()=>this.props.setAttributes({twitter:!this.props.attributes.twitter})}),this.props.attributes.twitter&&wp.element.createElement(xF,{label:bF("Title","blockspare"),type:"text",value:t.twitterTitle,onChange:e=>this.props.setAttributes({twitterTitle:e})})),wp.element.createElement(wF,{title:bF("Pinterest","blockspare"),initialOpen:!1},wp.element.createElement(_F,{label:bF("Enable","blockspare"),checked:!!this.props.attributes.pinterest,onChange:()=>this.props.setAttributes({pinterest:!this.props.attributes.pinterest})}),this.props.attributes.pinterest&&wp.element.createElement(xF,{label:bF("Title","blockspare"),type:"text",value:t.pinterestTitle,onChange:e=>this.props.setAttributes({pinterestTitle:e})})),wp.element.createElement(wF,{title:bF("LinkedIn","blockspare"),initialOpen:!1},wp.element.createElement(_F,{label:bF("Enable","blockspare"),checked:!!this.props.attributes.linkedin,onChange:()=>this.props.setAttributes({linkedin:!this.props.attributes.linkedin})}),this.props.attributes.linkedin&&wp.element.createElement(xF,{label:bF("Title","blockspare"),type:"text",value:t.linkedinTitle,onChange:e=>this.props.setAttributes({linkedinTitle:e})}))),wp.element.createElement(wF,{title:bF("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(wF,{title:bF("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:t.marginTop,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>n({marginTop:e}),marginEnableBottom:!0,marginBottom:t.marginBottom,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>n({marginBottom:e})})))))}}var EF=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.customfontColorOption,i=t.custombackgroundColorOption,o=t.marginTop,l=t.marginBottom,s=[];return"blockspare-default-official-color"!=a&&s.push({".blockspare-social-sharing a span":{color:r,backgroundColor:i}}),s.push({".blockspare-social-wrapper":{textAlign:n,marginTop:o?o+"px":"0px",marginBottom:l?l+"px":"0px"}}),wr.a.all(s)};wp.i18n.__;const TF=wp.element.Component,CF=wp.compose.compose,MF=wp.blockEditor,OF=MF.AlignmentToolbar,LF=MF.BlockControls;var DF=CF(vr,br(EF))(class extends TF{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.buttonShapes,i=t.buttonSizes,l=t.buttonOptions,s=t.buttonFills,c=t.facebook,u=t.facebookTitle,p=t.twitter,d=t.twitterTitle,m=t.pinterest,f=t.pinterestTitle,b=t.linkedin,g=t.linkedinTitle,h=t.reddit,v=t.redditTitle,y=t.email,w=t.emailTitle,k=e.className,_=(e.attributes,o()([k]));return[wp.element.createElement(LF,{key:"controls"},wp.element.createElement(OF,{value:n,onChange:e=>this.props.setAttributes({sectionAlignment:e})})),wp.element.createElement(SF,this.props),wp.element.createElement("div",{className:_},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-social-wrapper"},wp.element.createElement("ul",{className:o()("blockspare-social-sharing",a,r,i,l,s)},c&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-facebook"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"blockspare-social-text"},u)))),p&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-twitter"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"blockspare-social-text"},d)))),m&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-pinterest"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-pinterest-p"}),wp.element.createElement("span",{className:"blockspare-social-text"},f)))),b&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-linkedin"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"blockspare-social-text"},g)))),h&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-reddit"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-reddit-alien"}),wp.element.createElement("span",{className:"blockspare-social-text"},v)))),y&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-email"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fas fa-envelope"}),wp.element.createElement("span",{className:"blockspare-social-text"},w)))))))]}});n(620),n(621);const FF=wp.i18n.__;(0,wp.blocks.registerBlockType)("blockspare/blockspare-social-sharing",{title:FF("BS Social Sharing","blockspare"),description:FF("Add sharing buttons to your posts and pages.","blockspare"),icon:r.socialShare,category:"blockspare",keywords:[FF("block","blockspare"),FF("social","blockspare"),FF("links","blockspare"),FF("share","blockspare")],example:{attributes:{facebook:!0,twitter:!0,linkedin:!0}},edit:e=>wp.element.createElement(DF,e),save:()=>null});n(622),n(623);var PF=n(122);var jF=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.headerpaddingTop,m=t.headerpaddingRight,f=t.headerpaddingBottom,b=t.headerpaddingLeft,g=t.headermarginTop,h=t.headermarginBottom,v=(t.titleLoadGoogleFonts,t.titleFontFamily),y=t.titleFontWeight,w=(t.titleFontSubset,t.titleFontSizeType),k=t.titleFontSizeMobile,_=t.titleFontSizeTablet,x=t.subTitleFontSize,S=(t.subTitleLoadGoogleFonts,t.subTitleFontFamily),E=t.subTitleFontWeight,T=(t.subTitleFontSubset,t.subTitleFontSizeType),C=t.subTitleFontSizeMobile,M=t.subTitleFontSizeTablet,O=[];return O.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:d+"px",paddingRight:m+"px",paddingBottom:f+"px",marginTop:g+"px",marginBottom:h+"px",paddingLeft:b+"px"}}),O.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+w,fontFamily:v,fontWeight:y,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:x+T,fontFamily:S,fontWeight:E,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:_+w},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:M+T}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:k+w},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:C+T}}}),wr.a.all(O)};const NF=wp.i18n.__,zF=wp.element.Component,AF=wp.blockEditor.InspectorControls,YF=wp.components,BF=YF.PanelBody;YF.SelectControl;class IF extends zF{render(){const e=this.props,t=e.attributes,n=t.titleFontSize,a=t.headerboxColor,r=t.headertitleColor,i=t.headersubtitleColor,o=t.headerpaddingTop,l=t.headerpaddingRight,s=t.headerpaddingBottom,c=t.headerpaddingLeft,u=t.headermarginTop,p=t.headermarginBottom,d=t.headerlayoutOption,m=t.headerTagOption,f=t.titlePaddingTop,b=t.titlePaddingBottom,g=t.subtitlePaddingTop,h=t.subtitlePaddingBottom,v=t.dashColor,y=t.titleLoadGoogleFonts,w=t.titleFontFamily,k=t.titleFontWeight,_=t.titleFontSubset,S=t.titleFontSizeType,E=t.titleFontSizeMobile,T=t.titleFontSizeTablet,C=t.subTitleFontSize,M=t.subTitleLoadGoogleFonts,O=t.subTitleFontFamily,L=t.subTitleFontWeight,D=t.subTitleFontSubset,F=t.subTitleFontSizeType,P=t.subTitleFontSizeMobile,j=t.subTitleFontSizeTablet,N=e.attributes,z=e.setAttributes;NF("Layout 1","blockspare"),NF("Layout 2","blockspare"),NF("Layout 3","blockspare");return wp.element.createElement(AF,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"section-header"}),wp.element.createElement(ac,{headerlayoutOption:d,onChangeHeaderLayput:e=>z({headerlayoutOption:e})}),wp.element.createElement(BF,{title:NF("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:NF("Title Fonts Settings"),attributes:N,setAttributes:z,loadGoogleFonts:{value:y,label:NF("titleLoadGoogleFonts")},fontFamily:{value:w,label:NF("titleFontFamily")},fontWeight:{value:k,label:NF("titleFontWeight")},fontSubset:{value:_,label:NF("titleFontSubset")},fontSizeType:{value:S,label:NF("titleFontSizeType")},fontSize:{value:n,label:NF("titleFontSize")},fontSizeMobile:{value:E,label:NF("titleFontSizeMobile")},fontSizeTablet:{value:T,label:NF("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:m}),wp.element.createElement(Ns,{label:NF("Subtitle Fonts Settings"),attributes:N,setAttributes:z,loadGoogleFonts:{value:M,label:NF("subTitleLoadGoogleFonts")},fontFamily:{value:O,label:NF("subTitleFontFamily")},fontWeight:{value:L,label:NF("subTitleFontWeight")},fontSubset:{value:D,label:NF("subTitleFontSubset")},fontSizeType:{value:F,label:NF("subTitleFontSizeType")},fontSize:{value:C,label:NF("subTitleFontSize")},fontSizeMobile:{value:P,label:NF("subTitleFontSizeMobile")},fontSizeTablet:{value:j,label:NF("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),wp.element.createElement(ji,{enableBlockGaps:!0,headerboxColor:a,onChangeboxcolor:e=>z({headerboxColor:e}),dashColor:v,headerlayoutOption:d,onChangeDashColor:e=>z({dashColor:e}),headerpaddingTop:o,onChangeheaderpaddingTop:e=>z({headerpaddingTop:e}),headerpaddingRight:l,onChangeheaderpaddingRight:e=>z({headerpaddingRight:e}),headerpaddingBottom:s,onChangeheaderpaddingBottom:e=>z({headerpaddingBottom:e}),headerpaddingLeft:c,onChangeheaderpaddingLeft:e=>z({headerpaddingLeft:e}),headermarginTop:u,onChangeheadermarginTop:e=>z({headermarginTop:e}),headermarginBottom:p,onChangeheadermarginBottom:e=>z({headermarginBottom:e}),headertitleColor:r,onChangetitlecolor:e=>z({headertitleColor:e}),headerTagOption:m,onChangeHeaderTag:e=>z({headerTagOption:e}),titlePaddingTop:f,onChangetitlePaddingTop:e=>z({titlePaddingTop:e}),titlePaddingBottom:b,onChangetitlePaddingBottom:e=>z({titlePaddingBottom:e}),headersubtitleColor:i,onChangesubtitlecolor:e=>z({headersubtitleColor:e}),subtitlePaddingTop:g,onChangesubtitlePaddingTop:e=>z({subtitlePaddingTop:e}),subtitlePaddingBottom:h,onChangesubtitlePaddingBottom:e=>z({subtitlePaddingBottom:e})})))}}function RF(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 HF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?RF(Object(n),!0).forEach((function(t){WF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function WF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const UF=wp.element,GF=UF.Component,VF=UF.Fragment,qF=(wp.i18n.__,wp.blockEditor),$F=qF.BlockControls,JF=(qF.RichText,qF.BlockAlignmentToolbar,qF.AlignmentToolbar),XF=wp.components,KF=(XF.IconButton,XF.Dashicon,wp.compose.compose);var QF=KF(vr,br(jF))(class extends GF{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTitle,i=t.headerTagOption,l=t.headerSubTitle,s=t.headerlayoutOption,c=t.titleLoadGoogleFonts,u=t.titleFontFamily,p=t.titleFontWeight,d=t.subTitleLoadGoogleFonts,m=t.subTitleFontFamily,f=t.subTitleFontWeight,b=e.className,g=(e.attributes,e.setAttributes),h=(e.isSelected,o()([b,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return[wp.element.createElement(VF,null,wp.element.createElement($F,null,wp.element.createElement(JF,{value:a,onChange:e=>{g({sectionAlignment:e})}})),wp.element.createElement(IF,HF({setAttributes:g},this.props)),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(_c,{setAttributes:g,headerTitle:r,headerTagOption:i,headerSubTitle:l,titleFontFamily:u,titleFontWeight:p,titleLoadGoogleFonts:c,subTitleLoadGoogleFonts:d,subTitleFontFamily:m,subTitleFontWeight:f}))))]}});function ZF(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 eP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__,wp.blockEditor.RichText;const tP=wp.compose.compose,nP=wp.element,aP=nP.Component;nP.Fragment;var rP=tP(vr,br(jF))(class extends aP{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTitle,i=t.headerTagOption,l=t.headerSubTitle,s=t.headerlayoutOption,c=e.className,u=e.attributes,p=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ZF(Object(n),!0).forEach((function(t){eP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}}({},mu(u)),o()([c,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(Qc,{headerTitle:r,headerTagOption:i,headerSubTitle:l})))}});function iP(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 oP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iP(Object(n),!0).forEach((function(t){lP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const sP=wp.editor,cP=sP.RichText;sP.getFontSizeClass,sP.getColorClassName;var uP=[{attributes:oP({},Ei,{},Ti),save:function(e){const t=e.attributes,n=(t.align,t.headerTitle),a=t.headerTagOption,r=t.headerSubTitle,i=oP({},iu(e.attributes)),o=oP({},ou(e.attributes)),l=oP({},lu(e.attributes));return wp.element.createElement(hu,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:i}),n&&wp.element.createElement(cP.Content,{tagName:a,className:"blockspare-title",style:o,value:n}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:i})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:i}),r&&wp.element.createElement(cP.Content,{tagName:"p",className:"blockspare-subtitle",style:l,value:r}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:i})))}}];function pP(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 dP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const mP=wp.blocks.registerBlockType,fP=wp.i18n.__,bP=PF.name,gP=PF.category,hP=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pP(Object(n),!0).forEach((function(t){dP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ei,{},Ti);mP(bP,{title:fP("Section Header","blockspare"),description:fP("Add your Your Header ","blockspare"),category:gP,icon:r.sectionHeader,attributes:hP,keywords:[fP("block","blockspare"),fP("section","blockspare"),fP("header","blockspare"),fP("title","blockspare"),fP("subtitle","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:QF,save:rP,deprecated:uP});var vP=n(85);const yP=wp.i18n.__,wP=wp.element.Component,kP=wp.blockEditor.InspectorControls,_P=wp.components,xP=(_P.Toolbar,_P.Button,_P.PanelBody),SP=(_P.PanelRow,_P.RangeControl);class EP extends wP{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.serviceItems,t.columns),a=t.columnsGap,r=t.marginTop,i=t.marginBottom,o=(e.isSelected,e.className,e.setAttributes);return wp.element.createElement(kP,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"services"}),wp.element.createElement(xP,{title:yP("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(SP,{label:yP("Number of Columns","blockspare"),value:n,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:3}),wp.element.createElement(SP,{label:yP("Column Gaps","blockspare"),value:a,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:4,step:1})),wp.element.createElement(xP,{title:yP("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:r,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>o({marginTop:e}),marginEnableBottom:!0,marginBottom:i,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>o({marginBottom:e})}))))}}n(624),n(625);var TP=n(123);const CP=wp.i18n.__,MP=wp.element.Component,OP=wp.blockEditor,LP=OP.InspectorControls,DP=(OP.BlockDescription,OP.PanelColorSettings),FP=wp.components,PP=(FP.ToggleControl,FP.PanelBody),jP=(FP.FormToggle,FP.RangeControl);class NP extends MP{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.borderWidth,a=t.borderColor,r=(t.borderRadius,t.backgroundColor),i=t.padding,o=(t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.marginTop),l=t.marginBottom,s=(e.isSelected,e.className,e.setAttributes);return wp.element.createElement(LP,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(PP,{title:CP("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(jP,{label:CP("Service Column Padding","blockspare"),value:i,onChange:e=>this.props.setAttributes({padding:e}),min:0,max:20,initialPosition:5,step:1}),wp.element.createElement(jP,{label:CP("Service Column Border","blockspare"),value:n,onChange:e=>this.props.setAttributes({borderWidth:e}),min:0,max:10,step:1})),wp.element.createElement(PP,{title:CP("Color Settings","blockspare"),initialOpen:!1},0<n&&wp.element.createElement(DP,{title:CP("Border Color","blockspare"),initialOpen:!1,colorSettings:[{value:a,onChange:e=>s({borderColor:e}),label:CP("Border Color","blockspare")}]}),wp.element.createElement(DP,{title:CP("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:r,onChange:e=>s({backgroundColor:e}),label:CP("Background Color","blockspare")}]})),wp.element.createElement(PP,{title:CP("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:o,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>s({marginTop:e}),marginEnableBottom:!0,marginBottom:l,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>s({marginBottom:e})}))))}}function zP(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 AP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zP(Object(n),!0).forEach((function(t){YP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function YP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var BP=e=>{const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,i=t.backgroundColor,o=t.padding,l=[];return l.push({".blockspare-block-service-table-inside":AP({},xc(e.attributes),{borderWidth:n?n+"px":null,borderStyle:0<n?"solid":null,borderColor:a||null,borderRadius:r||null,backgroundColor:i||null,padding:o?o+"px":"5px"})}),wr.a.all(l)};wp.i18n.__;const IP=wp.element,RP=IP.Component,HP=IP.Fragment,WP=wp.compose.compose,UP=wp.blockEditor,GP=UP.InnerBlocks,VP=(UP.AlignmentToolbar,UP.BlockControls,["blockspare/blockspare-iconset","blockspare/blockspare-services-inner-title","blockspare/blockspare-services-inner-description","blockspare/blockspare-service-inner-button"]);var qP=WP(vr,br(BP))(class extends RP{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.padding,t.alignment),a=(e.attributes,e.className);e.setAttributes;return wp.element.createElement(HP,null,wp.element.createElement(NP,this.props),wp.element.createElement("div",{className:o()(a,n?"blockspare-block-service-table-"+n:"blockspare-block-service-table-center","blockspare-block-service-table"),itemScope:!0,itemType:"http://schema.org/Product"},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-service-table-inside")},wp.element.createElement(GP,{template:[["blockspare/blockspare-iconset",{}],["blockspare/blockspare-services-inner-title",{headerTitle:"Service Title",headerSubTitle:"Add your services text",titlePaddingTop:5,titlePaddingBottom:5,subtitlePaddingTop:5,subtitlePaddingBottom:5}],["blockspare/blockspare-services-inner-description",{features:"Aspernatur morbi sit cursus mauris aspernatur! Quos tortor. Ea montes anim.",tagName:"p",ordered:!1,customFontSize:18,paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}],["blockspare/blockspare-service-inner-button",{buttonText:"Get Started",paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}]],renderAppender:!1,allowedBlocks:VP}))))}});wp.i18n.__;const $P=wp.element,JP=$P.Component,XP=($P.Fragment,wp.compose.compose),KP=wp.blockEditor.InnerBlocks;var QP=XP(vr,br(BP))(class extends JP{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.alignment),a=(t.padding,t.marginTop,t.marginBottom,e.className);e.attributes;return wp.element.createElement("div",{className:o()(a,"blockspare-blocks",n?"blockspare-block-service-table-"+n:"blockspare-block-service-table-center","blockspare-block-service-table")},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-service-table-inside")},wp.element.createElement(KP.Content,null)))}});function ZP(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 ej(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ZP(Object(n),!0).forEach((function(t){tj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZP(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nj=e=>{const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,i=t.backgroundColor,o=t.padding,l=[];return l.push({".blockspare-block-service-table-inside":ej({},xc(e.attributes),{borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:a||null,borderRadius:r||null,backgroundColor:i||null,padding:o?o+"px":"5px"})}),wr.a.all(l)};wp.i18n.__;const aj=wp.element,rj=aj.Component,ij=(aj.Fragment,wp.compose.compose),oj=wp.blockEditor.InnerBlocks;var lj=ij(vr,br(nj))(class extends rj{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.alignment),a=(t.padding,t.marginTop,t.marginBottom,e.className);e.attributes;return wp.element.createElement("div",{className:o()(a,"blockspare-blocks blockspare-service-block-wrapper",n?"blockspare-block-service-table-"+n:"blockspare-block-service-table-center","blockspare-block-service-table")},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-service-table-inside")},wp.element.createElement(oj.Content,null)))}});function sj(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 cj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const uj=wp.blockEditor.InnerBlocks;var pj=[{attributes:{borderWidth:{type:"number",default:1},borderColor:{type:"string",default:"#ececec"},borderRadius:{type:"number",default:0},backgroundColor:{type:"string",default:"#fff"},alignment:{type:"string"},padding:{type:"number",default:0}},save:function(e){const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,i=t.backgroundColor,l=t.alignment,s=t.padding,c=(t.marginTop,t.marginBottom,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sj(Object(n),!0).forEach((function(t){cj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sj(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},xc(e.attributes),{borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:a||null,borderRadius:r||null,backgroundColor:i||null,padding:s?s+"%":null}));return wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-service-block-wrapper",l?"blockspare-block-service-table-"+l:"blockspare-block-service-table-center","blockspare-block-service-table")},wp.element.createElement("div",{className:o()("blockspare-block-service-table-inside"),style:c},wp.element.createElement(uj.Content,null)))}},{attributes:{borderWidth:{type:"number",default:1},borderColor:{type:"string",default:"#ececec"},borderRadius:{type:"number",default:0},backgroundColor:{type:"string",default:"#fff"},alignment:{type:"string"},padding:{type:"number",default:0},uniqueClass:{type:"string",default:""}},save:e=>wp.element.createElement(lj,e)}];function dj(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 mj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fj=wp.i18n.__,bj=wp.blocks.registerBlockType,gj=TP.category,hj=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dj(Object(n),!0).forEach((function(t){mj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dj(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},TP.attributes,{},Ti),vj={title:fj("Service Inner Section","blockspare"),description:fj("Add a service column.","blockspare"),icon:r.services,category:gj,parent:["blockspare/blockspare-services"],keywords:[fj("service","blockspare"),fj("shop","blockspare"),fj("buy","blockspare")],attributes:hj,edit:qP,save:QP,deprecated:pj};bj("blockspare/blockspare-services-inner",vj);var yj=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=[];return r.push({".blockspare-service-block-wrapper":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0}}),wr.a.all(r)};function wj(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 kj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const _j=wp.element,xj=_j.Component,Sj=_j.Fragment,Ej=(wp.components.IconButton,wp.blocks.createBlock),Tj=wp.data,Cj=Tj.withSelect,Mj=Tj.withDispatch,Oj=wp.blockEditor,Lj=Oj.InnerBlocks,Dj=(Oj.InspectorControls,Oj.BlockControls),Fj=Oj.BlockAlignmentToolbar,Pj=wp.compose.compose;var jj=Pj([Cj((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,i=a.isBlockSelected,o=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:i(n)||o(n,!0)}}),Mj(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}}),vr,br(yj)])(class extends xj{constructor(...e){super(...e),kj(this,"getServiceTemplate",e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++)t.push(["blockspare/blockspare-services-inner",{}]);return t})}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertServiceItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=vj.heading;e=Object.assign({},{},{itemNumber:t,heading:n,active:!1,defaultText:""})}else e=vj;a(Ej("blockspare/blockspare-services-inner",e),void 0,n)}render(){const e=this.props,t=e.attributes,n=(e.isSelectedBlockInRoot,e.attributes),a=(n.uniqueId,n.columns),r=n.columnsGap,i=(n.marginTop,n.marginBottom,n.align),l=e.className,s=(e.isSelected,e.setAttributes),c=o()(["blockspare-service-columns-"+a]),u=o()([void 0===i?"":l,"blockspare-main-blockwrapper"]);return wp.element.createElement(Sj,null,wp.element.createElement(EP,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wj(Object(n),!0).forEach((function(t){kj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wj(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:s},this.props)),wp.element.createElement(Dj,{key:"controls"},wp.element.createElement(Fj,{value:i,onChange:e=>s({align:e}),controls:["center","wide","full"]})),wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-service-block-wrapper"},wp.element.createElement("div",{className:c},wp.element.createElement("div",{className:o()("blockspare-service-section-admin","blockspare-service-section-gap-"+r)},wp.element.createElement(Lj,{template:this.getServiceTemplate(t),allowedBlocks:["blockspare/blockspare-services-inner"],renderAppender:!1}))))))}});wp.i18n.__;const Nj=wp.element.Component,zj=wp.compose.compose,Aj=wp.blockEditor.InnerBlocks;var Yj=zj(vr,br(yj))(class extends Nj{render(){const e=this.props,t=e.attributes,n=t.columns,a=t.columnsGap,r=t.align,i=(t.marginTop,t.marginBottom,e.className),l=o()(["blockspare-service-table-wrap","blockspare-block-service-table-gap-"+a]),s=o()(["blockspare-service-columns-"+n]);let c="align"+r;void 0===r&&(c="alignwide");const u=o()([i,c,"blockspare-main-blockwrapper"]);return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-service-block-wrapper","blockspare-section-header-wrapper")},wp.element.createElement("div",{className:s},wp.element.createElement("div",{className:l||void 0},wp.element.createElement(Aj.Content,null)))))}});const Bj=wp.element.Component;class Ij extends Bj{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=e.columns,n=(e.columnsGap,e.align),a=o()([this.props.className,"blockspare-service-columns-"+t],{["align"+n]:n});return wp.element.createElement("div",{className:a||void 0},this.props.children)}}wp.i18n.__;const Rj=wp.blockEditor.InnerBlocks;var Hj=[{attributes:{serviceItems:{type:"number",default:2},columns:{type:"number",default:2},columnsGap:{type:"number",default:1},align:{type:"string"},defaultItems:{type:"number",default:2},sectionAlignment:{type:"string",default:"center"},marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}},save:function(e){const t=e.attributes,n=t.columnsGap,a=t.align,r=t.marginTop,i=t.marginBottom,l=o()(["blockspare-service-table-wrap","blockspare-block-service-table-gap-"+n]);return wp.element.createElement("div",{className:o()("blockspare-blocks blockspare-service-block-wrapper","blockspare-section-header-wrapper","align"+a),style:{marginTop:r?r+"px":void 0,marginBottom:i?i+"px":void 0}},wp.element.createElement(Ij,e,wp.element.createElement("div",{className:l||void 0},wp.element.createElement(Rj.Content,null))))}}];const Wj=wp.i18n.__,Uj=(wp.element.Component,wp.blocks.registerBlockType),Gj=(wp.blockEditor.InnerBlocks,vP.name),Vj=vP.category,qj=vP.attributes;Uj(Gj,{title:Wj("BS Services","blockspare"),description:Wj("Add a service section.","blockspare"),icon:r.services,category:Vj,keywords:["blockspare",Wj("block","blockspare"),Wj("services","blockspare"),Wj("box","blockspare"),Wj("portfolio","blockspare")],attributes:qj,getEditWrapperProps({align:e}){if("right"===e||"full"===e||"wide"===e)return{"data-align":e}},edit:jj,save:Yj,deprecated:Hj});var $j=n(124);const Jj=wp.i18n.__,Xj=wp.element.Component,Kj=(wp.compose.compose,wp.blockEditor.InspectorControls),Qj=wp.components,Zj=(Qj.withFallbackStyles,Qj.PanelBody);Qj.SelectControl;class eN extends Xj{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.subtitleFontSize,t.headerTagOption),a=t.headertitleColor,r=t.headersubtitleColor,i=t.headerlayoutOption,o=t.titlePaddingTop,l=t.titlePaddingBottom,s=t.subtitlePaddingTop,c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontSize,m=t.titleLoadGoogleFonts,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSubset,h=t.titleFontSizeType,v=t.titleFontSizeMobile,y=t.titleFontSizeTablet,w=t.subTitleFontSize,k=t.subTitleLoadGoogleFonts,_=t.subTitleFontFamily,x=t.subTitleFontWeight,S=t.subTitleFontSubset,E=t.subTitleFontSizeType,T=t.subTitleFontSizeMobile,C=t.subTitleFontSizeTablet,M=e.attributes,O=e.setAttributes;Jj("Layout 1","blockspare"),Jj("Layout 2","blockspare"),Jj("Layout 3","blockspare");return wp.element.createElement(Kj,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Zj,{title:Jj("Header Settings","blockspare"),initialOpen:!0},wp.element.createElement(ac,{headerlayoutOption:i,onChangeHeaderLayput:e=>O({headerlayoutOption:e})}),wp.element.createElement(Zj,{title:Jj("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:Jj("Title Fonts Settings"),attributes:M,setAttributes:O,loadGoogleFonts:{value:m,label:Jj("titleLoadGoogleFonts")},fontFamily:{value:f,label:Jj("titleFontFamily")},fontWeight:{value:b,label:Jj("titleFontWeight")},fontSubset:{value:g,label:Jj("titleFontSubset")},fontSizeType:{value:h,label:Jj("titleFontSizeType")},fontSize:{value:d,label:Jj("titleFontSize")},fontSizeMobile:{value:v,label:Jj("titleFontSizeMobile")},fontSizeTablet:{value:y,label:Jj("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:n}),wp.element.createElement(Ns,{label:Jj("Subtitle Fonts Settings"),attributes:M,setAttributes:O,loadGoogleFonts:{value:k,label:Jj("subTitleLoadGoogleFonts")},fontFamily:{value:_,label:Jj("subTitleFontFamily")},fontWeight:{value:x,label:Jj("subTitleFontWeight")},fontSubset:{value:S,label:Jj("subTitleFontSubset")},fontSizeType:{value:E,label:Jj("subTitleFontSizeType")},fontSize:{value:w,label:Jj("subTitleFontSize")},fontSizeMobile:{value:T,label:Jj("subTitleFontSizeMobile")},fontSizeTablet:{value:C,label:Jj("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),wp.element.createElement(ji,{enableBlockGaps:!1,headerboxColor:p,onChangeboxcolor:e=>O({headerboxColor:e}),dashColor:u,headerlayoutOption:i,onChangeDashColor:e=>O({dashColor:e}),headertitleColor:a,onChangetitlecolor:e=>O({headertitleColor:e}),titlePaddingTop:o,onChangetitlePaddingTop:e=>O({titlePaddingTop:e}),titlePaddingBottom:l,onChangetitlePaddingBottom:e=>O({titlePaddingBottom:e}),headersubtitleColor:r,onChangesubtitlecolor:e=>O({headersubtitleColor:e}),subtitlePaddingTop:s,onChangesubtitlePaddingTop:e=>O({subtitlePaddingTop:e}),subtitlePaddingBottom:c,onChangesubtitlePaddingBottom:e=>O({subtitlePaddingBottom:e})}))))}}var tN=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,v=(t.subTitleLoadGoogleFonts,t.subTitleFontFamily),y=t.subTitleFontWeight,w=(t.subTitleFontSubset,t.subTitleFontSizeType),k=t.subTitleFontSizeMobile,_=t.subTitleFontSizeTablet,x=t.headerpaddingTop,S=(t.headerpaddingRight,t.headerpaddingBottom),E=(t.headerpaddingLeft,t.headermarginTop,t.headermarginBottom,[]);return E.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:x+"px",paddingBottom:S+"px"}}),E.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+w,fontFamily:v,fontWeight:y,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+w}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:k+w}}}),wr.a.all(E)};wp.i18n.__;const nN=wp.compose.compose,aN=wp.element,rN=aN.Component,iN=aN.Fragment,oN=wp.blockEditor,lN=(oN.RichText,oN.withFontSizes,oN.withColors,oN.AlignmentToolbar),sN=oN.BlockControls;var cN=nN(vr,br(tN))(class extends rN{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTagOption,i=t.headerTitle,l=t.headerSubTitle,s=t.headerlayoutOption,c=t.titleLoadGoogleFonts,u=t.titleFontFamily,p=t.titleFontWeight,d=t.subTitleLoadGoogleFonts,m=t.subTitleFontFamily,f=t.subTitleFontWeight,b=e.className,g=(e.attributes,e.setAttributes),h=o()([b,"blockspare-section-header-wrapper blockspare-blocks","align"+n]);return[wp.element.createElement(iN,null,wp.element.createElement(eN,this.props),wp.element.createElement(sN,null,wp.element.createElement(lN,{value:a,onChange:e=>{g({sectionAlignment:e})}})),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(_c,{setAttributes:g,headerTitle:i,headerTagOption:r,headerSubTitle:l,titleFontFamily:u,titleFontWeight:p,titleLoadGoogleFonts:c,subTitleLoadGoogleFonts:d,subTitleFontFamily:m,subTitleFontWeight:f}))))]}});wp.i18n.__,wp.blockEditor.RichText;const uN=wp.compose.compose,pN=wp.element,dN=pN.Component;pN.Fragment;var mN=uN(vr,br(tN))(class extends dN{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTitle,i=t.headerTagOption,l=t.headerSubTitle,s=t.headerlayoutOption,c=e.className,u=(e.attributes,e.setAttributes,e.isSelected,o()([c,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(Qc,{headerTitle:r,headerTagOption:i,headerSubTitle:l})))}});function fN(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 bN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gN=wp.element.Component;class hN extends gN{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerlayoutOption,i=e.attributes,l=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fN(Object(n),!0).forEach((function(t){bN(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fN(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},mu(i)));return wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+n),style:l},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",r,"blockspare-"+a)},this.props.children))}}function vN(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 yN(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vN(Object(n),!0).forEach((function(t){wN(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vN(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const kN=wp.editor,_N=kN.RichText;kN.getFontSizeClass,kN.getColorClassName;var xN=[{attributes:yN({},Ei),save:function(e){const t=e.attributes,n=t.headerTagOption,a=t.headerTitle,r=t.headerSubTitle,i=yN({},iu(e.attributes)),o=yN({},ou(e.attributes)),l=yN({},lu(e.attributes));return wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement(hN,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:i}),a&&wp.element.createElement(_N.Content,{tagName:n,className:"blockspare-title",style:o,value:a}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:i})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:i}),r&&wp.element.createElement(_N.Content,{tagName:"p",className:"blockspare-subtitle",style:l,value:r}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:i}))))}}];function SN(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 EN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const TN=wp.i18n.__,CN=wp.blocks.registerBlockType,MN=$j.name,ON=$j.category,LN=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?SN(Object(n),!0).forEach((function(t){EN(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SN(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ei);CN(MN,{title:TN("Service Title","blockspare"),description:TN("Adds a product title component with schema markup.","blockspare"),icon:r.sectionHeader,category:ON,parent:["blockspare/blockspare-services-inner"],keywords:[TN("Service","blockspare"),TN("title","blockspare")],attributes:LN,edit:cN,save:mN,deprecated:xN});var DN=n(86);const FN=wp.i18n.__,PN=wp.element.Component,jN=(wp.compose.compose,wp.blockEditor),NN=jN.InspectorControls,zN=(jN.FontSizePicker,jN.PanelColorSettings),AN=(jN.ColorPalette,wp.components),YN=(AN.withFallbackStyles,AN.PanelBody);AN.PanelRow,AN.SelectControl,AN.BaseControl,AN.RangeControl;class BN extends PN{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.borderStyle,t.borderColor,t.borderWidth,t.backgroundColor,t.paddingTop),a=t.paddingRight,r=t.paddingBottom,i=t.paddingLeft,o=t.descriptionFontSize,l=t.descriptionFontFamily,s=t.descriptionFontWeight,c=t.descriptionFontSubset,u=t.descriptionFontSizeType,p=t.descriptionFontSizeMobile,d=t.descriptionFontSizeTablet,m=t.descriptionLoadGoogleFonts,f=e.attributes,b=e.setAttributes,g=e.textColor;FN("None"),FN("Solid"),FN("Dotted"),FN("Dashed");return wp.element.createElement(NN,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(YN,{title:FN("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:FN("Description Fonts Settings"),attributes:f,setAttributes:b,loadGoogleFonts:{value:m,label:FN("descriptionLoadGoogleFonts")},fontFamily:{value:l,label:FN("descriptionFontFamily")},fontWeight:{value:s,label:FN("descriptionFontWeight")},fontSubset:{value:c,label:FN("descriptionFontSubset")},fontSizeType:{value:u,label:FN("descriptionFontSizeType")},fontSize:{value:o,label:FN("descriptionFontSize")},fontSizeMobile:{value:p,label:FN("descriptionFontSizeMobile")},fontSizeTablet:{value:d,label:FN("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(zN,{title:FN("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:g,onChange:e=>b({textColor:e}),label:FN("Text Color","blockspare")}]}),wp.element.createElement(YN,{title:FN("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Pe,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>b({paddingTop:e}),paddingEnableRight:!0,paddingRight:a,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>b({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:r,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>b({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:i,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>b({paddingLeft:e})}))))}}var IN=e=>{const t=e.attributes,n=t.sectionAlignment,a=(t.customFontSize,t.backgroundColor),r=t.textColor,i=t.paddingTop,o=t.paddingRight,l=t.paddingBottom,s=t.paddingLeft,c=t.descriptionFontSize,u=t.descriptionFontFamily,p=t.descriptionFontWeight,d=(t.descriptionFontSubset,t.descriptionFontSizeType),m=t.descriptionFontSizeMobile,f=t.descriptionFontSizeTablet,b=(t.descriptionLoadGoogleFonts,[]);return b.push({".blockspare-services-inner-description":{fontSize:c+d,fontFamily:u,fontWeight:p,color:r||"#6d6d6d",backgroundColor:a,paddingTop:i?i+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:l?l+"px":void 0,paddingLeft:s?s+"px":void 0},tablet:{".blockspare-services-inner-description":{fontSize:f+d}},mobile:{".blockspare-services-inner-description":{fontSize:m+d}}}),n&&b.push({".blockspare-services-inner-description":{textAlign:n}}),wr.a.all(b)};const RN=wp.i18n.__,HN=wp.compose.compose,WN=wp.element,UN=WN.Component,GN=WN.Fragment,VN=wp.blockEditor,qN=VN.RichText,$N=VN.AlignmentToolbar,JN=VN.BlockControls;var XN=HN([vr,br(IN)])(class extends UN{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.features,a=t.descriptionLoadGoogleFonts,r=t.descriptionFontFamily,i=t.descriptionFontWeight,l=t.sectionAlignment,s=(e.isSelected,e.className),c=e.setAttributes;let u;if(1==a){const e={google:{families:[r+(i?":"+i:"")]}};u=wp.element.createElement(Fr,{config:e})}const p=o()([s,"blockspare-services-description"]);return[wp.element.createElement(GN,null,wp.element.createElement(BN,this.props),wp.element.createElement(JN,null,wp.element.createElement($N,{value:l,onChange:e=>{c({sectionAlignment:e})}})),wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement(qN,{tagName:"p",itemProp:"description",placeholder:RN("Add a service feature","blockspare"),keepPlaceholderOnFocus:!0,value:n,onChange:e=>c({features:e}),className:"blockspare-services-inner-description"})),u)]}});wp.i18n.__;const KN=wp.compose.compose,QN=wp.element,ZN=QN.Component,ez=(QN.Fragment,wp.blockEditor),tz=ez.RichText;ez.withFontSizes,ez.withColors;var nz=KN([vr,br(IN)])(class extends ZN{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes.features,n=e.className,a=o()([n,"blockspare-services-description"]);return wp.element.createElement("div",{className:a},this.props.styles,wp.element.createElement(tz.Content,{tagName:"p",itemProp:"description",value:t,className:"blockspare-services-inner-description"}))}}),az=n(125);var rz=e=>{const t=e.attributes,n=(t.customFontSize,t.backgroundColor),a=t.textColor,r=t.paddingTop,i=t.paddingRight,o=t.paddingBottom,l=t.paddingLeft,s=t.descriptionFontSize,c=t.descriptionFontFamily,u=t.descriptionFontWeight,p=(t.descriptionFontSubset,t.descriptionFontSizeType),d=t.descriptionFontSizeMobile,m=t.descriptionFontSizeTablet,f=(t.descriptionLoadGoogleFonts,[]);return f.push({".blockspare-services-inner-description":{fontSize:s+p,fontFamily:c,fontWeight:u,color:a||"#6d6d6d",backgroundColor:n,paddingTop:r?r+"px":void 0,paddingRight:i?i+"px":void 0,paddingBottom:o?o+"px":void 0,paddingLeft:l?l+"px":void 0},tablet:{".blockspare-services-inner-description":{fontSize:m+p}},mobile:{".blockspare-services-inner-description":{fontSize:d+p}}}),wr.a.all(f)};wp.i18n.__;const iz=wp.compose.compose,oz=wp.element,lz=oz.Component,sz=(oz.Fragment,wp.blockEditor),cz=sz.RichText;sz.withFontSizes,sz.withColors;var uz=iz([vr,br(rz)])(class extends lz{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes.features,n=e.className,a=o()([n,"blockspare-services-description"]);return wp.element.createElement("div",{className:a},this.props.styles,wp.element.createElement(cz.Content,{tagName:"p",itemProp:"description",value:t,className:"blockspare-services-inner-description"}))}});function pz(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 dz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const mz=wp.blockEditor,fz=mz.RichText,bz=mz.getFontSizeClass,gz=mz.getColorClassName;var hz=[{attributes:az.attributes,save:function(e){const t=e.attributes,n=t.features,a=t.fontSize,r=t.customFontSize,i=t.backgroundColor,l=t.textColor,s=t.customBackgroundColor,c=(t.customTextColor,t.paddingTop),u=t.paddingRight,p=t.paddingBottom,d=t.paddingLeft,m=bz(a),f=gz("background-color",i),b=o()({"has-background":i||s,"blockspare-service-table-features":!0,[m]:m,[f]:f}),g={fontSize:m?void 0:r,backgroundColor:f?void 0:s,color:l||"#6d6d6d",paddingTop:c?c+"px":void 0,paddingRight:u?u+"px":void 0,paddingBottom:p?p+"px":void 0,paddingLeft:d?d+"px":void 0};return wp.element.createElement(fz.Content,{tagName:"p",itemProp:"description",value:n,className:b||void 0,style:g})}},{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pz(Object(n),!0).forEach((function(t){dz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},az.attributes),save:e=>wp.element.createElement(uz,e)}];const vz=wp.i18n.__,yz=wp.blocks.registerBlockType,wz=wp.blockEditor,kz=(wz.RichText,wz.getFontSizeClass,wz.getColorClassName,DN.name),_z=DN.category,xz=DN.attributes;yz(kz,{title:vz("Service Features","blockspare"),description:vz("Adds a feature component with schema markup.","blockspare"),icon:r.iconlist,category:_z,parent:["blockspare/blockspare-services-inner"],keywords:[vz("Service table","blockspare"),vz("features","blockspare"),vz("shop","blockspare")],attributes:xz,edit:XN,save:nz,deprecated:hz});var Sz=n(15);const Ez=wp.i18n.__,Tz=wp.element.Component,Cz=wp.compose.compose,Mz=wp.blockEditor,Oz=Mz.InspectorControls,Lz=Mz.withFontSizes,Dz=Mz.withColors,Fz=Mz.PanelColorSettings,Pz=wp.components,jz=Pz.withFallbackStyles,Nz=Pz.PanelBody,zz=Pz.ToggleControl,Az=jz((e,t)=>{const n=t.attributes.backgroundColor,a=e.querySelector('[contenteditable="true"]'),r=a?getComputedStyle(a):null;return{fallbackBackgroundColor:n||!r?void 0:r.backgroundColor}});var Yz=Cz([Az,Lz("fontSize"),Dz("backgroundColor")])(class extends Tz{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonStyle,a=t.borderColor,r=t.borderBtnTextColor,i=t.buttonBackgroundColor,o=t.buttonTextColor,l=t.buttonSize,s=t.buttonShape,c=t.buttonTarget,u=t.paddingTop,p=t.paddingBottom,d=t.enableGradient,m=t.backgroundColor1,f=t.backgroundColor2,b=t.gradientAngle,g=t.colorLocation1,h=t.colorLocation2,v=t.btnFontWeight,y=t.btnBorderWidth,w=t.buttonHoverEffect,k=t.btnBackgroudColor,_=t.buttonFontSize,x=t.buttonFontFamily,S=t.buttonFontWeight,E=t.buttonFontSubset,T=t.buttonFontSizeType,C=t.buttonFontSizeMobile,M=t.buttonFontSizeTablet,O=t.buttonLoadGoogleFonts,L=e.attributes,D=e.setAttributes;e.backgroundColor,e.setBackgroundColor;return wp.element.createElement(Oz,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Nz,{title:Ez("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(Se,{enableButtonTarget:!1,buttonTarget:c,onChangeButtonTarget:e=>D({buttonTarget:!c}),enableGradient:d,onChangeGradient:e=>D({enableGradient:e}),enableButtonSize:!0,buttonSize:l,onChangeButtonSize:e=>D({buttonSize:e}),enableButtonShape:!0,buttonShape:s,onChangeButtonShape:e=>D({buttonShape:e}),buttonBackgroundColor:i,onChangeButtonColor:e=>D({buttonBackgroundColor:e}),buttonTextColor:o,onChangeButtonTextColor:e=>D({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:n,onChangeBorderStyle:e=>D({buttonStyle:e}),buttonHoverEffect:w,onchangeButtonHoverEffect:e=>D({buttonHoverEffect:e}),borderColor:a,onchangeBorderColor:e=>D({borderColor:e}),borderBtnTextColor:r,onChangeBorderBtnTextColor:e=>D({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:y,onchangebtnBorderWidth:e=>D({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:v,onchangeBtnFontWeight:e=>D({btnFontWeight:e})}),wp.element.createElement(Nz,{title:Ez("Typography Settings","blockspare")},wp.element.createElement(Wa,{label:Ez("Button Fonts Settings"),attributes:L,setAttributes:D,loadGoogleFonts:{value:O,label:Ez("buttonLoadGoogleFonts")},fontFamily:{value:x,label:Ez("buttonFontFamily")},fontWeight:{value:S,label:Ez("buttonFontWeight")},fontSubset:{value:E,label:Ez("buttonFontSubset")},fontSizeType:{value:T,label:Ez("buttonFontSizeType")},fontSize:{value:_,label:Ez("buttonFontSize")},fontSizeMobile:{value:C,label:Ez("buttonFontSizeMobile")},fontSizeTablet:{value:M,label:Ez("buttonFontSizeTablet")},disableLineHeight:!0})),"none"===n&&wp.element.createElement(zz,{label:Ez("Enable Gradient","blockspare"),checked:d,onChange:()=>this.props.setAttributes({enableGradient:!d})}),d&&"none"===n&&wp.element.createElement(Nz,{title:Ez("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Oe,{backgroundColor1:m,onChangeBackgroundColor1:e=>D({backgroundColor1:e}),backgroundColor2:f,onChangeBackgroundColor2:e=>D({backgroundColor2:e}),gradientAngle:b,onChangeGradientAngle:e=>D({gradientAngle:e}),colorLocation1:g,onChangeColorLocation1:e=>D({colorLocation1:e}),colorLocation2:h,onChangeColorLocation2:e=>D({colorLocation2:e})}))),wp.element.createElement(Fz,{title:Ez("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:k,onChange:e=>D({btnBackgroudColor:e}),label:Ez("Background Color","blockspare")}]}),wp.element.createElement(Nz,{title:Ez("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Pe,{paddingEnableTop:!0,paddingTop:u,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>D({paddingTop:e}),paddingEnableBottom:!0,paddingBottom:p,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>D({paddingBottom:e})}))))}});var Bz=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.btnBackgroudColor,s=t.buttonStyle,c=t.enableGradient,u=t.backgroundColor1,p=t.backgroundColor2,d=t.gradientAngle,m=t.colorLocation1,f=t.colorLocation2,b=(t.btnFontWeight,t.btnBorderWidth),g=t.borderColor,h=t.buttonBackgroundColor,v=t.borderBtnTextColor,y=t.buttonTextColor,w=t.buttonFontSize,k=t.buttonFontFamily,_=t.buttonFontWeight,x=t.buttonFontSizeType,S=t.buttonFontSizeMobile,E=t.buttonFontSizeTablet,T=[];if(T.push({".blockspare-block-button":{textAlign:n},".blockspare-service-button":{backgroundColor:l,paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),"none"===s)if(1==c){const e=d+"deg",t=m+"%",n=f+"%";T.push({".blockspare-block-button span":{color:y||"#fff",borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${u||"#3B1A5B"} ${t},${p||"#8B249C"} ${n})`}})}else T.push({".blockspare-block-button span":{color:y||"#fff",borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:h||"#3c1a5b"}});else T.push({".blockspare-block-button span":{color:v||"#404040",borderColor:g||"#3c1a5b",borderStyle:s,borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return T.push({".blockspare-block-button span":{fontSize:w+x,fontFamily:k,fontWeight:_},tablet:{".blockspare-block-button span":{fontSize:E+x}},mobile:{".blockspare-block-button span":{fontSize:S+x}}}),wr.a.all(T)};const Iz=wp.i18n.__,Rz=wp.compose.compose,Hz=wp.element,Wz=Hz.Component,Uz=Hz.Fragment,Gz=wp.blockEditor,Vz=Gz.RichText,qz=(Gz.withFontSizes,Gz.withColors,Gz.URLInput),$z=Gz.AlignmentToolbar,Jz=Gz.BlockControls,Xz=wp.components,Kz=Xz.IconButton,Qz=Xz.Dashicon;var Zz=Rz([vr,br(Bz)])(class extends Wz{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=(t.paddingTop,t.paddingBottom,t.buttonText),r=t.buttonUrl,i=t.buttonAlignment,l=(t.buttonBackgroundColor,t.buttonTextColor,t.buttonSize),s=t.buttonShape,c=t.buttonHoverEffect,u=t.buttonLoadGoogleFonts,p=t.buttonFontFamily,d=t.buttonFontWeight,m=e.className,f=e.isSelected,b=(e.attributes,e.setAttributes);e.backgroundColor;let g;if(1==u){const e={google:{families:[p+(d?":"+d:"")]}};g=wp.element.createElement(Fr,{config:e})}const h=o()({"blockspare-service-button":!0}),v=o()([m,"blockspare-block-button-wrap"]);return[wp.element.createElement(Uz,null,wp.element.createElement(Yz,this.props),wp.element.createElement(Jz,null,wp.element.createElement($z,{value:n,onChange:e=>{b({sectionAlignment:e})}})),wp.element.createElement("div",{className:v},this.props.styles,wp.element.createElement("div",{className:h||void 0},wp.element.createElement("div",{className:o()(this.props.className,"blockspare-block-button")},wp.element.createElement(Vz,{tagName:"span",placeholder:Iz("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:`<span>${a}</span>`,allowedFormats:[],className:o()("blockspare-button",s,l,c),onChange:e=>b({buttonText:e})})),f&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+i,onSubmit:e=>e.preventDefault(),style:{textAlign:i}},wp.element.createElement(Qz,{icon:"admin-links"}),wp.element.createElement(qz,{className:"button-url",value:r,onChange:e=>b({buttonUrl:e})}),wp.element.createElement(Kz,{icon:"editor-break",label:Iz("Apply","blockspare"),type:"submit"})))),g)]}});const eA=wp.compose.compose,tA=wp.element,nA=tA.Component,aA=(tA.Fragment,wp.blockEditor),rA=aA.RichText,iA=aA.getColorClassName;var oA=eA(vr,br(Bz))(class extends nA{render(){const e=this.props,t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=(t.paddingTop,t.paddingBottom,t.buttonText),i=t.buttonUrl,l=t.sectionAlignment,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.buttonHoverEffect,d=(e.attributes,e.className),m=iA("background-color",n),f=o()({"has-background":n||a,"blockspare-service-button":!0,[m]:m}),b=o()([d,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:f||void 0},wp.element.createElement("div",{style:{textAlign:l},className:o()(d,"blockspare-block-button")},r&&wp.element.createElement("a",{href:i,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:o()("blockspare-button",c,s,p)},wp.element.createElement(rA.Content,{tagName:"span",value:r})))))}});function lA(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 sA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lA(Object(n),!0).forEach((function(t){cA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uA=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.btnBackgroudColor,s=[];return s.push({".blockspare-block-button":{textAlign:n},".blockspare-button":sA({},Zr(e.attributes)),".blockspare-service-button":{backgroundColor:l,paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),wr.a.all(s)};const pA=wp.compose.compose,dA=wp.element,mA=dA.Component,fA=(dA.Fragment,wp.blockEditor),bA=fA.RichText,gA=fA.getColorClassName;var hA=pA(vr,br(uA))(class extends mA{render(){const e=this.props,t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=(t.paddingTop,t.paddingBottom,t.buttonText),i=t.buttonUrl,l=t.sectionAlignment,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.buttonHoverEffect,d=(e.attributes,e.className),m=gA("background-color",n),f=o()({"has-background":n||a,"blockspare-service-button":!0,[m]:m}),b=o()([d,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:f||void 0},wp.element.createElement("div",{style:{textAlign:l},className:o()(d,"blockspare-block-button")},r&&wp.element.createElement("a",{href:i,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:o()("blockspare-button",c,s,p)},wp.element.createElement(bA.Content,{value:r})))))}});function vA(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 yA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vA(Object(n),!0).forEach((function(t){wA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kA=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.btnBackgroudColor,s=[];return s.push({".blockspare-block-button":{textAlign:n},".blockspare-button":yA({},Qr(e.attributes)),".blockspare-service-button":{backgroundColor:l,paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),wr.a.all(s)};const _A=wp.compose.compose,xA=wp.element,SA=xA.Component,EA=(xA.Fragment,wp.blockEditor),TA=EA.RichText,CA=EA.getColorClassName;var MA=_A(vr,br(kA))(class extends SA{render(){const e=this.props,t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=(t.paddingTop,t.paddingBottom,t.buttonText),i=t.buttonUrl,l=t.sectionAlignment,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.buttonHoverEffect,d=(e.attributes,e.className),m=CA("background-color",n),f=o()({"has-background":n||a,"blockspare-service-button":!0,[m]:m}),b=o()([d,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:f||void 0},wp.element.createElement("div",{style:{textAlign:l},className:o()(d,"blockspare-block-button")},r&&wp.element.createElement("a",{href:i,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:o()("blockspare-button",c,s,p)},wp.element.createElement(TA.Content,{value:r})))))}});var OA=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,i=t.paddingBottom,o=t.paddingLeft,l=t.btnBackgroudColor,s=t.buttonStyle,c=t.enableGradient,u=t.backgroundColor1,p=t.backgroundColor2,d=t.gradientAngle,m=t.colorLocation1,f=t.colorLocation2,b=t.btnFontWeight,g=t.btnBorderWidth,h=t.borderColor,v=t.buttonBackgroundColor,y=t.borderBtnTextColor,w=t.buttonTextColor,k=[];if(k.push({".blockspare-block-button":{textAlign:n},".blockspare-service-button":{backgroundColor:l,paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:i?i+"px":"0px",paddingLeft:o?o+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),"none"===s)if(1==c){const e=d+"deg",t=m+"%",n=f+"%";k.push({".blockspare-block-button span":{color:w||"#fff",fontWeight:b,borderWidth:g+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${u||"#3B1A5B"} ${t},${p||"#8B249C"} ${n})`}})}else k.push({".blockspare-block-button span":{color:w||"#fff",fontWeight:b,borderWidth:g+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:v||"#3c1a5b"}});else k.push({".blockspare-block-button span":{color:y||"#404040",borderColor:h||"#3c1a5b",borderStyle:s,fontWeight:b,borderWidth:g+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return wr.a.all(k)};const LA=wp.compose.compose,DA=wp.element,FA=DA.Component,PA=(DA.Fragment,wp.blockEditor),jA=PA.RichText,NA=PA.getColorClassName;var zA=LA(vr,br(OA))(class extends FA{render(){const e=this.props,t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=(t.paddingTop,t.paddingBottom,t.buttonText),i=t.buttonUrl,l=t.sectionAlignment,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.buttonHoverEffect,d=(e.attributes,e.className),m=NA("background-color",n),f=o()({"has-background":n||a,"blockspare-service-button":!0,[m]:m}),b=o()([d,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:f||void 0},wp.element.createElement("div",{style:{textAlign:l},className:o()(d,"blockspare-block-button")},r&&wp.element.createElement("a",{href:i,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:o()("blockspare-button",c,s,p)},wp.element.createElement(jA.Content,{tagName:"span",value:r})))))}});function AA(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 YA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AA(Object(n),!0).forEach((function(t){BA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function BA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const IA=wp.blockEditor,RA=IA.RichText,HA=IA.getColorClassName;var WA=[{attributes:YA({},Sz.attributes,{},Kr),edit:function(e){},save:function(e){const t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=t.paddingTop,i=t.paddingBottom,l=t.buttonText,s=t.buttonUrl,c=t.sectionAlignment,u=t.buttonSize,p=t.buttonShape,d=t.buttonTarget,m=t.buttonHoverEffect,f=(t.className,HA("background-color",n)),b=o()({"has-background":n||a,"blockspare-service-button":!0,[f]:f}),g=YA({},su(e.attributes)),h={backgroundColor:f?void 0:a,paddingTop:r?r+"px":void 0,paddingBottom:i?i+"px":void 0};return wp.element.createElement("div",{className:b||void 0,style:h},wp.element.createElement("div",{style:{textAlign:c},className:o()("blockspare-block-button")},l&&wp.element.createElement("a",{href:s,target:d?"_blank":null,rel:d?"noopener noreferrer":null,className:o()("blockspare-button",p,u,m),style:g},wp.element.createElement(RA.Content,{value:l}))))}},{attributes:YA({},Sz.attributes,{},Kr),save:e=>wp.element.createElement(MA,e)},{attributes:YA({},Sz.attributes,{},Kr),save:e=>wp.element.createElement(hA,e)},{attributes:YA({},Sz.attributes,{},Kr),save:e=>wp.element.createElement(zA,e)}];function UA(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 GA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const VA=wp.i18n.__,qA=wp.blocks.registerBlockType,$A=wp.blockEditor,JA=($A.RichText,$A.getColorClassName,Sz.name),XA=Sz.category,KA=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?UA(Object(n),!0).forEach((function(t){GA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Sz.attributes,{},Kr);qA(JA,{title:VA("Button","blockspare"),description:VA("Adds a product title component with schema markup.","blockspare"),icon:r.button,category:XA,parent:["blockspare/blockspare-services-inner"],keywords:[VA("Services","blockspare"),VA("title","blockspare"),VA("shop","blockspare")],attributes:KA,edit:Zz,save:oA,deprecated:WA});n(626);var QA=n(20);const ZA=e=>wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{fill:e.fillColor},fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 510 510",className:"empty-star-rating"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})),eY=e=>wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{fill:e.fillColor},fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"})),tY=e=>wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{fill:e.fillColor},fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25",id:"star"})),nY=wp.i18n.__,aY=wp.element.Component,rY=wp.blockEditor,iY=rY.InspectorControls,oY=(rY.PanelColorSettings,wp.components),lY=oY.PanelBody,sY=oY.RangeControl;class cY extends aY{render(){const e=this.props,t=e.attributes,n=t.starCount,a=(t.starSize,t.starColor,t.backgroundColor,e.setAttributes);return wp.element.createElement(iY,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"star-rating"}),wp.element.createElement(lY,{title:nY("Star Settings","blockspare"),initialOpen:!1},wp.element.createElement(sY,{label:nY("Number Of Stars","blockspare"),value:n,onChange:e=>a({starCount:e}),min:1,max:5,step:1}))))}}var uY=e=>{const t=e.attributes.backgroundColor,n=[];return n.push({".blockspare-block-star-ratings-wrap":{backgroundColor:t||"transparent"},".empty-star-rating":{opacity:.4}}),wr.a.all(n)};wp.i18n.__;const pY=wp.element,dY=pY.Fragment,mY=pY.Component,fY=wp.compose.compose,bY=wp.blockEditor,gY=bY.BlockControls,hY=bY.AlignmentToolbar;var vY=fY(vr,br(uY))(class extends mY{render(){const e=this.props,t=e.attributes,n=t.starAlign,a=t.starCount,r=t.starSize,i=t.starColor,l=t.selectedStars,s=(t.emptyStarColor,t.backgroundColor,e.className),c=e.highlightedStars,u=e.setAttributes,p=o()([s,"blockspare-ratings"]);return wp.element.createElement(dY,null,wp.element.createElement(gY,null,wp.element.createElement(hY,{value:n,onChange:e=>{u({starAlign:e})}})),wp.element.createElement(cY,this.props),wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-star-ratings-wrap")},wp.element.createElement("div",{className:o()("blockspare-star-inner-container","star-align-"+n),onMouseLeave:()=>this.setState({highlightedStars:0})},[...Array(a)].map((e,t)=>wp.element.createElement("div",{className:"blockspare-ratings",key:t,onMouseEnter:()=>{this.setState({highlightedStars:t+1})},onClick:()=>{u(l%1==0?{selectedStars:t+(l-1===t?.5:1)}:{selectedStars:t+(l-.5===t?1:.5)})}},t<(c||l)?c?c-1===t?l%1>0?c-l-.5!=0?wp.element.createElement(eY,{size:r,fillColor:i||"#fbd012"}):wp.element.createElement(tY,{size:r,fillColor:i||"#fbd012"}):c-l!=0?wp.element.createElement(tY,{size:r,fillColor:i||"#fbd012"}):wp.element.createElement(eY,{size:r,fillColor:i||"#fbd012"}):wp.element.createElement(tY,{size:r,fillColor:i||"#fbd012"}):l-t>=1?wp.element.createElement(tY,{size:r,fillColor:i||"#fbd012"}):wp.element.createElement(eY,{size:r,fillColor:i||"#fbd012"}):wp.element.createElement(ZA,{size:r,fillColor:i})))))))}});wp.blockEditor.RichText;const yY=wp.element.Component,wY=wp.compose.compose;var kY=wY(vr,br(uY))(class extends yY{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.starAlign,a=t.starCount,r=t.starSize,i=t.starColor,l=t.selectedStars,s=(t.emptyStarColor,t.backgroundColor,e.className),c=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"}))),u=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t,width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let p=[];for(let e=0;e<a;e++)p.push(e<l?l-e>=1?(d=r,m=i,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:m||"#fbd012",width:d,height:d,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):c(r,i):u(r,i));var d,m;const f=o()([s,"blockspare-ratings"]);return wp.element.createElement("div",{className:f},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-star-ratings-wrap"},wp.element.createElement("div",{className:o()("blockspare-star-inner-container","star-align-"+n)},p)))}});var _Y=e=>{const t=e.attributes.backgroundColor,n=[];return n.push({".blockspare-section":{backgroundColor:t||"transparent"}}),wr.a.all(n)};wp.blockEditor.RichText;const xY=wp.element.Component,SY=wp.compose.compose;var EY=SY(vr,br(_Y))(class extends xY{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.starAlign,a=t.starCount,r=t.starSize,i=t.starColor,l=t.selectedStars,s=t.emptyStarColor,c=(t.backgroundColor,e.className),u=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"}))),p=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let d=[];for(let e=0;e<a;e++)d.push(e<l?l-e>=1?(m=r,f=i,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:f||"#fbd012",width:m,height:m,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):u(r,i):p(r,s));var m,f;const b=o()([c,"blockspare-ratings"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-star-ratings-wrap"},wp.element.createElement("div",{className:o()("blockspare-star-inner-container","star-align-"+n)},d)))}});function TY(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 CY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?TY(Object(n),!0).forEach((function(t){MY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function MY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var OY=[{attributes:CY({},QA.attributes),save:function(e){const t=e.attributes,n=t.starAlign,a=t.starCount,r=t.starSize,i=t.starColor,l=t.selectedStars,s=t.emptyStarColor,c=t.backgroundColor,u=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"}))),p=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let d=[];for(let e=0;e<a;e++)d.push(e<l?l-e>=1?(m=r,f=i,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:f||"#fbd012",width:m,height:m,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):u(r,i):p(r,s));var m,f;return wp.element.createElement("div",{className:"blockspare-block-star-ratings-wrap",style:{backgroundColor:c||"transparent"}},wp.element.createElement("div",{className:o()("blockspare-star-inner-container","star-align-"+n)},d))}},{attributes:CY({},QA.attributes),save:e=>wp.element.createElement(EY,e)}];const LY=wp.i18n.__,DY=wp.blocks.registerBlockType,FY=QA.name,PY=QA.category,jY=QA.attributes;DY(FY,{title:LY("BS Star Ratings","blockspare"),description:LY("Display creative star ratings.","blockspare"),category:PY,icon:r.starrating,attributes:jY,example:{attributes:{cover:"https://blockspare.com",author:"blockspare",pages:500}},keywords:[LY("block","blockspare"),LY("star","blockspare"),LY("review","blockspare"),LY("rating","blockspare")],edit:vY,save:kY,deprecated:OY});n(627);var NY=n(45),zY=n(10),AY=n.n(zY);const YY=wp.i18n.__,BY=wp.element,IY=BY.Component,RY=(BY.Fragment,wp.blockEditor),HY=RY.InspectorControls,WY=RY.PanelColorSettings,UY=wp.components,GY=UY.PanelBody,VY=UY.SelectControl;UY.RangeControl;class qY extends IY{render(){const e=this.props,t=e.attributes,n=(t.tabStyle,t.tabLayout),a=t.tabBackGroundColor,r=t.activeTabBackgroundColor,i=t.tabTextColor,o=t.activetabTextColor,l=(t.tabAlignment,t.tabFontSize),s=t.tabFontFamily,c=t.tabFontWeight,u=t.tabFontSubset,p=t.tabFontSizeType,d=t.tabFontSizeMobile,m=t.tabFontSizeTablet,f=t.tabLoadGoogleFonts,b=e.attributes,g=e.setAttributes,h=(YY("Default","blockspare"),YY("Vertical","blockspare"),[{value:"blockspare-layout1",label:YY("Layout 1","blockspare")},{value:"blockspare-layout2",label:YY("Layout 2","blockspare")}]);YY("Left","blockspare"),YY("Right","blockspare"),YY("center","blockspare");return wp.element.createElement(HY,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"tabs"}),wp.element.createElement(GY,{title:YY("Tab Settings"),initialOpen:!1},wp.element.createElement(VY,{label:YY("Tab Layout","blockspare"),options:h,value:n,onChange:e=>this.props.setAttributes({tabLayout:e})})),wp.element.createElement(GY,{title:YY("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:YY("Tab Fonts Settings"),attributes:b,setAttributes:g,loadGoogleFonts:{value:f,label:YY("tabLoadGoogleFonts")},fontFamily:{value:s,label:YY("tabFontFamily")},fontWeight:{value:c,label:YY("tabFontWeight")},fontSubset:{value:u,label:YY("tabFontSubset")},fontSizeType:{value:p,label:YY("tabFontSizeType")},fontSize:{value:l,label:YY("tabFontSize")},fontSizeMobile:{value:d,label:YY("tabFontSizeMobile")},fontSizeTablet:{value:m,label:YY("tabFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(WY,{title:YY("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:i,onChange:e=>g({tabTextColor:e}),label:YY("Text Color","blockspare")},{value:o,onChange:e=>g({activetabTextColor:e}),label:YY("Active Text Color","blockspare")},{value:a,onChange:e=>g({tabBackGroundColor:e}),label:YY("Tab Background Color","blockspare")},{value:r,onChange:e=>g({activeTabBackgroundColor:e}),label:YY("Active Tab Background Color","blockspare")}]})))}}var $Y=e=>{const t=e.attributes,n=t.tabFontSize,a=t.tabFontFamily,r=t.tabFontWeight,i=(t.tabFontSubset,t.tabFontSizeType),o=t.tabFontSizeMobile,l=t.tabFontSizeTablet,s=[];return s.push({".blockspare-tabsitems":{fontSize:n+i,fontFamily:a,fontWeight:r},tablet:{".blockspare-tabsitems":{fontSize:l+i}},mobile:{".blockspare-tabsitems":{fontSize:o+i}}}),wr.a.all(s)};function JY(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 XY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JY(Object(n),!0).forEach((function(t){KY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function KY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const QY=wp.i18n.__,ZY=wp.components,eB=ZY.Tooltip,tB=(ZY.PanelBody,ZY.Toolbar,wp.compose.compose),nB=wp.data,aB=nB.withSelect,rB=nB.withDispatch,iB=wp.element,oB=iB.Component,lB=iB.Fragment,sB=wp.blockEditor,cB=sB.InnerBlocks,uB=sB.RichText;var pB=tB([aB((e,t)=>{const n=t.clientId;return{block:(0,e("core/block-editor").getBlock)(n)}}),rB(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,removeBlock:t.removeBlock,updateBlockAttributes:t.updateBlockAttributes}}),vr,br($Y)])(class extends oB{constructor(e){super(e),KY(this,"updateTitles",(e,t)=>{const n=this.props,a=n.attributes.tabTitles;(0,n.setAttributes)({tabTitles:a.map((n,a)=>(t===a&&(n=XY({},n,{},e)),n))})}),KY(this,"renderTabTitles",()=>{const e=this.props,t=e.attributes,n=t.tabTitles,a=t.tabBackGroundColor,r=t.activeTabBackgroundColor,i=t.tabTextColor,o=t.activetabTextColor,l=e.block,s=e.clientId;let c="#8b249c";r&&(c=r);let u="#3c1a5b";a&&(u=a);let p="#fff";o&&(p=o);let d="#fff";i&&(d=i);let m=AY()("#block-"+s);const f=this.state.showIconPicker;return n.map((e,t)=>wp.element.createElement("span",{className:"blockspare-tab-item "+(this.state.activeTab==t+1?"blockspare-active":"")},wp.element.createElement("span",{className:"blockspare-tab-title "+(e.iconName?"blockspare-has-icon-"+iconPosition:""),onClick:()=>{let e=AY()("#block-"+l.innerBlocks[t].clientId,m);AY()(".blockspare-tab-content.blockspare-active",m).removeClass("blockspare-active"),e.addClass("blockspare-active"),this.setState({activeTab:t+1,initialRender:!1,showIconPicker:!f})},role:"button",style:{backgroundColor:this.state.activeTab==t+1?c:u,color:this.state.activeTab==t+1?p:d}},wp.element.createElement(uB,{key:"editable",keepPlaceholderOnFocus:!0,placeholder:QY("Add Tab Title"),value:e.title,className:"blockspare-tabsitems",onChange:e=>this.updateTitles({title:e},t)})),wp.element.createElement(eB,{text:QY("Delete this tab")},wp.element.createElement("span",{className:"blockspare-action-tab-remove",onClick:()=>this.deleteTab(t),role:"button"},wp.element.createElement("i",{className:"fas fa-times"})))))}),KY(this,"deleteTab",e=>{const t=this.state.activeTab,n=this.props,a=n.attributes,r=a.tabTitles,i=a.tabs,o=n.setAttributes,l=n.block,s=n.removeBlock,c=n.updateBlockAttributes,u=n.clientId;o({tabTitles:r.filter((t,n)=>n!=e),tabs:i-1});let p=e+1;for(;p<i;)c(l.innerBlocks[p].clientId,Object.assign(l.innerBlocks[p].attributes,{id:l.innerBlocks[p].attributes.id-1})),p++;if(s(l.innerBlocks[e].clientId),e+1===t){let t=AY()("#block-"+u),n=AY()("#block-"+l.innerBlocks[e+1<i?e+1:i>=2?e-1:e].clientId,t);AY()(".blockspare-active",t).removeClass("blockspare-active"),n.addClass("blockspare-active"),this.setState({activeTab:0==e?1:e+1<i?e+1:e,initialRender:!1})}e+1<t&&this.setState({activeTab:t-1,initialRender:!1})}),KY(this,"newTitles",()=>{const e=this.props.attributes,t=e.tabs,n=e.tabTitles;let a=JSON.parse(JSON.stringify(n));return a[t]={title:QY("Tab "+(t+1)),icon:{}},a}),this.state={device:"md",initialRender:!0,activeTab:1,spacer:!0,showIconPicker:!1}}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}componentDidUpdate(e,t){const n=this.props,a=n.attributes.tabs,r=n.clientId,i=n.block;if(!this.state.initialRender&&e.block.innerBlocks.length<i.innerBlocks.length){let e=AY()("#block-"+r),t=AY()("#block-"+i.innerBlocks[a-1].clientId,e);AY()(".blockspare-active",e).removeClass("blockspare-active"),t.addClass("blockspare-active")}}render(){const e=this.props,t=e.attributes,n=t.uniqueId,a=t.tabs,r=(t.tabTitles,t.tabStyle),i=t.tabLayout,l=t.tabAlignment,s=t.tabFontFamily,c=t.tabFontWeight,u=t.tabLoadGoogleFonts,p=e.className;let d;if(1==u){const e={google:{families:[s+(c?":"+c:"")]}};d=wp.element.createElement(Fr,{config:e})}const m=this.props,f=(m.name,m.setAttributes);m.isSelected;let b=[],g=0;for(;g<a;)b.push(g),g++;const h=o()([p,"blockspare-tabs"]);return wp.element.createElement(lB,null,wp.element.createElement(qY,XY({setAttributes:f},this.props)),wp.element.createElement("div",{className:"blockspare-block-"+n},wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-tab blockspare-tab-style",r,i)},wp.element.createElement("div",{className:o()("blockspare-tab-nav","blockspare-horizontal"==r?l:"")},this.renderTabTitles(),wp.element.createElement(eB,{text:QY("Add new tab")},wp.element.createElement("strong",{className:"blockspare-add-new-tab",onClick:()=>{this.setState({activeTab:a+1,initialRender:!1}),f({tabs:a+1,tabTitles:this.newTitles()})},role:"button",areaLabel:QY("Add new tab")},wp.element.createElement("i",{className:"fas fa-plus-circle"})))),wp.element.createElement("div",{className:"blockspare-tab-body"},wp.element.createElement(cB,{tagName:"div",template:b.map(e=>["blockspare/blockspare-tab",{id:e+1,customClassName:0==e?"blockspare-tab-content blockspare-active wp-block-blockspare-blockspare-tab":"blockspare-tab-content wp-block-blockspare-blockspare-tab"}]),templateLock:"all",allowedBlocks:["blockspare/blockspare-tab"]}))))),d)}});const dB=wp.element.Component,mB=wp.blockEditor.InnerBlocks,fB=wp.compose.compose;var bB=fB(vr,br($Y))(class extends dB{constructor(...e){var t,n,a;super(...e),a=()=>{const e=this.props.attributes,t=e.tabTitles,n=e.tabBackGroundColor,a=e.activeTabBackgroundColor,r=e.tabTextColor,i=e.activetabTextColor,o=e.iconPosition;e.tabAlignment;let l="#8b249c";a&&(l=a);let s="#3c1a5b";n&&(s=n);let c="#fff";i&&(c=i);let u="#fff";return r&&(u=r),t.map((e,t)=>wp.element.createElement("span",{className:"blockspare-tab-item "+(0==t?"blockspare-active":"")},wp.element.createElement("span",{class:"blockspare-tab-title blockspare-tabsitems "+(e.iconName?"blockspare-has-icon-"+o:""),role:"button",style:{backgroundColor:0==t?l:s,color:0==t?c:u},"tab-bg":s,"atab-bg":l,"tab-text":u,"atab-text":c},e.title)))},(n="renderTabTitles")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}render(){const e=this.props,t=e.attributes,n=(t.uniqueId,t.tabs),a=t.tabStyle,r=t.tabLayout,i=t.tabAlignment,l=e.className;let s=[],c=0;for(;c<n;)s.push(c),c++;const u=o()([l,"blockspare-tabs"]);return wp.element.createElement("div",{className:"blockspare-block"},wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-tab",a,r)},wp.element.createElement("div",{className:o()("blockspare-tab-nav","blockspare-horizontal"==a?i:"")},this.renderTabTitles(s)),wp.element.createElement("div",{className:"blockspare-tab-body"},wp.element.createElement(mB.Content,null)))))}});const gB=wp.element.Component,hB=wp.blockEditor.InnerBlocks;var vB=class extends gB{constructor(...e){var t,n,a;super(...e),a=()=>{const e=this.props.attributes,t=e.tabTitles,n=e.tabBackGroundColor,a=e.activeTabBackgroundColor,r=e.tabTextColor,i=e.activetabTextColor,o=e.iconPosition;e.tabAlignment;let l="#8b249c";a&&(l=a);let s="#3c1a5b";n&&(s=n);let c="#fff";i&&(c=i);let u="#fff";return r&&(u=r),t.map((e,t)=>wp.element.createElement("span",{className:"blockspare-tab-item "+(0==t?"blockspare-active":"")},wp.element.createElement("span",{class:"blockspare-tab-title "+(e.iconName?"blockspare-has-icon-"+o:""),role:"button",style:{backgroundColor:0==t?l:s,color:0==t?c:u},"tab-bg":s,"atab-bg":l,"tab-text":u,"atab-text":c},e.title)))},(n="renderTabTitles")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}render(){const e=this.props.attributes,t=(e.uniqueId,e.tabs),n=e.tabStyle,a=e.tabLayout,r=e.tabAlignment;let i=[],l=0;for(;l<t;)i.push(l),l++;return wp.element.createElement("div",{className:"blockspare-block"},wp.element.createElement("div",{className:o()("blockspare-block-tab",n,a)},wp.element.createElement("div",{className:o()("blockspare-tab-nav","blockspare-horizontal"==n?r:"")},this.renderTabTitles(i)),wp.element.createElement("div",{className:"blockspare-tab-body"},wp.element.createElement(hB.Content,null))))}};function yB(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 wB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kB=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yB(Object(n),!0).forEach((function(t){wB(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},NY.attributes),save:e=>wp.element.createElement(vB,e)}];const _B=wp.i18n.__,xB=wp.blocks.registerBlockType,SB=NY.name,EB=NY.category,TB=NY.attributes;xB(SB,{title:_B("BS Tabs","blockspare"),description:_B("Add tabs","blockspare"),category:EB,icon:r.tabs,attributes:TB,supports:{html:!1,className:!1,align:["center","wide","full"]},keywords:[_B("block","blockspare"),_B("tab","blockspare"),_B("tabs","blockspare"),_B("tabbed","blockspare"),_B("content","blockspare")],example:{attributes:{tabTitles:[{title:"Tab 1"},{title:"Tab 2"},{title:"Tab 3"}]},innerBlocks:[{name:"blockspare/blockspare-tab",innerBlocks:[{name:"blockspare/blockspare-tab",attributes:{tabTitles:[{title:"Tab 1"},{title:"Tab 2"},{title:"Tab 3"}]}}]}]},edit:pB,save:bB,deprecated:kB});var CB=n(126);const MB=wp.element.Component,OB=wp.blockEditor.InnerBlocks;var LB=class extends MB{render(){const e=this.props.attributes.id;return wp.element.createElement("div",{className:"blockspare-tab-content "+(1==e?"blockspare-active":"")},wp.element.createElement(OB.Content,null))}};const DB=wp.element.Component,FB=wp.blockEditor.InnerBlocks;var PB=class extends DB{render(){return wp.element.createElement("div",null,wp.element.createElement(FB,{templateLock:!1}))}};const jB=wp.i18n.__,NB=wp.blocks.registerBlockType,zB=CB.name,AB=CB.category;NB(zB,{title:jB("Tab","blockspare"),category:AB,parent:["blockspare/blockspare-tabs"],supports:{html:!1,inserter:!1,reusable:!1},icon:"cart",attributes:{uniqueId:{type:"string",default:""},id:{type:"number",default:1},customClassName:{type:"string",default:""}},getEditWrapperProps:e=>({"data-tab":e.id,className:"wp-block editor-block-list__block block-editor-block-list__block "+e.customClassName}),edit:PB,save:LB});var YB=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=[];return r.push({".blockspare-main-testimonial-wrapper":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0}}),wr.a.all(r)};const BB=wp.element.Component,IB=wp.compose.compose;var RB=IB(vr,br(YB))(class extends BB{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.columns,a=t.columnsGap,r=t.align,i=e.className,l=(e.attributes,o()(i,"align"+r)),s=o()(["blockspare-main-testimonial-wrapper","blockspare-testimonial-admin","blockspare-testimonial-columns-"+n,"blockspare-testimonial-gap-"+a]);return wp.element.createElement("div",{className:l},wp.element.createElement("div",{className:s},this.props.styles,this.props.children))}});const HB=wp.components,WB=(HB.IconButton,HB.PanelBody),UB=HB.RangeControl,GB=(HB.ToggleControl,wp.i18n.__),VB=wp.element,qB=VB.Component,$B=(VB.Fragment,wp.blockEditor.InspectorControls);class JB extends qB{render(){const e=this.props,t=(e.attributes,e.isSelectedBlockInRoot,e.attributes),n=(t.uniqueId,t.columns),a=t.columnsGap,r=t.marginTop,i=t.marginBottom,o=e.setAttributes;return wp.element.createElement($B,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"testimonial"}),wp.element.createElement(WB,{title:GB("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(UB,{label:GB("Columns","blockspare"),value:n,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:3}),wp.element.createElement(UB,{label:GB("Columns Gap","blockspare"),value:a,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:4,step:1})),wp.element.createElement(WB,{title:GB("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:r,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>o({marginTop:e}),marginEnableBottom:!0,marginBottom:i,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>o({marginBottom:e})}))))}}n(628),n(629);var XB=n(127);const KB=wp.i18n.__,QB=wp.element.Component,ZB=wp.blockEditor,eI=ZB.InspectorControls,tI=ZB.PanelColorSettings,nI=wp.components,aI=nI.PanelBody,rI=(nI.SelectControl,nI.RangeControl);class iI extends QB{render(){const e=this.props,t=e.attributes,n=(t.starColor,t.starSize,t.enableRatings,t.titleFontSize),a=(t.subtitleFontSize,t.headerTagOption),r=t.headertitleColor,i=t.headersubtitleColor,o=t.headerlayoutOption,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.subtitlePaddingTop,u=t.subtitlePaddingBottom,p=t.headerboxColor,d=t.dashColor,m=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor),f=t.backGroundColor,b=(t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.borderRadius,t.titleLoadGoogleFonts),g=t.titleFontFamily,h=t.titleFontWeight,v=t.titleFontSubset,y=t.titleFontSizeType,w=t.titleFontSizeMobile,k=t.titleFontSizeTablet,_=t.subTitleFontSize,x=t.subTitleLoadGoogleFonts,S=t.subTitleFontFamily,E=t.subTitleFontWeight,T=t.subTitleFontSubset,C=t.subTitleFontSizeType,M=t.subTitleFontSizeMobile,O=t.subTitleFontSizeTablet,L=t.descriptionFontSize,D=t.descriptionFontFamily,F=t.descriptionFontWeight,P=t.descriptionFontSubset,j=t.descriptionFontSizeType,N=t.descriptionFontSizeMobile,z=t.descriptionFontSizeTablet,A=t.descriptionLoadGoogleFonts,Y=t.padding,B=t.borderWidth,I=t.borderColor,R=e.attributes,H=e.setAttributes;KB("Layout 1","blockspare"),KB("Layout 2","blockspare"),KB("Layout 3","blockspare");return wp.element.createElement(eI,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(aI,{title:KB("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(rI,{label:KB("Testimonial Column Padding","blockspare"),value:Y,onChange:e=>this.props.setAttributes({padding:e}),min:0,max:20,step:1}),wp.element.createElement(rI,{label:KB("Testimonial Column Border","blockspare"),value:B,onChange:e=>this.props.setAttributes({borderWidth:e}),min:0,max:10,step:1})),wp.element.createElement(aI,{title:KB("Color Settings","blockspare"),initialOpen:!1},0<B&&wp.element.createElement(tI,{title:KB("Border Color","blockspare"),initialOpen:!1,colorSettings:[{value:I,onChange:e=>H({borderColor:e}),label:KB("Border Color","blockspare")}]}),wp.element.createElement(tI,{title:KB("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:f,onChange:e=>H({backGroundColor:e}),label:KB("Background Color","blockspare")}]}),wp.element.createElement(tI,{title:KB("Description Color","blockspare"),initialOpen:!1,colorSettings:[{value:m,onChange:e=>H({testimonialDescriptionTextColor:e}),label:KB("Description Color","blockspare")}]})),wp.element.createElement(aI,{title:KB("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(ac,{headerlayoutOption:o,onChangeHeaderLayput:e=>H({headerlayoutOption:e})}),wp.element.createElement(aI,{title:KB("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:KB("Title Fonts Settings"),attributes:R,setAttributes:H,loadGoogleFonts:{value:b,label:KB("titleLoadGoogleFonts")},fontFamily:{value:g,label:KB("titleFontFamily")},fontWeight:{value:h,label:KB("titleFontWeight")},fontSubset:{value:v,label:KB("titleFontSubset")},fontSizeType:{value:y,label:KB("titleFontSizeType")},fontSize:{value:n,label:KB("titleFontSize")},fontSizeMobile:{value:w,label:KB("titleFontSizeMobile")},fontSizeTablet:{value:k,label:KB("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:a}),wp.element.createElement(Ns,{label:KB("Subtitle Fonts Settings"),attributes:R,setAttributes:H,loadGoogleFonts:{value:x,label:KB("subTitleLoadGoogleFonts")},fontFamily:{value:S,label:KB("subTitleFontFamily")},fontWeight:{value:E,label:KB("subTitleFontWeight")},fontSubset:{value:T,label:KB("subTitleFontSubset")},fontSizeType:{value:C,label:KB("subTitleFontSizeType")},fontSize:{value:_,label:KB("subTitleFontSize")},fontSizeMobile:{value:M,label:KB("subTitleFontSizeMobile")},fontSizeTablet:{value:O,label:KB("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),wp.element.createElement(Ns,{label:KB("Description"),attributes:R,setAttributes:H,loadGoogleFonts:{value:A,label:KB("descriptionLoadGoogleFonts")},fontFamily:{value:D,label:KB("descriptionFontFamily")},fontWeight:{value:F,label:KB("descriptionFontWeight")},fontSubset:{value:P,label:KB("descriptionFontSubset")},fontSizeType:{value:j,label:KB("descriptionFontSizeType")},fontSize:{value:L,label:KB("descriptionFontSize")},fontSizeMobile:{value:N,label:KB("descriptionFontSizeMobile")},fontSizeTablet:{value:z,label:KB("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(ji,{enableBlockGaps:!1,headerTagOption:a,onChangeHeaderTag:e=>H({headerTagOption:e}),headerboxColor:p,onChangeboxcolor:e=>H({headerboxColor:e}),dashColor:d,headerlayoutOption:o,onChangeDashColor:e=>H({dashColor:e}),headertitleColor:r,onChangetitlecolor:e=>H({headertitleColor:e}),titlePaddingTop:l,onChangetitlePaddingTop:e=>H({titlePaddingTop:e}),titlePaddingBottom:s,onChangetitlePaddingBottom:e=>H({titlePaddingBottom:e}),headersubtitleColor:i,onChangesubtitlecolor:e=>H({headersubtitleColor:e}),subtitlePaddingTop:c,onChangesubtitlePaddingTop:e=>H({subtitlePaddingTop:e}),subtitlePaddingBottom:u,onChangesubtitlePaddingBottom:e=>H({subtitlePaddingBottom:e})}))))}}function oI(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 lI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oI(Object(n),!0).forEach((function(t){sI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cI=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,v=t.subTitleFontFamily,y=(t.subTitleFontWeight,t.subTitleFontSizeType),w=t.subTitleFontSizeMobile,k=t.subTitleFontSizeTablet,_=(t.descriptionColor,t.descriptionFontSize),x=t.descriptionFontFamily,S=t.descriptionFontWeight,E=(t.descriptionFontSubset,t.descriptionFontSizeType),T=t.descriptionFontSizeMobile,C=t.descriptionFontSizeTablet,M=(t.headerpaddingTop,t.headerpaddingRight,t.headerpaddingBottom,t.headerpaddingLeft,t.headermarginTop),O=t.headermarginBottom,L=t.testimonialDescriptionTextColor,D=(t.testimonialDescriptionTextSize,t.backGroundColor),F=t.borderRadius,P=t.borderWidth,j=t.borderColor,N=t.padding,z=[];return z.push({".blockspare-block-testimonial-wrap":lI({},xc(e.attributes),{backgroundColor:D||"#fff",borderWidth:P?P+"px":null,borderStyle:0<P?"solid":null,borderColor:j||null,borderRadius:F?F+"px":null,padding:N?N+"px":"15px"})}),z.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:i+"px",paddingBottom:o+"px",marginTop:M+"px",marginBottom:O+"px"}}),z.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m+"!important",paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+y,fontFamily:v,fontWeight:v+"!important",paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-description":{color:L,fontSize:_+E,fontFamily:x,textAlign:n,fontWeight:S+"!important"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:k+y},".blockspare-description":{fontSize:C+E}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:w+y},".blockspare-description":{fontSize:T+E}}}),wr.a.all(z)};const uI=blockspare_globals,pI=["core/image"],dI=[["core/image",{url:uI.menu_img_url,width:120,height:120,align:"center"}]],mI=wp.i18n.__,fI=wp.element,bI=fI.Component,gI=fI.Fragment,hI=wp.compose.compose,vI=wp.blockEditor,yI=vI.RichText,wI=vI.InnerBlocks,kI=vI.AlignmentToolbar,_I=vI.BlockControls;var xI=hI(vr,br(cI))(class extends bI{render(){const e=this.props,t=e.attributes,n=t.align,a=t.testimonialDescription,r=t.enableRatings,i=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor,t.backGroundColor,t.borderRadius,t.titleLoadGoogleFonts),b=t.titleFontFamily,g=t.titleFontWeight,h=t.subTitleLoadGoogleFonts,v=t.subTitleFontFamily,y=t.subTitleFontWeight,w=t.headerlayoutOption,k=t.sectionAlignment,_=t.descriptionLoadGoogleFonts,x=t.descriptionFontFamily,S=t.descriptionFontWeight,E=e.className,T=e.highlightedStars,C=(e.attributes,e.setAttributes);let M;if(1==_){const e={google:{families:[x+(S?":"+S:"")]}};M=wp.element.createElement(Fr,{config:e})}const O=o()([E,"blockspare-testimonials","textalignment-"+k]);return wp.element.createElement(gI,null,wp.element.createElement(iI,this.props),wp.element.createElement(_I,{key:"controls"},wp.element.createElement(kI,{value:k,onChange:e=>{C({sectionAlignment:e})}})),wp.element.createElement("div",{className:O},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-testimonial-wrap")},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(wI,{template:dI,allowedBlocks:pI,templateLock:!0,templateInsertUpdatesSelection:!0}))),wp.element.createElement("div",{className:"blockspare-author-designation"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+n)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",w,"blockspare-"+k)},wp.element.createElement(_c,{setAttributes:C,headerTitle:d,headerTagOption:p,headerSubTitle:m,titleFontFamily:b,titleFontWeight:g,titleLoadGoogleFonts:f,subTitleLoadGoogleFonts:h,subTitleFontFamily:v,subTitleFontWeight:y})))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container",onMouseLeave:()=>this.setState({highlightedStars:0})},[...Array(i)].map((e,t)=>wp.element.createElement("div",{className:"blockspare-ratings",key:t,onMouseEnter:()=>{this.setState({highlightedStars:t+1})},onClick:()=>{C(c%1==0?{selectedStars:t+(c-1===t?.5:1)}:{selectedStars:t+(c-.5===t?1:.5)})}},t<(T||c)?T?T-1===t?c%1>0?T-c-.5!=0?wp.element.createElement(eY,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(tY,{size:l,fillColor:s||"#fbd012"}):T-c!=0?wp.element.createElement(tY,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(eY,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(tY,{size:l,fillColor:s||"#fbd012"}):c-t>=1?wp.element.createElement(tY,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(eY,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(ZA,{size:l,fillColor:u||"#d5d3d3"})))))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement(yI,{tagName:"p",className:"blockspare-description",onChange:e=>C({testimonialDescription:e}),value:a,placeholder:mI("Description","blockspare"),keepPlaceholderOnFocus:!0})))),M)}});const SI=wp.blockEditor,EI=SI.InnerBlocks,TI=SI.RichText,CI=wp.element.Component,MI=wp.compose.compose;var OI=MI(vr,br(cI))(class extends CI{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.testimonialDescription,a=t.sectionAlignment,r=t.enableRatings,i=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.align,b=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor,t.backGroundColor,t.borderRadius,t.headerlayoutOption),g=e.className,h=(e.attributes,(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"})))),v=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let y=[];for(let e=0;e<i;e++)y.push(e<c?c-e>=1?(w=l,k=s,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:k||"#fbd012",width:w,height:w,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):h(l,s):v(l,u));var w,k;const _=o()([g,"blockspare-testimonials","textalignment-"+a]);return wp.element.createElement("div",{className:_},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-testimonial-wrap")},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(EI.Content,null))),wp.element.createElement("div",{className:"blockspare-author-designation"},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+f)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",b,"blockspare-"+a)},wp.element.createElement(Qc,{headerTitle:d,headerTagOption:p,headerSubTitle:m})))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container"},y))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement(TI.Content,{tagName:"p",className:"blockspare-description",value:n}))))}}),LI=n(128),DI=n(314);function FI(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 PI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?FI(Object(n),!0).forEach((function(t){jI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NI=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,v=t.subTitleFontFamily,y=(t.subTitleFontWeight,t.subTitleFontSizeType),w=t.subTitleFontSizeMobile,k=t.subTitleFontSizeTablet,_=(t.descriptionColor,t.descriptionFontSize),x=t.descriptionFontFamily,S=t.descriptionFontWeight,E=(t.descriptionFontSubset,t.descriptionFontSizeType),T=t.descriptionFontSizeMobile,C=t.descriptionFontSizeTablet,M=t.headerpaddingTop,O=t.headerpaddingRight,L=t.headerpaddingBottom,D=t.headerpaddingLeft,F=t.headermarginTop,P=t.headermarginBottom,j=t.testimonialDescriptionTextColor,N=(t.testimonialDescriptionTextSize,t.backGroundColor),z=t.borderRadius,A=[];return A.push({".blockspare-block-testimonial-wrap":PI({},xc(e.attributes),{backgroundColor:N||"#fff",borderRadius:z||null})}),A.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:M+"px",paddingRight:O+"px",paddingBottom:L+"px",marginTop:F+"px",marginBottom:P+"px",paddingLeft:D+"px"}}),A.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m+"!important",paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+y,fontFamily:v,fontWeight:v+"!important",paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-description":{color:j,fontSize:_+E,fontFamily:x,fontWeight:S+"!important"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:k+y},".blockspare-description":{fontSize:C+E}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:w+y},".blockspare-description":{fontSize:T+E}}}),wr.a.all(A)};const zI=wp.blockEditor,AI=zI.InnerBlocks,YI=zI.RichText,BI=wp.element.Component,II=wp.compose.compose;var RI=II(vr,br(NI))(class extends BI{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.testimonialDescription,a=t.sectionAlignment,r=t.enableRatings,i=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.align,b=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor,t.backGroundColor,t.borderRadius,t.headerlayoutOption),g=e.className,h=(e.attributes,(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"})))),v=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let y=[];for(let e=0;e<i;e++)y.push(e<c?c-e>=1?(w=l,k=s,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:k||"#fbd012",width:w,height:w,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):h(l,s):v(l,u));var w,k;const _=o()([g,"blockspare-testimonials"]);return wp.element.createElement("div",{className:_},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-testimonial-wrap")},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(AI.Content,null)),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+f)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",b,"blockspare-"+a)},wp.element.createElement(Qc,{headerTitle:d,headerTagOption:p,headerSubTitle:m})))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container"},y))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement(YI.Content,{tagName:"p",className:"blockspare-description",value:n}))))}});function HI(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 WI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?HI(Object(n),!0).forEach((function(t){UI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function UI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GI=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,i=t.titlePaddingTop,o=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,v=t.subTitleFontFamily,y=(t.subTitleFontWeight,t.subTitleFontSizeType),w=t.subTitleFontSizeMobile,k=t.subTitleFontSizeTablet,_=(t.descriptionColor,t.descriptionFontSize),x=t.descriptionFontFamily,S=t.descriptionFontWeight,E=(t.descriptionFontSubset,t.descriptionFontSizeType),T=t.descriptionFontSizeMobile,C=t.descriptionFontSizeTablet,M=t.headerpaddingTop,O=t.headerpaddingRight,L=t.headerpaddingBottom,D=t.headerpaddingLeft,F=t.headermarginTop,P=t.headermarginBottom,j=t.testimonialDescriptionTextColor,N=(t.testimonialDescriptionTextSize,t.backGroundColor),z=t.borderRadius,A=t.borderWidth,Y=t.borderColor,B=t.padding,I=[];return I.push({".blockspare-block-testimonial-wrap":WI({},xc(e.attributes),{backgroundColor:N||"#fff",borderWidth:A?A+"px":null,borderStyle:0<A?"solid":null,borderColor:Y||null,borderRadius:z||null,padding:B?B+"px":"15px"})}),I.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:M+"px",paddingRight:O+"px",paddingBottom:L+"px",marginTop:F+"px",marginBottom:P+"px",paddingLeft:D+"px"}}),I.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m+"!important",paddingTop:i+"px ",paddingBottom:o+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+y,fontFamily:v,fontWeight:v+"!important",paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-description":{color:j,fontSize:_+E,fontFamily:x,fontWeight:S+"!important"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:k+y},".blockspare-description":{fontSize:C+E}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:w+y},".blockspare-description":{fontSize:T+E}}}),wr.a.all(I)};const VI=wp.blockEditor,qI=VI.InnerBlocks,$I=VI.RichText,JI=wp.element.Component,XI=wp.compose.compose;var KI=XI(vr,br(GI))(class extends JI{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.testimonialDescription,a=t.sectionAlignment,r=t.enableRatings,i=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.align,b=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor,t.backGroundColor,t.borderRadius,t.headerlayoutOption),g=e.className,h=(e.attributes,(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"})))),v=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let y=[];for(let e=0;e<i;e++)y.push(e<c?c-e>=1?(w=l,k=s,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:k||"#fbd012",width:w,height:w,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):h(l,s):v(l,u));var w,k;const _=o()([g,"blockspare-testimonials"]);return wp.element.createElement("div",{className:_},this.props.styles,wp.element.createElement("div",{className:o()("blockspare-block-testimonial-wrap")},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(qI.Content,null)),wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+f)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",b,"blockspare-"+a)},wp.element.createElement(Qc,{headerTitle:d,headerTagOption:p,headerSubTitle:m})))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container"},y))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement($I.Content,{tagName:"p",className:"blockspare-description",value:n}))))}});function QI(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 ZI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?QI(Object(n),!0).forEach((function(t){eR(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const tR=wp.blockEditor,nR=tR.InnerBlocks,aR=tR.RichText;var rR=[{attributes:ZI({},Ei,{},LI.attributes,{},Ti),save:function(e){const t=e.attributes,n=t.testimonialDescription,a=t.sectionAlignment,r=t.enableRatings,i=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.testimonialDescriptionTextSize,b=t.testimonialDescriptionTextColor,g=t.backGroundColor,h=t.borderRadius,v=ZI({},iu(e.attributes)),y=ZI({},ou(e.attributes)),w=ZI({},lu(e.attributes)),k=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"}))),_=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let x=[];for(let e=0;e<i;e++)x.push(e<c?c-e>=1?(S=l,E=s,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:E||"#fbd012",width:S,height:S,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):k(l,s):_(l,u));var S,E;return wp.element.createElement("div",{className:o()("blockspare-block-testimonial-wrap"),style:ZI({},xc(e),{borderRadius:h||null,backgroundColor:g||"#fff"})},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(nR.Content,null)),wp.element.createElement("div",{className:"blockspare-section-head-wrap",style:{textAlign:a}},wp.element.createElement(hu,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:v}),d&&wp.element.createElement(aR.Content,{tagName:p,className:"blockspare-title",style:y,value:d}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:v})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:v}),m&&wp.element.createElement(aR.Content,{tagName:"p",className:"blockspare-subtitle",style:w,value:m}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:v}))))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container"},x))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement(aR.Content,{tagName:"p",className:"blockspare-description",value:n,style:{fontSize:f+"px",color:b||"#6d6d6d"}})))}},{attributes:ZI({},Ei,{},LI.attributes,{},Ti),save:e=>wp.element.createElement(RI,e)},{attributes:ZI({},Ei,{},DI.attributes,{},Ti),save:e=>wp.element.createElement(KI,e)}];function iR(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 oR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lR=wp.i18n.__,sR=wp.blocks.registerBlockType,cR=XB.category,uR=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iR(Object(n),!0).forEach((function(t){oR(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iR(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ei,{},XB.attributes,{},Ti),pR={title:lR("Testimonial Item","blockspare"),description:lR("Display creative testimonial.","blockspare"),parent:["blockspare/blockspare-testimonial"],icon:r.testimonial,category:cR,supports:{html:!1,inserter:!1,reusable:!1},attributes:uR,edit:xI,save:OI,deprecated:rR};sR("blockspare/testimonial-item",pR);wp.i18n.__;const dR=wp.element,mR=dR.Component,fR=dR.Fragment,bR=wp.blocks.createBlock,gR=wp.data,hR=gR.withSelect,vR=gR.withDispatch,yR=wp.blockEditor.InnerBlocks,wR=wp.compose.compose;var kR=wR([hR((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,i=a.isBlockSelected,o=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:i(n)||o(n,!0)}}),vR(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends mR{constructor(...e){var t,n,a;super(...e),a=e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++)t.push(["blockspare/testimonial-item",{}]);return t},(n="getTestimonialTemplate")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertTestimonialItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=pR.heading;e=Object.assign({},{},{itemNumber:t,heading:n,active:!1,defaultText:""})}else e=pR;a(bR("blockspare/testimonial-item",e),void 0,n)}render(){const e=this.props.attributes;return[wp.element.createElement(fR,null,wp.element.createElement(JB,this.props),wp.element.createElement(RB,this.props,wp.element.createElement(yR,{template:this.getTestimonialTemplate(e),allowedBlocks:["blockspare/testimonial-item"]})))]}});const _R=wp.element.Component,xR=wp.blockEditor.InnerBlocks,SR=wp.compose.compose;var ER=SR(vr,br(YB))(class extends _R{render(){const e=this.props,t=e.attributes,n=t.columns,a=t.columnsGap,r=t.align,i=(t.backgroundColor,e.className),l=o()(i,"align"+r),s=o()(["blockspare-main-testimonial-wrapper","blockspare-testimonial-columns-"+n,"blockspare-testimonial-gap-"+a]);return wp.element.createElement("div",{className:l},wp.element.createElement("div",{className:s},this.props.styles,wp.element.createElement(xR.Content,null)))}}),TR=n(53);const CR=wp.element.Component,MR=wp.blockEditor.InnerBlocks;var OR=class extends CR{render(){const e=this.props.attributes,t=e.columns,n=e.columnsGap,a=e.align,r=e.backgroundColor,i=o()([this.props.className,"blockspare-testimonial-wrapper","blockspare-testimonial-columns-"+t,"blockspare-testimonial-gap-"+n],{["align"+a]:a});return wp.element.createElement("div",{className:i||void 0,style:{backgroundColor:r||"transparent"}},wp.element.createElement(MR.Content,null))}};var LR=[{attributes:{serviceItems:{type:"number",default:2},columns:{type:"number",default:2},columnsGap:{type:"number",default:1},align:{type:"string",default:"center"},defaultItems:{type:"number",default:2},marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}},save:e=>wp.element.createElement(OR,e)}];const DR=wp.i18n.__,FR=wp.blocks.registerBlockType,PR=TR.name,jR=TR.category,NR=TR.attributes;FR(PR,{title:DR("BS Testimonial","blockspare"),description:DR("Add a testimonial","blockspare"),category:jR,icon:r.testimonial,attributes:NR,keywords:[DR("block","blockspare"),DR("testimonial","blockspare"),DR("team","blockspare"),DR("rating","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"blockspare",pages:500}},edit:kR,save:ER,deprecated:LR});n(630),n(631);var zR=n(46);const AR=wp.i18n.__,YR=wp.element.Component,BR=wp.blockEditor,IR=BR.InspectorControls,RR=BR.PanelColorSettings,HR=wp.components,WR=HR.PanelBody,UR=(HR.ToggleControl,HR.SelectControl),GR=HR.TextControl;HR.RangeControl;class VR extends YR{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.profileTextColor,a=(t.profileBackgroundColor,t.twitter),r=t.facebook,i=(t.instagram,t.youtube,t.linkedin),o=(t.buttonFill,t.paddingTop),l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.marginTop,p=t.marginBottom,d=(t.iconColorOption,t.customfontColorOption,t.custombackgroundColorOption,t.buttonShapes),m=t.buttonSizes,f=t.titleFontSize,b=(t.subtitleFontSize,t.headerTagOption),g=t.headertitleColor,h=t.headersubtitleColor,v=t.headerlayoutOption,y=t.titlePaddingTop,w=t.titlePaddingBottom,k=t.subtitlePaddingTop,_=t.subtitlePaddingBottom,S=t.headerboxColor,E=t.dashColor,T=(t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.borderRadius,t.titleLoadGoogleFonts),C=t.titleFontFamily,M=t.titleFontWeight,O=t.titleFontSubset,L=t.titleFontSizeType,D=t.titleFontSizeMobile,F=t.titleFontSizeTablet,P=t.subTitleFontSize,j=t.subTitleLoadGoogleFonts,N=t.subTitleFontFamily,z=t.subTitleFontWeight,A=t.subTitleFontSubset,Y=t.subTitleFontSizeType,B=t.subTitleFontSizeMobile,I=t.subTitleFontSizeTablet,R=t.descriptionFontSize,H=t.descriptionFontFamily,W=t.descriptionFontWeight,U=t.descriptionFontSubset,G=t.descriptionFontSizeType,V=t.descriptionFontSizeMobile,q=t.descriptionFontSizeTablet,$=t.descriptionLoadGoogleFonts,J=e.attributes,X=e.setAttributes,K=(AR("Layout 1","blockspare"),AR("Layout 2","blockspare"),AR("Layout 3","blockspare"),AR(" Official","blockspare"),AR("Custom","blockspare"),[{value:"blockspare-social-icon-square",label:AR("Square","blockspare")},{value:"blockspare-social-icon-circle",label:AR("Circle","blockspare")},{value:"blockspare-social-icon-rounded",label:AR("Rounded Square","blockspare")}]),Q=[{value:"blockspare-social-icon-small",label:AR("Small","blockspare")},{value:"blockspare-social-icon-medium",label:AR("Medium","blockspare")},{value:"blockspare-social-icon-large",label:AR("Large","blockspare")}];AR("Solid","blockspare"),AR("Border","blockspare"),AR("None","blockspare");return wp.element.createElement(IR,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{proTitle:"👋",demoLink:"user-profile"}),wp.element.createElement(WR,{title:AR("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(ac,{headerlayoutOption:v,onChangeHeaderLayput:e=>X({headerlayoutOption:e})}),wp.element.createElement(WR,{title:AR("Typography Settings","blockspare")},wp.element.createElement(Ns,{label:AR("Title Fonts Settings"),attributes:J,setAttributes:X,loadGoogleFonts:{value:T,label:AR("titleLoadGoogleFonts")},fontFamily:{value:C,label:AR("titleFontFamily")},fontWeight:{value:M,label:AR("titleFontWeight")},fontSubset:{value:O,label:AR("titleFontSubset")},fontSizeType:{value:L,label:AR("titleFontSizeType")},fontSize:{value:f,label:AR("titleFontSize")},fontSizeMobile:{value:D,label:AR("titleFontSizeMobile")},fontSizeTablet:{value:F,label:AR("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:b}),wp.element.createElement(Ns,{label:AR("Subtitle Fonts Settings"),attributes:J,setAttributes:X,loadGoogleFonts:{value:j,label:AR("subTitleLoadGoogleFonts")},fontFamily:{value:N,label:AR("subTitleFontFamily")},fontWeight:{value:z,label:AR("subTitleFontWeight")},fontSubset:{value:A,label:AR("subTitleFontSubset")},fontSizeType:{value:Y,label:AR("subTitleFontSizeType")},fontSize:{value:P,label:AR("subTitleFontSize")},fontSizeMobile:{value:B,label:AR("subTitleFontSizeMobile")},fontSizeTablet:{value:I,label:AR("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),wp.element.createElement(Ns,{label:AR("Description Fonts Settings"),attributes:J,setAttributes:X,loadGoogleFonts:{value:$,label:AR("descriptionLoadGoogleFonts")},fontFamily:{value:H,label:AR("descriptionFontFamily")},fontWeight:{value:W,label:AR("descriptionFontWeight")},fontSubset:{value:U,label:AR("descriptionFontSubset")},fontSizeType:{value:G,label:AR("descriptionFontSizeType")},fontSize:{value:R,label:AR("descriptionFontSize")},fontSizeMobile:{value:V,label:AR("descriptionFontSizeMobile")},fontSizeTablet:{value:q,label:AR("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(ji,{enableBlockGaps:!1,headerTagOption:b,onChangeHeaderTag:e=>X({headerTagOption:e}),headerboxColor:S,onChangeboxcolor:e=>X({headerboxColor:e}),dashColor:E,headerlayoutOption:v,onChangeDashColor:e=>X({dashColor:e}),headertitleColor:g,onChangetitlecolor:e=>X({headertitleColor:e}),titlePaddingTop:y,onChangetitlePaddingTop:e=>X({titlePaddingTop:e}),titlePaddingBottom:w,onChangetitlePaddingBottom:e=>X({titlePaddingBottom:e}),headersubtitleColor:h,onChangesubtitlecolor:e=>X({headersubtitleColor:e}),subtitlePaddingTop:k,onChangesubtitlePaddingTop:e=>X({subtitlePaddingTop:e}),subtitlePaddingBottom:_,onChangesubtitlePaddingBottom:e=>X({subtitlePaddingBottom:e})})),wp.element.createElement(WR,{title:AR("Color Settings","blockspare"),initialOpen:!1},wp.element.createElement(RR,{title:AR("Colors","blockspare"),initialOpen:!1,colorSettings:[{value:n,onChange:e=>X({profileTextColor:e}),label:AR("Description Color","blockspare")}]})),wp.element.createElement(WR,{title:AR("Social link Urls","blockspare"),className:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(GR,{label:AR("Facebook Url","blockspare"),type:"text",value:r,onChange:e=>this.props.setAttributes({facebook:e})}),wp.element.createElement(GR,{label:AR("LinkedIn Url","blockspare"),type:"text",value:i,onChange:e=>this.props.setAttributes({linkedin:e})}),wp.element.createElement(GR,{label:AR("Twitter Url","blockspare"),type:"text",value:a,onChange:e=>this.props.setAttributes({twitter:e})})),wp.element.createElement(WR,{title:AR("Social Icon Option","blockspare"),initialOpen:!1},wp.element.createElement(UR,{label:AR("Size","blockspare"),options:Q,value:m,onChange:e=>this.props.setAttributes({buttonSizes:e})}),wp.element.createElement(UR,{label:AR("Shape","blockspare"),options:K,value:d,onChange:e=>this.props.setAttributes({buttonShapes:e})})),wp.element.createElement(WR,{title:AR("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(WR,{title:AR("Padding Settings","blockspare"),initialOpen:!1},wp.element.createElement(Pe,{paddingEnableTop:!0,paddingTop:o,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>X({paddingTop:e}),paddingEnableRight:!0,paddingRight:l,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>X({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:s,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>X({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:c,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>X({paddingLeft:e})})),wp.element.createElement(WR,{title:AR("Margin Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:u,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>X({marginTop:e}),marginEnableBottom:!0,marginBottom:p,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>X({marginBottom:e})})))))}}wp.element.Component;const qR=wp.i18n.__,$R=wp.element.Component;class JR extends $R{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=e.facebook,n=e.linkedin,a=e.instagram,r=e.twitter,i=e.youtube,l=e.iconColorOption,s=e.buttonShapes,c=e.buttonSizes,u=e.buttonOptions,p=e.buttonFills;return wp.element.createElement("ul",{className:o()("blockspare-social-links",l,s,c,u,p)},t&&wp.element.createElement("li",null,wp.element.createElement("a",{href:t,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},qR("Facebook","blockspare"))))),n&&wp.element.createElement("li",null,wp.element.createElement("a",{href:n,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},qR("Linkedin","blockspare"))))),a&&wp.element.createElement("li",null,wp.element.createElement("a",{href:a,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},qR("Instagram","blockspare"))))),r&&wp.element.createElement("li",null,wp.element.createElement("a",{href:r,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},qR("Twitter","blockspare"))))),i&&wp.element.createElement("li",null,wp.element.createElement("a",{href:i,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},qR("Youtube","blockspare"))))))}}const XR=wp.element.Component;class KR extends XR{constructor(e){super(...arguments)}render(){return wp.element.createElement("div",{className:"blockspare-profile-column blockspare-profile-avatar-wrap"},wp.element.createElement("div",{className:"blockspare-profile-image-wrap"},this.props.children))}}function QR(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 ZR(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?QR(Object(n),!0).forEach((function(t){eH(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QR(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tH=e=>{const t=e.attributes,n=t.profileBackgroundColor,a=t.profileTextColor,r=t.borderRadius,i=t.buttonFills,o=t.iconColorOption,l=t.paddingTop,s=t.paddingRight,c=t.paddingBottom,u=t.paddingLeft,p=t.marginTop,d=t.marginBottom,m=(t.profileContentFontSize,t.sectionAlignment),f=t.headertitleColor,b=t.titleFontSize,g=t.titlePaddingTop,h=t.titlePaddingBottom,v=t.headersubtitleColor,y=(t.subtitleFontSize,t.subtitlePaddingTop),w=t.subtitlePaddingBottom,k=t.dashColor,_=t.headerboxColor,x=t.titleFontFamily,S=t.titleFontWeight,E=t.titleFontSizeType,T=t.titleFontSizeMobile,C=t.titleFontSizeTablet,M=t.subTitleFontSize,O=t.subTitleFontFamily,L=t.subTitleFontWeight,D=t.subTitleFontSizeType,F=t.subTitleFontSizeMobile,P=t.subTitleFontSizeTablet,j=(t.descriptionColor,t.descriptionFontSize),N=t.descriptionFontFamily,z=t.descriptionFontWeight,A=(t.descriptionFontSubset,t.descriptionFontSizeType),Y=t.descriptionFontSizeMobile,B=t.descriptionFontSizeTablet,I=t.headerpaddingTop,R=t.headerpaddingRight,H=t.headerpaddingBottom,W=t.headerpaddingLeft,U=t.headermarginTop,G=t.headermarginBottom,V=t.customfontColorOption,q=t.custombackgroundColorOption,$=[];return $.push({".blockspare-author-wrapper":ZR({backgroundColor:n||"#fff",paddingTop:l?l+"px":"0px",paddingRight:s?s+"px":"0px",paddingBottom:c?c+"px":"0px",paddingLeft:u?u+"px":"0px",borderRadius:r?r+"px":null},xc(e.attributes)),".blockspare-section-wrapper":{marginTop:p?p+"px":"0px",marginBottom:d?d+"px":"0px"},".blockspare-block-profile":{color:a||"#6d6d6d"},".blockspare-profile-text-description":{fontSize:j+A,fontFamily:N+"!important",fontWeight:z+"!important"}}),"blockspare-default-official-color"!=o&&("blockspare-social-icon-border"==i?$.push({".blockspare-author-wrapper .blockspare-social-links a":{color:V,border:"2px solid "+q}}):"blockspare-social-icon-solid"==i?$.push({".blockspare-social-links a":{color:V,backgroundColor:q}}):$.push({".blockspare-social-links a":{color:V}})),$.push({".blockspare-section-head-wrap":{backgroundColor:_||"transparent",textAlign:m,paddingTop:I+"px",paddingRight:R+"px",paddingBottom:H+"px",marginTop:U+"px",marginBottom:G+"px",paddingLeft:W+"px"}}),$.push({".blockspare-section-head-wrap .blockspare-title":{color:f,fontSize:b+E,fontFamily:x,fontWeight:S+"!important",paddingTop:g+"px ",paddingBottom:h+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:v,fontSize:M+D,fontFamily:O,fontWeight:L+"!important",paddingTop:y+"px",paddingBottom:w+"px"},".blockspare-user-profile-desc":{fontSize:j+A,fontFamily:N,fontWeight:z+"!important"},".blockspare-title-dash":{color:k},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:C+E},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:P+D},".blockspare-user-profile-desc":{fontSize:B+A}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:T+E},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:F+D},".blockspare-user-profile-desc":{fontSize:Y+A}}}),wr.a.all($)};function nH(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 aH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const rH=wp.compose.compose,iH=blockspare_globals,oH=["core/image"],lH=[["core/image",{url:iH.menu_img_url,width:120,height:120,align:"center"}]],sH=wp.i18n.__,cH=wp.element,uH=cH.Component,pH=cH.Fragment,dH=wp.blockEditor,mH=dH.RichText,fH=dH.AlignmentToolbar,bH=dH.BlockControls,gH=dH.InnerBlocks;var hH=rH(vr,br(tH))(class extends uH{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.headerTagOption,r=t.headerTitle,i=t.headerSubTitle,l=t.profileContent,s=t.headerlayoutOption,c=t.titleLoadGoogleFonts,u=t.titleFontFamily,p=t.titleFontWeight,d=t.subTitleLoadGoogleFonts,m=t.subTitleFontFamily,f=t.subTitleFontWeight,b=t.descriptionLoadGoogleFonts,g=t.descriptionFontFamily,h=t.descriptionFontWeight,v=e.className,y=(e.attributes,e.setAttributes);let w,k="";if(k="left"==n?"blockspare-layout-left":"right"==n?"blockspare-layout-right":"blockspare-layout-center",1==b){const e={google:{families:[g+(h?":"+h:"")]}};w=wp.element.createElement(Fr,{config:e})}const _=o()([v,"blockspare-authorprofile"]);return wp.element.createElement(pH,null,wp.element.createElement("div",{className:_},wp.element.createElement("div",{className:"blockspare-section-wrapper"},this.props.styles,wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks"},wp.element.createElement(bH,{key:"controls"},wp.element.createElement(fH,{value:n,onChange:e=>y({sectionAlignment:e})})),wp.element.createElement(VR,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nH(Object(n),!0).forEach((function(t){aH(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:y},this.props)),wp.element.createElement("div",{className:o()("blockspare-profile-admin",k,"blockspare-block-profile","blockspare-profile-columns")},wp.element.createElement(KR,this.props,wp.element.createElement(gH,{template:lH,allowedBlocks:oH,templateLock:!0,templateInsertUpdatesSelection:!0})),wp.element.createElement("div",{className:o()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+n)},wp.element.createElement(_c,{setAttributes:y,headerTitle:r,headerTagOption:a,headerSubTitle:i,titleFontFamily:u,titleFontWeight:p,titleLoadGoogleFonts:c,subTitleLoadGoogleFonts:d,subTitleFontFamily:m,subTitleFontWeight:f}))),wp.element.createElement(mH,{tagName:"div",className:o()("blockspare-profile-text","blockspare-user-profile-desc"),multiline:"p",placeholder:sH("Add your content...","blockspare"),keepPlaceholderOnFocus:!0,value:l,allowedFormats:["bold","italic","strikethrough","link"],onChange:e=>y({profileContent:e})}),wp.element.createElement(JR,this.props)))),w)))}});const vH=wp.compose.compose,yH=wp.element.Component,wH=wp.blockEditor,kH=wH.RichText,_H=wH.InnerBlocks;var xH=vH(vr,br(tH))(class extends yH{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.profileContent,r=t.headerTagOption,i=t.headerTitle,l=t.headerSubTitle,s=(t.profileContentFontSize,t.headerlayoutOption),c=(t.align,e.className),u=o()([c,"blockspare-authorprofile authorbox"]);let p="";return p="left"==n?"blockspare-layout-left":"right"==n?"blockspare-layout-right":"blockspare-layout-center",wp.element.createElement("div",{className:u},wp.element.createElement("div",{className:"blockspare-section-wrapper"},this.props.styles,wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks"},wp.element.createElement("div",{className:o()(p,"blockspare-block-profile","blockspare-profile-columns")},wp.element.createElement(KR,this.props,wp.element.createElement(_H.Content,null)),wp.element.createElement("div",{className:o()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+n)},wp.element.createElement(Qc,{headerTitle:i,headerTagOption:r,headerSubTitle:l}))),a&&wp.element.createElement(kH.Content,{tagName:"div",className:o()("blockspare-profile-text","blockspare-user-profile-desc"),value:a}),wp.element.createElement(JR,this.props))))))}}),SH=n(129);function EH(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 TH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const CH=wp.element.Component;class MH extends CH{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerlayoutOption,i=e.attributes,l=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?EH(Object(n),!0).forEach((function(t){TH(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},mu(i)));return wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+n),style:l},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",r,"blockspare-"+a)},this.props.children))}}function OH(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 LH(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?OH(Object(n),!0).forEach((function(t){DH(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):OH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function DH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const FH=wp.i18n.__,PH=wp.element.Component,jH=wp.blockEditor,NH=jH.RichText,zH=jH.InnerBlocks;class AH extends PH{constructor(){super(...arguments)}render(){const e=this.props.attributes,t=e.sectionAlignment,n=e.profileImgURL,a=e.profileFontSize,r=e.profileBackgroundColor,i=e.profileTextColor,l=e.profileAvatarShape,s=e.borderRadius,c=e.profileContent,u=e.paddingTop,p=e.paddingRight,d=e.paddingBottom,m=e.paddingLeft,f=e.marginTop,b=e.marginBottom,g=e.headerTagOption,h=e.headerTitle,v=e.headerSubTitle,y=e.profileContentFontSize,w=e.iconColorOption,k=e.customfontColorOption,_=e.custombackgroundColorOption,x=e.facebook,S=e.linkedin,E=e.instagram,T=e.twitter,C=e.youtube,M=e.buttonShapes,O=e.buttonSizes,L=e.buttonOptions,D=e.buttonFills,F={paddingTop:u?u+"px":"0px",paddingRight:p?p+"px":"0px",paddingBottom:d?d+"px":"0px",paddingLeft:m?m+"px":"0px",marginTop:f?f+"px":"0px",marginBottom:b?b+"px":"0px"};let P="";P="left"==t?"blockspare-layout-left":"right"==t?"blockspare-layout-right":"blockspare-layout-center";const j=LH({},iu(this.props.attributes)),N=LH({},ou(this.props.attributes)),z=LH({},lu(this.props.attributes));let A="";return A="blockspare-default-official-color"!=w?{color:k,backgroundColor:_}:{},wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks",style:F},wp.element.createElement("div",{style:LH({},xc(this.props.attributes),{backgroundColor:r||"#f2f2f2",color:i||"#6d6d6d",borderRadius:s||null}),className:o()(this.props.className,l,P,{"blockspare-has-avatar":n},"blockspare-font-size-"+a,"blockspare-block-profile","blockspare-profile-columns")},wp.element.createElement(KR,this.props,wp.element.createElement(zH.Content,null)),wp.element.createElement("div",{className:o()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement(MH,this.props,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:j}),h&&wp.element.createElement(NH.Content,{tagName:g,className:"blockspare-title",style:N,value:h}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:j})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:j}),v&&wp.element.createElement(NH.Content,{tagName:"p",className:"blockspare-subtitle",style:z,value:v}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:j}))),c&&wp.element.createElement(NH.Content,{tagName:"div",className:"blockspare-profile-text",value:c,style:{fontSize:y+"px"}}),wp.element.createElement("ul",{className:o()("blockspare-social-links",w,M,O,L,D)},x&&wp.element.createElement("li",null,wp.element.createElement("a",{style:A,href:x,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},FH("Facebook","blockspare")))),S&&wp.element.createElement("li",null,wp.element.createElement("a",{style:A,href:S,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},FH("Linkedin","blockspare")))),E&&wp.element.createElement("li",null,wp.element.createElement("a",{style:A,href:E,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},FH("Instagram","blockspare")))),T&&wp.element.createElement("li",null,wp.element.createElement("a",{style:A,href:T,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},FH("Twitter","blockspare")))),C&&wp.element.createElement("li",null,wp.element.createElement("a",{style:A,href:C,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},FH("Youtube","blockspare"))))))))}}const YH=wp.element.Component;class BH extends YH{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.profileImgURL,r=t.profileFontSize,i=t.profileAvatarShape;e.attributes;let l="";return l="left"==n?"blockspare-layout-left":"right"==n?"blockspare-layout-right":"blockspare-layout-center",wp.element.createElement("div",{className:o()(this.props.className,i,l,{"blockspare-has-avatar":a},"blockspare-font-size-"+r,"blockspare-block-profile","blockspare-profile-columns")},this.props.children)}}const IH=wp.i18n.__,RH=wp.element.Component;class HH extends RH{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=e.facebook,n=e.linkedin,a=e.instagram,r=e.twitter,i=e.youtube,l=e.iconColorOption,s=e.buttonShapes,c=e.buttonSizes,u=e.buttonOptions,p=e.buttonFills;return wp.element.createElement("ul",{className:o()("blockspare-social-links",l,s,c,u,p)},t&&wp.element.createElement("li",null,wp.element.createElement("a",{href:t,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},IH("Facebook","blockspare")))),n&&wp.element.createElement("li",null,wp.element.createElement("a",{href:n,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},IH("Linkedin","blockspare")))),a&&wp.element.createElement("li",null,wp.element.createElement("a",{href:a,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},IH("Instagram","blockspare")))),r&&wp.element.createElement("li",null,wp.element.createElement("a",{href:r,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},IH("Twitter","blockspare")))),i&&wp.element.createElement("li",null,wp.element.createElement("a",{href:i,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},IH("Youtube","blockspare")))))}}function WH(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 UH(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?WH(Object(n),!0).forEach((function(t){GH(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function GH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var VH=e=>{const t=e.attributes,n=t.profileBackgroundColor,a=t.profileTextColor,r=t.borderRadius,i=t.iconColorOption,o=t.paddingTop,l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.marginTop,p=t.marginBottom,d=(t.profileContentFontSize,t.sectionAlignment),m=t.headertitleColor,f=t.titleFontSize,b=t.titlePaddingTop,g=t.titlePaddingBottom,h=t.headersubtitleColor,v=(t.subtitleFontSize,t.subtitlePaddingTop),y=t.subtitlePaddingBottom,w=t.dashColor,k=t.headerboxColor,_=t.titleFontFamily,x=t.titleFontWeight,S=t.titleFontSizeType,E=t.titleFontSizeMobile,T=t.titleFontSizeTablet,C=t.subTitleFontSize,M=t.subTitleFontFamily,O=t.subTitleFontWeight,L=t.subTitleFontSizeType,D=t.subTitleFontSizeMobile,F=t.subTitleFontSizeTablet,P=(t.descriptionColor,t.descriptionFontSize),j=t.descriptionFontFamily,N=t.descriptionFontWeight,z=(t.descriptionFontSubset,t.descriptionFontSizeType),A=t.descriptionFontSizeMobile,Y=t.descriptionFontSizeTablet,B=t.headerpaddingTop,I=t.headerpaddingRight,R=t.headerpaddingBottom,H=t.headerpaddingLeft,W=t.headermarginTop,U=t.headermarginBottom,G=t.customfontColorOption,V=t.custombackgroundColorOption,q=[];return q.push({".blockspare-author-wrapper":{backgroundColor:n||"#fff",paddingTop:o?o+"px":"0px",paddingRight:l?l+"px":"0px",paddingBottom:s?s+"px":"0px",paddingLeft:c?c+"px":"0px",marginTop:u?u+"px":"0px",marginBottom:p?p+"px":"0px"},".blockspare-block-profile":UH({},xc(e.attributes),{color:a||"#6d6d6d",borderRadius:r||null}),".blockspare-profile-text-description":{fontSize:P+z,fontFamily:j+"!important",fontWeight:N+"!important"}}),"blockspare-default-official-color"!=i&&q.push({".blockspare-social-links a":{color:G,backgroundColor:V}}),q.push({".blockspare-section-head-wrap":{backgroundColor:k||"transparent",textAlign:d,paddingTop:B+"px",paddingRight:I+"px",paddingBottom:R+"px",marginTop:W+"px",marginBottom:U+"px",paddingLeft:H+"px"}}),q.push({".blockspare-section-head-wrap .blockspare-title":{color:m,fontSize:f+S,fontFamily:_,fontWeight:x+"!important",paddingTop:b+"px ",paddingBottom:g+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:h,fontSize:C+L,fontFamily:M,fontWeight:O+"!important",paddingTop:v+"px",paddingBottom:y+"px"},".blockspare-user-profile-desc":{fontSize:P+z,fontFamily:j,fontWeight:N+"!important"},".blockspare-title-dash":{color:w},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:T+S},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:F+L},".blockspare-user-profile-desc":{fontSize:Y+z}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:E+S},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:D+L},".blockspare-user-profile-desc":{fontSize:A+z}}}),wr.a.all(q)};const qH=wp.compose.compose,$H=wp.element.Component,JH=wp.blockEditor,XH=JH.RichText,KH=JH.InnerBlocks;var QH=qH(vr,br(VH))(class extends $H{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.profileContent,r=t.headerTagOption,i=t.headerTitle,l=t.headerSubTitle,s=(t.profileContentFontSize,t.headerlayoutOption),c=t.align,u=e.className,p=o()([u,"blockspare-authorprofile"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks"},wp.element.createElement(BH,this.props,wp.element.createElement(KR,this.props,wp.element.createElement(KH.Content,null)),wp.element.createElement("div",{className:o()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+c)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+n)},wp.element.createElement(Qc,{headerTitle:i,headerTagOption:r,headerSubTitle:l}))),a&&wp.element.createElement(XH.Content,{tagName:"div",className:o()("blockspare-profile-text","blockspare-user-profile-desc"),value:a}),wp.element.createElement(HH,this.props)))))}});function ZH(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 eW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ZH(Object(n),!0).forEach((function(t){tW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nW=e=>{const t=e.attributes,n=t.profileBackgroundColor,a=t.profileTextColor,r=t.borderRadius,i=t.iconColorOption,o=t.paddingTop,l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.marginTop,p=t.marginBottom,d=(t.profileContentFontSize,t.sectionAlignment),m=t.headertitleColor,f=t.titleFontSize,b=t.titlePaddingTop,g=t.titlePaddingBottom,h=t.headersubtitleColor,v=(t.subtitleFontSize,t.subtitlePaddingTop),y=t.subtitlePaddingBottom,w=t.dashColor,k=t.headerboxColor,_=t.titleFontFamily,x=t.titleFontWeight,S=t.titleFontSizeType,E=t.titleFontSizeMobile,T=t.titleFontSizeTablet,C=t.subTitleFontSize,M=t.subTitleFontFamily,O=t.subTitleFontWeight,L=t.subTitleFontSizeType,D=t.subTitleFontSizeMobile,F=t.subTitleFontSizeTablet,P=(t.descriptionColor,t.descriptionFontSize),j=t.descriptionFontFamily,N=t.descriptionFontWeight,z=(t.descriptionFontSubset,t.descriptionFontSizeType),A=t.descriptionFontSizeMobile,Y=t.descriptionFontSizeTablet,B=t.headerpaddingTop,I=t.headerpaddingRight,R=t.headerpaddingBottom,H=t.headerpaddingLeft,W=t.headermarginTop,U=t.headermarginBottom,G=t.customfontColorOption,V=t.custombackgroundColorOption,q=[];return q.push({".blockspare-author-wrapper":{backgroundColor:n||"#fff",paddingTop:o?o+"px":"0px",paddingRight:l?l+"px":"0px",paddingBottom:s?s+"px":"0px",paddingLeft:c?c+"px":"0px"},".blockspare-section-wrapper":{marginTop:u?u+"px":"0px",marginBottom:p?p+"px":"0px"},".blockspare-block-profile":eW({},xc(e.attributes),{color:a||"#6d6d6d",borderRadius:r||null}),".blockspare-profile-text-description":{fontSize:P+z,fontFamily:j+"!important",fontWeight:N+"!important"}}),"blockspare-default-official-color"!=i&&q.push({".blockspare-social-links a span":{color:G,backgroundColor:V}}),q.push({".blockspare-section-head-wrap":{backgroundColor:k||"transparent",textAlign:d,paddingTop:B+"px",paddingRight:I+"px",paddingBottom:R+"px",marginTop:W+"px",marginBottom:U+"px",paddingLeft:H+"px"}}),q.push({".blockspare-section-head-wrap .blockspare-title":{color:m,fontSize:f+S,fontFamily:_,fontWeight:x+"!important",paddingTop:b+"px ",paddingBottom:g+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:h,fontSize:C+L,fontFamily:M,fontWeight:O+"!important",paddingTop:v+"px",paddingBottom:y+"px"},".blockspare-user-profile-desc":{fontSize:P+z,fontFamily:j,fontWeight:N+"!important"},".blockspare-title-dash":{color:w},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:T+S},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:F+L},".blockspare-user-profile-desc":{fontSize:Y+z}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:E+S},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:D+L},".blockspare-user-profile-desc":{fontSize:A+z}}}),wr.a.all(q)};const aW=wp.compose.compose,rW=wp.element.Component,iW=wp.blockEditor,oW=iW.RichText,lW=iW.InnerBlocks;var sW=aW(vr,br(nW))(class extends rW{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.profileContent,r=t.headerTagOption,i=t.headerTitle,l=t.headerSubTitle,s=(t.profileContentFontSize,t.headerlayoutOption),c=t.align,u=e.className,p=o()([u,"blockspare-authorprofile"]);let d="";return d="left"==n?"blockspare-layout-left":"right"==n?"blockspare-layout-right":"blockspare-layout-center",wp.element.createElement("div",{className:p},wp.element.createElement("div",{className:"blockspare-section-wrapper"},this.props.styles,wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks"},wp.element.createElement("div",{className:o()(d,"blockspare-block-profile","blockspare-profile-columns")},wp.element.createElement(KR,this.props,wp.element.createElement(lW.Content,null)),wp.element.createElement("div",{className:o()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement("div",{className:o()("blockspare-section-header-wrapper blockspare-blocks","align"+c)},wp.element.createElement("div",{className:o()("blockspare-section-head-wrap",s,"blockspare-"+n)},wp.element.createElement(Qc,{headerTitle:i,headerTagOption:r,headerSubTitle:l}))),a&&wp.element.createElement(oW.Content,{tagName:"div",className:o()("blockspare-profile-text","blockspare-user-profile-desc"),value:a}),wp.element.createElement(JR,this.props))))))}});function cW(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 uW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cW(Object(n),!0).forEach((function(t){pW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cW(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const dW=uW({},Ei,{},SH.attributes,{},Ti),mW=uW({},Ei,{},zR.attributes,{},Ti);var fW=[{attributes:dW,save:e=>wp.element.createElement(AH,e)},{attributes:uW({},Ei,{},SH.attributes,{},Ti),save:e=>wp.element.createElement(QH,e)},{attributes:mW,save:e=>wp.element.createElement(sW,e)}];function bW(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 gW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const hW=wp.i18n.__,vW=wp.blocks.registerBlockType,yW=zR.name,wW=zR.category,kW=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bW(Object(n),!0).forEach((function(t){gW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bW(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ei,{},zR.attributes,{},Ti);vW(yW,{title:hW("BS User Profile","blockspare"),description:hW("Add User profile","blockspare"),category:wW,icon:r.userprofile,attributes:kW,keywords:[hW("block","blockspare"),hW("user","blockspare"),hW("profile","blockspare"),hW("team","blockspare")],example:{attributes:{profileBackgroundColor:"#f2f2f2"}},supports:{align:["center","wide","full"]},edit:hH,save:xH,deprecated:fW});n(632),n(633);const _W=wp.i18n.__,xW=wp.element,SW=xW.Component,EW=(xW.Fragment,wp.blockEditor),TW=EW.InspectorControls,CW=EW.PanelColorSettings,MW=wp.components,OW=MW.PanelBody,LW=MW.RangeControl,DW=MW.ToggleControl;class FW extends SW{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=e.design,n=void 0===t?"double-wave":t,a=(e.width,e.height),r=e.color,i=e.marginTop,o=e.marginBottom,l=e.verticalFlip,s=e.horizontalFlip,c=this.props.setAttributes;return wp.element.createElement(TW,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"shape-divider"}),wp.element.createElement(ec,null,wp.element.createElement(Js,{onChange:e=>c({design:e}),selected:n,excludeDesigns:["straight-1"]})),wp.element.createElement(OW,{title:_W("Divider Settings","blockspare"),initialOpen:!1},wp.element.createElement(DW,{label:_W("Flip Vertically","blockspare"),checked:l,onChange:()=>this.props.setAttributes({verticalFlip:!l})}),wp.element.createElement(DW,{label:_W("Flip Horizontally","blockspare"),checked:s,onChange:()=>this.props.setAttributes({horizontalFlip:!s})}),wp.element.createElement(CW,{title:_W("Shape Color","blockspare"),initialOpen:!0,colorSettings:[{value:r,onChange:e=>c({color:e}),label:_W("Shape Color","blockspare")}]}),wp.element.createElement(LW,{label:_W("Height","blockspare"),value:a,onChange:e=>c({height:e}),min:30,step:2,max:300})),wp.element.createElement(OW,{title:_W("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(OW,{title:_W("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ae,{marginEnableTop:!0,marginTop:i,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>c({marginTop:e}),marginEnableBottom:!0,marginBottom:o,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>c({marginBottom:e})})))))}}function PW(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 jW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PW(Object(n),!0).forEach((function(t){NW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PW(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function NW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zW=e=>{const t=e.attributes,n=t.height,a=t.color,r=[];return r.push({".blockspare-svg-wrapper":jW({color:a||"#3c1a5b",height:n+"px"},Sc(e.attributes))}),wr.a.all(r)};function AW(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 YW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const BW=wp.element,IW=BW.Component,RW=BW.Fragment,HW=wp.compose.compose;var WW=HW(vr,br(zW))(class extends IW{constructor(e){super(...arguments)}render(){const e=this.props,t=e.className,n=e.attributes,a=n.design,r=void 0===a?"double-wave":a,i=n.layer1Shadow,l=void 0!==i&&i,s=n.width,c=(n.height,n.verticalFlip),u=n.horizontalFlip,p=(n.color,e.attributes,e.isSelected,e.setAttributes),d=o()([t]);let m=o()("blockspare-blocks blockspare-svg-wrapper",function(e){return"has-width-"+e.toString().replace(".","-")}(s),{"is-vertically-flipped":c,"is-horizontally-flipped":u});return wp.element.createElement(RW,null,wp.element.createElement(FW,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AW(Object(n),!0).forEach((function(t){YW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AW(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:p},this.props)),wp.element.createElement("div",{className:d},this.props.styles,wp.element.createElement("div",{className:m},wp.element.createElement(fm,{design:r,shadow:l,className:"blockspare-svg-svg-inner"}))))}});const UW=wp.element,GW=UW.Component,VW=UW.Fragment,qW=wp.compose.compose;var $W=qW(vr,br(zW))(class extends GW{render(){const e=this.props.className,t=this.props,n=t.attributes,a=n.design,r=void 0===a?"double-wave":a,i=(n.align,n.width),l=(n.height,n.verticalFlip),s=n.horizontalFlip,c=(n.color,t.attributes,o()([e]));let u=o()("blockspare-blocks blockspare-svg-wrapper",{"is-vertically-flipped":l,"is-horizontally-flipped":s},function(e){return"has-width-"+e.toString().replace(".","-")}(i));return wp.element.createElement(VW,null,wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:u},wp.element.createElement(fm,{design:r,className:"blockspare-svg-svg-inner"}))))}});var JW=n(21);const XW=wp.element,KW=XW.Component,QW=XW.Fragment,ZW=wp.compose.compose;var eU=ZW(vr,br(zW))(class extends KW{render(){const e=this.props.className,t=this.props,n=t.attributes,a=n.design,r=void 0===a?"double-wave":a,i=n.align,l=n.width,s=(n.height,n.verticalFlip),c=n.horizontalFlip,u=(n.color,t.attributes,o()([e]));let p=o()("blockspare-blocks blockspare-svg-wrapper",e,{"is-vertically-flipped":s,"is-horizontally-flipped":c},"align"+i,function(e){return"has-width-"+e.toString().replace(".","-")}(l));return wp.element.createElement(QW,null,wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:p},wp.element.createElement(fm,{design:r,className:"blockspare-svg-svg-inner"}))))}});function tU(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 nU(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tU(Object(n),!0).forEach((function(t){aU(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tU(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function aU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const rU=wp.element,iU=(rU.Component,rU.Fragment);var oU=[{attributes:nU({},JW.attributes),save:function(e){const t=e.attributes,n=t.design,a=void 0===n?"double-wave":n,r=t.align,i=t.width,l=t.height,s=t.verticalFlip,c=t.horizontalFlip,u=t.color,p=t.className;t.attributes;let d=o()(p,{"is-vertically-flipped":s,"is-horizontally-flipped":c},"align"+r,"blockspare-blocks blockspare-svg-wrapper",function(e){return"has-width-"+e.toString().replace(".","-")}(i));return wp.element.createElement(iU,null,wp.element.createElement("div",{className:d,style:nU({color:u||"#3c1a5b",height:l},Sc(e.attributes))},wp.element.createElement(fm,{design:a,className:"blockspare-svg-svg-inner"})))}},{attributes:nU({},JW.attributes),save:e=>wp.element.createElement(eU,e)}];const lU=wp.i18n.__,sU=wp.blocks.registerBlockType,cU=JW.name,uU=JW.category,pU=JW.attributes;sU(cU,{title:lU("BS Shape Divider","blockspare"),description:lU("Decorations for section shapes.","blockspare"),category:uU,icon:r.shapediviver,attributes:pU,keywords:[lU("shape","blockspare"),lU("divider","blockspare"),lU("space","blockspare")],supports:{align:["wide","full","center"]},example:{design:"double-wave",color:"#3c1a5b"},edit:WW,save:$W,deprecated:oU});var dU=n(47);const mU=wp.element.Component,fU=wp.i18n.__,bU=wp.blockEditor,gU=bU.PanelColorSettings,hU=bU.InspectorControls,vU=wp.components,yU=vU.RangeControl,wU=vU.PanelBody;class kU extends mU{render(){const e=this.props.attributes,t=e.height,n=e.backGroundColor,a=this.props.setAttributes;return wp.element.createElement(hU,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(x,{protitle:"👋",demoLink:"empty-section"}),wp.element.createElement(wU,{title:fU("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(yU,{label:fU("Height","blockspare"),value:t,onChange:e=>a({height:e}),min:0,step:5,max:150}),wp.element.createElement(gU,{title:fU("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:n,onChange:e=>a({backGroundColor:e}),label:fU("Background Color","blockspare")}]}))))}}var _U=e=>{const t=e.attributes,n=t.height,a=t.backGroundColor,r=[];return r.push({".blockspare-emptysection":{height:n+"px",width:"100%",backgroundColor:a||"#fff"}}),wr.a.all(r)};const xU=wp.element,SU=xU.Component,EU=xU.Fragment,TU=wp.compose.compose;var CU=TU(vr,br(_U))(class extends SU{render(){const e=this.props,t=(e.height,e.backGroundColor,e.className),n=o()([t,"blockspare-blocks blockspare-empty-section-wrapper"]);return wp.element.createElement(EU,null,wp.element.createElement(kU,this.props),wp.element.createElement("div",{className:n},this.props.styles,wp.element.createElement("div",{className:"blockspare-emptysection"})))}});const MU=wp.element,OU=MU.Component,LU=(MU.Fragment,wp.compose.compose);var DU=LU(vr,br(_U))(class extends OU{render(){const e=this.props,t=(e.height,e.backGroundColor,e.className),n=o()([t,"blockspare-blocks blockspare-empty-section-wrapper"]);return wp.element.createElement("div",{className:n},this.props.styles,wp.element.createElement("div",{className:"blockspare-emptysection"}))}});function FU(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 PU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jU=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?FU(Object(n),!0).forEach((function(t){PU(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FU(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},dU.attributes),save:function(e){const t=e.attributes,n=t.height,a=t.backGroundColor;return wp.element.createElement("div",{className:"blockspare-blocks blockspare-empty-section-wrapper"},wp.element.createElement("div",{className:"blockspare-section",style:{height:n+"px",width:"100%",backgroundColor:a||"#fff"}}))}}];function NU(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 zU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const AU=dU.name,YU=dU.category,BU=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?NU(Object(n),!0).forEach((function(t){zU(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):NU(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},dU.attributes),IU=wp.blocks.registerBlockType,RU=wp.i18n.__;IU(AU,{title:RU("BS Empty Section","blockspare"),description:RU("Empty Section","blockspare"),category:YU,icon:r.emptySpaces,attributes:BU,keywords:[RU("empty","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:CU,save:DU,deprecated:jU})},function(e,t){},,,,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},,function(e,t){},function(e,t){},,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){}]); |