Version Description
Download this release
Release Info
Developer | vektor-inc |
Plugin | VK Blocks |
Version | 0.54.0 |
Comparing to | |
See all releases |
Code changes from version 0.53.2 to 0.54.0
- inc/vk-blocks/build/block-build.js +1 -1
- package-lock.json +94 -94
inc/vk-blocks/build/block-build.js
CHANGED
@@ -25,4 +25,4 @@ object-assign
|
|
25 |
@license MIT
|
26 |
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function l(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,c,i=l(e),s=1;s<arguments.length;s++){for(var u in n=Object(arguments[s]))o.call(n,u)&&(i[u]=n[u]);if(r){c=r(n);for(var p=0;p<c.length;p++)a.call(n,c[p])&&(i[c[p]]=n[c[p]])}}return i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"text"===e.type&&/\r?\n/.test(e.data)&&""===e.data.trim()}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=s(n(65)),l=s(n(66)),c=s(n(72)),i=s(n(73));function s(e){return e&&e.__esModule?e:{default: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}t.default=(u(r={},o.ElementType.Text,a.default),u(r,o.ElementType.Tag,l.default),u(r,o.ElementType.Style,c.default),u(r,o.ElementType.Directive,i.default),u(r,o.ElementType.Comment,i.default),u(r,o.ElementType.Script,i.default),u(r,o.ElementType.CDATA,i.default),u(r,o.ElementType.Doctype,i.default),r)},function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,a=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var l=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,e.exports.once=function(e,t){return new Promise((function(n,r){function o(){void 0!==a&&e.removeListener("error",a),n([].slice.call(arguments))}var a;"error"!==t&&(a=function(n){e.removeListener(t,o),r(n)},e.once("error",a)),e.once(t,o)}))},c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var i=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function p(e,t,n,r){var o,a,l,c;if(s(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),l=a[t]),void 0===l)l=a[t]=n,++e._eventsCount;else if("function"==typeof l?l=a[t]=r?[n,l]:[l,n]:r?l.unshift(n):l.push(n),(o=u(e))>0&&l.length>o&&!l.warned){l.warned=!0;var i=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");i.name="MaxListenersExceededWarning",i.emitter=e,i.type=t,i.count=l.length,c=i,console&&console.warn&&console.warn(c)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function m(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function b(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):v(o,o.length)}function d(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e||e<0||l(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");i=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||l(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return u(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var l;if(t.length>0&&(l=t[0]),l instanceof Error)throw l;var c=new Error("Unhandled error."+(l?" ("+l.message+")":""));throw c.context=l,c}var i=o[e];if(void 0===i)return!1;if("function"==typeof i)a(i,this,t);else{var s=i.length,u=v(i,s);for(n=0;n<s;++n)a(u[n],this,t)}return!0},c.prototype.addListener=function(e,t){return p(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return p(this,e,t,!0)},c.prototype.once=function(e,t){return s(t),this.on(e,m(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,m(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,o,a,l;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){l=n[a].listener,o=a;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,l||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,a=Object.keys(n);for(r=0;r<a.length;++r)"removeListener"!==(o=a[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return b(this,e,!0)},c.prototype.rawListeners=function(e){return b(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},c.prototype.listenerCount=d,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){var r=n(15),o=e.exports=Object.create(r),a={tagName:"name"};Object.keys(a).forEach((function(e){var t=a[e];Object.defineProperty(o,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},function(e,t,n){var r=n(14),o=n(16);function a(e,t){this.init(e,t)}function l(e,t){return o.getElementsByTagName(e,t,!0)}function c(e,t){return o.getElementsByTagName(e,t,!0,1)[0]}function i(e,t,n){return o.getText(o.getElementsByTagName(e,t,n,1)).trim()}function s(e,t,n,r,o){var a=i(n,r,o);a&&(e[t]=a)}n(5)(a,r),a.prototype.init=r;var u=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};a.prototype.onend=function(){var e,t,n={},o=c(u,this.dom);o&&("feed"===o.name?(t=o.children,n.type="atom",s(n,"id","id",t),s(n,"title","title",t),(e=c("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),s(n,"description","subtitle",t),(e=i("updated",t))&&(n.updated=new Date(e)),s(n,"author","email",t,!0),n.items=l("entry",t).map((function(e){var t,n={};return s(n,"id","id",e=e.children),s(n,"title","title",e),(t=c("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=i("summary",e)||i("content",e))&&(n.description=t),(t=i("updated",e))&&(n.pubDate=new Date(t)),n}))):(t=c("channel",o.children).children,n.type=o.name.substr(0,3),n.id="",s(n,"title","title",t),s(n,"link","link",t),s(n,"description","description",t),(e=i("lastBuildDate",t))&&(n.updated=new Date(e)),s(n,"author","managingEditor",t,!0),n.items=l("item",o.children).map((function(e){var t,n={};return s(n,"id","guid",e=e.children),s(n,"title","title",e),s(n,"link","link",e),s(n,"description","description",e),(t=i("pubDate",e))&&(n.pubDate=new Date(t)),n})))),this.dom=n,r.prototype._handleCallback.call(this,o?null:Error("couldn't find root of feed"))},e.exports=a},function(e,t,n){var r=n(4),o=n(46),a=r.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return o(e,t)})).join(""):""},getOuterHTML:o,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):a(t)||t.type===r.CDATA?e(t.children):t.type===r.Text?t.data:""}}},function(e,t,n){var r=n(4),o=n(47),a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};var l={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},c=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",o=0;o<e.length;o++){var a=e[o];"root"===a.type?n+=c(a.children,t):r.isTag(a)?n+=i(a,t):a.type===r.Directive?n+=s(a):a.type===r.Comment?n+=f(a):a.type===r.CDATA?n+=p(a):n+=u(a,t)}return n};function i(e,t){"svg"===e.name&&(t={decodeEntities:t.decodeEntities,xmlMode:!0});var n="<"+e.name,r=function(e,t){if(e){var n,r="";for(var a in e)r&&(r+=" "),r+=a,(null!==(n=e[a])&&""!==n||t.xmlMode)&&(r+='="'+(t.decodeEntities?o.encodeXML(n):n)+'"');return r}}(e.attribs,t);return r&&(n+=" "+r),!t.xmlMode||e.children&&0!==e.children.length?(n+=">",e.children&&(n+=c(e.children,t)),l[e.name]&&!t.xmlMode||(n+="</"+e.name+">")):n+="/>",n}function s(e){return"<"+e.data+">"}function u(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in a||(n=o.encodeXML(n)),n}function p(e){return"<![CDATA["+e.children[0].data+"]]>"}function f(e){return"\x3c!--"+e.data+"--\x3e"}},function(e,t,n){var r=n(48),o=n(49);t.decode=function(e,t){return(!t||t<=0?o.XML:o.HTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?o.XML:o.HTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?r.XML:r.HTML)(e)},t.encodeXML=r.XML,t.encodeHTML4=t.encodeHTML5=t.encodeHTML=r.HTML,t.decodeXML=t.decodeXMLStrict=o.XML,t.decodeHTML4=t.decodeHTML5=t.decodeHTML=o.HTML,t.decodeHTML4Strict=t.decodeHTML5Strict=t.decodeHTMLStrict=o.HTMLStrict,t.escape=r.escape},function(e,t,n){var r=c(n(8)),o=i(r);t.XML=m(r,o);var a=c(n(7)),l=i(a);function c(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function i(e){var t=[],n=[];return Object.keys(e).forEach((function(e){1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.HTML=m(a,l);var s=/[^\0-\x7F]/g,u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function p(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function f(e){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function m(e,t){function n(t){return e[t]}return function(e){return e.replace(t,n).replace(u,f).replace(s,p)}}var b=i(r);t.escape=function(e){return e.replace(b,p).replace(u,f).replace(s,p)}},function(e,t,n){var r=n(7),o=n(13),a=n(8),l=n(12),c=s(a),i=s(r);function s(e){var t=Object.keys(e).join("|"),n=f(e),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(r,n)}}var u=function(){for(var e=Object.keys(o).sort(p),t=Object.keys(r).sort(p),n=0,a=0;n<t.length;n++)e[a]===t[n]?(t[n]+=";?",a++):t[n]+=";";var l=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),c=f(r);function i(e){return";"!==e.substr(-1)&&(e+=";"),c(e)}return function(e){return String(e).replace(l,i)}}();function p(e,t){return e<t?1:-1}function f(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?l(parseInt(t.substr(3),16)):l(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}e.exports={XML:c,HTML:u,HTMLStrict:i}},function(e,t){var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var o=t.parent=e.parent;if(o){var a=o.children;a[a.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var n=e.children[e.children.length-2];n.next=t,t.prev=n,t.next=null}},t.append=function(e,t){var n=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){var o=n.children;o.splice(o.lastIndexOf(r),0,t)}}else n&&n.children.push(t)},t.prepend=function(e,t){var n=e.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},function(e,t,n){var r=n(4).isTag;function o(e,t,n,r){for(var a,l=[],c=0,i=t.length;c<i&&!(e(t[c])&&(l.push(t[c]),--r<=0))&&(a=t[c].children,!(n&&a&&a.length>0&&(a=o(e,a,n,r),l=l.concat(a),(r-=a.length)<=0)));c++);return l}e.exports={filter:function(e,t,n,r){Array.isArray(t)||(t=[t]);"number"==typeof r&&isFinite(r)||(r=1/0);return o(e,t,!1!==n,r)},find:o,findOneChild:function(e,t){for(var n=0,r=t.length;n<r;n++)if(e(t[n]))return t[n];return null},findOne:function e(t,n){for(var o=null,a=0,l=n.length;a<l&&!o;a++)r(n[a])&&(t(n[a])?o=n[a]:n[a].children.length>0&&(o=e(t,n[a].children)));return o},existsOne:function e(t,n){for(var o=0,a=n.length;o<a;o++)if(r(n[o])&&(t(n[o])||n[o].children.length>0&&e(t,n[o].children)))return!0;return!1},findAll:function e(t,n){for(var o=[],a=0,l=n.length;a<l;a++)r(n[a])&&(t(n[a])&&o.push(n[a]),n[a].children.length>0&&(o=o.concat(e(t,n[a].children))));return o}}},function(e,t,n){var r=n(4),o=t.isTag=r.isTag;t.testElement=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){if("tag_name"===n){if(!o(t)||!e.tag_name(t.name))return!1}else if("tag_type"===n){if(!e.tag_type(t.type))return!1}else if("tag_contains"===n){if(o(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[n](t.attribs[n]))return!1}else;return!0};var a={tag_name:function(e){return"function"==typeof e?function(t){return o(t)&&e(t.name)}:"*"===e?o:function(t){return o(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!o(t)&&e(t.data)}:function(t){return!o(t)&&t.data===e}}};function l(e,t){return"function"==typeof t?function(n){return n.attribs&&t(n.attribs[e])}:function(n){return n.attribs&&n.attribs[e]===t}}function c(e,t){return function(n){return e(n)||t(n)}}t.getElements=function(e,t,n,r){var o=Object.keys(e).map((function(t){var n=e[t];return t in a?a[t](n):l(t,n)}));return 0===o.length?[]:this.filter(o.reduce(c),t,n,r)},t.getElementById=function(e,t,n){return Array.isArray(t)||(t=[t]),this.findOne(l("id",e),t,!1!==n)},t.getElementsByTagName=function(e,t,n,r){return this.filter(a.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return this.filter(a.tag_type(e),t,n,r)}},function(e,t){t.removeSubsets=function(e){for(var t,n,r,o=e.length;--o>-1;){for(t=n=e[o],e[o]=null,r=!0;n;){if(e.indexOf(n)>-1){r=!1,e.splice(o,1);break}n=n.parent}r&&(e[o]=t)}return e};var n=1,r=2,o=4,a=8,l=16,c=t.compareDocumentPosition=function(e,t){var c,i,s,u,p,f,m=[],b=[];if(e===t)return 0;for(c=e;c;)m.unshift(c),c=c.parent;for(c=t;c;)b.unshift(c),c=c.parent;for(f=0;m[f]===b[f];)f++;return 0===f?n:(s=(i=m[f-1]).children,u=m[f],p=b[f],s.indexOf(u)>s.indexOf(p)?i===t?o|l:o:i===e?r|a:r)};t.uniqueSort=function(e){var t,n,a=e.length;for(e=e.slice();--a>-1;)t=e[a],(n=e.indexOf(t))>-1&&n<a&&e.splice(a,1);return e.sort((function(e,t){var n=c(e,t);return n&r?-1:n&o?1:0})),e}},function(e,t,n){e.exports=o;var r=n(17);function o(e){r.call(this,new a(this),e)}function a(e){this.scope=e}n(5)(o,r),o.prototype.readable=!0;var l=n(3).EVENTS;Object.keys(l).forEach((function(e){if(0===l[e])a.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===l[e])a.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==l[e])throw Error("wrong number of arguments!");a.prototype["on"+e]=function(t,n){this.scope.emit(e,t,n)}}}))},function(e,t){},function(e,t,n){"use strict";var r=n(58).Buffer,o=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=i,this.end=s,t=4;break;case"utf8":this.fillLast=c,t=4;break;case"base64":this.text=u,this.end=p,t=3;break;default:return this.write=f,void(this.end=m)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function c(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function i(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function s(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function m(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},a.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var o=l(t[r]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--r<n||-2===o)return 0;if((o=l(t[r]))>=0)return o>0&&(e.lastNeed=o-2),o;if(--r<n||-2===o)return 0;if((o=l(t[r]))>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){
|
27 |
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
28 |
-
var r=n(18),o=r.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function l(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=l),l.prototype=Object.create(o.prototype),a(o,l),l.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},l.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},l.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},l.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=s(e),l=r[0],c=r[1],i=new a(function(e,t,n){return 3*(t+n)/4-n}(0,l,c)),u=0,p=c>0?l-4:l;for(n=0;n<p;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],i[u++]=t>>16&255,i[u++]=t>>8&255,i[u++]=255&t;2===c&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,i[u++]=255&t);1===c&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,i[u++]=t>>8&255,i[u++]=255&t);return i},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,a=[],l=0,c=n-o;l<c;l+=16383)a.push(u(e,l,l+16383>c?c:l+16383));1===o?(t=e[n-1],a.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],a.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return a.join("")};for(var r=[],o=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,i=l.length;c<i;++c)r[c]=l[c],o[l.charCodeAt(c)]=c;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var o,a,l=[],c=t;c<n;c+=3)o=(e[c]<<16&16711680)+(e[c+1]<<8&65280)+(255&e[c+2]),l.push(r[(a=o)>>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return l.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,o){var a,l,c=8*o-r-1,i=(1<<c)-1,s=i>>1,u=-7,p=n?o-1:0,f=n?-1:1,m=e[t+p];for(p+=f,a=m&(1<<-u)-1,m>>=-u,u+=c;u>0;a=256*a+e[t+p],p+=f,u-=8);for(l=a&(1<<-u)-1,a>>=-u,u+=r;u>0;l=256*l+e[t+p],p+=f,u-=8);if(0===a)a=1-s;else{if(a===i)return l?NaN:1/0*(m?-1:1);l+=Math.pow(2,r),a-=s}return(m?-1:1)*l*Math.pow(2,a-r)},t.write=function(e,t,n,r,o,a){var l,c,i,s=8*a-o-1,u=(1<<s)-1,p=u>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,m=r?0:a-1,b=r?1:-1,d=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,l=u):(l=Math.floor(Math.log(t)/Math.LN2),t*(i=Math.pow(2,-l))<1&&(l--,i*=2),(t+=l+p>=1?f/i:f*Math.pow(2,1-p))*i>=2&&(l++,i/=2),l+p>=u?(c=0,l=u):l+p>=1?(c=(t*i-1)*Math.pow(2,o),l+=p):(c=t*Math.pow(2,p-1)*Math.pow(2,o),l=0));o>=8;e[n+m]=255&c,m+=b,c/=256,o-=8);for(l=l<<o|c,s+=o;s>0;e[n+m]=255&l,m+=b,l/=256,s-=8);e[n+m-b]|=128*d}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){function r(e){this._cbs=e||{}}e.exports=r;var o=n(3).EVENTS;Object.keys(o).forEach((function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this._cbs[e]&&this._cbs[e](t,n)}}}))},function(e,t,n){function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var o=n(3).EVENTS;Object.keys(o).forEach((function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this.events.push([e,t,n]),this._cbs[e]&&this._cbs[e](t,n)}}})),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var n=this.events[e].length;1===n?this._cbs[this.events[e][0]]():2===n?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.data}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var i=e.name;if(!(0,c.default)(i))return null;var s=(0,a.default)(e.attribs,t),u=null;-1===l.default.indexOf(i)&&(u=(0,o.default)(e.children,n));return r.default.createElement(i,s,u)};var r=i(n(0)),o=i(n(6)),a=i(n(19)),l=i(n(71)),c=i(n(20));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).filter((function(e){return(0,a.default)(e)})).reduce((function(t,n){var a=n.toLowerCase(),l=o.default[a]||a;return t[l]=function(e,t){r.default.map((function(e){return e.toLowerCase()})).indexOf(e.toLowerCase())>=0&&(t=e);return t}(l,e[n]),t}),{})};var r=l(n(68)),o=l(n(69)),a=l(n(20));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(""===e)return{};return e.split(";").reduce((function(e,t){var n=t.split(/^([^:]+):/).filter((function(e,t){return t>0})).map((function(e){return e.trim().toLowerCase()})),o=r(n,2),a=o[0],l=o[1];return void 0===l||(e[a=a.replace(/^-ms-/,"ms-").replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))]=l),e}),{})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=void 0;e.children.length>0&&(n=e.children[0].data);var a=(0,o.default)(e.attribs,t);return r.default.createElement("style",a,n)};var r=a(n(0)),o=a(n(19));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.decodeEntities,a=void 0===n||n,l=t.transform,c=t.preprocessNodes,i=void 0===c?function(e){return e}:c,s=i(r.default.parseDOM(e,{decodeEntities:a}));return(0,o.default)(s,l)};var r=a(n(3)),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t){var n=wp.i18n.__;wp.blocks.registerBlockStyle("core/image",[{name:"vk-image-border",label:n("Border","vk-blocks")},{name:"vk-image-photoFrame",label:n("Photo frame","vk-blocks")},{name:"vk-image-photoFrame-tilt-right",label:n("Photo frame Tilt Right","vk-blocks")},{name:"vk-image-photoFrame-tilt-left",label:n("Photo frame Tilt Left","vk-blocks")},{name:"vk-image-shadow",label:n("Shadow","vk-blocks")},{name:"vk-image-wave01",label:n("Wave01","vk-blocks")},{name:"vk-image-wave02",label:n("Wave02","vk-blocks")},{name:"vk-image-wave03",label:n("Wave03","vk-blocks")},{name:"vk-image-wave04",label:n("Wave04","vk-blocks")}])},function(e,t){var n=wp.i18n.__,r=wp.richText,o=r.registerFormatType,a=(r.toggleFormat,r.insertObject,r.insert),l=wp.blockEditor,c=(l.RichTextToolbarButton,l.BlockControls),i=wp.components,s=i.Toolbar,u=(i.ToolbarButton,i.DropdownMenu),p=["xs","sm","md","lg","xl","xxl"];o("vk-blocks/responsive-br",{title:n("Responsive Br","vk-blocks"),tagName:"br",className:null,edit:function(e){var t=e.onChange,r=e.value;return React.createElement(c,null,React.createElement(s,{label:"Options"},React.createElement(u,{icon:"editor-break",label:"Select a direction",controls:p.map((function(e){return{title:n("Responsive BR ","vk-blocks")+"( ".concat(e," )"),icon:"editor-break",onClick:function(){!function(e,n){t(a(e,"[br-".concat(n,"]"),e.start,e.end))}(r,e)}}}))})))}})},function(e,t,n){"use strict";n.r(t);var r={};function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.r(r),n.d(r,"name",(function(){return sp})),n.d(r,"settings",(function(){return up}));var l=wp.components.ToggleControl,c=wp.element.useState,i=function(e){var t=e.initialFixedTable,n=e.label,r=e.helpYes,a=e.helpNo,i=e.schema,s=e.setAttributes,u=o(c(t),2),p=u[0],f=u[1];return React.createElement(l,{label:n,help:p?r:a,checked:p,onChange:function(){var e,t,n;f(!p),s((n=!p,(t=i)in(e={})?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e))}})},s=n(2),u=n.n(s);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(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){b(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 b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=wp.i18n.__,v=wp.element.Fragment,h=wp.hooks.addFilter,_=wp.components,g=_.PanelBody,k=_.BaseControl,y=(wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor).InspectorControls,w=wp.compose.createHigherOrderComponent,E=function(e,t){return-1!==e.indexOf(t)},x=function(e){var t=void 0!==["core","vk-blocks"].find((function(t){return E(e,t)}));return void 0!==["core/calendar","core/latest-comments","core/archives","core/tag-cloud","core/shortcode","core/rss","core/rss","vk-blocks/card-item","vk-blocks/icon-card-item"].find((function(t){return E(e,t)}))&&(t=!1),t};5.3<=parseFloat(wpVersion)&&(h("blocks.registerBlockType","vk-blocks/hidden-extension",(function(e){return x(e.name)&&(e.attributes=m(m({},e.attributes),{vkb_hidden:{type:"boolean",default:!1},vkb_hidden_xxl:{type:"boolean",default:!1},vkb_hidden_xl_v2:{type:"boolean",default:!1},vkb_hidden_xl:{type:"boolean",default:!1},vkb_hidden_lg:{type:"boolean",default:!1},vkb_hidden_md:{type:"boolean",default:!1},vkb_hidden_sm:{type:"boolean",default:!1},vkb_hidden_xs:{type:"boolean",default:!1}})),e})),wp.hooks.addFilter("editor.BlockEdit","vk-blocks/hidden-extension",w((function(e){return function(t){return x(t.name)?(t.attributes.vkb_hidden_xl&&!t.attributes.vkb_hidden_xxl&&(t.attributes.vkb_hidden_xxl=!0,t.attributes.vkb_hidden_xl_v2=!0,t.attributes.vkb_hidden_xl=!1),React.createElement(v,null,React.createElement(e,t),React.createElement(y,null,React.createElement(g,{title:d("Hidden Settings","vk-blocks"),initialOpen:!1},React.createElement(k,{label:d("Hidden at screel size","vk-blocks")},React.createElement("p",null,d("Note : This function is display hidden only. Actually Block is output to HTML.Pleade don't use you must not bisible item.Don't use it for blocks you really don't want to display.","vk-blocks")),React.createElement(i,p({label:d("Hidden ( Screen size : all )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden,schema:"vkb_hidden"},t)),React.createElement(i,p({label:d("Hidden ( Screen size : xs )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden_xs,schema:"vkb_hidden_xs"},t)),React.createElement(i,p({label:d("Hidden ( Screen size : sm )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden_sm,schema:"vkb_hidden_sm"},t)),React.createElement(i,p({label:d("Hidden ( Screen size : md )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden_md,schema:"vkb_hidden_md"},t)),React.createElement(i,p({label:d("Hidden ( Screen size : lg )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden_lg,schema:"vkb_hidden_lg"},t)),React.createElement(i,p({label:d("Hidden ( Screen size : xl )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden_xl_v2,schema:"vkb_hidden_xl_v2"},t)),React.createElement(i,p({label:d("Hidden ( Screen size : xxl )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden_xxl,schema:"vkb_hidden_xxl"},t)),React.createElement("p",null,d("If you want to hide multiple blocks, that first you set to group block and the next, hide for the that group block.","vk-blocks"))))))):React.createElement(e,t)}}),"addHiddenSection")),wp.hooks.addFilter("blocks.getSaveElement","vk-blocks/hidden-extension",(function(e,t,n){var r=n.vkb_hidden,o=n.vkb_hidden_xxl,a=n.vkb_hidden_xl_v2,l=n.vkb_hidden_xl,c=n.vkb_hidden_lg,i=n.vkb_hidden_md,s=n.vkb_hidden_sm,p=n.vkb_hidden_xs;if(r||o||a||l||c||i||s||p){var f=r&&"vk_hidden",b=o&&"vk_hidden-xxl",d=a&&"vk_hidden-xl-v2",v=l&&"vk_hidden-xl",h=c&&"vk_hidden-lg",_=i&&"vk_hidden-md",g=s&&"vk_hidden-sm",k=p&&"vk_hidden-xs";e&&(e=m(m({},e),{props:m(m({},e.props),{className:u()(e.props.className,f,b,d,v,h,_,g,k)})}))}return e})),wp.hooks.addFilter("editor.BlockListBlock","vk-blocks/hidden-extension",w((function(e){return function(t){var n=t.attributes.vkb_hidden_xxl||t.attributes.vkb_hidden_xl_v2||t.attributes.vkb_hidden_xl||t.attributes.vkb_hidden_lg||t.attributes.vkb_hidden_md||t.attributes.vkb_hidden_sm||t.attributes.vkb_hidden_xs||t.attributes.vkb_hidden?"vk_edit_hidden_warning":"",r=t.attributes.vkb_hidden?n+" vk_edit_hidden_all":n,o=u()(r,t.className);return React.createElement(e,p({},t,{className:o}))}}),"addHiddenWarning")));n(36);var R=lodash.assign,C=wp.i18n.__,N=wp.hooks.addFilter;N("blocks.registerBlockType","vk-blocks/heading-style",(function(e){var t;return t=e.name,["core/heading"].includes(t)&&(e.attributes=R(e.attributes,{color:{type:"string"}})),e})),wp.blocks.registerBlockStyle("core/heading",[{name:"vk-heading-default",label:C("Default","vk-blocks"),isDefault:!0},{name:"vk-heading-plain",label:C("Plain","vk-blocks")},{name:"vk-heading-background_fill_lightgray",label:C("Background fill lightgray","vk-blocks")},{name:"vk-heading-double_black",label:C("Double border top and bottom black","vk-blocks")},{name:"vk-heading-double_bottomborder_black",label:C("Double border bottom black","vk-blocks")},{name:"vk-heading-solid_black",label:C("Solid border top and bottom black","vk-blocks")},{name:"vk-heading-solid_bottomborder_black",label:C("Solid border bottom black","vk-blocks")},{name:"vk-heading-dotted_bottomborder_black",label:C("Dotted border bottom black","vk-blocks")},{name:"vk-heading-both_ends",label:C("Both ends","vk-blocks")},{name:"vk-heading-brackets_black",label:C("Brackets black","vk-blocks")}]);var S=function(e){switch(e){case"#f78da7":return"vk-has-pale-pink-color";case"#cf2e2e":return"vk-has-vivid-red-color";case"#ff6900":return"vk-has-luminous-vivid-orange-color";case"#fcb900":return"vk-has-luminous-vivid-amber-color";case"#7bdcb5":return"vk-has-light-green-cyan-color";case"#00d084":return"vk-has-vivid-green-cyan-color";case"#8ed1fc":return"vk-has-pale-cyan-blue-color";case"#0693e3":return"vk-has-vivid-cyan-blue-color";case"#9b51e0":return"vk-has-vivid-purple-color";case"#eee":return"vk-has-very-light-gray-color";case"#abb8c3":return"vk-has-cyan-bluish-gray-color";case"#313131":return"vk-has-very-dark-gray-color"}},T=wp.data,A=T.select,B=T.dispatch,O=wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,I=(A("core/block-editor")?A("core/block-editor"):A("core/editor"),B("core/block-editor")?B("core/block-editor"):B("core/editor"),function(e){return function(e){try{JSON.parse(e)}catch(e){return!1}return!0}(e)||(e=e.replace(/u0022/g,'"')),e}),P=lodash.assign,j=wp.i18n.__,L=wp.element.Fragment,z=wp.hooks.addFilter,q=wp.components.PanelBody,M=O.InspectorControls,D=O.ColorPalette,H=wp.compose.createHigherOrderComponent,U=function(e){return["core/group"].includes(e)};z("blocks.registerBlockType","vk-blocks/group-style",(function(e){return U(e.name)&&(e.attributes=P(e.attributes,{color:{type:"string"}})),e})),z("editor.BlockEdit","vk-blocks/group-style",H((function(e){var t="";return function(n){return U(n.name)&&n.isSelected?(t=n.attributes.color?n.attributes.color:"#fffd6b",React.createElement(L,null,React.createElement(e,n),React.createElement(M,null,React.createElement(q,{title:j("Border Color","vk-blocks"),initialOpen:!1,className:"group-border-color-controle"},React.createElement(D,{value:t,disableCustomColors:!0,onChange:function(e){var r=S(e);if(n.attributes.className){var o=n.attributes.className,a=(o=o.split(" ")).filter((function(e){return-1===e.indexOf("vk-has-")}));a.push(r),r=a.join(" ")}t=e,n.setAttributes({className:r,color:e})}}))))):React.createElement(e,n)}}),"addMyCustomBlockControls")),wp.blocks.registerBlockStyle("core/group",[{name:"vk-group-solid",label:j("Solid","vk-blocks")},{name:"vk-group-solid-roundcorner",label:j("Solid Roundcorner","vk-blocks")},{name:"vk-group-dotted",label:j("Dotted","vk-blocks")},{name:"vk-group-dashed",label:j("Dashed","vk-blocks")},{name:"vk-group-double",label:j("Double","vk-blocks")},{name:"vk-group-stitch",label:j("Stitch","vk-blocks")},{name:"vk-group-top-bottom-border",label:j("Border Top Bottom","vk-blocks")},{name:"vk-group-shadow",label:j("Shadow","vk-blocks")},{name:"vk-group-alert-info",label:j("Info","vk-blocks")},{name:"vk-group-alert-success",label:j("Success","vk-blocks")},{name:"vk-group-alert-warning",label:j("Warning","vk-blocks")},{name:"vk-group-alert-danger",label:j("Danger","vk-blocks")}]);var F=lodash.assign,V=wp.i18n.__,Y=wp.element.Fragment,G=wp.hooks.addFilter,W=wp.components.PanelBody,J=wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,$=J.InspectorControls,X=J.ColorPalette,Q=wp.compose.createHigherOrderComponent,K=function(e){return["core/list"].includes(e)};function Z(e,t){var n=e.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i),r=null;return n&&(r=n.slice(1,4).map((function(e){return parseInt(e,16)}))),(n=e.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i))&&(r=n.slice(1,4).map((function(e){return 17*parseInt(e,16)}))),r?"rgba(".concat(r[0],", ").concat(r[1],", ").concat(r[2],", ").concat(t,")"):null}G("blocks.registerBlockType","vk-blocks/list-style",(function(e){return K(e.name)&&(e.attributes=F(e.attributes,{color:{type:"string"}})),e})),G("editor.BlockEdit","vk-blocks/list-style",Q((function(e){var t="";return function(n){return K(n.name)&&n.isSelected?(t=n.attributes.color?n.attributes.color:"#fffd6b",React.createElement(Y,null,React.createElement(e,n),React.createElement($,null,React.createElement(W,{title:V("List Icon Color","vk-blocks"),initialOpen:!1,className:"list-color-controle"},React.createElement(X,{value:t,disableCustomColors:!0,onChange:function(e){var r=S(e);if(n.attributes.className){var o=n.attributes.className,a=(o=o.split(" ")).filter((function(e){return-1===e.indexOf("vk-has-")}));a.push(r),r=a.join(" ")}t=e,n.setAttributes({className:r,color:e})}}))))):React.createElement(e,n)}}),"addMyCustomBlockControls")),wp.blocks.registerBlockStyle("core/list",[{name:"vk-default",label:V("Default","vk-blocks"),isDefault:!0},{name:"vk-arrow-mark",label:V("Arrow","vk-blocks")},{name:"vk-triangle-mark",label:V("Triangle","vk-blocks")},{name:"vk-check-mark",label:V("Check","vk-blocks")},{name:"vk-check-square-mark",label:V("Check Square","vk-blocks")},{name:"vk-check-circle-mark",label:V("Check Circle","vk-blocks")},{name:"vk-handpoint-mark",label:V("Handpoint","vk-blocks")},{name:"vk-pencil-mark",label:V("Pencil","vk-blocks")},{name:"vk-smile-mark",label:V("Smile","vk-blocks")},{name:"vk-frown-mark",label:V("Frown","vk-blocks")},{name:"vk-numbered-circle-mark",label:V("Numbered Circle","vk-blocks")},{name:"vk-numbered-square-mark",label:V("Numbered Square","vk-blocks")}]);var ee=wp.i18n.__,te=window.wp.richText,ne=te.registerFormatType,re=te.toggleFormat,oe=te.applyFormat,ae=te.removeFormat,le=te.getActiveFormat,ce=wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,ie=ce.RichTextToolbarButton,se=ce.RichTextShortcut,ue=ce.InspectorControls,pe=ce.PanelColorSettings,fe=(ce.getColorObjectByColorValue,wp.element.Fragment),me="vk-blocks/highlighter",be=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},React.createElement("path",{d:"M26.9,462.2l104.7,39.6l34-34l-73.2-73.2L26.9,462.2z M146.5,231.8c-10.3,9.1-14.4,23.4-10.4,36.6l12.5,41.1l-48.9,48.9 L201,459.6l48.8-48.8l41,12.6c13.2,4,27.5,0,36.6-10.3l27.3-29.1L175.5,204.6L146.5,231.8L146.5,231.8z M533.7,122.3L437,25.7 C417.4,6,385.8,5,364.9,23.4L201,186.6l171.8,171.8l163.1-163.9C554.3,173.6,553.3,142,533.7,122.3L533.7,122.3z"}));function de(e){return(de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _e(e,t){return(_e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ye(e);if(t){var o=ye(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ke(this,n)}}function ke(e,t){return!t||"object"!==de(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}ne(me,{title:ee("Highlighter","vk-blocks"),tagName:"span",className:"vk_highlighter",attributes:{data:"data-color",style:"style"},edit:function(e){var t,n=e.value,r=e.isActive,o=e.onChange;if(r){var a=le(n,me);t=a.attributes.data}var l=function(e){e=function(e){return void 0===e&&(e="#fffd6b"),e}(e),o(re(n,{type:me,attributes:{data:e,style:"background: linear-gradient(transparent 60%,".concat(Z(e,.7)," 0);")}}))};return React.createElement(fe,null,React.createElement(ue,null,React.createElement(pe,{title:ee("Highlighter","vk-blocks"),initialOpen:!1,colorSettings:[{value:t,onChange:function(e){o(e?oe(n,{type:me,attributes:{data:e,style:"background: linear-gradient(transparent 60%,".concat(Z(e,.7)," 0);")}}):ae(n,me))},label:ee("Highlight Color","vk-blocks")}]})),React.createElement(se,{type:"primary",character:"h",onUse:function(){return l(t)}}),React.createElement(ie,{icon:be,title:ee("Highlighter","vk-blocks"),onClick:function(){return l(t)},isActive:r,shortcutType:"primary",shortcutCharacter:"h"}))}});var we=wp.i18n.__,Ee=O.RichText,xe=O.MediaUpload,Re=wp.components.Button,Ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_e(e,t)}(a,e);var t,n,r,o=ge(a);function a(){return ve(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.vk_staff_text_name,n=e.vk_staff_text_caption,r=e.vk_staff_text_role,o=e.vk_staff_text_profileTitle,a=e.vk_staff_text_profileText,l=e.vk_staff_photo_image,c=e.vk_staff_photo_image_alt,i=e.vk_staff_layout,s=e.vk_staff_nameColor,u=e.vk_staff_captionColor,p=e.vk_staff_positionColor,f=e.vk_staff_profileTitleColor,m=e.vk_staff_profileTextColor,b=e.vk_staff_photoBorder,d=this.props.setAttributes,v=this.props.className,h=this.props.for_,_="";return"edit"===h?_=React.createElement("div",{className:"".concat(v," vk_staff vk_staff-layout-").concat(i)},React.createElement("div",{className:"vk_staff_text"},React.createElement(Ee,{tagName:"h3",className:"vk_staff_text_name",style:{color:s},onChange:function(e){return d({vk_staff_text_name:e})},value:t,placeholder:we("Your Name","vk-blocks")}),React.createElement(Ee,{tagName:"p",className:"vk_staff_text_caption",style:{color:u},onChange:function(e){return d({vk_staff_text_caption:e})},value:n,placeholder:we("Caption","vk-blocks")}),React.createElement(Ee,{tagName:"p",className:"vk_staff_text_role",style:{color:p},onChange:function(e){return d({vk_staff_text_role:e})},value:r,placeholder:we("Role position","vk-blocks")}),React.createElement(Ee,{tagName:"h4",className:"vk_staff_text_profileTitle",style:{color:f},onChange:function(e){return d({vk_staff_text_profileTitle:e})},value:o,placeholder:we("Profile title","vk-blocks")}),React.createElement(Ee,{tagName:"p",className:"vk_staff_text_profileText",style:{color:m},onChange:function(e){return d({vk_staff_text_profileText:e})},value:a,placeholder:we("Profile text","vk-blocks")})),React.createElement("div",{className:"vk_staff_photo vk_staff_photo-border-".concat(b)},React.createElement(xe,{onSelect:function(e){return d({vk_staff_photo_image:e.sizes.full.url})},type:"image",className:"vk_staff_photo_image",value:l,render:function(e){var t=e.open;return React.createElement(Re,{onClick:t,className:l?"image-button":"button button-large"},l?React.createElement("img",{className:"vk_staff_photo_image",src:l,alt:we(c,"vk-blocks")}):we("Select image","vk-blocks"))}}))):"save"===h&&(_=React.createElement("div",{className:"".concat(v," vk_staff vk_staff-layout-").concat(i)},React.createElement("div",{className:"vk_staff_text"},React.createElement(Ee.Content,{tagName:"h3",className:"vk_staff_text_name",style:{color:s},value:t}),React.createElement(Ee.Content,{tagName:"p",className:"vk_staff_text_caption",style:{color:u},value:n}),React.createElement(Ee.Content,{tagName:"p",className:"vk_staff_text_role",style:{color:p},value:r}),React.createElement(Ee.Content,{tagName:"h4",className:"vk_staff_text_profileTitle",style:{color:f},value:o}),React.createElement(Ee.Content,{tagName:"p",className:"vk_staff_text_profileText",style:{color:m},value:a})),l?React.createElement("div",{className:"vk_staff_photo vk_staff_photo-border-".concat(b)},React.createElement("img",{className:"vk_staff_photo_image",src:l,alt:c?we(c,"vk-blocks"):""})):"")),_}}])&&he(t.prototype,n),r&&he(t,r),a}(wp.element.Component),Ne=wp.i18n.__,Se=Ne("Lorem ipsum dolor","vk-blocks"),Te=Ne("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ","vk-blocks"),Ae=Ne("Lorem ipsum","vk-blocks"),Be='<i class="fas fa-user"></i>',Oe="https://demo.dev3.biz/lightning-pro/wp-content/uploads/2018/02/agent-18762_1920-200x300.jpg",Ie=('{"alt":"Example Image","sizes":{"full":{"url":"'.concat(Oe,'"}}}'),Ne("Theoretical Physicist","vk-blocks")),Pe=Ne("Profile","vk-blocks"),je=Ne("Albert Einstein","vk-blocks"),Le=Ne("14 March 1879 – 18 April 1955","vk-blocks"),ze=(wp.i18n.__,{attributes:{vk_staff_text_name:je,vk_staff_text_caption:Le,vk_staff_text_role:Ie,vk_staff_text_profileTitle:Pe,vk_staff_text_profileText:Te,vk_staff_photo_image:Oe,vk_staff_layout:"default",vk_staff_nameColor:"inherit",vk_staff_captionColor:"inherit",vk_staff_positionColor:"inherit",vk_staff_profileTitleColor:"inherit",vk_staff_profileTextColor:"inherit",vk_staff_photoBorder:"default"}}),qe=n(21),Me=n.n(qe),De=wp.i18n.__,He=wp.blocks.registerBlockType,Ue=wp.components,Fe=Ue.TextControl,Ve=Ue.PanelBody,Ye=Ue.BaseControl,Ge=Ue.SelectControl,We=wp.element.Fragment,Je=O.InspectorControls,$e=O.ColorPalette;He("vk-blocks/staff",{title:De("Staff","vk-blocks"),icon:React.createElement(Me.a,null),category:"vk-blocks-cat",attributes:{vk_staff_text_name:{type:"string",source:"html",selector:"h3"},vk_staff_text_caption:{type:"string",source:"html",selector:"p.vk_staff_text_caption"},vk_staff_text_role:{type:"string",source:"html",selector:"p.vk_staff_text_role"},vk_staff_text_profileTitle:{type:"string",source:"html",selector:"h4"},vk_staff_text_profileText:{type:"string",source:"html",selector:"p.vk_staff_text_profileText"},vk_staff_photo_image:{type:"string",default:""},vk_staff_photo_image_alt:{type:"string",default:"Profile Picture"},vk_staff_layout:{type:"string",default:"default"},vk_staff_nameColor:{type:"string",default:"inherit"},vk_staff_captionColor:{type:"string",default:"inherit"},vk_staff_positionColor:{type:"string",default:"inherit"},vk_staff_profileTitleColor:{type:"string",default:"inherit"},vk_staff_profileTextColor:{type:"string",default:"inherit"},vk_staff_photoBorder:{type:"string",default:"default"}},example:ze,edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.vk_staff_photo_image_alt,a=t.vk_staff_layout,l=t.vk_staff_nameColor,c=t.vk_staff_captionColor,i=t.vk_staff_positionColor,s=t.vk_staff_profileTitleColor,u=t.vk_staff_profileTextColor,p=t.vk_staff_photoBorder;return React.createElement(We,null,React.createElement(Je,null,React.createElement(Ve,{title:De("Layout","vk-blocks")},React.createElement(Ge,{value:a,onChange:function(e){return n({vk_staff_layout:e})},options:[{value:"default",label:De("Default","vk-blocks")},{value:"imageLeft",label:De("Image left","vk-blocks")}]})),React.createElement(Ve,{title:De("Image border","vk-blocks")},React.createElement(Ge,{value:p,onChange:function(e){return n({vk_staff_photoBorder:e})},options:[{value:"default",label:De("Default","vk-blocks")},{value:"none",label:De("None","vk-blocks")}]})),React.createElement(Ve,{title:De("Alt text","vk-blocks")},React.createElement(Ye,{help:De("Set the alt text for profile image","vk-blocks")},React.createElement(Fe,{value:o,onChange:function(e){return n({vk_staff_photo_image_alt:e})}}))),React.createElement(Ve,{title:De("Color","vk-blocks")},React.createElement(Ye,{label:De("Staff name","vk-blocks")},React.createElement($e,{value:l,onChange:function(e){return n({vk_staff_nameColor:e})}})),React.createElement(Ye,{label:De("Name caption","vk-blocks")},React.createElement($e,{value:c,onChange:function(e){return n({vk_staff_captionColor:e})}})),React.createElement(Ye,{label:De("Role position","vk-blocks")},React.createElement($e,{value:i,onChange:function(e){return n({vk_staff_positionColor:e})}})),React.createElement(Ye,{label:De("Profile title","vk-blocks")},React.createElement($e,{value:s,onChange:function(e){return n({vk_staff_profileTitleColor:e})}})),React.createElement(Ye,{label:De("Profile text","vk-blocks")},React.createElement($e,{value:u,onChange:function(e){return n({vk_staff_profileTextColor:e})}})))),React.createElement(Ce,{attributes:t,setAttributes:n,className:r,for_:"edit"}))},save:function(e){var t=e.attributes;return React.createElement(Ce,{attributes:t,setAttributes:"",className:"",for_:"save"})}});var Xe=n(0),Qe=n.n(Xe);function Ke(e){return(Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ze(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tt(e,t){return(tt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function nt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}function rt(e,t){return!t||"object"!==Ke(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var at=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tt(e,t)}(a,e);var t,n,r,o=nt(a);function a(){return Ze(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.anchor,n=e.spaceType,r=e.unit,o=e.pc,a=e.tablet,l=e.mobile,c=this.props.className;return"height"===n?Qe.a.createElement("div",{id:t,className:u()("vk_spacer",c)},Qe.a.createElement("div",{className:"vk_spacer-display-pc",style:{height:o+r}}),Qe.a.createElement("div",{className:"vk_spacer-display-tablet",style:{height:a+r}}),Qe.a.createElement("div",{className:"vk_spacer-display-mobile",style:{height:l+r}})):"margin-top"===n?Qe.a.createElement("div",{id:t,className:u()("vk_spacer",c)},Qe.a.createElement("div",{className:"vk_spacer-display-pc",style:{marginTop:o+r}}),Qe.a.createElement("div",{className:"vk_spacer-display-tablet",style:{marginTop:a+r}}),Qe.a.createElement("div",{className:"vk_spacer-display-mobile",style:{marginTop:l+r}})):void 0}}])&&et(t.prototype,n),r&&et(t,r),a}(Qe.a.Component);function lt(e){return(lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function st(e,t,n){return t&&it(e.prototype,t),n&&it(e,n),e}function ut(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pt(e,t)}function pt(e,t){return(pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ft(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=bt(e);if(t){var o=bt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return mt(this,n)}}function mt(e,t){return!t||"object"!==lt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function bt(e){return(bt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var dt=function(e){ut(n,e);var t=ft(n);function n(){return ct(this,n),t.apply(this,arguments)}return st(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.unit,n=e.pc,r=e.tablet,o=e.mobile;return Qe.a.createElement("div",{className:"vk_spacer"},Qe.a.createElement("div",{className:"vk_spacer-display-pc",style:{height:n+t}}),Qe.a.createElement("div",{className:"vk_spacer-display-tablet",style:{height:r+t}}),Qe.a.createElement("div",{className:"vk_spacer-display-mobile",style:{height:o+t}}))}}]),n}(Qe.a.Component),vt=function(e){ut(n,e);var t=ft(n);function n(){return ct(this,n),t.apply(this,arguments)}return st(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.unit,n=e.pc,r=e.tablet,o=e.mobile,a=this.props.className;return Qe.a.createElement("div",{className:"".concat(a," vk_spacer")},Qe.a.createElement("div",{className:"vk_spacer-display-pc",style:{height:n+t}}),Qe.a.createElement("div",{className:"vk_spacer-display-tablet",style:{height:r+t}}),Qe.a.createElement("div",{className:"vk_spacer-display-mobile",style:{height:o+t}}))}}]),n}(Qe.a.Component),ht=function(e){ut(n,e);var t=ft(n);function n(){return ct(this,n),t.apply(this,arguments)}return st(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.anchor,n=e.unit,r=e.pc,o=e.tablet,a=e.mobile,l=this.props.className;return Qe.a.createElement("div",{id:t,className:u()("vk_spacer",l)},Qe.a.createElement("div",{className:"vk_spacer-display-pc",style:{height:r+n}}),Qe.a.createElement("div",{className:"vk_spacer-display-tablet",style:{height:o+n}}),Qe.a.createElement("div",{className:"vk_spacer-display-mobile",style:{height:a+n}}))}}]),n}(Qe.a.Component),_t={unit:{type:"string",default:"px"},pc:{type:"number",default:50},tablet:{type:"number",default:10},mobile:{type:"number",default:10}},gt=[{attributes:_t,save:function(e){var t=e.attributes;return Qe.a.createElement(vt,{attributes:t})}},{attributes:_t,save:function(e){var t=e.attributes;return Qe.a.createElement(dt,{attributes:t})}},{attributes:{anchor:{type:"string",default:null},unit:{type:"string",default:"px"},pc:{type:"number",default:40},tablet:{type:"number",default:30},mobile:{type:"number",default:20}},save:function(e){var t=e.attributes;return Qe.a.createElement(ht,{attributes:t})}}],kt=wp.i18n.__,yt=wp.components.SelectControl,wt=function(e){var t=e.attributes,n=e.setAttributes,r=t.spaceType;return React.createElement(yt,{label:kt("Space Type","vk-blocks"),value:r,onChange:function(e){return n({spaceType:e})},options:[{value:"height",label:kt("height","vk-blocks")},{value:"margin-top",label:kt("margin-top","vk-blocks")}]})},Et=wp.i18n.__,xt=wp.element.Fragment,Rt=wp.components.TextControl,Ct=function(e){var t=e.attributes,n=e.setAttributes,r=e.initial,o=t.pc,a=t.tablet,l=t.mobile,c=r.iPc,i=r.iTablet,s=r.iMobile;return o||(o=c),a||(a=i),l||(l=s),React.createElement(xt,null,React.createElement(Rt,{label:Et("PC","vk-blocks"),value:o,onChange:function(e){return n({pc:parseFloat(e)})},type:"number"}),React.createElement(Rt,{label:Et("Tablet","vk-blocks"),value:a,onChange:function(e){return n({tablet:parseFloat(e)})},type:"number"}),React.createElement(Rt,{label:Et("Mobile","vk-blocks"),value:l,onChange:function(e){return n({mobile:parseFloat(e)})},type:"number"}))},Nt=wp.i18n.__,St=wp.components.SelectControl,Tt=function(e){var t=e.attributes,n=e.setAttributes,r=t.unit;return React.createElement(St,{label:Nt("Unit Type","vk-blocks"),value:r,onChange:function(e){return n({unit:e})},options:[{value:"px",label:Nt("px","vk-blocks")},{value:"em",label:Nt("em","vk-blocks")},{value:"rem",label:Nt("rem","vk-blocks")},{value:"vw",label:Nt("vw","vk-blocks")}]})},At=n(22),Bt=n.n(At);function Ot(){return(Ot=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var It=wp.i18n.__,Pt=wp.blocks.registerBlockType,jt=wp.components,Lt=jt.PanelBody,zt=jt.BaseControl,qt=wp.element.Fragment,Mt=(wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor).InspectorControls;Pt("vk-blocks/spacer",{title:It("Responsive Spacer","vk-blocks"),icon:Qe.a.createElement(Bt.a,null),category:"vk-blocks-cat-layout",attributes:{anchor:{type:"string",default:null},spaceType:{type:"string",default:"height"},unit:{type:"string",default:"px"},pc:{type:"number",default:40},tablet:{type:"number",default:30},mobile:{type:"number",default:20}},supports:{className:!1,anchor:!0},example:{anchor:null,spaceType:"height",unit:"px",pc:40,tablet:30,mobile:20},edit:function(e){var t=e.attributes,n=e.className;return Qe.a.createElement(qt,null,Qe.a.createElement(Mt,null,Qe.a.createElement(Lt,null,Qe.a.createElement(wt,e),Qe.a.createElement(Tt,e),Qe.a.createElement(zt,{label:It("Height for each device.","vk-blocks")},Qe.a.createElement(Ct,Ot({},e,{initial:{iPc:40,iTablet:30,iMobile:20}}))))),Qe.a.createElement(at,{attributes:t,className:n}))},save:function(e){var t=e.attributes;return Qe.a.createElement(at,{attributes:t})},deprecated:gt});var Dt={attributes:{anchor:"",level:2,align:"center",titleStyle:"default",outerMarginBottom:0,title:Se,titleColor:"#8ed1fc",titleSize:2,titleMarginBottom:1,subText:Se,subTextFlag:{type:"string",default:"on"},subTextColor:"#8ed1fc",subTextSize:1.2,fontAwesomeIconBefore:Be,fontAwesomeIconAfter:"",fontAwesomeIconColor:"#8ed1fc"}};function Ht(e){return(Ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vt(e,t){return(Vt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Wt(e);if(t){var o=Wt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Gt(this,n)}}function Gt(e,t){return!t||"object"!==Ht(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Wt(e){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Jt=window.lodash.range,$t=wp.i18n,Xt=$t.__,Qt=$t.sprintf,Kt=wp.element.Component,Zt=wp.components.Toolbar,en=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vt(e,t)}(a,e);var t,n,r,o=Yt(a);function a(){return Ut(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"createLevelControl",value:function(e,t,n){var r=e===t;return{icon:"heading",title:Qt(Xt("Heading %d"),e),isActive:r,onClick:function(){return n(e)},subscript:String(e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.minLevel,r=t.maxLevel,o=t.selectedLevel,a=t.onChange;return React.createElement(Zt,{controls:Jt(n,r).map((function(t){return e.createLevelControl(t,o,a)}))})}}])&&Ft(t.prototype,n),r&&Ft(t,r),a}(Kt),tn=n(1),nn=n.n(tn),rn=O.RichText,on=wp.i18n.__,an=function(e,t,n,r){switch(e){case 1:return React.createElement("h1",{style:n,className:r},t);case 2:return React.createElement("h2",{style:n,className:r},t);case 3:return React.createElement("h3",{style:n,className:r},t);case 4:return React.createElement("h4",{style:n,className:r},t);case 5:return React.createElement("h5",{style:n,className:r},t);case 6:return React.createElement("h6",{style:n,className:r},t)}},ln=function(e){var t,n,r=e.attributes,o=e.setAttributes,a=e.for_,l=r.level,c=r.align,i=r.title,s=r.titleColor,u=r.titleSize,p=r.subText,f=r.subTextFlag,m=r.subTextColor,b=r.subTextSize,d=r.titleStyle,v=r.titleMarginBottom,h=r.outerMarginBottom,_=r.fontAwesomeIconBefore,g=r.fontAwesomeIconAfter,k=r.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(d);h&&(t={marginBottom:h+"rem"}),n=null!=v?{color:s,fontSize:u+"rem",marginBottom:v+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var w="vk_heading_title vk_heading_title-style-".concat(d),E={color:m,fontSize:b+"rem",textAlign:c},x="vk_heading_subtext vk_heading_subtext-style-".concat(d),R="",C="";if(_){k=k||"#000000";var N=_.split("<i");N[0]=N[0]+'<i style="color:'.concat(k,';" '),R=N.join("")}if(g){k=k||"#000000";var S=g.split("<i");S[0]=S[0]+'<i style="color:'.concat(k,';" '),C=S.join("")}if("edit"===a){var T,A=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(rn,{tagName:"span",value:i,onChange:function(e){o({title:e})},placeholder:on("Input title…","vk-blocks")}),nn()(C));return"on"===f&&(T=React.createElement(rn,{tagName:"p",value:p,onChange:function(e){return o({subText:e})},style:E,className:x,placeholder:on("Input sub text…","vk-blocks")})),React.createElement("div",{className:y,style:t},an(l,A,n,w),T)}if("save"===a){var B,O=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(rn.Content,{tagName:"span",value:i}),nn()(C));return"on"===f&&(B=React.createElement(rn.Content,{tagName:"p",value:p,style:E,className:x})),React.createElement("div",{className:y,style:t},an(l,O,n,w),B)}},cn={anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number"},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2.6},titleMarginBottom:{type:"number"},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.8}},sn={anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:""},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2}};function un(e){return(un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mn(e,t,n){return t&&fn(e.prototype,t),n&&fn(e,n),e}function bn(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dn(e,t)}function dn(e,t){return(dn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_n(e);if(t){var o=_n(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return hn(this,n)}}function hn(e,t){return!t||"object"!==un(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _n(e){return(_n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var gn=O.RichText,kn=wp.i18n.__,yn=wp.element.Component,wn=function(e){bn(n,e);var t=vn(n);function n(){return pn(this,n),t.apply(this,arguments)}return mn(n,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.level,o=n.align,a=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,p=n.subTextSize,f=n.titleStyle,m=n.titleMarginBottom,b=n.outerMarginBottom,d=this.props.setAttributes,v=this.props.for_,h="vk_heading vk_heading-style-".concat(f),_="h"+r;return null!=b&&(e={marginBottom:b+"rem"}),t=null!=m?{color:l,fontSize:c+"rem",marginBottom:m+"rem",textAlign:o}:{color:l,fontSize:c+"rem",textAlign:o},"edit"===v?React.createElement("div",{className:h,style:e},React.createElement(gn,{tagName:_,value:a,onChange:function(e){return d({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(f),placeholder:kn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(gn,{tagName:"p",value:i,onChange:function(e){return d({subText:e})},style:{color:u,fontSize:p+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(f),placeholder:kn("Input sub text…","vk-blocks")})}()):"save"===v?React.createElement("div",{className:h,style:e},React.createElement(gn.Content,{tagName:_,value:a,onChange:function(e){return d({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(f),placeholder:kn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(gn.Content,{tagName:"p",value:i,onChange:function(e){return d({subText:e})},style:{color:u,fontSize:p+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(f),placeholder:kn("Input sub text…","vk-blocks")})}()):void 0}}]),n}(yn),En=function(e){bn(n,e);var t=vn(n);function n(){return pn(this,n),t.apply(this,arguments)}return mn(n,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.level,o=n.align,a=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,p=n.subTextSize,f=n.titleStyle,m=n.titleMarginBottom,b=n.outerMarginBottom,d=this.props.setAttributes,v=this.props.for_,h="vk_heading vk_heading-style-".concat(f),_="h"+r;return null!=b&&(e={marginBottom:b+"rem"}),t=null!=m?{color:l,fontSize:c+"rem",marginBottom:m+"rem",textAlign:o}:{color:l,fontSize:c+"rem",textAlign:o},"edit"===v?React.createElement("div",{className:h,style:e},React.createElement(gn,{tagName:_,value:a,onChange:function(e){return d({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(f),placeholder:kn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(gn,{tagName:"p",value:i,onChange:function(e){return d({subText:e})},style:{color:u,fontSize:p+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(f),placeholder:kn("Input sub text…","vk-blocks")})}()):"save"===v?React.createElement("div",{className:h,style:e},React.createElement(gn.Content,{tagName:_,value:a,onChange:function(e){return d({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(f),placeholder:kn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(gn.Content,{tagName:"p",value:i,onChange:function(e){return d({subText:e})},style:{color:u,fontSize:p+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(f),placeholder:kn("Input sub text…","vk-blocks")})}()):void 0}}]),n}(yn),xn=function(e){bn(n,React.Component);var t=vn(n);function n(){return pn(this,n),t.apply(this,arguments)}return mn(n,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.level,o=n.align,a=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,p=n.subTextSize,f=n.titleStyle,m=n.titleMarginBottom,b=n.outerMarginBottom,d=this.props.setAttributes,v=this.props.for_,h="vk_heading vk_heading-style-".concat(f),_="h"+r;return null!==b&&(e={marginBottom:b+"rem"}),t=null!=m?{color:l,fontSize:c+"rem",marginBottom:m+"rem",textAlign:o}:{color:l,fontSize:c+"rem",textAlign:o},"edit"===v?React.createElement("div",{className:h,style:e},React.createElement(gn,{tagName:_,value:a,onChange:function(e){return d({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(f),placeholder:kn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(gn,{tagName:"p",value:i,onChange:function(e){return d({subText:e})},style:{color:u,fontSize:p+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(f),placeholder:kn("Input sub text…","vk-blocks")})}()):"save"===v?React.createElement("div",{className:h,style:e},React.createElement(gn.Content,{tagName:_,value:a,onChange:function(e){return d({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(f),placeholder:kn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(gn.Content,{tagName:"p",value:i,onChange:function(e){return d({subText:e})},style:{color:u,fontSize:p+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(f),placeholder:kn("Input sub text…","vk-blocks")})}()):void 0}}]),n}(),Rn=O.RichText,Cn=wp.i18n.__,Nn=function(e,t,n,r){switch(e){case 1:return React.createElement("h1",{style:n,className:r},t);case 2:return React.createElement("h2",{style:n,className:r},t);case 3:return React.createElement("h3",{style:n,className:r},t);case 4:return React.createElement("h4",{style:n,className:r},t);case 5:return React.createElement("h5",{style:n,className:r},t);case 6:return React.createElement("h6",{style:n,className:r},t)}},Sn=function(e){var t,n,r=e.attributes,o=e.setAttributes,a=e.for_,l=r.level,c=r.align,i=r.title,s=r.titleColor,u=r.titleSize,p=r.subText,f=r.subTextFlag,m=r.subTextColor,b=r.subTextSize,d=r.titleStyle,v=r.titleMarginBottom,h=r.outerMarginBottom,_=r.fontAwesomeIconBefore,g=r.fontAwesomeIconAfter,k=r.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(d);h&&(t={marginBottom:h+"rem"}),n=v?{color:s,fontSize:u+"rem",marginBottom:v+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var w="vk_heading_title vk_heading_title-style-".concat(d),E={color:m,fontSize:b+"rem",textAlign:c},x="vk_heading_subtext vk_heading_subtext-style-".concat(d),R="",C="";if(_){k=k||"#000000";var N=_.split("<i");N[0]=N[0]+'<i style="color:'.concat(k,';" '),R=N.join("")}if(g){k=k||"#000000";var S=g.split("<i");S[0]=S[0]+'<i style="color:'.concat(k,';" '),C=S.join("")}if("edit"===a){var T,A=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(Rn,{tagName:"span",value:i,onChange:function(e){o({title:e})},placeholder:Cn("Input title…","vk-blocks")}),nn()(C));return"on"===f&&(T=React.createElement(Rn,{tagName:"p",value:p,onChange:function(e){return o({subText:e})},style:E,className:x,placeholder:Cn("Input sub text…","vk-blocks")})),React.createElement("div",{className:y,style:t},Nn(l,A,n,w),T)}if("save"===a){var B,O=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(Rn.Content,{tagName:"span",value:i}),nn()(C));return"on"===f&&(B=React.createElement(Rn.Content,{tagName:"p",value:p,style:E,className:x})),React.createElement("div",{className:y,style:t},Nn(l,O,n,w),B)}},Tn=O.RichText,An=wp.i18n.__,Bn=function(e,t,n,r){switch(e){case 1:return React.createElement("h1",{style:n,className:r},t);case 2:return React.createElement("h2",{style:n,className:r},t);case 3:return React.createElement("h3",{style:n,className:r},t);case 4:return React.createElement("h4",{style:n,className:r},t);case 5:return React.createElement("h5",{style:n,className:r},t);case 6:return React.createElement("h6",{style:n,className:r},t)}},On=function(e){var t,n,r=e.attributes,o=e.setAttributes,a=e.for_,l=r.level,c=r.align,i=r.title,s=r.titleColor,u=r.titleSize,p=r.subText,f=r.subTextFlag,m=r.subTextColor,b=r.subTextSize,d=r.titleStyle,v=r.titleMarginBottom,h=r.outerMarginBottom,_=r.fontAwesomeIconBefore,g=r.fontAwesomeIconAfter,k=r.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(d);h&&(t={marginBottom:h+"rem"}),n=null!=v?{color:s,fontSize:u+"rem",marginBottom:v+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var w="vk_heading_title vk_heading_title-style-".concat(d),E={color:m,fontSize:b+"rem",textAlign:c},x="vk_heading_subtext vk_heading_subtext-style-".concat(d),R="",C="";if(_){k=k||"#000000";var N=_.split("<i");N[0]=N[0]+'<i style="color:'.concat(k,';" '),R=N.join("")}if(g){k=k||"#000000";var S=g.split("<i");S[0]=S[0]+'<i style="color:'.concat(k,';" '),C=S.join("")}if("edit"===a){var T,A=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(Tn,{tagName:"span",value:i,onChange:function(e){o({title:e})},placeholder:An("Input title…","vk-blocks")}),nn()(C));return"on"===f&&(T=React.createElement(Tn,{tagName:"p",value:p,onChange:function(e){return o({subText:e})},style:E,className:x,placeholder:An("Input sub text…","vk-blocks")})),React.createElement("div",{className:y,style:t},Bn(l,A,n,w),T)}if("save"===a){var B,O=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(Tn.Content,{tagName:"span",value:i}),nn()(C));return"on"===f&&(B=React.createElement(Tn.Content,{tagName:"p",value:p,style:E,className:x})),React.createElement("div",{className:y,style:t},Bn(l,O,n,w),B)}},In=O.RichText,Pn=wp.i18n.__,jn=function(e,t,n,r){switch(e){case 1:return React.createElement("h1",{style:n,className:r},t);case 2:return React.createElement("h2",{style:n,className:r},t);case 3:return React.createElement("h3",{style:n,className:r},t);case 4:return React.createElement("h4",{style:n,className:r},t);case 5:return React.createElement("h5",{style:n,className:r},t);case 6:return React.createElement("h6",{style:n,className:r},t)}},Ln=function(e){var t,n,r=e.attributes,o=e.setAttributes,a=e.for_,l=r.level,c=r.align,i=r.title,s=r.titleColor,u=r.titleSize,p=r.subText,f=r.subTextFlag,m=r.subTextColor,b=r.subTextSize,d=r.titleStyle,v=r.titleMarginBottom,h=r.outerMarginBottom,_=r.fontAwesomeIconBefore,g=r.fontAwesomeIconAfter,k=r.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(d);h&&(t={marginBottom:h+"rem"}),n=v?{color:s,fontSize:u+"rem",marginBottom:v+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var w="vk_heading_title vk_heading_title-style-".concat(d),E={color:m,fontSize:b+"rem",textAlign:c},x="vk_heading_subtext vk_heading_subtext-style-".concat(d),R="",C="";if(_){k=k||"#000000";var N=_.split("<i");N[0]=N[0]+'<i style="color:'.concat(k,';" '),R=N.join("")}if(g){k=k||"#000000";var S=g.split("<i");S[0]=S[0]+'<i style="color:'.concat(k,';" '),C=S.join("")}if("edit"===a){var T,A=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(In,{tagName:"span",value:i,onChange:function(e){o({title:e})},placeholder:Pn("Input title…","vk-blocks")}),nn()(C));return"on"===f&&(T=React.createElement(In,{tagName:"p",value:p,onChange:function(e){return o({subText:e})},style:E,className:x,placeholder:Pn("Input sub text…","vk-blocks")})),React.createElement("div",{className:y,style:t},jn(l,A,n,w),T)}if("save"===a){var B,O=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(In.Content,{tagName:"span",value:i}),nn()(C));return"on"===f&&(B=React.createElement(In.Content,{tagName:"p",value:p,style:E,className:x})),React.createElement("div",{className:y,style:t},jn(l,O,n,w),B)}};function zn(){return(zn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var qn={attributes:{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:0},title:{type:"string",source:"html",selector:"span",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""},fontAwesomeIconColor:{type:"string",default:"#000000"}},save:function(e){return React.createElement("div",null,React.createElement(Ln,zn({},e,{for_:"save"})))}};function Mn(e){return(Mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Dn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Un(e,t){return(Un=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Yn(e);if(t){var o=Yn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Vn(this,n)}}function Vn(e,t){return!t||"object"!==Mn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Yn(e){return(Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Gn(){return(Gn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Wn=wp.element,Jn=Wn.Fragment,$n=Wn.Component,Xn=O.RichText,Qn=wp.i18n.__,Kn=[qn,{attributes:{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:0},title:{type:"string",source:"html",selector:"span",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""},fontAwesomeIconColor:{type:"string",default:"#000000"}},save:function(e){var t=e.attributes;return React.createElement("div",{id:t.anchor},React.createElement(On,Gn({},e,{for_:"save"})))}},{attributes:sn,save:function(e){var t=e.attributes;return React.createElement("div",{id:t.anchor},React.createElement(Sn,{attributes:t,for_:"save"}))}},{attributes:sn,save:function(e){var t=e.attributes;return React.createElement("div",{id:t.anchor},React.createElement(En,{attributes:t,for_:"save"}))}},{attributes:cn,save:function(e){var t=e.attributes,n=e.className;return React.createElement("div",{className:n,id:"vk-htags-a181b726-7749-4bd8-9887-0306c0bc7bd5"},React.createElement(wn,{attributes:t,for_:"save"}))}},{attributes:cn,save:function(e){var t=e.attributes,n=e.className;return React.createElement("div",{className:n,id:"vk-htags--1"},React.createElement(wn,{attributes:t,for_:"save"}))}},{attributes:{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:null},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2}},save:function(e){var t=e.attributes,n=e.className;return React.createElement(Zn,{attributes:t,className:n,for_:"save"})}},{attributes:{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number"},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2.6},titleMarginBottom:{type:"number"},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.8}},supports:{className:!1,anchor:!0},save:function(e){var t=e.attributes,n=t.level,r=t.align,o=t.title,a=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,p=t.titleStyle,f=t.titleMarginBottom,m=t.outerMarginBottom,b="h"+n;return React.createElement("div",{className:"vk_heading vk_heading-style-".concat(p),style:{marginBottom:m+"rem"}},React.createElement(Xn.Content,{tagName:b,value:o,style:{color:a,fontSize:l+"rem",textAlign:r,marginBottom:f+"rem"},className:"vk_heading_title vk_heading_title-style-".concat(p)}),function(){if("on"===i)return React.createElement(Xn.Content,{tagName:"p",value:c,style:{color:s,fontSize:u+"rem",textAlign:r},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p)})}())}},{attributes:{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:null},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2.6},titleMarginBottom:{type:"number",default:null},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.8}},supports:{className:!1,anchor:!0},save:function(e){var t=e.attributes,n=t.level,r=t.align,o=t.title,a=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,p=t.titleStyle,f=t.titleMarginBottom,m=t.outerMarginBottom,b="h"+n;return React.createElement(Jn,null,null==m?React.createElement("div",{className:"vk_heading vk_heading-style-".concat(p)},React.createElement(Xn.Content,{tagName:b,value:o,style:{color:a,fontSize:l+"rem",textAlign:r},className:"vk_heading_title vk_heading_title-style-".concat(p)}),function(){if("on"===i)return React.createElement(Xn.Content,{tagName:"p",value:c,style:{color:s,fontSize:u+"rem",textAlign:r},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p)})}()):React.createElement("div",{className:"vk_heading vk_heading-style-".concat(p),style:{marginBottom:m+"rem"}},React.createElement(Xn.Content,{tagName:b,value:o,style:{color:a,fontSize:l+"rem",textAlign:r,marginBottom:f+"rem"},className:"vk_heading_title vk_heading_title-style-".concat(p)}),function(){if("on"===i)return React.createElement(Xn.Content,{tagName:"p",value:c,style:{color:s,fontSize:u+"rem",textAlign:r},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p)})}()))}},{attributes:{level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:null},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2}},save:function(e){var t=e.attributes,n=e.className;return React.createElement("div",{className:n},React.createElement(xn,{attributes:t,for_:"save"}))}}],Zn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Un(e,t)}(a,e);var t,n,r,o=Fn(a);function a(){return Dn(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.level,o=n.align,a=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,p=n.subTextColor,f=n.subTextSize,m=n.titleStyle,b=n.titleMarginBottom,d=n.outerMarginBottom,v=this.props.setAttributes,h=this.props.className,_=(this.props.for_,u()(h,"vk_heading vk_heading-style-".concat(m))),g="h"+r;return null!=d&&(e={marginBottom:d+"rem"}),t=null!=b?{color:l,fontSize:c+"rem",marginBottom:b+"rem",textAlign:o}:{color:l,fontSize:c+"rem",textAlign:o},React.createElement("div",{className:_,style:e},React.createElement(Xn.Content,{tagName:g,value:a,onChange:function(e){return v({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(m),placeholder:Qn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(Xn.Content,{tagName:"p",value:i,onChange:function(e){return v({subText:e})},style:{color:p,fontSize:f+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(m),placeholder:Qn("Input sub text…","vk-blocks")})}())}}])&&Hn(t.prototype,n),r&&Hn(t,r),a}($n);function er(e){return(er="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nr(e,t){return(nr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ar(e);if(t){var o=ar(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return or(this,n)}}function or(e,t){return!t||"object"!==er(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ar(e){return(ar=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var lr=wp.components,cr=lr.Button,ir=lr.Popover,sr=(lr.IconButton,wp.element),ur=sr.Fragment,pr=sr.createRef,fr=sr.Component,mr=(wp.i18n.__,function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nr(e,t)}(a,e);var t,n,r,o=rr(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=o.call(this,e)).state={open:!1},t.buttonRef=pr(),t}return t=a,(n=[{key:"render",value:function(){var e=this,t="apc-icon-btn components-button is-secondary is-small";return React.createElement(ur,null,React.createElement("div",{className:"components-base-control"},React.createElement("div",{className:"vk-blocks-button-icon-control__wrapper components-base-control__field"},React.createElement(cr,{isTertiary:!0,className:"".concat(t," mb-1"),onClick:function(){e.setState({open:!e.state.open})},ref:this.buttonRef},this.props.label),this.state.open&&this.buttonRef.current&&React.createElement(ir,{anchorRect:this.buttonRef.current.getBoundingClientRect(),children:this.props.renderComp,onFocusOutside:function(n){n.relatedTarget&&!n.relatedTarget.closest(".".concat(t))&&n.relatedTarget!==e.buttonRef.current&&e.setState({open:!1})},focusOnMount:"container",className:"vk-blocks-advanced-popover-control"}))))}}])&&tr(t.prototype,n),r&&tr(t,r),a}(fr));function br(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dr=wp.components,vr=dr.RadioControl,hr=dr.TextControl,_r=wp.element,gr=(_r.Component,_r.Fragment),kr=wp.i18n.__,yr=function(e){var t=e.attributeName,n=e.attributes,r=e.setAttributes,o=React.createElement(gr,null,React.createElement("label",{className:"components-base-control__label"},kr("Icon","vk-blocks")),React.createElement(vr,{className:"vk_icon_list",selected:n[t],options:[{label:React.createElement("i",{className:"fas fa-arrow-right"}),value:'<i class="fas fa-arrow-right"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-down"}),value:'<i class="fas fa-arrow-down"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-left"}),value:'<i class="fas fa-arrow-left"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-circle-right"}),value:'<i class="fas fa-arrow-circle-right"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-circle-down"}),value:'<i class="fas fa-arrow-circle-down"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-circle-left"}),value:'<i class="fas fa-arrow-circle-left"></i>'},{label:React.createElement("i",{className:"far fa-arrow-alt-circle-right"}),value:'<i class="far fa-arrow-alt-circle-right"></i>'},{label:React.createElement("i",{className:"far fa-arrow-alt-circle-down"}),value:'<i class="far fa-arrow-alt-circle-down"></i>'},{label:React.createElement("i",{className:"far fa-arrow-alt-circle-left"}),value:'<i class="far fa-arrow-alt-circle-left"></i>'},{label:React.createElement("i",{className:"fas fa-external-link-square-alt"}),value:'<i class="fas fa-external-link-square-alt"></i>'},{label:React.createElement("i",{className:"fas fa-external-link-alt"}),value:'<i class="fas fa-external-link-alt"></i>'},{label:React.createElement("i",{className:"fas fa-download"}),value:'<i class="fas fa-download"></i>'},{label:React.createElement("i",{className:"fas fa-exclamation-triangle"}),value:'<i class="fas fa-exclamation-triangle"></i>'},{label:React.createElement("i",{className:"fas fa-exclamation-circle"}),value:'<i class="fas fa-exclamation-circle"></i>'},{label:React.createElement("i",{className:"fas fa-exclamation"}),value:'<i class="fas fa-exclamation"></i>'},{label:React.createElement("i",{className:"fas fa-question"}),value:'<i class="fas fa-question"></i>'},{label:React.createElement("i",{className:"fas fa-question-circle"}),value:'<i class="fas fa-question-circle"></i>'},{label:React.createElement("i",{className:"fas fa-info-circle"}),value:'<i class="fas fa-info-circle"></i>'},{label:React.createElement("i",{className:"fas fa-info"}),value:'<i class="fas fa-info"></i>'},{label:React.createElement("i",{className:"fas fa-check"}),value:'<i class="fas fa-check"></i>'},{label:React.createElement("i",{className:"fas fa-check-square"}),value:'<i class="fas fa-check-square"></i>'},{label:React.createElement("i",{className:"fas fa-check-circle"}),value:'<i class="fas fa-check-circle"></i>'},{label:React.createElement("i",{className:"fas fa-phone"}),value:'<i class="fas fa-phone"></i>'},{label:React.createElement("i",{className:"fas fa-phone-square"}),value:'<i class="fas fa-phone-square"></i>'},{label:React.createElement("i",{className:"fas fa-mobile-alt"}),value:'<i class="fas fa-mobile-alt"></i>'},{label:React.createElement("i",{className:"far fa-envelope"}),value:'<i class="far fa-envelope"></i>'},{label:React.createElement("i",{className:"fas fa-user"}),value:'<i class="fas fa-user"></i>'},{label:React.createElement("i",{className:"fas fa-users"}),value:'<i class="fas fa-users"></i>'},{label:React.createElement("i",{className:"far fa-file-alt"}),value:'<i class="far fa-file-alt"></i>'},{label:React.createElement("i",{className:"fas fa-file-alt"}),value:'<i class="fas fa-file-alt"></i>'},{label:React.createElement("i",{className:"fas fa-file"}),value:'<i class="fas fa-file"></i>'},{label:React.createElement("i",{className:"fas fa-file-pdf"}),value:'<i class="fas fa-file-pdf"></i>'},{label:React.createElement("i",{className:"fas fa-building"}),value:'<i class="fas fa-building"></i>'},{label:React.createElement("i",{className:"fab fa-twitter"}),value:'<i class="fab fa-twitter"></i>'},{label:React.createElement("i",{className:"fab fa-facebook-square"}),value:'<i class="fab fa-facebook-square"></i>'},{label:React.createElement("i",{className:"fab fa-line"}),value:'<i class="fab fa-line"></i>'}],onChange:function(e){return r(br({},t,e))}}),React.createElement("hr",null),React.createElement("p",{className:"mt-1"},kr("If you want to use an icon other than the ones listed above, you can use any of the icons from Font Awesome's icon list Please select a tag and enter it.","vk-blocks"),React.createElement("br",null),kr('Ex) <i class="fas fa-arrow-circle-right"></i>',"vk-blocks"),React.createElement("br",null),React.createElement("a",{href:"https://fontawesome.com/icons?d=gallery&m=free",target:"_blank"},kr("Font Awesome icon list","vk-blocks"))));return React.createElement(gr,null,React.createElement(hr,{value:n[t],onChange:function(e){return r(br({},t,e))},placeholder:'<i class="fas fa-arrow-circle-right"></i>',className:"mb-0"}),React.createElement(mr,{label:kr("Select Icon","vk-blocks"),renderComp:o,setAttributes:r}))},wr=n(23),Er=n.n(wr);function xr(){return(xr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Rr=wp.i18n.__,Cr=wp.blocks.registerBlockType,Nr=wp.components,Sr=Nr.RangeControl,Tr=Nr.PanelBody,Ar=Nr.RadioControl,Br=Nr.SelectControl,Or=Nr.BaseControl,Ir=wp.element.Fragment,Pr=O.InspectorControls,jr=O.ColorPalette,Lr=O.BlockControls,zr=O.AlignmentToolbar;Cr("vk-blocks/heading",{title:Rr("Heading","vk-blocks"),icon:React.createElement(Er.a,null),category:"vk-blocks-cat",attributes:{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:0},title:{type:"string",source:"html",selector:"span",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"off"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""},fontAwesomeIconColor:{type:"string",default:"#000000"}},supports:{className:!0,customClassName:!0,anchor:!0},example:Dt,edit:function(e){var t=e.attributes,n=e.className,r=e.setAttributes,o=t.level,a=t.align,l=t.titleColor,c=t.titleSize,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,p=t.titleStyle,f=t.titleMarginBottom,m=t.outerMarginBottom,b=t.fontAwesomeIconColor,d=function(e){switch(r({level:e}),e){case 1:r({titleSize:3.6});break;case 2:r({titleSize:2.8});break;case 3:r({titleSize:2.2});break;case 4:r({titleSize:2});break;case 5:r({titleSize:1.8});break;case 6:r({titleSize:1.6})}};return React.createElement(Ir,null,React.createElement(Lr,null,React.createElement(en,{minLevel:2,maxLevel:5,selectedLevel:o,onChange:d})),React.createElement(Pr,null,React.createElement(Tr,{title:Rr("Style Settings","vk-blocks")},React.createElement(Br,{label:Rr("Heading style","vk-blocks"),value:p,onChange:function(e){return r({titleStyle:e})},options:[{label:Rr("Default","vk-blocks"),value:"default"},{label:Rr("Plain","vk-blocks"),value:"plain"}]})),React.createElement(Tr,{title:Rr("Margin Setting","vk-blocks")},React.createElement("label",null,Rr("Margin bottom size of after hedding (rem)","vk-blocks")),React.createElement(Sr,{value:f,onChange:function(e){r({titleMarginBottom:e})},min:-1,max:3,step:.1}),React.createElement("label",null,Rr("Margin bottom size of after this block (rem)","vk-blocks")),React.createElement(Sr,{value:m,onChange:function(e){r({outerMarginBottom:e})},min:-1,max:8,step:.1})),React.createElement(Tr,{title:Rr("Heading Settings","vk-blocks")},React.createElement("label",null,Rr("Level","vk-blocks")),React.createElement(en,{minLevel:1,maxLevel:7,selectedLevel:o,onChange:d}),React.createElement("p",null,Rr("Text Alignment")),React.createElement(zr,{value:a,onChange:function(e){r({align:e})}}),React.createElement(Sr,{label:Rr("Text size (rem)","vk-blocks"),value:c,onChange:function(e){r({titleSize:e})},min:.5,max:4,step:.1}),React.createElement(Or,{label:Rr("Text Color","vk-blocks")},React.createElement(jr,{value:l,onChange:function(e){return r({titleColor:e})}}))),React.createElement(Tr,{title:Rr("Font Awesome Icon Settings","vk-blocks")},React.createElement(Or,{label:Rr("Before text","vk-blocks")},React.createElement(yr,xr({attributeName:"fontAwesomeIconBefore"},e))),React.createElement(Or,{label:Rr("After text","vk-blocks")},React.createElement(yr,xr({attributeName:"fontAwesomeIconAfter"},e))),React.createElement(Or,{label:Rr("Icon Color","vk-blocks")},React.createElement(jr,{value:b,onChange:function(e){return r({fontAwesomeIconColor:e})}}))),React.createElement(Tr,{title:Rr("Sub Text Settings","vk-blocks")},React.createElement(Ar,{label:Rr("Position","vk-blocks"),selected:i,options:[{label:Rr("Display","vk-blocks"),value:"on"},{label:Rr("Hide","vk-blocks"),value:"off"}],onChange:function(e){return r({subTextFlag:e})}}),React.createElement("label",null,Rr("Text size (rem)","vk-blocks")),React.createElement(Sr,{value:u,onChange:function(e){r({subTextSize:e})},min:.5,max:3,step:.1}),React.createElement(jr,{value:s,onChange:function(e){return r({subTextColor:e})}}))),React.createElement("div",{className:n},React.createElement(ln,xr({},e,{for_:"edit"}))))},save:function(e){return React.createElement("div",null,React.createElement(ln,xr({},e,{for_:"save"})))},deprecated:Kn});var qr=O.RichText,Mr=[{attributes:{style:{type:"string",default:"info"},content:{type:"string",source:"html",selector:"p"}},save:function(e){var t=e.attributes,n=t.style,r=t.content;return React.createElement("div",{className:"alert alert-".concat(n)},React.createElement(qr.Content,{tagName:"p",value:r}))}}],Dr=n(24),Hr=n.n(Dr),Ur=wp.i18n.__,Fr=wp.blocks.registerBlockType,Vr=wp.components,Yr=Vr.PanelBody,Gr=Vr.SelectControl,Wr=O.InspectorControls,Jr=O.RichText,$r=wp.element.Fragment;Fr("vk-blocks/alert",{title:Ur("Alert","vk-blocks"),icon:React.createElement(Hr.a,null),category:"vk-blocks-cat",attributes:{style:{type:"string",default:"info"},content:{type:"string",source:"html",selector:"p"}},example:{attributes:{style:"info",content:Te}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.style,a=t.content;return React.createElement($r,null,React.createElement(Wr,null,React.createElement(Yr,{title:Ur("Style Settings","vk-blocks")},React.createElement(Gr,{value:o,onChange:function(e){return n({style:e})},options:[{label:Ur("Success","vk-blocks"),value:"success"},{label:Ur("Info","vk-blocks"),value:"info"},{label:Ur("Warning","vk-blocks"),value:"warning"},{label:Ur("Danger","vk-blocks"),value:"danger"}]}))),React.createElement("div",{className:"".concat(r," alert alert-").concat(o)},React.createElement(Jr,{tagName:"p",onChange:function(e){n({content:e})},value:a})))},save:function(e){var t=e.attributes,n=e.className,r=t.style,o=t.content;return React.createElement("div",{className:"".concat(n," alert alert-").concat(r)},React.createElement(Jr.Content,{tagName:"p",value:o}))},deprecated:Mr});var Xr=O.RichText,Qr=O.InnerBlocks,Kr=[{attributes:{content:{source:"html",selector:"p"},balloonName:{source:"html",selector:"figcaption"},balloonType:{type:"string",default:"type-serif"},balloonBgColor:{type:"string"},balloonAlign:{type:"string",default:"position-left"},IconImage:{type:"string",default:null}},save:function(e){var t=e.attributes,n=(e.className,t.content),r=t.balloonName,o=t.balloonType,a=t.balloonBgColor,l=t.balloonAlign,c=t.IconImage;return React.createElement("div",{className:"vk_balloon vk_balloon-".concat(l," vk_balloon-").concat(o)},React.createElement("div",{className:"vk_balloon_icon"},c?React.createElement("figure",null,React.createElement("img",{className:"vk_balloon_icon_image",src:c,alt:""}),React.createElement(Xr.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:r})):""),React.createElement(Xr.Content,{className:"vk_balloon_content",style:{background:a,border:a},tagName:"p",value:n}))}},{attributes:{content:{source:"html",selector:"p"},balloonName:{source:"html",selector:"figcaption"},balloonType:{type:"string",default:"type-serif"},balloonBgColor:{type:"string"},balloonAlign:{type:"string",default:"position-left"},IconImage:{type:"string",default:null},balloonImageType:{type:"string",default:"normal"}},save:function(e){var t=e.attributes,n=(e.className,t.content),r=t.balloonName,o=t.balloonType,a=t.balloonBgColor,l=t.balloonAlign,c=t.IconImage,i=t.balloonImageType;return React.createElement("div",{className:"vk_balloon vk_balloon-".concat(l," vk_balloon-").concat(o)},React.createElement("div",{className:"vk_balloon_icon"},c?React.createElement("figure",null,React.createElement("img",{className:"vk_balloon_icon_image vk_balloon-image-".concat(i),src:c,alt:""}),React.createElement(Xr.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:r})):""),React.createElement(Xr.Content,{className:"vk_balloon_content",style:{background:a,border:a},tagName:"p",value:n}))}},{attributes:{content:{source:"html",selector:"p"},balloonName:{source:"html",selector:"figcaption"},balloonType:{type:"string",default:"type-serif"},balloonBgColor:{type:"string"},balloonAlign:{type:"string",default:"position-left"},IconImage:{type:"string",default:null},balloonImageType:{type:"string",default:"normal"},balloonAnimation:{type:"string",default:"none"}},save:function(e){var t=e.attributes,n=t.content,r=t.balloonName,o=t.balloonType,a=t.balloonBgColor,l=t.balloonAlign,c=t.IconImage,i=t.balloonImageType,s=t.balloonAnimation;return i=i||"normal",s=s||"none",React.createElement("div",{className:"vk_balloon vk_balloon-".concat(l," vk_balloon-").concat(o," vk_balloon-animation-").concat(s)},React.createElement("div",{className:"vk_balloon_icon"},c?React.createElement("figure",null,React.createElement("img",{className:"vk_balloon_icon_image vk_balloon-image-".concat(i),src:c,alt:""}),React.createElement(Xr.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:r})):""),React.createElement("div",{className:"vk_balloon_content_outer"},React.createElement(Xr.Content,{className:"vk_balloon_content",style:{background:a,border:a},tagName:"p",value:n})))}},{attributes:{content:{source:"html",selector:"p"},balloonName:{source:"html",selector:"figcaption"},balloonType:{type:"string",default:"type-serif"},balloonBgColor:{type:"string"},balloonAlign:{type:"string",default:"position-left"},IconImage:{type:"string",default:null},balloonImageType:{type:"string",default:"normal"},balloonAnimation:{type:"string",default:"none"}},save:function(e){var t=e.attributes,n=(t.content,t.balloonName),r=t.balloonType,o=t.balloonBgColor,a=t.balloonAlign,l=t.IconImage,c=t.balloonImageType,i=t.balloonAnimation;return c=c||"normal",i=i||"none",React.createElement("div",{className:"vk_balloon vk_balloon-".concat(a," vk_balloon-").concat(r," vk_balloon-animation-").concat(i)},React.createElement("div",{className:"vk_balloon_icon"},l?React.createElement("figure",null,React.createElement("img",{className:"vk_balloon_icon_image vk_balloon-image-".concat(c),src:l,alt:""}),React.createElement(Xr.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:n})):""),React.createElement("div",{className:"vk_balloon_content_outer"},React.createElement("div",{className:"vk_balloon_content",style:{background:o,border:o}},React.createElement(Qr.Content,null))))}}],Zr=n(25),eo=n.n(Zr);function to(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return no(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return no(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function no(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ro=wp.apiFetch,oo=wp.i18n.__,ao=wp.blocks.registerBlockType,lo=wp.components,co=lo.ButtonGroup,io=lo.PanelBody,so=lo.Button,uo=lo.SelectControl,po=wp.element,fo=po.Fragment,mo=po.useState,bo=po.useEffect,vo=O.RichText,ho=O.InspectorControls,_o=O.MediaUpload,go=O.ColorPalette,ko=O.InnerBlocks;function yo(e){return(yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xo(e,t){return(xo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ro(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=No(e);if(t){var o=No(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Co(this,n)}}function Co(e,t){return!t||"object"!==yo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function No(e){return(No=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}ao("vk-blocks/balloon",{title:oo("Ballon","vk-blocks"),icon:React.createElement(eo.a,null),category:"vk-blocks-cat",attributes:{content:{source:"html",selector:"p"},balloonName:{source:"html",selector:"figcaption"},balloonType:{type:"string",default:"type-serif"},balloonBgColor:{type:"string"},balloonAlign:{type:"string",default:"position-left"},IconImage:{type:"string",default:null},balloonImageType:{type:"string",default:"normal"},balloonAnimation:{type:"string",default:"none"}},example:{attributes:{balloonName:Ae,balloonType:"type-serif",balloonBgColor:"#8ed1fc",balloonAlign:"position-left",IconImage:Oe,balloonImageType:"normal"},innerBlocks:[{name:"core/paragraph",attributes:{content:Te}}]},edit:function(e){var t,n=e.attributes,r=e.className,o=e.setAttributes,a=n.content,l=n.balloonName,c=n.balloonType,i=n.balloonBgColor,s=n.balloonAlign,u=n.IconImage,p=n.balloonImageType,f=n.balloonAnimation,m=to(mo(null),2),b=m[0],d=m[1];return bo((function(){ro({path:"/vk-blocks/v1/block-meta/balloon/",method:"GET",parse:!0}).then((function(e){d(e)}))}),[]),b&&b.default_icons&&(t=Object.keys(b.default_icons).map((function(e){var t=b.default_icons[e];if(t.src)return React.createElement("div",{key:e},React.createElement(so,{onClick:function(){o({IconImage:t.src}),o({balloonName:t.name})},className:"button button-large components-button"},React.createElement("img",{className:"icon-image",src:t.src})))}))),React.createElement(fo,null,React.createElement(ho,null,React.createElement(io,{title:oo("Balloon setting","vk-blocks")},React.createElement("p",{className:"mb-1"},React.createElement("label",null,oo("Position","vk-blocks"))),React.createElement("p",{className:"mb-1"},oo("Please specify the layout of the balloon.","vk-blocks")," "),React.createElement(co,{className:"mb-3"},React.createElement(so,{isSmall:!0,isPrimary:"position-left"===s,isSecondary:"position-left"!==s,onClick:function(){return o({balloonAlign:"position-left"})}},oo("Left","vk-blocks")),React.createElement(so,{isSmall:!0,isPrimary:"position-right"===s,isSecondary:"position-right"!==s,onClick:function(){return o({balloonAlign:"position-right"})}},oo("Right","vk-blocks"))),React.createElement("p",{className:"mb-1"},React.createElement("label",null,oo("Type","vk-blocks"))),React.createElement("p",{className:"mb-1"},oo("Please select the type of balloon.","vk-blocks")," "),React.createElement(co,{className:"mb-3"},React.createElement(so,{isSmall:!0,isPrimary:"type-serif"===c,isSecondary:"type-serif"!==c,onClick:function(){return o({balloonType:"type-serif"})}},oo("Serif","vk-blocks")),React.createElement(so,{isSmall:!0,isPrimary:"type-think"===c,isSecondary:"type-think"!==c,onClick:function(){return o({balloonType:"type-think"})}},oo("Thinking","vk-blocks"))),React.createElement("p",{className:"mb-1"},React.createElement("label",null,oo("Image Style","vk-blocks"))),React.createElement(co,{className:"mb-3"},React.createElement(so,{isSmall:!0,isPrimary:"normal"===p,isSecondary:"normal"!==p,onClick:function(){return o({balloonImageType:"normal"})}},oo("Normal","vk-blocks")),React.createElement(so,{isSmall:!0,isPrimary:"rounded"===p,isSecondary:"rounded"!==p,onClick:function(){return o({balloonImageType:"rounded"})}},oo("Rounded","vk-blocks")),React.createElement(so,{isSmall:!0,isPrimary:"circle"===p,isSecondary:"circle"!==p,onClick:function(){return o({balloonImageType:"circle"})}},oo("Circle","vk-blocks"))),React.createElement("p",{className:"mb-1"},React.createElement("label",null,oo("Background color of speech balloon","vk-blocks"))),React.createElement(go,{value:i,onChange:function(e){return o({balloonBgColor:e})}})),React.createElement(io,{title:oo("Default Icon Setting","vk-blocks")},React.createElement("div",{className:"icon-image-list mb-2"},t),React.createElement("div",null,oo("You can register default icons from Settings > VK Blocks in Admin.","vk-blocks"))),React.createElement(io,{title:oo("Animation setting","vk-blocks")},React.createElement("p",{className:"mb-1"},oo("Please select the type of animation.","vk-blocks")," "),React.createElement(uo,{value:f,onChange:function(e){return o({balloonAnimation:e})},options:[{value:"none",label:oo("None","vk-blocks")},{value:"trembling",label:oo("Trembling","vk-blocks")},{value:"trembling-x",label:oo("Trembling X","vk-blocks")},{value:"pounding",label:oo("Pounding","vk-blocks")},{value:"shaking",label:oo("Shaking","vk-blocks")}]}))),React.createElement("div",{className:"".concat(r," vk_balloon vk_balloon-").concat(s," vk_balloon-").concat(c," vk_balloon-animation-").concat(f)},React.createElement("div",{className:"vk_balloon_icon"},React.createElement(_o,{onSelect:function(e){return o({IconImage:e.sizes.full.url})},type:"image",className:"vk_balloon_icon_image vk_balloon-image-".concat(p),value:u,render:function(e){var t=e.open;return React.createElement(so,{onClick:t,className:u?"image-button":"button button-large"},u?React.createElement("img",{className:"vk_balloon_icon_image vk_balloon-image-".concat(p),src:u,alt:oo("Upload image","vk-blocks")}):oo("Select image","vk-blocks"))}}),React.createElement(vo,{tagName:"figcaption",className:"vk_balloon_icon_name",onChange:function(e){return o({balloonName:e})},value:l,placeholder:oo("Icon Name","vk-blocks")})),React.createElement("div",{className:"vk_balloon_content_outer"},React.createElement("div",{className:"vk_balloon_content",style:{background:i,border:i}},React.createElement(ko,{templateLock:!1,template:[["core/paragraph",{content:a}]]})))))},save:function(e){var t=e.attributes,n=(t.content,t.balloonName),r=t.balloonType,o=t.balloonBgColor,a=t.balloonAlign,l=t.IconImage,c=t.balloonImageType,i=t.balloonAnimation;return c=c||"normal",i=i||"none",React.createElement("div",{className:"vk_balloon vk_balloon-".concat(a," vk_balloon-").concat(r," vk_balloon-animation-").concat(i)},React.createElement("div",{className:"vk_balloon_icon"},l?React.createElement("figure",null,React.createElement("img",{className:"vk_balloon_icon_image vk_balloon-image-".concat(c),src:l,alt:""}),React.createElement(vo.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:n})):""),React.createElement("div",{className:"vk_balloon_content_outer"},React.createElement("div",{className:"vk_balloon_content",style:{background:o,border:o}},React.createElement(ko.Content,null))))},deprecated:Kr});var So=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xo(e,t)}(a,e);var t,n,r,o=Ro(a);function a(){return wo(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,p="",f={},m="",b="";if(f=null,p="".concat(p="vk_button_link","0"==n||null==n||"1"==n?" btn":" vk_button_link-type-text"),"0"==n||null===n?"undefined"==e||null==e||null===e?(p="".concat(p," btn-").concat(t),f=null):f={backgroundColor:"".concat(e),border:"1px solid ".concat(e),color:"#fff"}:"1"===n?"undefined"==e||null==e||null===e?(p="".concat(p," btn-outline-").concat(t),f=null):f={backgroundColor:"transparent",border:"1px solid ".concat(e),color:"".concat(e)}:"2"===n&&("undefined"==e||null==e||null===e?(p="".concat(p," btn-outline-").concat(t),f=null):f={color:"".concat(e)}),p="".concat(p," btn-").concat(o),"block"===r&&(p="".concat(p," btn-block")),c&&!c.match(/<i/)&&(c='<i class="'.concat(c,'"></i>')),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),c){var d=(c=c.replace(/ fas/g,"fas")).split(" ");d[1]=" "+d[1]+" vk_button_link_before ",m=d.join("")}if(i){var v=(i=i.replace(/ fas/g,"fas")).split(" ");v[1]=" "+v[1]+" vk_button_link_after ",b=v.join("")}return React.createElement("a",{href:a,style:f,className:p,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener noreferrer"},nn()(m),s,nn()(b),u&&React.createElement("p",{className:"vk_button_link_subCaption"},u))}}])&&Eo(t.prototype,n),r&&Eo(t,r),a}(wp.element.Component);function To(e){return(To="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ao(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Oo(e,t){return(Oo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Io(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=jo(e);if(t){var o=jo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Po(this,n)}}function Po(e,t){return!t||"object"!==To(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function jo(e){return(jo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Lo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oo(e,t)}(a,e);var t,n,r,o=Io(a);function a(){return Ao(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=(this.props.lbsubCaption,""),p={},f="",m="";return u="btn vk_button_link",e?(u="".concat(u," btn-primary btn-").concat(o),"0"===n?p={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===n&&(p={backgroundColor:"transparent",border:"1px solid "+e,color:e})):e||("0"===n?(u="".concat(u," btn-").concat(o," btn-").concat(t),p=null):"1"===n&&(u="".concat(u," btn-").concat(o," btn-outline-").concat(t),p=null)),"block"===r&&(u="".concat(u," btn-block")),c&&(f=React.createElement("i",{className:"".concat(c," vk_button_link_before")})),i&&(m=React.createElement("i",{className:"".concat(i," vk_button_link_after")})),React.createElement("a",{href:a,className:u,role:"button","aria-pressed":!0,style:p,target:l?"_blank":null},f,s,m)}}])&&Bo(t.prototype,n),r&&Bo(t,r),a}(wp.element.Component);function zo(e){return(zo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Do(e,t){return(Do=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ho(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Fo(e);if(t){var o=Fo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Uo(this,n)}}function Uo(e,t){return!t||"object"!==zo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Fo(e){return(Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Do(e,t)}(a,e);var t,n,r,o=Ho(a);function a(){return qo(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=(this.props.lbsubCaption,""),p={},f="",m="";return u="btn vk_button_link",e?(u="".concat(u," btn-primary btn-").concat(o),"0"===n?p={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===n&&(p={backgroundColor:"transparent",border:"1px solid "+e,color:e})):e||("0"===n?(u="".concat(u," btn-").concat(o," btn-").concat(t),p=null):"1"===n&&(u="".concat(u," btn-").concat(o," btn-outline-").concat(t),p=null)),"block"===r&&(u="".concat(u," btn-block")),c&&(f=React.createElement("i",{className:"".concat(c," vk_button_link_before")})),i&&(m=React.createElement("i",{className:"".concat(i," vk_button_link_after")})),React.createElement("a",{href:a,id:"vk_button_link",className:u,role:"button","aria-pressed":!0,style:p,target:l?"_blank":null},f,s,m)}}])&&Mo(t.prototype,n),r&&Mo(t,r),a}(wp.element.Component);function Yo(e){return(Yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Go(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jo(e,t){return(Jo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qo(e);if(t){var o=Qo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Xo(this,n)}}function Xo(e,t){return!t||"object"!==Yo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Qo(e){return(Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ko=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jo(e,t)}(a,e);var t,n,r,o=$o(a);function a(){return Go(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,p="",f={},m="",b="";return p="btn vk_button_link",e?(p="".concat(p," btn-primary btn-").concat(o),"0"===n?f={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===n&&(f={backgroundColor:"transparent",border:"1px solid "+e,color:e})):e||("0"===n?(p="".concat(p," btn-").concat(o," btn-").concat(t),f=null):"1"===n&&(p="".concat(p," btn-").concat(o," btn-outline-").concat(t),f=null)),"block"===r&&(p="".concat(p," btn-block")),c&&(m=React.createElement("i",{className:"".concat(c," vk_button_link_before")})),i&&(b=React.createElement("i",{className:"".concat(i," vk_button_link_after")})),React.createElement("a",{href:a,id:"vk_button_link",className:p,role:"button","aria-pressed":!0,style:f,target:l?"_blank":null,rel:"noopener noreferrer"},m,s,b,u&&React.createElement("p",{className:"vk_button_link_subCaption"},u))}}])&&Wo(t.prototype,n),r&&Wo(t,r),a}(wp.element.Component);function Zo(e){return(Zo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ea(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ta(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function na(e,t){return(na=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ra(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=aa(e);if(t){var o=aa(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return oa(this,n)}}function oa(e,t){return!t||"object"!==Zo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function aa(e){return(aa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var la=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&na(e,t)}(a,e);var t,n,r,o=ra(a);function a(){return ea(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,p="",f={},m="",b="";return p="btn vk_button_link",e?(p="".concat(p," btn-primary btn-").concat(o),"0"===n?f={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===n&&(f={backgroundColor:"transparent",border:"1px solid "+e,color:e})):e||("0"===n?(p="".concat(p," btn-").concat(o," btn-").concat(t),f=null):"1"===n&&(p="".concat(p," btn-").concat(o," btn-outline-").concat(t),f=null)),"block"===r&&(p="".concat(p," btn-block")),c&&(m=React.createElement("i",{className:"".concat(c," vk_button_link_before")})),i&&(b=React.createElement("i",{className:"".concat(i," vk_button_link_after")})),React.createElement("a",{href:a,id:"vk_button_link",className:p,role:"button","aria-pressed":!0,style:f,target:l?"_blank":null},m,s,b,u&&React.createElement("p",{className:"vk_button_link_subCaption"},u))}}])&&ta(t.prototype,n),r&&ta(t,r),a}(wp.element.Component);function ca(e){return(ca="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ia(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ua(e,t){return(ua=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ma(e);if(t){var o=ma(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}function fa(e,t){return!t||"object"!==ca(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ma(e){return(ma=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ba=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ua(e,t)}(a,e);var t,n,r,o=pa(a);function a(){return ia(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,p="",f={},m="",b="";return f=null,p="".concat(p="vk_button_link","0"==n||null==n||"1"==n?" btn":" vk_button_link-type-text"),"0"==n||null===n?"undefined"==e||null==e||null===e?(p="".concat(p," btn-").concat(t),f=null):f={backgroundColor:e,border:"1px solid ".concat(e),color:"#fff"}:"1"===n?"undefined"==e||null==e||null===e?(p="".concat(p," btn-outline-").concat(t),f=null):f={backgroundColor:"transparent",border:"1px solid "+e,color:e}:"2"===n&&("undefined"==e||null==e||null===e?(p="".concat(p," btn-outline-").concat(t),f=null):f={color:e}),p="".concat(p," btn-").concat(o),"block"===r&&(p="".concat(p," btn-block")),c&&(m=React.createElement("i",{className:"".concat(c," vk_button_link_before")})),i&&(b=React.createElement("i",{className:"".concat(i," vk_button_link_after")})),React.createElement("a",{href:a,id:"vk_button_link",style:f,className:p,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener noreferrer"},m,s,b,u&&React.createElement("p",{className:"vk_button_link_subCaption"},u))}}])&&sa(t.prototype,n),r&&sa(t,r),a}(wp.element.Component);function da(e){return(da="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function va(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ha(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _a(e,t){return(_a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ga(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ya(e);if(t){var o=ya(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ka(this,n)}}function ka(e,t){return!t||"object"!==da(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ya(e){return(ya=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var wa=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_a(e,t)}(a,e);var t,n,r,o=ga(a);function a(){return va(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,p="",f={},m="",b="";if(f=null,p="".concat(p="vk_button_link","0"==n||null==n||"1"==n?" btn":" vk_button_link-type-text"),"0"==n||null===n?"undefined"==e||null==e||null===e?(p="".concat(p," btn-").concat(t),f=null):f={backgroundColor:e,border:"1px solid ".concat(e),color:"#fff"}:"1"===n?"undefined"==e||null==e||null===e?(p="".concat(p," btn-outline-").concat(t),f=null):f={backgroundColor:"transparent",border:"1px solid "+e,color:e}:"2"===n&&("undefined"==e||null==e||null===e?(p="".concat(p," btn-outline-").concat(t),f=null):f={color:e}),p="".concat(p," btn-").concat(o),"block"===r&&(p="".concat(p," btn-block")),c&&!c.match(/<i/)&&(c='<i class="'.concat(c,'"></i>')),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),c){var d=(c=c.replace(/ fas/g,"fas")).split(" ");d[1]=" "+d[1]+" vk_button_link_before ",m=d.join("")}if(i){var v=(i=i.replace(/ fas/g,"fas")).split(" ");v[1]=" "+v[1]+" vk_button_link_after ",b=v.join("")}return React.createElement("a",{href:a,id:"vk_button_link",style:f,className:p,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener noreferrer"},nn()(m),s,nn()(b),u&&React.createElement("p",{className:"vk_button_link_subCaption"},u))}}])&&ha(t.prototype,n),r&&ha(t,r),a}(wp.element.Component),Ea=O.RichText,xa=O.RichText,Ra=[{attributes:{content:{type:"string",source:"html",selector:"span"},subCaption:{type:"string",default:""},buttonUrl:{type:"string",default:""},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:"undefined"},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""}},save:function(e){var t=e.attributes,n=e.className,r=t.content,o=t.subCaption,a=t.buttonUrl,l=t.buttonTarget,c=t.buttonSize,i=t.buttonType,s=t.buttonColor,u=t.buttonColorCustom,p=t.buttonAlign,f=t.fontAwesomeIconBefore,m=t.fontAwesomeIconAfter,b="";return b=u&&"undefined"!==u?"vk_button vk_button-color-custom vk_button-align-".concat(p):"vk_button vk_button-align-".concat(p),n&&(b=n+" "+b),React.createElement("div",{className:b},React.createElement(wa,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:p,lbSize:c,lbUrl:a,lbTarget:l,lbFontAwesomeIconBefore:f,lbFontAwesomeIconAfter:m,lbsubCaption:o,lbRichtext:React.createElement(Ea.Content,{tagName:"span",className:"vk_button_link_txt",value:r})}))}},{attributes:{content:{type:"string",source:"html",selector:"span"},subCaption:{type:"string",default:""},buttonUrl:{type:"string",default:""},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:"undefined"},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""}},save:function(e){var t=e.attributes,n=e.className,r=t.content,o=t.subCaption,a=t.buttonUrl,l=t.buttonTarget,c=t.buttonSize,i=t.buttonType,s=t.buttonColor,u=t.buttonColorCustom,p=t.buttonAlign,f=t.fontAwesomeIconBefore,m=t.fontAwesomeIconAfter,b="";return u?b="vk_button vk_button-color-custom vk_button-align-".concat(p):u||(b="vk_button vk_button-align-".concat(p)),n&&(b=n+" "+b),React.createElement("div",{className:b},React.createElement(ba,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:p,lbSize:c,lbUrl:a,lbTarget:l,lbFontAwesomeIconBefore:f,lbFontAwesomeIconAfter:m,lbsubCaption:o,lbRichtext:React.createElement(xa.Content,{tagName:"span",className:"vk_button_link_txt",value:r})}))}},{attributes:{content:{source:"html",selector:"span"},buttonUrl:{type:"string",default:null},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:null},fontAwesomeIconAfter:{type:"string",default:null}},save:function(e){var t=e.attributes,n=t.content,r=t.buttonUrl,o=t.buttonTarget,a=t.buttonSize,l=t.buttonType,c=t.buttonColor,i=t.buttonColorCustom,s=t.buttonAlign,u=t.fontAwesomeIconBefore,p=t.fontAwesomeIconAfter,f="";return i?f="vk_button vk_button-color-custom vk_button-align-".concat(s):i||(f="vk_button vk_button-align-".concat(s)),React.createElement("div",{className:f},React.createElement(Lo,{lbColorCustom:i,lbColor:c,lbType:l,lbAlign:s,lbSize:a,lbUrl:r,lbTarget:o,lbFontAwesomeIconBefore:u,lbFontAwesomeIconAfter:p,lbRichtext:React.createElement(xa.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:{content:{source:"html",selector:"span"},buttonUrl:{type:"string",default:null},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:null},fontAwesomeIconAfter:{type:"string",default:null}},save:function(e){var t=e.attributes,n=t.content,r=t.buttonUrl,o=t.buttonTarget,a=t.buttonSize,l=t.buttonType,c=t.buttonColor,i=t.buttonColorCustom,s=t.buttonAlign,u=t.fontAwesomeIconBefore,p=t.fontAwesomeIconAfter,f="";return i?f="vk_button vk_button-color-custom vk_button-align-".concat(s):i||(f="vk_button vk_button-align-".concat(s)),React.createElement("div",{className:f},React.createElement(Vo,{lbColorCustom:i,lbColor:c,lbType:l,lbAlign:s,lbSize:a,lbUrl:r,lbTarget:o,lbFontAwesomeIconBefore:u,lbFontAwesomeIconAfter:p,lbRichtext:React.createElement(xa.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:{content:{source:"html",selector:"span"},subCaption:{type:"string",default:null},buttonUrl:{type:"string",default:null},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:null},fontAwesomeIconAfter:{type:"string",default:null}},save:function(e){var t=e.attributes,n=(e.className,t.content),r=t.subCaption,o=t.buttonUrl,a=t.buttonTarget,l=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonAlign,p=t.fontAwesomeIconBefore,f=t.fontAwesomeIconAfter,m="";return s?m="vk_button vk_button-color-custom vk_button-align-".concat(u):s||(m="vk_button vk_button-align-".concat(u)),React.createElement("div",{className:m},React.createElement(Ko,{lbColorCustom:s,lbColor:i,lbType:c,lbAlign:u,lbSize:l,lbUrl:o,lbTarget:a,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:f,lbsubCaption:r,lbRichtext:React.createElement(xa.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:{content:{source:"html",selector:"span"},subCaption:{type:"string",default:null},buttonUrl:{type:"string",default:null},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:null},fontAwesomeIconAfter:{type:"string",default:null}},save:function(e){var t=e.attributes,n=(e.className,t.content),r=t.subCaption,o=t.buttonUrl,a=t.buttonTarget,l=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonAlign,p=t.fontAwesomeIconBefore,f=t.fontAwesomeIconAfter,m="";return s?m="vk_button vk_button-color-custom vk_button-align-".concat(u):s||(m="vk_button vk_button-align-".concat(u)),React.createElement("div",{className:m},React.createElement(la,{lbColorCustom:s,lbColor:i,lbType:c,lbAlign:u,lbSize:l,lbUrl:o,lbTarget:a,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:f,lbsubCaption:r,lbRichtext:React.createElement(xa.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:{content:{source:"html",selector:"span"},subCaption:{type:"string",default:null},buttonUrl:{type:"string",default:null},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:null},fontAwesomeIconAfter:{type:"string",default:null}},save:function(e){var t=e.attributes,n=e.className,r=t.content,o=t.subCaption,a=t.buttonUrl,l=t.buttonTarget,c=t.buttonSize,i=t.buttonType,s=t.buttonColor,u=t.buttonColorCustom,p=t.buttonAlign,f=t.fontAwesomeIconBefore,m=t.fontAwesomeIconAfter,b="";return u?b="vk_button vk_button-color-custom vk_button-align-".concat(p):u||(b="vk_button vk_button-align-".concat(p)),n&&(b=n+" "+b),React.createElement("div",{className:b},React.createElement(So,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:p,lbSize:c,lbUrl:a,lbTarget:l,lbFontAwesomeIconBefore:f,lbFontAwesomeIconAfter:m,lbsubCaption:o,lbRichtext:React.createElement(xa.Content,{tagName:"span",className:"vk_button_link_txt",value:r})}))}}],Ca=n(26),Na=n.n(Ca);function Sa(){return(Sa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ta=wp.i18n.__,Aa=wp.blocks.registerBlockType,Ba=wp.components,Oa=Ba.RadioControl,Ia=Ba.PanelBody,Pa=Ba.BaseControl,ja=Ba.CheckboxControl,La=Ba.TextControl,za=(Ba.Dashicon,Ba.ButtonGroup),qa=Ba.Button,Ma=wp.element.Fragment,Da=O.RichText,Ha=O.InspectorControls,Ua=O.ColorPalette;O.URLInput;Aa("vk-blocks/button",{title:Ta("Button","vk-blocks"),icon:React.createElement(Na.a,null),category:"vk-blocks-cat",attributes:{content:{type:"string",source:"html",selector:"span"},subCaption:{type:"string",default:""},buttonUrl:{type:"string",default:""},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:"undefined"},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""}},supports:{anchor:!0},edit:function(e){var t,n=e.attributes,r=e.className,o=e.setAttributes,a=(e.isSelected,n.content),l=n.subCaption,c=n.buttonUrl,i=n.buttonTarget,s=n.buttonSize,u=n.buttonType,p=n.buttonColor,f=n.buttonColorCustom,m=n.buttonAlign,b=n.fontAwesomeIconBefore,d=n.fontAwesomeIconAfter;return t=f?"vk_button vk_button-align-".concat(m," vk_button-color-custom"):"vk_button vk_button-align-".concat(m),t=r?"".concat(r," vk_button vk_button-align-").concat(m):"vk_button vk_button-align-".concat(m),React.createElement(Ma,null,React.createElement(Ha,null,React.createElement(Ia,{title:Ta("Button setting","vk-blocks")},React.createElement(La,{label:Ta("Sub Caption","vk-blocks"),value:l,onChange:function(e){return o({subCaption:e})},placeholder:"Sub Caption"}),React.createElement(La,{label:Ta("Button URL","vk-blocks"),value:c,onChange:function(e){return o({buttonUrl:e})},placeholder:"Button URL"}),React.createElement(ja,{label:Ta("Open link new tab.","vk-blocks"),checked:i,onChange:function(e){return o({buttonTarget:e})}}),React.createElement("h4",{className:"mt-0 mb-2"},Ta("Button Size:","vk-blocks")),React.createElement(za,{className:"mb-3"},React.createElement(qa,{isSmall:!0,isPrimary:"lg"===s,isSecondary:"lg"!==s,onClick:function(){return o({buttonSize:"lg"})}},Ta("Large","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"md"===s,isSecondary:"md"!==s,onClick:function(){return o({buttonSize:"md"})}},Ta("Normal","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"sm"===s,isSecondary:"sm"!==s,onClick:function(){return o({buttonSize:"sm"})}},Ta("Small","vk-blocks"))),React.createElement("h4",{className:"mt-0 mb-2"},Ta("Button Position:","vk-blocks")),React.createElement(za,{className:"mb-3"},React.createElement(qa,{isSmall:!0,isPrimary:"left"===m,isSecondary:"left"!==m,onClick:function(){return o({buttonAlign:"left"})}},Ta("Left","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"center"===m,isSecondary:"center"!==m,onClick:function(){return o({buttonAlign:"center"})}},Ta("Center","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"right"===m,isSecondary:"right"!==m,onClick:function(){return o({buttonAlign:"right"})}},Ta("Right","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"wide"===m,isSecondary:"wide"!==m,onClick:function(){return o({buttonAlign:"wide"})}},Ta("Wide","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"block"===m,isSecondary:"block"!==m,onClick:function(){return o({buttonAlign:"block"})}},Ta("Block","vk-blocks"))),React.createElement("h4",{className:"mt-0 mb-2"},Ta("Button Style:","vk-blocks")),React.createElement(za,{className:"mb-2"},React.createElement(qa,{isSmall:!0,isPrimary:"0"===u,isSecondary:"0"!==u,onClick:function(){return o({buttonType:"0"})}},Ta("Solid color","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"1"===u,isSecondary:"1"!==u,onClick:function(){return o({buttonType:"1"})}},Ta("No background","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"2"===u,isSecondary:"2"!==u,onClick:function(){return o({buttonType:"2"})}},Ta("Text only","vk-blocks"))),React.createElement("p",{className:"mb-3"},Ta('If you select "No background", that you need to select a Custom Color.',"vk-blocks")),React.createElement(Oa,{label:Ta("Default Color:","vk-blocks"),selected:p,options:[{label:Ta("Primary","vk-blocks"),value:"primary"},{label:Ta("Secondary","vk-blocks"),value:"secondary"},{label:Ta("Success","vk-blocks"),value:"success"},{label:Ta("Info","vk-blocks"),value:"info"},{label:Ta("Warning","vk-blocks"),value:"warning"},{label:Ta("Danger","vk-blocks"),value:"danger"},{label:Ta("Light","vk-blocks"),value:"light"},{label:Ta("Dark","vk-blocks"),value:"dark"}],onChange:function(e){return o({buttonColor:e})}}),React.createElement(Pa,{label:Ta("Custom Color","vk-blocks"),help:Ta("This custom color overrides the default color. If you want to use the default color, click the clear button.","vk-blocks")},React.createElement(Ua,{value:f,onChange:function(e){return o({buttonColorCustom:e})}})),React.createElement(Pa,null,React.createElement("h4",{className:"mt-0 mb-2"},Ta("Icon ( Font Awesome )","vk-blocks")),React.createElement(Pa,{label:Ta("Before text","vk-blocks")},React.createElement(yr,Sa({attributeName:"fontAwesomeIconBefore"},e))),React.createElement(Pa,{label:Ta("After text","vk-blocks")},React.createElement(yr,Sa({attributeName:"fontAwesomeIconAfter"},e)))))),React.createElement("div",{className:t},React.createElement(So,{lbColorCustom:f,lbColor:p,lbType:u,lbAlign:m,lbSize:s,lbFontAwesomeIconBefore:b,lbFontAwesomeIconAfter:d,lbsubCaption:l,lbRichtext:React.createElement(Da,{tagName:"span",className:"vk_button_link_txt",onChange:function(e){return o({content:e})},value:a,placeholder:Ta("Input text","vk-blocks"),allowedFormats:["core/bold","core/italic","core/strikethrough","core/superscript","core/subscript","vk-blocks/responsive-br"],isSelected:!0})})))},save:function(e){var t=e.attributes,n=e.className,r=t.content,o=t.subCaption,a=t.buttonUrl,l=t.buttonTarget,c=t.buttonSize,i=t.buttonType,s=t.buttonColor,u=t.buttonColorCustom,p=t.buttonAlign,f=t.fontAwesomeIconBefore,m=t.fontAwesomeIconAfter,b="";return b=u&&"undefined"!==u?"vk_button vk_button-color-custom vk_button-align-".concat(p):"vk_button vk_button-align-".concat(p),n&&(b=n+" "+b),React.createElement("div",{className:b},React.createElement(So,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:p,lbSize:c,lbUrl:a,lbTarget:l,lbFontAwesomeIconBefore:f,lbFontAwesomeIconAfter:m,lbsubCaption:o,lbRichtext:React.createElement(Da.Content,{tagName:"span",className:"vk_button_link_txt",value:r})}))},deprecated:Ra});var Fa=O.RichText,Va=O.InnerBlocks,Ya=[{attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"}},save:function(e){var t=e.attributes,n=e.className,r=t.heading,o=t.content;return React.createElement("dl",{className:"".concat(n," vk_faq")},React.createElement(Fa.Content,{tagName:"dt",className:"vk_faq_title",value:r}),React.createElement(Fa.Content,{tagName:"dd",className:"vk_faq_content",value:o}))}},{attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"}},save:function(e){var t=e.attributes,n=t.heading,r=t.content;return React.createElement("dl",{className:"vk_faq"},React.createElement(Fa.Content,{tagName:"dt",className:"vk_faq_title",value:n}),React.createElement(Fa.Content,{tagName:"dd",className:"vk_faq_content",value:r}))}},{attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string"}},save:function(e){var t=e.attributes.heading;return React.createElement("dl",{className:"vk_faq"},React.createElement(Fa.Content,{tagName:"dt",className:"vk_faq_title",value:t}),React.createElement("dd",{className:"vk_faq_content"},React.createElement(Va.Content,null)))}}],Ga=n(27),Wa=n.n(Ga),Ja=wp.i18n.__,$a=wp.element.Fragment,Xa=wp.blocks.registerBlockType,Qa=wp.components,Ka=Qa.PanelBody,Za=Qa.PanelRow,el=O.RichText,tl=O.InnerBlocks,nl=O.InspectorControls;Xa("vk-blocks/faq",{title:Ja("Classic FAQ","vk-blocks"),icon:React.createElement(Wa.a,null),category:"vk-blocks-cat",attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string"}},supports:{anchor:!0},styles:[{name:"vk_faq-normal",label:Ja("Normal","vk-blocks"),isDefault:!0},{name:"vk_faq-bgfill-circle",label:Ja("Bgfill Circle","vk-blocks")},{name:"vk_faq-bgfill-square",label:Ja("Bgfill Square","vk-blocks")},{name:"vk_faq-bgfill-rounded",label:Ja("Bgfill Rounded","vk-blocks")},{name:"vk_faq-border-circle",label:Ja("Border Circle","vk-blocks")},{name:"vk_faq-border-square",label:Ja("Border Square","vk-blocks")},{name:"vk_faq-border-rounded",label:Ja("Border Rounded","vk-blocks")}],example:{attributes:{heading:Se},innerBlocks:[{name:"core/paragraph",attributes:{content:Te}}]},edit:function(e){var t,n=e.attributes,r=e.setAttributes,o=e.className;t=vk_blocks_check.is_pro?Ja("If you want to be collapsing this block, you can set it at Setting > VK Blocks","vk-blocks"):Ja("You can be collapsing this block at VK Blocks Pro","vk-blocks");var a=n.heading,l=[["core/paragraph",{content:n.content}]];return React.createElement($a,null,React.createElement(nl,null,React.createElement(Ka,{title:Ja("Accordion Setting","vk-blocks")},React.createElement(Za,null,t))),React.createElement("dl",{className:u()(o,"vk_faq")},React.createElement(el,{tagName:"dt",className:"vk_faq_title",onChange:function(e){return r({heading:e})},value:a,placeholder:Ja("Please enter a question.","vk-blocks")}),React.createElement("dd",{className:"vk_faq_content"}," ",React.createElement(tl,{template:l}))))},save:function(e){var t=e.attributes.heading;return React.createElement("dl",{className:"vk_faq [accordion_trigger_switch]"},React.createElement(el.Content,{tagName:"dt",className:"vk_faq_title",value:t}),React.createElement("dd",{className:"vk_faq_content"},React.createElement(tl.Content,null)))},deprecated:Ya});var rl=O.RichText,ol=[{attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"},arrowFlag:{type:"string",default:"vk_flow-arrow-on"},insertImage:{type:"string",default:null}},save:function(e){var t=e.attributes,n=t.heading,r=t.content,o=t.insertImage,a=t.arrowFlag;return React.createElement("div",{className:"".concat(a," vk_flow")},React.createElement("div",{className:"vk_flow_frame"},React.createElement("dl",{className:"vk_flow_frame_text"},React.createElement(rl.Content,{tagName:"dt",className:"vk_flow_frame_text_title",value:n}),React.createElement(rl.Content,{tagName:"dd",className:"vk_flow_frame_text_content",value:r})),o?React.createElement("div",{className:"vk_flow_frame_image"},React.createElement("img",{src:o,alt:""})):""))}}],al=n(28),ll=n.n(al),cl=wp.i18n.__,il=wp.blocks.registerBlockType,sl=wp.components,ul=sl.RadioControl,pl=sl.PanelBody,fl=sl.Button,ml=wp.element.Fragment,bl=O.RichText,dl=O.InspectorControls,vl=O.MediaUpload;function hl(e){return(hl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kl(e,t){return(kl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yl(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=El(e);if(t){var o=El(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wl(this,n)}}function wl(e,t){return!t||"object"!==hl(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function El(e){return(El=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}il("vk-blocks/flow",{title:cl("Flow","vk-blocks"),icon:React.createElement(ll.a,null),category:"vk-blocks-cat",attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"},arrowFlag:{type:"string",default:"vk_flow-arrow-on"},insertImage:{type:"string",default:null}},example:{attributes:{heading:Se,content:Te,arrowFlag:"vk_flow-arrow-on",insertImage:Oe}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.clientId,a=t.heading,l=t.content,c=t.insertImage,i=t.arrowFlag;return React.createElement(ml,null,React.createElement(dl,null,React.createElement(pl,{title:cl("Display of arrow","vk-blocks")},React.createElement(ul,{selected:i,options:[{label:cl("Arrow display","vk-blocks"),value:"vk_flow-arrow-on"},{label:cl("Arrow hidden","vk-blocks"),value:"vk_flow-arrow-off"}],onChange:function(e){return n({arrowFlag:e})}}))),React.createElement("div",{className:"".concat(r," ").concat(i," vk_flow")},React.createElement("div",{className:"vk_flow_frame"},React.createElement("dl",{className:"vk_flow_frame_text"},React.createElement(bl,{key:"".concat(o,"2"),tagName:"dt",className:"vk_flow_frame_text_title",onChange:function(e){return n({heading:e})},value:a,placeholder:cl("Input title","vk-blocks")}),React.createElement(bl,{key:"".concat(o,"3"),tagName:"dd",className:"vk_flow_frame_text_content",onChange:function(e){return n({content:e})},value:l,placeholder:cl("Input content","vk-blocks")})),React.createElement("div",{className:"vk_flow_frame_image"},React.createElement(vl,{onSelect:function(e){return n({insertImage:e.url})},type:"image",className:"vk_flow_frame_image",value:c,render:function(e){var t=e.open;return React.createElement(fl,{onClick:t,className:c?"image-button":"button button-large"},c?React.createElement("img",{className:"icon-image",src:c,alt:cl("Upload image","vk-blocks")}):cl("Select image","vk-blocks"))}})))))},save:function(e){var t=e.attributes,n=e.className,r=t.heading,o=t.content,a=t.insertImage,l=t.arrowFlag;return React.createElement("div",{className:"".concat(n," ").concat(l," vk_flow")},React.createElement("div",{className:"vk_flow_frame"},React.createElement("dl",{className:"vk_flow_frame_text"},React.createElement(bl.Content,{tagName:"dt",className:"vk_flow_frame_text_title",value:r}),React.createElement(bl.Content,{tagName:"dd",className:"vk_flow_frame_text_content",value:o})),a?React.createElement("div",{className:"vk_flow_frame_image"},React.createElement("img",{src:a,alt:""})):""))},deprecated:ol});var xl=wp.i18n.__,Rl=wp.element.Component,Cl=O.RichText,Nl=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kl(e,t)}(a,e);var t,n,r,o=yl(a);function a(){return _l(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,r=t.heading2,o=t.heading3,a=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,p=t.urlOpenType1,f=t.urlOpenType2,m=t.urlOpenType3,b=t.icon1,d=t.icon2,v=t.icon3,h=t.color1,_=t.color2,g=t.color3,k=t.bgType1,y=t.bgType2,w=t.bgType3,E=t.insertImage1,x=t.insertImage2,R=t.insertImage3,C=this.props.for_,N=this.props.blockNum,S=this.props.blockNum-1,T=[n,r,o],A=[a,l,c],B=[i,s,u],O=[p,f,m],I=[b,d,v],P=[h,_,g],j=[k,y,w],L=[E,x,R],z="",q="",M=L[S]?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url(".concat(L[S],")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:L[S],alt:""})):(P[S]||(P[S]="#0693e3"),"0"===j[S]?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:P[S],border:"1px solid ".concat(P[S])}},React.createElement("i",{className:"".concat(I[S]," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+P[S]}},React.createElement("i",{className:"".concat(I[S]," vk_prBlocks_item_icon"),style:{color:P[S]}})));return"edit"===C?1===N?(z=React.createElement(Cl,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h1",onChange:function(t){return e({heading1:t})},value:n,placeholder:xl("Input Title","vk-blocks")}),q=React.createElement(Cl,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:a,placeholder:xl("Input Content","vk-blocks")})):2===N?(z=React.createElement(Cl,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h1",onChange:function(t){return e({heading2:t})},value:r,placeholder:xl("Input Title","vk-blocks")}),q=React.createElement(Cl,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:xl("Input Content","vk-blocks")})):3===N&&(z=React.createElement(Cl,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h1",onChange:function(t){return e({heading3:t})},value:o,placeholder:xl("Input Title","vk-blocks")}),q=React.createElement(Cl,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:xl("Input Content","vk-blocks")})):"save"===C&&(z=React.createElement(Cl.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(N),tagName:"h1",value:T[S]}),q=React.createElement(Cl.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(N),tagName:"p",value:A[S]})),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:B[S],target:O[S]?"_blank":"_self",className:"vk_prBlocks_item_link",rel:"noopener noreferrer"},M,z,q))}}])&&gl(t.prototype,n),r&&gl(t,r),a}(Rl);function Sl(e){return(Sl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Tl=function(e){if("string"==typeof e){try{JSON.parse(e)}catch(e){return!0}return!1}return"object"!==Sl(e)||Array.isArray(e)};function Al(e){return(Al="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Bl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ol(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Il(e,t){return(Il=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pl(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ll(e);if(t){var o=Ll(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return jl(this,n)}}function jl(e,t){return!t||"object"!==Al(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ll(e){return(Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var zl=wp.i18n.__,ql=wp.element.Component,Ml=O.RichText,Dl=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Il(e,t)}(a,e);var t,n,r,o=Pl(a);function a(){return Bl(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,r=t.heading2,o=t.heading3,a=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,p=t.urlOpenType1,f=t.urlOpenType2,m=t.urlOpenType3,b=t.icon1,d=t.icon2,v=t.icon3,h=t.color1,_=t.color2,g=t.color3,k=t.bgType1,y=t.bgType2,w=t.bgType3,E=t.insertImage1,x=t.insertImage2,R=t.insertImage3,C=this.props.for_,N=this.props.blockNum,S=this.props.blockNum-1,T=[n,r,o],A=[a,l,c],B=[i,s,u],O=[p,f,m],P=[b,d,v],j=[h,_,g],L=[k,y,w],z=[E,x,R],q="",M="",D=function(e){var t=e[S];if(Tl(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(I(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},H=z[S]?React.createElement("div",{className:"vk_prBlocks_item_image",style:D(z)},function(e){if(Tl(e))return React.createElement("img",{src:e,alt:""});var t=JSON.parse(I(e));return React.createElement("img",{src:t.sizes.full.url,alt:t.alt})}(z[S])):(j[S]||(j[S]="#0693e3"),"0"===L[S]?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:j[S],border:"1px solid ".concat(j[S])}},React.createElement("i",{className:"".concat(P[S]," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+j[S]}},React.createElement("i",{className:"".concat(P[S]," vk_prBlocks_item_icon"),style:{color:j[S]}})));return"edit"===C?1===N?(q=React.createElement(Ml,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h3",onChange:function(t){return e({heading1:t})},value:n,placeholder:zl("Input Title","vk-blocks")}),M=React.createElement(Ml,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:a,placeholder:zl("Input Content","vk-blocks")})):2===N?(q=React.createElement(Ml,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h3",onChange:function(t){return e({heading2:t})},value:r,placeholder:zl("Input Title","vk-blocks")}),M=React.createElement(Ml,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:zl("Input Content","vk-blocks")})):3===N&&(q=React.createElement(Ml,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h3",onChange:function(t){return e({heading3:t})},value:o,placeholder:zl("Input Title","vk-blocks")}),M=React.createElement(Ml,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:zl("Input Content","vk-blocks")})):"save"===C&&(q=React.createElement(Ml.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(N),tagName:"h3",value:T[S]}),M=React.createElement(Ml.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(N),tagName:"p",value:A[S]})),B[S]&&"save"===C?React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:B[S],className:"vk_prBlocks_item_link",target:O[S]?"_blank":"_self",rel:"noopener noreferrer"},H,q,M)):React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},H,q,M)}}])&&Ol(t.prototype,n),r&&Ol(t,r),a}(ql);function Hl(e){throw new Error('"'+e+'" is read-only')}wp.i18n.__;var Ul=O.RichText;function Fl(e){for(var t={},n=1;n<=e;n++)t["heading"+n]={type:"string",source:"html",selector:"h3.vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:null},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:"fas fa-file"},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:null};return t}var Vl=[{attributes:Fl(4),save:function(e){var t,n=e.attributes,r=e.className;return t=r?"".concat(r," vk_prBlocks row"):"vk_prBlocks row",React.createElement("div",{className:t},React.createElement(Dl,{attributes:n,blockNum:1,for_:"save"}),React.createElement(Dl,{attributes:n,blockNum:2,for_:"save"}),React.createElement(Dl,{attributes:n,blockNum:3,for_:"save"}))}},{attributes:Fl(4),save:function(e){var t=e.attributes,n=t.heading1,r=t.heading2,o=t.heading3,a=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,p=t.urlOpenType1,f=t.urlOpenType2,m=t.urlOpenType3,b=t.icon1,d=t.icon2,v=t.icon3,h=t.color1,_=t.color2,g=t.color3,k=t.bgType1,y=t.bgType2,w=t.bgType3,E=t.insertImage1,x=t.insertImage2,R=t.insertImage3;return React.createElement("div",{className:"vk_prBlocks row"},React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:i,target:p?"_blank":"_self",className:"vk_prBlocks_item_link"},E?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+E+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:E,alt:""})):(h||(Hl("color1"),h="#0693e3"),"0"===k?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:h,border:"1px solid ".concat(h)}},React.createElement("i",{className:"".concat(b," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+h}},React.createElement("i",{className:"".concat(b," vk_prBlocks_item_icon"),style:{color:h}}))),React.createElement(Ul.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h1",value:n}),React.createElement(Ul.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",value:a}))),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:s,target:f?"_blank":"_self",className:"vk_prBlocks_item_link"},x?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+x+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:x,alt:""})):(_||(Hl("color2"),_="#0693e3"),"0"===y?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:_,border:"1px solid ".concat(_)}},React.createElement("i",{className:"".concat(d," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+_}},React.createElement("i",{className:"".concat(d," vk_prBlocks_item_icon"),style:{color:_}}))),React.createElement(Ul.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h1",value:r}),React.createElement(Ul.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",value:l}))),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:u,target:m?"_blank":"_self",className:"vk_prBlocks_item_link"},R?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+R+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:R,alt:""})):(g||(Hl("color3"),g="#0693e3"),"0"===w?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:g,border:"1px solid ".concat(g)}},React.createElement("i",{className:"".concat(v," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+g}},React.createElement("i",{className:"".concat(v," vk_prBlocks_item_icon"),style:{color:g}}))),React.createElement(Ul.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h1",value:o}),React.createElement(Ul.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",value:c}))))}},{attributes:function(e){for(var t={},n=1;n<=e;n++)t["heading"+n]={type:"string",source:"html",selector:"h1.vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:null},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:"fas fa-file"},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:null};return t}(4),save:function(e){var t=e.attributes;return React.createElement("div",{className:"vk_prBlocks row"},React.createElement(Nl,{attributes:t,blockNum:1,for_:"save"}),React.createElement(Nl,{attributes:t,blockNum:2,for_:"save"}),React.createElement(Nl,{attributes:t,blockNum:3,for_:"save"}))}}];function Yl(e){return(Yl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jl(e,t){return(Jl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ql(e);if(t){var o=Ql(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Xl(this,n)}}function Xl(e,t){return!t||"object"!==Yl(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ql(e){return(Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Kl=wp.i18n.__,Zl=wp.element.Component,ec=O.RichText,tc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jl(e,t)}(a,e);var t,n,r,o=$l(a);function a(){return Gl(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,r=t.heading2,o=t.heading3,a=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,p=t.urlOpenType1,f=t.urlOpenType2,m=t.urlOpenType3,b=t.icon1,d=t.icon2,v=t.icon3,h=t.color1,_=t.color2,g=t.color3,k=t.bgType1,y=t.bgType2,w=t.bgType3,E=t.insertImage1,x=t.insertImage2,R=t.insertImage3,C=this.props.for_,N=this.props.blockNum,S=this.props.blockNum-1,T=[n,r,o],A=[a,l,c],B=[i,s,u],O=[p,f,m],P=[b,d,v],j=[h,_,g],L=[k,y,w],z=[E,x,R],q="",M="",D=function(e){var t=e[S];if(Tl(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(I(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},H=function(){if(z[S])return React.createElement("div",{className:"vk_prBlocks_item_image",style:D(z)},function(e){if(Tl(e))return React.createElement("img",{src:e,alt:""});var t=JSON.parse(I(e));return React.createElement("img",{src:t.sizes.full.url,alt:t.alt})}(z[S]));var e;j[S]||(j[S]="#0693e3"),e="0"===L[S]?"#fff":j[S];var t=P[S];t&&!t.match(/<i/)&&(t='<i class="'.concat(t,'"></i>'));var n=t.split(" ");n[0]=n[0]+' style="color:'.concat(e,'" '),n[1]=n[1]+" vk_prBlocks_item_icon ";var r=n.join("");return"0"===L[S]?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:j[S],border:"1px solid ".concat(j[S])}},nn()(r)):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+j[S]}},nn()(r))}();return"edit"===C?1===N?(q=React.createElement(ec,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h3",onChange:function(t){return e({heading1:t})},value:n,placeholder:Kl("Input Title","vk-blocks")}),M=React.createElement(ec,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:a,placeholder:Kl("Input Content","vk-blocks")})):2===N?(q=React.createElement(ec,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h3",onChange:function(t){return e({heading2:t})},value:r,placeholder:Kl("Input Title","vk-blocks")}),M=React.createElement(ec,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:Kl("Input Content","vk-blocks")})):3===N&&(q=React.createElement(ec,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h3",onChange:function(t){return e({heading3:t})},value:o,placeholder:Kl("Input Title","vk-blocks")}),M=React.createElement(ec,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:Kl("Input Content","vk-blocks")})):"save"===C&&(q=React.createElement(ec.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(N),tagName:"h3",value:T[S]}),M=React.createElement(ec.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(N),tagName:"p",value:A[S]})),B[S]&&"save"===C?React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:B[S],className:"vk_prBlocks_item_link",target:O[S]?"_blank":"_self",rel:"noopener noreferrer"},H,q,M)):React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},H,q,M)}}])&&Wl(t.prototype,n),r&&Wl(t,r),a}(Zl),nc=n(29),rc=n.n(nc);function oc(){return(oc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ac=wp.i18n.__,lc=wp.blocks.registerBlockType,cc=wp.components,ic=cc.RadioControl,sc=cc.PanelBody,uc=cc.Button,pc=cc.BaseControl,fc=cc.CheckboxControl,mc=cc.TextControl,bc=wp.element.Fragment,dc=wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,vc=dc.InspectorControls,hc=dc.MediaUpload,_c=dc.ColorPalette;lc("vk-blocks/pr-blocks",{title:ac("PR Blocks","vk-blocks"),icon:Qe.a.createElement(rc.a,null),category:"vk-blocks-cat",attributes:function(e){for(var t={},n=1;n<=e;n++)t["heading"+n]={type:"string",source:"html",selector:".vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:""},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:'<i class="fas fa-file"></i>'},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:""};return t}(4),example:function(e){for(var t={},n=1;n<=e;n++)t["heading"+n]=Ae,t["content"+n]=Se,t["url"+n]="https://example.com",t["urlOpenType"+n]=!1,t["icon"+n]=Be,t["color"+n]="#8ed1fc",t["bgType"+n]="0",t["insertImage"+n]="";return{attributes:t}}(4),edit:function(e){var t,n=e.attributes,r=e.setAttributes,o=e.className,a=n.url1,l=n.url2,c=n.url3,i=n.urlOpenType1,s=n.urlOpenType2,u=n.urlOpenType3,p=n.color1,f=n.color2,m=n.color3,b=n.bgType1,d=n.bgType2,v=n.bgType3,h=n.insertImage1,_=n.insertImage2,g=n.insertImage3;t=o?"".concat(o," vk_prBlocks row"):"vk_prBlocks row";var k=function(e){if(Tl(e))return e?Qe.a.createElement("img",{className:"icon-image",src:e,alt:ac("Upload image","vk-blocks")}):ac("Select image","vk-blocks");var t=JSON.parse(I(e));return e?Qe.a.createElement("img",{className:"icon-image",src:t.sizes.full.url,alt:t.alt}):ac("Select image","vk-blocks")};return Qe.a.createElement(bc,null,Qe.a.createElement(vc,null,Qe.a.createElement(sc,{title:ac("PR Block1 Setting","vk-blocks")},Qe.a.createElement(pc,{label:ac("Link URL:","vk-blocks")},Qe.a.createElement(mc,{value:a,onChange:function(e){return r({url1:e})}}),Qe.a.createElement(fc,{label:ac("Open link new tab.","vk-blocks"),checked:i,onChange:function(e){return r({urlOpenType1:e})}})),Qe.a.createElement(pc,{label:ac("Icon 1","vk-blocks")},Qe.a.createElement(yr,oc({attributeName:"icon1"},e)),Qe.a.createElement(_c,{value:p,onChange:function(e){e?r({color1:e}):(r({color1:"#0693e3"}),r({bgType1:"0"}))}}),Qe.a.createElement(ic,{label:ac("Icon Background:","vk-blocks"),selected:b,options:[{label:ac("Solid color","vk-blocks"),value:"0"},{label:ac("No background","vk-blocks"),value:"1"}],onChange:function(e){return r({bgType1:e})}})),Qe.a.createElement(pc,{help:ac("When you have an image. Image is displayed with priority","vk-blocks")},Qe.a.createElement("h4",{className:"components-base-control__title"},ac("PR Image 1","vk-blocks")),Qe.a.createElement(hc,{onSelect:function(e){Tl(e)?r({insertImage1:e.url}):r({insertImage1:JSON.stringify(e)})},type:"image",value:h,render:function(e){var t=e.open;return Qe.a.createElement(uc,{onClick:t,className:h?"image-button":"button button-large"},k(h))}}))),Qe.a.createElement(sc,{title:ac("PR Block2 Setting","vk-blocks")},Qe.a.createElement(pc,{label:ac("Link URL:","vk-blocks")},Qe.a.createElement(mc,{value:l,onChange:function(e){return r({url2:e})}}),Qe.a.createElement(fc,{label:ac("Open link new tab.","vk-blocks"),checked:s,onChange:function(e){return r({urlOpenType2:e})}})),Qe.a.createElement(pc,{label:ac("Icon 2","vk-blocks")},Qe.a.createElement(yr,oc({attributeName:"icon2"},e)),Qe.a.createElement(_c,{value:f,onChange:function(e){e?r({color2:e}):(r({color2:"#0693e3"}),r({bgType2:"0"}))}}),Qe.a.createElement(ic,{label:ac("Icon Background:","vk-blocks"),selected:d,options:[{label:ac("Solid color","vk-blocks"),value:"0"},{label:ac("No background","vk-blocks"),value:"1"}],onChange:function(e){return r({bgType2:e})}})),Qe.a.createElement(pc,{help:ac("When you have an image. Image is displayed with priority.","vk-blocks")},Qe.a.createElement("h4",{className:"components-base-control__title"},ac("PR Image 2","vk-blocks")),Qe.a.createElement(hc,{onSelect:function(e){Tl(e)?r({insertImage2:e.url}):r({insertImage2:JSON.stringify(e)})},type:"image",value:_,render:function(e){var t=e.open;return Qe.a.createElement(uc,{onClick:t,className:_?"image-button":"button button-large"},k(_))}}))),Qe.a.createElement(sc,{title:ac("PR Block3 Setting","vk-blocks")},Qe.a.createElement(pc,{label:ac("Link URL:","vk-blocks")},Qe.a.createElement(mc,{value:c,onChange:function(e){return r({url3:e})}}),Qe.a.createElement(fc,{label:ac("Open link new tab.","vk-blocks"),checked:u,onChange:function(e){return r({urlOpenType3:e})}})),Qe.a.createElement(pc,{label:ac("Icon 3","vk-blocks")},Qe.a.createElement(yr,oc({attributeName:"icon3"},e)),Qe.a.createElement(_c,{value:m,onChange:function(e){e?r({color3:e}):(r({color3:"#0693e3"}),r({bgType3:"0"}))}}),Qe.a.createElement(ic,{label:ac("Icon Background:","vk-blocks"),selected:v,options:[{label:ac("Solid color","vk-blocks"),value:"0"},{label:ac("No background","vk-blocks"),value:"1"}],onChange:function(e){return r({bgType3:e})}})),Qe.a.createElement(pc,{help:ac("When you have an image. Image is displayed with priority.","vk-blocks")},Qe.a.createElement("h4",{className:"components-base-control__title"},ac("PR Image 3","vk-blocks")),Qe.a.createElement(hc,{onSelect:function(e){Tl(e)?r({insertImage3:e.url}):r({insertImage3:JSON.stringify(e)})},type:"image",value:g,render:function(e){var t=e.open;return Qe.a.createElement(uc,{onClick:t,className:g?"image-button":"button button-large"},k(g))}})))),Qe.a.createElement("div",{className:t},Qe.a.createElement(tc,{attributes:n,setAttributes:r,blockNum:1,for_:"edit"}),Qe.a.createElement(tc,{attributes:n,setAttributes:r,blockNum:2,for_:"edit"}),Qe.a.createElement(tc,{attributes:n,setAttributes:r,blockNum:3,for_:"edit"})))},save:function(e){var t,n=e.attributes,r=e.className;return t=r?"".concat(r," vk_prBlocks row"):"vk_prBlocks row",Qe.a.createElement("div",{className:t},Qe.a.createElement(tc,{attributes:n,blockNum:1,for_:"save"}),Qe.a.createElement(tc,{attributes:n,blockNum:2,for_:"save"}),Qe.a.createElement(tc,{attributes:n,blockNum:3,for_:"save"}))},deprecated:Vl});var gc={attributes:{title:Se,titleColor:"#8ed1fc",content:Te,contentColor:"#8ed1fc",url:"https://example.com",buttonType:"0",buttonColor:"primary",buttonColorCustom:"",buttonText:Ae,buttonTarget:!1,Image:Oe,ImageBorderColor:"#8ed1fc",layout:"left",fontAwesomeIconBefore:Be,fontAwesomeIconAfter:Be}};function kc(e){return(kc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ec(e,t){return(Ec=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Cc(e);if(t){var o=Cc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Rc(this,n)}}function Rc(e,t){return!t||"object"!==kc(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Cc(e){return(Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Nc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ec(e,t)}(a,e);var t,n,r,o=xc(a);function a(){return yc(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.buttonText,o=n.fontAwesomeIconBefore,a=n.fontAwesomeIconAfter,l="",c="";return o&&!o.match(/<i/)&&(o='<i class="'.concat(o,'"></i>')),a&&!a.match(/<i/)&&(a='<i class="'.concat(a,'"></i>')),o&&((e=o.split(" "))[1]=" "+e[1]+" vk_button_link_before ",l=e.join("")),a&&((t=a.split(" "))[1]=" "+t[1]+" vk_button_link_after ",c=t.join("")),React.createElement(React.Fragment,null,nn()(l),React.createElement("span",{className:"vk_button_link_txt"},r),nn()(c))}}])&&wc(t.prototype,n),r&&wc(t,r),a}(wp.element.Component);function Sc(e){return(Sc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ac(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bc(e,t){return(Bc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pc(e);if(t){var o=Pc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ic(this,n)}}function Ic(e,t){return!t||"object"!==Sc(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Pc(e){return(Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var jc=wp.i18n.__,Lc=wp.components.Button,zc=wp.element.Component,qc=O.MediaUpload,Mc=O.RichText,Dc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bc(e,t)}(a,e);var t,n,r,o=Oc(a);function a(){return Tc(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,r=e.content,o=e.contentColor,a=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,p=e.buttonTarget,f=e.Image,m=e.ImageBorderColor,b=e.layout,d=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),v=this.props.className,h=this.props.for_,_="vk_prContent",g="vk_button",k="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={},w="none";_="right"===b?u()(v,_,"vk_prContent-layout-imageRight"):u()(v,_,"vk_prContent-layout-imageLeft"),i?(g="".concat(g," vk_button-color-custom"),k="".concat(k," btn-primary"),"0"===l?y={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(y={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(k="".concat(k," btn-").concat(c),y=null):"1"===l&&(k="".concat(k," btn-outline-").concat(c),y=null)),w=m?"1px solid ".concat(m):"none";var E=function(e){e&&d({Image:JSON.stringify(e)})};return React.createElement("div",{className:_},React.createElement("div",{className:"col-sm-6 vk_prContent_colImg"},function(e){if("edit"===e){if(f&&-1===f.indexOf("{"))return React.createElement(qc,{onSelect:function(e){return d({Image:e.sizes.full.url})},type:" image",value:f,render:function(e){var t=e.open;return React.createElement(Lc,{onClick:t,className:f?"image-button":"button button-large"},f?React.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:jc("Upload image","vk-blocks"),style:{border:w}}):jc("Select image","vk-blocks"))}});var t=JSON.parse(I(f));return React.createElement(qc,{onSelect:E,type:" image",value:t,render:function(e){var n=e.open;return React.createElement(Lc,{onClick:n,className:t?"image-button":"button button-large"},null===f||void 0===t.sizes?jc("Select image","vk-blocks"):React.createElement("img",{className:"vk_prContent_colImg_image",src:t.sizes.full.url,alt:t.alt,style:{border:w}}))}})}if("save"===e){if(!f)return jc("Select image","vk-blocks");if(f&&-1===f.indexOf("{"))return React.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:jc("Upload image","vk-blocks"),style:{border:w}});var n=JSON.parse(I(f));return n&&void 0!==n.sizes?React.createElement("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:w}}):""}}(h)),React.createElement("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===h?React.createElement(React.Fragment,null,React.createElement(Mc,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return d({title:e})},value:t,placeholder:jc("Input title.","vk-blocks"),style:{color:n}}),React.createElement(Mc,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return d({content:e})},value:r,placeholder:jc("Input content.","vk-blocks"),style:{color:o}})):React.createElement(React.Fragment,null,React.createElement(Mc.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),React.createElement(Mc.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:r,style:{color:o}})),function(){if(""!==s&&void 0!==s)return React.createElement("div",{className:g},React.createElement("a",{href:a,className:k,target:p?"_blank":null,style:y},React.createElement(Nc,{attributes:e})))}()))}}])&&Ac(t.prototype,n),r&&Ac(t,r),a}(zc);function Hc(e){return(Hc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Uc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vc(e,t){return(Vc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Wc(e);if(t){var o=Wc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Gc(this,n)}}function Gc(e,t){return!t||"object"!==Hc(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Wc(e){return(Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Jc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vc(e,t)}(a,e);var t,n,r,o=Yc(a);function a(){return Uc(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.buttonText,n=e.fontAwesomeIconBefore,r=e.fontAwesomeIconAfter,o="",a="";return n&&(o=Qe.a.createElement("i",{className:"".concat(n," vk_button_link_before")})),r&&(a=Qe.a.createElement("i",{className:"".concat(r," vk_button_link_after")})),Qe.a.createElement(Qe.a.Fragment,null,o,Qe.a.createElement("span",{className:"vk_button_link_txt"},t),a)}}])&&Fc(t.prototype,n),r&&Fc(t,r),a}(Qe.a.Component);function $c(e){return($c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Kc(e,t){return(Kc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Zc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ti(e);if(t){var o=ti(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ei(this,n)}}function ei(e,t){return!t||"object"!==$c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ti(e){return(ti=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ni=wp.i18n.__,ri=wp.components.Button,oi=O.MediaUpload,ai=O.RichText,li=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kc(e,t)}(a,e);var t,n,r,o=Zc(a);function a(){return Xc(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,r=e.content,o=e.contentColor,a=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,u=e.buttonTarget,p=e.Image,f=e.ImageBorderColor,m=e.layout,b=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),d=this.props.for_,v="vk_prContent",h="vk_button",_="btn btn-block vk_button_link vk_prContent_colTxt_btn",g={};return v="".concat(v,"right"===m?" vk_prContent-layout-imageRight":" vk_prContent-layout-imageLeft"),i?(h="".concat(h," vk_button-color-custom"),_="".concat(_," btn-primary"),"0"===l?g={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(g={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(_="".concat(_," btn-").concat(c),g=null):"1"===l&&(_="".concat(_," btn-outline-").concat(c),g=null)),Qe.a.createElement("div",{className:v},Qe.a.createElement("div",{className:"col-sm-6 vk_prContent_colImg"},"edit"===d?Qe.a.createElement(oi,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(e){var t=e.open;return Qe.a.createElement(ri,{onClick:t,className:p?"image-button":"button button-large"},p?Qe.a.createElement("img",{className:"vk_prContent_colImg_image",src:p,alt:ni("Upload image","vk-blocks"),style:{border:"1px solid ".concat(f)}}):ni("Select image","vk-blocks"))}}):p?Qe.a.createElement("img",{className:"vk_prContent_colImg_image",src:p,alt:ni("Upload image","vk-blocks"),style:{border:"1px solid ".concat(f)}}):ni("Select image","vk-blocks")),Qe.a.createElement("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===d?Qe.a.createElement(Qe.a.Fragment,null,Qe.a.createElement(ai,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:t,placeholder:ni("Input title.","vk-blocks"),style:{color:n}}),Qe.a.createElement(ai,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:r,placeholder:ni("Input content.","vk-blocks"),style:{color:o}})):Qe.a.createElement(Qe.a.Fragment,null,Qe.a.createElement(ai.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),Qe.a.createElement(ai.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:r,style:{color:o}})),function(){if(""!==s&&void 0!==s)return Qe.a.createElement("div",{className:h},Qe.a.createElement("a",{href:a,className:_,target:u?"_blank":null,style:g,rel:"noopener noreferrer"},Qe.a.createElement(Jc,{attributes:e})))}()))}}])&&Qc(t.prototype,n),r&&Qc(t,r),a}(Qe.a.Component);function ci(e){return(ci="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ii(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function si(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ui(e,t){return(ui=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mi(e);if(t){var o=mi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fi(this,n)}}function fi(e,t){return!t||"object"!==ci(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function mi(e){return(mi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var bi=wp.i18n.__,di=wp.components.Button,vi=O.MediaUpload,hi=O.RichText,_i=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ui(e,t)}(a,e);var t,n,r,o=pi(a);function a(){return ii(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,r=e.content,o=e.contentColor,a=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,p=e.buttonTarget,f=e.Image,m=e.ImageBorderColor,b=e.layout,d=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),v=this.props.className,h=this.props.for_,_="vk_prContent",g="vk_button",k="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={},w="";return _="right"===b?u()(v,_,"vk_prContent-layout-imageRight"):u()(v,_,"vk_prContent-layout-imageLeft"),i?(g="".concat(g," vk_button-color-custom"),k="".concat(k," btn-primary"),"0"===l?y={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(y={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(k="".concat(k," btn-").concat(c),y=null):"1"===l&&(k="".concat(k," btn-outline-").concat(c),y=null)),w=null==m?"none":"1px solid ".concat(m),Qe.a.createElement("div",{className:_},Qe.a.createElement("div",{className:"col-sm-6 vk_prContent_colImg"},"edit"===h?Qe.a.createElement(vi,{onSelect:function(e){return d({Image:e.sizes.full.url})},type:" image",value:f,render:function(e){var t=e.open;return Qe.a.createElement(di,{onClick:t,className:f?"image-button":"button button-large"},f?Qe.a.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:bi("Upload image","vk-blocks"),style:{border:w}}):bi("Select image","vk-blocks"))}}):f?Qe.a.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:bi("Upload image","vk-blocks"),style:{border:w}}):bi("Select image","vk-blocks")),Qe.a.createElement("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===h?Qe.a.createElement(Qe.a.Fragment,null,Qe.a.createElement(hi,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return d({title:e})},value:t,placeholder:bi("Input title.","vk-blocks"),style:{color:n}}),Qe.a.createElement(hi,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return d({content:e})},value:r,placeholder:bi("Input content.","vk-blocks"),style:{color:o}})):Qe.a.createElement(Qe.a.Fragment,null,Qe.a.createElement(hi.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),Qe.a.createElement(hi.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:r,style:{color:o}})),function(){if(""!==s&&void 0!==s)return Qe.a.createElement("div",{className:g},Qe.a.createElement("a",{href:a,className:k,target:p?"_blank":null,style:y,rel:"noopener noreferrer"},Qe.a.createElement(Jc,{attributes:e})))}()))}}])&&si(t.prototype,n),r&&si(t,r),a}(Qe.a.Component);function gi(e){return(gi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ki(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wi(e,t,n){return t&&yi(e.prototype,t),n&&yi(e,n),e}function Ei(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xi(e,t)}function xi(e,t){return(xi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ri(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ni(e);if(t){var o=Ni(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ci(this,n)}}function Ci(e,t){return!t||"object"!==gi(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ni(e){return(Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Si=wp.i18n.__,Ti=wp.components.Button,Ai=wp.element,Bi=Ai.Component,Oi=Ai.Fragment,Ii=O.MediaUpload,Pi=O.RichText,ji=function(e){Ei(n,e);var t=Ri(n);function n(){return ki(this,n),t.apply(this,arguments)}return wi(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.buttonText,n=e.fontAwesomeIconBefore,r=e.fontAwesomeIconAfter,o="",a="";return n&&(o=React.createElement("i",{className:"".concat(n," vk_button_link_before")})),r&&(a=React.createElement("i",{className:"".concat(r," vk_button_link_after")})),React.createElement(Oi,null,o,React.createElement("span",{className:"vk_button_link_txt"},t),a)}}]),n}(Bi),Li=function(e){Ei(n,e);var t=Ri(n);function n(){return ki(this,n),t.apply(this,arguments)}return wi(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,r=e.content,o=e.contentColor,a=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,p=e.buttonTarget,f=e.Image,m=e.ImageBorderColor,b=e.layout,d=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),v=this.props.className,h=this.props.for_,_="vk_prContent",g="vk_button",k="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={},w="none";_="right"===b?u()(v,_,"vk_prContent-layout-imageRight"):u()(v,_,"vk_prContent-layout-imageLeft"),i?(g="".concat(g," vk_button-color-custom"),k="".concat(k," btn-primary"),"0"===l?y={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(y={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(k="".concat(k," btn-").concat(c),y=null):"1"===l&&(k="".concat(k," btn-outline-").concat(c),y=null)),w=m?"1px solid ".concat(m):"none";var E=function(e){e&&d({Image:JSON.stringify(e)})};return React.createElement("div",{className:_},React.createElement("div",{className:"col-sm-6 vk_prContent_colImg"},function(e){if("edit"===e){if(f&&-1===f.indexOf("{"))return React.createElement(Ii,{onSelect:function(e){return d({Image:e.sizes.full.url})},type:" image",value:f,render:function(e){var t=e.open;return React.createElement(Ti,{onClick:t,className:f?"image-button":"button button-large"},f?React.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:Si("Upload image","vk-blocks"),style:{border:w}}):Si("Select image","vk-blocks"))}});var t=JSON.parse(I(f));return React.createElement(Ii,{onSelect:E,type:" image",value:t,render:function(e){var n=e.open;return React.createElement(Ti,{onClick:n,className:t?"image-button":"button button-large"},null===f||void 0===t.sizes?Si("Select image","vk-blocks"):React.createElement("img",{className:"vk_prContent_colImg_image",src:t.sizes.full.url,alt:t.alt,style:{border:w}}))}})}if("save"===e){if(!f)return Si("Select image","vk-blocks");if(f&&-1===f.indexOf("{"))return React.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:Si("Upload image","vk-blocks"),style:{border:w}});var n=JSON.parse(I(f));return n&&void 0!==n.sizes?React.createElement("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:w}}):""}}(h)),React.createElement("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===h?React.createElement(Oi,null,React.createElement(Pi,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return d({title:e})},value:t,placeholder:Si("Input title.","vk-blocks"),style:{color:n}}),React.createElement(Pi,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return d({content:e})},value:r,placeholder:Si("Input content.","vk-blocks"),style:{color:o}})):React.createElement(Oi,null,React.createElement(Pi.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),React.createElement(Pi.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:r,style:{color:o}})),function(){if(""!==s&&void 0!==s)return React.createElement("div",{className:g},React.createElement("a",{href:a,className:k,target:p?"_blank":null,style:y,rel:"noopener noreferrer"},React.createElement(ji,{attributes:e})))}()))}}]),n}(Bi);function zi(e){return(zi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Di(e,t){return(Di=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Hi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Fi(e);if(t){var o=Fi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ui(this,n)}}function Ui(e,t){return!t||"object"!==zi(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Fi(e){return(Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vi=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Di(e,t)}(a,e);var t,n,r,o=Hi(a);function a(){return qi(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.buttonText,o=n.fontAwesomeIconBefore,a=n.fontAwesomeIconAfter,l="",c="";return o&&!o.match(/<i/)&&(o='<i class="'.concat(o,'"></i>')),a&&!a.match(/<i/)&&(a='<i class="'.concat(a,'"></i>')),o&&((e=o.split(" "))[1]=" "+e[1]+" vk_button_link_before ",l=e.join("")),a&&((t=a.split(" "))[1]=" "+t[1]+" vk_button_link_after ",c=t.join("")),React.createElement(React.Fragment,null,nn()(l),React.createElement("span",{className:"vk_button_link_txt"},r),nn()(c))}}])&&Mi(t.prototype,n),r&&Mi(t,r),a}(wp.element.Component);function Yi(e){return(Yi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ji(e,t){return(Ji=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qi(e);if(t){var o=Qi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Xi(this,n)}}function Xi(e,t){return!t||"object"!==Yi(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Qi(e){return(Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ki=wp.i18n.__,Zi=wp.components.Button,es=wp.element.Component,ts=O.MediaUpload,ns=O.RichText,rs=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ji(e,t)}(a,e);var t,n,r,o=$i(a);function a(){return Gi(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,r=e.content,o=e.contentColor,a=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,p=e.buttonTarget,f=e.Image,m=e.ImageBorderColor,b=e.layout,d=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),v=this.props.className,h=this.props.for_,_="vk_prContent",g="vk_button",k="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={},w="none";_="right"===b?u()(v,_,"vk_prContent-layout-imageRight"):u()(v,_,"vk_prContent-layout-imageLeft"),i?(g="".concat(g," vk_button-color-custom"),k="".concat(k," btn-primary"),"0"===l?y={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(y={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(k="".concat(k," btn-").concat(c),y=null):"1"===l&&(k="".concat(k," btn-outline-").concat(c),y=null)),w=m?"1px solid ".concat(m):"none";var E=function(e){e&&d({Image:JSON.stringify(e)})};return React.createElement("div",{className:_},React.createElement("div",{className:"col-sm-6 vk_prContent_colImg"},function(e){if("edit"===e){if(f&&-1===f.indexOf("{"))return React.createElement(ts,{onSelect:function(e){return d({Image:e.sizes.full.url})},type:" image",value:f,render:function(e){var t=e.open;return React.createElement(Zi,{onClick:t,className:f?"image-button":"button button-large"},f?React.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:Ki("Upload image","vk-blocks"),style:{border:w}}):Ki("Select image","vk-blocks"))}});var t=JSON.parse(I(f));return React.createElement(ts,{onSelect:E,type:" image",value:t,render:function(e){var n=e.open;return React.createElement(Zi,{onClick:n,className:t?"image-button":"button button-large"},null===f||void 0===t.sizes?Ki("Select image","vk-blocks"):React.createElement("img",{className:"vk_prContent_colImg_image",src:t.sizes.full.url,alt:t.alt,style:{border:w}}))}})}if("save"===e){if(f){if(f&&-1===f.indexOf("{"))return React.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:Ki("Upload image","vk-blocks"),style:{border:w}});var n=JSON.parse(I(f));return n&&void 0!==n.sizes?React.createElement("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:w}}):""}return Ki("Select image","vk-blocks")}}(h)),React.createElement("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===h?React.createElement(React.Fragment,null,React.createElement(ns,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return d({title:e})},value:t,placeholder:Ki("Input title.","vk-blocks"),style:{color:n}}),React.createElement(ns,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return d({content:e})},value:r,placeholder:Ki("Input content.","vk-blocks"),style:{color:o}})):React.createElement(React.Fragment,null,React.createElement(ns.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),React.createElement(ns.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:r,style:{color:o}})),function(){if(""!==s&&void 0!==s)return React.createElement("div",{className:g},React.createElement("a",{href:a,className:k,target:p?"_blank":null,style:y,rel:"noopener noreferrer"},React.createElement(Vi,{attributes:e})))}()))}}])&&Wi(t.prototype,n),r&&Wi(t,r),a}(es),os=[{attributes:{title:{source:"html",selector:".vk_prContent_colTxt_title"},titleColor:{type:"string",default:""},content:{source:"html",selector:".vk_prContent_colTxt_text"},contentColor:{type:"string",default:""},url:{type:"string",default:""},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:""},buttonText:{source:"html",selector:".vk_button_link_txt",default:""},buttonTarget:{type:"Boolean",default:!1},Image:{type:"string",default:"{}"},ImageBorderColor:{type:"string",default:""},layout:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:'<i class="fas fa-user"></i>'},fontAwesomeIconAfter:{type:"string",default:'<i class="fas fa-user"></i>'}},save:function(e){var t=e.attributes,n=e.className;return React.createElement(rs,{attributes:t,className:n,for_:"save"})}},{attributes:{title:{source:"html",selector:".vk_prContent_colTxt_title"},titleColor:{type:"string",default:""},content:{source:"html",selector:".vk_prContent_colTxt_text"},contentColor:{type:"string",default:""},url:{type:"string",default:""},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:""},buttonText:{source:"html",selector:".vk_button_link_txt",default:""},buttonTarget:{type:"Boolean",default:!1},Image:{type:"string",default:"{}"},ImageBorderColor:{type:"string",default:""},layout:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""}},save:function(e){var t=e.attributes,n=e.className;return React.createElement(Li,{attributes:t,className:n,for_:"save"})}},{attributes:{title:{source:"html",selector:".vk_prContent_colTxt_title"},titleColor:{type:"string"},content:{source:"html",selector:".vk_prContent_colTxt_text"},contentColor:{type:"string"},url:{type:"string",default:null},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonText:{source:"html",selector:".vk_button_link_txt",default:""},buttonTarget:{type:"Boolean",default:!1},Image:{type:"string",default:null},ImageBorderColor:{type:"string",default:null},layout:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string"},fontAwesomeIconAfter:{type:"string"}},save:function(e){var t=e.attributes;e.className;return React.createElement(li,{attributes:t,for_:"save"})}},{attributes:{title:{source:"html",selector:".vk_prContent_colTxt_title"},titleColor:{type:"string"},content:{source:"html",selector:".vk_prContent_colTxt_text"},contentColor:{type:"string"},url:{type:"string",default:null},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonText:{source:"html",selector:".vk_button_link_txt",default:""},buttonTarget:{type:"Boolean",default:!1},Image:{type:"string",default:null},ImageBorderColor:{type:"string",default:null},layout:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string"},fontAwesomeIconAfter:{type:"string"}},save:function(e){var t=e.attributes,n=e.className;return React.createElement(_i,{attributes:t,className:n,for_:"save"})}}],as=n(30),ls=n.n(as);function cs(){return(cs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var is=wp.i18n.__,ss=wp.blocks.registerBlockType,us=wp.components,ps=us.RadioControl,fs=us.PanelBody,ms=us.BaseControl,bs=us.CheckboxControl,ds=us.TextControl,vs=wp.element.Fragment,hs=wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,_s=hs.InspectorControls,gs=hs.ColorPalette;ss("vk-blocks/pr-content",{title:is("PR Content","vk-blocks"),icon:React.createElement(ls.a,null),category:"vk-blocks-cat",attributes:{title:{source:"html",selector:".vk_prContent_colTxt_title"},titleColor:{type:"string",default:""},content:{source:"html",selector:".vk_prContent_colTxt_text"},contentColor:{type:"string",default:""},url:{type:"string",default:""},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:""},buttonText:{source:"html",selector:".vk_button_link_txt",default:""},buttonTarget:{type:"Boolean",default:!1},Image:{type:"string",default:"{}"},ImageBorderColor:{type:"string",default:""},layout:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:'<i class="fas fa-user"></i>'},fontAwesomeIconAfter:{type:"string",default:'<i class="fas fa-user"></i>'}},example:gc,edit:function(e){var t=e.attributes,n=e.className,r=e.setAttributes,o=t.titleColor,a=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,p=t.buttonTarget,f=t.ImageBorderColor,m=t.layout;t.fontAwesomeIconBefore,t.fontAwesomeIconAfter;return React.createElement(vs,null,React.createElement(_s,null,React.createElement(fs,{title:is("Color Setting","vk-blocks"),initialOpen:!1},React.createElement(ms,{label:is("Title Color","vk-blocks")},React.createElement(gs,{value:o,onChange:function(e){return r({titleColor:e})}})),React.createElement(ms,{label:is("Content Color","vk-blocks")},React.createElement(gs,{value:a,onChange:function(e){return r({contentColor:e})}})),React.createElement(ms,{label:is("Image Border Color","vk-blocks")},React.createElement(gs,{value:f,onChange:function(e){return r({ImageBorderColor:e})}}))),React.createElement(fs,{title:is("Button Setting","vk-blocks"),initialOpen:!1},React.createElement(ms,{label:is("Button Text","vk-blocks")},React.createElement(ds,{value:u,onChange:function(e){return r({buttonText:e})},placeholder:"Input button text."})),React.createElement(ms,{label:is("Link URL","vk-blocks")},React.createElement(ds,{value:l,onChange:function(e){return r({url:e})},placeholder:"https://vektor-inc.co.jp/"})),React.createElement(bs,{label:is("Open link new tab.","vk-blocks"),checked:p,onChange:function(e){return r({buttonTarget:e})}}),React.createElement(ms,{label:is("Button Type","vk-blocks")},React.createElement(ps,{selected:c,options:[{label:is("Solid","vk-blocks"),value:"0"},{label:is("Ghost","vk-blocks"),value:"1"}],onChange:function(e){return r({buttonType:e})}})),React.createElement(ps,{label:is("Default Color:","vk-blocks"),selected:i,options:[{label:is("Primary","vk-blocks"),value:"primary"},{label:is("Secondary","vk-blocks"),value:"secondary"},{label:is("Success","vk-blocks"),value:"success"},{label:is("Info","vk-blocks"),value:"info"},{label:is("Warning","vk-blocks"),value:"warning"},{label:is("Danger","vk-blocks"),value:"danger"},{label:is("Light","vk-blocks"),value:"light"},{label:is("Dark","vk-blocks"),value:"dark"}],onChange:function(e){return r({buttonColor:e})}}),React.createElement(ms,{label:is("Button Color","vk-blocks")},React.createElement(gs,{value:s,onChange:function(e){return r({buttonColorCustom:e})}})),React.createElement(ms,null,React.createElement("h4",{className:"mt-0 mb-2"},is("Icon ( Font Awesome )","vk-blocks")),React.createElement(ms,{label:is("Before text","vk-blocks")},React.createElement(yr,cs({attributeName:"fontAwesomeIconBefore"},e))),React.createElement(ms,{label:is("After text","vk-blocks")},React.createElement(yr,cs({attributeName:"fontAwesomeIconAfter"},e))))),React.createElement(fs,{title:is("Layout Setting","vk-blocks"),initialOpen:!1},React.createElement(ps,{label:is("Layout Type","vk-blocks"),selected:m,options:[{label:is("Right","vk-blocks"),value:"right"},{label:is("Left","vk-blocks"),value:"left"}],onChange:function(e){return r({layout:e})}}))),React.createElement(Dc,{attributes:t,setAttributes:r,className:n,for_:"edit"}))},save:function(e){var t=e.attributes,n=e.className;return React.createElement(Dc,{attributes:t,className:n,for_:"save"})},deprecated:os});n(75),n(76);var ks=O.InnerBlocks,ys=O.RichText,ws=wp.i18n.__,Es=function(e){var t,n,r=e.setAttributes,o=e.attributes,a=e.for_,l=e.className,c=o.heading,i=o.color,s=o.faIcon,p=o.bgColor;"edit"===a?(t=React.createElement(ks,null),n=React.createElement(ys,{tagName:"h4",className:"vk_borderBox_title",onChange:function(e){return r({heading:e})},value:c,placeholder:ws("Please enter a title.","vk-blocks")})):(t=React.createElement(ks.Content,null),n=React.createElement(ys.Content,{tagName:"h4",className:"vk_borderBox_title",value:c}));var f,m=l;return-1===l.indexOf("is-style-")&&(m=u()(l,"is-style-vk_borderBox-style-solid-kado-tit-tab")),f=-1===s.indexOf('<i class="')?'<i class="'.concat(s,'"></i>'):s,React.createElement("div",{className:"vk_borderBox vk_borderBox-color-".concat(i," vk_borderBox-background-").concat(p," ").concat(m)},React.createElement("div",{className:"vk_borderBox_title_container"},nn()(f),n),React.createElement("div",{className:"vk_borderBox_body"},t))};function xs(e){return(xs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ns(e,t){return(Ns=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ss(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=As(e);if(t){var o=As(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ts(this,n)}}function Ts(e,t){return!t||"object"!==xs(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function As(e){return(As=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Bs=wp.components,Os=Bs.RadioControl,Is=Bs.TextControl,Ps=wp.element,js=Ps.Component,Ls=Ps.Fragment,zs=wp.i18n.__,qs={faIcon:{type:"string",default:""}},Ms=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ns(e,t)}(a,e);var t,n,r,o=Ss(a);function a(){return Rs(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes.faIcon,t=this.props.setAttributes,n=React.createElement(Ls,null,React.createElement("label",{className:"components-base-control__label"},zs("Icon","vk-blocks")),React.createElement(Os,{className:"vk_icon_list",selected:e,options:[{label:React.createElement("i",{className:"fas fa-arrow-right"}),value:'<i class="fas fa-arrow-right"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-down"}),value:'<i class="fas fa-arrow-down"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-left"}),value:'<i class="fas fa-arrow-left"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-circle-right"}),value:'<i class="fas fa-arrow-circle-right"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-circle-down"}),value:'<i class="fas fa-arrow-circle-down"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-circle-left"}),value:'<i class="fas fa-arrow-circle-left"></i>'},{label:React.createElement("i",{className:"far fa-arrow-alt-circle-right"}),value:'<i class="far fa-arrow-alt-circle-right"></i>'},{label:React.createElement("i",{className:"far fa-arrow-alt-circle-down"}),value:'<i class="far fa-arrow-alt-circle-down"></i>'},{label:React.createElement("i",{className:"far fa-arrow-alt-circle-left"}),value:'<i class="far fa-arrow-alt-circle-left"></i>'},{label:React.createElement("i",{className:"fas fa-external-link-square-alt"}),value:'<i class="fas fa-external-link-square-alt"></i>'},{label:React.createElement("i",{className:"fas fa-external-link-alt"}),value:'<i class="fas fa-external-link-alt"></i>'},{label:React.createElement("i",{className:"fas fa-download"}),value:'<i class="fas fa-download"></i>'},{label:React.createElement("i",{className:"fas fa-exclamation-triangle"}),value:'<i class="fas fa-exclamation-triangle"></i>'},{label:React.createElement("i",{className:"fas fa-exclamation-circle"}),value:'<i class="fas fa-exclamation-circle"></i>'},{label:React.createElement("i",{className:"fas fa-exclamation"}),value:'<i class="fas fa-exclamation"></i>'},{label:React.createElement("i",{className:"fas fa-question"}),value:'<i class="fas fa-question"></i>'},{label:React.createElement("i",{className:"fas fa-question-circle"}),value:'<i class="fas fa-question-circle"></i>'},{label:React.createElement("i",{className:"fas fa-info-circle"}),value:'<i class="fas fa-info-circle"></i>'},{label:React.createElement("i",{className:"fas fa-info"}),value:'<i class="fas fa-info"></i>'},{label:React.createElement("i",{className:"fas fa-check"}),value:'<i class="fas fa-check"></i>'},{label:React.createElement("i",{className:"fas fa-check-square"}),value:'<i class="fas fa-check-square"></i>'},{label:React.createElement("i",{className:"fas fa-check-circle"}),value:'<i class="fas fa-check-circle"></i>'},{label:React.createElement("i",{className:"fas fa-phone"}),value:'<i class="fas fa-phone"></i>'},{label:React.createElement("i",{className:"fas fa-phone-square"}),value:'<i class="fas fa-phone-square"></i>'},{label:React.createElement("i",{className:"fas fa-mobile-alt"}),value:'<i class="fas fa-mobile-alt"></i>'},{label:React.createElement("i",{className:"far fa-envelope"}),value:'<i class="far fa-envelope"></i>'},{label:React.createElement("i",{className:"fas fa-user"}),value:'<i class="fas fa-user"></i>'},{label:React.createElement("i",{className:"fas fa-users"}),value:'<i class="fas fa-users"></i>'},{label:React.createElement("i",{className:"far fa-file-alt"}),value:'<i class="far fa-file-alt"></i>'},{label:React.createElement("i",{className:"fas fa-file-alt"}),value:'<i class="fas fa-file-alt"></i>'},{label:React.createElement("i",{className:"fas fa-file"}),value:'<i class="fas fa-file"></i>'},{label:React.createElement("i",{className:"fas fa-file-pdf"}),value:'<i class="fas fa-file-pdf"></i>'},{label:React.createElement("i",{className:"fas fa-building"}),value:'<i class="fas fa-building"></i>'},{label:React.createElement("i",{className:"fab fa-twitter"}),value:'<i class="fab fa-twitter"></i>'},{label:React.createElement("i",{className:"fab fa-facebook-square"}),value:'<i class="fab fa-facebook-square"></i>'},{label:React.createElement("i",{className:"fab fa-line"}),value:'<i class="fab fa-line"></i>'}],onChange:function(e){return t({faIcon:e})}}),React.createElement("hr",null),React.createElement("p",{className:"mt-1"},zs("If you want to use an icon other than the ones listed above, you can use any of the icons from Font Awesome's icon list Please select a tag and enter it.","vk-blocks"),React.createElement("br",null),zs('Ex) <i class="fas fa-arrow-circle-right"></i>',"vk-blocks"),React.createElement("br",null),React.createElement("a",{href:"https://fontawesome.com/icons?d=gallery&m=free",target:"_blank"},zs("Font Awesome icon list","vk-blocks"))));return React.createElement(Ls,null,React.createElement(Is,{value:e,onChange:function(e){return t({faIcon:e})},placeholder:'<i class="fas fa-arrow-circle-right"></i>',className:"mb-0"}),React.createElement(mr,{label:zs("Select Icon","vk-blocks"),renderComp:n,setAttributes:t}))}}])&&Cs(t.prototype,n),r&&Cs(t,r),a}(js),Ds=(wp.i18n.__,{heading:{type:"string",source:"html",selector:"h4"},color:{type:"string",default:"red"},bgColor:{type:"string",default:"transparent"}}),Hs=Object.assign(Ds,qs),Us={attributes:{heading:Se,color:"red",faIcon:Be},innerBlocks:[{name:"core/paragraph",attributes:{content:Te}}]};function Fs(){return(Fs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Vs=O.InnerBlocks,Ys=O.RichText,Gs=wp.i18n.__,Ws=function(e){var t,n,r=e.setAttributes,o=e.attributes,a=e.for_,l=e.className,c=o.heading,i=o.color,s=o.faIcon;"edit"===a?(t=React.createElement(Vs,null),n=React.createElement(Ys,{tagName:"h4",className:"vk_borderBox_title",onChange:function(e){return r({heading:e})},value:c,placeholder:Gs("Please enter a title.","vk-blocks")})):(t=React.createElement(Vs.Content,null),n=React.createElement(Ys.Content,{tagName:"h4",className:"vk_borderBox_title",value:c}));var p=l;return-1===l.indexOf("is-style-")&&(p=u()(l,"is-style-vk_borderBox-style-solid-kado-tit-tab")),React.createElement("div",{className:"vk_borderBox vk_borderBox-color-".concat(i," ").concat(p)},React.createElement("div",{className:"vk_borderBox_title_container"},React.createElement("i",{className:"".concat(s)}),n),React.createElement("div",{className:"vk_borderBox_body"},t))},Js=[{attributes:{heading:{type:"string",source:"html",selector:"h4"},color:{type:"string",default:"red"},faIcon:{type:"string",default:""}},save:function(e){return React.createElement(Ws,Fs({for_:"save"},e))}},{attributes:{heading:{type:"string",source:"html",selector:"h4"},color:{type:"string",default:"red"},faIcon:{type:"string",default:""},bgColor:{type:"string",default:"transparent"}},save:function(e){return React.createElement(Ws,Fs({for_:"save"},e))}}],$s=n(31),Xs=n.n($s);function Qs(){return(Qs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ks=wp.i18n.__,Zs=wp.blocks.registerBlockType,eu=wp.components,tu=eu.PanelBody,nu=eu.BaseControl,ru=eu.SelectControl,ou=wp.element.Fragment,au=O.InspectorControls;Zs("vk-blocks/border-box",{title:Ks("Border Box","vk-blocks"),icon:React.createElement(Xs.a,null),category:"vk-blocks-cat",attributes:Hs,supports:{className:!0},example:Us,styles:[{name:"vk_borderBox-style-solid-kado-tit-tab",label:Ks("Solid Angle Tab","vk-blocks"),isDefault:!0},{name:"vk_borderBox-style-solid-round-tit-tab",label:Ks("Solid Round Tab","vk-blocks")},{name:"vk_borderBox-style-solid-kado-tit-banner",label:Ks("Solid Angle Banner","vk-blocks")},{name:"vk_borderBox-style-solid-kado-tit-onborder",label:Ks("Solid Angle Onborder","vk-blocks")},{name:"vk_borderBox-style-solid-kado-tit-inner",label:Ks("Solid Angle Inner","vk-blocks")},{name:"vk_borderBox-style-solid-kado-iconFeature",label:Ks("Solid Angle iconFeature","vk-blocks")}],edit:function(e){var t=e.attributes,n=e.setAttributes,r=t.color,o=t.bgColor;return React.createElement(ou,null,React.createElement(au,null,React.createElement(tu,{title:Ks("Color","vk-blocks")},React.createElement(nu,{id:"border-color",label:Ks("Border Color","vk-blocks")},React.createElement(ru,{value:r,onChange:function(e){return n({color:e})},options:[{value:"red",label:Ks("Red","vk-blocks")},{value:"orange",label:Ks("Orange","vk-blocks")},{value:"blue",label:Ks("Blue","vk-blocks")},{value:"green",label:Ks("Green","vk-blocks")},{value:"black",label:Ks("Black","vk-blocks")}]})),React.createElement(nu,{id:"background-color",label:Ks("Background Color","vk-blocks")},React.createElement(ru,{value:o,onChange:function(e){return n({bgColor:e})},options:[{value:"transparent",label:Ks("Transparent","vk-blocks")},{value:"white",label:Ks("White","vk-blocks")}]}))),React.createElement(tu,{title:Ks("Icon","vk-blocks")},React.createElement(nu,{id:"dot-fa",label:Ks("Icon ( Font Awesome )","vk-blocks")},React.createElement(Ms,{attributes:t,setAttributes:n})))),React.createElement(Es,Qs({for_:"edit"},e)))},save:function(e){return React.createElement(Es,Qs({for_:"save"},e))},deprecated:Js});var lu=O.InnerBlocks,cu=[{attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string"}},save:function(){return React.createElement("dl",{className:"vk_faq"},React.createElement(lu.Content,null))}}],iu=n(32),su=n.n(iu),uu=wp.blocks.registerBlockType,pu=wp.element.Fragment,fu=wp.components,mu=fu.PanelBody,bu=fu.PanelRow,du=O.InnerBlocks,vu=O.InspectorControls,hu=wp.i18n.__;uu("vk-blocks/faq2",{title:hu("New FAQ","vk-blocks"),icon:React.createElement(su.a,null),category:"vk-blocks-cat",supports:{anchor:!0,className:!0},styles:[{name:"vk_faq-normal",label:hu("Normal","vk-blocks"),isDefault:!0},{name:"vk_faq-bgfill-circle",label:hu("Bgfill Circle","vk-blocks")},{name:"vk_faq-bgfill-square",label:hu("Bgfill Square","vk-blocks")},{name:"vk_faq-bgfill-rounded",label:hu("Bgfill Rounded","vk-blocks")},{name:"vk_faq-border-circle",label:hu("Border Circle","vk-blocks")},{name:"vk_faq-border-square",label:hu("Border Square","vk-blocks")},{name:"vk_faq-border-rounded",label:hu("Border Rounded","vk-blocks")}],example:{innerBlocks:[{name:"vk-blocks/faq2-q",innerBlocks:[{name:"core/paragraph",attributes:{content:Se}}]},{name:"vk-blocks/faq2-a",innerBlocks:[{name:"core/paragraph",attributes:{content:Te}}]}]},edit:function(e){var t,n=e.className;return t=vk_blocks_check.is_pro?hu("If you want to be collapsing this block, you can set it at Setting > VK Blocks","vk-blocks"):hu("You can be collapsing this block at VK Blocks Pro","vk-blocks"),React.createElement(pu,null,React.createElement(vu,null,React.createElement(mu,{title:hu("Accordion Setting","vk-blocks")},React.createElement(bu,null,t))),React.createElement("dl",{className:u()(n,"vk_faq")},React.createElement(du,{allowedBlocks:[["vk-blocks/faq2-q"],["vk-blocks/faq2-a"]],template:[["vk-blocks/faq2-q"],["vk-blocks/faq2-a"]],templateLock:"all"})))},save:function(){return React.createElement("dl",{className:"vk_faq [accordion_trigger_switch]"},React.createElement(du.Content,null))},deprecated:cu});var _u=n(33),gu=n.n(_u),ku=wp.i18n.__,yu=wp.blocks.registerBlockType,wu=O.InnerBlocks;yu("vk-blocks/faq2-q",{title:ku("FAQ Question","vk-blocks"),icon:React.createElement(gu.a,null),category:"vk-blocks-cat",attributes:{content:{type:"string"}},parent:["vk-blocks/faq2"],supports:{anchor:!0},example:{innerBlocks:[{name:"core/paragraph",attributes:{content:Se}}]},edit:function(e){var t=e.attributes,n=e.className,r=t.content;return React.createElement("dt",{className:u()(n,"vk_faq_title")},React.createElement(wu,{templateLock:!1,template:[["core/paragraph",{content:r}]]}))},save:function(){return React.createElement("dt",{className:"vk_faq_title"},React.createElement(wu.Content,null))}});var Eu=n(34),xu=n.n(Eu),Ru=wp.i18n.__,Cu=wp.blocks.registerBlockType,Nu=O.InnerBlocks;Cu("vk-blocks/faq2-a",{title:Ru("FAQ Answer","vk-blocks"),icon:React.createElement(xu.a,null),category:"vk-blocks-cat",attributes:{content:{type:"string"}},parent:["vk-blocks/faq2"],supports:{anchor:!0},example:{innerBlocks:[{name:"core/paragraph",attributes:{content:Te}}]},edit:function(e){var t=e.attributes,n=e.className,r=t.content;return React.createElement("dd",{className:u()(n,"vk_faq_content")},React.createElement(Nu,{templateLock:!1,template:[["core/paragraph",{content:r}]]}))},save:function(){return React.createElement("dd",{className:"vk_faq_content"},React.createElement(Nu.Content,null))}});var Su=wp.plugins.registerPlugin,Tu=n(35),Au=n.n(Tu);function Bu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ou(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bu(Object(n),!0).forEach((function(t){Iu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bu(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 Pu=wp.blocks.parse,ju=[{name:"Cover",icon:"",content:'\n\t\t\x3c!-- wp:vk-blocks/outer {"bgColor":"#000000","bgImage":"https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/programming-942487_1920.jpg","outerWidth":"full","padding_top_and_bottom":"0","opacity":0.7} --\x3e\n\t\t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-none vk_outer-bgPosition-normal" style="background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/programming-942487_1920.jpg);border:0px none #000;border-radius:0px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4.5,"tablet":4.5,"mobile":4.5} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4.5rem"></div><div class="vk_spacer-display-tablet" style="height:4.5rem"></div><div class="vk_spacer-display-mobile" style="height:4.5rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/pr-content {"titleColor":"#eeeeee","contentColor":"#eeeeee","url":"https://example.com","buttonType":"1","buttonColorCustom":"#eeeeee","Image":"https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/device_01.png","layout":"right","fontAwesomeIconBefore":"fas fa-arrow-circle-right","fontAwesomeIconAfter":""} --\x3e\n\t\t<div class="wp-block-vk-blocks-pr-content vk_prContent vk_prContent-layout-imageRight"><div class="col-sm-6 vk_prContent_colImg"><img class="vk_prContent_colImg_image" src="https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/device_01.png" alt="画像をアップロード" style="border:none"/></div><div class="col-sm-6 vk_prContent_colTxt"><h3 class="vk_prContent_colTxt_title" style="color:#eeeeee">自社のコンセプトやキャッチコピーが入ります。</h3><p class="vk_prContent_colTxt_text" style="color:#eeeeee">この部分には、自社について説明が入ります。<br>自社のコンセプトや理念など、大切にしていることについて説明しましょう。お客様に一番伝えたいことを書くことをおススメします。</p><div class="vk_button vk_button-color-custom"><a href="https://example.com" class="btn btn-block vk_button_link vk_prContent_colTxt_btn btn-primary" style="background-color:transparent;border:1px solid #eeeeee;color:#eeeeee" rel="noopener noreferrer"><i class="fas fa-arrow-circle-right vk_button_link_before"></i><span class="vk_button_link_txt">さらに詳しく</span></a></div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/pr-content --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":2,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:2rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e</div></div>\n\t\t\x3c!-- /wp:vk-blocks/outer --\x3e\n\t\t'},{name:"Full Wide Title Set",icon:"",content:'\n\t\t\x3c!-- wp:vk-blocks/outer {"bgColor":"#0c7abb","outerWidth":"full","padding_top_and_bottom":"0","opacity":1} --\x3e\n\t\t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-none vk_outer-bgPosition-normal" style="background:linear-gradient(rgba(12, 122, 187, 1), rgba(12, 122, 187, 1));border:0px none #000;border-radius:0px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":3,"tablet":3,"mobile":3} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:3rem"></div><div class="vk_spacer-display-tablet" style="height:3rem"></div><div class="vk_spacer-display-mobile" style="height:3rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/heading {"align":"center","titleStyle":"plain","outerMarginBottom":0,"titleColor":"#ffffff","titleMarginBottom":0,"subTextColor":"#ffffff"} --\x3e\n\t\t<div class="wp-block-vk-blocks-heading vk_heading vk_heading-style-plain" style="margin-bottom:0rem"><h2 style="color:#ffffff;font-size:2rem;margin-bottom:0rem;text-align:center" class="vk_heading_title vk_heading_title-style-plain" placeholder="タイトルを入力">Title test</h2><p style="color:#ffffff;font-size:1.2rem;text-align:center" class="vk_heading_subtext vk_heading_subtext-style-plain" placeholder="サブテキストを入力">Sub title text</p></div>\n\t\t\x3c!-- /wp:vk-blocks/heading --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":3,"tablet":3,"mobile":3} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:3rem"></div><div class="vk_spacer-display-tablet" style="height:3rem"></div><div class="vk_spacer-display-mobile" style="height:3rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e</div></div>\n\t\t\x3c!-- /wp:vk-blocks/outer --\x3e\n\t\t'},{name:"Service",icon:"",content:'\x3c!-- wp:vk-blocks/outer {"bgColor":"#ffffff","outerWidth":"full","padding_top_and_bottom":"0"} --\x3e\n\t\t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-none vk_outer-bgPosition-normal" style="background:linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));border:0px none #000;border-radius:0px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/heading {"align":"center","titleStyle":"plain","outerMarginBottom":3,"titleMarginBottom":0} --\x3e\n\t\t<div class="wp-block-vk-blocks-heading"><div class="vk_heading vk_heading-style-plain" style="margin-bottom:3rem"><h2 style="color:#000000;font-size:2rem;margin-bottom:0rem;text-align:center" class="vk_heading_title vk_heading_title-style-plain" placeholder="タイトルを入力">サービスの特徴など</h2><p style="color:#000000;font-size:1.2rem;text-align:center" class="vk_heading_subtext vk_heading_subtext-style-plain" placeholder="サブテキストを入力">提供しているサービスの特徴などを画像つきで紹介します</p></div></div>\n\t\t\x3c!-- /wp:vk-blocks/heading --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/card {"name":"vk-blocks/card"} --\x3e\n\t\t<div class="vk_posts wp-block-vk-blocks-card">\x3c!-- wp:vk-blocks/card-item {"url":"/"} --\x3e\n\t\t<div class="vk_post card card-post vk_card_item vk_post-col-xs-12 vk_post-col-sm-6 vk_post-col-md-4 vk_post-col-lg-4 vk_post-col-xl-4 vk_post-btn-display"><div class="vk_post_imgOuter"><a href="/"><div class="card-img-overlay"></div></a></div><div class="vk_post_body card-body"><a href="/"><h5 class="vk_post_title card-title text-left">サービスの特徴</h5></a><p class="vk_post_excerpt card-text text-left">サービスの特徴についての紹介文などが入りますサービスの特徴についての紹介文などが入ります。</p><div class="vk_post_btnOuter text-right"><a class="btn btn-primary vk_post_btn" href="/">Read more</a></div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/card-item --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/card-item {"url":"/"} --\x3e\n\t\t<div class="vk_post card card-post vk_card_item vk_post-col-xs-12 vk_post-col-sm-6 vk_post-col-md-4 vk_post-col-lg-4 vk_post-col-xl-4 vk_post-btn-display"><div class="vk_post_imgOuter"><a href="/"><div class="card-img-overlay"></div></a></div><div class="vk_post_body card-body"><a href="/"><h5 class="vk_post_title card-title text-left">サービスの特徴</h5></a><p class="vk_post_excerpt card-text text-left">サービスの特徴についての紹介文などが入りますサービスの特徴についての紹介文などが入ります。</p><div class="vk_post_btnOuter text-right"><a class="btn btn-primary vk_post_btn" href="/">Read more</a></div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/card-item --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/card-item {"url":"/"} --\x3e\n\t\t<div class="vk_post card card-post vk_card_item vk_post-col-xs-12 vk_post-col-sm-6 vk_post-col-md-4 vk_post-col-lg-4 vk_post-col-xl-4 vk_post-btn-display"><div class="vk_post_imgOuter"><a href="/"><div class="card-img-overlay"></div></a></div><div class="vk_post_body card-body"><a href="/"><h5 class="vk_post_title card-title text-left">サービスの特徴</h5></a><p class="vk_post_excerpt card-text text-left">サービスの特徴についての紹介文などが入りますサービスの特徴についての紹介文などが入ります。</p><div class="vk_post_btnOuter text-right"><a class="btn btn-primary vk_post_btn" href="/">Read more</a></div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/card-item --\x3e</div>\n\t\t\x3c!-- /wp:vk-blocks/card --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":2,"tablet":2,"mobile":2} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:2rem"></div><div class="vk_spacer-display-tablet" style="height:2rem"></div><div class="vk_spacer-display-mobile" style="height:2rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e</div></div>\n\t\t\x3c!-- /wp:vk-blocks/outer --\x3e'},{name:"About",icon:"",content:'\n\t\t\x3c!-- wp:vk-blocks/outer {"outerWidth":"full","padding_top_and_bottom":"0","upper_level":-60} --\x3e\n\t\t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-none vk_outer-bgPosition-normal" style="background:linear-gradient(rgba(243, 244, 245, 0.5), rgba(243, 244, 245, 0.5));border:none;border-radius:0px"><div class="vk_outer_separator vk_outer_separator-position-upper vk_outer_separator-type-tilt" style="padding-bottom:60px"><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 100 100" preserveaspectratio="none"><path d="m100,40 L0,100 L100,100 z" strokewidth="0" fill="#fff"></path></svg></div><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\t\t\x3c!-- wp:vk-blocks/pr-content {"url":"https://example.com","buttonColorCustom":"#cf2e2e","Image":"https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/pr-img.png","layout":"right"} --\x3e\n\t\t<div class="wp-block-vk-blocks-pr-content vk_prContent vk_prContent-layout-imageRight"><div class="col-sm-6 vk_prContent_colImg"><img class="vk_prContent_colImg_image" src="https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/pr-img.png" alt="画像をアップロード" style="border:none"/></div><div class="col-sm-6 vk_prContent_colTxt"><h3 class="vk_prContent_colTxt_title">自社のコンセプトやキャッチコピーが入ります。</h3><p class="vk_prContent_colTxt_text">この部分には、自社について説明が入ります。<br>自社のコンセプトや理念など、大切にしていることについて説明しましょう。お客様に一番伝えたいことを書くことをおススメします。</p><div class="vk_button vk_button-color-custom"><a href="https://example.com" class="btn btn-block vk_button_link vk_prContent_colTxt_btn btn-primary" style="background-color:#cf2e2e;border:1px solid #cf2e2e" rel="noopener noreferrer"><span class="vk_button_link_txt">さらに詳しく</span></a></div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/pr-content --\x3e\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t\t</div></div>\x3c!-- /wp:vk-blocks/outer --\x3e\n\t\t'},{name:"Icon Card Set",icon:"",content:'\x3c!-- wp:vk-blocks/outer {"bgColor":"#ffffff","outerWidth":"full","opacity":1,"clientId":"c0a133ef-fa45-4fba-bfd2-554fcb772305"} --\x3e\n\t\t<div class="vkb-outer-c0a133ef-fa45-4fba-bfd2-554fcb772305 wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-use vk_outer-bgPosition-normal" style="border:0px none #000;border-radius:0px"><style>.vkb-outer-c0a133ef-fa45-4fba-bfd2-554fcb772305{background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 1))}!important;</style><div><div class="vk_outer_container">\x3c!-- wp:vk-blocks/icon-card --\x3e\n\t\t<div class="vk_posts wp-block-vk-blocks-icon-card">\x3c!-- wp:vk-blocks/icon-card-item {"url":"/service/","icon":"far fa-file-alt","color":"#337ab7"} --\x3e\n\t\t<div class="wp-block-vk-blocks-icon-card-item vk_post vk_icon-card_item vk_post-col-xs-12 vk_post-col-sm-6 vk_post-col-md-4 vk_post-col-lg-4 vk_post-col-xl-4"><a href="/service/" class="vk_icon-card_item_link" target="_self" rel="noopener noreferrer"><div class="vk_icon-card_item_icon_outer" style="background-color:transparent;border:1px solid #337ab7"><i class="far fa-file-alt vk_icon-card_item_icon" style="color:#337ab7"></i></div><h3 class="vk_icon-card_item_title vk_icon-card_item_title has-text-align-center">サービス案内</h3><p class="vk_icon_card_item_summary vk_icon_card_item_summary has-text-align-center">弊社が提供するサービス&ソリューションについてご紹介しています。経験豊富なスタッフがこだわりを持って取り組んでいます。</p></a></div>\n\t\t\x3c!-- /wp:vk-blocks/icon-card-item --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/icon-card-item {"url":"/company/","icon":"far fa-building","color":"#337ab7"} --\x3e\n\t\t<div class="wp-block-vk-blocks-icon-card-item vk_post vk_icon-card_item vk_post-col-xs-12 vk_post-col-sm-6 vk_post-col-md-4 vk_post-col-lg-4 vk_post-col-xl-4"><a href="/company/" class="vk_icon-card_item_link" target="_self" rel="noopener noreferrer"><div class="vk_icon-card_item_icon_outer" style="background-color:transparent;border:1px solid #337ab7"><i class="far fa-building vk_icon-card_item_icon" style="color:#337ab7"></i></div><h3 class="vk_icon-card_item_title vk_icon-card_item_title has-text-align-center">会社案内</h3><p class="vk_icon_card_item_summary vk_icon_card_item_summary has-text-align-center">弊社代表挨拶や会社の基本情報について記載しています。また、弊社の歴史なども紹介していますので是非ご覧ください。</p></a></div>\n\t\t\x3c!-- /wp:vk-blocks/icon-card-item --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/icon-card-item {"url":"/recruit/","icon":"fas fa-users","color":"#337ab7"} --\x3e\n\t\t<div class="wp-block-vk-blocks-icon-card-item vk_post vk_icon-card_item vk_post-col-xs-12 vk_post-col-sm-6 vk_post-col-md-4 vk_post-col-lg-4 vk_post-col-xl-4"><a href="/recruit/" class="vk_icon-card_item_link" target="_self" rel="noopener noreferrer"><div class="vk_icon-card_item_icon_outer" style="background-color:transparent;border:1px solid #337ab7"><i class="fas fa-users vk_icon-card_item_icon" style="color:#337ab7"></i></div><h3 class="vk_icon-card_item_title vk_icon-card_item_title has-text-align-center">採用情報</h3><p class="vk_icon_card_item_summary vk_icon_card_item_summary has-text-align-center">株式会社サンプルでは一緒に働く仲間を募集しています。自分で考えていろいろな事にチャレンジできるやりがいのある仕事です。</p></a></div>\n\t\t\x3c!-- /wp:vk-blocks/icon-card-item --\x3e</div>\n\t\t\x3c!-- /wp:vk-blocks/icon-card --\x3e</div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/outer --\x3e'},{name:"Information ( Text )",icon:"",content:'\n\t\t\x3c!-- wp:vk-blocks/outer {"outerWidth":"full"} --\x3e\n\t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-use vk_outer-bgPosition-normal" style="background:linear-gradient(rgba(243, 244, 245, 0.5), rgba(243, 244, 245, 0.5));border:0px none #000;border-radius:0px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/heading {"align":"center","titleStyle":"plain","outerMarginBottom":2,"titleMarginBottom":0} --\x3e\n\t<div class="wp-block-vk-blocks-heading"><div class="vk_heading vk_heading-style-plain" style="margin-bottom:2rem"><h2 style="color:#000000;font-size:2rem;margin-bottom:0rem;text-align:center" class="vk_heading_title vk_heading_title-style-plain" placeholder="タイトルを入力"><strong>お知らせ</strong></h2><p style="color:#000000;font-size:1.2rem;text-align:center" class="vk_heading_subtext vk_heading_subtext-style-plain" placeholder="サブテキストを入力">Information</p></div></div>\n\t\x3c!-- /wp:vk-blocks/heading --\x3e\n\n\t\x3c!-- wp:vk-blocks/post-list {"name":"vk-blocks/post-list","layout":"postListText"} /--\x3e\n\n\t\x3c!-- wp:vk-blocks/button {"buttonUrl":"/information/","buttonType":"2","buttonColorCustom":"#313131","buttonAlign":"right","fontAwesomeIconAfter":"fas fa-arrow-circle-right"} --\x3e\n\t<div class="wp-block-vk-blocks-button vk_button vk_button-color-custom vk_button-align-right"><a href="/information/" id="vk_button_link" style="color:#313131" class="vk_button_link vk_button_link-type-text btn-md" role="button" aria-pressed="true" rel="noopener noreferrer"><span class="vk_button_link_txt">お知らせ一覧</span><i class="fas fa-arrow-circle-right vk_button_link_after"></i></a></div>\n\t\x3c!-- /wp:vk-blocks/button --\x3e\n\n\t</div></div>\n\t\x3c!-- /wp:vk-blocks/outer --\x3e\n\t\t'},{name:"Information ( Card )",icon:"",content:'\n\t \t\x3c!-- wp:vk-blocks/outer {"bgColor":"#ffffff","outerWidth":"full","opacity":0.9} --\x3e\n\t \t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-use vk_outer-bgPosition-normal" style="background:linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));border:0px none #000;border-radius:0px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/heading {"align":"center","titleStyle":"plain","outerMarginBottom":3,"titleMarginBottom":0} --\x3e\n\t \t<div class="wp-block-vk-blocks-heading vk_heading vk_heading-style-plain" style="margin-bottom:3rem"><h2 style="color:#000000;font-size:2rem;margin-bottom:0rem;text-align:center" class="vk_heading_title vk_heading_title-style-plain" placeholder="タイトルを入力"><strong>お知らせ</strong></h2><p style="color:#000000;font-size:1.2rem;text-align:center" class="vk_heading_subtext vk_heading_subtext-style-plain" placeholder="サブテキストを入力">Information</p></div>\n\t \t\x3c!-- /wp:vk-blocks/heading --\x3e\n\n\t \t\x3c!-- wp:vk-blocks/post-list {"name":"vk-blocks/post-list"} /--\x3e\n\n\t \t\x3c!-- wp:vk-blocks/button {"buttonUrl":"https://example.com/","buttonSize":"sm","buttonAlign":"right","fontAwesomeIconBefore":"fas fa-arrow-circle-right"} --\x3e\n\t \t<div class="wp-block-vk-blocks-button vk_button vk_button-align-right"><a href="https://example.com/" id="vk_button_link" class="btn vk_button_link btn-sm btn-primary" role="button" aria-pressed="true" rel="noopener noreferrer"><i class="fas fa-arrow-circle-right vk_button_link_before"></i><span class="vk_button_link_txt">一覧を見る</span></a></div>\n\t \t\x3c!-- /wp:vk-blocks/button --\x3e</div></div>\n\t \t\x3c!-- /wp:vk-blocks/outer --\x3e\n\t \t'},{name:"Feature Posts",icon:"",content:'\n\t\t\x3c!-- wp:vk-blocks/outer {"bgColor":"#eeeeee","outerWidth":"full","padding_left_and_right":"1","padding_top_and_bottom":"0","clientId":"88b8ebeb-19b0-46cc-9690-90c26b4835c5"} --\x3e\n\t\t<div class="vkb-outer-88b8ebeb-19b0-46cc-9690-90c26b4835c5 wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-use vk_outer-paddingVertical-none vk_outer-bgPosition-normal" style="border:0px none #000;border-radius:0px"><style>.vkb-outer-88b8ebeb-19b0-46cc-9690-90c26b4835c5{background: linear-gradient(rgba(238, 238, 238, 0.5), rgba(238, 238, 238, 0.5))}!important;</style><div><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"pc":30} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:30px"></div><div class="vk_spacer-display-tablet" style="height:30px"></div><div class="vk_spacer-display-mobile" style="height:20px"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\t\t\x3c!-- wp:vk-blocks/post-list {"name":"vk-blocks/post-list","col_xs":2,"col_sm":3,"col_xl":6,"display_date":false} /--\x3e</div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/outer --\x3e\n\t\t'},{name:"Call To Action",icon:"",content:'\n\t\t\x3c!-- wp:vk-blocks/outer {"bgColor":"#000000","bgImage":"https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/programming-942487_1920.jpg","bgPosition":"fixed","padding_left_and_right":"1","padding_top_and_bottom":"0","opacity":0.7,"borderRadius":8} --\x3e\n\t\t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-normal vk_outer-paddingLR-use vk_outer-paddingVertical-none vk_outer-bgPosition-fixed" style="background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/programming-942487_1920.jpg);border:0px none #000;border-radius:8px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/pr-content {"titleColor":"#eeeeee","contentColor":"#eeeeee","url":"https://example.com","buttonColorCustom":"#cf2e2e","Image":"https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/device_01.png","layout":"right","fontAwesomeIconBefore":"fas fa-arrow-circle-right","fontAwesomeIconAfter":""} --\x3e\n\t\t<div class="wp-block-vk-blocks-pr-content vk_prContent vk_prContent-layout-imageRight"><div class="col-sm-6 vk_prContent_colImg"><img class="vk_prContent_colImg_image" src="https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/device_01.png" alt="画像をアップロード" style="border:none"/></div><div class="col-sm-6 vk_prContent_colTxt"><h3 class="vk_prContent_colTxt_title" style="color:#eeeeee">Call To Action Title</h3><p class="vk_prContent_colTxt_text" style="color:#eeeeee">この部分には、自社について説明が入ります。<br>自社のコンセプトや理念など、大切にしていることについて説明しましょう。お客様に一番伝えたいことを書くことをおススメします。</p><div class="vk_button vk_button-color-custom"><a href="https://example.com" class="btn btn-block vk_button_link vk_prContent_colTxt_btn btn-primary" style="background-color:#cf2e2e;border:1px solid #cf2e2e" rel="noopener noreferrer"><i class="fas fa-arrow-circle-right vk_button_link_before"></i><span class="vk_button_link_txt">さらに詳しく</span></a></div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/pr-content --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4.5,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4.5rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e</div></div>\n\t\t\x3c!-- /wp:vk-blocks/outer --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\t\t'},{name:"Contact",icon:"",content:'\n\t \t\x3c!-- wp:vk-blocks/outer {"bgColor":"#313131","bgImage":"https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/home-office-336373_1920-e1513588377670.jpg","outerWidth":"full","bgPosition":"fixed","padding_top_and_bottom":"0","opacity":0.7} --\x3e\n\t <div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-none vk_outer-bgPosition-fixed" style="background:linear-gradient(rgba(49, 49, 49, 0.7), rgba(49, 49, 49, 0.7)), url(https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/home-office-336373_1920-e1513588377670.jpg);border:0px none #000;border-radius:0px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":3,"tablet":3,"mobile":3} --\x3e\n\t <div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:3rem"></div><div class="vk_spacer-display-tablet" style="height:3rem"></div><div class="vk_spacer-display-mobile" style="height:3rem"></div></div>\n\t \x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t \x3c!-- wp:vk-blocks/heading {"align":"center","titleStyle":"plain","outerMarginBottom":0,"titleColor":"#eeeeee","titleMarginBottom":0,"subTextColor":"#eeeeee"} --\x3e\n\t <div class="wp-block-vk-blocks-heading vk_heading vk_heading-style-plain" style="margin-bottom:0rem"><h2 style="color:#eeeeee;font-size:2rem;margin-bottom:0rem;text-align:center" class="vk_heading_title vk_heading_title-style-plain" placeholder="タイトルを入力">無料体験実施中!</h2><p style="color:#eeeeee;font-size:1.2rem;text-align:center" class="vk_heading_subtext vk_heading_subtext-style-plain" placeholder="サブテキストを入力">体験入会大歓迎です。お気軽にご連絡ください。</p></div>\n\t \x3c!-- /wp:vk-blocks/heading --\x3e\n\n\t \x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":1.5,"tablet":1.5,"mobile":1.5} --\x3e\n\t <div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:1.5rem"></div><div class="vk_spacer-display-tablet" style="height:1.5rem"></div><div class="vk_spacer-display-mobile" style="height:1.5rem"></div></div>\n\t \x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t \x3c!-- wp:columns --\x3e\n\t <div class="wp-block-columns">\x3c!-- wp:column --\x3e\n\t <div class="wp-block-column">\x3c!-- wp:vk-blocks/button {"subCaption":"お気軽にお問い合わせください","buttonUrl":"/contact/","buttonColor":"success","buttonColorCustom":null,"buttonAlign":"block","fontAwesomeIconBefore":"far fa-envelope"} --\x3e\n\t <div class="wp-block-vk-blocks-button vk_button vk_button-align-block"><a href="/contact/" id="vk_button_link" class="btn vk_button_link btn-md btn-success btn-block" role="button" aria-pressed="true" rel="noopener noreferrer"><i class="far fa-envelope vk_button_link_before"></i><span class="vk_button_link_txt">メールでのお問い合わせ</span><p class="vk_button_link_subCaption">お気軽にお問い合わせください</p></a></div>\n\t \x3c!-- /wp:vk-blocks/button --\x3e\n\t </div>\n\t \x3c!-- /wp:column --\x3e\n\n\t \x3c!-- wp:column --\x3e\n\t <div class="wp-block-column">\x3c!-- wp:vk-blocks/button {"subCaption":"電話でのお問い合わせはこちら","buttonUrl":"tel:000-000-0000","buttonColor":"danger","buttonColorCustom":null,"buttonAlign":"block","fontAwesomeIconBefore":"fas fa-phone-square-alt"} --\x3e\n\t <div class="wp-block-vk-blocks-button vk_button vk_button-align-block"><a href="tel:000-000-0000" id="vk_button_link" class="btn vk_button_link btn-md btn-danger btn-block" role="button" aria-pressed="true" rel="noopener noreferrer"><i class="fas fa-phone-square-alt vk_button_link_before"></i><span class="vk_button_link_txt">000-000-0000</span><p class="vk_button_link_subCaption">電話でのお問い合わせはこちら</p></a></div>\n\t \x3c!-- /wp:vk-blocks/button --\x3e\n\t </div>\n\t \x3c!-- /wp:column --\x3e</div>\n\t \x3c!-- /wp:columns --\x3e\n\n\t \x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":1,"tablet":1,"mobile":1} --\x3e\n\t <div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:1rem"></div><div class="vk_spacer-display-tablet" style="height:1rem"></div><div class="vk_spacer-display-mobile" style="height:1rem"></div></div>\n\t \x3c!-- /wp:vk-blocks/spacer --\x3e</div></div>\n\t \x3c!-- /wp:vk-blocks/outer --\x3e'},{name:"Step set",icon:"",content:'\n\t\t\x3c!-- wp:group {"className":"is-style-default","color":"#eeeeee"} --\x3e\n\t\t<div class="wp-block-group is-style-default"><div class="wp-block-group__inner-container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":2,"tablet":32,"mobile":2} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:2rem"></div><div class="vk_spacer-display-tablet" style="height:32rem"></div><div class="vk_spacer-display-mobile" style="height:2rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/step --\x3e\n\t\t<div class="wp-block-vk-blocks-step vk_step">\x3c!-- wp:vk-blocks/step-item --\x3e\n\t\t<div class="wp-block-vk-blocks-step-item vk_step_item vk_step_item_lineStyle-default"><div class="vk_step_item_content">\x3c!-- wp:heading {"level":4} --\x3e\n\t\t<h4><strong>お問い合わせ</strong></h4>\n\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\x3c!-- wp:paragraph --\x3e\n\t\t<p>まずは<a>お問い合わせフォーム</a>または電話にてご連絡ください。</p>\n\t\t\x3c!-- /wp:paragraph --\x3e</div><div class="vk_step_item_dot vk_step_item_style-default" style="background-color:#337ab7;color:#ffffff"><div class="vk_step_item_dot_caption">STEP</div><div class="vk_step_item_dot_num">1</div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/step-item --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/step-item {"dotNum":2} --\x3e\n\t\t<div class="wp-block-vk-blocks-step-item vk_step_item vk_step_item_lineStyle-default"><div class="vk_step_item_content">\x3c!-- wp:heading {"level":4} --\x3e\n\t\t<h4><strong>サービスのご提供</strong></h4>\n\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\x3c!-- wp:paragraph --\x3e\n\t\t<p>ご提案させていただいた内容にて業務を実施いたします。</p>\n\t\t\x3c!-- /wp:paragraph --\x3e</div><div class="vk_step_item_dot vk_step_item_style-default" style="background-color:#337ab7;color:#ffffff"><div class="vk_step_item_dot_caption">STEP</div><div class="vk_step_item_dot_num">2</div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/step-item --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/step-item {"styleLine":"none","dotNum":3} --\x3e\n\t\t<div class="wp-block-vk-blocks-step-item vk_step_item vk_step_item_lineStyle-none"><div class="vk_step_item_content">\x3c!-- wp:heading {"level":4} --\x3e\n\t\t<h4><strong>ご入金</strong></h4>\n\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\x3c!-- wp:paragraph --\x3e\n\t\t<p>納品月の末締めで請求書を発行させていただきますので、翌月末にてご入金願います。</p>\n\t\t\x3c!-- /wp:paragraph --\x3e</div><div class="vk_step_item_dot vk_step_item_style-default" style="background-color:#337ab7;color:#ffffff"><div class="vk_step_item_dot_caption">STEP</div><div class="vk_step_item_dot_num">3</div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/step-item --\x3e</div>\n\t\t\x3c!-- /wp:vk-blocks/step --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e</div></div>\n\t\t\x3c!-- /wp:group --\x3e\n\t\t'},{name:"Border box",icon:"",content:'\x3c!-- wp:vk-blocks/border-box {"faIcon":"fas fa-exclamation"} --\x3e\n\t\t<div class="vk_borderBox vk_borderBox-color-red wp-block-vk-blocks-border-box is-style-vk_borderBox-style-solid-kado-tit-tab"><div class="vk_borderBox_title_container"><i class="fas fa-exclamation"></i><h4 class="vk_borderBox_title">枠線ブロックサンプル</h4></div><div class="vk_borderBox_body">\x3c!-- wp:list {"className":"is-style-vk-check-mark vk-has-vivid-red-color","color":"#cf2e2e"} --\x3e\n\t\t<ul class="is-style-vk-check-mark vk-has-vivid-red-color"><li>これはリストのスタイルのサンプルです。</li><li>これはリストのスタイルのサンプルです。</li><li>これはリストのスタイルのサンプルです。</li><li>これはリストのスタイルのサンプルです。</li></ul>\n\t\t\x3c!-- /wp:list --\x3e</div></div>\n\t\t\x3c!-- /wp:vk-blocks/border-box --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":2,"tablet":2,"mobile":2} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:2rem"></div><div class="vk_spacer-display-tablet" style="height:2rem"></div><div class="vk_spacer-display-mobile" style="height:2rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e'}],Lu=Au()((function(){return ju.map((function(e){return Ou(Ou({},e),{},{blocks:Pu(e.content)})}))}));function zu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return qu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qu(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Mu=window.lodash,Du=Mu.first,Hu=Mu.last,Uu=wp.components.Spinner,Fu=O.BlockPreview,Vu=wp.element.useState,Yu=wp.data,Gu=Yu.dispatch,Wu=Yu.select,Ju=Gu("core/editor"),$u=Ju.insertBlocks,Xu=Ju.replaceBlocks,Qu=Ju.multiSelect,Ku=(wp.i18n.__,Wu("core/block-editor")?Wu("core/block-editor"):Wu("core/editor")),Zu=Ku.getBlocks,ep=Ku.getBlockCount,tp=Ku.getSelectedBlock,np=Ku.getBlockInsertionPoint,rp=function(e){e.slug;if(!(5.3>parseFloat(wpVersion))){var t=zu(Vu(null),2),n=t[0],r=t[1],o=zu(Vu(null),2),a=o[0],l=o[1];return function(){if(!a&&(n||r(Lu),n)){var e=n.map((function(e,t){return React.createElement("li",{key:t},React.createElement("div",{className:"vkb-menu__template-part__button",onClick:function(){if(e.blocks.length){var t=tp();if(null===t){var n=Hu(Zu());void 0!==n&&null===n.rootClientId&&(!ep(n.clientId)||"core/paragraph"===n.name&&""===n.attributes.content)?Xu(n.clientId,e.blocks):$u(e.blocks)}else{if("core/paragraph"===t.name&&""===t.attributes.content)Xu(t.clientId,e.blocks);else{var r=np();$u(e.blocks,r.index)}}Qu(Du(e.blocks).clientId,Hu(e.blocks).clientId)}}},React.createElement("section",{className:"vkb-menu__template-part__card__container"},React.createElement("div",{id:"vkb-menu__template-part__card".concat(t),className:"card vkb-menu__template-part__card"},React.createElement("div",{className:"content"},React.createElement("h6",null,React.createElement("span",{className:"vkb-menu__template-part__header__icon"},e.icon),e.name),React.createElement("div",{className:"hover_content"},React.createElement("div",{className:"inner edit-post-visual-editor editor-styles-wrapper"},React.createElement(Fu,{viewportWidth:601,blocks:e.blocks}))))))))}));l(e.filter((function(e){return e})))}}(),a?React.createElement("ul",{className:"vkb-menu__template-part"},a):React.createElement("div",{className:"vkb-menu__template-part__loading"},React.createElement(Uu,null))}},op=wp.element.Fragment,ap=wp.editPost,lp=ap.PluginSidebar,cp=ap.PluginSidebarMoreMenuItem,ip=wp.i18n.__,sp="vk-blocks",up={icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"19.31564",viewBox:"0 0 20 19.31564"},React.createElement("path",{d:"M19.801,3.465l-5.93675.01494a.19492.19492,0,0,0-.18428.12949l-.45323,1.26505a.19767.19767,0,0,0,.18428.264h2.311a.19794.19794,0,0,1,.14444.3337l-3.67562,3.83h.01494l1.8926,5.95668a.19867.19867,0,0,1-.18926.259H12.05132a.19722.19722,0,0,1-.18926-.13946l-.95626-3.058a.197.197,0,0,0-.37353-.01l-.777,2.14162a.19642.19642,0,0,0-.005.11953l.70225,2.6048a.19724.19724,0,0,0,.18926.14443h5.97162a.19866.19866,0,0,0,.18926-.259L14.41208,9.56607a.199.199,0,0,1,.0498-.19922l5.48354-5.5682A.19793.19793,0,0,0,19.801,3.465Z",transform:"translate(0 -0.34218)"}),React.createElement("path",{d:"M12.76851.34218l-3.61584.01a.18849.18849,0,0,0-.18428.12949L8.5052,1.74668a.19768.19768,0,0,0,.18428.264h1.51407a.19364.19364,0,0,1,.18428.264L6.0797,14.06845a.19878.19878,0,0,1-.37354,0L2.62323,5.56673a.19767.19767,0,0,1,.18428-.264H4.3664a.18849.18849,0,0,1,.18428.1295l1.11563,3.068a.19878.19878,0,0,0,.37354,0L7.77307,3.72892a.19767.19767,0,0,0-.18428-.264H.19772a.19364.19364,0,0,0-.18428.264L5.70118,19.52708a.19878.19878,0,0,0,.37354,0L12.94781.59619A.186.186,0,0,0,12.76851.34218Z",transform:"translate(0 -0.34218)"})),render:function(){return React.createElement(op,null,React.createElement(cp,{target:"vkbSidebar"},ip("VK Blocks Templates","vk-blocks")),React.createElement(lp,{name:"vkbSidebar",title:ip("VK Blocks Templates","vk-blocks")},React.createElement(rp,null)))}};5.3<=parseFloat(wpVersion)&&5.5>parseFloat(wpVersion)&&function(e){if(e){var t=e.name,n=e.settings;Su(t,n)}}(r)}]);
|
25 |
@license MIT
|
26 |
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function l(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,c,i=l(e),s=1;s<arguments.length;s++){for(var u in n=Object(arguments[s]))o.call(n,u)&&(i[u]=n[u]);if(r){c=r(n);for(var p=0;p<c.length;p++)a.call(n,c[p])&&(i[c[p]]=n[c[p]])}}return i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"text"===e.type&&/\r?\n/.test(e.data)&&""===e.data.trim()}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=s(n(65)),l=s(n(66)),c=s(n(72)),i=s(n(73));function s(e){return e&&e.__esModule?e:{default: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}t.default=(u(r={},o.ElementType.Text,a.default),u(r,o.ElementType.Tag,l.default),u(r,o.ElementType.Style,c.default),u(r,o.ElementType.Directive,i.default),u(r,o.ElementType.Comment,i.default),u(r,o.ElementType.Script,i.default),u(r,o.ElementType.CDATA,i.default),u(r,o.ElementType.Doctype,i.default),r)},function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,a=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var l=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,e.exports.once=function(e,t){return new Promise((function(n,r){function o(){void 0!==a&&e.removeListener("error",a),n([].slice.call(arguments))}var a;"error"!==t&&(a=function(n){e.removeListener(t,o),r(n)},e.once("error",a)),e.once(t,o)}))},c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var i=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function p(e,t,n,r){var o,a,l,c;if(s(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),l=a[t]),void 0===l)l=a[t]=n,++e._eventsCount;else if("function"==typeof l?l=a[t]=r?[n,l]:[l,n]:r?l.unshift(n):l.push(n),(o=u(e))>0&&l.length>o&&!l.warned){l.warned=!0;var i=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");i.name="MaxListenersExceededWarning",i.emitter=e,i.type=t,i.count=l.length,c=i,console&&console.warn&&console.warn(c)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function m(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function b(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):v(o,o.length)}function d(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e||e<0||l(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");i=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||l(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return u(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var l;if(t.length>0&&(l=t[0]),l instanceof Error)throw l;var c=new Error("Unhandled error."+(l?" ("+l.message+")":""));throw c.context=l,c}var i=o[e];if(void 0===i)return!1;if("function"==typeof i)a(i,this,t);else{var s=i.length,u=v(i,s);for(n=0;n<s;++n)a(u[n],this,t)}return!0},c.prototype.addListener=function(e,t){return p(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return p(this,e,t,!0)},c.prototype.once=function(e,t){return s(t),this.on(e,m(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,m(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,o,a,l;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){l=n[a].listener,o=a;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,l||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,a=Object.keys(n);for(r=0;r<a.length;++r)"removeListener"!==(o=a[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return b(this,e,!0)},c.prototype.rawListeners=function(e){return b(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},c.prototype.listenerCount=d,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){var r=n(15),o=e.exports=Object.create(r),a={tagName:"name"};Object.keys(a).forEach((function(e){var t=a[e];Object.defineProperty(o,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},function(e,t,n){var r=n(14),o=n(16);function a(e,t){this.init(e,t)}function l(e,t){return o.getElementsByTagName(e,t,!0)}function c(e,t){return o.getElementsByTagName(e,t,!0,1)[0]}function i(e,t,n){return o.getText(o.getElementsByTagName(e,t,n,1)).trim()}function s(e,t,n,r,o){var a=i(n,r,o);a&&(e[t]=a)}n(5)(a,r),a.prototype.init=r;var u=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};a.prototype.onend=function(){var e,t,n={},o=c(u,this.dom);o&&("feed"===o.name?(t=o.children,n.type="atom",s(n,"id","id",t),s(n,"title","title",t),(e=c("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),s(n,"description","subtitle",t),(e=i("updated",t))&&(n.updated=new Date(e)),s(n,"author","email",t,!0),n.items=l("entry",t).map((function(e){var t,n={};return s(n,"id","id",e=e.children),s(n,"title","title",e),(t=c("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=i("summary",e)||i("content",e))&&(n.description=t),(t=i("updated",e))&&(n.pubDate=new Date(t)),n}))):(t=c("channel",o.children).children,n.type=o.name.substr(0,3),n.id="",s(n,"title","title",t),s(n,"link","link",t),s(n,"description","description",t),(e=i("lastBuildDate",t))&&(n.updated=new Date(e)),s(n,"author","managingEditor",t,!0),n.items=l("item",o.children).map((function(e){var t,n={};return s(n,"id","guid",e=e.children),s(n,"title","title",e),s(n,"link","link",e),s(n,"description","description",e),(t=i("pubDate",e))&&(n.pubDate=new Date(t)),n})))),this.dom=n,r.prototype._handleCallback.call(this,o?null:Error("couldn't find root of feed"))},e.exports=a},function(e,t,n){var r=n(4),o=n(46),a=r.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return o(e,t)})).join(""):""},getOuterHTML:o,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):a(t)||t.type===r.CDATA?e(t.children):t.type===r.Text?t.data:""}}},function(e,t,n){var r=n(4),o=n(47),a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};var l={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},c=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",o=0;o<e.length;o++){var a=e[o];"root"===a.type?n+=c(a.children,t):r.isTag(a)?n+=i(a,t):a.type===r.Directive?n+=s(a):a.type===r.Comment?n+=f(a):a.type===r.CDATA?n+=p(a):n+=u(a,t)}return n};function i(e,t){"svg"===e.name&&(t={decodeEntities:t.decodeEntities,xmlMode:!0});var n="<"+e.name,r=function(e,t){if(e){var n,r="";for(var a in e)r&&(r+=" "),r+=a,(null!==(n=e[a])&&""!==n||t.xmlMode)&&(r+='="'+(t.decodeEntities?o.encodeXML(n):n)+'"');return r}}(e.attribs,t);return r&&(n+=" "+r),!t.xmlMode||e.children&&0!==e.children.length?(n+=">",e.children&&(n+=c(e.children,t)),l[e.name]&&!t.xmlMode||(n+="</"+e.name+">")):n+="/>",n}function s(e){return"<"+e.data+">"}function u(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in a||(n=o.encodeXML(n)),n}function p(e){return"<![CDATA["+e.children[0].data+"]]>"}function f(e){return"\x3c!--"+e.data+"--\x3e"}},function(e,t,n){var r=n(48),o=n(49);t.decode=function(e,t){return(!t||t<=0?o.XML:o.HTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?o.XML:o.HTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?r.XML:r.HTML)(e)},t.encodeXML=r.XML,t.encodeHTML4=t.encodeHTML5=t.encodeHTML=r.HTML,t.decodeXML=t.decodeXMLStrict=o.XML,t.decodeHTML4=t.decodeHTML5=t.decodeHTML=o.HTML,t.decodeHTML4Strict=t.decodeHTML5Strict=t.decodeHTMLStrict=o.HTMLStrict,t.escape=r.escape},function(e,t,n){var r=c(n(8)),o=i(r);t.XML=m(r,o);var a=c(n(7)),l=i(a);function c(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function i(e){var t=[],n=[];return Object.keys(e).forEach((function(e){1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.HTML=m(a,l);var s=/[^\0-\x7F]/g,u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function p(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function f(e){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function m(e,t){function n(t){return e[t]}return function(e){return e.replace(t,n).replace(u,f).replace(s,p)}}var b=i(r);t.escape=function(e){return e.replace(b,p).replace(u,f).replace(s,p)}},function(e,t,n){var r=n(7),o=n(13),a=n(8),l=n(12),c=s(a),i=s(r);function s(e){var t=Object.keys(e).join("|"),n=f(e),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(r,n)}}var u=function(){for(var e=Object.keys(o).sort(p),t=Object.keys(r).sort(p),n=0,a=0;n<t.length;n++)e[a]===t[n]?(t[n]+=";?",a++):t[n]+=";";var l=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),c=f(r);function i(e){return";"!==e.substr(-1)&&(e+=";"),c(e)}return function(e){return String(e).replace(l,i)}}();function p(e,t){return e<t?1:-1}function f(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?l(parseInt(t.substr(3),16)):l(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}e.exports={XML:c,HTML:u,HTMLStrict:i}},function(e,t){var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var o=t.parent=e.parent;if(o){var a=o.children;a[a.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var n=e.children[e.children.length-2];n.next=t,t.prev=n,t.next=null}},t.append=function(e,t){var n=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){var o=n.children;o.splice(o.lastIndexOf(r),0,t)}}else n&&n.children.push(t)},t.prepend=function(e,t){var n=e.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},function(e,t,n){var r=n(4).isTag;function o(e,t,n,r){for(var a,l=[],c=0,i=t.length;c<i&&!(e(t[c])&&(l.push(t[c]),--r<=0))&&(a=t[c].children,!(n&&a&&a.length>0&&(a=o(e,a,n,r),l=l.concat(a),(r-=a.length)<=0)));c++);return l}e.exports={filter:function(e,t,n,r){Array.isArray(t)||(t=[t]);"number"==typeof r&&isFinite(r)||(r=1/0);return o(e,t,!1!==n,r)},find:o,findOneChild:function(e,t){for(var n=0,r=t.length;n<r;n++)if(e(t[n]))return t[n];return null},findOne:function e(t,n){for(var o=null,a=0,l=n.length;a<l&&!o;a++)r(n[a])&&(t(n[a])?o=n[a]:n[a].children.length>0&&(o=e(t,n[a].children)));return o},existsOne:function e(t,n){for(var o=0,a=n.length;o<a;o++)if(r(n[o])&&(t(n[o])||n[o].children.length>0&&e(t,n[o].children)))return!0;return!1},findAll:function e(t,n){for(var o=[],a=0,l=n.length;a<l;a++)r(n[a])&&(t(n[a])&&o.push(n[a]),n[a].children.length>0&&(o=o.concat(e(t,n[a].children))));return o}}},function(e,t,n){var r=n(4),o=t.isTag=r.isTag;t.testElement=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){if("tag_name"===n){if(!o(t)||!e.tag_name(t.name))return!1}else if("tag_type"===n){if(!e.tag_type(t.type))return!1}else if("tag_contains"===n){if(o(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[n](t.attribs[n]))return!1}else;return!0};var a={tag_name:function(e){return"function"==typeof e?function(t){return o(t)&&e(t.name)}:"*"===e?o:function(t){return o(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!o(t)&&e(t.data)}:function(t){return!o(t)&&t.data===e}}};function l(e,t){return"function"==typeof t?function(n){return n.attribs&&t(n.attribs[e])}:function(n){return n.attribs&&n.attribs[e]===t}}function c(e,t){return function(n){return e(n)||t(n)}}t.getElements=function(e,t,n,r){var o=Object.keys(e).map((function(t){var n=e[t];return t in a?a[t](n):l(t,n)}));return 0===o.length?[]:this.filter(o.reduce(c),t,n,r)},t.getElementById=function(e,t,n){return Array.isArray(t)||(t=[t]),this.findOne(l("id",e),t,!1!==n)},t.getElementsByTagName=function(e,t,n,r){return this.filter(a.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return this.filter(a.tag_type(e),t,n,r)}},function(e,t){t.removeSubsets=function(e){for(var t,n,r,o=e.length;--o>-1;){for(t=n=e[o],e[o]=null,r=!0;n;){if(e.indexOf(n)>-1){r=!1,e.splice(o,1);break}n=n.parent}r&&(e[o]=t)}return e};var n=1,r=2,o=4,a=8,l=16,c=t.compareDocumentPosition=function(e,t){var c,i,s,u,p,f,m=[],b=[];if(e===t)return 0;for(c=e;c;)m.unshift(c),c=c.parent;for(c=t;c;)b.unshift(c),c=c.parent;for(f=0;m[f]===b[f];)f++;return 0===f?n:(s=(i=m[f-1]).children,u=m[f],p=b[f],s.indexOf(u)>s.indexOf(p)?i===t?o|l:o:i===e?r|a:r)};t.uniqueSort=function(e){var t,n,a=e.length;for(e=e.slice();--a>-1;)t=e[a],(n=e.indexOf(t))>-1&&n<a&&e.splice(a,1);return e.sort((function(e,t){var n=c(e,t);return n&r?-1:n&o?1:0})),e}},function(e,t,n){e.exports=o;var r=n(17);function o(e){r.call(this,new a(this),e)}function a(e){this.scope=e}n(5)(o,r),o.prototype.readable=!0;var l=n(3).EVENTS;Object.keys(l).forEach((function(e){if(0===l[e])a.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===l[e])a.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==l[e])throw Error("wrong number of arguments!");a.prototype["on"+e]=function(t,n){this.scope.emit(e,t,n)}}}))},function(e,t){},function(e,t,n){"use strict";var r=n(58).Buffer,o=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=i,this.end=s,t=4;break;case"utf8":this.fillLast=c,t=4;break;case"base64":this.text=u,this.end=p,t=3;break;default:return this.write=f,void(this.end=m)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function c(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function i(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function s(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function m(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},a.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var o=l(t[r]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--r<n||-2===o)return 0;if((o=l(t[r]))>=0)return o>0&&(e.lastNeed=o-2),o;if(--r<n||-2===o)return 0;if((o=l(t[r]))>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){
|
27 |
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
28 |
+
var r=n(18),o=r.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function l(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=l),l.prototype=Object.create(o.prototype),a(o,l),l.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},l.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},l.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},l.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=s(e),l=r[0],c=r[1],i=new a(function(e,t,n){return 3*(t+n)/4-n}(0,l,c)),u=0,p=c>0?l-4:l;for(n=0;n<p;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],i[u++]=t>>16&255,i[u++]=t>>8&255,i[u++]=255&t;2===c&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,i[u++]=255&t);1===c&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,i[u++]=t>>8&255,i[u++]=255&t);return i},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,a=[],l=0,c=n-o;l<c;l+=16383)a.push(u(e,l,l+16383>c?c:l+16383));1===o?(t=e[n-1],a.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],a.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return a.join("")};for(var r=[],o=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,i=l.length;c<i;++c)r[c]=l[c],o[l.charCodeAt(c)]=c;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var o,a,l=[],c=t;c<n;c+=3)o=(e[c]<<16&16711680)+(e[c+1]<<8&65280)+(255&e[c+2]),l.push(r[(a=o)>>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return l.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,o){var a,l,c=8*o-r-1,i=(1<<c)-1,s=i>>1,u=-7,p=n?o-1:0,f=n?-1:1,m=e[t+p];for(p+=f,a=m&(1<<-u)-1,m>>=-u,u+=c;u>0;a=256*a+e[t+p],p+=f,u-=8);for(l=a&(1<<-u)-1,a>>=-u,u+=r;u>0;l=256*l+e[t+p],p+=f,u-=8);if(0===a)a=1-s;else{if(a===i)return l?NaN:1/0*(m?-1:1);l+=Math.pow(2,r),a-=s}return(m?-1:1)*l*Math.pow(2,a-r)},t.write=function(e,t,n,r,o,a){var l,c,i,s=8*a-o-1,u=(1<<s)-1,p=u>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,m=r?0:a-1,b=r?1:-1,d=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,l=u):(l=Math.floor(Math.log(t)/Math.LN2),t*(i=Math.pow(2,-l))<1&&(l--,i*=2),(t+=l+p>=1?f/i:f*Math.pow(2,1-p))*i>=2&&(l++,i/=2),l+p>=u?(c=0,l=u):l+p>=1?(c=(t*i-1)*Math.pow(2,o),l+=p):(c=t*Math.pow(2,p-1)*Math.pow(2,o),l=0));o>=8;e[n+m]=255&c,m+=b,c/=256,o-=8);for(l=l<<o|c,s+=o;s>0;e[n+m]=255&l,m+=b,l/=256,s-=8);e[n+m-b]|=128*d}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){function r(e){this._cbs=e||{}}e.exports=r;var o=n(3).EVENTS;Object.keys(o).forEach((function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this._cbs[e]&&this._cbs[e](t,n)}}}))},function(e,t,n){function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var o=n(3).EVENTS;Object.keys(o).forEach((function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this.events.push([e,t,n]),this._cbs[e]&&this._cbs[e](t,n)}}})),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var n=this.events[e].length;1===n?this._cbs[this.events[e][0]]():2===n?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.data}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var i=e.name;if(!(0,c.default)(i))return null;var s=(0,a.default)(e.attribs,t),u=null;-1===l.default.indexOf(i)&&(u=(0,o.default)(e.children,n));return r.default.createElement(i,s,u)};var r=i(n(0)),o=i(n(6)),a=i(n(19)),l=i(n(71)),c=i(n(20));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).filter((function(e){return(0,a.default)(e)})).reduce((function(t,n){var a=n.toLowerCase(),l=o.default[a]||a;return t[l]=function(e,t){r.default.map((function(e){return e.toLowerCase()})).indexOf(e.toLowerCase())>=0&&(t=e);return t}(l,e[n]),t}),{})};var r=l(n(68)),o=l(n(69)),a=l(n(20));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(""===e)return{};return e.split(";").reduce((function(e,t){var n=t.split(/^([^:]+):/).filter((function(e,t){return t>0})).map((function(e){return e.trim().toLowerCase()})),o=r(n,2),a=o[0],l=o[1];return void 0===l||(e[a=a.replace(/^-ms-/,"ms-").replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))]=l),e}),{})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=void 0;e.children.length>0&&(n=e.children[0].data);var a=(0,o.default)(e.attribs,t);return r.default.createElement("style",a,n)};var r=a(n(0)),o=a(n(19));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.decodeEntities,a=void 0===n||n,l=t.transform,c=t.preprocessNodes,i=void 0===c?function(e){return e}:c,s=i(r.default.parseDOM(e,{decodeEntities:a}));return(0,o.default)(s,l)};var r=a(n(3)),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t){var n=wp.i18n.__;wp.blocks.registerBlockStyle("core/image",[{name:"vk-image-border",label:n("Border","vk-blocks")},{name:"vk-image-photoFrame",label:n("Photo frame","vk-blocks")},{name:"vk-image-photoFrame-tilt-right",label:n("Photo frame Tilt Right","vk-blocks")},{name:"vk-image-photoFrame-tilt-left",label:n("Photo frame Tilt Left","vk-blocks")},{name:"vk-image-shadow",label:n("Shadow","vk-blocks")},{name:"vk-image-wave01",label:n("Wave01","vk-blocks")},{name:"vk-image-wave02",label:n("Wave02","vk-blocks")},{name:"vk-image-wave03",label:n("Wave03","vk-blocks")},{name:"vk-image-wave04",label:n("Wave04","vk-blocks")}])},function(e,t){var n=wp.i18n.__,r=wp.richText,o=r.registerFormatType,a=(r.toggleFormat,r.insertObject,r.insert),l=wp.blockEditor,c=(l.RichTextToolbarButton,l.BlockControls),i=wp.components,s=i.Toolbar,u=(i.ToolbarButton,i.DropdownMenu),p=["xs","sm","md","lg","xl","xxl"];o("vk-blocks/responsive-br",{title:n("Responsive Br","vk-blocks"),tagName:"br",className:null,edit:function(e){var t=e.onChange,r=e.value;return React.createElement(c,null,React.createElement(s,{label:"Options"},React.createElement(u,{icon:"editor-break",label:"Select a direction",controls:p.map((function(e){return{title:n("Responsive BR ","vk-blocks")+"( ".concat(e," )"),icon:"editor-break",onClick:function(){!function(e,n){t(a(e,"[br-".concat(n,"]"),e.start,e.end))}(r,e)}}}))})))}})},function(e,t,n){"use strict";n.r(t);var r={};function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.r(r),n.d(r,"name",(function(){return sp})),n.d(r,"settings",(function(){return up}));var l=wp.components.ToggleControl,c=wp.element.useState,i=function(e){var t=e.initialFixedTable,n=e.label,r=e.helpYes,a=e.helpNo,i=e.schema,s=e.setAttributes,u=o(c(t),2),p=u[0],f=u[1];return React.createElement(l,{label:n,help:p?r:a,checked:p,onChange:function(){var e,t,n;f(!p),s((n=!p,(t=i)in(e={})?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e))}})},s=n(2),u=n.n(s);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(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){b(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 b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=wp.i18n.__,v=wp.element.Fragment,h=wp.hooks.addFilter,_=wp.components,g=_.PanelBody,k=_.BaseControl,y=(wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor).InspectorControls,w=wp.compose.createHigherOrderComponent,E=function(e,t){return-1!==e.indexOf(t)},x=function(e){var t=void 0!==["core","vk-blocks"].find((function(t){return E(e,t)}));return void 0!==["core/calendar","core/latest-comments","core/archives","core/tag-cloud","core/shortcode","core/rss","core/rss","vk-blocks/card-item","vk-blocks/icon-card-item"].find((function(t){return E(e,t)}))&&(t=!1),t};5.3<=parseFloat(wpVersion)&&(h("blocks.registerBlockType","vk-blocks/hidden-extension",(function(e){return x(e.name)&&(e.attributes=m(m({},e.attributes),{vkb_hidden:{type:"boolean",default:!1},vkb_hidden_xxl:{type:"boolean",default:!1},vkb_hidden_xl_v2:{type:"boolean",default:!1},vkb_hidden_xl:{type:"boolean",default:!1},vkb_hidden_lg:{type:"boolean",default:!1},vkb_hidden_md:{type:"boolean",default:!1},vkb_hidden_sm:{type:"boolean",default:!1},vkb_hidden_xs:{type:"boolean",default:!1}})),e})),wp.hooks.addFilter("editor.BlockEdit","vk-blocks/hidden-extension",w((function(e){return function(t){return x(t.name)?(t.attributes.vkb_hidden_xl&&!t.attributes.vkb_hidden_xxl&&(t.attributes.vkb_hidden_xxl=!0,t.attributes.vkb_hidden_xl_v2=!0,t.attributes.vkb_hidden_xl=!1),React.createElement(v,null,React.createElement(e,t),React.createElement(y,null,React.createElement(g,{title:d("Hidden Settings","vk-blocks"),initialOpen:!1},React.createElement(k,{label:d("Hidden at screel size","vk-blocks")},React.createElement("p",null,d("Note : This function is display hidden only. Actually Block is output to HTML.Pleade don't use you must not bisible item.Don't use it for blocks you really don't want to display.","vk-blocks")),React.createElement(i,p({label:d("Hidden ( Screen size : all )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden,schema:"vkb_hidden"},t)),React.createElement(i,p({label:d("Hidden ( Screen size : xs )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden_xs,schema:"vkb_hidden_xs"},t)),React.createElement(i,p({label:d("Hidden ( Screen size : sm )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden_sm,schema:"vkb_hidden_sm"},t)),React.createElement(i,p({label:d("Hidden ( Screen size : md )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden_md,schema:"vkb_hidden_md"},t)),React.createElement(i,p({label:d("Hidden ( Screen size : lg )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden_lg,schema:"vkb_hidden_lg"},t)),React.createElement(i,p({label:d("Hidden ( Screen size : xl )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden_xl_v2,schema:"vkb_hidden_xl_v2"},t)),React.createElement(i,p({label:d("Hidden ( Screen size : xxl )","vk-blocks"),initialFixedTable:t.attributes.vkb_hidden_xxl,schema:"vkb_hidden_xxl"},t)),React.createElement("p",null,d("If you want to hide multiple blocks, that first you set to group block and the next, hide for the that group block.","vk-blocks"))))))):React.createElement(e,t)}}),"addHiddenSection")),wp.hooks.addFilter("blocks.getSaveElement","vk-blocks/hidden-extension",(function(e,t,n){var r=n.vkb_hidden,o=n.vkb_hidden_xxl,a=n.vkb_hidden_xl_v2,l=n.vkb_hidden_xl,c=n.vkb_hidden_lg,i=n.vkb_hidden_md,s=n.vkb_hidden_sm,p=n.vkb_hidden_xs;if(r||o||a||l||c||i||s||p){var f=r&&"vk_hidden",b=o&&"vk_hidden-xxl",d=a&&"vk_hidden-xl-v2",v=l&&"vk_hidden-xl",h=c&&"vk_hidden-lg",_=i&&"vk_hidden-md",g=s&&"vk_hidden-sm",k=p&&"vk_hidden-xs";e&&(e=m(m({},e),{props:m(m({},e.props),{className:u()(e.props.className,f,b,d,v,h,_,g,k)})}))}return e})),wp.hooks.addFilter("editor.BlockListBlock","vk-blocks/hidden-extension",w((function(e){return function(t){var n=t.attributes.vkb_hidden_xxl||t.attributes.vkb_hidden_xl_v2||t.attributes.vkb_hidden_xl||t.attributes.vkb_hidden_lg||t.attributes.vkb_hidden_md||t.attributes.vkb_hidden_sm||t.attributes.vkb_hidden_xs||t.attributes.vkb_hidden?"vk_edit_hidden_warning":"",r=t.attributes.vkb_hidden?n+" vk_edit_hidden_all":n,o=u()(r,t.className);return React.createElement(e,p({},t,{className:o}))}}),"addHiddenWarning")));n(36);var R=lodash.assign,C=wp.i18n.__,N=wp.hooks.addFilter;N("blocks.registerBlockType","vk-blocks/heading-style",(function(e){var t;return t=e.name,["core/heading"].includes(t)&&(e.attributes=R(e.attributes,{color:{type:"string"}})),e})),wp.blocks.registerBlockStyle("core/heading",[{name:"vk-heading-default",label:C("Default","vk-blocks"),isDefault:!0},{name:"vk-heading-plain",label:C("Plain","vk-blocks")},{name:"vk-heading-background_fill_lightgray",label:C("Background fill lightgray","vk-blocks")},{name:"vk-heading-double_black",label:C("Double border top and bottom black","vk-blocks")},{name:"vk-heading-double_bottomborder_black",label:C("Double border bottom black","vk-blocks")},{name:"vk-heading-solid_black",label:C("Solid border top and bottom black","vk-blocks")},{name:"vk-heading-solid_bottomborder_black",label:C("Solid border bottom black","vk-blocks")},{name:"vk-heading-dotted_bottomborder_black",label:C("Dotted border bottom black","vk-blocks")},{name:"vk-heading-both_ends",label:C("Both ends","vk-blocks")},{name:"vk-heading-brackets_black",label:C("Brackets black","vk-blocks")}]);var S=function(e){switch(e){case"#f78da7":return"vk-has-pale-pink-color";case"#cf2e2e":return"vk-has-vivid-red-color";case"#ff6900":return"vk-has-luminous-vivid-orange-color";case"#fcb900":return"vk-has-luminous-vivid-amber-color";case"#7bdcb5":return"vk-has-light-green-cyan-color";case"#00d084":return"vk-has-vivid-green-cyan-color";case"#8ed1fc":return"vk-has-pale-cyan-blue-color";case"#0693e3":return"vk-has-vivid-cyan-blue-color";case"#9b51e0":return"vk-has-vivid-purple-color";case"#eee":return"vk-has-very-light-gray-color";case"#abb8c3":return"vk-has-cyan-bluish-gray-color";case"#313131":return"vk-has-very-dark-gray-color"}},T=wp.data,A=T.select,B=T.dispatch,O=wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,I=(A("core/block-editor")?A("core/block-editor"):A("core/editor"),B("core/block-editor")?B("core/block-editor"):B("core/editor"),function(e){return function(e){try{JSON.parse(e)}catch(e){return!1}return!0}(e)||(e=e.replace(/u0022/g,'"')),e}),P=lodash.assign,j=wp.i18n.__,L=wp.element.Fragment,z=wp.hooks.addFilter,q=wp.components.PanelBody,M=O.InspectorControls,D=O.ColorPalette,H=wp.compose.createHigherOrderComponent,U=function(e){return["core/group"].includes(e)};z("blocks.registerBlockType","vk-blocks/group-style",(function(e){return U(e.name)&&(e.attributes=P(e.attributes,{color:{type:"string"}})),e})),z("editor.BlockEdit","vk-blocks/group-style",H((function(e){var t="";return function(n){return U(n.name)&&n.isSelected?(t=n.attributes.color?n.attributes.color:"#fffd6b",React.createElement(L,null,React.createElement(e,n),React.createElement(M,null,React.createElement(q,{title:j("Border Color","vk-blocks"),initialOpen:!1,className:"group-border-color-controle"},React.createElement(D,{value:t,disableCustomColors:!0,onChange:function(e){var r=S(e);if(n.attributes.className){var o=n.attributes.className,a=(o=o.split(" ")).filter((function(e){return-1===e.indexOf("vk-has-")}));a.push(r),r=a.join(" ")}t=e,n.setAttributes({className:r,color:e})}}))))):React.createElement(e,n)}}),"addMyCustomBlockControls")),wp.blocks.registerBlockStyle("core/group",[{name:"vk-group-solid",label:j("Solid","vk-blocks")},{name:"vk-group-solid-roundcorner",label:j("Solid Roundcorner","vk-blocks")},{name:"vk-group-dotted",label:j("Dotted","vk-blocks")},{name:"vk-group-dashed",label:j("Dashed","vk-blocks")},{name:"vk-group-double",label:j("Double","vk-blocks")},{name:"vk-group-stitch",label:j("Stitch","vk-blocks")},{name:"vk-group-top-bottom-border",label:j("Border Top Bottom","vk-blocks")},{name:"vk-group-shadow",label:j("Shadow","vk-blocks")},{name:"vk-group-alert-info",label:j("Info","vk-blocks")},{name:"vk-group-alert-success",label:j("Success","vk-blocks")},{name:"vk-group-alert-warning",label:j("Warning","vk-blocks")},{name:"vk-group-alert-danger",label:j("Danger","vk-blocks")}]);var F=lodash.assign,V=wp.i18n.__,Y=wp.element.Fragment,G=wp.hooks.addFilter,W=wp.components.PanelBody,J=wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,$=J.InspectorControls,X=J.ColorPalette,Q=wp.compose.createHigherOrderComponent,K=function(e){return["core/list"].includes(e)};function Z(e,t){var n=e.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i),r=null;return n&&(r=n.slice(1,4).map((function(e){return parseInt(e,16)}))),(n=e.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i))&&(r=n.slice(1,4).map((function(e){return 17*parseInt(e,16)}))),r?"rgba(".concat(r[0],", ").concat(r[1],", ").concat(r[2],", ").concat(t,")"):null}G("blocks.registerBlockType","vk-blocks/list-style",(function(e){return K(e.name)&&(e.attributes=F(e.attributes,{color:{type:"string"}})),e})),G("editor.BlockEdit","vk-blocks/list-style",Q((function(e){var t="";return function(n){return K(n.name)&&n.isSelected?(t=n.attributes.color?n.attributes.color:"#fffd6b",React.createElement(Y,null,React.createElement(e,n),React.createElement($,null,React.createElement(W,{title:V("List Icon Color","vk-blocks"),initialOpen:!1,className:"list-color-controle"},React.createElement(X,{value:t,disableCustomColors:!0,onChange:function(e){var r=S(e);if(n.attributes.className){var o=n.attributes.className,a=(o=o.split(" ")).filter((function(e){return-1===e.indexOf("vk-has-")}));a.push(r),r=a.join(" ")}t=e,n.setAttributes({className:r,color:e})}}))))):React.createElement(e,n)}}),"addMyCustomBlockControls")),wp.blocks.registerBlockStyle("core/list",[{name:"vk-default",label:V("Default","vk-blocks"),isDefault:!0},{name:"vk-arrow-mark",label:V("Arrow","vk-blocks")},{name:"vk-triangle-mark",label:V("Triangle","vk-blocks")},{name:"vk-check-mark",label:V("Check","vk-blocks")},{name:"vk-check-square-mark",label:V("Check Square","vk-blocks")},{name:"vk-check-circle-mark",label:V("Check Circle","vk-blocks")},{name:"vk-handpoint-mark",label:V("Handpoint","vk-blocks")},{name:"vk-pencil-mark",label:V("Pencil","vk-blocks")},{name:"vk-smile-mark",label:V("Smile","vk-blocks")},{name:"vk-frown-mark",label:V("Frown","vk-blocks")},{name:"vk-numbered-circle-mark",label:V("Numbered Circle","vk-blocks")},{name:"vk-numbered-square-mark",label:V("Numbered Square","vk-blocks")}]);var ee=wp.i18n.__,te=window.wp.richText,ne=te.registerFormatType,re=te.toggleFormat,oe=te.applyFormat,ae=te.removeFormat,le=te.getActiveFormat,ce=wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,ie=ce.RichTextToolbarButton,se=ce.RichTextShortcut,ue=ce.InspectorControls,pe=ce.PanelColorSettings,fe=(ce.getColorObjectByColorValue,wp.element.Fragment),me="vk-blocks/highlighter",be=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},React.createElement("path",{d:"M26.9,462.2l104.7,39.6l34-34l-73.2-73.2L26.9,462.2z M146.5,231.8c-10.3,9.1-14.4,23.4-10.4,36.6l12.5,41.1l-48.9,48.9 L201,459.6l48.8-48.8l41,12.6c13.2,4,27.5,0,36.6-10.3l27.3-29.1L175.5,204.6L146.5,231.8L146.5,231.8z M533.7,122.3L437,25.7 C417.4,6,385.8,5,364.9,23.4L201,186.6l171.8,171.8l163.1-163.9C554.3,173.6,553.3,142,533.7,122.3L533.7,122.3z"}));function de(e){return(de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _e(e,t){return(_e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ye(e);if(t){var o=ye(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ke(this,n)}}function ke(e,t){return!t||"object"!==de(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}ne(me,{title:ee("Highlighter","vk-blocks"),tagName:"span",className:"vk_highlighter",attributes:{data:"data-color",style:"style"},edit:function(e){var t,n=e.value,r=e.isActive,o=e.onChange;if(r){var a=le(n,me);t=a.attributes.data}var l=function(e){e=function(e){return void 0===e&&(e="#fffd6b"),e}(e),o(re(n,{type:me,attributes:{data:e,style:"background: linear-gradient(transparent 60%,".concat(Z(e,.7)," 0);")}}))};return React.createElement(fe,null,React.createElement(ue,null,React.createElement(pe,{title:ee("Highlighter","vk-blocks"),initialOpen:!1,colorSettings:[{value:t,onChange:function(e){o(e?oe(n,{type:me,attributes:{data:e,style:"background: linear-gradient(transparent 60%,".concat(Z(e,.7)," 0);")}}):ae(n,me))},label:ee("Highlight Color","vk-blocks")}]})),React.createElement(se,{type:"primary",character:"h",onUse:function(){return l(t)}}),React.createElement(ie,{icon:be,title:ee("Highlighter","vk-blocks"),onClick:function(){return l(t)},isActive:r,shortcutType:"primary",shortcutCharacter:"h"}))}});var we=wp.i18n.__,Ee=O.RichText,xe=O.MediaUpload,Re=wp.components.Button,Ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_e(e,t)}(a,e);var t,n,r,o=ge(a);function a(){return ve(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.vk_staff_text_name,n=e.vk_staff_text_caption,r=e.vk_staff_text_role,o=e.vk_staff_text_profileTitle,a=e.vk_staff_text_profileText,l=e.vk_staff_photo_image,c=e.vk_staff_photo_image_alt,i=e.vk_staff_layout,s=e.vk_staff_nameColor,u=e.vk_staff_captionColor,p=e.vk_staff_positionColor,f=e.vk_staff_profileTitleColor,m=e.vk_staff_profileTextColor,b=e.vk_staff_photoBorder,d=this.props.setAttributes,v=this.props.className,h=this.props.for_,_="";return"edit"===h?_=React.createElement("div",{className:"".concat(v," vk_staff vk_staff-layout-").concat(i)},React.createElement("div",{className:"vk_staff_text"},React.createElement(Ee,{tagName:"h3",className:"vk_staff_text_name",style:{color:s},onChange:function(e){return d({vk_staff_text_name:e})},value:t,placeholder:we("Your Name","vk-blocks")}),React.createElement(Ee,{tagName:"p",className:"vk_staff_text_caption",style:{color:u},onChange:function(e){return d({vk_staff_text_caption:e})},value:n,placeholder:we("Caption","vk-blocks")}),React.createElement(Ee,{tagName:"p",className:"vk_staff_text_role",style:{color:p},onChange:function(e){return d({vk_staff_text_role:e})},value:r,placeholder:we("Role position","vk-blocks")}),React.createElement(Ee,{tagName:"h4",className:"vk_staff_text_profileTitle",style:{color:f},onChange:function(e){return d({vk_staff_text_profileTitle:e})},value:o,placeholder:we("Profile title","vk-blocks")}),React.createElement(Ee,{tagName:"p",className:"vk_staff_text_profileText",style:{color:m},onChange:function(e){return d({vk_staff_text_profileText:e})},value:a,placeholder:we("Profile text","vk-blocks")})),React.createElement("div",{className:"vk_staff_photo vk_staff_photo-border-".concat(b)},React.createElement(xe,{onSelect:function(e){return d({vk_staff_photo_image:e.sizes.full.url})},type:"image",className:"vk_staff_photo_image",value:l,render:function(e){var t=e.open;return React.createElement(Re,{onClick:t,className:l?"image-button":"button button-large"},l?React.createElement("img",{className:"vk_staff_photo_image",src:l,alt:we(c,"vk-blocks")}):we("Select image","vk-blocks"))}}))):"save"===h&&(_=React.createElement("div",{className:"".concat(v," vk_staff vk_staff-layout-").concat(i)},React.createElement("div",{className:"vk_staff_text"},React.createElement(Ee.Content,{tagName:"h3",className:"vk_staff_text_name",style:{color:s},value:t}),React.createElement(Ee.Content,{tagName:"p",className:"vk_staff_text_caption",style:{color:u},value:n}),React.createElement(Ee.Content,{tagName:"p",className:"vk_staff_text_role",style:{color:p},value:r}),React.createElement(Ee.Content,{tagName:"h4",className:"vk_staff_text_profileTitle",style:{color:f},value:o}),React.createElement(Ee.Content,{tagName:"p",className:"vk_staff_text_profileText",style:{color:m},value:a})),l?React.createElement("div",{className:"vk_staff_photo vk_staff_photo-border-".concat(b)},React.createElement("img",{className:"vk_staff_photo_image",src:l,alt:c?we(c,"vk-blocks"):""})):"")),_}}])&&he(t.prototype,n),r&&he(t,r),a}(wp.element.Component),Ne=wp.i18n.__,Se=Ne("Lorem ipsum dolor","vk-blocks"),Te=Ne("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ","vk-blocks"),Ae=Ne("Lorem ipsum","vk-blocks"),Be='<i class="fas fa-user"></i>',Oe="https://demo.dev3.biz/lightning-pro/wp-content/uploads/2018/02/agent-18762_1920-200x300.jpg",Ie=('{"alt":"Example Image","sizes":{"full":{"url":"'.concat(Oe,'"}}}'),Ne("Theoretical Physicist","vk-blocks")),Pe=Ne("Profile","vk-blocks"),je=Ne("Albert Einstein","vk-blocks"),Le=Ne("14 March 1879 – 18 April 1955","vk-blocks"),ze=(wp.i18n.__,{attributes:{vk_staff_text_name:je,vk_staff_text_caption:Le,vk_staff_text_role:Ie,vk_staff_text_profileTitle:Pe,vk_staff_text_profileText:Te,vk_staff_photo_image:Oe,vk_staff_layout:"default",vk_staff_nameColor:"inherit",vk_staff_captionColor:"inherit",vk_staff_positionColor:"inherit",vk_staff_profileTitleColor:"inherit",vk_staff_profileTextColor:"inherit",vk_staff_photoBorder:"default"}}),qe=n(21),Me=n.n(qe),De=wp.i18n.__,He=wp.blocks.registerBlockType,Ue=wp.components,Fe=Ue.TextControl,Ve=Ue.PanelBody,Ye=Ue.BaseControl,Ge=Ue.SelectControl,We=wp.element.Fragment,Je=O.InspectorControls,$e=O.ColorPalette;He("vk-blocks/staff",{title:De("Staff","vk-blocks"),icon:React.createElement(Me.a,null),category:"vk-blocks-cat",attributes:{vk_staff_text_name:{type:"string",source:"html",selector:"h3"},vk_staff_text_caption:{type:"string",source:"html",selector:"p.vk_staff_text_caption"},vk_staff_text_role:{type:"string",source:"html",selector:"p.vk_staff_text_role"},vk_staff_text_profileTitle:{type:"string",source:"html",selector:"h4"},vk_staff_text_profileText:{type:"string",source:"html",selector:"p.vk_staff_text_profileText"},vk_staff_photo_image:{type:"string",default:""},vk_staff_photo_image_alt:{type:"string",default:"Profile Picture"},vk_staff_layout:{type:"string",default:"default"},vk_staff_nameColor:{type:"string",default:"inherit"},vk_staff_captionColor:{type:"string",default:"inherit"},vk_staff_positionColor:{type:"string",default:"inherit"},vk_staff_profileTitleColor:{type:"string",default:"inherit"},vk_staff_profileTextColor:{type:"string",default:"inherit"},vk_staff_photoBorder:{type:"string",default:"default"}},example:ze,edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.vk_staff_photo_image_alt,a=t.vk_staff_layout,l=t.vk_staff_nameColor,c=t.vk_staff_captionColor,i=t.vk_staff_positionColor,s=t.vk_staff_profileTitleColor,u=t.vk_staff_profileTextColor,p=t.vk_staff_photoBorder;return React.createElement(We,null,React.createElement(Je,null,React.createElement(Ve,{title:De("Layout","vk-blocks")},React.createElement(Ge,{value:a,onChange:function(e){return n({vk_staff_layout:e})},options:[{value:"default",label:De("Default","vk-blocks")},{value:"imageLeft",label:De("Image left","vk-blocks")}]})),React.createElement(Ve,{title:De("Image border","vk-blocks")},React.createElement(Ge,{value:p,onChange:function(e){return n({vk_staff_photoBorder:e})},options:[{value:"default",label:De("Default","vk-blocks")},{value:"none",label:De("None","vk-blocks")}]})),React.createElement(Ve,{title:De("Alt text","vk-blocks")},React.createElement(Ye,{help:De("Set the alt text for profile image","vk-blocks")},React.createElement(Fe,{value:o,onChange:function(e){return n({vk_staff_photo_image_alt:e})}}))),React.createElement(Ve,{title:De("Color","vk-blocks")},React.createElement(Ye,{label:De("Staff name","vk-blocks")},React.createElement($e,{value:l,onChange:function(e){return n({vk_staff_nameColor:e})}})),React.createElement(Ye,{label:De("Name caption","vk-blocks")},React.createElement($e,{value:c,onChange:function(e){return n({vk_staff_captionColor:e})}})),React.createElement(Ye,{label:De("Role position","vk-blocks")},React.createElement($e,{value:i,onChange:function(e){return n({vk_staff_positionColor:e})}})),React.createElement(Ye,{label:De("Profile title","vk-blocks")},React.createElement($e,{value:s,onChange:function(e){return n({vk_staff_profileTitleColor:e})}})),React.createElement(Ye,{label:De("Profile text","vk-blocks")},React.createElement($e,{value:u,onChange:function(e){return n({vk_staff_profileTextColor:e})}})))),React.createElement(Ce,{attributes:t,setAttributes:n,className:r,for_:"edit"}))},save:function(e){var t=e.attributes;return React.createElement(Ce,{attributes:t,setAttributes:"",className:"",for_:"save"})}});var Xe=n(0),Qe=n.n(Xe);function Ke(e){return(Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ze(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tt(e,t){return(tt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function nt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}function rt(e,t){return!t||"object"!==Ke(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var at=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tt(e,t)}(a,e);var t,n,r,o=nt(a);function a(){return Ze(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.anchor,n=e.spaceType,r=e.unit,o=e.pc,a=e.tablet,l=e.mobile,c=this.props.className;return"height"===n?Qe.a.createElement("div",{id:t,className:u()("vk_spacer",c)},Qe.a.createElement("div",{className:"vk_spacer-display-pc",style:{height:o+r}}),Qe.a.createElement("div",{className:"vk_spacer-display-tablet",style:{height:a+r}}),Qe.a.createElement("div",{className:"vk_spacer-display-mobile",style:{height:l+r}})):"margin-top"===n?Qe.a.createElement("div",{id:t,className:u()("vk_spacer",c)},Qe.a.createElement("div",{className:"vk_spacer-display-pc",style:{marginTop:o+r}}),Qe.a.createElement("div",{className:"vk_spacer-display-tablet",style:{marginTop:a+r}}),Qe.a.createElement("div",{className:"vk_spacer-display-mobile",style:{marginTop:l+r}})):void 0}}])&&et(t.prototype,n),r&&et(t,r),a}(Qe.a.Component);function lt(e){return(lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function st(e,t,n){return t&&it(e.prototype,t),n&&it(e,n),e}function ut(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pt(e,t)}function pt(e,t){return(pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ft(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=bt(e);if(t){var o=bt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return mt(this,n)}}function mt(e,t){return!t||"object"!==lt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function bt(e){return(bt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var dt=function(e){ut(n,e);var t=ft(n);function n(){return ct(this,n),t.apply(this,arguments)}return st(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.unit,n=e.pc,r=e.tablet,o=e.mobile;return Qe.a.createElement("div",{className:"vk_spacer"},Qe.a.createElement("div",{className:"vk_spacer-display-pc",style:{height:n+t}}),Qe.a.createElement("div",{className:"vk_spacer-display-tablet",style:{height:r+t}}),Qe.a.createElement("div",{className:"vk_spacer-display-mobile",style:{height:o+t}}))}}]),n}(Qe.a.Component),vt=function(e){ut(n,e);var t=ft(n);function n(){return ct(this,n),t.apply(this,arguments)}return st(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.unit,n=e.pc,r=e.tablet,o=e.mobile,a=this.props.className;return Qe.a.createElement("div",{className:"".concat(a," vk_spacer")},Qe.a.createElement("div",{className:"vk_spacer-display-pc",style:{height:n+t}}),Qe.a.createElement("div",{className:"vk_spacer-display-tablet",style:{height:r+t}}),Qe.a.createElement("div",{className:"vk_spacer-display-mobile",style:{height:o+t}}))}}]),n}(Qe.a.Component),ht=function(e){ut(n,e);var t=ft(n);function n(){return ct(this,n),t.apply(this,arguments)}return st(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.anchor,n=e.unit,r=e.pc,o=e.tablet,a=e.mobile,l=this.props.className;return Qe.a.createElement("div",{id:t,className:u()("vk_spacer",l)},Qe.a.createElement("div",{className:"vk_spacer-display-pc",style:{height:r+n}}),Qe.a.createElement("div",{className:"vk_spacer-display-tablet",style:{height:o+n}}),Qe.a.createElement("div",{className:"vk_spacer-display-mobile",style:{height:a+n}}))}}]),n}(Qe.a.Component),_t={unit:{type:"string",default:"px"},pc:{type:"number",default:50},tablet:{type:"number",default:10},mobile:{type:"number",default:10}},gt=[{attributes:_t,save:function(e){var t=e.attributes;return Qe.a.createElement(vt,{attributes:t})}},{attributes:_t,save:function(e){var t=e.attributes;return Qe.a.createElement(dt,{attributes:t})}},{attributes:{anchor:{type:"string",default:null},unit:{type:"string",default:"px"},pc:{type:"number",default:40},tablet:{type:"number",default:30},mobile:{type:"number",default:20}},save:function(e){var t=e.attributes;return Qe.a.createElement(ht,{attributes:t})}}],kt=wp.i18n.__,yt=wp.components.SelectControl,wt=function(e){var t=e.attributes,n=e.setAttributes,r=t.spaceType;return React.createElement(yt,{label:kt("Space Type","vk-blocks"),value:r,onChange:function(e){return n({spaceType:e})},options:[{value:"height",label:kt("height","vk-blocks")},{value:"margin-top",label:kt("margin-top","vk-blocks")}]})},Et=wp.i18n.__,xt=wp.element.Fragment,Rt=wp.components.TextControl,Ct=function(e){var t=e.attributes,n=e.setAttributes,r=e.initial,o=t.pc,a=t.tablet,l=t.mobile,c=r.iPc,i=r.iTablet,s=r.iMobile;return o||(o=c),a||(a=i),l||(l=s),React.createElement(xt,null,React.createElement(Rt,{label:Et("PC","vk-blocks"),value:o,onChange:function(e){return n({pc:parseFloat(e)})},type:"number"}),React.createElement(Rt,{label:Et("Tablet","vk-blocks"),value:a,onChange:function(e){return n({tablet:parseFloat(e)})},type:"number"}),React.createElement(Rt,{label:Et("Mobile","vk-blocks"),value:l,onChange:function(e){return n({mobile:parseFloat(e)})},type:"number"}))},Nt=wp.i18n.__,St=wp.components.SelectControl,Tt=function(e){var t=e.attributes,n=e.setAttributes,r=t.unit;return React.createElement(St,{label:Nt("Unit Type","vk-blocks"),value:r,onChange:function(e){return n({unit:e})},options:[{value:"px",label:Nt("px","vk-blocks")},{value:"em",label:Nt("em","vk-blocks")},{value:"rem",label:Nt("rem","vk-blocks")},{value:"vw",label:Nt("vw","vk-blocks")}]})},At=n(22),Bt=n.n(At);function Ot(){return(Ot=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var It=wp.i18n.__,Pt=wp.blocks.registerBlockType,jt=wp.components,Lt=jt.PanelBody,zt=jt.BaseControl,qt=wp.element.Fragment,Mt=(wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor).InspectorControls;Pt("vk-blocks/spacer",{title:It("Responsive Spacer","vk-blocks"),icon:Qe.a.createElement(Bt.a,null),category:"vk-blocks-cat-layout",attributes:{anchor:{type:"string",default:null},spaceType:{type:"string",default:"height"},unit:{type:"string",default:"px"},pc:{type:"number",default:40},tablet:{type:"number",default:30},mobile:{type:"number",default:20}},supports:{className:!1,anchor:!0},example:{anchor:null,spaceType:"height",unit:"px",pc:40,tablet:30,mobile:20},edit:function(e){var t=e.attributes,n=e.className;return Qe.a.createElement(qt,null,Qe.a.createElement(Mt,null,Qe.a.createElement(Lt,null,Qe.a.createElement(wt,e),Qe.a.createElement(Tt,e),Qe.a.createElement(zt,{label:It("Height for each device.","vk-blocks")},Qe.a.createElement(Ct,Ot({},e,{initial:{iPc:40,iTablet:30,iMobile:20}}))))),Qe.a.createElement(at,{attributes:t,className:n}))},save:function(e){var t=e.attributes;return Qe.a.createElement(at,{attributes:t})},deprecated:gt});var Dt={attributes:{anchor:"",level:2,align:"center",titleStyle:"default",outerMarginBottom:0,title:Se,titleColor:"#8ed1fc",titleSize:2,titleMarginBottom:1,subText:Se,subTextFlag:{type:"string",default:"on"},subTextColor:"#8ed1fc",subTextSize:1.2,fontAwesomeIconBefore:Be,fontAwesomeIconAfter:"",fontAwesomeIconColor:"#8ed1fc"}};function Ht(e){return(Ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vt(e,t){return(Vt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Wt(e);if(t){var o=Wt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Gt(this,n)}}function Gt(e,t){return!t||"object"!==Ht(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Wt(e){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Jt=window.lodash.range,$t=wp.i18n,Xt=$t.__,Qt=$t.sprintf,Kt=wp.element.Component,Zt=wp.components.Toolbar,en=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vt(e,t)}(a,e);var t,n,r,o=Yt(a);function a(){return Ut(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"createLevelControl",value:function(e,t,n){var r=e===t;return{icon:"heading",title:Qt(Xt("Heading %d"),e),isActive:r,onClick:function(){return n(e)},subscript:String(e)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.minLevel,r=t.maxLevel,o=t.selectedLevel,a=t.onChange;return React.createElement(Zt,{controls:Jt(n,r).map((function(t){return e.createLevelControl(t,o,a)}))})}}])&&Ft(t.prototype,n),r&&Ft(t,r),a}(Kt),tn=n(1),nn=n.n(tn),rn=O.RichText,on=wp.i18n.__,an=function(e,t,n,r){switch(e){case 1:return React.createElement("h1",{style:n,className:r},t);case 2:return React.createElement("h2",{style:n,className:r},t);case 3:return React.createElement("h3",{style:n,className:r},t);case 4:return React.createElement("h4",{style:n,className:r},t);case 5:return React.createElement("h5",{style:n,className:r},t);case 6:return React.createElement("h6",{style:n,className:r},t)}},ln=function(e){var t,n,r=e.attributes,o=e.setAttributes,a=e.for_,l=r.level,c=r.align,i=r.title,s=r.titleColor,u=r.titleSize,p=r.subText,f=r.subTextFlag,m=r.subTextColor,b=r.subTextSize,d=r.titleStyle,v=r.titleMarginBottom,h=r.outerMarginBottom,_=r.fontAwesomeIconBefore,g=r.fontAwesomeIconAfter,k=r.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(d);h&&(t={marginBottom:h+"rem"}),n=null!=v?{color:s,fontSize:u+"rem",marginBottom:v+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var w="vk_heading_title vk_heading_title-style-".concat(d),E={color:m,fontSize:b+"rem",textAlign:c},x="vk_heading_subtext vk_heading_subtext-style-".concat(d),R="",C="";if(_){k=k||"#000000";var N=_.split("<i");N[0]=N[0]+'<i style="color:'.concat(k,';" '),R=N.join("")}if(g){k=k||"#000000";var S=g.split("<i");S[0]=S[0]+'<i style="color:'.concat(k,';" '),C=S.join("")}if("edit"===a){var T,A=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(rn,{tagName:"span",value:i,onChange:function(e){o({title:e})},placeholder:on("Input title…","vk-blocks")}),nn()(C));return"on"===f&&(T=React.createElement(rn,{tagName:"p",value:p,onChange:function(e){return o({subText:e})},style:E,className:x,placeholder:on("Input sub text…","vk-blocks")})),React.createElement("div",{className:y,style:t},an(l,A,n,w),T)}if("save"===a){var B,O=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(rn.Content,{tagName:"span",value:i}),nn()(C));return"on"===f&&(B=React.createElement(rn.Content,{tagName:"p",value:p,style:E,className:x})),React.createElement("div",{className:y,style:t},an(l,O,n,w),B)}},cn={anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number"},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2.6},titleMarginBottom:{type:"number"},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.8}},sn={anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:""},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2}};function un(e){return(un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mn(e,t,n){return t&&fn(e.prototype,t),n&&fn(e,n),e}function bn(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dn(e,t)}function dn(e,t){return(dn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_n(e);if(t){var o=_n(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return hn(this,n)}}function hn(e,t){return!t||"object"!==un(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _n(e){return(_n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var gn=O.RichText,kn=wp.i18n.__,yn=wp.element.Component,wn=function(e){bn(n,e);var t=vn(n);function n(){return pn(this,n),t.apply(this,arguments)}return mn(n,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.level,o=n.align,a=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,p=n.subTextSize,f=n.titleStyle,m=n.titleMarginBottom,b=n.outerMarginBottom,d=this.props.setAttributes,v=this.props.for_,h="vk_heading vk_heading-style-".concat(f),_="h"+r;return null!=b&&(e={marginBottom:b+"rem"}),t=null!=m?{color:l,fontSize:c+"rem",marginBottom:m+"rem",textAlign:o}:{color:l,fontSize:c+"rem",textAlign:o},"edit"===v?React.createElement("div",{className:h,style:e},React.createElement(gn,{tagName:_,value:a,onChange:function(e){return d({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(f),placeholder:kn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(gn,{tagName:"p",value:i,onChange:function(e){return d({subText:e})},style:{color:u,fontSize:p+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(f),placeholder:kn("Input sub text…","vk-blocks")})}()):"save"===v?React.createElement("div",{className:h,style:e},React.createElement(gn.Content,{tagName:_,value:a,onChange:function(e){return d({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(f),placeholder:kn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(gn.Content,{tagName:"p",value:i,onChange:function(e){return d({subText:e})},style:{color:u,fontSize:p+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(f),placeholder:kn("Input sub text…","vk-blocks")})}()):void 0}}]),n}(yn),En=function(e){bn(n,e);var t=vn(n);function n(){return pn(this,n),t.apply(this,arguments)}return mn(n,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.level,o=n.align,a=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,p=n.subTextSize,f=n.titleStyle,m=n.titleMarginBottom,b=n.outerMarginBottom,d=this.props.setAttributes,v=this.props.for_,h="vk_heading vk_heading-style-".concat(f),_="h"+r;return null!=b&&(e={marginBottom:b+"rem"}),t=null!=m?{color:l,fontSize:c+"rem",marginBottom:m+"rem",textAlign:o}:{color:l,fontSize:c+"rem",textAlign:o},"edit"===v?React.createElement("div",{className:h,style:e},React.createElement(gn,{tagName:_,value:a,onChange:function(e){return d({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(f),placeholder:kn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(gn,{tagName:"p",value:i,onChange:function(e){return d({subText:e})},style:{color:u,fontSize:p+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(f),placeholder:kn("Input sub text…","vk-blocks")})}()):"save"===v?React.createElement("div",{className:h,style:e},React.createElement(gn.Content,{tagName:_,value:a,onChange:function(e){return d({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(f),placeholder:kn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(gn.Content,{tagName:"p",value:i,onChange:function(e){return d({subText:e})},style:{color:u,fontSize:p+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(f),placeholder:kn("Input sub text…","vk-blocks")})}()):void 0}}]),n}(yn),xn=function(e){bn(n,React.Component);var t=vn(n);function n(){return pn(this,n),t.apply(this,arguments)}return mn(n,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.level,o=n.align,a=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,p=n.subTextSize,f=n.titleStyle,m=n.titleMarginBottom,b=n.outerMarginBottom,d=this.props.setAttributes,v=this.props.for_,h="vk_heading vk_heading-style-".concat(f),_="h"+r;return null!==b&&(e={marginBottom:b+"rem"}),t=null!=m?{color:l,fontSize:c+"rem",marginBottom:m+"rem",textAlign:o}:{color:l,fontSize:c+"rem",textAlign:o},"edit"===v?React.createElement("div",{className:h,style:e},React.createElement(gn,{tagName:_,value:a,onChange:function(e){return d({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(f),placeholder:kn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(gn,{tagName:"p",value:i,onChange:function(e){return d({subText:e})},style:{color:u,fontSize:p+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(f),placeholder:kn("Input sub text…","vk-blocks")})}()):"save"===v?React.createElement("div",{className:h,style:e},React.createElement(gn.Content,{tagName:_,value:a,onChange:function(e){return d({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(f),placeholder:kn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(gn.Content,{tagName:"p",value:i,onChange:function(e){return d({subText:e})},style:{color:u,fontSize:p+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(f),placeholder:kn("Input sub text…","vk-blocks")})}()):void 0}}]),n}(),Rn=O.RichText,Cn=wp.i18n.__,Nn=function(e,t,n,r){switch(e){case 1:return React.createElement("h1",{style:n,className:r},t);case 2:return React.createElement("h2",{style:n,className:r},t);case 3:return React.createElement("h3",{style:n,className:r},t);case 4:return React.createElement("h4",{style:n,className:r},t);case 5:return React.createElement("h5",{style:n,className:r},t);case 6:return React.createElement("h6",{style:n,className:r},t)}},Sn=function(e){var t,n,r=e.attributes,o=e.setAttributes,a=e.for_,l=r.level,c=r.align,i=r.title,s=r.titleColor,u=r.titleSize,p=r.subText,f=r.subTextFlag,m=r.subTextColor,b=r.subTextSize,d=r.titleStyle,v=r.titleMarginBottom,h=r.outerMarginBottom,_=r.fontAwesomeIconBefore,g=r.fontAwesomeIconAfter,k=r.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(d);h&&(t={marginBottom:h+"rem"}),n=v?{color:s,fontSize:u+"rem",marginBottom:v+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var w="vk_heading_title vk_heading_title-style-".concat(d),E={color:m,fontSize:b+"rem",textAlign:c},x="vk_heading_subtext vk_heading_subtext-style-".concat(d),R="",C="";if(_){k=k||"#000000";var N=_.split("<i");N[0]=N[0]+'<i style="color:'.concat(k,';" '),R=N.join("")}if(g){k=k||"#000000";var S=g.split("<i");S[0]=S[0]+'<i style="color:'.concat(k,';" '),C=S.join("")}if("edit"===a){var T,A=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(Rn,{tagName:"span",value:i,onChange:function(e){o({title:e})},placeholder:Cn("Input title…","vk-blocks")}),nn()(C));return"on"===f&&(T=React.createElement(Rn,{tagName:"p",value:p,onChange:function(e){return o({subText:e})},style:E,className:x,placeholder:Cn("Input sub text…","vk-blocks")})),React.createElement("div",{className:y,style:t},Nn(l,A,n,w),T)}if("save"===a){var B,O=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(Rn.Content,{tagName:"span",value:i}),nn()(C));return"on"===f&&(B=React.createElement(Rn.Content,{tagName:"p",value:p,style:E,className:x})),React.createElement("div",{className:y,style:t},Nn(l,O,n,w),B)}},Tn=O.RichText,An=wp.i18n.__,Bn=function(e,t,n,r){switch(e){case 1:return React.createElement("h1",{style:n,className:r},t);case 2:return React.createElement("h2",{style:n,className:r},t);case 3:return React.createElement("h3",{style:n,className:r},t);case 4:return React.createElement("h4",{style:n,className:r},t);case 5:return React.createElement("h5",{style:n,className:r},t);case 6:return React.createElement("h6",{style:n,className:r},t)}},On=function(e){var t,n,r=e.attributes,o=e.setAttributes,a=e.for_,l=r.level,c=r.align,i=r.title,s=r.titleColor,u=r.titleSize,p=r.subText,f=r.subTextFlag,m=r.subTextColor,b=r.subTextSize,d=r.titleStyle,v=r.titleMarginBottom,h=r.outerMarginBottom,_=r.fontAwesomeIconBefore,g=r.fontAwesomeIconAfter,k=r.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(d);h&&(t={marginBottom:h+"rem"}),n=null!=v?{color:s,fontSize:u+"rem",marginBottom:v+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var w="vk_heading_title vk_heading_title-style-".concat(d),E={color:m,fontSize:b+"rem",textAlign:c},x="vk_heading_subtext vk_heading_subtext-style-".concat(d),R="",C="";if(_){k=k||"#000000";var N=_.split("<i");N[0]=N[0]+'<i style="color:'.concat(k,';" '),R=N.join("")}if(g){k=k||"#000000";var S=g.split("<i");S[0]=S[0]+'<i style="color:'.concat(k,';" '),C=S.join("")}if("edit"===a){var T,A=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(Tn,{tagName:"span",value:i,onChange:function(e){o({title:e})},placeholder:An("Input title…","vk-blocks")}),nn()(C));return"on"===f&&(T=React.createElement(Tn,{tagName:"p",value:p,onChange:function(e){return o({subText:e})},style:E,className:x,placeholder:An("Input sub text…","vk-blocks")})),React.createElement("div",{className:y,style:t},Bn(l,A,n,w),T)}if("save"===a){var B,O=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(Tn.Content,{tagName:"span",value:i}),nn()(C));return"on"===f&&(B=React.createElement(Tn.Content,{tagName:"p",value:p,style:E,className:x})),React.createElement("div",{className:y,style:t},Bn(l,O,n,w),B)}},In=O.RichText,Pn=wp.i18n.__,jn=function(e,t,n,r){switch(e){case 1:return React.createElement("h1",{style:n,className:r},t);case 2:return React.createElement("h2",{style:n,className:r},t);case 3:return React.createElement("h3",{style:n,className:r},t);case 4:return React.createElement("h4",{style:n,className:r},t);case 5:return React.createElement("h5",{style:n,className:r},t);case 6:return React.createElement("h6",{style:n,className:r},t)}},Ln=function(e){var t,n,r=e.attributes,o=e.setAttributes,a=e.for_,l=r.level,c=r.align,i=r.title,s=r.titleColor,u=r.titleSize,p=r.subText,f=r.subTextFlag,m=r.subTextColor,b=r.subTextSize,d=r.titleStyle,v=r.titleMarginBottom,h=r.outerMarginBottom,_=r.fontAwesomeIconBefore,g=r.fontAwesomeIconAfter,k=r.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(d);h&&(t={marginBottom:h+"rem"}),n=v?{color:s,fontSize:u+"rem",marginBottom:v+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var w="vk_heading_title vk_heading_title-style-".concat(d),E={color:m,fontSize:b+"rem",textAlign:c},x="vk_heading_subtext vk_heading_subtext-style-".concat(d),R="",C="";if(_){k=k||"#000000";var N=_.split("<i");N[0]=N[0]+'<i style="color:'.concat(k,';" '),R=N.join("")}if(g){k=k||"#000000";var S=g.split("<i");S[0]=S[0]+'<i style="color:'.concat(k,';" '),C=S.join("")}if("edit"===a){var T,A=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(In,{tagName:"span",value:i,onChange:function(e){o({title:e})},placeholder:Pn("Input title…","vk-blocks")}),nn()(C));return"on"===f&&(T=React.createElement(In,{tagName:"p",value:p,onChange:function(e){return o({subText:e})},style:E,className:x,placeholder:Pn("Input sub text…","vk-blocks")})),React.createElement("div",{className:y,style:t},jn(l,A,n,w),T)}if("save"===a){var B,O=React.createElement(Xe.Fragment,null,nn()(R),React.createElement(In.Content,{tagName:"span",value:i}),nn()(C));return"on"===f&&(B=React.createElement(In.Content,{tagName:"p",value:p,style:E,className:x})),React.createElement("div",{className:y,style:t},jn(l,O,n,w),B)}};function zn(){return(zn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var qn={attributes:{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:0},title:{type:"string",source:"html",selector:"span",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""},fontAwesomeIconColor:{type:"string",default:"#000000"}},save:function(e){return React.createElement("div",null,React.createElement(Ln,zn({},e,{for_:"save"})))}};function Mn(e){return(Mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Dn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Un(e,t){return(Un=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Yn(e);if(t){var o=Yn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Vn(this,n)}}function Vn(e,t){return!t||"object"!==Mn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Yn(e){return(Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Gn(){return(Gn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Wn=wp.element,Jn=Wn.Fragment,$n=Wn.Component,Xn=O.RichText,Qn=wp.i18n.__,Kn=[qn,{attributes:{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:0},title:{type:"string",source:"html",selector:"span",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""},fontAwesomeIconColor:{type:"string",default:"#000000"}},save:function(e){var t=e.attributes;return React.createElement("div",{id:t.anchor},React.createElement(On,Gn({},e,{for_:"save"})))}},{attributes:sn,save:function(e){var t=e.attributes;return React.createElement("div",{id:t.anchor},React.createElement(Sn,{attributes:t,for_:"save"}))}},{attributes:sn,save:function(e){var t=e.attributes;return React.createElement("div",{id:t.anchor},React.createElement(En,{attributes:t,for_:"save"}))}},{attributes:cn,save:function(e){var t=e.attributes,n=e.className;return React.createElement("div",{className:n,id:"vk-htags-a181b726-7749-4bd8-9887-0306c0bc7bd5"},React.createElement(wn,{attributes:t,for_:"save"}))}},{attributes:cn,save:function(e){var t=e.attributes,n=e.className;return React.createElement("div",{className:n,id:"vk-htags--1"},React.createElement(wn,{attributes:t,for_:"save"}))}},{attributes:{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:null},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2}},save:function(e){var t=e.attributes,n=e.className;return React.createElement(Zn,{attributes:t,className:n,for_:"save"})}},{attributes:{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number"},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2.6},titleMarginBottom:{type:"number"},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.8}},supports:{className:!1,anchor:!0},save:function(e){var t=e.attributes,n=t.level,r=t.align,o=t.title,a=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,p=t.titleStyle,f=t.titleMarginBottom,m=t.outerMarginBottom,b="h"+n;return React.createElement("div",{className:"vk_heading vk_heading-style-".concat(p),style:{marginBottom:m+"rem"}},React.createElement(Xn.Content,{tagName:b,value:o,style:{color:a,fontSize:l+"rem",textAlign:r,marginBottom:f+"rem"},className:"vk_heading_title vk_heading_title-style-".concat(p)}),function(){if("on"===i)return React.createElement(Xn.Content,{tagName:"p",value:c,style:{color:s,fontSize:u+"rem",textAlign:r},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p)})}())}},{attributes:{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:null},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2.6},titleMarginBottom:{type:"number",default:null},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.8}},supports:{className:!1,anchor:!0},save:function(e){var t=e.attributes,n=t.level,r=t.align,o=t.title,a=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,p=t.titleStyle,f=t.titleMarginBottom,m=t.outerMarginBottom,b="h"+n;return React.createElement(Jn,null,null==m?React.createElement("div",{className:"vk_heading vk_heading-style-".concat(p)},React.createElement(Xn.Content,{tagName:b,value:o,style:{color:a,fontSize:l+"rem",textAlign:r},className:"vk_heading_title vk_heading_title-style-".concat(p)}),function(){if("on"===i)return React.createElement(Xn.Content,{tagName:"p",value:c,style:{color:s,fontSize:u+"rem",textAlign:r},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p)})}()):React.createElement("div",{className:"vk_heading vk_heading-style-".concat(p),style:{marginBottom:m+"rem"}},React.createElement(Xn.Content,{tagName:b,value:o,style:{color:a,fontSize:l+"rem",textAlign:r,marginBottom:f+"rem"},className:"vk_heading_title vk_heading_title-style-".concat(p)}),function(){if("on"===i)return React.createElement(Xn.Content,{tagName:"p",value:c,style:{color:s,fontSize:u+"rem",textAlign:r},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p)})}()))}},{attributes:{level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:null},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2}},save:function(e){var t=e.attributes,n=e.className;return React.createElement("div",{className:n},React.createElement(xn,{attributes:t,for_:"save"}))}}],Zn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Un(e,t)}(a,e);var t,n,r,o=Fn(a);function a(){return Dn(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.level,o=n.align,a=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,p=n.subTextColor,f=n.subTextSize,m=n.titleStyle,b=n.titleMarginBottom,d=n.outerMarginBottom,v=this.props.setAttributes,h=this.props.className,_=(this.props.for_,u()(h,"vk_heading vk_heading-style-".concat(m))),g="h"+r;return null!=d&&(e={marginBottom:d+"rem"}),t=null!=b?{color:l,fontSize:c+"rem",marginBottom:b+"rem",textAlign:o}:{color:l,fontSize:c+"rem",textAlign:o},React.createElement("div",{className:_,style:e},React.createElement(Xn.Content,{tagName:g,value:a,onChange:function(e){return v({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(m),placeholder:Qn("Input title…","vk-blocks")}),function(){if("on"===s)return React.createElement(Xn.Content,{tagName:"p",value:i,onChange:function(e){return v({subText:e})},style:{color:p,fontSize:f+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(m),placeholder:Qn("Input sub text…","vk-blocks")})}())}}])&&Hn(t.prototype,n),r&&Hn(t,r),a}($n);function er(e){return(er="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nr(e,t){return(nr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ar(e);if(t){var o=ar(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return or(this,n)}}function or(e,t){return!t||"object"!==er(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ar(e){return(ar=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var lr=wp.components,cr=lr.Button,ir=lr.Popover,sr=(lr.IconButton,wp.element),ur=sr.Fragment,pr=sr.createRef,fr=sr.Component,mr=(wp.i18n.__,function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nr(e,t)}(a,e);var t,n,r,o=rr(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=o.call(this,e)).state={open:!1},t.buttonRef=pr(),t}return t=a,(n=[{key:"render",value:function(){var e=this,t="apc-icon-btn components-button is-secondary is-small";return React.createElement(ur,null,React.createElement("div",{className:"components-base-control"},React.createElement("div",{className:"vk-blocks-button-icon-control__wrapper components-base-control__field"},React.createElement(cr,{isTertiary:!0,className:"".concat(t," mb-1"),onClick:function(){e.setState({open:!e.state.open})},ref:this.buttonRef},this.props.label),this.state.open&&this.buttonRef.current&&React.createElement(ir,{anchorRect:this.buttonRef.current.getBoundingClientRect(),children:this.props.renderComp,onFocusOutside:function(n){n.relatedTarget&&!n.relatedTarget.closest(".".concat(t))&&n.relatedTarget!==e.buttonRef.current&&e.setState({open:!1})},focusOnMount:"container",className:"vk-blocks-advanced-popover-control"}))))}}])&&tr(t.prototype,n),r&&tr(t,r),a}(fr));function br(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dr=wp.components,vr=dr.RadioControl,hr=dr.TextControl,_r=wp.element,gr=(_r.Component,_r.Fragment),kr=wp.i18n.__,yr=function(e){var t=e.attributeName,n=e.attributes,r=e.setAttributes,o=React.createElement(gr,null,React.createElement("label",{className:"components-base-control__label"},kr("Icon","vk-blocks")),React.createElement(vr,{className:"vk_icon_list",selected:n[t],options:[{label:React.createElement("i",{className:"fas fa-arrow-right"}),value:'<i class="fas fa-arrow-right"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-down"}),value:'<i class="fas fa-arrow-down"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-left"}),value:'<i class="fas fa-arrow-left"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-circle-right"}),value:'<i class="fas fa-arrow-circle-right"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-circle-down"}),value:'<i class="fas fa-arrow-circle-down"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-circle-left"}),value:'<i class="fas fa-arrow-circle-left"></i>'},{label:React.createElement("i",{className:"far fa-arrow-alt-circle-right"}),value:'<i class="far fa-arrow-alt-circle-right"></i>'},{label:React.createElement("i",{className:"far fa-arrow-alt-circle-down"}),value:'<i class="far fa-arrow-alt-circle-down"></i>'},{label:React.createElement("i",{className:"far fa-arrow-alt-circle-left"}),value:'<i class="far fa-arrow-alt-circle-left"></i>'},{label:React.createElement("i",{className:"fas fa-external-link-square-alt"}),value:'<i class="fas fa-external-link-square-alt"></i>'},{label:React.createElement("i",{className:"fas fa-external-link-alt"}),value:'<i class="fas fa-external-link-alt"></i>'},{label:React.createElement("i",{className:"fas fa-download"}),value:'<i class="fas fa-download"></i>'},{label:React.createElement("i",{className:"fas fa-exclamation-triangle"}),value:'<i class="fas fa-exclamation-triangle"></i>'},{label:React.createElement("i",{className:"fas fa-exclamation-circle"}),value:'<i class="fas fa-exclamation-circle"></i>'},{label:React.createElement("i",{className:"fas fa-exclamation"}),value:'<i class="fas fa-exclamation"></i>'},{label:React.createElement("i",{className:"fas fa-question"}),value:'<i class="fas fa-question"></i>'},{label:React.createElement("i",{className:"fas fa-question-circle"}),value:'<i class="fas fa-question-circle"></i>'},{label:React.createElement("i",{className:"fas fa-info-circle"}),value:'<i class="fas fa-info-circle"></i>'},{label:React.createElement("i",{className:"fas fa-info"}),value:'<i class="fas fa-info"></i>'},{label:React.createElement("i",{className:"fas fa-check"}),value:'<i class="fas fa-check"></i>'},{label:React.createElement("i",{className:"fas fa-check-square"}),value:'<i class="fas fa-check-square"></i>'},{label:React.createElement("i",{className:"fas fa-check-circle"}),value:'<i class="fas fa-check-circle"></i>'},{label:React.createElement("i",{className:"fas fa-phone"}),value:'<i class="fas fa-phone"></i>'},{label:React.createElement("i",{className:"fas fa-phone-square"}),value:'<i class="fas fa-phone-square"></i>'},{label:React.createElement("i",{className:"fas fa-mobile-alt"}),value:'<i class="fas fa-mobile-alt"></i>'},{label:React.createElement("i",{className:"far fa-envelope"}),value:'<i class="far fa-envelope"></i>'},{label:React.createElement("i",{className:"fas fa-user"}),value:'<i class="fas fa-user"></i>'},{label:React.createElement("i",{className:"fas fa-users"}),value:'<i class="fas fa-users"></i>'},{label:React.createElement("i",{className:"far fa-file-alt"}),value:'<i class="far fa-file-alt"></i>'},{label:React.createElement("i",{className:"fas fa-file-alt"}),value:'<i class="fas fa-file-alt"></i>'},{label:React.createElement("i",{className:"fas fa-file"}),value:'<i class="fas fa-file"></i>'},{label:React.createElement("i",{className:"fas fa-file-pdf"}),value:'<i class="fas fa-file-pdf"></i>'},{label:React.createElement("i",{className:"fas fa-building"}),value:'<i class="fas fa-building"></i>'},{label:React.createElement("i",{className:"fab fa-twitter"}),value:'<i class="fab fa-twitter"></i>'},{label:React.createElement("i",{className:"fab fa-facebook-square"}),value:'<i class="fab fa-facebook-square"></i>'},{label:React.createElement("i",{className:"fab fa-line"}),value:'<i class="fab fa-line"></i>'}],onChange:function(e){return r(br({},t,e))}}),React.createElement("hr",null),React.createElement("p",{className:"mt-1"},kr("If you want to use an icon other than the ones listed above, you can use any of the icons from Font Awesome's icon list Please select a tag and enter it.","vk-blocks"),React.createElement("br",null),kr('Ex) <i class="fas fa-arrow-circle-right"></i>',"vk-blocks"),React.createElement("br",null),React.createElement("a",{href:"https://fontawesome.com/icons?d=gallery&m=free",target:"_blank"},kr("Font Awesome icon list","vk-blocks"))));return React.createElement(gr,null,React.createElement(hr,{value:n[t],onChange:function(e){return r(br({},t,e))},placeholder:'<i class="fas fa-arrow-circle-right"></i>',className:"mb-0"}),React.createElement(mr,{label:kr("Select Icon","vk-blocks"),renderComp:o,setAttributes:r}))},wr=n(23),Er=n.n(wr);function xr(){return(xr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Rr=wp.i18n.__,Cr=wp.blocks.registerBlockType,Nr=wp.components,Sr=Nr.RangeControl,Tr=Nr.PanelBody,Ar=Nr.RadioControl,Br=Nr.SelectControl,Or=Nr.BaseControl,Ir=wp.element.Fragment,Pr=O.InspectorControls,jr=O.ColorPalette,Lr=O.BlockControls,zr=O.AlignmentToolbar;Cr("vk-blocks/heading",{title:Rr("Heading","vk-blocks"),icon:React.createElement(Er.a,null),category:"vk-blocks-cat",attributes:{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number",default:0},title:{type:"string",source:"html",selector:"span",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"off"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""},fontAwesomeIconColor:{type:"string",default:"#000000"}},supports:{className:!0,customClassName:!0,anchor:!0},example:Dt,edit:function(e){var t=e.attributes,n=e.className,r=e.setAttributes,o=t.level,a=t.align,l=t.titleColor,c=t.titleSize,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,p=t.titleStyle,f=t.titleMarginBottom,m=t.outerMarginBottom,b=t.fontAwesomeIconColor,d=function(e){switch(r({level:e}),e){case 1:r({titleSize:3.6});break;case 2:r({titleSize:2.8});break;case 3:r({titleSize:2.2});break;case 4:r({titleSize:2});break;case 5:r({titleSize:1.8});break;case 6:r({titleSize:1.6})}};return React.createElement(Ir,null,React.createElement(Lr,null,React.createElement(en,{minLevel:2,maxLevel:5,selectedLevel:o,onChange:d})),React.createElement(Pr,null,React.createElement(Tr,{title:Rr("Style Settings","vk-blocks")},React.createElement(Br,{label:Rr("Heading style","vk-blocks"),value:p,onChange:function(e){return r({titleStyle:e})},options:[{label:Rr("Default","vk-blocks"),value:"default"},{label:Rr("Plain","vk-blocks"),value:"plain"}]})),React.createElement(Tr,{title:Rr("Margin Setting","vk-blocks")},React.createElement("label",null,Rr("Margin bottom size of after hedding (rem)","vk-blocks")),React.createElement(Sr,{value:f,onChange:function(e){r({titleMarginBottom:e})},min:-1,max:3,step:.1}),React.createElement("label",null,Rr("Margin bottom size of after this block (rem)","vk-blocks")),React.createElement(Sr,{value:m,onChange:function(e){r({outerMarginBottom:e})},min:-1,max:8,step:.1})),React.createElement(Tr,{title:Rr("Heading Settings","vk-blocks")},React.createElement("label",null,Rr("Level","vk-blocks")),React.createElement(en,{minLevel:1,maxLevel:7,selectedLevel:o,onChange:d}),React.createElement("p",null,Rr("Text Alignment")),React.createElement(zr,{value:a,onChange:function(e){r({align:e})}}),React.createElement(Sr,{label:Rr("Text size (rem)","vk-blocks"),value:c,onChange:function(e){r({titleSize:e})},min:.5,max:4,step:.1}),React.createElement(Or,{label:Rr("Text Color","vk-blocks")},React.createElement(jr,{value:l,onChange:function(e){return r({titleColor:e})}}))),React.createElement(Tr,{title:Rr("Font Awesome Icon Settings","vk-blocks")},React.createElement(Or,{label:Rr("Before text","vk-blocks")},React.createElement(yr,xr({attributeName:"fontAwesomeIconBefore"},e))),React.createElement(Or,{label:Rr("After text","vk-blocks")},React.createElement(yr,xr({attributeName:"fontAwesomeIconAfter"},e))),React.createElement(Or,{label:Rr("Icon Color","vk-blocks")},React.createElement(jr,{value:b,onChange:function(e){return r({fontAwesomeIconColor:e})}}))),React.createElement(Tr,{title:Rr("Sub Text Settings","vk-blocks")},React.createElement(Ar,{label:Rr("Position","vk-blocks"),selected:i,options:[{label:Rr("Display","vk-blocks"),value:"on"},{label:Rr("Hide","vk-blocks"),value:"off"}],onChange:function(e){return r({subTextFlag:e})}}),React.createElement("label",null,Rr("Text size (rem)","vk-blocks")),React.createElement(Sr,{value:u,onChange:function(e){r({subTextSize:e})},min:.5,max:3,step:.1}),React.createElement(jr,{value:s,onChange:function(e){return r({subTextColor:e})}}))),React.createElement("div",{className:n},React.createElement(ln,xr({},e,{for_:"edit"}))))},save:function(e){return React.createElement("div",null,React.createElement(ln,xr({},e,{for_:"save"})))},deprecated:Kn});var qr=O.RichText,Mr=[{attributes:{style:{type:"string",default:"info"},content:{type:"string",source:"html",selector:"p"}},save:function(e){var t=e.attributes,n=t.style,r=t.content;return React.createElement("div",{className:"alert alert-".concat(n)},React.createElement(qr.Content,{tagName:"p",value:r}))}}],Dr=n(24),Hr=n.n(Dr),Ur=wp.i18n.__,Fr=wp.blocks.registerBlockType,Vr=wp.components,Yr=Vr.PanelBody,Gr=Vr.SelectControl,Wr=O.InspectorControls,Jr=O.RichText,$r=wp.element.Fragment;Fr("vk-blocks/alert",{title:Ur("Alert","vk-blocks"),icon:React.createElement(Hr.a,null),category:"vk-blocks-cat",attributes:{style:{type:"string",default:"info"},content:{type:"string",source:"html",selector:"p"}},example:{attributes:{style:"info",content:Te}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=t.style,a=t.content;return React.createElement($r,null,React.createElement(Wr,null,React.createElement(Yr,{title:Ur("Style Settings","vk-blocks")},React.createElement(Gr,{value:o,onChange:function(e){return n({style:e})},options:[{label:Ur("Success","vk-blocks"),value:"success"},{label:Ur("Info","vk-blocks"),value:"info"},{label:Ur("Warning","vk-blocks"),value:"warning"},{label:Ur("Danger","vk-blocks"),value:"danger"}]}))),React.createElement("div",{className:"".concat(r," alert alert-").concat(o)},React.createElement(Jr,{tagName:"p",onChange:function(e){n({content:e})},value:a})))},save:function(e){var t=e.attributes,n=e.className,r=t.style,o=t.content;return React.createElement("div",{className:"".concat(n," alert alert-").concat(r)},React.createElement(Jr.Content,{tagName:"p",value:o}))},deprecated:Mr});var Xr=O.RichText,Qr=O.InnerBlocks,Kr=[{attributes:{content:{source:"html",selector:"p"},balloonName:{source:"html",selector:"figcaption"},balloonType:{type:"string",default:"type-serif"},balloonBgColor:{type:"string"},balloonAlign:{type:"string",default:"position-left"},IconImage:{type:"string",default:null}},save:function(e){var t=e.attributes,n=(e.className,t.content),r=t.balloonName,o=t.balloonType,a=t.balloonBgColor,l=t.balloonAlign,c=t.IconImage;return React.createElement("div",{className:"vk_balloon vk_balloon-".concat(l," vk_balloon-").concat(o)},React.createElement("div",{className:"vk_balloon_icon"},c?React.createElement("figure",null,React.createElement("img",{className:"vk_balloon_icon_image",src:c,alt:""}),React.createElement(Xr.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:r})):""),React.createElement(Xr.Content,{className:"vk_balloon_content",style:{background:a,border:a},tagName:"p",value:n}))}},{attributes:{content:{source:"html",selector:"p"},balloonName:{source:"html",selector:"figcaption"},balloonType:{type:"string",default:"type-serif"},balloonBgColor:{type:"string"},balloonAlign:{type:"string",default:"position-left"},IconImage:{type:"string",default:null},balloonImageType:{type:"string",default:"normal"}},save:function(e){var t=e.attributes,n=(e.className,t.content),r=t.balloonName,o=t.balloonType,a=t.balloonBgColor,l=t.balloonAlign,c=t.IconImage,i=t.balloonImageType;return React.createElement("div",{className:"vk_balloon vk_balloon-".concat(l," vk_balloon-").concat(o)},React.createElement("div",{className:"vk_balloon_icon"},c?React.createElement("figure",null,React.createElement("img",{className:"vk_balloon_icon_image vk_balloon-image-".concat(i),src:c,alt:""}),React.createElement(Xr.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:r})):""),React.createElement(Xr.Content,{className:"vk_balloon_content",style:{background:a,border:a},tagName:"p",value:n}))}},{attributes:{content:{source:"html",selector:"p"},balloonName:{source:"html",selector:"figcaption"},balloonType:{type:"string",default:"type-serif"},balloonBgColor:{type:"string"},balloonAlign:{type:"string",default:"position-left"},IconImage:{type:"string",default:null},balloonImageType:{type:"string",default:"normal"},balloonAnimation:{type:"string",default:"none"}},save:function(e){var t=e.attributes,n=t.content,r=t.balloonName,o=t.balloonType,a=t.balloonBgColor,l=t.balloonAlign,c=t.IconImage,i=t.balloonImageType,s=t.balloonAnimation;return i=i||"normal",s=s||"none",React.createElement("div",{className:"vk_balloon vk_balloon-".concat(l," vk_balloon-").concat(o," vk_balloon-animation-").concat(s)},React.createElement("div",{className:"vk_balloon_icon"},c?React.createElement("figure",null,React.createElement("img",{className:"vk_balloon_icon_image vk_balloon-image-".concat(i),src:c,alt:""}),React.createElement(Xr.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:r})):""),React.createElement("div",{className:"vk_balloon_content_outer"},React.createElement(Xr.Content,{className:"vk_balloon_content",style:{background:a,border:a},tagName:"p",value:n})))}},{attributes:{content:{source:"html",selector:"p"},balloonName:{source:"html",selector:"figcaption"},balloonType:{type:"string",default:"type-serif"},balloonBgColor:{type:"string"},balloonAlign:{type:"string",default:"position-left"},IconImage:{type:"string",default:null},balloonImageType:{type:"string",default:"normal"},balloonAnimation:{type:"string",default:"none"}},save:function(e){var t=e.attributes,n=(t.content,t.balloonName),r=t.balloonType,o=t.balloonBgColor,a=t.balloonAlign,l=t.IconImage,c=t.balloonImageType,i=t.balloonAnimation;return c=c||"normal",i=i||"none",React.createElement("div",{className:"vk_balloon vk_balloon-".concat(a," vk_balloon-").concat(r," vk_balloon-animation-").concat(i)},React.createElement("div",{className:"vk_balloon_icon"},l?React.createElement("figure",null,React.createElement("img",{className:"vk_balloon_icon_image vk_balloon-image-".concat(c),src:l,alt:""}),React.createElement(Xr.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:n})):""),React.createElement("div",{className:"vk_balloon_content_outer"},React.createElement("div",{className:"vk_balloon_content",style:{background:o,border:o}},React.createElement(Qr.Content,null))))}}],Zr=n(25),eo=n.n(Zr);function to(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return no(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return no(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function no(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ro=wp.apiFetch,oo=wp.i18n.__,ao=wp.blocks.registerBlockType,lo=wp.components,co=lo.ButtonGroup,io=lo.PanelBody,so=lo.Button,uo=lo.SelectControl,po=wp.element,fo=po.Fragment,mo=po.useState,bo=po.useEffect,vo=O.RichText,ho=O.InspectorControls,_o=O.MediaUpload,go=O.ColorPalette,ko=O.InnerBlocks;function yo(e){return(yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xo(e,t){return(xo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ro(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=No(e);if(t){var o=No(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Co(this,n)}}function Co(e,t){return!t||"object"!==yo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function No(e){return(No=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}ao("vk-blocks/balloon",{title:oo("Ballon","vk-blocks"),icon:React.createElement(eo.a,null),category:"vk-blocks-cat",attributes:{content:{source:"html",selector:"p"},balloonName:{source:"html",selector:"figcaption"},balloonType:{type:"string",default:"type-serif"},balloonBgColor:{type:"string"},balloonAlign:{type:"string",default:"position-left"},IconImage:{type:"string",default:null},balloonImageType:{type:"string",default:"normal"},balloonAnimation:{type:"string",default:"none"}},example:{attributes:{balloonName:Ae,balloonType:"type-serif",balloonBgColor:"#8ed1fc",balloonAlign:"position-left",IconImage:Oe,balloonImageType:"normal"},innerBlocks:[{name:"core/paragraph",attributes:{content:Te}}]},edit:function(e){var t,n=e.attributes,r=e.className,o=e.setAttributes,a=n.content,l=n.balloonName,c=n.balloonType,i=n.balloonBgColor,s=n.balloonAlign,u=n.IconImage,p=n.balloonImageType,f=n.balloonAnimation,m=to(mo(null),2),b=m[0],d=m[1];return bo((function(){ro({path:"/vk-blocks/v1/block-meta/balloon/",method:"GET",parse:!0}).then((function(e){d(e)}))}),[]),b&&b.default_icons&&(t=Object.keys(b.default_icons).map((function(e){var t=b.default_icons[e];if(t.src)return React.createElement("div",{key:e},React.createElement(so,{onClick:function(){o({IconImage:t.src}),o({balloonName:t.name})},className:"button button-large components-button"},React.createElement("img",{className:"icon-image",src:t.src})))}))),React.createElement(fo,null,React.createElement(ho,null,React.createElement(io,{title:oo("Balloon setting","vk-blocks")},React.createElement("p",{className:"mb-1"},React.createElement("label",null,oo("Position","vk-blocks"))),React.createElement("p",{className:"mb-1"},oo("Please specify the layout of the balloon.","vk-blocks")," "),React.createElement(co,{className:"mb-3"},React.createElement(so,{isSmall:!0,isPrimary:"position-left"===s,isSecondary:"position-left"!==s,onClick:function(){return o({balloonAlign:"position-left"})}},oo("Left","vk-blocks")),React.createElement(so,{isSmall:!0,isPrimary:"position-right"===s,isSecondary:"position-right"!==s,onClick:function(){return o({balloonAlign:"position-right"})}},oo("Right","vk-blocks"))),React.createElement("p",{className:"mb-1"},React.createElement("label",null,oo("Type","vk-blocks"))),React.createElement("p",{className:"mb-1"},oo("Please select the type of balloon.","vk-blocks")," "),React.createElement(co,{className:"mb-3"},React.createElement(so,{isSmall:!0,isPrimary:"type-serif"===c,isSecondary:"type-serif"!==c,onClick:function(){return o({balloonType:"type-serif"})}},oo("Serif","vk-blocks")),React.createElement(so,{isSmall:!0,isPrimary:"type-think"===c,isSecondary:"type-think"!==c,onClick:function(){return o({balloonType:"type-think"})}},oo("Thinking","vk-blocks"))),React.createElement("p",{className:"mb-1"},React.createElement("label",null,oo("Image Style","vk-blocks"))),React.createElement(co,{className:"mb-3"},React.createElement(so,{isSmall:!0,isPrimary:"normal"===p,isSecondary:"normal"!==p,onClick:function(){return o({balloonImageType:"normal"})}},oo("Normal","vk-blocks")),React.createElement(so,{isSmall:!0,isPrimary:"rounded"===p,isSecondary:"rounded"!==p,onClick:function(){return o({balloonImageType:"rounded"})}},oo("Rounded","vk-blocks")),React.createElement(so,{isSmall:!0,isPrimary:"circle"===p,isSecondary:"circle"!==p,onClick:function(){return o({balloonImageType:"circle"})}},oo("Circle","vk-blocks"))),React.createElement("p",{className:"mb-1"},React.createElement("label",null,oo("Background color of speech balloon","vk-blocks"))),React.createElement(go,{value:i,onChange:function(e){return o({balloonBgColor:e})}})),React.createElement(io,{title:oo("Default Icon Setting","vk-blocks")},React.createElement("div",{className:"icon-image-list mb-2"},t),React.createElement("div",null,oo("You can register default icons from Settings > VK Blocks in Admin.","vk-blocks"))),React.createElement(io,{title:oo("Animation setting","vk-blocks")},React.createElement("p",{className:"mb-1"},oo("Please select the type of animation.","vk-blocks")," "),React.createElement(uo,{value:f,onChange:function(e){return o({balloonAnimation:e})},options:[{value:"none",label:oo("None","vk-blocks")},{value:"trembling",label:oo("Trembling","vk-blocks")},{value:"trembling-x",label:oo("Trembling X","vk-blocks")},{value:"pounding",label:oo("Pounding","vk-blocks")},{value:"shaking",label:oo("Shaking","vk-blocks")}]}))),React.createElement("div",{className:"".concat(r," vk_balloon vk_balloon-").concat(s," vk_balloon-").concat(c," vk_balloon-animation-").concat(f)},React.createElement("div",{className:"vk_balloon_icon"},React.createElement(_o,{onSelect:function(e){return o({IconImage:e.sizes.full.url})},type:"image",className:"vk_balloon_icon_image vk_balloon-image-".concat(p),value:u,render:function(e){var t=e.open;return React.createElement(so,{onClick:t,className:u?"image-button":"button button-large"},u?React.createElement("img",{className:"vk_balloon_icon_image vk_balloon-image-".concat(p),src:u,alt:oo("Upload image","vk-blocks")}):oo("Select image","vk-blocks"))}}),React.createElement(vo,{tagName:"figcaption",className:"vk_balloon_icon_name",onChange:function(e){return o({balloonName:e})},value:l,placeholder:oo("Icon Name","vk-blocks")})),React.createElement("div",{className:"vk_balloon_content_outer"},React.createElement("div",{className:"vk_balloon_content",style:{background:i,border:i}},React.createElement(ko,{templateLock:!1,template:[["core/paragraph",{content:a}]]})))))},save:function(e){var t=e.attributes,n=(t.content,t.balloonName),r=t.balloonType,o=t.balloonBgColor,a=t.balloonAlign,l=t.IconImage,c=t.balloonImageType,i=t.balloonAnimation;return c=c||"normal",i=i||"none",React.createElement("div",{className:"vk_balloon vk_balloon-".concat(a," vk_balloon-").concat(r," vk_balloon-animation-").concat(i)},React.createElement("div",{className:"vk_balloon_icon"},l?React.createElement("figure",null,React.createElement("img",{className:"vk_balloon_icon_image vk_balloon-image-".concat(c),src:l,alt:""}),React.createElement(vo.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:n})):""),React.createElement("div",{className:"vk_balloon_content_outer"},React.createElement("div",{className:"vk_balloon_content",style:{background:o,border:o}},React.createElement(ko.Content,null))))},deprecated:Kr});var So=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xo(e,t)}(a,e);var t,n,r,o=Ro(a);function a(){return wo(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,p="",f={},m="",b="";if(f=null,p="".concat(p="vk_button_link","0"==n||null==n||"1"==n?" btn":" vk_button_link-type-text"),"0"==n||null===n?"undefined"==e||null==e||null===e?(p="".concat(p," btn-").concat(t),f=null):f={backgroundColor:"".concat(e),border:"1px solid ".concat(e),color:"#fff"}:"1"===n?"undefined"==e||null==e||null===e?(p="".concat(p," btn-outline-").concat(t),f=null):f={backgroundColor:"transparent",border:"1px solid ".concat(e),color:"".concat(e)}:"2"===n&&("undefined"==e||null==e||null===e?(p="".concat(p," btn-outline-").concat(t),f=null):f={color:"".concat(e)}),p="".concat(p," btn-").concat(o),"block"===r&&(p="".concat(p," btn-block")),c&&!c.match(/<i/)&&(c='<i class="'.concat(c,'"></i>')),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),c){var d=(c=c.replace(/ fas/g,"fas")).split(" ");d[1]=" "+d[1]+" vk_button_link_before ",m=d.join("")}if(i){var v=(i=i.replace(/ fas/g,"fas")).split(" ");v[1]=" "+v[1]+" vk_button_link_after ",b=v.join("")}return React.createElement("a",{href:a,style:f,className:p,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener noreferrer"},nn()(m),s,nn()(b),u&&React.createElement("p",{className:"vk_button_link_subCaption"},u))}}])&&Eo(t.prototype,n),r&&Eo(t,r),a}(wp.element.Component);function To(e){return(To="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ao(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Oo(e,t){return(Oo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Io(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=jo(e);if(t){var o=jo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Po(this,n)}}function Po(e,t){return!t||"object"!==To(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function jo(e){return(jo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Lo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oo(e,t)}(a,e);var t,n,r,o=Io(a);function a(){return Ao(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=(this.props.lbsubCaption,""),p={},f="",m="";return u="btn vk_button_link",e?(u="".concat(u," btn-primary btn-").concat(o),"0"===n?p={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===n&&(p={backgroundColor:"transparent",border:"1px solid "+e,color:e})):e||("0"===n?(u="".concat(u," btn-").concat(o," btn-").concat(t),p=null):"1"===n&&(u="".concat(u," btn-").concat(o," btn-outline-").concat(t),p=null)),"block"===r&&(u="".concat(u," btn-block")),c&&(f=React.createElement("i",{className:"".concat(c," vk_button_link_before")})),i&&(m=React.createElement("i",{className:"".concat(i," vk_button_link_after")})),React.createElement("a",{href:a,className:u,role:"button","aria-pressed":!0,style:p,target:l?"_blank":null},f,s,m)}}])&&Bo(t.prototype,n),r&&Bo(t,r),a}(wp.element.Component);function zo(e){return(zo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Do(e,t){return(Do=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ho(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Fo(e);if(t){var o=Fo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Uo(this,n)}}function Uo(e,t){return!t||"object"!==zo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Fo(e){return(Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Do(e,t)}(a,e);var t,n,r,o=Ho(a);function a(){return qo(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=(this.props.lbsubCaption,""),p={},f="",m="";return u="btn vk_button_link",e?(u="".concat(u," btn-primary btn-").concat(o),"0"===n?p={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===n&&(p={backgroundColor:"transparent",border:"1px solid "+e,color:e})):e||("0"===n?(u="".concat(u," btn-").concat(o," btn-").concat(t),p=null):"1"===n&&(u="".concat(u," btn-").concat(o," btn-outline-").concat(t),p=null)),"block"===r&&(u="".concat(u," btn-block")),c&&(f=React.createElement("i",{className:"".concat(c," vk_button_link_before")})),i&&(m=React.createElement("i",{className:"".concat(i," vk_button_link_after")})),React.createElement("a",{href:a,id:"vk_button_link",className:u,role:"button","aria-pressed":!0,style:p,target:l?"_blank":null},f,s,m)}}])&&Mo(t.prototype,n),r&&Mo(t,r),a}(wp.element.Component);function Yo(e){return(Yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Go(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jo(e,t){return(Jo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qo(e);if(t){var o=Qo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Xo(this,n)}}function Xo(e,t){return!t||"object"!==Yo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Qo(e){return(Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ko=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jo(e,t)}(a,e);var t,n,r,o=$o(a);function a(){return Go(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,p="",f={},m="",b="";return p="btn vk_button_link",e?(p="".concat(p," btn-primary btn-").concat(o),"0"===n?f={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===n&&(f={backgroundColor:"transparent",border:"1px solid "+e,color:e})):e||("0"===n?(p="".concat(p," btn-").concat(o," btn-").concat(t),f=null):"1"===n&&(p="".concat(p," btn-").concat(o," btn-outline-").concat(t),f=null)),"block"===r&&(p="".concat(p," btn-block")),c&&(m=React.createElement("i",{className:"".concat(c," vk_button_link_before")})),i&&(b=React.createElement("i",{className:"".concat(i," vk_button_link_after")})),React.createElement("a",{href:a,id:"vk_button_link",className:p,role:"button","aria-pressed":!0,style:f,target:l?"_blank":null,rel:"noopener noreferrer"},m,s,b,u&&React.createElement("p",{className:"vk_button_link_subCaption"},u))}}])&&Wo(t.prototype,n),r&&Wo(t,r),a}(wp.element.Component);function Zo(e){return(Zo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ea(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ta(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function na(e,t){return(na=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ra(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=aa(e);if(t){var o=aa(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return oa(this,n)}}function oa(e,t){return!t||"object"!==Zo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function aa(e){return(aa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var la=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&na(e,t)}(a,e);var t,n,r,o=ra(a);function a(){return ea(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,p="",f={},m="",b="";return p="btn vk_button_link",e?(p="".concat(p," btn-primary btn-").concat(o),"0"===n?f={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===n&&(f={backgroundColor:"transparent",border:"1px solid "+e,color:e})):e||("0"===n?(p="".concat(p," btn-").concat(o," btn-").concat(t),f=null):"1"===n&&(p="".concat(p," btn-").concat(o," btn-outline-").concat(t),f=null)),"block"===r&&(p="".concat(p," btn-block")),c&&(m=React.createElement("i",{className:"".concat(c," vk_button_link_before")})),i&&(b=React.createElement("i",{className:"".concat(i," vk_button_link_after")})),React.createElement("a",{href:a,id:"vk_button_link",className:p,role:"button","aria-pressed":!0,style:f,target:l?"_blank":null},m,s,b,u&&React.createElement("p",{className:"vk_button_link_subCaption"},u))}}])&&ta(t.prototype,n),r&&ta(t,r),a}(wp.element.Component);function ca(e){return(ca="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ia(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ua(e,t){return(ua=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ma(e);if(t){var o=ma(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}function fa(e,t){return!t||"object"!==ca(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ma(e){return(ma=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ba=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ua(e,t)}(a,e);var t,n,r,o=pa(a);function a(){return ia(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,p="",f={},m="",b="";return f=null,p="".concat(p="vk_button_link","0"==n||null==n||"1"==n?" btn":" vk_button_link-type-text"),"0"==n||null===n?"undefined"==e||null==e||null===e?(p="".concat(p," btn-").concat(t),f=null):f={backgroundColor:e,border:"1px solid ".concat(e),color:"#fff"}:"1"===n?"undefined"==e||null==e||null===e?(p="".concat(p," btn-outline-").concat(t),f=null):f={backgroundColor:"transparent",border:"1px solid "+e,color:e}:"2"===n&&("undefined"==e||null==e||null===e?(p="".concat(p," btn-outline-").concat(t),f=null):f={color:e}),p="".concat(p," btn-").concat(o),"block"===r&&(p="".concat(p," btn-block")),c&&(m=React.createElement("i",{className:"".concat(c," vk_button_link_before")})),i&&(b=React.createElement("i",{className:"".concat(i," vk_button_link_after")})),React.createElement("a",{href:a,id:"vk_button_link",style:f,className:p,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener noreferrer"},m,s,b,u&&React.createElement("p",{className:"vk_button_link_subCaption"},u))}}])&&sa(t.prototype,n),r&&sa(t,r),a}(wp.element.Component);function da(e){return(da="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function va(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ha(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _a(e,t){return(_a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ga(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ya(e);if(t){var o=ya(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ka(this,n)}}function ka(e,t){return!t||"object"!==da(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ya(e){return(ya=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var wa=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_a(e,t)}(a,e);var t,n,r,o=ga(a);function a(){return va(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,r=this.props.lbAlign,o=this.props.lbSize,a=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,p="",f={},m="",b="";if(f=null,p="".concat(p="vk_button_link","0"==n||null==n||"1"==n?" btn":" vk_button_link-type-text"),"0"==n||null===n?"undefined"==e||null==e||null===e?(p="".concat(p," btn-").concat(t),f=null):f={backgroundColor:e,border:"1px solid ".concat(e),color:"#fff"}:"1"===n?"undefined"==e||null==e||null===e?(p="".concat(p," btn-outline-").concat(t),f=null):f={backgroundColor:"transparent",border:"1px solid "+e,color:e}:"2"===n&&("undefined"==e||null==e||null===e?(p="".concat(p," btn-outline-").concat(t),f=null):f={color:e}),p="".concat(p," btn-").concat(o),"block"===r&&(p="".concat(p," btn-block")),c&&!c.match(/<i/)&&(c='<i class="'.concat(c,'"></i>')),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),c){var d=(c=c.replace(/ fas/g,"fas")).split(" ");d[1]=" "+d[1]+" vk_button_link_before ",m=d.join("")}if(i){var v=(i=i.replace(/ fas/g,"fas")).split(" ");v[1]=" "+v[1]+" vk_button_link_after ",b=v.join("")}return React.createElement("a",{href:a,id:"vk_button_link",style:f,className:p,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener noreferrer"},nn()(m),s,nn()(b),u&&React.createElement("p",{className:"vk_button_link_subCaption"},u))}}])&&ha(t.prototype,n),r&&ha(t,r),a}(wp.element.Component),Ea=O.RichText,xa=O.RichText,Ra=[{attributes:{content:{type:"string",source:"html",selector:"span"},subCaption:{type:"string",default:""},buttonUrl:{type:"string",default:""},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:"undefined"},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""}},save:function(e){var t=e.attributes,n=e.className,r=t.content,o=t.subCaption,a=t.buttonUrl,l=t.buttonTarget,c=t.buttonSize,i=t.buttonType,s=t.buttonColor,u=t.buttonColorCustom,p=t.buttonAlign,f=t.fontAwesomeIconBefore,m=t.fontAwesomeIconAfter,b="";return b=u&&"undefined"!==u?"vk_button vk_button-color-custom vk_button-align-".concat(p):"vk_button vk_button-align-".concat(p),n&&(b=n+" "+b),React.createElement("div",{className:b},React.createElement(wa,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:p,lbSize:c,lbUrl:a,lbTarget:l,lbFontAwesomeIconBefore:f,lbFontAwesomeIconAfter:m,lbsubCaption:o,lbRichtext:React.createElement(Ea.Content,{tagName:"span",className:"vk_button_link_txt",value:r})}))}},{attributes:{content:{type:"string",source:"html",selector:"span"},subCaption:{type:"string",default:""},buttonUrl:{type:"string",default:""},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:"undefined"},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""}},save:function(e){var t=e.attributes,n=e.className,r=t.content,o=t.subCaption,a=t.buttonUrl,l=t.buttonTarget,c=t.buttonSize,i=t.buttonType,s=t.buttonColor,u=t.buttonColorCustom,p=t.buttonAlign,f=t.fontAwesomeIconBefore,m=t.fontAwesomeIconAfter,b="";return u?b="vk_button vk_button-color-custom vk_button-align-".concat(p):u||(b="vk_button vk_button-align-".concat(p)),n&&(b=n+" "+b),React.createElement("div",{className:b},React.createElement(ba,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:p,lbSize:c,lbUrl:a,lbTarget:l,lbFontAwesomeIconBefore:f,lbFontAwesomeIconAfter:m,lbsubCaption:o,lbRichtext:React.createElement(xa.Content,{tagName:"span",className:"vk_button_link_txt",value:r})}))}},{attributes:{content:{source:"html",selector:"span"},buttonUrl:{type:"string",default:null},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:null},fontAwesomeIconAfter:{type:"string",default:null}},save:function(e){var t=e.attributes,n=t.content,r=t.buttonUrl,o=t.buttonTarget,a=t.buttonSize,l=t.buttonType,c=t.buttonColor,i=t.buttonColorCustom,s=t.buttonAlign,u=t.fontAwesomeIconBefore,p=t.fontAwesomeIconAfter,f="";return i?f="vk_button vk_button-color-custom vk_button-align-".concat(s):i||(f="vk_button vk_button-align-".concat(s)),React.createElement("div",{className:f},React.createElement(Lo,{lbColorCustom:i,lbColor:c,lbType:l,lbAlign:s,lbSize:a,lbUrl:r,lbTarget:o,lbFontAwesomeIconBefore:u,lbFontAwesomeIconAfter:p,lbRichtext:React.createElement(xa.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:{content:{source:"html",selector:"span"},buttonUrl:{type:"string",default:null},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:null},fontAwesomeIconAfter:{type:"string",default:null}},save:function(e){var t=e.attributes,n=t.content,r=t.buttonUrl,o=t.buttonTarget,a=t.buttonSize,l=t.buttonType,c=t.buttonColor,i=t.buttonColorCustom,s=t.buttonAlign,u=t.fontAwesomeIconBefore,p=t.fontAwesomeIconAfter,f="";return i?f="vk_button vk_button-color-custom vk_button-align-".concat(s):i||(f="vk_button vk_button-align-".concat(s)),React.createElement("div",{className:f},React.createElement(Vo,{lbColorCustom:i,lbColor:c,lbType:l,lbAlign:s,lbSize:a,lbUrl:r,lbTarget:o,lbFontAwesomeIconBefore:u,lbFontAwesomeIconAfter:p,lbRichtext:React.createElement(xa.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:{content:{source:"html",selector:"span"},subCaption:{type:"string",default:null},buttonUrl:{type:"string",default:null},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:null},fontAwesomeIconAfter:{type:"string",default:null}},save:function(e){var t=e.attributes,n=(e.className,t.content),r=t.subCaption,o=t.buttonUrl,a=t.buttonTarget,l=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonAlign,p=t.fontAwesomeIconBefore,f=t.fontAwesomeIconAfter,m="";return s?m="vk_button vk_button-color-custom vk_button-align-".concat(u):s||(m="vk_button vk_button-align-".concat(u)),React.createElement("div",{className:m},React.createElement(Ko,{lbColorCustom:s,lbColor:i,lbType:c,lbAlign:u,lbSize:l,lbUrl:o,lbTarget:a,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:f,lbsubCaption:r,lbRichtext:React.createElement(xa.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:{content:{source:"html",selector:"span"},subCaption:{type:"string",default:null},buttonUrl:{type:"string",default:null},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:null},fontAwesomeIconAfter:{type:"string",default:null}},save:function(e){var t=e.attributes,n=(e.className,t.content),r=t.subCaption,o=t.buttonUrl,a=t.buttonTarget,l=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonAlign,p=t.fontAwesomeIconBefore,f=t.fontAwesomeIconAfter,m="";return s?m="vk_button vk_button-color-custom vk_button-align-".concat(u):s||(m="vk_button vk_button-align-".concat(u)),React.createElement("div",{className:m},React.createElement(la,{lbColorCustom:s,lbColor:i,lbType:c,lbAlign:u,lbSize:l,lbUrl:o,lbTarget:a,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:f,lbsubCaption:r,lbRichtext:React.createElement(xa.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:{content:{source:"html",selector:"span"},subCaption:{type:"string",default:null},buttonUrl:{type:"string",default:null},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:null},fontAwesomeIconAfter:{type:"string",default:null}},save:function(e){var t=e.attributes,n=e.className,r=t.content,o=t.subCaption,a=t.buttonUrl,l=t.buttonTarget,c=t.buttonSize,i=t.buttonType,s=t.buttonColor,u=t.buttonColorCustom,p=t.buttonAlign,f=t.fontAwesomeIconBefore,m=t.fontAwesomeIconAfter,b="";return u?b="vk_button vk_button-color-custom vk_button-align-".concat(p):u||(b="vk_button vk_button-align-".concat(p)),n&&(b=n+" "+b),React.createElement("div",{className:b},React.createElement(So,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:p,lbSize:c,lbUrl:a,lbTarget:l,lbFontAwesomeIconBefore:f,lbFontAwesomeIconAfter:m,lbsubCaption:o,lbRichtext:React.createElement(xa.Content,{tagName:"span",className:"vk_button_link_txt",value:r})}))}}],Ca=n(26),Na=n.n(Ca);function Sa(){return(Sa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ta=wp.i18n.__,Aa=wp.blocks.registerBlockType,Ba=wp.components,Oa=Ba.RadioControl,Ia=Ba.PanelBody,Pa=Ba.BaseControl,ja=Ba.CheckboxControl,La=Ba.TextControl,za=(Ba.Dashicon,Ba.ButtonGroup),qa=Ba.Button,Ma=wp.element.Fragment,Da=O.RichText,Ha=O.InspectorControls,Ua=O.ColorPalette;O.URLInput;Aa("vk-blocks/button",{title:Ta("Button","vk-blocks"),icon:React.createElement(Na.a,null),category:"vk-blocks-cat",attributes:{content:{type:"string",source:"html",selector:"span"},subCaption:{type:"string",default:""},buttonUrl:{type:"string",default:""},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:"undefined"},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""}},supports:{anchor:!0},edit:function(e){var t,n=e.attributes,r=e.className,o=e.setAttributes,a=(e.isSelected,n.content),l=n.subCaption,c=n.buttonUrl,i=n.buttonTarget,s=n.buttonSize,u=n.buttonType,p=n.buttonColor,f=n.buttonColorCustom,m=n.buttonAlign,b=n.fontAwesomeIconBefore,d=n.fontAwesomeIconAfter;return t=f?"vk_button vk_button-align-".concat(m," vk_button-color-custom"):"vk_button vk_button-align-".concat(m),t=r?"".concat(r," vk_button vk_button-align-").concat(m):"vk_button vk_button-align-".concat(m),React.createElement(Ma,null,React.createElement(Ha,null,React.createElement(Ia,{title:Ta("Button setting","vk-blocks")},React.createElement(La,{label:Ta("Sub Caption","vk-blocks"),value:l,onChange:function(e){return o({subCaption:e})},placeholder:"Sub Caption"}),React.createElement(La,{label:Ta("Button URL","vk-blocks"),value:c,onChange:function(e){return o({buttonUrl:e})},placeholder:"Button URL"}),React.createElement(ja,{label:Ta("Open link new tab.","vk-blocks"),checked:i,onChange:function(e){return o({buttonTarget:e})}}),React.createElement("h4",{className:"mt-0 mb-2"},Ta("Button Size:","vk-blocks")),React.createElement(za,{className:"mb-3"},React.createElement(qa,{isSmall:!0,isPrimary:"lg"===s,isSecondary:"lg"!==s,onClick:function(){return o({buttonSize:"lg"})}},Ta("Large","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"md"===s,isSecondary:"md"!==s,onClick:function(){return o({buttonSize:"md"})}},Ta("Normal","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"sm"===s,isSecondary:"sm"!==s,onClick:function(){return o({buttonSize:"sm"})}},Ta("Small","vk-blocks"))),React.createElement("h4",{className:"mt-0 mb-2"},Ta("Button Position:","vk-blocks")),React.createElement(za,{className:"mb-3"},React.createElement(qa,{isSmall:!0,isPrimary:"left"===m,isSecondary:"left"!==m,onClick:function(){return o({buttonAlign:"left"})}},Ta("Left","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"center"===m,isSecondary:"center"!==m,onClick:function(){return o({buttonAlign:"center"})}},Ta("Center","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"right"===m,isSecondary:"right"!==m,onClick:function(){return o({buttonAlign:"right"})}},Ta("Right","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"wide"===m,isSecondary:"wide"!==m,onClick:function(){return o({buttonAlign:"wide"})}},Ta("Wide","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"block"===m,isSecondary:"block"!==m,onClick:function(){return o({buttonAlign:"block"})}},Ta("Block","vk-blocks"))),React.createElement("h4",{className:"mt-0 mb-2"},Ta("Button Style:","vk-blocks")),React.createElement(za,{className:"mb-2"},React.createElement(qa,{isSmall:!0,isPrimary:"0"===u,isSecondary:"0"!==u,onClick:function(){return o({buttonType:"0"})}},Ta("Solid color","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"1"===u,isSecondary:"1"!==u,onClick:function(){return o({buttonType:"1"})}},Ta("No background","vk-blocks")),React.createElement(qa,{isSmall:!0,isPrimary:"2"===u,isSecondary:"2"!==u,onClick:function(){return o({buttonType:"2"})}},Ta("Text only","vk-blocks"))),React.createElement("p",{className:"mb-3"},Ta('If you select "No background", that you need to select a Custom Color.',"vk-blocks")),React.createElement(Oa,{label:Ta("Default Color:","vk-blocks"),selected:p,options:[{label:Ta("Primary","vk-blocks"),value:"primary"},{label:Ta("Secondary","vk-blocks"),value:"secondary"},{label:Ta("Success","vk-blocks"),value:"success"},{label:Ta("Info","vk-blocks"),value:"info"},{label:Ta("Warning","vk-blocks"),value:"warning"},{label:Ta("Danger","vk-blocks"),value:"danger"},{label:Ta("Light","vk-blocks"),value:"light"},{label:Ta("Dark","vk-blocks"),value:"dark"}],onChange:function(e){return o({buttonColor:e})}}),React.createElement(Pa,{label:Ta("Custom Color","vk-blocks"),help:Ta("This custom color overrides the default color. If you want to use the default color, click the clear button.","vk-blocks")},React.createElement(Ua,{value:f,onChange:function(e){return o({buttonColorCustom:e})}})),React.createElement(Pa,null,React.createElement("h4",{className:"mt-0 mb-2"},Ta("Icon ( Font Awesome )","vk-blocks")),React.createElement(Pa,{label:Ta("Before text","vk-blocks")},React.createElement(yr,Sa({attributeName:"fontAwesomeIconBefore"},e))),React.createElement(Pa,{label:Ta("After text","vk-blocks")},React.createElement(yr,Sa({attributeName:"fontAwesomeIconAfter"},e)))))),React.createElement("div",{className:t},React.createElement(So,{lbColorCustom:f,lbColor:p,lbType:u,lbAlign:m,lbSize:s,lbFontAwesomeIconBefore:b,lbFontAwesomeIconAfter:d,lbsubCaption:l,lbRichtext:React.createElement(Da,{tagName:"span",className:"vk_button_link_txt",onChange:function(e){return o({content:e})},value:a,placeholder:Ta("Input text","vk-blocks"),allowedFormats:["core/bold","core/italic","core/strikethrough","core/superscript","core/subscript","vk-blocks/responsive-br"],isSelected:!0})})))},save:function(e){var t=e.attributes,n=e.className,r=t.content,o=t.subCaption,a=t.buttonUrl,l=t.buttonTarget,c=t.buttonSize,i=t.buttonType,s=t.buttonColor,u=t.buttonColorCustom,p=t.buttonAlign,f=t.fontAwesomeIconBefore,m=t.fontAwesomeIconAfter,b="";return b=u&&"undefined"!==u?"vk_button vk_button-color-custom vk_button-align-".concat(p):"vk_button vk_button-align-".concat(p),n&&(b=n+" "+b),React.createElement("div",{className:b},React.createElement(So,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:p,lbSize:c,lbUrl:a,lbTarget:l,lbFontAwesomeIconBefore:f,lbFontAwesomeIconAfter:m,lbsubCaption:o,lbRichtext:React.createElement(Da.Content,{tagName:"span",className:"vk_button_link_txt",value:r})}))},deprecated:Ra});var Fa=O.RichText,Va=O.InnerBlocks,Ya=[{attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"}},save:function(e){var t=e.attributes,n=e.className,r=t.heading,o=t.content;return React.createElement("dl",{className:"".concat(n," vk_faq")},React.createElement(Fa.Content,{tagName:"dt",className:"vk_faq_title",value:r}),React.createElement(Fa.Content,{tagName:"dd",className:"vk_faq_content",value:o}))}},{attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"}},save:function(e){var t=e.attributes,n=t.heading,r=t.content;return React.createElement("dl",{className:"vk_faq"},React.createElement(Fa.Content,{tagName:"dt",className:"vk_faq_title",value:n}),React.createElement(Fa.Content,{tagName:"dd",className:"vk_faq_content",value:r}))}},{attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string"}},save:function(e){var t=e.attributes.heading;return React.createElement("dl",{className:"vk_faq"},React.createElement(Fa.Content,{tagName:"dt",className:"vk_faq_title",value:t}),React.createElement("dd",{className:"vk_faq_content"},React.createElement(Va.Content,null)))}}],Ga=n(27),Wa=n.n(Ga),Ja=wp.i18n.__,$a=wp.element.Fragment,Xa=wp.blocks.registerBlockType,Qa=wp.components,Ka=Qa.PanelBody,Za=Qa.PanelRow,el=O.RichText,tl=O.InnerBlocks,nl=O.InspectorControls;Xa("vk-blocks/faq",{title:Ja("Classic FAQ","vk-blocks"),icon:React.createElement(Wa.a,null),category:"vk-blocks-cat",attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string"}},supports:{anchor:!0},styles:[{name:"vk_faq-normal",label:Ja("Normal","vk-blocks"),isDefault:!0},{name:"vk_faq-bgfill-circle",label:Ja("Bgfill Circle","vk-blocks")},{name:"vk_faq-bgfill-square",label:Ja("Bgfill Square","vk-blocks")},{name:"vk_faq-bgfill-rounded",label:Ja("Bgfill Rounded","vk-blocks")},{name:"vk_faq-border-circle",label:Ja("Border Circle","vk-blocks")},{name:"vk_faq-border-square",label:Ja("Border Square","vk-blocks")},{name:"vk_faq-border-rounded",label:Ja("Border Rounded","vk-blocks")}],example:{attributes:{heading:Se},innerBlocks:[{name:"core/paragraph",attributes:{content:Te}}]},edit:function(e){var t,n=e.attributes,r=e.setAttributes,o=e.className;t=vk_blocks_check.is_pro?Ja("If you want to be collapsing this block, you can set it at Setting > VK Blocks","vk-blocks"):Ja("You can be collapsing this block at VK Blocks Pro","vk-blocks");var a=n.heading,l=[["core/paragraph",{content:n.content}]];return React.createElement($a,null,React.createElement(nl,null,React.createElement(Ka,{title:Ja("Accordion Setting","vk-blocks")},React.createElement(Za,null,t))),React.createElement("dl",{className:u()(o,"vk_faq")},React.createElement(el,{tagName:"dt",className:"vk_faq_title",onChange:function(e){return r({heading:e})},value:a,placeholder:Ja("Please enter a question.","vk-blocks")}),React.createElement("dd",{className:"vk_faq_content"}," ",React.createElement(tl,{template:l}))))},save:function(e){var t=e.attributes.heading;return React.createElement("dl",{className:"vk_faq [accordion_trigger_switch]"},React.createElement(el.Content,{tagName:"dt",className:"vk_faq_title",value:t}),React.createElement("dd",{className:"vk_faq_content"},React.createElement(tl.Content,null)))},deprecated:Ya});var rl=O.RichText,ol=[{attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"},arrowFlag:{type:"string",default:"vk_flow-arrow-on"},insertImage:{type:"string",default:null}},save:function(e){var t=e.attributes,n=t.heading,r=t.content,o=t.insertImage,a=t.arrowFlag;return React.createElement("div",{className:"".concat(a," vk_flow")},React.createElement("div",{className:"vk_flow_frame"},React.createElement("dl",{className:"vk_flow_frame_text"},React.createElement(rl.Content,{tagName:"dt",className:"vk_flow_frame_text_title",value:n}),React.createElement(rl.Content,{tagName:"dd",className:"vk_flow_frame_text_content",value:r})),o?React.createElement("div",{className:"vk_flow_frame_image"},React.createElement("img",{src:o,alt:""})):""))}}],al=n(28),ll=n.n(al),cl=wp.i18n.__,il=wp.blocks.registerBlockType,sl=wp.components,ul=sl.RadioControl,pl=sl.PanelBody,fl=sl.Button,ml=wp.element.Fragment,bl=O.RichText,dl=O.InspectorControls,vl=O.MediaUpload;function hl(e){return(hl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kl(e,t){return(kl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yl(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=El(e);if(t){var o=El(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wl(this,n)}}function wl(e,t){return!t||"object"!==hl(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function El(e){return(El=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}il("vk-blocks/flow",{title:cl("Flow","vk-blocks"),icon:React.createElement(ll.a,null),category:"vk-blocks-cat",attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"},arrowFlag:{type:"string",default:"vk_flow-arrow-on"},insertImage:{type:"string",default:null}},example:{attributes:{heading:Se,content:Te,arrowFlag:"vk_flow-arrow-on",insertImage:Oe}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,o=e.clientId,a=t.heading,l=t.content,c=t.insertImage,i=t.arrowFlag;return React.createElement(ml,null,React.createElement(dl,null,React.createElement(pl,{title:cl("Display of arrow","vk-blocks")},React.createElement(ul,{selected:i,options:[{label:cl("Arrow display","vk-blocks"),value:"vk_flow-arrow-on"},{label:cl("Arrow hidden","vk-blocks"),value:"vk_flow-arrow-off"}],onChange:function(e){return n({arrowFlag:e})}}))),React.createElement("div",{className:"".concat(r," ").concat(i," vk_flow")},React.createElement("div",{className:"vk_flow_frame"},React.createElement("dl",{className:"vk_flow_frame_text"},React.createElement(bl,{key:"".concat(o,"2"),tagName:"dt",className:"vk_flow_frame_text_title",onChange:function(e){return n({heading:e})},value:a,placeholder:cl("Input title","vk-blocks")}),React.createElement(bl,{key:"".concat(o,"3"),tagName:"dd",className:"vk_flow_frame_text_content",onChange:function(e){return n({content:e})},value:l,placeholder:cl("Input content","vk-blocks")})),React.createElement("div",{className:"vk_flow_frame_image"},React.createElement(vl,{onSelect:function(e){return n({insertImage:e.url})},type:"image",className:"vk_flow_frame_image",value:c,render:function(e){var t=e.open;return React.createElement(fl,{onClick:t,className:c?"image-button":"button button-large"},c?React.createElement("img",{className:"icon-image",src:c,alt:cl("Upload image","vk-blocks")}):cl("Select image","vk-blocks"))}})))))},save:function(e){var t=e.attributes,n=e.className,r=t.heading,o=t.content,a=t.insertImage,l=t.arrowFlag;return React.createElement("div",{className:"".concat(n," ").concat(l," vk_flow")},React.createElement("div",{className:"vk_flow_frame"},React.createElement("dl",{className:"vk_flow_frame_text"},React.createElement(bl.Content,{tagName:"dt",className:"vk_flow_frame_text_title",value:r}),React.createElement(bl.Content,{tagName:"dd",className:"vk_flow_frame_text_content",value:o})),a?React.createElement("div",{className:"vk_flow_frame_image"},React.createElement("img",{src:a,alt:""})):""))},deprecated:ol});var xl=wp.i18n.__,Rl=wp.element.Component,Cl=O.RichText,Nl=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kl(e,t)}(a,e);var t,n,r,o=yl(a);function a(){return _l(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,r=t.heading2,o=t.heading3,a=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,p=t.urlOpenType1,f=t.urlOpenType2,m=t.urlOpenType3,b=t.icon1,d=t.icon2,v=t.icon3,h=t.color1,_=t.color2,g=t.color3,k=t.bgType1,y=t.bgType2,w=t.bgType3,E=t.insertImage1,x=t.insertImage2,R=t.insertImage3,C=this.props.for_,N=this.props.blockNum,S=this.props.blockNum-1,T=[n,r,o],A=[a,l,c],B=[i,s,u],O=[p,f,m],I=[b,d,v],P=[h,_,g],j=[k,y,w],L=[E,x,R],z="",q="",M=L[S]?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url(".concat(L[S],")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:L[S],alt:""})):(P[S]||(P[S]="#0693e3"),"0"===j[S]?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:P[S],border:"1px solid ".concat(P[S])}},React.createElement("i",{className:"".concat(I[S]," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+P[S]}},React.createElement("i",{className:"".concat(I[S]," vk_prBlocks_item_icon"),style:{color:P[S]}})));return"edit"===C?1===N?(z=React.createElement(Cl,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h1",onChange:function(t){return e({heading1:t})},value:n,placeholder:xl("Input Title","vk-blocks")}),q=React.createElement(Cl,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:a,placeholder:xl("Input Content","vk-blocks")})):2===N?(z=React.createElement(Cl,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h1",onChange:function(t){return e({heading2:t})},value:r,placeholder:xl("Input Title","vk-blocks")}),q=React.createElement(Cl,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:xl("Input Content","vk-blocks")})):3===N&&(z=React.createElement(Cl,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h1",onChange:function(t){return e({heading3:t})},value:o,placeholder:xl("Input Title","vk-blocks")}),q=React.createElement(Cl,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:xl("Input Content","vk-blocks")})):"save"===C&&(z=React.createElement(Cl.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(N),tagName:"h1",value:T[S]}),q=React.createElement(Cl.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(N),tagName:"p",value:A[S]})),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:B[S],target:O[S]?"_blank":"_self",className:"vk_prBlocks_item_link",rel:"noopener noreferrer"},M,z,q))}}])&&gl(t.prototype,n),r&&gl(t,r),a}(Rl);function Sl(e){return(Sl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Tl=function(e){if("string"==typeof e){try{JSON.parse(e)}catch(e){return!0}return!1}return"object"!==Sl(e)||Array.isArray(e)};function Al(e){return(Al="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Bl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ol(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Il(e,t){return(Il=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pl(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ll(e);if(t){var o=Ll(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return jl(this,n)}}function jl(e,t){return!t||"object"!==Al(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ll(e){return(Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var zl=wp.i18n.__,ql=wp.element.Component,Ml=O.RichText,Dl=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Il(e,t)}(a,e);var t,n,r,o=Pl(a);function a(){return Bl(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,r=t.heading2,o=t.heading3,a=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,p=t.urlOpenType1,f=t.urlOpenType2,m=t.urlOpenType3,b=t.icon1,d=t.icon2,v=t.icon3,h=t.color1,_=t.color2,g=t.color3,k=t.bgType1,y=t.bgType2,w=t.bgType3,E=t.insertImage1,x=t.insertImage2,R=t.insertImage3,C=this.props.for_,N=this.props.blockNum,S=this.props.blockNum-1,T=[n,r,o],A=[a,l,c],B=[i,s,u],O=[p,f,m],P=[b,d,v],j=[h,_,g],L=[k,y,w],z=[E,x,R],q="",M="",D=function(e){var t=e[S];if(Tl(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(I(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},H=z[S]?React.createElement("div",{className:"vk_prBlocks_item_image",style:D(z)},function(e){if(Tl(e))return React.createElement("img",{src:e,alt:""});var t=JSON.parse(I(e));return React.createElement("img",{src:t.sizes.full.url,alt:t.alt})}(z[S])):(j[S]||(j[S]="#0693e3"),"0"===L[S]?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:j[S],border:"1px solid ".concat(j[S])}},React.createElement("i",{className:"".concat(P[S]," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+j[S]}},React.createElement("i",{className:"".concat(P[S]," vk_prBlocks_item_icon"),style:{color:j[S]}})));return"edit"===C?1===N?(q=React.createElement(Ml,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h3",onChange:function(t){return e({heading1:t})},value:n,placeholder:zl("Input Title","vk-blocks")}),M=React.createElement(Ml,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:a,placeholder:zl("Input Content","vk-blocks")})):2===N?(q=React.createElement(Ml,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h3",onChange:function(t){return e({heading2:t})},value:r,placeholder:zl("Input Title","vk-blocks")}),M=React.createElement(Ml,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:zl("Input Content","vk-blocks")})):3===N&&(q=React.createElement(Ml,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h3",onChange:function(t){return e({heading3:t})},value:o,placeholder:zl("Input Title","vk-blocks")}),M=React.createElement(Ml,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:zl("Input Content","vk-blocks")})):"save"===C&&(q=React.createElement(Ml.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(N),tagName:"h3",value:T[S]}),M=React.createElement(Ml.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(N),tagName:"p",value:A[S]})),B[S]&&"save"===C?React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:B[S],className:"vk_prBlocks_item_link",target:O[S]?"_blank":"_self",rel:"noopener noreferrer"},H,q,M)):React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},H,q,M)}}])&&Ol(t.prototype,n),r&&Ol(t,r),a}(ql);function Hl(e){throw new TypeError('"'+e+'" is read-only')}wp.i18n.__;var Ul=O.RichText;function Fl(e){for(var t={},n=1;n<=e;n++)t["heading"+n]={type:"string",source:"html",selector:"h3.vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:null},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:"fas fa-file"},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:null};return t}var Vl=[{attributes:Fl(4),save:function(e){var t,n=e.attributes,r=e.className;return t=r?"".concat(r," vk_prBlocks row"):"vk_prBlocks row",React.createElement("div",{className:t},React.createElement(Dl,{attributes:n,blockNum:1,for_:"save"}),React.createElement(Dl,{attributes:n,blockNum:2,for_:"save"}),React.createElement(Dl,{attributes:n,blockNum:3,for_:"save"}))}},{attributes:Fl(4),save:function(e){var t=e.attributes,n=t.heading1,r=t.heading2,o=t.heading3,a=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,p=t.urlOpenType1,f=t.urlOpenType2,m=t.urlOpenType3,b=t.icon1,d=t.icon2,v=t.icon3,h=t.color1,_=t.color2,g=t.color3,k=t.bgType1,y=t.bgType2,w=t.bgType3,E=t.insertImage1,x=t.insertImage2,R=t.insertImage3;return React.createElement("div",{className:"vk_prBlocks row"},React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:i,target:p?"_blank":"_self",className:"vk_prBlocks_item_link"},E?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+E+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:E,alt:""})):(h||(Hl("color1"),h="#0693e3"),"0"===k?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:h,border:"1px solid ".concat(h)}},React.createElement("i",{className:"".concat(b," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+h}},React.createElement("i",{className:"".concat(b," vk_prBlocks_item_icon"),style:{color:h}}))),React.createElement(Ul.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h1",value:n}),React.createElement(Ul.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",value:a}))),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:s,target:f?"_blank":"_self",className:"vk_prBlocks_item_link"},x?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+x+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:x,alt:""})):(_||(Hl("color2"),_="#0693e3"),"0"===y?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:_,border:"1px solid ".concat(_)}},React.createElement("i",{className:"".concat(d," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+_}},React.createElement("i",{className:"".concat(d," vk_prBlocks_item_icon"),style:{color:_}}))),React.createElement(Ul.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h1",value:r}),React.createElement(Ul.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",value:l}))),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:u,target:m?"_blank":"_self",className:"vk_prBlocks_item_link"},R?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+R+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:R,alt:""})):(g||(Hl("color3"),g="#0693e3"),"0"===w?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:g,border:"1px solid ".concat(g)}},React.createElement("i",{className:"".concat(v," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+g}},React.createElement("i",{className:"".concat(v," vk_prBlocks_item_icon"),style:{color:g}}))),React.createElement(Ul.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h1",value:o}),React.createElement(Ul.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",value:c}))))}},{attributes:function(e){for(var t={},n=1;n<=e;n++)t["heading"+n]={type:"string",source:"html",selector:"h1.vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:null},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:"fas fa-file"},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:null};return t}(4),save:function(e){var t=e.attributes;return React.createElement("div",{className:"vk_prBlocks row"},React.createElement(Nl,{attributes:t,blockNum:1,for_:"save"}),React.createElement(Nl,{attributes:t,blockNum:2,for_:"save"}),React.createElement(Nl,{attributes:t,blockNum:3,for_:"save"}))}}];function Yl(e){return(Yl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jl(e,t){return(Jl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ql(e);if(t){var o=Ql(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Xl(this,n)}}function Xl(e,t){return!t||"object"!==Yl(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ql(e){return(Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Kl=wp.i18n.__,Zl=wp.element.Component,ec=O.RichText,tc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jl(e,t)}(a,e);var t,n,r,o=$l(a);function a(){return Gl(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,r=t.heading2,o=t.heading3,a=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,p=t.urlOpenType1,f=t.urlOpenType2,m=t.urlOpenType3,b=t.icon1,d=t.icon2,v=t.icon3,h=t.color1,_=t.color2,g=t.color3,k=t.bgType1,y=t.bgType2,w=t.bgType3,E=t.insertImage1,x=t.insertImage2,R=t.insertImage3,C=this.props.for_,N=this.props.blockNum,S=this.props.blockNum-1,T=[n,r,o],A=[a,l,c],B=[i,s,u],O=[p,f,m],P=[b,d,v],j=[h,_,g],L=[k,y,w],z=[E,x,R],q="",M="",D=function(e){var t=e[S];if(Tl(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(I(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},H=function(){if(z[S])return React.createElement("div",{className:"vk_prBlocks_item_image",style:D(z)},function(e){if(Tl(e))return React.createElement("img",{src:e,alt:""});var t=JSON.parse(I(e));return React.createElement("img",{src:t.sizes.full.url,alt:t.alt})}(z[S]));var e;j[S]||(j[S]="#0693e3"),e="0"===L[S]?"#fff":j[S];var t=P[S];t&&!t.match(/<i/)&&(t='<i class="'.concat(t,'"></i>'));var n=t.split(" ");n[0]=n[0]+' style="color:'.concat(e,'" '),n[1]=n[1]+" vk_prBlocks_item_icon ";var r=n.join("");return"0"===L[S]?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:j[S],border:"1px solid ".concat(j[S])}},nn()(r)):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+j[S]}},nn()(r))}();return"edit"===C?1===N?(q=React.createElement(ec,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h3",onChange:function(t){return e({heading1:t})},value:n,placeholder:Kl("Input Title","vk-blocks")}),M=React.createElement(ec,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:a,placeholder:Kl("Input Content","vk-blocks")})):2===N?(q=React.createElement(ec,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h3",onChange:function(t){return e({heading2:t})},value:r,placeholder:Kl("Input Title","vk-blocks")}),M=React.createElement(ec,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:Kl("Input Content","vk-blocks")})):3===N&&(q=React.createElement(ec,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h3",onChange:function(t){return e({heading3:t})},value:o,placeholder:Kl("Input Title","vk-blocks")}),M=React.createElement(ec,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:Kl("Input Content","vk-blocks")})):"save"===C&&(q=React.createElement(ec.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(N),tagName:"h3",value:T[S]}),M=React.createElement(ec.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(N),tagName:"p",value:A[S]})),B[S]&&"save"===C?React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:B[S],className:"vk_prBlocks_item_link",target:O[S]?"_blank":"_self",rel:"noopener noreferrer"},H,q,M)):React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},H,q,M)}}])&&Wl(t.prototype,n),r&&Wl(t,r),a}(Zl),nc=n(29),rc=n.n(nc);function oc(){return(oc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ac=wp.i18n.__,lc=wp.blocks.registerBlockType,cc=wp.components,ic=cc.RadioControl,sc=cc.PanelBody,uc=cc.Button,pc=cc.BaseControl,fc=cc.CheckboxControl,mc=cc.TextControl,bc=wp.element.Fragment,dc=wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,vc=dc.InspectorControls,hc=dc.MediaUpload,_c=dc.ColorPalette;lc("vk-blocks/pr-blocks",{title:ac("PR Blocks","vk-blocks"),icon:Qe.a.createElement(rc.a,null),category:"vk-blocks-cat",attributes:function(e){for(var t={},n=1;n<=e;n++)t["heading"+n]={type:"string",source:"html",selector:".vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:""},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:'<i class="fas fa-file"></i>'},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:""};return t}(4),example:function(e){for(var t={},n=1;n<=e;n++)t["heading"+n]=Ae,t["content"+n]=Se,t["url"+n]="https://example.com",t["urlOpenType"+n]=!1,t["icon"+n]=Be,t["color"+n]="#8ed1fc",t["bgType"+n]="0",t["insertImage"+n]="";return{attributes:t}}(4),edit:function(e){var t,n=e.attributes,r=e.setAttributes,o=e.className,a=n.url1,l=n.url2,c=n.url3,i=n.urlOpenType1,s=n.urlOpenType2,u=n.urlOpenType3,p=n.color1,f=n.color2,m=n.color3,b=n.bgType1,d=n.bgType2,v=n.bgType3,h=n.insertImage1,_=n.insertImage2,g=n.insertImage3;t=o?"".concat(o," vk_prBlocks row"):"vk_prBlocks row";var k=function(e){if(Tl(e))return e?Qe.a.createElement("img",{className:"icon-image",src:e,alt:ac("Upload image","vk-blocks")}):ac("Select image","vk-blocks");var t=JSON.parse(I(e));return e?Qe.a.createElement("img",{className:"icon-image",src:t.sizes.full.url,alt:t.alt}):ac("Select image","vk-blocks")};return Qe.a.createElement(bc,null,Qe.a.createElement(vc,null,Qe.a.createElement(sc,{title:ac("PR Block1 Setting","vk-blocks")},Qe.a.createElement(pc,{label:ac("Link URL:","vk-blocks")},Qe.a.createElement(mc,{value:a,onChange:function(e){return r({url1:e})}}),Qe.a.createElement(fc,{label:ac("Open link new tab.","vk-blocks"),checked:i,onChange:function(e){return r({urlOpenType1:e})}})),Qe.a.createElement(pc,{label:ac("Icon 1","vk-blocks")},Qe.a.createElement(yr,oc({attributeName:"icon1"},e)),Qe.a.createElement(_c,{value:p,onChange:function(e){e?r({color1:e}):(r({color1:"#0693e3"}),r({bgType1:"0"}))}}),Qe.a.createElement(ic,{label:ac("Icon Background:","vk-blocks"),selected:b,options:[{label:ac("Solid color","vk-blocks"),value:"0"},{label:ac("No background","vk-blocks"),value:"1"}],onChange:function(e){return r({bgType1:e})}})),Qe.a.createElement(pc,{help:ac("When you have an image. Image is displayed with priority","vk-blocks")},Qe.a.createElement("h4",{className:"components-base-control__title"},ac("PR Image 1","vk-blocks")),Qe.a.createElement(hc,{onSelect:function(e){Tl(e)?r({insertImage1:e.url}):r({insertImage1:JSON.stringify(e)})},type:"image",value:h,render:function(e){var t=e.open;return Qe.a.createElement(uc,{onClick:t,className:h?"image-button":"button button-large"},k(h))}}))),Qe.a.createElement(sc,{title:ac("PR Block2 Setting","vk-blocks")},Qe.a.createElement(pc,{label:ac("Link URL:","vk-blocks")},Qe.a.createElement(mc,{value:l,onChange:function(e){return r({url2:e})}}),Qe.a.createElement(fc,{label:ac("Open link new tab.","vk-blocks"),checked:s,onChange:function(e){return r({urlOpenType2:e})}})),Qe.a.createElement(pc,{label:ac("Icon 2","vk-blocks")},Qe.a.createElement(yr,oc({attributeName:"icon2"},e)),Qe.a.createElement(_c,{value:f,onChange:function(e){e?r({color2:e}):(r({color2:"#0693e3"}),r({bgType2:"0"}))}}),Qe.a.createElement(ic,{label:ac("Icon Background:","vk-blocks"),selected:d,options:[{label:ac("Solid color","vk-blocks"),value:"0"},{label:ac("No background","vk-blocks"),value:"1"}],onChange:function(e){return r({bgType2:e})}})),Qe.a.createElement(pc,{help:ac("When you have an image. Image is displayed with priority.","vk-blocks")},Qe.a.createElement("h4",{className:"components-base-control__title"},ac("PR Image 2","vk-blocks")),Qe.a.createElement(hc,{onSelect:function(e){Tl(e)?r({insertImage2:e.url}):r({insertImage2:JSON.stringify(e)})},type:"image",value:_,render:function(e){var t=e.open;return Qe.a.createElement(uc,{onClick:t,className:_?"image-button":"button button-large"},k(_))}}))),Qe.a.createElement(sc,{title:ac("PR Block3 Setting","vk-blocks")},Qe.a.createElement(pc,{label:ac("Link URL:","vk-blocks")},Qe.a.createElement(mc,{value:c,onChange:function(e){return r({url3:e})}}),Qe.a.createElement(fc,{label:ac("Open link new tab.","vk-blocks"),checked:u,onChange:function(e){return r({urlOpenType3:e})}})),Qe.a.createElement(pc,{label:ac("Icon 3","vk-blocks")},Qe.a.createElement(yr,oc({attributeName:"icon3"},e)),Qe.a.createElement(_c,{value:m,onChange:function(e){e?r({color3:e}):(r({color3:"#0693e3"}),r({bgType3:"0"}))}}),Qe.a.createElement(ic,{label:ac("Icon Background:","vk-blocks"),selected:v,options:[{label:ac("Solid color","vk-blocks"),value:"0"},{label:ac("No background","vk-blocks"),value:"1"}],onChange:function(e){return r({bgType3:e})}})),Qe.a.createElement(pc,{help:ac("When you have an image. Image is displayed with priority.","vk-blocks")},Qe.a.createElement("h4",{className:"components-base-control__title"},ac("PR Image 3","vk-blocks")),Qe.a.createElement(hc,{onSelect:function(e){Tl(e)?r({insertImage3:e.url}):r({insertImage3:JSON.stringify(e)})},type:"image",value:g,render:function(e){var t=e.open;return Qe.a.createElement(uc,{onClick:t,className:g?"image-button":"button button-large"},k(g))}})))),Qe.a.createElement("div",{className:t},Qe.a.createElement(tc,{attributes:n,setAttributes:r,blockNum:1,for_:"edit"}),Qe.a.createElement(tc,{attributes:n,setAttributes:r,blockNum:2,for_:"edit"}),Qe.a.createElement(tc,{attributes:n,setAttributes:r,blockNum:3,for_:"edit"})))},save:function(e){var t,n=e.attributes,r=e.className;return t=r?"".concat(r," vk_prBlocks row"):"vk_prBlocks row",Qe.a.createElement("div",{className:t},Qe.a.createElement(tc,{attributes:n,blockNum:1,for_:"save"}),Qe.a.createElement(tc,{attributes:n,blockNum:2,for_:"save"}),Qe.a.createElement(tc,{attributes:n,blockNum:3,for_:"save"}))},deprecated:Vl});var gc={attributes:{title:Se,titleColor:"#8ed1fc",content:Te,contentColor:"#8ed1fc",url:"https://example.com",buttonType:"0",buttonColor:"primary",buttonColorCustom:"",buttonText:Ae,buttonTarget:!1,Image:Oe,ImageBorderColor:"#8ed1fc",layout:"left",fontAwesomeIconBefore:Be,fontAwesomeIconAfter:Be}};function kc(e){return(kc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ec(e,t){return(Ec=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Cc(e);if(t){var o=Cc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Rc(this,n)}}function Rc(e,t){return!t||"object"!==kc(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Cc(e){return(Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Nc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ec(e,t)}(a,e);var t,n,r,o=xc(a);function a(){return yc(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.buttonText,o=n.fontAwesomeIconBefore,a=n.fontAwesomeIconAfter,l="",c="";return o&&!o.match(/<i/)&&(o='<i class="'.concat(o,'"></i>')),a&&!a.match(/<i/)&&(a='<i class="'.concat(a,'"></i>')),o&&((e=o.split(" "))[1]=" "+e[1]+" vk_button_link_before ",l=e.join("")),a&&((t=a.split(" "))[1]=" "+t[1]+" vk_button_link_after ",c=t.join("")),React.createElement(React.Fragment,null,nn()(l),React.createElement("span",{className:"vk_button_link_txt"},r),nn()(c))}}])&&wc(t.prototype,n),r&&wc(t,r),a}(wp.element.Component);function Sc(e){return(Sc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ac(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bc(e,t){return(Bc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pc(e);if(t){var o=Pc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ic(this,n)}}function Ic(e,t){return!t||"object"!==Sc(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Pc(e){return(Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var jc=wp.i18n.__,Lc=wp.components.Button,zc=wp.element.Component,qc=O.MediaUpload,Mc=O.RichText,Dc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bc(e,t)}(a,e);var t,n,r,o=Oc(a);function a(){return Tc(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,r=e.content,o=e.contentColor,a=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,p=e.buttonTarget,f=e.Image,m=e.ImageBorderColor,b=e.layout,d=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),v=this.props.className,h=this.props.for_,_="vk_prContent",g="vk_button",k="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={},w="none";_="right"===b?u()(v,_,"vk_prContent-layout-imageRight"):u()(v,_,"vk_prContent-layout-imageLeft"),i?(g="".concat(g," vk_button-color-custom"),k="".concat(k," btn-primary"),"0"===l?y={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(y={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(k="".concat(k," btn-").concat(c),y=null):"1"===l&&(k="".concat(k," btn-outline-").concat(c),y=null)),w=m?"1px solid ".concat(m):"none";var E=function(e){e&&d({Image:JSON.stringify(e)})};return React.createElement("div",{className:_},React.createElement("div",{className:"col-sm-6 vk_prContent_colImg"},function(e){if("edit"===e){if(f&&-1===f.indexOf("{"))return React.createElement(qc,{onSelect:function(e){return d({Image:e.sizes.full.url})},type:" image",value:f,render:function(e){var t=e.open;return React.createElement(Lc,{onClick:t,className:f?"image-button":"button button-large"},f?React.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:jc("Upload image","vk-blocks"),style:{border:w}}):jc("Select image","vk-blocks"))}});var t=JSON.parse(I(f));return React.createElement(qc,{onSelect:E,type:" image",value:t,render:function(e){var n=e.open;return React.createElement(Lc,{onClick:n,className:t?"image-button":"button button-large"},null===f||void 0===t.sizes?jc("Select image","vk-blocks"):React.createElement("img",{className:"vk_prContent_colImg_image",src:t.sizes.full.url,alt:t.alt,style:{border:w}}))}})}if("save"===e){if(!f)return jc("Select image","vk-blocks");if(f&&-1===f.indexOf("{"))return React.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:jc("Upload image","vk-blocks"),style:{border:w}});var n=JSON.parse(I(f));return n&&void 0!==n.sizes?React.createElement("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:w}}):""}}(h)),React.createElement("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===h?React.createElement(React.Fragment,null,React.createElement(Mc,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return d({title:e})},value:t,placeholder:jc("Input title.","vk-blocks"),style:{color:n}}),React.createElement(Mc,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return d({content:e})},value:r,placeholder:jc("Input content.","vk-blocks"),style:{color:o}})):React.createElement(React.Fragment,null,React.createElement(Mc.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),React.createElement(Mc.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:r,style:{color:o}})),function(){if(""!==s&&void 0!==s)return React.createElement("div",{className:g},React.createElement("a",{href:a,className:k,target:p?"_blank":null,style:y},React.createElement(Nc,{attributes:e})))}()))}}])&&Ac(t.prototype,n),r&&Ac(t,r),a}(zc);function Hc(e){return(Hc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Uc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vc(e,t){return(Vc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Wc(e);if(t){var o=Wc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Gc(this,n)}}function Gc(e,t){return!t||"object"!==Hc(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Wc(e){return(Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Jc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vc(e,t)}(a,e);var t,n,r,o=Yc(a);function a(){return Uc(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.buttonText,n=e.fontAwesomeIconBefore,r=e.fontAwesomeIconAfter,o="",a="";return n&&(o=Qe.a.createElement("i",{className:"".concat(n," vk_button_link_before")})),r&&(a=Qe.a.createElement("i",{className:"".concat(r," vk_button_link_after")})),Qe.a.createElement(Qe.a.Fragment,null,o,Qe.a.createElement("span",{className:"vk_button_link_txt"},t),a)}}])&&Fc(t.prototype,n),r&&Fc(t,r),a}(Qe.a.Component);function $c(e){return($c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Kc(e,t){return(Kc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Zc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ti(e);if(t){var o=ti(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ei(this,n)}}function ei(e,t){return!t||"object"!==$c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ti(e){return(ti=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ni=wp.i18n.__,ri=wp.components.Button,oi=O.MediaUpload,ai=O.RichText,li=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kc(e,t)}(a,e);var t,n,r,o=Zc(a);function a(){return Xc(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,r=e.content,o=e.contentColor,a=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,u=e.buttonTarget,p=e.Image,f=e.ImageBorderColor,m=e.layout,b=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),d=this.props.for_,v="vk_prContent",h="vk_button",_="btn btn-block vk_button_link vk_prContent_colTxt_btn",g={};return v="".concat(v,"right"===m?" vk_prContent-layout-imageRight":" vk_prContent-layout-imageLeft"),i?(h="".concat(h," vk_button-color-custom"),_="".concat(_," btn-primary"),"0"===l?g={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(g={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(_="".concat(_," btn-").concat(c),g=null):"1"===l&&(_="".concat(_," btn-outline-").concat(c),g=null)),Qe.a.createElement("div",{className:v},Qe.a.createElement("div",{className:"col-sm-6 vk_prContent_colImg"},"edit"===d?Qe.a.createElement(oi,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(e){var t=e.open;return Qe.a.createElement(ri,{onClick:t,className:p?"image-button":"button button-large"},p?Qe.a.createElement("img",{className:"vk_prContent_colImg_image",src:p,alt:ni("Upload image","vk-blocks"),style:{border:"1px solid ".concat(f)}}):ni("Select image","vk-blocks"))}}):p?Qe.a.createElement("img",{className:"vk_prContent_colImg_image",src:p,alt:ni("Upload image","vk-blocks"),style:{border:"1px solid ".concat(f)}}):ni("Select image","vk-blocks")),Qe.a.createElement("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===d?Qe.a.createElement(Qe.a.Fragment,null,Qe.a.createElement(ai,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:t,placeholder:ni("Input title.","vk-blocks"),style:{color:n}}),Qe.a.createElement(ai,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:r,placeholder:ni("Input content.","vk-blocks"),style:{color:o}})):Qe.a.createElement(Qe.a.Fragment,null,Qe.a.createElement(ai.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),Qe.a.createElement(ai.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:r,style:{color:o}})),function(){if(""!==s&&void 0!==s)return Qe.a.createElement("div",{className:h},Qe.a.createElement("a",{href:a,className:_,target:u?"_blank":null,style:g,rel:"noopener noreferrer"},Qe.a.createElement(Jc,{attributes:e})))}()))}}])&&Qc(t.prototype,n),r&&Qc(t,r),a}(Qe.a.Component);function ci(e){return(ci="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ii(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function si(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ui(e,t){return(ui=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mi(e);if(t){var o=mi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fi(this,n)}}function fi(e,t){return!t||"object"!==ci(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function mi(e){return(mi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var bi=wp.i18n.__,di=wp.components.Button,vi=O.MediaUpload,hi=O.RichText,_i=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ui(e,t)}(a,e);var t,n,r,o=pi(a);function a(){return ii(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,r=e.content,o=e.contentColor,a=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,p=e.buttonTarget,f=e.Image,m=e.ImageBorderColor,b=e.layout,d=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),v=this.props.className,h=this.props.for_,_="vk_prContent",g="vk_button",k="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={},w="";return _="right"===b?u()(v,_,"vk_prContent-layout-imageRight"):u()(v,_,"vk_prContent-layout-imageLeft"),i?(g="".concat(g," vk_button-color-custom"),k="".concat(k," btn-primary"),"0"===l?y={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(y={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(k="".concat(k," btn-").concat(c),y=null):"1"===l&&(k="".concat(k," btn-outline-").concat(c),y=null)),w=null==m?"none":"1px solid ".concat(m),Qe.a.createElement("div",{className:_},Qe.a.createElement("div",{className:"col-sm-6 vk_prContent_colImg"},"edit"===h?Qe.a.createElement(vi,{onSelect:function(e){return d({Image:e.sizes.full.url})},type:" image",value:f,render:function(e){var t=e.open;return Qe.a.createElement(di,{onClick:t,className:f?"image-button":"button button-large"},f?Qe.a.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:bi("Upload image","vk-blocks"),style:{border:w}}):bi("Select image","vk-blocks"))}}):f?Qe.a.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:bi("Upload image","vk-blocks"),style:{border:w}}):bi("Select image","vk-blocks")),Qe.a.createElement("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===h?Qe.a.createElement(Qe.a.Fragment,null,Qe.a.createElement(hi,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return d({title:e})},value:t,placeholder:bi("Input title.","vk-blocks"),style:{color:n}}),Qe.a.createElement(hi,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return d({content:e})},value:r,placeholder:bi("Input content.","vk-blocks"),style:{color:o}})):Qe.a.createElement(Qe.a.Fragment,null,Qe.a.createElement(hi.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),Qe.a.createElement(hi.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:r,style:{color:o}})),function(){if(""!==s&&void 0!==s)return Qe.a.createElement("div",{className:g},Qe.a.createElement("a",{href:a,className:k,target:p?"_blank":null,style:y,rel:"noopener noreferrer"},Qe.a.createElement(Jc,{attributes:e})))}()))}}])&&si(t.prototype,n),r&&si(t,r),a}(Qe.a.Component);function gi(e){return(gi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ki(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wi(e,t,n){return t&&yi(e.prototype,t),n&&yi(e,n),e}function Ei(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xi(e,t)}function xi(e,t){return(xi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ri(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ni(e);if(t){var o=Ni(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ci(this,n)}}function Ci(e,t){return!t||"object"!==gi(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ni(e){return(Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Si=wp.i18n.__,Ti=wp.components.Button,Ai=wp.element,Bi=Ai.Component,Oi=Ai.Fragment,Ii=O.MediaUpload,Pi=O.RichText,ji=function(e){Ei(n,e);var t=Ri(n);function n(){return ki(this,n),t.apply(this,arguments)}return wi(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.buttonText,n=e.fontAwesomeIconBefore,r=e.fontAwesomeIconAfter,o="",a="";return n&&(o=React.createElement("i",{className:"".concat(n," vk_button_link_before")})),r&&(a=React.createElement("i",{className:"".concat(r," vk_button_link_after")})),React.createElement(Oi,null,o,React.createElement("span",{className:"vk_button_link_txt"},t),a)}}]),n}(Bi),Li=function(e){Ei(n,e);var t=Ri(n);function n(){return ki(this,n),t.apply(this,arguments)}return wi(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,r=e.content,o=e.contentColor,a=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,p=e.buttonTarget,f=e.Image,m=e.ImageBorderColor,b=e.layout,d=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),v=this.props.className,h=this.props.for_,_="vk_prContent",g="vk_button",k="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={},w="none";_="right"===b?u()(v,_,"vk_prContent-layout-imageRight"):u()(v,_,"vk_prContent-layout-imageLeft"),i?(g="".concat(g," vk_button-color-custom"),k="".concat(k," btn-primary"),"0"===l?y={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(y={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(k="".concat(k," btn-").concat(c),y=null):"1"===l&&(k="".concat(k," btn-outline-").concat(c),y=null)),w=m?"1px solid ".concat(m):"none";var E=function(e){e&&d({Image:JSON.stringify(e)})};return React.createElement("div",{className:_},React.createElement("div",{className:"col-sm-6 vk_prContent_colImg"},function(e){if("edit"===e){if(f&&-1===f.indexOf("{"))return React.createElement(Ii,{onSelect:function(e){return d({Image:e.sizes.full.url})},type:" image",value:f,render:function(e){var t=e.open;return React.createElement(Ti,{onClick:t,className:f?"image-button":"button button-large"},f?React.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:Si("Upload image","vk-blocks"),style:{border:w}}):Si("Select image","vk-blocks"))}});var t=JSON.parse(I(f));return React.createElement(Ii,{onSelect:E,type:" image",value:t,render:function(e){var n=e.open;return React.createElement(Ti,{onClick:n,className:t?"image-button":"button button-large"},null===f||void 0===t.sizes?Si("Select image","vk-blocks"):React.createElement("img",{className:"vk_prContent_colImg_image",src:t.sizes.full.url,alt:t.alt,style:{border:w}}))}})}if("save"===e){if(!f)return Si("Select image","vk-blocks");if(f&&-1===f.indexOf("{"))return React.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:Si("Upload image","vk-blocks"),style:{border:w}});var n=JSON.parse(I(f));return n&&void 0!==n.sizes?React.createElement("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:w}}):""}}(h)),React.createElement("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===h?React.createElement(Oi,null,React.createElement(Pi,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return d({title:e})},value:t,placeholder:Si("Input title.","vk-blocks"),style:{color:n}}),React.createElement(Pi,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return d({content:e})},value:r,placeholder:Si("Input content.","vk-blocks"),style:{color:o}})):React.createElement(Oi,null,React.createElement(Pi.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),React.createElement(Pi.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:r,style:{color:o}})),function(){if(""!==s&&void 0!==s)return React.createElement("div",{className:g},React.createElement("a",{href:a,className:k,target:p?"_blank":null,style:y,rel:"noopener noreferrer"},React.createElement(ji,{attributes:e})))}()))}}]),n}(Bi);function zi(e){return(zi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Di(e,t){return(Di=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Hi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Fi(e);if(t){var o=Fi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ui(this,n)}}function Ui(e,t){return!t||"object"!==zi(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Fi(e){return(Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vi=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Di(e,t)}(a,e);var t,n,r,o=Hi(a);function a(){return qi(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.buttonText,o=n.fontAwesomeIconBefore,a=n.fontAwesomeIconAfter,l="",c="";return o&&!o.match(/<i/)&&(o='<i class="'.concat(o,'"></i>')),a&&!a.match(/<i/)&&(a='<i class="'.concat(a,'"></i>')),o&&((e=o.split(" "))[1]=" "+e[1]+" vk_button_link_before ",l=e.join("")),a&&((t=a.split(" "))[1]=" "+t[1]+" vk_button_link_after ",c=t.join("")),React.createElement(React.Fragment,null,nn()(l),React.createElement("span",{className:"vk_button_link_txt"},r),nn()(c))}}])&&Mi(t.prototype,n),r&&Mi(t,r),a}(wp.element.Component);function Yi(e){return(Yi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ji(e,t){return(Ji=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qi(e);if(t){var o=Qi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Xi(this,n)}}function Xi(e,t){return!t||"object"!==Yi(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Qi(e){return(Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ki=wp.i18n.__,Zi=wp.components.Button,es=wp.element.Component,ts=O.MediaUpload,ns=O.RichText,rs=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ji(e,t)}(a,e);var t,n,r,o=$i(a);function a(){return Gi(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,r=e.content,o=e.contentColor,a=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,p=e.buttonTarget,f=e.Image,m=e.ImageBorderColor,b=e.layout,d=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),v=this.props.className,h=this.props.for_,_="vk_prContent",g="vk_button",k="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={},w="none";_="right"===b?u()(v,_,"vk_prContent-layout-imageRight"):u()(v,_,"vk_prContent-layout-imageLeft"),i?(g="".concat(g," vk_button-color-custom"),k="".concat(k," btn-primary"),"0"===l?y={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(y={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(k="".concat(k," btn-").concat(c),y=null):"1"===l&&(k="".concat(k," btn-outline-").concat(c),y=null)),w=m?"1px solid ".concat(m):"none";var E=function(e){e&&d({Image:JSON.stringify(e)})};return React.createElement("div",{className:_},React.createElement("div",{className:"col-sm-6 vk_prContent_colImg"},function(e){if("edit"===e){if(f&&-1===f.indexOf("{"))return React.createElement(ts,{onSelect:function(e){return d({Image:e.sizes.full.url})},type:" image",value:f,render:function(e){var t=e.open;return React.createElement(Zi,{onClick:t,className:f?"image-button":"button button-large"},f?React.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:Ki("Upload image","vk-blocks"),style:{border:w}}):Ki("Select image","vk-blocks"))}});var t=JSON.parse(I(f));return React.createElement(ts,{onSelect:E,type:" image",value:t,render:function(e){var n=e.open;return React.createElement(Zi,{onClick:n,className:t?"image-button":"button button-large"},null===f||void 0===t.sizes?Ki("Select image","vk-blocks"):React.createElement("img",{className:"vk_prContent_colImg_image",src:t.sizes.full.url,alt:t.alt,style:{border:w}}))}})}if("save"===e){if(f){if(f&&-1===f.indexOf("{"))return React.createElement("img",{className:"vk_prContent_colImg_image",src:f,alt:Ki("Upload image","vk-blocks"),style:{border:w}});var n=JSON.parse(I(f));return n&&void 0!==n.sizes?React.createElement("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:w}}):""}return Ki("Select image","vk-blocks")}}(h)),React.createElement("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===h?React.createElement(React.Fragment,null,React.createElement(ns,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return d({title:e})},value:t,placeholder:Ki("Input title.","vk-blocks"),style:{color:n}}),React.createElement(ns,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return d({content:e})},value:r,placeholder:Ki("Input content.","vk-blocks"),style:{color:o}})):React.createElement(React.Fragment,null,React.createElement(ns.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),React.createElement(ns.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:r,style:{color:o}})),function(){if(""!==s&&void 0!==s)return React.createElement("div",{className:g},React.createElement("a",{href:a,className:k,target:p?"_blank":null,style:y,rel:"noopener noreferrer"},React.createElement(Vi,{attributes:e})))}()))}}])&&Wi(t.prototype,n),r&&Wi(t,r),a}(es),os=[{attributes:{title:{source:"html",selector:".vk_prContent_colTxt_title"},titleColor:{type:"string",default:""},content:{source:"html",selector:".vk_prContent_colTxt_text"},contentColor:{type:"string",default:""},url:{type:"string",default:""},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:""},buttonText:{source:"html",selector:".vk_button_link_txt",default:""},buttonTarget:{type:"Boolean",default:!1},Image:{type:"string",default:"{}"},ImageBorderColor:{type:"string",default:""},layout:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:'<i class="fas fa-user"></i>'},fontAwesomeIconAfter:{type:"string",default:'<i class="fas fa-user"></i>'}},save:function(e){var t=e.attributes,n=e.className;return React.createElement(rs,{attributes:t,className:n,for_:"save"})}},{attributes:{title:{source:"html",selector:".vk_prContent_colTxt_title"},titleColor:{type:"string",default:""},content:{source:"html",selector:".vk_prContent_colTxt_text"},contentColor:{type:"string",default:""},url:{type:"string",default:""},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:""},buttonText:{source:"html",selector:".vk_button_link_txt",default:""},buttonTarget:{type:"Boolean",default:!1},Image:{type:"string",default:"{}"},ImageBorderColor:{type:"string",default:""},layout:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""}},save:function(e){var t=e.attributes,n=e.className;return React.createElement(Li,{attributes:t,className:n,for_:"save"})}},{attributes:{title:{source:"html",selector:".vk_prContent_colTxt_title"},titleColor:{type:"string"},content:{source:"html",selector:".vk_prContent_colTxt_text"},contentColor:{type:"string"},url:{type:"string",default:null},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonText:{source:"html",selector:".vk_button_link_txt",default:""},buttonTarget:{type:"Boolean",default:!1},Image:{type:"string",default:null},ImageBorderColor:{type:"string",default:null},layout:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string"},fontAwesomeIconAfter:{type:"string"}},save:function(e){var t=e.attributes;e.className;return React.createElement(li,{attributes:t,for_:"save"})}},{attributes:{title:{source:"html",selector:".vk_prContent_colTxt_title"},titleColor:{type:"string"},content:{source:"html",selector:".vk_prContent_colTxt_text"},contentColor:{type:"string"},url:{type:"string",default:null},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonText:{source:"html",selector:".vk_button_link_txt",default:""},buttonTarget:{type:"Boolean",default:!1},Image:{type:"string",default:null},ImageBorderColor:{type:"string",default:null},layout:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string"},fontAwesomeIconAfter:{type:"string"}},save:function(e){var t=e.attributes,n=e.className;return React.createElement(_i,{attributes:t,className:n,for_:"save"})}}],as=n(30),ls=n.n(as);function cs(){return(cs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var is=wp.i18n.__,ss=wp.blocks.registerBlockType,us=wp.components,ps=us.RadioControl,fs=us.PanelBody,ms=us.BaseControl,bs=us.CheckboxControl,ds=us.TextControl,vs=wp.element.Fragment,hs=wp.blockEditor&&wp.blockEditor.BlockEdit?wp.blockEditor:wp.editor,_s=hs.InspectorControls,gs=hs.ColorPalette;ss("vk-blocks/pr-content",{title:is("PR Content","vk-blocks"),icon:React.createElement(ls.a,null),category:"vk-blocks-cat",attributes:{title:{source:"html",selector:".vk_prContent_colTxt_title"},titleColor:{type:"string",default:""},content:{source:"html",selector:".vk_prContent_colTxt_text"},contentColor:{type:"string",default:""},url:{type:"string",default:""},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:""},buttonText:{source:"html",selector:".vk_button_link_txt",default:""},buttonTarget:{type:"Boolean",default:!1},Image:{type:"string",default:"{}"},ImageBorderColor:{type:"string",default:""},layout:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:'<i class="fas fa-user"></i>'},fontAwesomeIconAfter:{type:"string",default:'<i class="fas fa-user"></i>'}},example:gc,edit:function(e){var t=e.attributes,n=e.className,r=e.setAttributes,o=t.titleColor,a=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,p=t.buttonTarget,f=t.ImageBorderColor,m=t.layout;t.fontAwesomeIconBefore,t.fontAwesomeIconAfter;return React.createElement(vs,null,React.createElement(_s,null,React.createElement(fs,{title:is("Color Setting","vk-blocks"),initialOpen:!1},React.createElement(ms,{label:is("Title Color","vk-blocks")},React.createElement(gs,{value:o,onChange:function(e){return r({titleColor:e})}})),React.createElement(ms,{label:is("Content Color","vk-blocks")},React.createElement(gs,{value:a,onChange:function(e){return r({contentColor:e})}})),React.createElement(ms,{label:is("Image Border Color","vk-blocks")},React.createElement(gs,{value:f,onChange:function(e){return r({ImageBorderColor:e})}}))),React.createElement(fs,{title:is("Button Setting","vk-blocks"),initialOpen:!1},React.createElement(ms,{label:is("Button Text","vk-blocks")},React.createElement(ds,{value:u,onChange:function(e){return r({buttonText:e})},placeholder:"Input button text."})),React.createElement(ms,{label:is("Link URL","vk-blocks")},React.createElement(ds,{value:l,onChange:function(e){return r({url:e})},placeholder:"https://vektor-inc.co.jp/"})),React.createElement(bs,{label:is("Open link new tab.","vk-blocks"),checked:p,onChange:function(e){return r({buttonTarget:e})}}),React.createElement(ms,{label:is("Button Type","vk-blocks")},React.createElement(ps,{selected:c,options:[{label:is("Solid","vk-blocks"),value:"0"},{label:is("Ghost","vk-blocks"),value:"1"}],onChange:function(e){return r({buttonType:e})}})),React.createElement(ps,{label:is("Default Color:","vk-blocks"),selected:i,options:[{label:is("Primary","vk-blocks"),value:"primary"},{label:is("Secondary","vk-blocks"),value:"secondary"},{label:is("Success","vk-blocks"),value:"success"},{label:is("Info","vk-blocks"),value:"info"},{label:is("Warning","vk-blocks"),value:"warning"},{label:is("Danger","vk-blocks"),value:"danger"},{label:is("Light","vk-blocks"),value:"light"},{label:is("Dark","vk-blocks"),value:"dark"}],onChange:function(e){return r({buttonColor:e})}}),React.createElement(ms,{label:is("Button Color","vk-blocks")},React.createElement(gs,{value:s,onChange:function(e){return r({buttonColorCustom:e})}})),React.createElement(ms,null,React.createElement("h4",{className:"mt-0 mb-2"},is("Icon ( Font Awesome )","vk-blocks")),React.createElement(ms,{label:is("Before text","vk-blocks")},React.createElement(yr,cs({attributeName:"fontAwesomeIconBefore"},e))),React.createElement(ms,{label:is("After text","vk-blocks")},React.createElement(yr,cs({attributeName:"fontAwesomeIconAfter"},e))))),React.createElement(fs,{title:is("Layout Setting","vk-blocks"),initialOpen:!1},React.createElement(ps,{label:is("Layout Type","vk-blocks"),selected:m,options:[{label:is("Right","vk-blocks"),value:"right"},{label:is("Left","vk-blocks"),value:"left"}],onChange:function(e){return r({layout:e})}}))),React.createElement(Dc,{attributes:t,setAttributes:r,className:n,for_:"edit"}))},save:function(e){var t=e.attributes,n=e.className;return React.createElement(Dc,{attributes:t,className:n,for_:"save"})},deprecated:os});n(75),n(76);var ks=O.InnerBlocks,ys=O.RichText,ws=wp.i18n.__,Es=function(e){var t,n,r=e.setAttributes,o=e.attributes,a=e.for_,l=e.className,c=o.heading,i=o.color,s=o.faIcon,p=o.bgColor;"edit"===a?(t=React.createElement(ks,null),n=React.createElement(ys,{tagName:"h4",className:"vk_borderBox_title",onChange:function(e){return r({heading:e})},value:c,placeholder:ws("Please enter a title.","vk-blocks")})):(t=React.createElement(ks.Content,null),n=React.createElement(ys.Content,{tagName:"h4",className:"vk_borderBox_title",value:c}));var f,m=l;return-1===l.indexOf("is-style-")&&(m=u()(l,"is-style-vk_borderBox-style-solid-kado-tit-tab")),f=-1===s.indexOf('<i class="')?'<i class="'.concat(s,'"></i>'):s,React.createElement("div",{className:"vk_borderBox vk_borderBox-color-".concat(i," vk_borderBox-background-").concat(p," ").concat(m)},React.createElement("div",{className:"vk_borderBox_title_container"},nn()(f),n),React.createElement("div",{className:"vk_borderBox_body"},t))};function xs(e){return(xs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ns(e,t){return(Ns=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ss(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=As(e);if(t){var o=As(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ts(this,n)}}function Ts(e,t){return!t||"object"!==xs(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function As(e){return(As=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Bs=wp.components,Os=Bs.RadioControl,Is=Bs.TextControl,Ps=wp.element,js=Ps.Component,Ls=Ps.Fragment,zs=wp.i18n.__,qs={faIcon:{type:"string",default:""}},Ms=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ns(e,t)}(a,e);var t,n,r,o=Ss(a);function a(){return Rs(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.attributes.faIcon,t=this.props.setAttributes,n=React.createElement(Ls,null,React.createElement("label",{className:"components-base-control__label"},zs("Icon","vk-blocks")),React.createElement(Os,{className:"vk_icon_list",selected:e,options:[{label:React.createElement("i",{className:"fas fa-arrow-right"}),value:'<i class="fas fa-arrow-right"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-down"}),value:'<i class="fas fa-arrow-down"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-left"}),value:'<i class="fas fa-arrow-left"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-circle-right"}),value:'<i class="fas fa-arrow-circle-right"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-circle-down"}),value:'<i class="fas fa-arrow-circle-down"></i>'},{label:React.createElement("i",{className:"fas fa-arrow-circle-left"}),value:'<i class="fas fa-arrow-circle-left"></i>'},{label:React.createElement("i",{className:"far fa-arrow-alt-circle-right"}),value:'<i class="far fa-arrow-alt-circle-right"></i>'},{label:React.createElement("i",{className:"far fa-arrow-alt-circle-down"}),value:'<i class="far fa-arrow-alt-circle-down"></i>'},{label:React.createElement("i",{className:"far fa-arrow-alt-circle-left"}),value:'<i class="far fa-arrow-alt-circle-left"></i>'},{label:React.createElement("i",{className:"fas fa-external-link-square-alt"}),value:'<i class="fas fa-external-link-square-alt"></i>'},{label:React.createElement("i",{className:"fas fa-external-link-alt"}),value:'<i class="fas fa-external-link-alt"></i>'},{label:React.createElement("i",{className:"fas fa-download"}),value:'<i class="fas fa-download"></i>'},{label:React.createElement("i",{className:"fas fa-exclamation-triangle"}),value:'<i class="fas fa-exclamation-triangle"></i>'},{label:React.createElement("i",{className:"fas fa-exclamation-circle"}),value:'<i class="fas fa-exclamation-circle"></i>'},{label:React.createElement("i",{className:"fas fa-exclamation"}),value:'<i class="fas fa-exclamation"></i>'},{label:React.createElement("i",{className:"fas fa-question"}),value:'<i class="fas fa-question"></i>'},{label:React.createElement("i",{className:"fas fa-question-circle"}),value:'<i class="fas fa-question-circle"></i>'},{label:React.createElement("i",{className:"fas fa-info-circle"}),value:'<i class="fas fa-info-circle"></i>'},{label:React.createElement("i",{className:"fas fa-info"}),value:'<i class="fas fa-info"></i>'},{label:React.createElement("i",{className:"fas fa-check"}),value:'<i class="fas fa-check"></i>'},{label:React.createElement("i",{className:"fas fa-check-square"}),value:'<i class="fas fa-check-square"></i>'},{label:React.createElement("i",{className:"fas fa-check-circle"}),value:'<i class="fas fa-check-circle"></i>'},{label:React.createElement("i",{className:"fas fa-phone"}),value:'<i class="fas fa-phone"></i>'},{label:React.createElement("i",{className:"fas fa-phone-square"}),value:'<i class="fas fa-phone-square"></i>'},{label:React.createElement("i",{className:"fas fa-mobile-alt"}),value:'<i class="fas fa-mobile-alt"></i>'},{label:React.createElement("i",{className:"far fa-envelope"}),value:'<i class="far fa-envelope"></i>'},{label:React.createElement("i",{className:"fas fa-user"}),value:'<i class="fas fa-user"></i>'},{label:React.createElement("i",{className:"fas fa-users"}),value:'<i class="fas fa-users"></i>'},{label:React.createElement("i",{className:"far fa-file-alt"}),value:'<i class="far fa-file-alt"></i>'},{label:React.createElement("i",{className:"fas fa-file-alt"}),value:'<i class="fas fa-file-alt"></i>'},{label:React.createElement("i",{className:"fas fa-file"}),value:'<i class="fas fa-file"></i>'},{label:React.createElement("i",{className:"fas fa-file-pdf"}),value:'<i class="fas fa-file-pdf"></i>'},{label:React.createElement("i",{className:"fas fa-building"}),value:'<i class="fas fa-building"></i>'},{label:React.createElement("i",{className:"fab fa-twitter"}),value:'<i class="fab fa-twitter"></i>'},{label:React.createElement("i",{className:"fab fa-facebook-square"}),value:'<i class="fab fa-facebook-square"></i>'},{label:React.createElement("i",{className:"fab fa-line"}),value:'<i class="fab fa-line"></i>'}],onChange:function(e){return t({faIcon:e})}}),React.createElement("hr",null),React.createElement("p",{className:"mt-1"},zs("If you want to use an icon other than the ones listed above, you can use any of the icons from Font Awesome's icon list Please select a tag and enter it.","vk-blocks"),React.createElement("br",null),zs('Ex) <i class="fas fa-arrow-circle-right"></i>',"vk-blocks"),React.createElement("br",null),React.createElement("a",{href:"https://fontawesome.com/icons?d=gallery&m=free",target:"_blank"},zs("Font Awesome icon list","vk-blocks"))));return React.createElement(Ls,null,React.createElement(Is,{value:e,onChange:function(e){return t({faIcon:e})},placeholder:'<i class="fas fa-arrow-circle-right"></i>',className:"mb-0"}),React.createElement(mr,{label:zs("Select Icon","vk-blocks"),renderComp:n,setAttributes:t}))}}])&&Cs(t.prototype,n),r&&Cs(t,r),a}(js),Ds=(wp.i18n.__,{heading:{type:"string",source:"html",selector:"h4"},color:{type:"string",default:"red"},bgColor:{type:"string",default:"transparent"}}),Hs=Object.assign(Ds,qs),Us={attributes:{heading:Se,color:"red",faIcon:Be},innerBlocks:[{name:"core/paragraph",attributes:{content:Te}}]};function Fs(){return(Fs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Vs=O.InnerBlocks,Ys=O.RichText,Gs=wp.i18n.__,Ws=function(e){var t,n,r=e.setAttributes,o=e.attributes,a=e.for_,l=e.className,c=o.heading,i=o.color,s=o.faIcon;"edit"===a?(t=React.createElement(Vs,null),n=React.createElement(Ys,{tagName:"h4",className:"vk_borderBox_title",onChange:function(e){return r({heading:e})},value:c,placeholder:Gs("Please enter a title.","vk-blocks")})):(t=React.createElement(Vs.Content,null),n=React.createElement(Ys.Content,{tagName:"h4",className:"vk_borderBox_title",value:c}));var p=l;return-1===l.indexOf("is-style-")&&(p=u()(l,"is-style-vk_borderBox-style-solid-kado-tit-tab")),React.createElement("div",{className:"vk_borderBox vk_borderBox-color-".concat(i," ").concat(p)},React.createElement("div",{className:"vk_borderBox_title_container"},React.createElement("i",{className:"".concat(s)}),n),React.createElement("div",{className:"vk_borderBox_body"},t))},Js=[{attributes:{heading:{type:"string",source:"html",selector:"h4"},color:{type:"string",default:"red"},faIcon:{type:"string",default:""}},save:function(e){return React.createElement(Ws,Fs({for_:"save"},e))}},{attributes:{heading:{type:"string",source:"html",selector:"h4"},color:{type:"string",default:"red"},faIcon:{type:"string",default:""},bgColor:{type:"string",default:"transparent"}},save:function(e){return React.createElement(Ws,Fs({for_:"save"},e))}}],$s=n(31),Xs=n.n($s);function Qs(){return(Qs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ks=wp.i18n.__,Zs=wp.blocks.registerBlockType,eu=wp.components,tu=eu.PanelBody,nu=eu.BaseControl,ru=eu.SelectControl,ou=wp.element.Fragment,au=O.InspectorControls;Zs("vk-blocks/border-box",{title:Ks("Border Box","vk-blocks"),icon:React.createElement(Xs.a,null),category:"vk-blocks-cat",attributes:Hs,supports:{className:!0},example:Us,styles:[{name:"vk_borderBox-style-solid-kado-tit-tab",label:Ks("Solid Angle Tab","vk-blocks"),isDefault:!0},{name:"vk_borderBox-style-solid-round-tit-tab",label:Ks("Solid Round Tab","vk-blocks")},{name:"vk_borderBox-style-solid-kado-tit-banner",label:Ks("Solid Angle Banner","vk-blocks")},{name:"vk_borderBox-style-solid-kado-tit-onborder",label:Ks("Solid Angle Onborder","vk-blocks")},{name:"vk_borderBox-style-solid-kado-tit-inner",label:Ks("Solid Angle Inner","vk-blocks")},{name:"vk_borderBox-style-solid-kado-iconFeature",label:Ks("Solid Angle iconFeature","vk-blocks")}],edit:function(e){var t=e.attributes,n=e.setAttributes,r=t.color,o=t.bgColor;return React.createElement(ou,null,React.createElement(au,null,React.createElement(tu,{title:Ks("Color","vk-blocks")},React.createElement(nu,{id:"border-color",label:Ks("Border Color","vk-blocks")},React.createElement(ru,{value:r,onChange:function(e){return n({color:e})},options:[{value:"red",label:Ks("Red","vk-blocks")},{value:"orange",label:Ks("Orange","vk-blocks")},{value:"blue",label:Ks("Blue","vk-blocks")},{value:"green",label:Ks("Green","vk-blocks")},{value:"black",label:Ks("Black","vk-blocks")}]})),React.createElement(nu,{id:"background-color",label:Ks("Background Color","vk-blocks")},React.createElement(ru,{value:o,onChange:function(e){return n({bgColor:e})},options:[{value:"transparent",label:Ks("Transparent","vk-blocks")},{value:"white",label:Ks("White","vk-blocks")}]}))),React.createElement(tu,{title:Ks("Icon","vk-blocks")},React.createElement(nu,{id:"dot-fa",label:Ks("Icon ( Font Awesome )","vk-blocks")},React.createElement(Ms,{attributes:t,setAttributes:n})))),React.createElement(Es,Qs({for_:"edit"},e)))},save:function(e){return React.createElement(Es,Qs({for_:"save"},e))},deprecated:Js});var lu=O.InnerBlocks,cu=[{attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string"}},save:function(){return React.createElement("dl",{className:"vk_faq"},React.createElement(lu.Content,null))}}],iu=n(32),su=n.n(iu),uu=wp.blocks.registerBlockType,pu=wp.element.Fragment,fu=wp.components,mu=fu.PanelBody,bu=fu.PanelRow,du=O.InnerBlocks,vu=O.InspectorControls,hu=wp.i18n.__;uu("vk-blocks/faq2",{title:hu("New FAQ","vk-blocks"),icon:React.createElement(su.a,null),category:"vk-blocks-cat",supports:{anchor:!0,className:!0},styles:[{name:"vk_faq-normal",label:hu("Normal","vk-blocks"),isDefault:!0},{name:"vk_faq-bgfill-circle",label:hu("Bgfill Circle","vk-blocks")},{name:"vk_faq-bgfill-square",label:hu("Bgfill Square","vk-blocks")},{name:"vk_faq-bgfill-rounded",label:hu("Bgfill Rounded","vk-blocks")},{name:"vk_faq-border-circle",label:hu("Border Circle","vk-blocks")},{name:"vk_faq-border-square",label:hu("Border Square","vk-blocks")},{name:"vk_faq-border-rounded",label:hu("Border Rounded","vk-blocks")}],example:{innerBlocks:[{name:"vk-blocks/faq2-q",innerBlocks:[{name:"core/paragraph",attributes:{content:Se}}]},{name:"vk-blocks/faq2-a",innerBlocks:[{name:"core/paragraph",attributes:{content:Te}}]}]},edit:function(e){var t,n=e.className;return t=vk_blocks_check.is_pro?hu("If you want to be collapsing this block, you can set it at Setting > VK Blocks","vk-blocks"):hu("You can be collapsing this block at VK Blocks Pro","vk-blocks"),React.createElement(pu,null,React.createElement(vu,null,React.createElement(mu,{title:hu("Accordion Setting","vk-blocks")},React.createElement(bu,null,t))),React.createElement("dl",{className:u()(n,"vk_faq")},React.createElement(du,{allowedBlocks:[["vk-blocks/faq2-q"],["vk-blocks/faq2-a"]],template:[["vk-blocks/faq2-q"],["vk-blocks/faq2-a"]],templateLock:"all"})))},save:function(){return React.createElement("dl",{className:"vk_faq [accordion_trigger_switch]"},React.createElement(du.Content,null))},deprecated:cu});var _u=n(33),gu=n.n(_u),ku=wp.i18n.__,yu=wp.blocks.registerBlockType,wu=O.InnerBlocks;yu("vk-blocks/faq2-q",{title:ku("FAQ Question","vk-blocks"),icon:React.createElement(gu.a,null),category:"vk-blocks-cat",attributes:{content:{type:"string"}},parent:["vk-blocks/faq2"],supports:{anchor:!0},example:{innerBlocks:[{name:"core/paragraph",attributes:{content:Se}}]},edit:function(e){var t=e.attributes,n=e.className,r=t.content;return React.createElement("dt",{className:u()(n,"vk_faq_title")},React.createElement(wu,{templateLock:!1,template:[["core/paragraph",{content:r}]]}))},save:function(){return React.createElement("dt",{className:"vk_faq_title"},React.createElement(wu.Content,null))}});var Eu=n(34),xu=n.n(Eu),Ru=wp.i18n.__,Cu=wp.blocks.registerBlockType,Nu=O.InnerBlocks;Cu("vk-blocks/faq2-a",{title:Ru("FAQ Answer","vk-blocks"),icon:React.createElement(xu.a,null),category:"vk-blocks-cat",attributes:{content:{type:"string"}},parent:["vk-blocks/faq2"],supports:{anchor:!0},example:{innerBlocks:[{name:"core/paragraph",attributes:{content:Te}}]},edit:function(e){var t=e.attributes,n=e.className,r=t.content;return React.createElement("dd",{className:u()(n,"vk_faq_content")},React.createElement(Nu,{templateLock:!1,template:[["core/paragraph",{content:r}]]}))},save:function(){return React.createElement("dd",{className:"vk_faq_content"},React.createElement(Nu.Content,null))}});var Su=wp.plugins.registerPlugin,Tu=n(35),Au=n.n(Tu);function Bu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ou(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bu(Object(n),!0).forEach((function(t){Iu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bu(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 Pu=wp.blocks.parse,ju=[{name:"Cover",icon:"",content:'\n\t\t\x3c!-- wp:vk-blocks/outer {"bgColor":"#000000","bgImage":"https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/programming-942487_1920.jpg","outerWidth":"full","padding_top_and_bottom":"0","opacity":0.7} --\x3e\n\t\t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-none vk_outer-bgPosition-normal" style="background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/programming-942487_1920.jpg);border:0px none #000;border-radius:0px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4.5,"tablet":4.5,"mobile":4.5} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4.5rem"></div><div class="vk_spacer-display-tablet" style="height:4.5rem"></div><div class="vk_spacer-display-mobile" style="height:4.5rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/pr-content {"titleColor":"#eeeeee","contentColor":"#eeeeee","url":"https://example.com","buttonType":"1","buttonColorCustom":"#eeeeee","Image":"https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/device_01.png","layout":"right","fontAwesomeIconBefore":"fas fa-arrow-circle-right","fontAwesomeIconAfter":""} --\x3e\n\t\t<div class="wp-block-vk-blocks-pr-content vk_prContent vk_prContent-layout-imageRight"><div class="col-sm-6 vk_prContent_colImg"><img class="vk_prContent_colImg_image" src="https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/device_01.png" alt="画像をアップロード" style="border:none"/></div><div class="col-sm-6 vk_prContent_colTxt"><h3 class="vk_prContent_colTxt_title" style="color:#eeeeee">自社のコンセプトやキャッチコピーが入ります。</h3><p class="vk_prContent_colTxt_text" style="color:#eeeeee">この部分には、自社について説明が入ります。<br>自社のコンセプトや理念など、大切にしていることについて説明しましょう。お客様に一番伝えたいことを書くことをおススメします。</p><div class="vk_button vk_button-color-custom"><a href="https://example.com" class="btn btn-block vk_button_link vk_prContent_colTxt_btn btn-primary" style="background-color:transparent;border:1px solid #eeeeee;color:#eeeeee" rel="noopener noreferrer"><i class="fas fa-arrow-circle-right vk_button_link_before"></i><span class="vk_button_link_txt">さらに詳しく</span></a></div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/pr-content --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":2,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:2rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e</div></div>\n\t\t\x3c!-- /wp:vk-blocks/outer --\x3e\n\t\t'},{name:"Full Wide Title Set",icon:"",content:'\n\t\t\x3c!-- wp:vk-blocks/outer {"bgColor":"#0c7abb","outerWidth":"full","padding_top_and_bottom":"0","opacity":1} --\x3e\n\t\t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-none vk_outer-bgPosition-normal" style="background:linear-gradient(rgba(12, 122, 187, 1), rgba(12, 122, 187, 1));border:0px none #000;border-radius:0px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":3,"tablet":3,"mobile":3} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:3rem"></div><div class="vk_spacer-display-tablet" style="height:3rem"></div><div class="vk_spacer-display-mobile" style="height:3rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/heading {"align":"center","titleStyle":"plain","outerMarginBottom":0,"titleColor":"#ffffff","titleMarginBottom":0,"subTextColor":"#ffffff"} --\x3e\n\t\t<div class="wp-block-vk-blocks-heading vk_heading vk_heading-style-plain" style="margin-bottom:0rem"><h2 style="color:#ffffff;font-size:2rem;margin-bottom:0rem;text-align:center" class="vk_heading_title vk_heading_title-style-plain" placeholder="タイトルを入力">Title test</h2><p style="color:#ffffff;font-size:1.2rem;text-align:center" class="vk_heading_subtext vk_heading_subtext-style-plain" placeholder="サブテキストを入力">Sub title text</p></div>\n\t\t\x3c!-- /wp:vk-blocks/heading --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":3,"tablet":3,"mobile":3} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:3rem"></div><div class="vk_spacer-display-tablet" style="height:3rem"></div><div class="vk_spacer-display-mobile" style="height:3rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e</div></div>\n\t\t\x3c!-- /wp:vk-blocks/outer --\x3e\n\t\t'},{name:"Service",icon:"",content:'\x3c!-- wp:vk-blocks/outer {"bgColor":"#ffffff","outerWidth":"full","padding_top_and_bottom":"0"} --\x3e\n\t\t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-none vk_outer-bgPosition-normal" style="background:linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));border:0px none #000;border-radius:0px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/heading {"align":"center","titleStyle":"plain","outerMarginBottom":3,"titleMarginBottom":0} --\x3e\n\t\t<div class="wp-block-vk-blocks-heading"><div class="vk_heading vk_heading-style-plain" style="margin-bottom:3rem"><h2 style="color:#000000;font-size:2rem;margin-bottom:0rem;text-align:center" class="vk_heading_title vk_heading_title-style-plain" placeholder="タイトルを入力">サービスの特徴など</h2><p style="color:#000000;font-size:1.2rem;text-align:center" class="vk_heading_subtext vk_heading_subtext-style-plain" placeholder="サブテキストを入力">提供しているサービスの特徴などを画像つきで紹介します</p></div></div>\n\t\t\x3c!-- /wp:vk-blocks/heading --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/card {"name":"vk-blocks/card"} --\x3e\n\t\t<div class="vk_posts wp-block-vk-blocks-card">\x3c!-- wp:vk-blocks/card-item {"url":"/"} --\x3e\n\t\t<div class="vk_post card card-post vk_card_item vk_post-col-xs-12 vk_post-col-sm-6 vk_post-col-md-4 vk_post-col-lg-4 vk_post-col-xl-4 vk_post-btn-display"><div class="vk_post_imgOuter"><a href="/"><div class="card-img-overlay"></div></a></div><div class="vk_post_body card-body"><a href="/"><h5 class="vk_post_title card-title text-left">サービスの特徴</h5></a><p class="vk_post_excerpt card-text text-left">サービスの特徴についての紹介文などが入りますサービスの特徴についての紹介文などが入ります。</p><div class="vk_post_btnOuter text-right"><a class="btn btn-primary vk_post_btn" href="/">Read more</a></div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/card-item --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/card-item {"url":"/"} --\x3e\n\t\t<div class="vk_post card card-post vk_card_item vk_post-col-xs-12 vk_post-col-sm-6 vk_post-col-md-4 vk_post-col-lg-4 vk_post-col-xl-4 vk_post-btn-display"><div class="vk_post_imgOuter"><a href="/"><div class="card-img-overlay"></div></a></div><div class="vk_post_body card-body"><a href="/"><h5 class="vk_post_title card-title text-left">サービスの特徴</h5></a><p class="vk_post_excerpt card-text text-left">サービスの特徴についての紹介文などが入りますサービスの特徴についての紹介文などが入ります。</p><div class="vk_post_btnOuter text-right"><a class="btn btn-primary vk_post_btn" href="/">Read more</a></div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/card-item --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/card-item {"url":"/"} --\x3e\n\t\t<div class="vk_post card card-post vk_card_item vk_post-col-xs-12 vk_post-col-sm-6 vk_post-col-md-4 vk_post-col-lg-4 vk_post-col-xl-4 vk_post-btn-display"><div class="vk_post_imgOuter"><a href="/"><div class="card-img-overlay"></div></a></div><div class="vk_post_body card-body"><a href="/"><h5 class="vk_post_title card-title text-left">サービスの特徴</h5></a><p class="vk_post_excerpt card-text text-left">サービスの特徴についての紹介文などが入りますサービスの特徴についての紹介文などが入ります。</p><div class="vk_post_btnOuter text-right"><a class="btn btn-primary vk_post_btn" href="/">Read more</a></div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/card-item --\x3e</div>\n\t\t\x3c!-- /wp:vk-blocks/card --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":2,"tablet":2,"mobile":2} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:2rem"></div><div class="vk_spacer-display-tablet" style="height:2rem"></div><div class="vk_spacer-display-mobile" style="height:2rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e</div></div>\n\t\t\x3c!-- /wp:vk-blocks/outer --\x3e'},{name:"About",icon:"",content:'\n\t\t\x3c!-- wp:vk-blocks/outer {"outerWidth":"full","padding_top_and_bottom":"0","upper_level":-60} --\x3e\n\t\t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-none vk_outer-bgPosition-normal" style="background:linear-gradient(rgba(243, 244, 245, 0.5), rgba(243, 244, 245, 0.5));border:none;border-radius:0px"><div class="vk_outer_separator vk_outer_separator-position-upper vk_outer_separator-type-tilt" style="padding-bottom:60px"><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 100 100" preserveaspectratio="none"><path d="m100,40 L0,100 L100,100 z" strokewidth="0" fill="#fff"></path></svg></div><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\t\t\x3c!-- wp:vk-blocks/pr-content {"url":"https://example.com","buttonColorCustom":"#cf2e2e","Image":"https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/pr-img.png","layout":"right"} --\x3e\n\t\t<div class="wp-block-vk-blocks-pr-content vk_prContent vk_prContent-layout-imageRight"><div class="col-sm-6 vk_prContent_colImg"><img class="vk_prContent_colImg_image" src="https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/pr-img.png" alt="画像をアップロード" style="border:none"/></div><div class="col-sm-6 vk_prContent_colTxt"><h3 class="vk_prContent_colTxt_title">自社のコンセプトやキャッチコピーが入ります。</h3><p class="vk_prContent_colTxt_text">この部分には、自社について説明が入ります。<br>自社のコンセプトや理念など、大切にしていることについて説明しましょう。お客様に一番伝えたいことを書くことをおススメします。</p><div class="vk_button vk_button-color-custom"><a href="https://example.com" class="btn btn-block vk_button_link vk_prContent_colTxt_btn btn-primary" style="background-color:#cf2e2e;border:1px solid #cf2e2e" rel="noopener noreferrer"><span class="vk_button_link_txt">さらに詳しく</span></a></div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/pr-content --\x3e\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t\t</div></div>\x3c!-- /wp:vk-blocks/outer --\x3e\n\t\t'},{name:"Icon Card Set",icon:"",content:'\x3c!-- wp:vk-blocks/outer {"bgColor":"#ffffff","outerWidth":"full","opacity":1,"clientId":"c0a133ef-fa45-4fba-bfd2-554fcb772305"} --\x3e\n\t\t<div class="vkb-outer-c0a133ef-fa45-4fba-bfd2-554fcb772305 wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-use vk_outer-bgPosition-normal" style="border:0px none #000;border-radius:0px"><style>.vkb-outer-c0a133ef-fa45-4fba-bfd2-554fcb772305{background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 1))}!important;</style><div><div class="vk_outer_container">\x3c!-- wp:vk-blocks/icon-card --\x3e\n\t\t<div class="vk_posts wp-block-vk-blocks-icon-card">\x3c!-- wp:vk-blocks/icon-card-item {"url":"/service/","icon":"far fa-file-alt","color":"#337ab7"} --\x3e\n\t\t<div class="wp-block-vk-blocks-icon-card-item vk_post vk_icon-card_item vk_post-col-xs-12 vk_post-col-sm-6 vk_post-col-md-4 vk_post-col-lg-4 vk_post-col-xl-4"><a href="/service/" class="vk_icon-card_item_link" target="_self" rel="noopener noreferrer"><div class="vk_icon-card_item_icon_outer" style="background-color:transparent;border:1px solid #337ab7"><i class="far fa-file-alt vk_icon-card_item_icon" style="color:#337ab7"></i></div><h3 class="vk_icon-card_item_title vk_icon-card_item_title has-text-align-center">サービス案内</h3><p class="vk_icon_card_item_summary vk_icon_card_item_summary has-text-align-center">弊社が提供するサービス&ソリューションについてご紹介しています。経験豊富なスタッフがこだわりを持って取り組んでいます。</p></a></div>\n\t\t\x3c!-- /wp:vk-blocks/icon-card-item --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/icon-card-item {"url":"/company/","icon":"far fa-building","color":"#337ab7"} --\x3e\n\t\t<div class="wp-block-vk-blocks-icon-card-item vk_post vk_icon-card_item vk_post-col-xs-12 vk_post-col-sm-6 vk_post-col-md-4 vk_post-col-lg-4 vk_post-col-xl-4"><a href="/company/" class="vk_icon-card_item_link" target="_self" rel="noopener noreferrer"><div class="vk_icon-card_item_icon_outer" style="background-color:transparent;border:1px solid #337ab7"><i class="far fa-building vk_icon-card_item_icon" style="color:#337ab7"></i></div><h3 class="vk_icon-card_item_title vk_icon-card_item_title has-text-align-center">会社案内</h3><p class="vk_icon_card_item_summary vk_icon_card_item_summary has-text-align-center">弊社代表挨拶や会社の基本情報について記載しています。また、弊社の歴史なども紹介していますので是非ご覧ください。</p></a></div>\n\t\t\x3c!-- /wp:vk-blocks/icon-card-item --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/icon-card-item {"url":"/recruit/","icon":"fas fa-users","color":"#337ab7"} --\x3e\n\t\t<div class="wp-block-vk-blocks-icon-card-item vk_post vk_icon-card_item vk_post-col-xs-12 vk_post-col-sm-6 vk_post-col-md-4 vk_post-col-lg-4 vk_post-col-xl-4"><a href="/recruit/" class="vk_icon-card_item_link" target="_self" rel="noopener noreferrer"><div class="vk_icon-card_item_icon_outer" style="background-color:transparent;border:1px solid #337ab7"><i class="fas fa-users vk_icon-card_item_icon" style="color:#337ab7"></i></div><h3 class="vk_icon-card_item_title vk_icon-card_item_title has-text-align-center">採用情報</h3><p class="vk_icon_card_item_summary vk_icon_card_item_summary has-text-align-center">株式会社サンプルでは一緒に働く仲間を募集しています。自分で考えていろいろな事にチャレンジできるやりがいのある仕事です。</p></a></div>\n\t\t\x3c!-- /wp:vk-blocks/icon-card-item --\x3e</div>\n\t\t\x3c!-- /wp:vk-blocks/icon-card --\x3e</div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/outer --\x3e'},{name:"Information ( Text )",icon:"",content:'\n\t\t\x3c!-- wp:vk-blocks/outer {"outerWidth":"full"} --\x3e\n\t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-use vk_outer-bgPosition-normal" style="background:linear-gradient(rgba(243, 244, 245, 0.5), rgba(243, 244, 245, 0.5));border:0px none #000;border-radius:0px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/heading {"align":"center","titleStyle":"plain","outerMarginBottom":2,"titleMarginBottom":0} --\x3e\n\t<div class="wp-block-vk-blocks-heading"><div class="vk_heading vk_heading-style-plain" style="margin-bottom:2rem"><h2 style="color:#000000;font-size:2rem;margin-bottom:0rem;text-align:center" class="vk_heading_title vk_heading_title-style-plain" placeholder="タイトルを入力"><strong>お知らせ</strong></h2><p style="color:#000000;font-size:1.2rem;text-align:center" class="vk_heading_subtext vk_heading_subtext-style-plain" placeholder="サブテキストを入力">Information</p></div></div>\n\t\x3c!-- /wp:vk-blocks/heading --\x3e\n\n\t\x3c!-- wp:vk-blocks/post-list {"name":"vk-blocks/post-list","layout":"postListText"} /--\x3e\n\n\t\x3c!-- wp:vk-blocks/button {"buttonUrl":"/information/","buttonType":"2","buttonColorCustom":"#313131","buttonAlign":"right","fontAwesomeIconAfter":"fas fa-arrow-circle-right"} --\x3e\n\t<div class="wp-block-vk-blocks-button vk_button vk_button-color-custom vk_button-align-right"><a href="/information/" id="vk_button_link" style="color:#313131" class="vk_button_link vk_button_link-type-text btn-md" role="button" aria-pressed="true" rel="noopener noreferrer"><span class="vk_button_link_txt">お知らせ一覧</span><i class="fas fa-arrow-circle-right vk_button_link_after"></i></a></div>\n\t\x3c!-- /wp:vk-blocks/button --\x3e\n\n\t</div></div>\n\t\x3c!-- /wp:vk-blocks/outer --\x3e\n\t\t'},{name:"Information ( Card )",icon:"",content:'\n\t \t\x3c!-- wp:vk-blocks/outer {"bgColor":"#ffffff","outerWidth":"full","opacity":0.9} --\x3e\n\t \t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-use vk_outer-bgPosition-normal" style="background:linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));border:0px none #000;border-radius:0px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/heading {"align":"center","titleStyle":"plain","outerMarginBottom":3,"titleMarginBottom":0} --\x3e\n\t \t<div class="wp-block-vk-blocks-heading vk_heading vk_heading-style-plain" style="margin-bottom:3rem"><h2 style="color:#000000;font-size:2rem;margin-bottom:0rem;text-align:center" class="vk_heading_title vk_heading_title-style-plain" placeholder="タイトルを入力"><strong>お知らせ</strong></h2><p style="color:#000000;font-size:1.2rem;text-align:center" class="vk_heading_subtext vk_heading_subtext-style-plain" placeholder="サブテキストを入力">Information</p></div>\n\t \t\x3c!-- /wp:vk-blocks/heading --\x3e\n\n\t \t\x3c!-- wp:vk-blocks/post-list {"name":"vk-blocks/post-list"} /--\x3e\n\n\t \t\x3c!-- wp:vk-blocks/button {"buttonUrl":"https://example.com/","buttonSize":"sm","buttonAlign":"right","fontAwesomeIconBefore":"fas fa-arrow-circle-right"} --\x3e\n\t \t<div class="wp-block-vk-blocks-button vk_button vk_button-align-right"><a href="https://example.com/" id="vk_button_link" class="btn vk_button_link btn-sm btn-primary" role="button" aria-pressed="true" rel="noopener noreferrer"><i class="fas fa-arrow-circle-right vk_button_link_before"></i><span class="vk_button_link_txt">一覧を見る</span></a></div>\n\t \t\x3c!-- /wp:vk-blocks/button --\x3e</div></div>\n\t \t\x3c!-- /wp:vk-blocks/outer --\x3e\n\t \t'},{name:"Feature Posts",icon:"",content:'\n\t\t\x3c!-- wp:vk-blocks/outer {"bgColor":"#eeeeee","outerWidth":"full","padding_left_and_right":"1","padding_top_and_bottom":"0","clientId":"88b8ebeb-19b0-46cc-9690-90c26b4835c5"} --\x3e\n\t\t<div class="vkb-outer-88b8ebeb-19b0-46cc-9690-90c26b4835c5 wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-use vk_outer-paddingVertical-none vk_outer-bgPosition-normal" style="border:0px none #000;border-radius:0px"><style>.vkb-outer-88b8ebeb-19b0-46cc-9690-90c26b4835c5{background: linear-gradient(rgba(238, 238, 238, 0.5), rgba(238, 238, 238, 0.5))}!important;</style><div><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"pc":30} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:30px"></div><div class="vk_spacer-display-tablet" style="height:30px"></div><div class="vk_spacer-display-mobile" style="height:20px"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\t\t\x3c!-- wp:vk-blocks/post-list {"name":"vk-blocks/post-list","col_xs":2,"col_sm":3,"col_xl":6,"display_date":false} /--\x3e</div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/outer --\x3e\n\t\t'},{name:"Call To Action",icon:"",content:'\n\t\t\x3c!-- wp:vk-blocks/outer {"bgColor":"#000000","bgImage":"https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/programming-942487_1920.jpg","bgPosition":"fixed","padding_left_and_right":"1","padding_top_and_bottom":"0","opacity":0.7,"borderRadius":8} --\x3e\n\t\t<div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-normal vk_outer-paddingLR-use vk_outer-paddingVertical-none vk_outer-bgPosition-fixed" style="background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/programming-942487_1920.jpg);border:0px none #000;border-radius:8px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/pr-content {"titleColor":"#eeeeee","contentColor":"#eeeeee","url":"https://example.com","buttonColorCustom":"#cf2e2e","Image":"https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/device_01.png","layout":"right","fontAwesomeIconBefore":"fas fa-arrow-circle-right","fontAwesomeIconAfter":""} --\x3e\n\t\t<div class="wp-block-vk-blocks-pr-content vk_prContent vk_prContent-layout-imageRight"><div class="col-sm-6 vk_prContent_colImg"><img class="vk_prContent_colImg_image" src="https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/device_01.png" alt="画像をアップロード" style="border:none"/></div><div class="col-sm-6 vk_prContent_colTxt"><h3 class="vk_prContent_colTxt_title" style="color:#eeeeee">Call To Action Title</h3><p class="vk_prContent_colTxt_text" style="color:#eeeeee">この部分には、自社について説明が入ります。<br>自社のコンセプトや理念など、大切にしていることについて説明しましょう。お客様に一番伝えたいことを書くことをおススメします。</p><div class="vk_button vk_button-color-custom"><a href="https://example.com" class="btn btn-block vk_button_link vk_prContent_colTxt_btn btn-primary" style="background-color:#cf2e2e;border:1px solid #cf2e2e" rel="noopener noreferrer"><i class="fas fa-arrow-circle-right vk_button_link_before"></i><span class="vk_button_link_txt">さらに詳しく</span></a></div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/pr-content --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4.5,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4.5rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e</div></div>\n\t\t\x3c!-- /wp:vk-blocks/outer --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\t\t'},{name:"Contact",icon:"",content:'\n\t \t\x3c!-- wp:vk-blocks/outer {"bgColor":"#313131","bgImage":"https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/home-office-336373_1920-e1513588377670.jpg","outerWidth":"full","bgPosition":"fixed","padding_top_and_bottom":"0","opacity":0.7} --\x3e\n\t <div class="wp-block-vk-blocks-outer vk_outer vk_outer-width-full vk_outer-paddingLR-none vk_outer-paddingVertical-none vk_outer-bgPosition-fixed" style="background:linear-gradient(rgba(49, 49, 49, 0.7), rgba(49, 49, 49, 0.7)), url(https://www.vektor-inc.co.jp/vk-blocks-tmpl-images/home-office-336373_1920-e1513588377670.jpg);border:0px none #000;border-radius:0px"><div class="vk_outer_container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":3,"tablet":3,"mobile":3} --\x3e\n\t <div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:3rem"></div><div class="vk_spacer-display-tablet" style="height:3rem"></div><div class="vk_spacer-display-mobile" style="height:3rem"></div></div>\n\t \x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t \x3c!-- wp:vk-blocks/heading {"align":"center","titleStyle":"plain","outerMarginBottom":0,"titleColor":"#eeeeee","titleMarginBottom":0,"subTextColor":"#eeeeee"} --\x3e\n\t <div class="wp-block-vk-blocks-heading vk_heading vk_heading-style-plain" style="margin-bottom:0rem"><h2 style="color:#eeeeee;font-size:2rem;margin-bottom:0rem;text-align:center" class="vk_heading_title vk_heading_title-style-plain" placeholder="タイトルを入力">無料体験実施中!</h2><p style="color:#eeeeee;font-size:1.2rem;text-align:center" class="vk_heading_subtext vk_heading_subtext-style-plain" placeholder="サブテキストを入力">体験入会大歓迎です。お気軽にご連絡ください。</p></div>\n\t \x3c!-- /wp:vk-blocks/heading --\x3e\n\n\t \x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":1.5,"tablet":1.5,"mobile":1.5} --\x3e\n\t <div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:1.5rem"></div><div class="vk_spacer-display-tablet" style="height:1.5rem"></div><div class="vk_spacer-display-mobile" style="height:1.5rem"></div></div>\n\t \x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t \x3c!-- wp:columns --\x3e\n\t <div class="wp-block-columns">\x3c!-- wp:column --\x3e\n\t <div class="wp-block-column">\x3c!-- wp:vk-blocks/button {"subCaption":"お気軽にお問い合わせください","buttonUrl":"/contact/","buttonColor":"success","buttonColorCustom":null,"buttonAlign":"block","fontAwesomeIconBefore":"far fa-envelope"} --\x3e\n\t <div class="wp-block-vk-blocks-button vk_button vk_button-align-block"><a href="/contact/" id="vk_button_link" class="btn vk_button_link btn-md btn-success btn-block" role="button" aria-pressed="true" rel="noopener noreferrer"><i class="far fa-envelope vk_button_link_before"></i><span class="vk_button_link_txt">メールでのお問い合わせ</span><p class="vk_button_link_subCaption">お気軽にお問い合わせください</p></a></div>\n\t \x3c!-- /wp:vk-blocks/button --\x3e\n\t </div>\n\t \x3c!-- /wp:column --\x3e\n\n\t \x3c!-- wp:column --\x3e\n\t <div class="wp-block-column">\x3c!-- wp:vk-blocks/button {"subCaption":"電話でのお問い合わせはこちら","buttonUrl":"tel:000-000-0000","buttonColor":"danger","buttonColorCustom":null,"buttonAlign":"block","fontAwesomeIconBefore":"fas fa-phone-square-alt"} --\x3e\n\t <div class="wp-block-vk-blocks-button vk_button vk_button-align-block"><a href="tel:000-000-0000" id="vk_button_link" class="btn vk_button_link btn-md btn-danger btn-block" role="button" aria-pressed="true" rel="noopener noreferrer"><i class="fas fa-phone-square-alt vk_button_link_before"></i><span class="vk_button_link_txt">000-000-0000</span><p class="vk_button_link_subCaption">電話でのお問い合わせはこちら</p></a></div>\n\t \x3c!-- /wp:vk-blocks/button --\x3e\n\t </div>\n\t \x3c!-- /wp:column --\x3e</div>\n\t \x3c!-- /wp:columns --\x3e\n\n\t \x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":1,"tablet":1,"mobile":1} --\x3e\n\t <div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:1rem"></div><div class="vk_spacer-display-tablet" style="height:1rem"></div><div class="vk_spacer-display-mobile" style="height:1rem"></div></div>\n\t \x3c!-- /wp:vk-blocks/spacer --\x3e</div></div>\n\t \x3c!-- /wp:vk-blocks/outer --\x3e'},{name:"Step set",icon:"",content:'\n\t\t\x3c!-- wp:group {"className":"is-style-default","color":"#eeeeee"} --\x3e\n\t\t<div class="wp-block-group is-style-default"><div class="wp-block-group__inner-container">\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":2,"tablet":32,"mobile":2} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:2rem"></div><div class="vk_spacer-display-tablet" style="height:32rem"></div><div class="vk_spacer-display-mobile" style="height:2rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/step --\x3e\n\t\t<div class="wp-block-vk-blocks-step vk_step">\x3c!-- wp:vk-blocks/step-item --\x3e\n\t\t<div class="wp-block-vk-blocks-step-item vk_step_item vk_step_item_lineStyle-default"><div class="vk_step_item_content">\x3c!-- wp:heading {"level":4} --\x3e\n\t\t<h4><strong>お問い合わせ</strong></h4>\n\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\x3c!-- wp:paragraph --\x3e\n\t\t<p>まずは<a>お問い合わせフォーム</a>または電話にてご連絡ください。</p>\n\t\t\x3c!-- /wp:paragraph --\x3e</div><div class="vk_step_item_dot vk_step_item_style-default" style="background-color:#337ab7;color:#ffffff"><div class="vk_step_item_dot_caption">STEP</div><div class="vk_step_item_dot_num">1</div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/step-item --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/step-item {"dotNum":2} --\x3e\n\t\t<div class="wp-block-vk-blocks-step-item vk_step_item vk_step_item_lineStyle-default"><div class="vk_step_item_content">\x3c!-- wp:heading {"level":4} --\x3e\n\t\t<h4><strong>サービスのご提供</strong></h4>\n\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\x3c!-- wp:paragraph --\x3e\n\t\t<p>ご提案させていただいた内容にて業務を実施いたします。</p>\n\t\t\x3c!-- /wp:paragraph --\x3e</div><div class="vk_step_item_dot vk_step_item_style-default" style="background-color:#337ab7;color:#ffffff"><div class="vk_step_item_dot_caption">STEP</div><div class="vk_step_item_dot_num">2</div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/step-item --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/step-item {"styleLine":"none","dotNum":3} --\x3e\n\t\t<div class="wp-block-vk-blocks-step-item vk_step_item vk_step_item_lineStyle-none"><div class="vk_step_item_content">\x3c!-- wp:heading {"level":4} --\x3e\n\t\t<h4><strong>ご入金</strong></h4>\n\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\x3c!-- wp:paragraph --\x3e\n\t\t<p>納品月の末締めで請求書を発行させていただきますので、翌月末にてご入金願います。</p>\n\t\t\x3c!-- /wp:paragraph --\x3e</div><div class="vk_step_item_dot vk_step_item_style-default" style="background-color:#337ab7;color:#ffffff"><div class="vk_step_item_dot_caption">STEP</div><div class="vk_step_item_dot_num">3</div></div></div>\n\t\t\x3c!-- /wp:vk-blocks/step-item --\x3e</div>\n\t\t\x3c!-- /wp:vk-blocks/step --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":4,"tablet":4,"mobile":4} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:4rem"></div><div class="vk_spacer-display-tablet" style="height:4rem"></div><div class="vk_spacer-display-mobile" style="height:4rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e</div></div>\n\t\t\x3c!-- /wp:group --\x3e\n\t\t'},{name:"Border box",icon:"",content:'\x3c!-- wp:vk-blocks/border-box {"faIcon":"fas fa-exclamation"} --\x3e\n\t\t<div class="vk_borderBox vk_borderBox-color-red wp-block-vk-blocks-border-box is-style-vk_borderBox-style-solid-kado-tit-tab"><div class="vk_borderBox_title_container"><i class="fas fa-exclamation"></i><h4 class="vk_borderBox_title">枠線ブロックサンプル</h4></div><div class="vk_borderBox_body">\x3c!-- wp:list {"className":"is-style-vk-check-mark vk-has-vivid-red-color","color":"#cf2e2e"} --\x3e\n\t\t<ul class="is-style-vk-check-mark vk-has-vivid-red-color"><li>これはリストのスタイルのサンプルです。</li><li>これはリストのスタイルのサンプルです。</li><li>これはリストのスタイルのサンプルです。</li><li>これはリストのスタイルのサンプルです。</li></ul>\n\t\t\x3c!-- /wp:list --\x3e</div></div>\n\t\t\x3c!-- /wp:vk-blocks/border-box --\x3e\n\n\t\t\x3c!-- wp:vk-blocks/spacer {"unit":"rem","pc":2,"tablet":2,"mobile":2} --\x3e\n\t\t<div class="vk_spacer"><div class="vk_spacer-display-pc" style="height:2rem"></div><div class="vk_spacer-display-tablet" style="height:2rem"></div><div class="vk_spacer-display-mobile" style="height:2rem"></div></div>\n\t\t\x3c!-- /wp:vk-blocks/spacer --\x3e'}],Lu=Au()((function(){return ju.map((function(e){return Ou(Ou({},e),{},{blocks:Pu(e.content)})}))}));function zu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return qu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qu(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Mu=window.lodash,Du=Mu.first,Hu=Mu.last,Uu=wp.components.Spinner,Fu=O.BlockPreview,Vu=wp.element.useState,Yu=wp.data,Gu=Yu.dispatch,Wu=Yu.select,Ju=Gu("core/editor"),$u=Ju.insertBlocks,Xu=Ju.replaceBlocks,Qu=Ju.multiSelect,Ku=(wp.i18n.__,Wu("core/block-editor")?Wu("core/block-editor"):Wu("core/editor")),Zu=Ku.getBlocks,ep=Ku.getBlockCount,tp=Ku.getSelectedBlock,np=Ku.getBlockInsertionPoint,rp=function(e){e.slug;if(!(5.3>parseFloat(wpVersion))){var t=zu(Vu(null),2),n=t[0],r=t[1],o=zu(Vu(null),2),a=o[0],l=o[1];return function(){if(!a&&(n||r(Lu),n)){var e=n.map((function(e,t){return React.createElement("li",{key:t},React.createElement("div",{className:"vkb-menu__template-part__button",onClick:function(){if(e.blocks.length){var t=tp();if(null===t){var n=Hu(Zu());void 0!==n&&null===n.rootClientId&&(!ep(n.clientId)||"core/paragraph"===n.name&&""===n.attributes.content)?Xu(n.clientId,e.blocks):$u(e.blocks)}else{if("core/paragraph"===t.name&&""===t.attributes.content)Xu(t.clientId,e.blocks);else{var r=np();$u(e.blocks,r.index)}}Qu(Du(e.blocks).clientId,Hu(e.blocks).clientId)}}},React.createElement("section",{className:"vkb-menu__template-part__card__container"},React.createElement("div",{id:"vkb-menu__template-part__card".concat(t),className:"card vkb-menu__template-part__card"},React.createElement("div",{className:"content"},React.createElement("h6",null,React.createElement("span",{className:"vkb-menu__template-part__header__icon"},e.icon),e.name),React.createElement("div",{className:"hover_content"},React.createElement("div",{className:"inner edit-post-visual-editor editor-styles-wrapper"},React.createElement(Fu,{viewportWidth:601,blocks:e.blocks}))))))))}));l(e.filter((function(e){return e})))}}(),a?React.createElement("ul",{className:"vkb-menu__template-part"},a):React.createElement("div",{className:"vkb-menu__template-part__loading"},React.createElement(Uu,null))}},op=wp.element.Fragment,ap=wp.editPost,lp=ap.PluginSidebar,cp=ap.PluginSidebarMoreMenuItem,ip=wp.i18n.__,sp="vk-blocks",up={icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"19.31564",viewBox:"0 0 20 19.31564"},React.createElement("path",{d:"M19.801,3.465l-5.93675.01494a.19492.19492,0,0,0-.18428.12949l-.45323,1.26505a.19767.19767,0,0,0,.18428.264h2.311a.19794.19794,0,0,1,.14444.3337l-3.67562,3.83h.01494l1.8926,5.95668a.19867.19867,0,0,1-.18926.259H12.05132a.19722.19722,0,0,1-.18926-.13946l-.95626-3.058a.197.197,0,0,0-.37353-.01l-.777,2.14162a.19642.19642,0,0,0-.005.11953l.70225,2.6048a.19724.19724,0,0,0,.18926.14443h5.97162a.19866.19866,0,0,0,.18926-.259L14.41208,9.56607a.199.199,0,0,1,.0498-.19922l5.48354-5.5682A.19793.19793,0,0,0,19.801,3.465Z",transform:"translate(0 -0.34218)"}),React.createElement("path",{d:"M12.76851.34218l-3.61584.01a.18849.18849,0,0,0-.18428.12949L8.5052,1.74668a.19768.19768,0,0,0,.18428.264h1.51407a.19364.19364,0,0,1,.18428.264L6.0797,14.06845a.19878.19878,0,0,1-.37354,0L2.62323,5.56673a.19767.19767,0,0,1,.18428-.264H4.3664a.18849.18849,0,0,1,.18428.1295l1.11563,3.068a.19878.19878,0,0,0,.37354,0L7.77307,3.72892a.19767.19767,0,0,0-.18428-.264H.19772a.19364.19364,0,0,0-.18428.264L5.70118,19.52708a.19878.19878,0,0,0,.37354,0L12.94781.59619A.186.186,0,0,0,12.76851.34218Z",transform:"translate(0 -0.34218)"})),render:function(){return React.createElement(op,null,React.createElement(cp,{target:"vkbSidebar"},ip("VK Blocks Templates","vk-blocks")),React.createElement(lp,{name:"vkbSidebar",title:ip("VK Blocks Templates","vk-blocks")},React.createElement(rp,null)))}};5.3<=parseFloat(wpVersion)&&5.5>parseFloat(wpVersion)&&function(e){if(e){var t=e.name,n=e.settings;Su(t,n)}}(r)}]);
|
package-lock.json
CHANGED
@@ -13,9 +13,9 @@
|
|
13 |
}
|
14 |
},
|
15 |
"@babel/compat-data": {
|
16 |
-
"version": "7.12.
|
17 |
-
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.12.
|
18 |
-
"integrity": "sha512-
|
19 |
"dev": true
|
20 |
},
|
21 |
"@babel/core": {
|
@@ -54,12 +54,12 @@
|
|
54 |
}
|
55 |
},
|
56 |
"@babel/generator": {
|
57 |
-
"version": "7.12.
|
58 |
-
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.12.
|
59 |
-
"integrity": "sha512-
|
60 |
"dev": true,
|
61 |
"requires": {
|
62 |
-
"@babel/types": "^7.12.
|
63 |
"jsesc": "^2.5.1",
|
64 |
"source-map": "^0.5.0"
|
65 |
}
|
@@ -105,14 +105,14 @@
|
|
105 |
}
|
106 |
},
|
107 |
"@babel/helper-compilation-targets": {
|
108 |
-
"version": "7.12.
|
109 |
-
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.12.
|
110 |
-
"integrity": "sha512
|
111 |
"dev": true,
|
112 |
"requires": {
|
113 |
-
"@babel/compat-data": "^7.12.
|
114 |
"@babel/helper-validator-option": "^7.12.1",
|
115 |
-
"browserslist": "^4.
|
116 |
"semver": "^5.5.0"
|
117 |
}
|
118 |
},
|
@@ -199,11 +199,11 @@
|
|
199 |
}
|
200 |
},
|
201 |
"@babel/helper-module-imports": {
|
202 |
-
"version": "7.12.
|
203 |
-
"resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.12.
|
204 |
-
"integrity": "sha512-
|
205 |
"requires": {
|
206 |
-
"@babel/types": "^7.12.
|
207 |
}
|
208 |
},
|
209 |
"@babel/helper-module-transforms": {
|
@@ -259,15 +259,15 @@
|
|
259 |
}
|
260 |
},
|
261 |
"@babel/helper-replace-supers": {
|
262 |
-
"version": "7.12.
|
263 |
-
"resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.12.
|
264 |
-
"integrity": "sha512-
|
265 |
"dev": true,
|
266 |
"requires": {
|
267 |
"@babel/helper-member-expression-to-functions": "^7.12.1",
|
268 |
"@babel/helper-optimise-call-expression": "^7.10.4",
|
269 |
-
"@babel/traverse": "^7.12.
|
270 |
-
"@babel/types": "^7.12.
|
271 |
}
|
272 |
},
|
273 |
"@babel/helper-simple-access": {
|
@@ -321,14 +321,14 @@
|
|
321 |
}
|
322 |
},
|
323 |
"@babel/helpers": {
|
324 |
-
"version": "7.12.
|
325 |
-
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.12.
|
326 |
-
"integrity": "sha512-
|
327 |
"dev": true,
|
328 |
"requires": {
|
329 |
"@babel/template": "^7.10.4",
|
330 |
-
"@babel/traverse": "^7.12.
|
331 |
-
"@babel/types": "^7.12.
|
332 |
}
|
333 |
},
|
334 |
"@babel/highlight": {
|
@@ -342,9 +342,9 @@
|
|
342 |
}
|
343 |
},
|
344 |
"@babel/parser": {
|
345 |
-
"version": "7.12.
|
346 |
-
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.
|
347 |
-
"integrity": "sha512-
|
348 |
"dev": true
|
349 |
},
|
350 |
"@babel/plugin-proposal-async-generator-functions": {
|
@@ -419,9 +419,9 @@
|
|
419 |
}
|
420 |
},
|
421 |
"@babel/plugin-proposal-numeric-separator": {
|
422 |
-
"version": "7.12.
|
423 |
-
"resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.12.
|
424 |
-
"integrity": "sha512-
|
425 |
"dev": true,
|
426 |
"requires": {
|
427 |
"@babel/helper-plugin-utils": "^7.10.4",
|
@@ -864,9 +864,9 @@
|
|
864 |
}
|
865 |
},
|
866 |
"@babel/plugin-transform-react-jsx": {
|
867 |
-
"version": "7.12.
|
868 |
-
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.12.
|
869 |
-
"integrity": "sha512-
|
870 |
"dev": true,
|
871 |
"requires": {
|
872 |
"@babel/helper-builder-react-jsx": "^7.10.4",
|
@@ -876,9 +876,9 @@
|
|
876 |
}
|
877 |
},
|
878 |
"@babel/plugin-transform-react-jsx-development": {
|
879 |
-
"version": "7.12.
|
880 |
-
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.12.
|
881 |
-
"integrity": "sha512-
|
882 |
"dev": true,
|
883 |
"requires": {
|
884 |
"@babel/helper-builder-react-jsx-experimental": "^7.12.1",
|
@@ -1098,32 +1098,32 @@
|
|
1098 |
}
|
1099 |
},
|
1100 |
"@babel/preset-react": {
|
1101 |
-
"version": "7.12.
|
1102 |
-
"resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.12.
|
1103 |
-
"integrity": "sha512-
|
1104 |
"dev": true,
|
1105 |
"requires": {
|
1106 |
"@babel/helper-plugin-utils": "^7.10.4",
|
1107 |
"@babel/plugin-transform-react-display-name": "^7.12.1",
|
1108 |
-
"@babel/plugin-transform-react-jsx": "^7.12.
|
1109 |
-
"@babel/plugin-transform-react-jsx-development": "^7.12.
|
1110 |
"@babel/plugin-transform-react-jsx-self": "^7.12.1",
|
1111 |
"@babel/plugin-transform-react-jsx-source": "^7.12.1",
|
1112 |
"@babel/plugin-transform-react-pure-annotations": "^7.12.1"
|
1113 |
}
|
1114 |
},
|
1115 |
"@babel/runtime": {
|
1116 |
-
"version": "7.12.
|
1117 |
-
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.
|
1118 |
-
"integrity": "sha512-
|
1119 |
"requires": {
|
1120 |
"regenerator-runtime": "^0.13.4"
|
1121 |
}
|
1122 |
},
|
1123 |
"@babel/runtime-corejs3": {
|
1124 |
-
"version": "7.12.
|
1125 |
-
"resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.12.
|
1126 |
-
"integrity": "sha512-
|
1127 |
"dev": true,
|
1128 |
"requires": {
|
1129 |
"core-js-pure": "^3.0.0",
|
@@ -1142,26 +1142,26 @@
|
|
1142 |
}
|
1143 |
},
|
1144 |
"@babel/traverse": {
|
1145 |
-
"version": "7.12.
|
1146 |
-
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.12.
|
1147 |
-
"integrity": "sha512-
|
1148 |
"dev": true,
|
1149 |
"requires": {
|
1150 |
"@babel/code-frame": "^7.10.4",
|
1151 |
-
"@babel/generator": "^7.12.
|
1152 |
"@babel/helper-function-name": "^7.10.4",
|
1153 |
"@babel/helper-split-export-declaration": "^7.11.0",
|
1154 |
-
"@babel/parser": "^7.12.
|
1155 |
-
"@babel/types": "^7.12.
|
1156 |
"debug": "^4.1.0",
|
1157 |
"globals": "^11.1.0",
|
1158 |
"lodash": "^4.17.19"
|
1159 |
}
|
1160 |
},
|
1161 |
"@babel/types": {
|
1162 |
-
"version": "7.12.
|
1163 |
-
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.
|
1164 |
-
"integrity": "sha512-
|
1165 |
"requires": {
|
1166 |
"@babel/helper-validator-identifier": "^7.10.4",
|
1167 |
"lodash": "^4.17.19",
|
@@ -1196,9 +1196,9 @@
|
|
1196 |
}
|
1197 |
},
|
1198 |
"@emotion/core": {
|
1199 |
-
"version": "10.1.
|
1200 |
-
"resolved": "https://registry.npmjs.org/@emotion/core/-/core-10.1.
|
1201 |
-
"integrity": "sha512-
|
1202 |
"requires": {
|
1203 |
"@babel/runtime": "^7.5.5",
|
1204 |
"@emotion/cache": "^10.0.27",
|
@@ -2556,9 +2556,9 @@
|
|
2556 |
"dev": true
|
2557 |
},
|
2558 |
"@types/babel__core": {
|
2559 |
-
"version": "7.1.
|
2560 |
-
"resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.
|
2561 |
-
"integrity": "sha512-
|
2562 |
"dev": true,
|
2563 |
"requires": {
|
2564 |
"@babel/parser": "^7.1.0",
|
@@ -8470,9 +8470,9 @@
|
|
8470 |
"dev": true
|
8471 |
},
|
8472 |
"electron-to-chromium": {
|
8473 |
-
"version": "1.3.
|
8474 |
-
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.
|
8475 |
-
"integrity": "sha512-
|
8476 |
"dev": true
|
8477 |
},
|
8478 |
"elliptic": {
|
@@ -14542,9 +14542,9 @@
|
|
14542 |
}
|
14543 |
},
|
14544 |
"fsevents": {
|
14545 |
-
"version": "2.
|
14546 |
-
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.
|
14547 |
-
"integrity": "sha512-
|
14548 |
"dev": true,
|
14549 |
"optional": true
|
14550 |
},
|
@@ -18131,15 +18131,15 @@
|
|
18131 |
}
|
18132 |
},
|
18133 |
"npm-check-updates": {
|
18134 |
-
"version": "9.2.
|
18135 |
-
"resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-9.2.
|
18136 |
-
"integrity": "sha512-
|
18137 |
"dev": true,
|
18138 |
"requires": {
|
18139 |
"chalk": "^4.1.0",
|
18140 |
"cint": "^8.2.1",
|
18141 |
"cli-table": "^0.3.1",
|
18142 |
-
"commander": "^6.
|
18143 |
"find-up": "5.0.0",
|
18144 |
"get-stdin": "^8.0.0",
|
18145 |
"json-parse-helpfulerror": "^1.0.3",
|
@@ -18150,7 +18150,7 @@
|
|
18150 |
"pacote": "^11.1.11",
|
18151 |
"parse-github-url": "^1.0.2",
|
18152 |
"progress": "^2.0.3",
|
18153 |
-
"prompts": "^2.
|
18154 |
"rc-config-loader": "^3.0.0",
|
18155 |
"remote-git-tags": "^3.0.0",
|
18156 |
"rimraf": "^3.0.2",
|
@@ -18706,9 +18706,9 @@
|
|
18706 |
}
|
18707 |
},
|
18708 |
"npm-registry-fetch": {
|
18709 |
-
"version": "
|
18710 |
-
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-
|
18711 |
-
"integrity": "sha512-
|
18712 |
"dev": true,
|
18713 |
"requires": {
|
18714 |
"@npmcli/ci-detect": "^1.0.0",
|
@@ -19437,9 +19437,9 @@
|
|
19437 |
}
|
19438 |
},
|
19439 |
"pacote": {
|
19440 |
-
"version": "11.1.
|
19441 |
-
"resolved": "https://registry.npmjs.org/pacote/-/pacote-11.1.
|
19442 |
-
"integrity": "sha512-
|
19443 |
"dev": true,
|
19444 |
"requires": {
|
19445 |
"@npmcli/git": "^2.0.1",
|
@@ -19455,7 +19455,7 @@
|
|
19455 |
"npm-package-arg": "^8.0.1",
|
19456 |
"npm-packlist": "^2.1.0",
|
19457 |
"npm-pick-manifest": "^6.0.0",
|
19458 |
-
"npm-registry-fetch": "^
|
19459 |
"promise-retry": "^1.1.1",
|
19460 |
"read-package-json-fast": "^1.1.3",
|
19461 |
"rimraf": "^3.0.2",
|
@@ -20697,9 +20697,9 @@
|
|
20697 |
}
|
20698 |
},
|
20699 |
"react-easy-crop": {
|
20700 |
-
"version": "3.
|
20701 |
-
"resolved": "https://registry.npmjs.org/react-easy-crop/-/react-easy-crop-3.
|
20702 |
-
"integrity": "sha512-
|
20703 |
"requires": {
|
20704 |
"tslib": "2.0.1"
|
20705 |
},
|
@@ -21197,9 +21197,9 @@
|
|
21197 |
},
|
21198 |
"dependencies": {
|
21199 |
"is-buffer": {
|
21200 |
-
"version": "2.0.
|
21201 |
-
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.
|
21202 |
-
"integrity": "sha512-
|
21203 |
"dev": true
|
21204 |
},
|
21205 |
"is-plain-obj": {
|
@@ -22010,9 +22010,9 @@
|
|
22010 |
}
|
22011 |
},
|
22012 |
"sass-loader": {
|
22013 |
-
"version": "10.0.
|
22014 |
-
"resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-10.0.
|
22015 |
-
"integrity": "sha512-
|
22016 |
"dev": true,
|
22017 |
"requires": {
|
22018 |
"klona": "^2.0.4",
|
@@ -24416,9 +24416,9 @@
|
|
24416 |
"dev": true
|
24417 |
},
|
24418 |
"jest-worker": {
|
24419 |
-
"version": "26.6.
|
24420 |
-
"resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.
|
24421 |
-
"integrity": "sha512-
|
24422 |
"dev": true,
|
24423 |
"requires": {
|
24424 |
"@types/node": "*",
|
13 |
}
|
14 |
},
|
15 |
"@babel/compat-data": {
|
16 |
+
"version": "7.12.5",
|
17 |
+
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.12.5.tgz",
|
18 |
+
"integrity": "sha512-DTsS7cxrsH3by8nqQSpFSyjSfSYl57D6Cf4q8dW3LK83tBKBDCkfcay1nYkXq1nIHXnpX8WMMb/O25HOy3h1zg==",
|
19 |
"dev": true
|
20 |
},
|
21 |
"@babel/core": {
|
54 |
}
|
55 |
},
|
56 |
"@babel/generator": {
|
57 |
+
"version": "7.12.5",
|
58 |
+
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.12.5.tgz",
|
59 |
+
"integrity": "sha512-m16TQQJ8hPt7E+OS/XVQg/7U184MLXtvuGbCdA7na61vha+ImkyyNM/9DDA0unYCVZn3ZOhng+qz48/KBOT96A==",
|
60 |
"dev": true,
|
61 |
"requires": {
|
62 |
+
"@babel/types": "^7.12.5",
|
63 |
"jsesc": "^2.5.1",
|
64 |
"source-map": "^0.5.0"
|
65 |
}
|
105 |
}
|
106 |
},
|
107 |
"@babel/helper-compilation-targets": {
|
108 |
+
"version": "7.12.5",
|
109 |
+
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.12.5.tgz",
|
110 |
+
"integrity": "sha512-+qH6NrscMolUlzOYngSBMIOQpKUGPPsc61Bu5W10mg84LxZ7cmvnBHzARKbDoFxVvqqAbj6Tg6N7bSrWSPXMyw==",
|
111 |
"dev": true,
|
112 |
"requires": {
|
113 |
+
"@babel/compat-data": "^7.12.5",
|
114 |
"@babel/helper-validator-option": "^7.12.1",
|
115 |
+
"browserslist": "^4.14.5",
|
116 |
"semver": "^5.5.0"
|
117 |
}
|
118 |
},
|
199 |
}
|
200 |
},
|
201 |
"@babel/helper-module-imports": {
|
202 |
+
"version": "7.12.5",
|
203 |
+
"resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.12.5.tgz",
|
204 |
+
"integrity": "sha512-SR713Ogqg6++uexFRORf/+nPXMmWIn80TALu0uaFb+iQIUoR7bOC7zBWyzBs5b3tBBJXuyD0cRu1F15GyzjOWA==",
|
205 |
"requires": {
|
206 |
+
"@babel/types": "^7.12.5"
|
207 |
}
|
208 |
},
|
209 |
"@babel/helper-module-transforms": {
|
259 |
}
|
260 |
},
|
261 |
"@babel/helper-replace-supers": {
|
262 |
+
"version": "7.12.5",
|
263 |
+
"resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.12.5.tgz",
|
264 |
+
"integrity": "sha512-5YILoed0ZyIpF4gKcpZitEnXEJ9UoDRki1Ey6xz46rxOzfNMAhVIJMoune1hmPVxh40LRv1+oafz7UsWX+vyWA==",
|
265 |
"dev": true,
|
266 |
"requires": {
|
267 |
"@babel/helper-member-expression-to-functions": "^7.12.1",
|
268 |
"@babel/helper-optimise-call-expression": "^7.10.4",
|
269 |
+
"@babel/traverse": "^7.12.5",
|
270 |
+
"@babel/types": "^7.12.5"
|
271 |
}
|
272 |
},
|
273 |
"@babel/helper-simple-access": {
|
321 |
}
|
322 |
},
|
323 |
"@babel/helpers": {
|
324 |
+
"version": "7.12.5",
|
325 |
+
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.12.5.tgz",
|
326 |
+
"integrity": "sha512-lgKGMQlKqA8meJqKsW6rUnc4MdUk35Ln0ATDqdM1a/UpARODdI4j5Y5lVfUScnSNkJcdCRAaWkspykNoFg9sJA==",
|
327 |
"dev": true,
|
328 |
"requires": {
|
329 |
"@babel/template": "^7.10.4",
|
330 |
+
"@babel/traverse": "^7.12.5",
|
331 |
+
"@babel/types": "^7.12.5"
|
332 |
}
|
333 |
},
|
334 |
"@babel/highlight": {
|
342 |
}
|
343 |
},
|
344 |
"@babel/parser": {
|
345 |
+
"version": "7.12.5",
|
346 |
+
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.5.tgz",
|
347 |
+
"integrity": "sha512-FVM6RZQ0mn2KCf1VUED7KepYeUWoVShczewOCfm3nzoBybaih51h+sYVVGthW9M6lPByEPTQf+xm27PBdlpwmQ==",
|
348 |
"dev": true
|
349 |
},
|
350 |
"@babel/plugin-proposal-async-generator-functions": {
|
419 |
}
|
420 |
},
|
421 |
"@babel/plugin-proposal-numeric-separator": {
|
422 |
+
"version": "7.12.5",
|
423 |
+
"resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.12.5.tgz",
|
424 |
+
"integrity": "sha512-UiAnkKuOrCyjZ3sYNHlRlfuZJbBHknMQ9VMwVeX97Ofwx7RpD6gS2HfqTCh8KNUQgcOm8IKt103oR4KIjh7Q8g==",
|
425 |
"dev": true,
|
426 |
"requires": {
|
427 |
"@babel/helper-plugin-utils": "^7.10.4",
|
864 |
}
|
865 |
},
|
866 |
"@babel/plugin-transform-react-jsx": {
|
867 |
+
"version": "7.12.5",
|
868 |
+
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.12.5.tgz",
|
869 |
+
"integrity": "sha512-2xkcPqqrYiOQgSlM/iwto1paPijjsDbUynN13tI6bosDz/jOW3CRzYguIE8wKX32h+msbBM22Dv5fwrFkUOZjQ==",
|
870 |
"dev": true,
|
871 |
"requires": {
|
872 |
"@babel/helper-builder-react-jsx": "^7.10.4",
|
876 |
}
|
877 |
},
|
878 |
"@babel/plugin-transform-react-jsx-development": {
|
879 |
+
"version": "7.12.5",
|
880 |
+
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.12.5.tgz",
|
881 |
+
"integrity": "sha512-1JJusg3iPgsZDthyWiCr3KQiGs31ikU/mSf2N2dSYEAO0GEImmVUbWf0VoSDGDFTAn5Dj4DUiR6SdIXHY7tELA==",
|
882 |
"dev": true,
|
883 |
"requires": {
|
884 |
"@babel/helper-builder-react-jsx-experimental": "^7.12.1",
|
1098 |
}
|
1099 |
},
|
1100 |
"@babel/preset-react": {
|
1101 |
+
"version": "7.12.5",
|
1102 |
+
"resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.12.5.tgz",
|
1103 |
+
"integrity": "sha512-jcs++VPrgyFehkMezHtezS2BpnUlR7tQFAyesJn1vGTO9aTFZrgIQrA5YydlTwxbcjMwkFY6i04flCigRRr3GA==",
|
1104 |
"dev": true,
|
1105 |
"requires": {
|
1106 |
"@babel/helper-plugin-utils": "^7.10.4",
|
1107 |
"@babel/plugin-transform-react-display-name": "^7.12.1",
|
1108 |
+
"@babel/plugin-transform-react-jsx": "^7.12.5",
|
1109 |
+
"@babel/plugin-transform-react-jsx-development": "^7.12.5",
|
1110 |
"@babel/plugin-transform-react-jsx-self": "^7.12.1",
|
1111 |
"@babel/plugin-transform-react-jsx-source": "^7.12.1",
|
1112 |
"@babel/plugin-transform-react-pure-annotations": "^7.12.1"
|
1113 |
}
|
1114 |
},
|
1115 |
"@babel/runtime": {
|
1116 |
+
"version": "7.12.5",
|
1117 |
+
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz",
|
1118 |
+
"integrity": "sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg==",
|
1119 |
"requires": {
|
1120 |
"regenerator-runtime": "^0.13.4"
|
1121 |
}
|
1122 |
},
|
1123 |
"@babel/runtime-corejs3": {
|
1124 |
+
"version": "7.12.5",
|
1125 |
+
"resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.12.5.tgz",
|
1126 |
+
"integrity": "sha512-roGr54CsTmNPPzZoCP1AmDXuBoNao7tnSA83TXTwt+UK5QVyh1DIJnrgYRPWKCF2flqZQXwa7Yr8v7VmLzF0YQ==",
|
1127 |
"dev": true,
|
1128 |
"requires": {
|
1129 |
"core-js-pure": "^3.0.0",
|
1142 |
}
|
1143 |
},
|
1144 |
"@babel/traverse": {
|
1145 |
+
"version": "7.12.5",
|
1146 |
+
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.12.5.tgz",
|
1147 |
+
"integrity": "sha512-xa15FbQnias7z9a62LwYAA5SZZPkHIXpd42C6uW68o8uTuua96FHZy1y61Va5P/i83FAAcMpW8+A/QayntzuqA==",
|
1148 |
"dev": true,
|
1149 |
"requires": {
|
1150 |
"@babel/code-frame": "^7.10.4",
|
1151 |
+
"@babel/generator": "^7.12.5",
|
1152 |
"@babel/helper-function-name": "^7.10.4",
|
1153 |
"@babel/helper-split-export-declaration": "^7.11.0",
|
1154 |
+
"@babel/parser": "^7.12.5",
|
1155 |
+
"@babel/types": "^7.12.5",
|
1156 |
"debug": "^4.1.0",
|
1157 |
"globals": "^11.1.0",
|
1158 |
"lodash": "^4.17.19"
|
1159 |
}
|
1160 |
},
|
1161 |
"@babel/types": {
|
1162 |
+
"version": "7.12.5",
|
1163 |
+
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.5.tgz",
|
1164 |
+
"integrity": "sha512-gyTcvz7JFa4V45C0Zklv//GmFOAal5fL23OWpBLqc4nZ4Yrz67s4kCNwSK1Gu0MXGTU8mRY3zJYtacLdKXlzig==",
|
1165 |
"requires": {
|
1166 |
"@babel/helper-validator-identifier": "^7.10.4",
|
1167 |
"lodash": "^4.17.19",
|
1196 |
}
|
1197 |
},
|
1198 |
"@emotion/core": {
|
1199 |
+
"version": "10.1.1",
|
1200 |
+
"resolved": "https://registry.npmjs.org/@emotion/core/-/core-10.1.1.tgz",
|
1201 |
+
"integrity": "sha512-ZMLG6qpXR8x031NXD8HJqugy/AZSkAuMxxqB46pmAR7ze47MhNJ56cdoX243QPZdGctrdfo+s08yZTiwaUcRKA==",
|
1202 |
"requires": {
|
1203 |
"@babel/runtime": "^7.5.5",
|
1204 |
"@emotion/cache": "^10.0.27",
|
2556 |
"dev": true
|
2557 |
},
|
2558 |
"@types/babel__core": {
|
2559 |
+
"version": "7.1.12",
|
2560 |
+
"resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.12.tgz",
|
2561 |
+
"integrity": "sha512-wMTHiiTiBAAPebqaPiPDLFA4LYPKr6Ph0Xq/6rq1Ur3v66HXyG+clfR9CNETkD7MQS8ZHvpQOtA53DLws5WAEQ==",
|
2562 |
"dev": true,
|
2563 |
"requires": {
|
2564 |
"@babel/parser": "^7.1.0",
|
8470 |
"dev": true
|
8471 |
},
|
8472 |
"electron-to-chromium": {
|
8473 |
+
"version": "1.3.587",
|
8474 |
+
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.587.tgz",
|
8475 |
+
"integrity": "sha512-8XFNxzNj0R8HpTQslWAw6UWpGSuOKSP3srhyFHVbGUGb8vTHckZGCyWi+iQlaXJx5DNeTQTQLd6xN11WSckkmA==",
|
8476 |
"dev": true
|
8477 |
},
|
8478 |
"elliptic": {
|
14542 |
}
|
14543 |
},
|
14544 |
"fsevents": {
|
14545 |
+
"version": "2.2.0",
|
14546 |
+
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.2.0.tgz",
|
14547 |
+
"integrity": "sha512-pKnaUh2TNvk+/egJdBw1h46LwyLx8BzEq+MGCf/RMCVfEHHsGOCWG00dqk91kUPPArIIwMBg9T/virxwzP03cA==",
|
14548 |
"dev": true,
|
14549 |
"optional": true
|
14550 |
},
|
18131 |
}
|
18132 |
},
|
18133 |
"npm-check-updates": {
|
18134 |
+
"version": "9.2.4",
|
18135 |
+
"resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-9.2.4.tgz",
|
18136 |
+
"integrity": "sha512-YXEIqKXzxOhtPWg670+JAp/jPtjfTdaBJVGSlWL3eHbUDY4O80ELQNGO/qDy8oxh3pOrxSdII7vNglDf4FDw4w==",
|
18137 |
"dev": true,
|
18138 |
"requires": {
|
18139 |
"chalk": "^4.1.0",
|
18140 |
"cint": "^8.2.1",
|
18141 |
"cli-table": "^0.3.1",
|
18142 |
+
"commander": "^6.2.0",
|
18143 |
"find-up": "5.0.0",
|
18144 |
"get-stdin": "^8.0.0",
|
18145 |
"json-parse-helpfulerror": "^1.0.3",
|
18150 |
"pacote": "^11.1.11",
|
18151 |
"parse-github-url": "^1.0.2",
|
18152 |
"progress": "^2.0.3",
|
18153 |
+
"prompts": "^2.4.0",
|
18154 |
"rc-config-loader": "^3.0.0",
|
18155 |
"remote-git-tags": "^3.0.0",
|
18156 |
"rimraf": "^3.0.2",
|
18706 |
}
|
18707 |
},
|
18708 |
"npm-registry-fetch": {
|
18709 |
+
"version": "9.0.0",
|
18710 |
+
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-9.0.0.tgz",
|
18711 |
+
"integrity": "sha512-PuFYYtnQ8IyVl6ib9d3PepeehcUeHN9IO5N/iCRhyg9tStQcqGQBRVHmfmMWPDERU3KwZoHFvbJ4FPXPspvzbA==",
|
18712 |
"dev": true,
|
18713 |
"requires": {
|
18714 |
"@npmcli/ci-detect": "^1.0.0",
|
19437 |
}
|
19438 |
},
|
19439 |
"pacote": {
|
19440 |
+
"version": "11.1.12",
|
19441 |
+
"resolved": "https://registry.npmjs.org/pacote/-/pacote-11.1.12.tgz",
|
19442 |
+
"integrity": "sha512-suazooYMzefXr3glexAX4+q+qqH3wrzchtj+EivwiCCr/tsaHe9HtdHSx3R8YPjulAhojBZ2JkAVy13QwA8Jpg==",
|
19443 |
"dev": true,
|
19444 |
"requires": {
|
19445 |
"@npmcli/git": "^2.0.1",
|
19455 |
"npm-package-arg": "^8.0.1",
|
19456 |
"npm-packlist": "^2.1.0",
|
19457 |
"npm-pick-manifest": "^6.0.0",
|
19458 |
+
"npm-registry-fetch": "^9.0.0",
|
19459 |
"promise-retry": "^1.1.1",
|
19460 |
"read-package-json-fast": "^1.1.3",
|
19461 |
"rimraf": "^3.0.2",
|
20697 |
}
|
20698 |
},
|
20699 |
"react-easy-crop": {
|
20700 |
+
"version": "3.3.0",
|
20701 |
+
"resolved": "https://registry.npmjs.org/react-easy-crop/-/react-easy-crop-3.3.0.tgz",
|
20702 |
+
"integrity": "sha512-3udl/ZlyHkCldtNpY0XdNNym6gugRStII7j93KXaZyVACfiMvb5WQmieGnkGIffItNQnOGQ44X1koe165rUPNQ==",
|
20703 |
"requires": {
|
20704 |
"tslib": "2.0.1"
|
20705 |
},
|
21197 |
},
|
21198 |
"dependencies": {
|
21199 |
"is-buffer": {
|
21200 |
+
"version": "2.0.5",
|
21201 |
+
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz",
|
21202 |
+
"integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==",
|
21203 |
"dev": true
|
21204 |
},
|
21205 |
"is-plain-obj": {
|
22010 |
}
|
22011 |
},
|
22012 |
"sass-loader": {
|
22013 |
+
"version": "10.0.5",
|
22014 |
+
"resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-10.0.5.tgz",
|
22015 |
+
"integrity": "sha512-2LqoNPtKkZq/XbXNQ4C64GFEleSEHKv6NPSI+bMC/l+jpEXGJhiRYkAQToO24MR7NU4JRY2RpLpJ/gjo2Uf13w==",
|
22016 |
"dev": true,
|
22017 |
"requires": {
|
22018 |
"klona": "^2.0.4",
|
24416 |
"dev": true
|
24417 |
},
|
24418 |
"jest-worker": {
|
24419 |
+
"version": "26.6.2",
|
24420 |
+
"resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz",
|
24421 |
+
"integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==",
|
24422 |
"dev": true,
|
24423 |
"requires": {
|
24424 |
"@types/node": "*",
|