VK All in One Expansion Unit - Version 7.6.0

Version Description

  • [ Add function ][ VK Blocks ][ Outer ] Add border setting function.
Download this release

Release Info

Developer kurudrive
Plugin Icon 128x128 VK All in One Expansion Unit
Version 7.6.0
Comparing to
See all releases

Code changes from version 7.5.5 to 7.6.0

plugins/vk-blocks-config.php CHANGED
@@ -7,7 +7,7 @@ if ( ! function_exists( 'vkblocks_active' ) ) {
7
// Set asset URL.
8
define( 'VK_BLOCKS_URL', plugin_dir_url( __FILE__ ) . 'vk-blocks/' );
9
// Set version number.
10
- define( 'VK_BLOCKS_VERSION', '0.4.7' );
11
12
global $vk_blocks_prefix;
13
$vk_blocks_prefix = veu_get_prefix();
7
// Set asset URL.
8
define( 'VK_BLOCKS_URL', plugin_dir_url( __FILE__ ) . 'vk-blocks/' );
9
// Set version number.
10
+ define( 'VK_BLOCKS_VERSION', '0.5.0' );
11
12
global $vk_blocks_prefix;
13
$vk_blocks_prefix = veu_get_prefix();
plugins/vk-blocks/build/block-build.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e){var t={};function n(o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t,n){"use strict";e.exports=n(1)},function(e,t,n){"use strict";
2
/** @license React v16.7.0
3
* react.production.min.js
4
*
@@ -6,10 +6,10 @@
6
*
7
* This source code is licensed under the MIT license found in the
8
* LICENSE file in the root directory of this source tree.
9
- */var o=n(2),a="function"==typeof Symbol&&Symbol.for,l=a?Symbol.for("react.element"):60103,r=a?Symbol.for("react.portal"):60106,c=a?Symbol.for("react.fragment"):60107,i=a?Symbol.for("react.strict_mode"):60108,s=a?Symbol.for("react.profiler"):60114,u=a?Symbol.for("react.provider"):60109,m=a?Symbol.for("react.context"):60110,p=a?Symbol.for("react.concurrent_mode"):60111,b=a?Symbol.for("react.forward_ref"):60112,f=a?Symbol.for("react.suspense"):60113,k=a?Symbol.for("react.memo"):60115,v=a?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function d(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);!function(e,t,n,o,a,l,r,c){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var i=[n,o,a,l,r,c],s=0;(e=Error(t.replace(/%s/g,function(){return i[s++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function h(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||_}function E(){}function C(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||_}h.prototype.isReactComponent={},h.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&d("85"),this.updater.enqueueSetState(this,e,t,"setState")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=h.prototype;var w=C.prototype=new E;w.constructor=C,o(w,h.prototype),w.isPureReactComponent=!0;var R={current:null,currentDispatcher:null},N=Object.prototype.hasOwnProperty,B={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var o=void 0,a={},r=null,c=null;if(null!=t)for(o in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(r=""+t.key),t)N.call(t,o)&&!B.hasOwnProperty(o)&&(a[o]=t[o]);var i=arguments.length-2;if(1===i)a.children=n;else if(1<i){for(var s=Array(i),u=0;u<i;u++)s[u]=arguments[u+2];a.children=s}if(e&&e.defaultProps)for(o in i=e.defaultProps)void 0===a[o]&&(a[o]=i[o]);return{$typeof:l,type:e,key:r,ref:c,props:a,_owner:R.current}}function S(e){return"object"==typeof e&&null!==e&&e.$typeof===l}var I=/\/+/g,T=[];function O(e,t,n,o){if(T.length){var a=T.pop();return a.result=e,a.keyPrefix=t,a.func=n,a.context=o,a.count=0,a}return{result:e,keyPrefix:t,func:n,context:o,count:0}}function A(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>T.length&&T.push(e)}function P(e,t,n){return null==e?0:function e(t,n,o,a){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var i=!1;if(null===t)i=!0;else switch(c){case"string":case"number":i=!0;break;case"object":switch(t.$typeof){case l:case r:i=!0}}if(i)return o(a,t,""===n?"."+j(t,0):n),1;if(i=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s<t.length;s++){var u=n+j(c=t[s],s);i+=e(c,u,o,a)}else if(u=null===t||"object"!=typeof t?null:"function"==typeof(u=g&&t[g]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),s=0;!(c=t.next()).done;)i+=e(c=c.value,u=n+j(c,s++),o,a);else"object"===c&&d("31","[object Object]"==(o=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":o,"");return i}(e,"",t,n)}function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"quot;+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function z(e,t){e.func.call(e.context,t,e.count++)}function M(e,t,n){var o=e.result,a=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,o,n,function(e){return e}):null!=e&&(S(e)&&(e=function(e,t){return{$typeof:l,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,a+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(I,"amp;/")+"/")+n)),o.push(e))}function L(e,t,n,o,a){var l="";null!=n&&(l=(""+n).replace(I,"amp;/")+"/"),P(e,M,t=O(t,l,o,a)),A(t)}var F={Children:{map:function(e,t,n){if(null==e)return e;var o=[];return L(e,o,null,t,n),o},forEach:function(e,t,n){if(null==e)return e;P(e,z,t=O(null,null,t,n)),A(t)},count:function(e){return P(e,function(){return null},null)},toArray:function(e){var t=[];return L(e,t,null,function(e){return e}),t},only:function(e){return S(e)||d("143"),e}},createRef:function(){return{current:null}},Component:h,PureComponent:C,createContext:function(e,t){return void 0===t&&(t=null),(e={$typeof:m,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$typeof:b,render:e}},lazy:function(e){return{$typeof:v,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$typeof:k,type:e,compare:void 0===t?null:t}},Fragment:c,StrictMode:i,Suspense:f,createElement:x,cloneElement:function(e,t,n){null==e&&d("267",e);var a=void 0,r=o({},e.props),c=e.key,i=e.ref,s=e._owner;if(null!=t){void 0!==t.ref&&(i=t.ref,s=R.current),void 0!==t.key&&(c=""+t.key);var u=void 0;for(a in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)N.call(t,a)&&!B.hasOwnProperty(a)&&(r[a]=void 0===t[a]&&void 0!==u?u[a]:t[a])}if(1===(a=arguments.length-2))r.children=n;else if(1<a){u=Array(a);for(var m=0;m<a;m++)u[m]=arguments[m+2];r.children=u}return{$typeof:l,type:e.type,key:c,ref:i,props:r,_owner:s}},createFactory:function(e){var t=x.bind(null,e);return t.type=e,t},isValidElement:S,version:"16.7.0",unstable_ConcurrentMode:p,unstable_Profiler:s,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:R,assign:o}},U={default:F},D=U&&F||U;e.exports=D.default||D},function(e,t,n){"use strict";
10
/*
11
object-assign
12
(c) Sindre Sorhus
13
@license MIT
14
- */var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var s in n=Object(arguments[i]))a.call(n,s)&&(c[s]=n[s]);if(o){r=o(n);for(var u=0;u<r.length;u++)l.call(n,r[u])&&(c[r[u]]=n[r[u]])}}return c}},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.editor.RichText;o("vk-blocks/alert",{title:n("Alert","vk-blocks"),icon:"info",category:"vk-blocks-cat",attributes:{style:{type:"string",default:"info"},content:{type:"string",source:"html",selector:"p"}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=t.style,l=t.content;return React.createElement("div",{className:"alert alert-".concat(o)},React.createElement("select",{onChange:function(e){n({style:e.target.value})}},React.createElement("option",{value:"success",selected:"success"===o},"Success"),React.createElement("option",{value:"info",selected:"info"===o},"Info"),React.createElement("option",{value:"warning",selected:"warning"===o},"Warning"),React.createElement("option",{value:"danger",selected:"danger"===o},"Danger")),React.createElement(a,{tagName:"p",onChange:function(e){n({content:e})},value:l}))},save:function(e){var t=e.attributes,n=t.style,o=t.content;return React.createElement("div",{className:"alert alert-".concat(n)},React.createElement(a.Content,{tagName:"p",value:o}))}})},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.components,l=(a.RangeControl,a.RadioControl),r=a.PanelBody,c=a.Button,i=wp.element.Fragment,s=wp.editor,u=s.RichText,m=s.InspectorControls,p=s.MediaUpload,b=s.ColorPalette,f=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},React.createElement("path",{d:"M544 450.583c0 22.75 13.014 42.454 32 52.092v7.969c-5.313 0.727-10.736 1.112-16.25 1.112-34.004 0-64.674-14.264-86.361-37.132-13.111 3.491-27.001 5.376-41.389 5.376-79.529 0-144-57.308-144-128s64.471-128 144-128c79.529 0 144 57.308 144 128 0 27.674-9.882 53.296-26.678 74.233-3.412 7.412-5.322 15.656-5.322 24.35zM115.339 110.593c-33.107 26.899-51.339 61.492-51.339 97.407 0 20.149 5.594 39.689 16.626 58.075 11.376 18.96 28.491 36.293 49.494 50.126 15.178 9.996 25.39 25.974 28.088 43.947 0.9 5.992 1.464 12.044 1.685 18.062 3.735-3.097 7.375-6.423 10.94-9.988 12.077-12.076 28.39-18.745 45.251-18.745 2.684 0 5.381 0.168 8.078 0.512 10.474 1.331 21.172 2.008 31.797 2.010v64c-13.564-0.001-26.877-0.869-39.871-2.521-54.989 54.989-120.625 64.85-184.088 66.298v-13.458c34.268-16.789 64-47.37 64-82.318 0-4.877-0.379-9.665-1.082-14.348-57.898-38.132-94.918-96.377-94.918-161.652 0-114.875 114.615-208 256-208 139.229 0 252.496 90.307 255.918 202.76-20.548-9.158-42.92-14.711-66.131-16.289-5.765-28.034-22.701-54.408-49.126-75.878-17.661-14.349-38.458-25.695-61.814-33.722-24.853-8.54-51.38-12.871-78.847-12.871s-53.994 4.331-78.847 12.871c-23.356 8.027-44.153 19.372-61.814 33.722z"}));o("vk-blocks/balloon",{title:n("Ballon","vk-blocks"),icon:f,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}},edit:function(e){var t=e.attributes,o=e.className,a=e.setAttributes,s=t.content,f=t.balloonName,k=t.balloonType,v=t.balloonBgColor,g=t.balloonAlign,d=t.IconImage;return React.createElement(i,null,React.createElement(m,null,React.createElement(r,{title:n("Balloon setting","vk-blocks")},React.createElement(l,{label:n("Position","vk-blocks"),help:n("Please specify the layout of the balloon.","vk-blocks"),selected:g,options:[{label:n("Left","vk-blocks"),value:"position-left"},{label:n("Right","vk-blocks"),value:"position-right"}],onChange:function(e){return a({balloonAlign:e})}}),React.createElement(l,{label:n("Type","vk-blocks"),help:n("Please select the type of balloon.","vk-blocks"),selected:k,options:[{label:n("Serif","vk-blocks"),value:"type-serif"},{label:n("Thinking","vk-blocks"),value:"type-think"}],onChange:function(e){return a({balloonType:e})}}),React.createElement(b,{value:v,onChange:function(e){return a({balloonBgColor:e})}}))),React.createElement("div",{className:"".concat(o," vk_balloon vk_balloon-").concat(g," vk_balloon-").concat(k)},React.createElement("div",{className:"vk_balloon_icon"},React.createElement(p,{onSelect:function(e){return a({IconImage:e.sizes.full.url})},type:"image",className:"vk_balloon_icon_image",value:d,render:function(e){var t=e.open;return React.createElement(c,{onClick:t,className:d?"image-button":"button button-large"},d?React.createElement("img",{className:"vk_balloon_icon_image",src:d,alt:n("Upload image","vk-blocks")}):n("Select image","vk-blocks"))}}),React.createElement(u,{tagName:"figcaption",className:"vk_balloon_icon_name",onChange:function(e){return a({balloonName:e})},value:f,placeholder:n("Icon Name","vk-blocks")})),React.createElement(u,{style:{background:v,border:v},tagName:"p",className:"vk_balloon_content",onChange:function(e){return a({content:e})},value:s,placeholder:n("Input text","vk-blocks")})))},save:function(e){var t=e.attributes,n=(e.className,t.content),o=t.balloonName,a=t.balloonType,l=t.balloonBgColor,r=t.balloonAlign,c=t.IconImage;return React.createElement("div",{className:"vk_balloon vk_balloon-".concat(r," vk_balloon-").concat(a)},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(u.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:o})):""),React.createElement(u.Content,{className:"vk_balloon_content",style:{background:l,border:l},tagName:"p",value:n}))}})},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.editor.RichText,l=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},React.createElement("path",{d:"M178.9,191.6c7.2,5,12,8.2,14.2,9.4c3.3,1.9,7.8,4,13.4,6.5l-16.1,32.4c-8.1-3.9-16.1-8.6-24-14 c-7.9-5.4-13.4-9.5-16.6-12.2c-12.8,5.5-28.8,8.3-48,8.3c-28.4,0-50.9-7.4-67.3-22.2c-19.4-17.5-29.1-42.2-29.1-73.9 c0-30.8,8.5-54.7,25.5-71.8c17-17.1,40.7-25.6,71.2-25.6c31.1,0,55,8.3,71.9,25c16.9,16.7,25.3,40.6,25.3,71.6 C199.3,152.8,192.5,175,178.9,191.6z M134.6,161.9c4.6-8.3,6.9-20.6,6.9-37c0-18.9-3.5-32.4-10.5-40.5c-7-8.1-16.7-12.1-29-12.1 c-11.5,0-20.8,4.1-28,12.4c-7.1,8.3-10.7,21.2-10.7,38.7c0,20.4,3.5,34.8,10.5,43c7,8.3,16.6,12.4,28.7,12.4 c3.9,0,7.6-0.4,11.1-1.1c-4.9-4.7-12.5-9.1-23-13.3l9.1-20.8c5.1,0.9,9.1,2.1,11.9,3.4c2.9,1.4,8.4,4.9,16.7,10.7 C130.1,159.1,132.3,160.5,134.6,161.9z"}),React.createElement("path",{d:"M137.9,452.6H72.2l-9.1,30.9l-59,0l70.3-187.2h63.1l70.3,187.2h-60.6L137.9,452.6z M125.9,412.1l-20.7-67.3l-20.4,67.3 H125.9z"}),React.createElement("path",{d:"M553.9,239.9h-303c-10,0-18.1-8.1-18.1-18.1c0-10,8.1-18.1,18.1-18.1h303c10,0,18.1,8.1,18.1,18.1 C572,231.8,563.9,239.9,553.9,239.9z"}),React.createElement("path",{d:"M553.9,483.5h-303c-10,0-18.1-8.1-18.1-18.1c0-10,8.1-18.1,18.1-18.1h303c10,0,18.1,8.1,18.1,18.1 C572,475.4,563.9,483.5,553.9,483.5z"}));o("vk-blocks/faq",{title:n("FAQ","vk-blocks"),icon:l,category:"vk-blocks-cat",attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"}},edit:function(e){var t=e.attributes,o=e.setAttributes,l=t.heading,r=t.content;return React.createElement("dl",{className:"vk_faq"},React.createElement(a,{tagName:"dt",className:"vk_faq_title",onChange:function(e){return o({heading:e})},value:l,placeholder:n("Please enter a question.","vk-blocks")}),React.createElement(a,{tagName:"dd",className:"vk_faq_content",onChange:function(e){return o({content:e})},value:r,placeholder:n("Please enter a answer.","vk-blocks")}))},save:function(e){var t=e.attributes,n=t.heading,o=t.content;return React.createElement("dl",{className:"vk_faq"},React.createElement(a.Content,{tagName:"dt",className:"vk_faq_title",value:n}),React.createElement(a.Content,{tagName:"dd",className:"vk_faq_content",value:o}))}})},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,a=wp.components,l=(a.RangeControl,a.RadioControl),r=a.PanelBody,c=a.Button,i=(a.PanelColor,wp.element.Fragment),s=wp.editor,u=s.RichText,m=s.InspectorControls,p=s.MediaUpload;s.ColorPalette;o("vk-blocks/flow",{title:n("Flow","vk-blocks"),icon:"arrow-down",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}},edit:function(e){var t=e.attributes,o=e.setAttributes,a=t.heading,s=t.content,b=t.insertImage,f=t.arrowFlag;return[React.createElement(i,null,React.createElement(m,null,React.createElement(r,{title:n("Display of arrow","vk-blocks")},React.createElement(l,{selected:f,options:[{label:n("Arrow display","vk-blocks"),value:"vk_flow-arrow-on"},{label:n("Arrow hidden","vk-blocks"),value:"vk_flow-arrow-off"}],onChange:function(e){return o({arrowFlag:e})}}))),React.createElement("div",{className:"".concat(f," vk_flow")},React.createElement("div",{className:"vk_flow_frame"},React.createElement("dl",{className:"vk_flow_frame_text"},React.createElement(u,{tagName:"dt",className:"vk_flow_frame_text_title",onChange:function(e){return o({heading:e})},value:a,placeholder:n("Input title","vk-blocks")}),React.createElement(u,{tagName:"dd",className:"vk_flow_frame_text_content",onChange:function(e){return o({content:e})},value:s,placeholder:n("Input content","vk-blocks")})),React.createElement("div",{className:"vk_flow_frame_image"},React.createElement(p,{onSelect:function(e){return o({insertImage:e.url})},type:"image",className:"vk_flow_frame_image",value:b,render:function(e){var t=e.open;return React.createElement(c,{onClick:t,className:b?"image-button":"button button-large"},b?React.createElement("img",{className:"icon-image",src:b,alt:n("Upload image","vk-blocks")}):n("Select image","vk-blocks"))}})))))]},save:function(e){var t=e.attributes,n=t.heading,o=t.content,a=t.insertImage,l=t.arrowFlag;return React.createElement("div",{className:"".concat(l," vk_flow")},React.createElement("div",{className:"vk_flow_frame"},React.createElement("dl",{className:"vk_flow_frame_text"},React.createElement(u.Content,{tagName:"dt",className:"vk_flow_frame_text_title",value:n}),React.createElement(u.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:""})):""))}})},function(e,t){function n(e){throw new Error('"'+e+'" is read-only')}var o=wp.i18n.__,a=wp.blocks.registerBlockType,l=wp.components,r=(l.RangeControl,l.RadioControl),c=l.PanelBody,i=l.Button,s=l.BaseControl,u=l.CheckboxControl,m=l.TextControl,p=wp.element.Fragment,b=wp.editor,f=b.RichText,k=b.InspectorControls,v=b.MediaUpload,g=b.ColorPalette,d=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},React.createElement("g",null,React.createElement("g",null,React.createElement("circle",{cx:"288",cy:"186.2",r:"60"}),React.createElement("rect",{x:"213.5",y:"278.8",width:"149",height:"107"})),React.createElement("g",null,React.createElement("circle",{cx:"74.5",cy:"186.2",r:"60"}),React.createElement("rect",{y:"278.8",width:"149",height:"107"})),React.createElement("g",null,React.createElement("circle",{cx:"501.5",cy:"186.2",r:"60"}),React.createElement("rect",{x:"427",y:"278.8",width:"149",height:"107"}))));a("vk-blocks/pr-blocks",{title:o("PR Blocks (Beta)","vk-blocks"),icon:d,category:"vk-blocks-cat",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),edit:function(e){var t=e.attributes,n=e.setAttributes,a=t.heading1,l=t.heading2,b=t.heading3,d=t.content1,_=t.content2,y=t.content3,h=t.url1,E=t.url2,C=t.url3,w=t.urlOpenType1,R=t.urlOpenType2,N=t.urlOpenType3,B=t.icon1,x=t.icon2,S=t.icon3,I=t.color1,T=t.color2,O=t.color3,A=t.bgType1,P=t.bgType2,j=t.bgType3,z=t.insertImage1,M=t.insertImage2,L=t.insertImage3;return[React.createElement(p,null,React.createElement(k,null,React.createElement(c,{title:o("PR Block1 Setting","vk-blocks")},React.createElement(s,{label:o("Link URL:","vk-blocks")},React.createElement(m,{value:h,onChange:function(e){return n({url1:e})}}),React.createElement(u,{label:o("Open link new tab.","vk-blocks"),checked:w,onChange:function(e){return n({urlOpenType1:e})}})),React.createElement(s,{label:o("Icon 1","vk-blocks")},React.createElement(m,{label:o("Class name of the Font Awesome icon font you want to use:","vk-blocks"),value:B,onChange:function(e){return n({icon1:e})},placeholder:"fas fa-file"}),React.createElement(g,{value:I,onChange:function(e){e?n({color1:e}):(n({color1:"#0693e3"}),n({bgType1:"0"}))}}),React.createElement(r,{label:o("Icon Background:","vk-blocks"),selected:A,options:[{label:o("Solid color","vk-blocks"),value:"0"},{label:o("No background","vk-blocks"),value:"1"}],onChange:function(e){return n({bgType1:e})}})),React.createElement(s,{label:o("PR Image 1","vk-blocks"),help:o("When you have an image. Image is displayed with priority","vk-blocks")},React.createElement(v,{onSelect:function(e){return n({insertImage1:e.url})},type:"image",value:z,render:function(e){var t=e.open;return React.createElement(i,{onClick:t,className:z?"image-button":"button button-large"},z?React.createElement("img",{className:"icon-image",src:z,alt:o("Upload image","vk-blocks")}):o("Select image","vk-blocks"))}}))),React.createElement(c,{title:o("PR Block2 Setting","vk-blocks")},React.createElement(s,{label:o("Link URL:","vk-blocks")},React.createElement(m,{value:E,onChange:function(e){return n({url2:e})}}),React.createElement(u,{label:o("Open link new tab.","vk-blocks"),checked:R,onChange:function(e){return n({urlOpenType2:e})}})),React.createElement(s,{label:o("Icon 2","vk-blocks")},React.createElement(m,{label:o("Class name of the Font Awesome icon font you want to use:","vk-blocks"),value:x,onChange:function(e){return n({icon2:e})},placeholder:"fas fa-file"}),React.createElement(g,{value:T,onChange:function(e){e?n({color2:e}):(n({color2:"#0693e3"}),n({bgType2:"0"}))}}),React.createElement(r,{label:o("Icon Background:","vk-blocks"),selected:P,options:[{label:o("Solid color","vk-blocks"),value:"0"},{label:o("No background","vk-blocks"),value:"1"}],onChange:function(e){return n({bgType2:e})}})),React.createElement(s,{label:o("PR Image 2","vk-blocks"),help:o("When you have an image. Image is displayed with priority.","vk-blocks")},React.createElement(v,{onSelect:function(e){return n({insertImage2:e.url})},type:"image",value:M,render:function(e){var t=e.open;return React.createElement(i,{onClick:t,className:M?"image-button":"button button-large"},M?React.createElement("img",{className:"icon-image",src:M,alt:o("Upload image","vk-blocks")}):o("Select image","vk-blocks"))}}))),React.createElement(c,{title:o("PR Block3 Setting","vk-blocks")},React.createElement(s,{label:o("Link URL:","vk-blocks")},React.createElement(m,{value:C,onChange:function(e){return n({url3:e})}}),React.createElement(u,{label:o("Open link new tab.","vk-blocks"),checked:N,onChange:function(e){return n({urlOpenType3:e})}})),React.createElement(s,{label:o("Icon 3","vk-blocks")},React.createElement(m,{label:o("Class name of the Font Awesome icon font you want to use:","vk-blocks"),value:S,onChange:function(e){return n({icon3:e})},placeholder:"fas fa-file"}),React.createElement(g,{value:O,onChange:function(e){e?n({color3:e}):(n({color3:"#0693e3"}),n({bgType3:"0"}))}}),React.createElement(r,{label:o("Icon Background:","vk-blocks"),selected:j,options:[{label:o("Solid color","vk-blocks"),value:"0"},{label:o("No background","vk-blocks"),value:"1"}],onChange:function(e){return n({bgType3:e})}})),React.createElement(s,{label:o("PR Image 3","vk-blocks"),help:o("When you have an image. Image is displayed with priority.","vk-blocks")},React.createElement(v,{onSelect:function(e){return n({insertImage3:e.url})},type:"image",value:L,render:function(e){var t=e.open;return React.createElement(i,{onClick:t,className:L?"image-button":"button button-large"},L?React.createElement("img",{className:"icon-image",src:L,alt:o("Upload image","vk-blocks")}):o("Select image","vk-blocks"))}})))),React.createElement("article",{className:"vk_prBlocks row"},React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},z?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+z+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:z,alt:""})):"0"===A?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:I,border:"1px solid ".concat(I)}},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 "+I}},React.createElement("i",{className:"".concat(B," vk_prBlocks_item_icon"),style:{color:I}})),React.createElement(f,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h1",onChange:function(e){return n({heading1:e})},value:a,placeholder:o("Input title","vk-blocks")}),React.createElement(f,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(e){return n({content1:e})},value:d,placeholder:o("Input content","vk-blocks")})),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},M?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+M+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:M,alt:""})):"0"===P?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:T,border:"1px solid ".concat(T)}},React.createElement("i",{className:"".concat(x," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+T}},React.createElement("i",{className:"".concat(x," vk_prBlocks_item_icon"),style:{color:T}})),React.createElement(f,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h1",onChange:function(e){return n({heading2:e})},value:l,placeholder:o("Input title","vk-blocks")}),React.createElement(f,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(e){return n({content2:e})},value:_,placeholder:o("Input content","vk-blocks")})),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},L?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+L+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:L,alt:""})):"0"===j?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:O,border:"1px solid ".concat(O)}},React.createElement("i",{className:"".concat(S," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+O}},React.createElement("i",{className:"".concat(S," vk_prBlocks_item_icon"),style:{color:O}})),React.createElement(f,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h1",onChange:function(e){return n({heading3:e})},value:b,placeholder:o("Input title","vk-blocks")}),React.createElement(f,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(e){return n({content3:e})},value:y,placeholder:o("Input content","vk-blocks")}))))]},save:function(e){var t=e.attributes,o=t.heading1,a=t.heading2,l=t.heading3,r=t.content1,c=t.content2,i=t.content3,s=t.url1,u=t.url2,m=t.url3,p=t.urlOpenType1,b=t.urlOpenType2,k=t.urlOpenType3,v=t.icon1,g=t.icon2,d=t.icon3,_=t.color1,y=t.color2,h=t.color3,E=t.bgType1,C=t.bgType2,w=t.bgType3,R=t.insertImage1,N=t.insertImage2,B=t.insertImage3;return React.createElement("article",{className:"vk_prBlocks row"},React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:s,target:p?"_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:""})):(_||(n("color1"),_="#0693e3"),"0"===E?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:_,border:"1px solid ".concat(_)}},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 "+_}},React.createElement("i",{className:"".concat(v," vk_prBlocks_item_icon"),style:{color:_}}))),React.createElement(f.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h1",value:o}),React.createElement(f.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",value:r}))),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:u,target:b?"_blank":"_self",className:"vk_prBlocks_item_link"},N?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+N+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:N,alt:""})):(y||(n("color2"),y="#0693e3"),"0"===C?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:y,border:"1px solid ".concat(y)}},React.createElement("i",{className:"".concat(g," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+y}},React.createElement("i",{className:"".concat(g," vk_prBlocks_item_icon"),style:{color:y}}))),React.createElement(f.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h1",value:a}),React.createElement(f.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",value:c}))),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:m,target:k?"_blank":"_self",className:"vk_prBlocks_item_link"},B?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+B+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:B,alt:""})):(h||(n("color3"),h="#0693e3"),"0"===w?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:h,border:"1px solid ".concat(h)}},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 "+h}},React.createElement("i",{className:"".concat(d," vk_prBlocks_item_icon"),style:{color:h}}))),React.createElement(f.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h1",value:l}),React.createElement(f.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",value:i}))))}})},function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),l=function(e,t,n,o){var a,l,r;return t||(t="#fff"),"tilt"===o?(a=Math.abs(e),r=function(e,t){if(e>0)return React.createElement("path",{d:"m0,".concat(100-e," L100,100 L0,100 z"),strokeWidth:"0",fill:t});if(e<0){var n=Math.abs(e);return React.createElement("path",{d:"m100,".concat(100-n," L0,100 L100,100 z"),strokeWidth:"0",fill:t})}}(e,t)):"curve"===o?(e>0?a=Math.abs(e):e<0&&(a=2*Math.abs(e)),r=function(e,t){return e>0?React.createElement("path",{d:"m0,".concat(100-e," q50,").concat(2*e,",100,0 V100 L0,100 z"),strokeWidth:"0",fill:t}):e<0?React.createElement("path",{d:"m0,100 q50,".concat(2*e,",100,0 V100 L0,100 z"),strokeWidth:"0",fill:t}):void 0}(e,t)):"wave"===o?(a=Math.abs(e),r=function(e,t){return e>0?React.createElement("path",{d:"m0,".concat(100-e/2," q20,").concat(e,",40,0 t40,0 t40,0 V100 L0,100 z"),strokeWidth:"0",fill:t}):e<0?React.createElement("path",{d:"m0,".concat(e/2+100," q20,").concat(e,",40,0 t40,0 t40,0 V100 L0,100 z"),strokeWidth:"0",fill:t}):void 0}(e,t)):"triangle"===o&&(a=Math.abs(e),r=function(e,t){var n=Math.abs(e),o=n/4;return e>0?React.createElement("path",{d:"m0,100 h".concat(50-o," l").concat(o,",-").concat(n," l").concat(o,",").concat(n," h").concat(o," v100 h-100 z"),strokeWidth:"0",fill:t}):e<0?React.createElement("path",{d:"m0,".concat(100-n," h").concat(50-o," l").concat(o,",").concat(n," l").concat(o,",-").concat(n," h").concat(50-o," v").concat(n+1," h-100 z"),strokeWidth:"0",fill:t}):void 0}(e,t)),l=o,"upper"===n?React.createElement("div",{className:"vk_outer_separator vk_outer_separator-position-upper vk_outer_separator-type-".concat(l),style:{paddingBottom:a+"px"}},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"},r)):"lower"===n?React.createElement("div",{className:"vk_outer_separator vk_outer_separator-position-lower vk_outer_separator-type-".concat(l),style:{paddingTop:a+"px"}},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"},r)):void 0};function r(e){return(r="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 c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t){return!t||"object"!==r(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 s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=wp.editor.InnerBlocks;function p(e,t){var n=e.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})#x2F;i),o=null;return n&&(o=n.slice(1,4).map(function(e){return parseInt(e,16)})),(n=e.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])#x2F;i))&&(o=n.slice(1,4).map(function(e){return 17*parseInt(e,16)})),o?"rgba(".concat(o[0],", ").concat(o[1],", ").concat(o[2],", ").concat(t,")"):null}var b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i(this,s(t).apply(this,arguments))}var n,o,r;return 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&&u(e,t)}(t,a.a.Component),n=t,(o=[{key:"render",value:function(){var e,t,n,o,r,c,i,s,u=this.props.attributes,b=u.bgColor,f=u.bgImage,k=u.bgPosition,v=u.outerWidth,g=u.padding_left_and_right,d=u.padding_top_and_bottom,_=u.opacity,y=u.upper_level,h=u.lower_level,E=u.upperDividerBgColor,C=u.lowerDividerBgColor,w=u.dividerType,R=this.props.for_;return o=" vk_outer-width-".concat(v),b=p(b||"#fff",_),n="parallax"===k?" vk_outer-bgPosition-parallax vk-prlx":"fixed"===k?" vk_outer-bgPosition-fixed":" vk_outer-bgPosition-normal",e="1"===g?" vk_outer-paddingLR-use":" vk_outer-paddingLR-none",t="1"===d?" vk_outer-paddingVertical-use":" vk_outer-paddingVertical-none",y&&(i="upper"),h&&(s="lower"),"edit"===R?r=a.a.createElement(m,null):(r=a.a.createElement(m.Content,null),c="vk_outer_container"),a.a.createElement("div",{className:"vk_outer"+o+e+t+n,style:{background:"linear-gradient(".concat(b,", ").concat(b,"), url(").concat(f,")")}},l(y,E,i,w),a.a.createElement("div",{className:c},r),l(h,C,s,w))}}])&&c(n.prototype,o),r&&c(n,r),t}();function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e=Number(e),(isNaN(e)||e<t)&&(e=t),null!==n&&e>n&&(e=n),e}var k=wp.i18n.__,v=wp.blocks.registerBlockType,g=wp.components,d=g.RangeControl,_=g.RadioControl,y=g.PanelBody,h=g.Button,E=(g.PanelColor,g.BaseControl),C=g.SelectControl,w=wp.element.Fragment,R=wp.editor,N=(R.RichText,R.InspectorControls),B=R.MediaUpload,x=R.ColorPalette,S=(R.InnerBlocks,a.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},a.a.createElement("path",{d:"M288,381c50.7,0,92-41.3,92-92s-41.3-92-92-92s-92,41.3-92,92S237.3,381,288,381z M288,227c34.2,0,62,27.8,62,62 s-27.8,62-62,62s-62-27.8-62-62S253.8,227,288,227z"}),a.a.createElement("polygon",{points:"273,342 303,342 303,304 341,304 341,274 303,274 303,236 273,236 273,274 235,274 235,304 273,304 "}),a.a.createElement("path",{d:"M1.8,155.5v267h572.5v-267H1.8z M544.2,392.5H31.8v-207h512.5L544.2,392.5L544.2,392.5z"}),a.a.createElement("g",null,a.a.createElement("path",{d:"M39.8,10.3c-13.3,0-25.7,0.9-37.6,2.6L2,136.9h33.3l0.1-39c3,0.4,6.7,0.5,11.1,0.5c16.7,0,29.5-3.9,38.3-11.7 c8.7-7.7,13.1-19.3,13.1-34.4C98,24.3,78.6,10.4,39.8,10.3z M62,68.5c-3.6,3.4-9.2,5.2-16.6,5.2c-0.6,0-1.1,0-1.6,0 c-0.2,0-0.4,0-0.6,0c-2.8,0-5.4-0.1-7.7-0.5l0-22l-1.3-14.3c2.6-0.6,5.2-0.9,7.7-0.9c0.2,0,0.5,0,0.7,0c0.2,0,0.4,0,0.7,0 c13.6,0,21.1,4.7,22.7,14c0.3,1.2,0.6,2.6,0.7,4C67.2,60.2,65.6,65,62,68.5z"}),a.a.createElement("path",{d:"M141.3,65H141l0-17.1h-32.5l-0.2,88.9h33.3l0.1-35c0.1-8.6,3.2-15.7,9.7-21.4c6.5-5.7,14.9-8.5,25.4-8.5h3.4l0-23.9h-3.4 C161.7,48.1,149.8,53.7,141.3,65z"}),a.a.createElement("path",{d:"M266.7,58.5c-8-8.1-19.3-12.2-34-12.2c-14.6,0-25.9,4.1-34,12.2c-8.1,8.1-12.2,19.4-12.2,33.9c-0.1,14.5,4,25.8,12,33.9 c8,8.1,19.3,12.2,34,12.2c14.6,0,25.9-4.1,34-12.2c8.1-8.1,12.2-19.4,12.2-33.9C278.7,78,274.7,66.6,266.7,58.5z M246.2,92.5 c0,8.9-1.2,15-3.3,18.6c-2.1,3.6-5.6,5.4-10.4,5.4s-8.3-1.8-10.5-5.4c-2.2-3.6-3.3-9.8-3.2-18.6c0-8.9,1.2-15,3.3-18.6 c2.1-3.6,5.6-5.4,10.4-5.4c4.8,0,8.3,1.8,10.5,5.4S246.3,83.7,246.2,92.5z"}))));v("vk-blocks/outer",{title:k("Outer","vk-blocks"),icon:S,category:"vk-blocks-cat-layout",attributes:{bgColor:{type:"string",default:"#f3f4f5"},bgImage:{type:"string",default:null},outerWidth:{type:"string",default:"normal"},bgPosition:{type:"string",default:"normal"},padding_left_and_right:{type:"string",default:"1"},padding_top_and_bottom:{type:"string",default:"1"},opacity:{type:"number",default:.5},upper_level:{type:"number",default:0},lower_level:{type:"number",default:0},upperDividerBgColor:{type:"string",default:"#fff"},lowerDividerBgColor:{type:"string",default:"#fff"},dividerType:{type:"string",default:"tilt"}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=t.bgColor,l=t.bgImage,r=t.bgPosition,c=t.outerWidth,i=t.padding_left_and_right,s=t.padding_top_and_bottom,u=t.opacity,m=t.upper_level,p=t.lower_level,v=t.upperDividerBgColor,g=t.lowerDividerBgColor,R=t.dividerType;return a.a.createElement(w,null,a.a.createElement(N,null,a.a.createElement(y,{title:k("Background Setting","vk-blocks")},a.a.createElement(E,{label:k("Color Setting","vk-blocks"),help:k("Color will overcome background image. If you want to display image, clear background color or set opacity 0.","vk-blocks")},a.a.createElement(x,{value:o,onChange:function(e){return n({bgColor:e})}})),a.a.createElement(E,{label:k("Opacity Setting","vk-blocks")},a.a.createElement(d,{value:u,onChange:function(e){n({opacity:e})},min:0,max:1,step:.1})),a.a.createElement(E,{label:k("Background Image","vk-blocks"),help:""},a.a.createElement(B,{onSelect:function(e){return n({bgImage:e.url})},type:"image",value:l,render:function(e){var t=e.open;return a.a.createElement(h,{onClick:t,className:l?"image-button":"button button-large"},l?a.a.createElement("img",{className:"icon-image",src:l,alt:k("Upload image","vk-blocks")}):k("Select image","vk-blocks"))}}),a.a.createElement(_,{label:k("Background Position","vk-blocks"),selected:r,options:[{label:k("normal","vk-blocks"),value:"normal"},{label:k("Fixed","vk-blocks"),value:"fixed"},{label:k("Parallax (It will not work in preview)","vk-blocks"),value:"parallax"}],onChange:function(e){return n({bgPosition:e})}}))),a.a.createElement(y,{title:k("Layout Setting","vk-blocks")},a.a.createElement(E,null,a.a.createElement(_,{label:k("Outer width","vk-blocks"),selected:c,options:[{label:k("Normal","vk-blocks"),value:"normal"},{label:k("Full Wide","vk-blocks"),value:"full"}],onChange:function(e){return n({outerWidth:e})}}),a.a.createElement(_,{label:k("Padding (left and right)","vk-blocks"),selected:i,options:[{label:k("Use default padding","vk-blocks"),value:"1"},{label:k("Do not use default padding (When it is full width etc.).","vk-blocks"),value:"0"}],onChange:function(e){return n({padding_left_and_right:e})}}),a.a.createElement(_,{label:k("Padding (top and bottom)","vk-blocks"),selected:s,options:[{label:k("Use default padding","vk-blocks"),value:"1"},{label:k("Do not use default padding (Set it yourself using a spacer block etc.).","vk-blocks"),value:"0"}],onChange:function(e){return n({padding_top_and_bottom:e})}}))),a.a.createElement(y,{title:k("Divider Setting","vk-blocks")},a.a.createElement(E,null,a.a.createElement(C,{label:k("Type","vk-blocks"),value:R,onChange:function(e){return n({dividerType:e})},options:[{value:"tilt",label:k("Tilt","vk-blocks")},{value:"curve",label:k("Curve","vk-blocks")},{value:"wave",label:k("Wave","vk-blocks")},{value:"triangle",label:k("Triangle","vk-blocks")}]}),a.a.createElement(d,{label:k("Upper Divider Level","vk-blocks"),value:m,onChange:function(e){return n({upper_level:f(e,-100,100)})},min:"-100",max:"100"}),a.a.createElement(x,{value:v,onChange:function(e){return n({upperDividerBgColor:e})}}),a.a.createElement(d,{label:k("Lower Divider Level","vk-blocks"),value:p,onChange:function(e){return n({lower_level:f(e,-100,100)})},min:"-100",max:"100"}),a.a.createElement(x,{value:g,onChange:function(e){return n({lowerDividerBgColor:e})}})))),vk_blocks_check.is_pro?a.a.createElement(b,{attributes:t,for_:"edit"}):a.a.createElement("div",null,k("This block is only for users who bought Lightning Pro.","vk-blocks")))},save:function(e){var t=e.attributes;if(vk_blocks_check.is_pro)return a.a.createElement(b,{attributes:t,for_:"save"})}});n(3),n(4);function I(e){return(I="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 T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function O(e,t){return!t||"object"!==I(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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var j=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),O(this,A(t).apply(this,arguments))}var n,o,l;return 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&&P(e,t)}(t,a.a.Component),n=t,(o=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,o=this.props.lbAlign,l=this.props.lbSize,r=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbRichtext,m=this.props.lbsubCaption,p="",b={},f="",k="";return p="btn vk_button_link",e?(p="".concat(p," btn-primary btn-").concat(l),"0"===n?b={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===n&&(b={backgroundColor:"transparent",border:"1px solid "+e,color:e})):e||("0"===n?(p="".concat(p," btn-").concat(l," btn-").concat(t),b=null):"1"===n&&(p="".concat(p," btn-").concat(l," btn-outline-").concat(t),b=null)),"block"===o&&(p="".concat(p," btn-block")),i&&(f=a.a.createElement("i",{className:"".concat(i," vk_button_link_before")})),s&&(k=a.a.createElement("i",{className:"".concat(s," vk_button_link_after")})),a.a.createElement("a",{href:r,id:"vk_button_link",className:p,role:"button","aria-pressed":!0,style:b,target:c?"_blank":null},f,u,k,m&&a.a.createElement("p",{className:"vk_button_link_subCaption"},m))}}])&&T(n.prototype,o),l&&T(n,l),t}();function z(e){return(z="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 M(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function L(e,t){return!t||"object"!==z(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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var D=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),L(this,F(t).apply(this,arguments))}var n,o,l;return 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&&U(e,t)}(t,a.a.Component),n=t,(o=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,o=this.props.lbAlign,l=this.props.lbSize,r=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbRichtext,m=(this.props.lbsubCaption,""),p={},b="",f="";return m="btn vk_button_link",e?(m="".concat(m," btn-primary btn-").concat(l),"0"===n?p={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===n&&(p={backgroundColor:"transparent",border:"1px solid "+e,color:e})):e||("0"===n?(m="".concat(m," btn-").concat(l," btn-").concat(t),p=null):"1"===n&&(m="".concat(m," btn-").concat(l," btn-outline-").concat(t),p=null)),"block"===o&&(m="".concat(m," btn-block")),i&&(b=a.a.createElement("i",{className:"".concat(i," vk_button_link_before")})),s&&(f=a.a.createElement("i",{className:"".concat(s," vk_button_link_after")})),a.a.createElement("a",{href:r,className:m,role:"button","aria-pressed":!0,style:p,target:c?"_blank":null},b,u,f)}}])&&M(n.prototype,o),l&&M(n,l),t}(),$=wp.editor.RichText,W=[{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,o=t.buttonUrl,l=t.buttonTarget,r=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonAlign,m=t.fontAwesomeIconBefore,p=t.fontAwesomeIconAfter,b="";return s?b="vk_button vk_button-color-custom vk_button-align-".concat(u):s||(b="vk_button vk_button-align-".concat(u)),a.a.createElement("div",{className:b},a.a.createElement(D,{lbColorCustom:s,lbColor:i,lbType:c,lbAlign:u,lbSize:r,lbUrl:o,lbTarget:l,lbFontAwesomeIconBefore:m,lbFontAwesomeIconAfter:p,lbRichtext:a.a.createElement($.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}}],V=wp.i18n.__,q=wp.blocks.registerBlockType,H=wp.components,G=(H.RangeControl,H.RadioControl),Q=H.PanelBody,Y=(H.Button,H.BaseControl),J=H.CheckboxControl,K=H.TextControl,X=H.Dashicon,Z=H.IconButton,ee=wp.element.Fragment,te=wp.editor,ne=te.RichText,oe=te.InspectorControls,ae=(te.MediaUpload,te.ColorPalette),le=te.URLInput,re=a.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},a.a.createElement("g",null,a.a.createElement("path",{d:"M506,185v142H70V185H506 M526.4,137H49.6C34.4,137,22,149.4,22,164.6v182.8c0,15.2,12.4,27.6,27.6,27.6h476.8 c15.2,0,27.6-12.4,27.6-27.6V164.6C554,149.4,541.6,137,526.4,137L526.4,137z"})),a.a.createElement("g",null,a.a.createElement("path",{d:"M83.8,206.9h55.9c9.3,0,16.5,2.3,21.5,6.9c5,4.6,7.5,10.3,7.5,17.1c0,5.7-1.8,10.6-5.3,14.7c-2.4,2.7-5.8,4.9-10.4,6.5 c6.9,1.7,12.1,4.5,15.3,8.6c3.3,4.1,4.9,9.2,4.9,15.3c0,5-1.2,9.5-3.5,13.5c-2.3,4-5.5,7.2-9.6,9.5c-2.5,1.5-6.3,2.5-11.3,3.2 c-6.7,0.9-11.2,1.3-13.4,1.3H83.8V206.9z M113.9,244.8h13c4.7,0,7.9-0.8,9.7-2.4c1.8-1.6,2.7-3.9,2.7-7c0-2.8-0.9-5-2.7-6.6 c-1.8-1.6-5-2.4-9.5-2.4h-13.2V244.8z M113.9,282.8h15.2c5.1,0,8.8-0.9,10.9-2.7s3.2-4.3,3.2-7.4c0-2.9-1-5.2-3.1-6.9 c-2.1-1.7-5.7-2.6-11-2.6h-15.2V282.8z"}),a.a.createElement("path",{d:"M245.9,303.5h-25.1v-11.3c-3.7,4.7-7.5,8-11.3,10c-3.8,2-8.5,3-14,3c-7.4,0-13.2-2.2-17.4-6.6c-4.2-4.4-6.3-11.2-6.3-20.4 v-44.6h27V272c0,4.4,0.8,7.5,2.4,9.4c1.6,1.8,3.9,2.8,6.9,2.8c3.2,0,5.8-1.2,7.9-3.7s3.1-6.9,3.1-13.3v-33.7h26.8V303.5z"}),a.a.createElement("path",{d:"M282.4,206.9v26.6h14.8v19.7h-14.8V278c0,3,0.3,5,0.9,5.9c0.9,1.5,2.4,2.2,4.6,2.2c2,0,4.7-0.6,8.3-1.7l2,18.5 c-6.6,1.5-12.8,2.2-18.6,2.2c-6.7,0-11.6-0.9-14.8-2.6c-3.2-1.7-5.5-4.3-7-7.8c-1.5-3.5-2.3-9.1-2.3-17v-24.6h-9.9v-19.7h9.9v-12.9 L282.4,206.9z"}),a.a.createElement("path",{d:"M330.2,206.9v26.6H345v19.7h-14.8V278c0,3,0.3,5,0.9,5.9c0.9,1.5,2.4,2.2,4.6,2.2c2,0,4.7-0.6,8.3-1.7l2,18.5 c-6.6,1.5-12.8,2.2-18.6,2.2c-6.7,0-11.6-0.9-14.8-2.6c-3.2-1.7-5.5-4.3-7-7.8c-1.5-3.5-2.3-9.1-2.3-17v-24.6h-9.9v-19.7h9.9v-12.9 L330.2,206.9z"}),a.a.createElement("path",{d:"M339.6,268.7c0-10.7,3.6-19.5,10.8-26.4s16.9-10.4,29.2-10.4c14,0,24.6,4.1,31.8,12.2c5.8,6.6,8.6,14.6,8.6,24.2 c0,10.8-3.6,19.6-10.7,26.5c-7.1,6.9-17,10.3-29.6,10.3c-11.3,0-20.4-2.9-27.3-8.6C343.9,289.5,339.6,280.2,339.6,268.7z M366.5,268.7c0,6.2,1.3,10.9,3.8,13.8c2.5,3,5.7,4.5,9.5,4.5c3.9,0,7-1.5,9.5-4.4c2.5-2.9,3.7-7.7,3.7-14.2 c0-6.1-1.3-10.6-3.8-13.6s-5.6-4.5-9.3-4.5c-3.9,0-7.1,1.5-9.7,4.5C367.8,257.9,366.5,262.5,366.5,268.7z"}),a.a.createElement("path",{d:"M418.2,233.5h25v11.4c3.7-4.7,7.5-8,11.3-10c3.8-2,8.5-3,14-3c7.4,0,13.2,2.2,17.4,6.6c4.2,4.4,6.3,11.2,6.3,20.5v44.5h-27 V265c0-4.4-0.8-7.5-2.4-9.3c-1.6-1.8-3.9-2.7-6.9-2.7c-3.3,0-5.9,1.2-7.9,3.7c-2,2.5-3,6.9-3,13.3v33.6h-26.8V233.5z"})));q("vk-blocks/button",{title:V("Button","vk-blocks"),icon:re,category:"vk-blocks-cat",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}},edit:function(e){var t=e.attributes,n=(e.className,e.setAttributes),o=e.isSelected,l=t.content,r=t.subCaption,c=t.buttonUrl,i=t.buttonTarget,s=t.buttonSize,u=t.buttonType,m=t.buttonColor,p=t.buttonColorCustom,b=t.buttonAlign,f=t.fontAwesomeIconBefore,k=t.fontAwesomeIconAfter;return a.a.createElement(ee,null,a.a.createElement(oe,null,a.a.createElement(Q,{title:V("Button setting","vk-blocks")},a.a.createElement(K,{label:V("Sub Caption","vk-blocks"),value:r,onChange:function(e){return n({subCaption:e})},placeholder:"Sub Caption"}),a.a.createElement(J,{label:V("Open link new tab.","vk-blocks"),checked:i,onChange:function(e){return n({buttonTarget:e})}}),a.a.createElement(G,{label:V("Button Size:","vk-blocks"),selected:s,options:[{label:V("Large","vk-blocks"),value:"lg"},{label:V("normal","vk-blocks"),value:"md"},{label:V("Small","vk-blocks"),value:"sm"}],onChange:function(e){return n({buttonSize:e})}}),a.a.createElement(G,{label:V("Button Position:","vk-blocks"),selected:b,options:[{label:V("Left","vk-blocks"),value:"left"},{label:V("Center","vk-blocks"),value:"center"},{label:V("Right","vk-blocks"),value:"right"},{label:V("Block","vk-blocks"),value:"block"}],onChange:function(e){return n({buttonAlign:e})}}),a.a.createElement(G,{label:V("Button Style:","vk-blocks"),selected:u,options:[{label:V("Solid color","vk-blocks"),value:"0"},{label:V("No background","vk-blocks"),value:"1"}],help:V('If you select "No background", that you need to select a Custom Color.',"vk-blocks"),onChange:function(e){return n({buttonType:e})}}),a.a.createElement(G,{label:V("Default Color:","vk-blocks"),selected:m,options:[{label:V("Primary","vk-blocks"),value:"primary"},{label:V("Secondary","vk-blocks"),value:"secondary"},{label:V("Success","vk-blocks"),value:"success"},{label:V("Info","vk-blocks"),value:"info"},{label:V("Warning","vk-blocks"),value:"warning"},{label:V("Danger","vk-blocks"),value:"danger"},{label:V("Light","vk-blocks"),value:"light"},{label:V("Dark","vk-blocks"),value:"dark"}],onChange:function(e){return n({buttonColor:e})}}),a.a.createElement(Y,{label:V("Custom Color","vk-blocks"),help:V("This custom color overrides the default color. If you want to use the default color, click the clear button.","vk-blocks")},a.a.createElement(ae,{value:p,onChange:function(e){return n({buttonColorCustom:e})}})),a.a.createElement(Y,{label:V("Font Awesome:","vk-blocks"),help:a.a.createElement("a",{href:"https://fontawesome.com/icons?d=gallery&m=free",target:"_blank"},V("Font Awesome icon list","vk-blocks"))},a.a.createElement(K,{label:V("Before text","vk-blocks"),help:V("Enter Font Awesome Class.This icon will appear before text. Ex) fas fa-arrow-circle-right","vk-blocks"),value:f,onChange:function(e){return n({fontAwesomeIconBefore:e})},placeholder:"fas fa-arrow-circle-right"}),a.a.createElement(K,{label:V("After text","vk-blocks"),help:V("Enter Font Awesome Class.This icon will appear after text. Ex) fas fa-external-link-alt","vk-blocks"),value:k,onChange:function(e){return n({fontAwesomeIconAfter:e})},placeholder:"fas fa-external-link-alt"})))),a.a.createElement("div",{className:p?"vk_button vk_button-align-".concat(b," vk_button-color-custom"):"vk_button vk_button-align-".concat(b)},a.a.createElement(j,{lbColorCustom:p,lbColor:m,lbType:u,lbAlign:b,lbSize:s,lbFontAwesomeIconBefore:f,lbFontAwesomeIconAfter:k,lbsubCaption:r,lbRichtext:a.a.createElement(ne,{tagName:"span",className:"vk_button_link_txt",onChange:function(e){return n({content:e})},value:l,placeholder:V("Input text","vk-blocks"),formattingControls:["bold","italic","strikethrough"],keepPlaceholderOnFocus:!0})}),o&&a.a.createElement("form",{className:"block-library-button__inline-link",onSubmit:function(e){return e.preventDefault()}},a.a.createElement(X,{icon:"admin-links"}),a.a.createElement(le,{value:c,onChange:function(e){return n({buttonUrl:e})}}),a.a.createElement(Z,{icon:"editor-break",label:V("Apply","vk-blocks"),type:"submit"}))))},save:function(e){var t=e.attributes,n=(e.className,t.content),o=t.subCaption,l=t.buttonUrl,r=t.buttonTarget,c=t.buttonSize,i=t.buttonType,s=t.buttonColor,u=t.buttonColorCustom,m=t.buttonAlign,p=t.fontAwesomeIconBefore,b=t.fontAwesomeIconAfter,f="";return u?f="vk_button vk_button-color-custom vk_button-align-".concat(m):u||(f="vk_button vk_button-align-".concat(m)),a.a.createElement("div",{className:f},a.a.createElement(j,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:m,lbSize:c,lbUrl:l,lbTarget:r,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:b,lbsubCaption:o,lbRichtext:a.a.createElement(ne.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))},deprecated:W});n(5),n(6),n(7);function ce(e){return(ce="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 ie(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function se(e,t){return!t||"object"!==ce(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 ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var pe=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),se(this,ue(t).apply(this,arguments))}var n,o,l;return 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&&me(e,t)}(t,a.a.Component),n=t,(o=[{key:"render",value:function(){var e=this.props.attributes,t=e.buttonText,n=e.fontAwesomeIconBefore,o=e.fontAwesomeIconAfter,l="",r="";return n&&(l=a.a.createElement("i",{className:"".concat(n," vk_button_link_before")})),o&&(r=a.a.createElement("i",{className:"".concat(o," vk_button_link_after")})),a.a.createElement(a.a.Fragment,null,l,a.a.createElement("span",{className:"vk_button_link_txt"},t),r)}}])&&ie(n.prototype,o),l&&ie(n,l),t}();function be(e){return(be="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 fe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ke(e,t){return!t||"object"!==be(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 ve(e){return(ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var de=wp.i18n.__,_e=wp.components.Button,ye=wp.editor.MediaUpload,he=wp.editor.RichText,Ee=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ke(this,ve(t).apply(this,arguments))}var n,o,l;return 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&&ge(e,t)}(t,a.a.Component),n=t,(o=[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,o=e.content,l=e.contentColor,r=e.url,c=e.buttonType,i=e.buttonColor,s=e.buttonColorCustom,u=e.buttonText,m=e.buttonTarget,p=e.Image,b=e.ImageBorderColor,f=e.layout,k=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),v=this.props.for_,g="vk_prContent",d="vk_button",_="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};return g="".concat(g,"right"===f?" vk_prContent-layout-imageRight":" vk_prContent-layout-imageLeft"),s?(d="".concat(d," vk_button-color-custom"),_="".concat(_," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(_="".concat(_," btn-").concat(i),y=null):"1"===c&&(_="".concat(_," btn-outline-").concat(i),y=null)),a.a.createElement("div",{className:g},a.a.createElement("div",{className:"col-sm-6 vk_prContent_colImg"},"edit"===v?a.a.createElement(ye,{onSelect:function(e){return k({Image:e.sizes.full.url})},type:" image",value:p,render:function(e){var t=e.open;return a.a.createElement(_e,{onClick:t,className:p?"image-button":"button button-large"},p?a.a.createElement("img",{className:"vk_prContent_colImg_image",src:p,alt:de("Upload image","vk-blocks"),style:{border:"1px solid ".concat(b)}}):de("Select image","vk-blocks"))}}):p?a.a.createElement("img",{className:"vk_prContent_colImg_image",src:p,alt:de("Upload image","vk-blocks"),style:{border:"1px solid ".concat(b)}}):de("Select image","vk-blocks")),a.a.createElement("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===v?a.a.createElement(a.a.Fragment,null,a.a.createElement(he,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return k({title:e})},value:t,placeholder:de("Input title.","vk-blocks"),style:{color:n}}),a.a.createElement(he,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return k({content:e})},value:o,placeholder:de("Input content.","vk-blocks"),style:{color:l}})):a.a.createElement(a.a.Fragment,null,a.a.createElement(he.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),a.a.createElement(he.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:o,style:{color:l}})),function(){if(""!==u&&void 0!==u)return a.a.createElement("div",{className:d},a.a.createElement("a",{href:r,className:_,target:m?"_blank":null,style:y},a.a.createElement(pe,{attributes:e})))}()))}}])&&fe(n.prototype,o),l&&fe(n,l),t}(),Ce=wp.i18n.__,we=wp.blocks.registerBlockType,Re=wp.components,Ne=(Re.RangeControl,Re.RadioControl),Be=Re.PanelBody,xe=(Re.Button,Re.BaseControl),Se=Re.CheckboxControl,Ie=Re.TextControl,Te=wp.element.Fragment,Oe=wp.editor,Ae=(Oe.RichText,Oe.InspectorControls),Pe=(Oe.MediaUpload,Oe.ColorPalette),je=a.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},a.a.createElement("g",null,a.a.createElement("path",{d:"M291.7,133.3l0,245.3l-273.1,0l0-245.3L291.7,133.3 M307.2,117.8l-304.2,0l0,276.4l304.2,0L307.2,117.8L307.2,117.8z"}),a.a.createElement("path",{d:"M560.7,218.8l-213.1,0c-6.1,0-11.1-5-11.1-11.1s5-11.1,11.1-11.1l213.1,0c6.1,0,11.1,5,11.1,11.1 C571.8,213.8,566.8,218.8,560.7,218.8z"}),a.a.createElement("path",{d:"M560.7,265.4l-213.1,0c-6.1,0-11.1-5-11.1-11.1c0-6.1,5-11.1,11.1-11.1l213.1,0c6.1,0,11.1,5,11.1,11.1 C571.8,260.5,566.8,265.4,560.7,265.4z"}),a.a.createElement("path",{d:"M560.7,312.1l-213.1,0c-6.1,0-11.1-5-11.1-11.1c0-6.1,5-11.1,11.1-11.1l213.1,0c6.1,0,11.1,5,11.1,11.1 C571.8,307.1,566.8,312.1,560.7,312.1z"}),a.a.createElement("polygon",{points:"278.4,365.4 31.9,365.4 31.9,287.4 113,182.2 184.4,264.4 229.9,226.5 278.4,290.6 \t"}),a.a.createElement("path",{d:"M360.6,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7c-4.8,0-8.7-3.9-8.7-8.7C351.9,137.2,355.8,133.3,360.6,133.3 M360.6,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2c13.4,0,24.2-10.9,24.2-24.2 C384.9,128.7,374,117.8,360.6,117.8L360.6,117.8z"}),a.a.createElement("path",{d:"M423.3,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7c-4.8,0-8.7-3.9-8.7-8.7C414.6,137.2,418.5,133.3,423.3,133.3 M423.3,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2s24.2-10.9,24.2-24.2C447.6,128.7,436.7,117.8,423.3,117.8 L423.3,117.8z"}),a.a.createElement("path",{d:"M486,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7c-4.8,0-8.7-3.9-8.7-8.7C477.3,137.2,481.2,133.3,486,133.3 M486,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2c13.4,0,24.2-10.9,24.2-24.2 C510.2,128.7,499.4,117.8,486,117.8L486,117.8z"}),a.a.createElement("path",{d:"M548.7,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7s-8.7-3.9-8.7-8.7C540,137.2,543.9,133.3,548.7,133.3 M548.7,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2c13.4,0,24.2-10.9,24.2-24.2 C572.9,128.7,562.1,117.8,548.7,117.8L548.7,117.8z"}),a.a.createElement("path",{d:"M566.3,347.6l-224.3,0c-3.1,0-5.6,2.5-5.6,5.6l0,35.5c0,3.1,2.5,5.6,5.6,5.6l224.3,0c3.1,0,5.6-2.5,5.6-5.6v-35.5 C571.8,350.1,569.3,347.6,566.3,347.6z M547.1,379.2v-16.6l9.8,8.3L547.1,379.2z"})));we("vk-blocks/pr-content",{title:Ce("PR Content","vk-blocks"),icon:je,category:"vk-blocks-cat",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"}},edit:function(e){var t=e.attributes,n=(e.className,e.setAttributes),o=t.titleColor,l=t.contentColor,r=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.ImageBorderColor,b=t.layout,f=t.fontAwesomeIconBefore,k=t.fontAwesomeIconAfter;return a.a.createElement(Te,null,a.a.createElement(Ae,null,a.a.createElement(Be,{title:Ce("Color Setting","vk-blocks")},a.a.createElement(xe,{label:Ce("Title Color","vk-blocks")},a.a.createElement(Pe,{value:o,onChange:function(e){return n({titleColor:e})}})),a.a.createElement(xe,{label:Ce("Content Color","vk-blocks")},a.a.createElement(Pe,{value:l,onChange:function(e){return n({contentColor:e})}})),a.a.createElement(xe,{label:Ce("Image Border Color","vk-blocks")},a.a.createElement(Pe,{value:p,onChange:function(e){return n({ImageBorderColor:e})}}))),a.a.createElement(Be,{title:Ce("Button Setting","vk-blocks")},a.a.createElement(xe,{label:Ce("Button Text","vk-blocks")},a.a.createElement(Ie,{value:u,onChange:function(e){return n({buttonText:e})},placeholder:"Input button text."})),a.a.createElement(xe,{label:Ce("Link URL","vk-blocks")},a.a.createElement(Ie,{value:r,onChange:function(e){return n({url:e})},placeholder:"https://vektor-inc.co.jp/"})),a.a.createElement(Se,{label:Ce("Open link new tab.","vk-blocks"),checked:m,onChange:function(e){return n({buttonTarget:e})}}),a.a.createElement(xe,{label:Ce("Button Type","vk-blocks")},a.a.createElement(Ne,{selected:c,options:[{label:Ce("Solid","vk-blocks"),value:"0"},{label:Ce("Ghost","vk-blocks"),value:"1"}],onChange:function(e){return n({buttonType:e})}})),a.a.createElement(Ne,{label:Ce("Default Color:","vk-blocks"),selected:i,options:[{label:Ce("Primary","vk-blocks"),value:"primary"},{label:Ce("Secondary","vk-blocks"),value:"secondary"},{label:Ce("Success","vk-blocks"),value:"success"},{label:Ce("Info","vk-blocks"),value:"info"},{label:Ce("Warning","vk-blocks"),value:"warning"},{label:Ce("Danger","vk-blocks"),value:"danger"},{label:Ce("Light","vk-blocks"),value:"light"},{label:Ce("Dark","vk-blocks"),value:"dark"}],onChange:function(e){return n({buttonColor:e})}}),a.a.createElement(xe,{label:Ce("Button Color","vk-blocks")},a.a.createElement(Pe,{value:s,onChange:function(e){return n({buttonColorCustom:e})}})),a.a.createElement(xe,{label:Ce("Font Awesome:","vk-blocks"),help:a.a.createElement("a",{href:"https://fontawesome.com/icons?d=gallery&m=free",target:"_blank"},Ce("Font Awesome icon list","vk-blocks"))},a.a.createElement(Ie,{label:Ce("Before text","vk-blocks"),help:Ce("Enter Font Awesome Class.This icon will appear before text. Ex) fas fa-arrow-circle-right","vk-blocks"),value:f,onChange:function(e){return n({fontAwesomeIconBefore:e})},placeholder:"fas fa-arrow-circle-right"}),a.a.createElement(Ie,{label:Ce("After text","vk-blocks"),help:Ce("Enter Font Awesome Class.This icon will appear after text. Ex) fas fa-external-link-alt","vk-blocks"),value:k,onChange:function(e){return n({fontAwesomeIconAfter:e})},placeholder:"fas fa-external-link-alt"}))),a.a.createElement(Be,{title:Ce("Layout Setting","vk-blocks")},a.a.createElement(Ne,{label:Ce("Layout Type","vk-blocks"),selected:b,options:[{label:Ce("Right","vk-blocks"),value:"right"},{label:Ce("Left","vk-blocks"),value:"left"}],onChange:function(e){return n({layout:e})}}))),a.a.createElement(Ee,{attributes:t,setAttributes:n,for_:"edit"}))},save:function(e){var t=e.attributes;e.className;return a.a.createElement(Ee,{attributes:t,for_:"save"})}})}]);
15
//# sourceMappingURL=block-build.js.map
1
+ !function(e){var t={};function n(o){if(t[o])return t[o].exports;var l=t[o]={i:o,l:!1,exports:{}};return e[o].call(l.exports,l,l.exports,n),l.l=!0,l.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)n.d(o,l,function(t){return e[t]}.bind(null,l));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t,n){"use strict";e.exports=n(1)},function(e,t,n){"use strict";
2
/** @license React v16.7.0
3
* react.production.min.js
4
*
6
*
7
* This source code is licensed under the MIT license found in the
8
* LICENSE file in the root directory of this source tree.
9
+ */var o=n(2),l="function"==typeof Symbol&&Symbol.for,a=l?Symbol.for("react.element"):60103,r=l?Symbol.for("react.portal"):60106,c=l?Symbol.for("react.fragment"):60107,i=l?Symbol.for("react.strict_mode"):60108,s=l?Symbol.for("react.profiler"):60114,u=l?Symbol.for("react.provider"):60109,m=l?Symbol.for("react.context"):60110,p=l?Symbol.for("react.concurrent_mode"):60111,b=l?Symbol.for("react.forward_ref"):60112,f=l?Symbol.for("react.suspense"):60113,k=l?Symbol.for("react.memo"):60115,v=l?Symbol.for("react.lazy"):60116,d="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);!function(e,t,n,o,l,a,r,c){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var i=[n,o,l,a,r,c],s=0;(e=Error(t.replace(/%s/g,function(){return i[s++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function h(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||_}function E(){}function C(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||_}h.prototype.isReactComponent={},h.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&g("85"),this.updater.enqueueSetState(this,e,t,"setState")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=h.prototype;var w=C.prototype=new E;w.constructor=C,o(w,h.prototype),w.isPureReactComponent=!0;var R={current:null,currentDispatcher:null},N=Object.prototype.hasOwnProperty,B={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var o=void 0,l={},r=null,c=null;if(null!=t)for(o in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(r=""+t.key),t)N.call(t,o)&&!B.hasOwnProperty(o)&&(l[o]=t[o]);var i=arguments.length-2;if(1===i)l.children=n;else if(1<i){for(var s=Array(i),u=0;u<i;u++)s[u]=arguments[u+2];l.children=s}if(e&&e.defaultProps)for(o in i=e.defaultProps)void 0===l[o]&&(l[o]=i[o]);return{$typeof:a,type:e,key:r,ref:c,props:l,_owner:R.current}}function S(e){return"object"==typeof e&&null!==e&&e.$typeof===a}var I=/\/+/g,T=[];function O(e,t,n,o){if(T.length){var l=T.pop();return l.result=e,l.keyPrefix=t,l.func=n,l.context=o,l.count=0,l}return{result:e,keyPrefix:t,func:n,context:o,count:0}}function A(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>T.length&&T.push(e)}function P(e,t,n){return null==e?0:function e(t,n,o,l){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var i=!1;if(null===t)i=!0;else switch(c){case"string":case"number":i=!0;break;case"object":switch(t.$typeof){case a:case r:i=!0}}if(i)return o(l,t,""===n?"."+j(t,0):n),1;if(i=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s<t.length;s++){var u=n+j(c=t[s],s);i+=e(c,u,o,l)}else if(u=null===t||"object"!=typeof t?null:"function"==typeof(u=d&&t[d]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),s=0;!(c=t.next()).done;)i+=e(c=c.value,u=n+j(c,s++),o,l);else"object"===c&&g("31","[object Object]"==(o=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":o,"");return i}(e,"",t,n)}function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"quot;+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function z(e,t){e.func.call(e.context,t,e.count++)}function M(e,t,n){var o=e.result,l=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,o,n,function(e){return e}):null!=e&&(S(e)&&(e=function(e,t){return{$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,l+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(I,"amp;/")+"/")+n)),o.push(e))}function L(e,t,n,o,l){var a="";null!=n&&(a=(""+n).replace(I,"amp;/")+"/"),P(e,M,t=O(t,a,o,l)),A(t)}var F={Children:{map:function(e,t,n){if(null==e)return e;var o=[];return L(e,o,null,t,n),o},forEach:function(e,t,n){if(null==e)return e;P(e,z,t=O(null,null,t,n)),A(t)},count:function(e){return P(e,function(){return null},null)},toArray:function(e){var t=[];return L(e,t,null,function(e){return e}),t},only:function(e){return S(e)||g("143"),e}},createRef:function(){return{current:null}},Component:h,PureComponent:C,createContext:function(e,t){return void 0===t&&(t=null),(e={$typeof:m,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$typeof:b,render:e}},lazy:function(e){return{$typeof:v,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$typeof:k,type:e,compare:void 0===t?null:t}},Fragment:c,StrictMode:i,Suspense:f,createElement:x,cloneElement:function(e,t,n){null==e&&g("267",e);var l=void 0,r=o({},e.props),c=e.key,i=e.ref,s=e._owner;if(null!=t){void 0!==t.ref&&(i=t.ref,s=R.current),void 0!==t.key&&(c=""+t.key);var u=void 0;for(l in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)N.call(t,l)&&!B.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==u?u[l]:t[l])}if(1===(l=arguments.length-2))r.children=n;else if(1<l){u=Array(l);for(var m=0;m<l;m++)u[m]=arguments[m+2];r.children=u}return{$typeof:a,type:e.type,key:c,ref:i,props:r,_owner:s}},createFactory:function(e){var t=x.bind(null,e);return t.type=e,t},isValidElement:S,version:"16.7.0",unstable_ConcurrentMode:p,unstable_Profiler:s,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:R,assign:o}},U={default:F},D=U&&F||U;e.exports=D.default||D},function(e,t,n){"use strict";
10
/*
11
object-assign
12
(c) Sindre Sorhus
13
@license MIT
14
+ */var o=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),i=1;i<arguments.length;i++){for(var s in n=Object(arguments[i]))l.call(n,s)&&(c[s]=n[s]);if(o){r=o(n);for(var u=0;u<r.length;u++)a.call(n,r[u])&&(c[r[u]]=n[r[u]])}}return c}},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,l=wp.editor.RichText;o("vk-blocks/alert",{title:n("Alert","vk-blocks"),icon:"info",category:"vk-blocks-cat",attributes:{style:{type:"string",default:"info"},content:{type:"string",source:"html",selector:"p"}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=t.style,a=t.content;return React.createElement("div",{className:"alert alert-".concat(o)},React.createElement("select",{onChange:function(e){n({style:e.target.value})}},React.createElement("option",{value:"success",selected:"success"===o},"Success"),React.createElement("option",{value:"info",selected:"info"===o},"Info"),React.createElement("option",{value:"warning",selected:"warning"===o},"Warning"),React.createElement("option",{value:"danger",selected:"danger"===o},"Danger")),React.createElement(l,{tagName:"p",onChange:function(e){n({content:e})},value:a}))},save:function(e){var t=e.attributes,n=t.style,o=t.content;return React.createElement("div",{className:"alert alert-".concat(n)},React.createElement(l.Content,{tagName:"p",value:o}))}})},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,l=wp.components,a=(l.RangeControl,l.RadioControl),r=l.PanelBody,c=l.Button,i=wp.element.Fragment,s=wp.editor,u=s.RichText,m=s.InspectorControls,p=s.MediaUpload,b=s.ColorPalette,f=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},React.createElement("path",{d:"M544 450.583c0 22.75 13.014 42.454 32 52.092v7.969c-5.313 0.727-10.736 1.112-16.25 1.112-34.004 0-64.674-14.264-86.361-37.132-13.111 3.491-27.001 5.376-41.389 5.376-79.529 0-144-57.308-144-128s64.471-128 144-128c79.529 0 144 57.308 144 128 0 27.674-9.882 53.296-26.678 74.233-3.412 7.412-5.322 15.656-5.322 24.35zM115.339 110.593c-33.107 26.899-51.339 61.492-51.339 97.407 0 20.149 5.594 39.689 16.626 58.075 11.376 18.96 28.491 36.293 49.494 50.126 15.178 9.996 25.39 25.974 28.088 43.947 0.9 5.992 1.464 12.044 1.685 18.062 3.735-3.097 7.375-6.423 10.94-9.988 12.077-12.076 28.39-18.745 45.251-18.745 2.684 0 5.381 0.168 8.078 0.512 10.474 1.331 21.172 2.008 31.797 2.010v64c-13.564-0.001-26.877-0.869-39.871-2.521-54.989 54.989-120.625 64.85-184.088 66.298v-13.458c34.268-16.789 64-47.37 64-82.318 0-4.877-0.379-9.665-1.082-14.348-57.898-38.132-94.918-96.377-94.918-161.652 0-114.875 114.615-208 256-208 139.229 0 252.496 90.307 255.918 202.76-20.548-9.158-42.92-14.711-66.131-16.289-5.765-28.034-22.701-54.408-49.126-75.878-17.661-14.349-38.458-25.695-61.814-33.722-24.853-8.54-51.38-12.871-78.847-12.871s-53.994 4.331-78.847 12.871c-23.356 8.027-44.153 19.372-61.814 33.722z"}));o("vk-blocks/balloon",{title:n("Ballon","vk-blocks"),icon:f,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}},edit:function(e){var t=e.attributes,o=e.className,l=e.setAttributes,s=t.content,f=t.balloonName,k=t.balloonType,v=t.balloonBgColor,d=t.balloonAlign,g=t.IconImage;return React.createElement(i,null,React.createElement(m,null,React.createElement(r,{title:n("Balloon setting","vk-blocks")},React.createElement(a,{label:n("Position","vk-blocks"),help:n("Please specify the layout of the balloon.","vk-blocks"),selected:d,options:[{label:n("Left","vk-blocks"),value:"position-left"},{label:n("Right","vk-blocks"),value:"position-right"}],onChange:function(e){return l({balloonAlign:e})}}),React.createElement(a,{label:n("Type","vk-blocks"),help:n("Please select the type of balloon.","vk-blocks"),selected:k,options:[{label:n("Serif","vk-blocks"),value:"type-serif"},{label:n("Thinking","vk-blocks"),value:"type-think"}],onChange:function(e){return l({balloonType:e})}}),React.createElement(b,{value:v,onChange:function(e){return l({balloonBgColor:e})}}))),React.createElement("div",{className:"".concat(o," vk_balloon vk_balloon-").concat(d," vk_balloon-").concat(k)},React.createElement("div",{className:"vk_balloon_icon"},React.createElement(p,{onSelect:function(e){return l({IconImage:e.sizes.full.url})},type:"image",className:"vk_balloon_icon_image",value:g,render:function(e){var t=e.open;return React.createElement(c,{onClick:t,className:g?"image-button":"button button-large"},g?React.createElement("img",{className:"vk_balloon_icon_image",src:g,alt:n("Upload image","vk-blocks")}):n("Select image","vk-blocks"))}}),React.createElement(u,{tagName:"figcaption",className:"vk_balloon_icon_name",onChange:function(e){return l({balloonName:e})},value:f,placeholder:n("Icon Name","vk-blocks")})),React.createElement(u,{style:{background:v,border:v},tagName:"p",className:"vk_balloon_content",onChange:function(e){return l({content:e})},value:s,placeholder:n("Input text","vk-blocks")})))},save:function(e){var t=e.attributes,n=(e.className,t.content),o=t.balloonName,l=t.balloonType,a=t.balloonBgColor,r=t.balloonAlign,c=t.IconImage;return React.createElement("div",{className:"vk_balloon vk_balloon-".concat(r," vk_balloon-").concat(l)},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(u.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:o})):""),React.createElement(u.Content,{className:"vk_balloon_content",style:{background:a,border:a},tagName:"p",value:n}))}})},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,l=wp.editor.RichText,a=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},React.createElement("path",{d:"M178.9,191.6c7.2,5,12,8.2,14.2,9.4c3.3,1.9,7.8,4,13.4,6.5l-16.1,32.4c-8.1-3.9-16.1-8.6-24-14 c-7.9-5.4-13.4-9.5-16.6-12.2c-12.8,5.5-28.8,8.3-48,8.3c-28.4,0-50.9-7.4-67.3-22.2c-19.4-17.5-29.1-42.2-29.1-73.9 c0-30.8,8.5-54.7,25.5-71.8c17-17.1,40.7-25.6,71.2-25.6c31.1,0,55,8.3,71.9,25c16.9,16.7,25.3,40.6,25.3,71.6 C199.3,152.8,192.5,175,178.9,191.6z M134.6,161.9c4.6-8.3,6.9-20.6,6.9-37c0-18.9-3.5-32.4-10.5-40.5c-7-8.1-16.7-12.1-29-12.1 c-11.5,0-20.8,4.1-28,12.4c-7.1,8.3-10.7,21.2-10.7,38.7c0,20.4,3.5,34.8,10.5,43c7,8.3,16.6,12.4,28.7,12.4 c3.9,0,7.6-0.4,11.1-1.1c-4.9-4.7-12.5-9.1-23-13.3l9.1-20.8c5.1,0.9,9.1,2.1,11.9,3.4c2.9,1.4,8.4,4.9,16.7,10.7 C130.1,159.1,132.3,160.5,134.6,161.9z"}),React.createElement("path",{d:"M137.9,452.6H72.2l-9.1,30.9l-59,0l70.3-187.2h63.1l70.3,187.2h-60.6L137.9,452.6z M125.9,412.1l-20.7-67.3l-20.4,67.3 H125.9z"}),React.createElement("path",{d:"M553.9,239.9h-303c-10,0-18.1-8.1-18.1-18.1c0-10,8.1-18.1,18.1-18.1h303c10,0,18.1,8.1,18.1,18.1 C572,231.8,563.9,239.9,553.9,239.9z"}),React.createElement("path",{d:"M553.9,483.5h-303c-10,0-18.1-8.1-18.1-18.1c0-10,8.1-18.1,18.1-18.1h303c10,0,18.1,8.1,18.1,18.1 C572,475.4,563.9,483.5,553.9,483.5z"}));o("vk-blocks/faq",{title:n("FAQ","vk-blocks"),icon:a,category:"vk-blocks-cat",attributes:{heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"}},edit:function(e){var t=e.attributes,o=e.setAttributes,a=t.heading,r=t.content;return React.createElement("dl",{className:"vk_faq"},React.createElement(l,{tagName:"dt",className:"vk_faq_title",onChange:function(e){return o({heading:e})},value:a,placeholder:n("Please enter a question.","vk-blocks")}),React.createElement(l,{tagName:"dd",className:"vk_faq_content",onChange:function(e){return o({content:e})},value:r,placeholder:n("Please enter a answer.","vk-blocks")}))},save:function(e){var t=e.attributes,n=t.heading,o=t.content;return React.createElement("dl",{className:"vk_faq"},React.createElement(l.Content,{tagName:"dt",className:"vk_faq_title",value:n}),React.createElement(l.Content,{tagName:"dd",className:"vk_faq_content",value:o}))}})},function(e,t){var n=wp.i18n.__,o=wp.blocks.registerBlockType,l=wp.components,a=(l.RangeControl,l.RadioControl),r=l.PanelBody,c=l.Button,i=(l.PanelColor,wp.element.Fragment),s=wp.editor,u=s.RichText,m=s.InspectorControls,p=s.MediaUpload;s.ColorPalette;o("vk-blocks/flow",{title:n("Flow","vk-blocks"),icon:"arrow-down",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}},edit:function(e){var t=e.attributes,o=e.setAttributes,l=t.heading,s=t.content,b=t.insertImage,f=t.arrowFlag;return[React.createElement(i,null,React.createElement(m,null,React.createElement(r,{title:n("Display of arrow","vk-blocks")},React.createElement(a,{selected:f,options:[{label:n("Arrow display","vk-blocks"),value:"vk_flow-arrow-on"},{label:n("Arrow hidden","vk-blocks"),value:"vk_flow-arrow-off"}],onChange:function(e){return o({arrowFlag:e})}}))),React.createElement("div",{className:"".concat(f," vk_flow")},React.createElement("div",{className:"vk_flow_frame"},React.createElement("dl",{className:"vk_flow_frame_text"},React.createElement(u,{tagName:"dt",className:"vk_flow_frame_text_title",onChange:function(e){return o({heading:e})},value:l,placeholder:n("Input title","vk-blocks")}),React.createElement(u,{tagName:"dd",className:"vk_flow_frame_text_content",onChange:function(e){return o({content:e})},value:s,placeholder:n("Input content","vk-blocks")})),React.createElement("div",{className:"vk_flow_frame_image"},React.createElement(p,{onSelect:function(e){return o({insertImage:e.url})},type:"image",className:"vk_flow_frame_image",value:b,render:function(e){var t=e.open;return React.createElement(c,{onClick:t,className:b?"image-button":"button button-large"},b?React.createElement("img",{className:"icon-image",src:b,alt:n("Upload image","vk-blocks")}):n("Select image","vk-blocks"))}})))))]},save:function(e){var t=e.attributes,n=t.heading,o=t.content,l=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(u.Content,{tagName:"dt",className:"vk_flow_frame_text_title",value:n}),React.createElement(u.Content,{tagName:"dd",className:"vk_flow_frame_text_content",value:o})),l?React.createElement("div",{className:"vk_flow_frame_image"},React.createElement("img",{src:l,alt:""})):""))}})},function(e,t){function n(e){throw new Error('"'+e+'" is read-only')}var o=wp.i18n.__,l=wp.blocks.registerBlockType,a=wp.components,r=(a.RangeControl,a.RadioControl),c=a.PanelBody,i=a.Button,s=a.BaseControl,u=a.CheckboxControl,m=a.TextControl,p=wp.element.Fragment,b=wp.editor,f=b.RichText,k=b.InspectorControls,v=b.MediaUpload,d=b.ColorPalette,g=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},React.createElement("g",null,React.createElement("g",null,React.createElement("circle",{cx:"288",cy:"186.2",r:"60"}),React.createElement("rect",{x:"213.5",y:"278.8",width:"149",height:"107"})),React.createElement("g",null,React.createElement("circle",{cx:"74.5",cy:"186.2",r:"60"}),React.createElement("rect",{y:"278.8",width:"149",height:"107"})),React.createElement("g",null,React.createElement("circle",{cx:"501.5",cy:"186.2",r:"60"}),React.createElement("rect",{x:"427",y:"278.8",width:"149",height:"107"}))));l("vk-blocks/pr-blocks",{title:o("PR Blocks (Beta)","vk-blocks"),icon:g,category:"vk-blocks-cat",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),edit:function(e){var t=e.attributes,n=e.setAttributes,l=t.heading1,a=t.heading2,b=t.heading3,g=t.content1,_=t.content2,y=t.content3,h=t.url1,E=t.url2,C=t.url3,w=t.urlOpenType1,R=t.urlOpenType2,N=t.urlOpenType3,B=t.icon1,x=t.icon2,S=t.icon3,I=t.color1,T=t.color2,O=t.color3,A=t.bgType1,P=t.bgType2,j=t.bgType3,z=t.insertImage1,M=t.insertImage2,L=t.insertImage3;return[React.createElement(p,null,React.createElement(k,null,React.createElement(c,{title:o("PR Block1 Setting","vk-blocks")},React.createElement(s,{label:o("Link URL:","vk-blocks")},React.createElement(m,{value:h,onChange:function(e){return n({url1:e})}}),React.createElement(u,{label:o("Open link new tab.","vk-blocks"),checked:w,onChange:function(e){return n({urlOpenType1:e})}})),React.createElement(s,{label:o("Icon 1","vk-blocks")},React.createElement(m,{label:o("Class name of the Font Awesome icon font you want to use:","vk-blocks"),value:B,onChange:function(e){return n({icon1:e})},placeholder:"fas fa-file"}),React.createElement(d,{value:I,onChange:function(e){e?n({color1:e}):(n({color1:"#0693e3"}),n({bgType1:"0"}))}}),React.createElement(r,{label:o("Icon Background:","vk-blocks"),selected:A,options:[{label:o("Solid color","vk-blocks"),value:"0"},{label:o("No background","vk-blocks"),value:"1"}],onChange:function(e){return n({bgType1:e})}})),React.createElement(s,{label:o("PR Image 1","vk-blocks"),help:o("When you have an image. Image is displayed with priority","vk-blocks")},React.createElement(v,{onSelect:function(e){return n({insertImage1:e.url})},type:"image",value:z,render:function(e){var t=e.open;return React.createElement(i,{onClick:t,className:z?"image-button":"button button-large"},z?React.createElement("img",{className:"icon-image",src:z,alt:o("Upload image","vk-blocks")}):o("Select image","vk-blocks"))}}))),React.createElement(c,{title:o("PR Block2 Setting","vk-blocks")},React.createElement(s,{label:o("Link URL:","vk-blocks")},React.createElement(m,{value:E,onChange:function(e){return n({url2:e})}}),React.createElement(u,{label:o("Open link new tab.","vk-blocks"),checked:R,onChange:function(e){return n({urlOpenType2:e})}})),React.createElement(s,{label:o("Icon 2","vk-blocks")},React.createElement(m,{label:o("Class name of the Font Awesome icon font you want to use:","vk-blocks"),value:x,onChange:function(e){return n({icon2:e})},placeholder:"fas fa-file"}),React.createElement(d,{value:T,onChange:function(e){e?n({color2:e}):(n({color2:"#0693e3"}),n({bgType2:"0"}))}}),React.createElement(r,{label:o("Icon Background:","vk-blocks"),selected:P,options:[{label:o("Solid color","vk-blocks"),value:"0"},{label:o("No background","vk-blocks"),value:"1"}],onChange:function(e){return n({bgType2:e})}})),React.createElement(s,{label:o("PR Image 2","vk-blocks"),help:o("When you have an image. Image is displayed with priority.","vk-blocks")},React.createElement(v,{onSelect:function(e){return n({insertImage2:e.url})},type:"image",value:M,render:function(e){var t=e.open;return React.createElement(i,{onClick:t,className:M?"image-button":"button button-large"},M?React.createElement("img",{className:"icon-image",src:M,alt:o("Upload image","vk-blocks")}):o("Select image","vk-blocks"))}}))),React.createElement(c,{title:o("PR Block3 Setting","vk-blocks")},React.createElement(s,{label:o("Link URL:","vk-blocks")},React.createElement(m,{value:C,onChange:function(e){return n({url3:e})}}),React.createElement(u,{label:o("Open link new tab.","vk-blocks"),checked:N,onChange:function(e){return n({urlOpenType3:e})}})),React.createElement(s,{label:o("Icon 3","vk-blocks")},React.createElement(m,{label:o("Class name of the Font Awesome icon font you want to use:","vk-blocks"),value:S,onChange:function(e){return n({icon3:e})},placeholder:"fas fa-file"}),React.createElement(d,{value:O,onChange:function(e){e?n({color3:e}):(n({color3:"#0693e3"}),n({bgType3:"0"}))}}),React.createElement(r,{label:o("Icon Background:","vk-blocks"),selected:j,options:[{label:o("Solid color","vk-blocks"),value:"0"},{label:o("No background","vk-blocks"),value:"1"}],onChange:function(e){return n({bgType3:e})}})),React.createElement(s,{label:o("PR Image 3","vk-blocks"),help:o("When you have an image. Image is displayed with priority.","vk-blocks")},React.createElement(v,{onSelect:function(e){return n({insertImage3:e.url})},type:"image",value:L,render:function(e){var t=e.open;return React.createElement(i,{onClick:t,className:L?"image-button":"button button-large"},L?React.createElement("img",{className:"icon-image",src:L,alt:o("Upload image","vk-blocks")}):o("Select image","vk-blocks"))}})))),React.createElement("article",{className:"vk_prBlocks row"},React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},z?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+z+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:z,alt:""})):"0"===A?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:I,border:"1px solid ".concat(I)}},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 "+I}},React.createElement("i",{className:"".concat(B," vk_prBlocks_item_icon"),style:{color:I}})),React.createElement(f,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h1",onChange:function(e){return n({heading1:e})},value:l,placeholder:o("Input title","vk-blocks")}),React.createElement(f,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(e){return n({content1:e})},value:g,placeholder:o("Input content","vk-blocks")})),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},M?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+M+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:M,alt:""})):"0"===P?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:T,border:"1px solid ".concat(T)}},React.createElement("i",{className:"".concat(x," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+T}},React.createElement("i",{className:"".concat(x," vk_prBlocks_item_icon"),style:{color:T}})),React.createElement(f,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h1",onChange:function(e){return n({heading2:e})},value:a,placeholder:o("Input title","vk-blocks")}),React.createElement(f,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(e){return n({content2:e})},value:_,placeholder:o("Input content","vk-blocks")})),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},L?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+L+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:L,alt:""})):"0"===j?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:O,border:"1px solid ".concat(O)}},React.createElement("i",{className:"".concat(S," vk_prBlocks_item_icon"),style:{color:"#fff"}})):React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+O}},React.createElement("i",{className:"".concat(S," vk_prBlocks_item_icon"),style:{color:O}})),React.createElement(f,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h1",onChange:function(e){return n({heading3:e})},value:b,placeholder:o("Input title","vk-blocks")}),React.createElement(f,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(e){return n({content3:e})},value:y,placeholder:o("Input content","vk-blocks")}))))]},save:function(e){var t=e.attributes,o=t.heading1,l=t.heading2,a=t.heading3,r=t.content1,c=t.content2,i=t.content3,s=t.url1,u=t.url2,m=t.url3,p=t.urlOpenType1,b=t.urlOpenType2,k=t.urlOpenType3,v=t.icon1,d=t.icon2,g=t.icon3,_=t.color1,y=t.color2,h=t.color3,E=t.bgType1,C=t.bgType2,w=t.bgType3,R=t.insertImage1,N=t.insertImage2,B=t.insertImage3;return React.createElement("article",{className:"vk_prBlocks row"},React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:s,target:p?"_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:""})):(_||(n("color1"),_="#0693e3"),"0"===E?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:_,border:"1px solid ".concat(_)}},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 "+_}},React.createElement("i",{className:"".concat(v," vk_prBlocks_item_icon"),style:{color:_}}))),React.createElement(f.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h1",value:o}),React.createElement(f.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",value:r}))),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:u,target:b?"_blank":"_self",className:"vk_prBlocks_item_link"},N?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+N+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:N,alt:""})):(y||(n("color2"),y="#0693e3"),"0"===C?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:y,border:"1px solid ".concat(y)}},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 "+y}},React.createElement("i",{className:"".concat(d," vk_prBlocks_item_icon"),style:{color:y}}))),React.createElement(f.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h1",value:l}),React.createElement(f.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",value:c}))),React.createElement("div",{className:"vk_prBlocks_item col-sm-4"},React.createElement("a",{href:m,target:k?"_blank":"_self",className:"vk_prBlocks_item_link"},B?React.createElement("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+B+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},React.createElement("img",{src:B,alt:""})):(h||(n("color3"),h="#0693e3"),"0"===w?React.createElement("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:h,border:"1px solid ".concat(h)}},React.createElement("i",{className:"".concat(g," 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(g," vk_prBlocks_item_icon"),style:{color:h}}))),React.createElement(f.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h1",value:a}),React.createElement(f.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",value:i}))))}})},function(e,t,n){"use strict";n.r(t);var o=n(0),l=n.n(o),a=function(e,t,n,o){var l,a,r;return t||(t="#fff"),"tilt"===o?(l=Math.abs(e),r=function(e,t){if(e>0)return React.createElement("path",{d:"m0,".concat(100-e," L100,100 L0,100 z"),strokeWidth:"0",fill:t});if(e<0){var n=Math.abs(e);return React.createElement("path",{d:"m100,".concat(100-n," L0,100 L100,100 z"),strokeWidth:"0",fill:t})}}(e,t)):"curve"===o?(e>0?l=Math.abs(e):e<0&&(l=2*Math.abs(e)),r=function(e,t){return e>0?React.createElement("path",{d:"m0,".concat(100-e," q50,").concat(2*e,",100,0 V100 L0,100 z"),strokeWidth:"0",fill:t}):e<0?React.createElement("path",{d:"m0,100 q50,".concat(2*e,",100,0 V100 L0,100 z"),strokeWidth:"0",fill:t}):void 0}(e,t)):"wave"===o?(l=Math.abs(e),r=function(e,t){return e>0?React.createElement("path",{d:"m0,".concat(100-e/2," q20,").concat(e,",40,0 t40,0 t40,0 V100 L0,100 z"),strokeWidth:"0",fill:t}):e<0?React.createElement("path",{d:"m0,".concat(e/2+100," q20,").concat(e,",40,0 t40,0 t40,0 V100 L0,100 z"),strokeWidth:"0",fill:t}):void 0}(e,t)):"triangle"===o&&(l=Math.abs(e),r=function(e,t){var n=Math.abs(e),o=n/4;return e>0?React.createElement("path",{d:"m0,100 h".concat(50-o," l").concat(o,",-").concat(n," l").concat(o,",").concat(n," h").concat(o," v100 h-100 z"),strokeWidth:"0",fill:t}):e<0?React.createElement("path",{d:"m0,".concat(100-n," h").concat(50-o," l").concat(o,",").concat(n," l").concat(o,",-").concat(n," h").concat(50-o," v").concat(n+1," h-100 z"),strokeWidth:"0",fill:t}):void 0}(e,t)),a=o,"upper"===n?React.createElement("div",{className:"vk_outer_separator vk_outer_separator-position-upper vk_outer_separator-type-".concat(a),style:{paddingBottom:l+"px"}},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"},r)):"lower"===n?React.createElement("div",{className:"vk_outer_separator vk_outer_separator-position-lower vk_outer_separator-type-".concat(a),style:{paddingTop:l+"px"}},React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"},r)):void 0};function r(e){return(r="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 c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t){return!t||"object"!==r(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 s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=wp.editor.InnerBlocks;function p(e,t){var n=e.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})#x2F;i),o=null;return n&&(o=n.slice(1,4).map(function(e){return parseInt(e,16)})),(n=e.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])#x2F;i))&&(o=n.slice(1,4).map(function(e){return 17*parseInt(e,16)})),o?"rgba(".concat(o[0],", ").concat(o[1],", ").concat(o[2],", ").concat(t,")"):null}var b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i(this,s(t).apply(this,arguments))}var n,o,r;return 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&&u(e,t)}(t,l.a.Component),n=t,(o=[{key:"render",value:function(){var e,t,n,o,r,c,i,s,u,b,f,k=this.props.attributes,v=k.bgColor,d=k.bgImage,g=k.bgPosition,_=k.outerWidth,y=k.padding_left_and_right,h=k.padding_top_and_bottom,E=k.opacity,C=k.upper_level,w=k.lower_level,R=k.upperDividerBgColor,N=k.lowerDividerBgColor,B=k.dividerType,x=k.borderWidth,S=k.borderStyle,I=k.borderColor,T=k.borderRadius,O=this.props.for_;return o=" vk_outer-width-".concat(_),v=p(v||"#fff",E),n="parallax"===g?" vk_outer-bgPosition-parallax vk-prlx":"fixed"===g?" vk_outer-bgPosition-fixed":" vk_outer-bgPosition-normal",e="1"===y?" vk_outer-paddingLR-use":" vk_outer-paddingLR-none",t="1"===h?" vk_outer-paddingVertical-use":" vk_outer-paddingVertical-none",C&&(i="upper"),w&&(s="lower"),"edit"===O?r=l.a.createElement(m,null):(r=l.a.createElement(m.Content,null),c="vk_outer_container"),u=d?"linear-gradient(".concat(v,", ").concat(v,"), url(").concat(d,")"):"linear-gradient(".concat(v,", ").concat(v,")"),I||(I="#fff"),0===C&&0===w?(b="".concat(x,"px ").concat(S," ").concat(I),f="".concat(T,"px")):(b="none",f="0px"),l.a.createElement("div",{className:"vk_outer"+o+e+t+n,style:{background:u,border:b,borderRadius:f}},a(C,R,i,B),l.a.createElement("div",{className:c},r),a(w,N,s,B))}}])&&c(n.prototype,o),r&&c(n,r),t}();function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e=Number(e),(isNaN(e)||e<t)&&(e=t),null!==n&&e>n&&(e=n),e}var k=wp.i18n.__,v=wp.blocks.registerBlockType,d=wp.components,g=d.RangeControl,_=d.RadioControl,y=d.PanelBody,h=d.Button,E=d.BaseControl,C=d.SelectControl,w=wp.element.Fragment,R=wp.editor,N=R.InspectorControls,B=R.MediaUpload,x=R.ColorPalette,S=l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},l.a.createElement("path",{d:"M288,381c50.7,0,92-41.3,92-92s-41.3-92-92-92s-92,41.3-92,92S237.3,381,288,381z M288,227c34.2,0,62,27.8,62,62 s-27.8,62-62,62s-62-27.8-62-62S253.8,227,288,227z"}),l.a.createElement("polygon",{points:"273,342 303,342 303,304 341,304 341,274 303,274 303,236 273,236 273,274 235,274 235,304 273,304 "}),l.a.createElement("path",{d:"M1.8,155.5v267h572.5v-267H1.8z M544.2,392.5H31.8v-207h512.5L544.2,392.5L544.2,392.5z"}),l.a.createElement("g",null,l.a.createElement("path",{d:"M39.8,10.3c-13.3,0-25.7,0.9-37.6,2.6L2,136.9h33.3l0.1-39c3,0.4,6.7,0.5,11.1,0.5c16.7,0,29.5-3.9,38.3-11.7 c8.7-7.7,13.1-19.3,13.1-34.4C98,24.3,78.6,10.4,39.8,10.3z M62,68.5c-3.6,3.4-9.2,5.2-16.6,5.2c-0.6,0-1.1,0-1.6,0 c-0.2,0-0.4,0-0.6,0c-2.8,0-5.4-0.1-7.7-0.5l0-22l-1.3-14.3c2.6-0.6,5.2-0.9,7.7-0.9c0.2,0,0.5,0,0.7,0c0.2,0,0.4,0,0.7,0 c13.6,0,21.1,4.7,22.7,14c0.3,1.2,0.6,2.6,0.7,4C67.2,60.2,65.6,65,62,68.5z"}),l.a.createElement("path",{d:"M141.3,65H141l0-17.1h-32.5l-0.2,88.9h33.3l0.1-35c0.1-8.6,3.2-15.7,9.7-21.4c6.5-5.7,14.9-8.5,25.4-8.5h3.4l0-23.9h-3.4 C161.7,48.1,149.8,53.7,141.3,65z"}),l.a.createElement("path",{d:"M266.7,58.5c-8-8.1-19.3-12.2-34-12.2c-14.6,0-25.9,4.1-34,12.2c-8.1,8.1-12.2,19.4-12.2,33.9c-0.1,14.5,4,25.8,12,33.9 c8,8.1,19.3,12.2,34,12.2c14.6,0,25.9-4.1,34-12.2c8.1-8.1,12.2-19.4,12.2-33.9C278.7,78,274.7,66.6,266.7,58.5z M246.2,92.5 c0,8.9-1.2,15-3.3,18.6c-2.1,3.6-5.6,5.4-10.4,5.4s-8.3-1.8-10.5-5.4c-2.2-3.6-3.3-9.8-3.2-18.6c0-8.9,1.2-15,3.3-18.6 c2.1-3.6,5.6-5.4,10.4-5.4c4.8,0,8.3,1.8,10.5,5.4S246.3,83.7,246.2,92.5z"})));v("vk-blocks/outer",{title:k("Outer","vk-blocks"),icon:S,category:"vk-blocks-cat-layout",attributes:{bgColor:{type:"string",default:"#f3f4f5"},bgImage:{type:"string",default:null},outerWidth:{type:"string",default:"normal"},bgPosition:{type:"string",default:"normal"},padding_left_and_right:{type:"string",default:"0"},padding_top_and_bottom:{type:"string",default:"1"},opacity:{type:"number",default:.5},upper_level:{type:"number",default:0},lower_level:{type:"number",default:0},dividerType:{type:"string",default:"tilt"},upperDividerBgColor:{type:"string",default:"#fff"},lowerDividerBgColor:{type:"string",default:"#fff"},borderWidth:{type:"number",default:0},borderStyle:{type:"string",default:"none"},borderColor:{type:"string",default:"#000"},borderRadius:{type:"number",default:0}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=t.bgColor,a=t.bgImage,r=t.bgPosition,c=t.outerWidth,i=t.padding_left_and_right,s=t.padding_top_and_bottom,u=t.opacity,m=t.upper_level,p=t.lower_level,v=t.upperDividerBgColor,d=t.lowerDividerBgColor,R=t.dividerType,S=t.borderWidth,I=t.borderStyle,T=t.borderColor,O=t.borderRadius;return l.a.createElement(w,null,l.a.createElement(N,null,l.a.createElement(y,{title:k("Background Setting","vk-blocks")},l.a.createElement(E,{label:k("Color Setting","vk-blocks"),help:k("Color will overcome background image. If you want to display image, clear background color or set opacity 0.","vk-blocks")},l.a.createElement(x,{value:o,onChange:function(e){return n({bgColor:e})}})),l.a.createElement(E,{label:k("Opacity Setting","vk-blocks")},l.a.createElement(g,{value:u,onChange:function(e){n({opacity:e})},min:0,max:1,step:.1})),l.a.createElement(E,{label:k("Background Image","vk-blocks"),help:""},l.a.createElement(B,{onSelect:function(e){return n({bgImage:e.url})},type:"image",value:a,render:function(e){var t=e.open;return l.a.createElement(h,{onClick:t,className:a?"image-button":"button button-large"},a?l.a.createElement("img",{className:"icon-image",src:a,alt:k("Upload image","vk-blocks")}):k("Select image","vk-blocks"))}})),l.a.createElement(E,{label:k("Background image Position","vk-blocks"),help:""},l.a.createElement(_,{selected:r,options:[{label:k("normal","vk-blocks"),value:"normal"},{label:k("Fixed","vk-blocks"),value:"fixed"},{label:k("Parallax (It will not work in preview)","vk-blocks"),value:"parallax"}],onChange:function(e){return n({bgPosition:e})}}))),l.a.createElement(y,{title:k("Layout Setting","vk-blocks")},l.a.createElement(E,null,l.a.createElement(_,{label:k("Outer width","vk-blocks"),selected:c,options:[{label:k("Normal","vk-blocks"),value:"normal"},{label:k("Full Wide","vk-blocks"),value:"full"}],onChange:function(e){return n({outerWidth:e})}}),l.a.createElement(_,{label:k("Contents area padding (left and right)","vk-blocks"),selected:i,options:[{label:k("Do not use contents area default padding (When case of full width etc.).","vk-blocks"),value:"0"},{label:k("Use contents area default padding (When case of not full width and use background etc.).","vk-blocks"),value:"1"}],onChange:function(e){return n({padding_left_and_right:e})}}),l.a.createElement(_,{label:k("Padding (top and bottom)","vk-blocks"),selected:s,options:[{label:k("Use default padding","vk-blocks"),value:"1"},{label:k("Do not use default padding (Set it yourself using a spacer block etc.).","vk-blocks"),value:"0"}],onChange:function(e){return n({padding_top_and_bottom:e})}}))),l.a.createElement(y,{title:k("Divider Setting","vk-blocks")},l.a.createElement(E,null,l.a.createElement(C,{label:k("Type","vk-blocks"),value:R,onChange:function(e){return n({dividerType:e})},options:[{value:"tilt",label:k("Tilt","vk-blocks")},{value:"curve",label:k("Curve","vk-blocks")},{value:"wave",label:k("Wave","vk-blocks")},{value:"triangle",label:k("Triangle","vk-blocks")}]}),l.a.createElement(g,{label:k("Upper Divider Level","vk-blocks"),value:m,onChange:function(e){return n({upper_level:f(e,-100,100)})},min:"-100",max:"100"}),l.a.createElement(x,{value:v,onChange:function(e){return n({upperDividerBgColor:e})}}),l.a.createElement(g,{label:k("Lower Divider Level","vk-blocks"),value:p,onChange:function(e){return n({lower_level:f(e,-100,100)})},min:"-100",max:"100"}),l.a.createElement(x,{value:d,onChange:function(e){return n({lowerDividerBgColor:e})}}))),l.a.createElement(y,{title:k("Border Setting","vk-blocks")},l.a.createElement(E,null,l.a.createElement("p",null,k("Border will disappear when divider effect is applied.","vk-blocks")),l.a.createElement(C,{label:k("Border type","vk-blocks"),value:I,onChange:function(e){return n({borderStyle:e})},options:[{value:"none",label:k("None","vk-blocks")},{value:"solid",label:k("Solid","vk-blocks")},{value:"dotted",label:k("Dotted","vk-blocks")},{value:"dashed",label:k("Dashed","vk-blocks")},{value:"double",label:k("Double","vk-blocks")},{value:"groove",label:k("Groove","vk-blocks")},{value:"ridge",label:k("Ridge","vk-blocks")},{value:"inset",label:k("Inset","vk-blocks")},{value:"outset",label:k("Outset","vk-blocks")}]}),l.a.createElement(x,{value:T,onChange:function(e){return n({borderColor:e})}}),l.a.createElement(g,{label:k("Border width","vk-blocks"),value:S,onChange:function(e){return n({borderWidth:e})},min:"0"}),l.a.createElement(g,{label:k("Border radius","vk-blocks"),value:O,onChange:function(e){return n({borderRadius:f(e,-100,100)})},min:"-100",max:"100"})))),vk_blocks_check.is_pro?l.a.createElement(b,{attributes:t,for_:"edit"}):l.a.createElement("div",null,k("This block is only for users who bought Lightning Pro.","vk-blocks")))},save:function(e){var t=e.attributes;if(vk_blocks_check.is_pro)return l.a.createElement(b,{attributes:t,for_:"save"})}});n(3),n(4);function I(e){return(I="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 T(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function O(e,t){return!t||"object"!==I(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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var j=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),O(this,A(t).apply(this,arguments))}var n,o,a;return 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&&P(e,t)}(t,l.a.Component),n=t,(o=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,o=this.props.lbAlign,a=this.props.lbSize,r=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbRichtext,m=this.props.lbsubCaption,p="",b={},f="",k="";return p="btn vk_button_link",e?(p="".concat(p," btn-primary btn-").concat(a),"0"===n?b={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===n&&(b={backgroundColor:"transparent",border:"1px solid "+e,color:e})):e||("0"===n?(p="".concat(p," btn-").concat(a," btn-").concat(t),b=null):"1"===n&&(p="".concat(p," btn-").concat(a," btn-outline-").concat(t),b=null)),"block"===o&&(p="".concat(p," btn-block")),i&&(f=l.a.createElement("i",{className:"".concat(i," vk_button_link_before")})),s&&(k=l.a.createElement("i",{className:"".concat(s," vk_button_link_after")})),l.a.createElement("a",{href:r,id:"vk_button_link",className:p,role:"button","aria-pressed":!0,style:b,target:c?"_blank":null},f,u,k,m&&l.a.createElement("p",{className:"vk_button_link_subCaption"},m))}}])&&T(n.prototype,o),a&&T(n,a),t}();function z(e){return(z="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 M(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function L(e,t){return!t||"object"!==z(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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var D=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),L(this,F(t).apply(this,arguments))}var n,o,a;return 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&&U(e,t)}(t,l.a.Component),n=t,(o=[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,o=this.props.lbAlign,a=this.props.lbSize,r=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbRichtext,m=(this.props.lbsubCaption,""),p={},b="",f="";return m="btn vk_button_link",e?(m="".concat(m," btn-primary btn-").concat(a),"0"===n?p={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===n&&(p={backgroundColor:"transparent",border:"1px solid "+e,color:e})):e||("0"===n?(m="".concat(m," btn-").concat(a," btn-").concat(t),p=null):"1"===n&&(m="".concat(m," btn-").concat(a," btn-outline-").concat(t),p=null)),"block"===o&&(m="".concat(m," btn-block")),i&&(b=l.a.createElement("i",{className:"".concat(i," vk_button_link_before")})),s&&(f=l.a.createElement("i",{className:"".concat(s," vk_button_link_after")})),l.a.createElement("a",{href:r,className:m,role:"button","aria-pressed":!0,style:p,target:c?"_blank":null},b,u,f)}}])&&M(n.prototype,o),a&&M(n,a),t}(),W=wp.editor.RichText,$=[{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,o=t.buttonUrl,a=t.buttonTarget,r=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonAlign,m=t.fontAwesomeIconBefore,p=t.fontAwesomeIconAfter,b="";return s?b="vk_button vk_button-color-custom vk_button-align-".concat(u):s||(b="vk_button vk_button-align-".concat(u)),l.a.createElement("div",{className:b},l.a.createElement(D,{lbColorCustom:s,lbColor:i,lbType:c,lbAlign:u,lbSize:r,lbUrl:o,lbTarget:a,lbFontAwesomeIconBefore:m,lbFontAwesomeIconAfter:p,lbRichtext:l.a.createElement(W.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}}],V=wp.i18n.__,q=wp.blocks.registerBlockType,H=wp.components,G=(H.RangeControl,H.RadioControl),Q=H.PanelBody,Y=(H.Button,H.BaseControl),J=H.CheckboxControl,K=H.TextControl,X=H.Dashicon,Z=H.IconButton,ee=wp.element.Fragment,te=wp.editor,ne=te.RichText,oe=te.InspectorControls,le=(te.MediaUpload,te.ColorPalette),ae=te.URLInput,re=l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},l.a.createElement("g",null,l.a.createElement("path",{d:"M506,185v142H70V185H506 M526.4,137H49.6C34.4,137,22,149.4,22,164.6v182.8c0,15.2,12.4,27.6,27.6,27.6h476.8 c15.2,0,27.6-12.4,27.6-27.6V164.6C554,149.4,541.6,137,526.4,137L526.4,137z"})),l.a.createElement("g",null,l.a.createElement("path",{d:"M83.8,206.9h55.9c9.3,0,16.5,2.3,21.5,6.9c5,4.6,7.5,10.3,7.5,17.1c0,5.7-1.8,10.6-5.3,14.7c-2.4,2.7-5.8,4.9-10.4,6.5 c6.9,1.7,12.1,4.5,15.3,8.6c3.3,4.1,4.9,9.2,4.9,15.3c0,5-1.2,9.5-3.5,13.5c-2.3,4-5.5,7.2-9.6,9.5c-2.5,1.5-6.3,2.5-11.3,3.2 c-6.7,0.9-11.2,1.3-13.4,1.3H83.8V206.9z M113.9,244.8h13c4.7,0,7.9-0.8,9.7-2.4c1.8-1.6,2.7-3.9,2.7-7c0-2.8-0.9-5-2.7-6.6 c-1.8-1.6-5-2.4-9.5-2.4h-13.2V244.8z M113.9,282.8h15.2c5.1,0,8.8-0.9,10.9-2.7s3.2-4.3,3.2-7.4c0-2.9-1-5.2-3.1-6.9 c-2.1-1.7-5.7-2.6-11-2.6h-15.2V282.8z"}),l.a.createElement("path",{d:"M245.9,303.5h-25.1v-11.3c-3.7,4.7-7.5,8-11.3,10c-3.8,2-8.5,3-14,3c-7.4,0-13.2-2.2-17.4-6.6c-4.2-4.4-6.3-11.2-6.3-20.4 v-44.6h27V272c0,4.4,0.8,7.5,2.4,9.4c1.6,1.8,3.9,2.8,6.9,2.8c3.2,0,5.8-1.2,7.9-3.7s3.1-6.9,3.1-13.3v-33.7h26.8V303.5z"}),l.a.createElement("path",{d:"M282.4,206.9v26.6h14.8v19.7h-14.8V278c0,3,0.3,5,0.9,5.9c0.9,1.5,2.4,2.2,4.6,2.2c2,0,4.7-0.6,8.3-1.7l2,18.5 c-6.6,1.5-12.8,2.2-18.6,2.2c-6.7,0-11.6-0.9-14.8-2.6c-3.2-1.7-5.5-4.3-7-7.8c-1.5-3.5-2.3-9.1-2.3-17v-24.6h-9.9v-19.7h9.9v-12.9 L282.4,206.9z"}),l.a.createElement("path",{d:"M330.2,206.9v26.6H345v19.7h-14.8V278c0,3,0.3,5,0.9,5.9c0.9,1.5,2.4,2.2,4.6,2.2c2,0,4.7-0.6,8.3-1.7l2,18.5 c-6.6,1.5-12.8,2.2-18.6,2.2c-6.7,0-11.6-0.9-14.8-2.6c-3.2-1.7-5.5-4.3-7-7.8c-1.5-3.5-2.3-9.1-2.3-17v-24.6h-9.9v-19.7h9.9v-12.9 L330.2,206.9z"}),l.a.createElement("path",{d:"M339.6,268.7c0-10.7,3.6-19.5,10.8-26.4s16.9-10.4,29.2-10.4c14,0,24.6,4.1,31.8,12.2c5.8,6.6,8.6,14.6,8.6,24.2 c0,10.8-3.6,19.6-10.7,26.5c-7.1,6.9-17,10.3-29.6,10.3c-11.3,0-20.4-2.9-27.3-8.6C343.9,289.5,339.6,280.2,339.6,268.7z M366.5,268.7c0,6.2,1.3,10.9,3.8,13.8c2.5,3,5.7,4.5,9.5,4.5c3.9,0,7-1.5,9.5-4.4c2.5-2.9,3.7-7.7,3.7-14.2 c0-6.1-1.3-10.6-3.8-13.6s-5.6-4.5-9.3-4.5c-3.9,0-7.1,1.5-9.7,4.5C367.8,257.9,366.5,262.5,366.5,268.7z"}),l.a.createElement("path",{d:"M418.2,233.5h25v11.4c3.7-4.7,7.5-8,11.3-10c3.8-2,8.5-3,14-3c7.4,0,13.2,2.2,17.4,6.6c4.2,4.4,6.3,11.2,6.3,20.5v44.5h-27 V265c0-4.4-0.8-7.5-2.4-9.3c-1.6-1.8-3.9-2.7-6.9-2.7c-3.3,0-5.9,1.2-7.9,3.7c-2,2.5-3,6.9-3,13.3v33.6h-26.8V233.5z"})));q("vk-blocks/button",{title:V("Button","vk-blocks"),icon:re,category:"vk-blocks-cat",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}},edit:function(e){var t=e.attributes,n=(e.className,e.setAttributes),o=e.isSelected,a=t.content,r=t.subCaption,c=t.buttonUrl,i=t.buttonTarget,s=t.buttonSize,u=t.buttonType,m=t.buttonColor,p=t.buttonColorCustom,b=t.buttonAlign,f=t.fontAwesomeIconBefore,k=t.fontAwesomeIconAfter;return l.a.createElement(ee,null,l.a.createElement(oe,null,l.a.createElement(Q,{title:V("Button setting","vk-blocks")},l.a.createElement(K,{label:V("Sub Caption","vk-blocks"),value:r,onChange:function(e){return n({subCaption:e})},placeholder:"Sub Caption"}),l.a.createElement(J,{label:V("Open link new tab.","vk-blocks"),checked:i,onChange:function(e){return n({buttonTarget:e})}}),l.a.createElement(G,{label:V("Button Size:","vk-blocks"),selected:s,options:[{label:V("Large","vk-blocks"),value:"lg"},{label:V("normal","vk-blocks"),value:"md"},{label:V("Small","vk-blocks"),value:"sm"}],onChange:function(e){return n({buttonSize:e})}}),l.a.createElement(G,{label:V("Button Position:","vk-blocks"),selected:b,options:[{label:V("Left","vk-blocks"),value:"left"},{label:V("Center","vk-blocks"),value:"center"},{label:V("Right","vk-blocks"),value:"right"},{label:V("Block","vk-blocks"),value:"block"}],onChange:function(e){return n({buttonAlign:e})}}),l.a.createElement(G,{label:V("Button Style:","vk-blocks"),selected:u,options:[{label:V("Solid color","vk-blocks"),value:"0"},{label:V("No background","vk-blocks"),value:"1"}],help:V('If you select "No background", that you need to select a Custom Color.',"vk-blocks"),onChange:function(e){return n({buttonType:e})}}),l.a.createElement(G,{label:V("Default Color:","vk-blocks"),selected:m,options:[{label:V("Primary","vk-blocks"),value:"primary"},{label:V("Secondary","vk-blocks"),value:"secondary"},{label:V("Success","vk-blocks"),value:"success"},{label:V("Info","vk-blocks"),value:"info"},{label:V("Warning","vk-blocks"),value:"warning"},{label:V("Danger","vk-blocks"),value:"danger"},{label:V("Light","vk-blocks"),value:"light"},{label:V("Dark","vk-blocks"),value:"dark"}],onChange:function(e){return n({buttonColor:e})}}),l.a.createElement(Y,{label:V("Custom Color","vk-blocks"),help:V("This custom color overrides the default color. If you want to use the default color, click the clear button.","vk-blocks")},l.a.createElement(le,{value:p,onChange:function(e){return n({buttonColorCustom:e})}})),l.a.createElement(Y,{label:V("Font Awesome:","vk-blocks"),help:l.a.createElement("a",{href:"https://fontawesome.com/icons?d=gallery&m=free",target:"_blank"},V("Font Awesome icon list","vk-blocks"))},l.a.createElement(K,{label:V("Before text","vk-blocks"),help:V("Enter Font Awesome Class.This icon will appear before text. Ex) fas fa-arrow-circle-right","vk-blocks"),value:f,onChange:function(e){return n({fontAwesomeIconBefore:e})},placeholder:"fas fa-arrow-circle-right"}),l.a.createElement(K,{label:V("After text","vk-blocks"),help:V("Enter Font Awesome Class.This icon will appear after text. Ex) fas fa-external-link-alt","vk-blocks"),value:k,onChange:function(e){return n({fontAwesomeIconAfter:e})},placeholder:"fas fa-external-link-alt"})))),l.a.createElement("div",{className:p?"vk_button vk_button-align-".concat(b," vk_button-color-custom"):"vk_button vk_button-align-".concat(b)},l.a.createElement(j,{lbColorCustom:p,lbColor:m,lbType:u,lbAlign:b,lbSize:s,lbFontAwesomeIconBefore:f,lbFontAwesomeIconAfter:k,lbsubCaption:r,lbRichtext:l.a.createElement(ne,{tagName:"span",className:"vk_button_link_txt",onChange:function(e){return n({content:e})},value:a,placeholder:V("Input text","vk-blocks"),formattingControls:["bold","italic","strikethrough"],keepPlaceholderOnFocus:!0})}),o&&l.a.createElement("form",{className:"block-library-button__inline-link",onSubmit:function(e){return e.preventDefault()}},l.a.createElement(X,{icon:"admin-links"}),l.a.createElement(ae,{value:c,onChange:function(e){return n({buttonUrl:e})}}),l.a.createElement(Z,{icon:"editor-break",label:V("Apply","vk-blocks"),type:"submit"}))))},save:function(e){var t=e.attributes,n=(e.className,t.content),o=t.subCaption,a=t.buttonUrl,r=t.buttonTarget,c=t.buttonSize,i=t.buttonType,s=t.buttonColor,u=t.buttonColorCustom,m=t.buttonAlign,p=t.fontAwesomeIconBefore,b=t.fontAwesomeIconAfter,f="";return u?f="vk_button vk_button-color-custom vk_button-align-".concat(m):u||(f="vk_button vk_button-align-".concat(m)),l.a.createElement("div",{className:f},l.a.createElement(j,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:m,lbSize:c,lbUrl:a,lbTarget:r,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:b,lbsubCaption:o,lbRichtext:l.a.createElement(ne.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))},deprecated:$});n(5),n(6),n(7);function ce(e){return(ce="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 ie(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function se(e,t){return!t||"object"!==ce(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 ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var pe=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),se(this,ue(t).apply(this,arguments))}var n,o,a;return 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&&me(e,t)}(t,l.a.Component),n=t,(o=[{key:"render",value:function(){var e=this.props.attributes,t=e.buttonText,n=e.fontAwesomeIconBefore,o=e.fontAwesomeIconAfter,a="",r="";return n&&(a=l.a.createElement("i",{className:"".concat(n," vk_button_link_before")})),o&&(r=l.a.createElement("i",{className:"".concat(o," vk_button_link_after")})),l.a.createElement(l.a.Fragment,null,a,l.a.createElement("span",{className:"vk_button_link_txt"},t),r)}}])&&ie(n.prototype,o),a&&ie(n,a),t}();function be(e){return(be="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 fe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ke(e,t){return!t||"object"!==be(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 ve(e){return(ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function de(e,t){return(de=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ge=wp.i18n.__,_e=wp.components.Button,ye=wp.editor.MediaUpload,he=wp.editor.RichText,Ee=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ke(this,ve(t).apply(this,arguments))}var n,o,a;return 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&&de(e,t)}(t,l.a.Component),n=t,(o=[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,o=e.content,a=e.contentColor,r=e.url,c=e.buttonType,i=e.buttonColor,s=e.buttonColorCustom,u=e.buttonText,m=e.buttonTarget,p=e.Image,b=e.ImageBorderColor,f=e.layout,k=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),v=this.props.for_,d="vk_prContent",g="vk_button",_="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};return d="".concat(d,"right"===f?" vk_prContent-layout-imageRight":" vk_prContent-layout-imageLeft"),s?(g="".concat(g," vk_button-color-custom"),_="".concat(_," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(_="".concat(_," btn-").concat(i),y=null):"1"===c&&(_="".concat(_," btn-outline-").concat(i),y=null)),l.a.createElement("div",{className:d},l.a.createElement("div",{className:"col-sm-6 vk_prContent_colImg"},"edit"===v?l.a.createElement(ye,{onSelect:function(e){return k({Image:e.sizes.full.url})},type:" image",value:p,render:function(e){var t=e.open;return l.a.createElement(_e,{onClick:t,className:p?"image-button":"button button-large"},p?l.a.createElement("img",{className:"vk_prContent_colImg_image",src:p,alt:ge("Upload image","vk-blocks"),style:{border:"1px solid ".concat(b)}}):ge("Select image","vk-blocks"))}}):p?l.a.createElement("img",{className:"vk_prContent_colImg_image",src:p,alt:ge("Upload image","vk-blocks"),style:{border:"1px solid ".concat(b)}}):ge("Select image","vk-blocks")),l.a.createElement("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===v?l.a.createElement(l.a.Fragment,null,l.a.createElement(he,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return k({title:e})},value:t,placeholder:ge("Input title.","vk-blocks"),style:{color:n}}),l.a.createElement(he,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return k({content:e})},value:o,placeholder:ge("Input content.","vk-blocks"),style:{color:a}})):l.a.createElement(l.a.Fragment,null,l.a.createElement(he.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),l.a.createElement(he.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:o,style:{color:a}})),function(){if(""!==u&&void 0!==u)return l.a.createElement("div",{className:g},l.a.createElement("a",{href:r,className:_,target:m?"_blank":null,style:y},l.a.createElement(pe,{attributes:e})))}()))}}])&&fe(n.prototype,o),a&&fe(n,a),t}(),Ce=wp.i18n.__,we=wp.blocks.registerBlockType,Re=wp.components,Ne=(Re.RangeControl,Re.RadioControl),Be=Re.PanelBody,xe=(Re.Button,Re.BaseControl),Se=Re.CheckboxControl,Ie=Re.TextControl,Te=wp.element.Fragment,Oe=wp.editor,Ae=(Oe.RichText,Oe.InspectorControls),Pe=(Oe.MediaUpload,Oe.ColorPalette),je=l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"576",height:"512",viewBox:"0 0 576 512"},l.a.createElement("g",null,l.a.createElement("path",{d:"M291.7,133.3l0,245.3l-273.1,0l0-245.3L291.7,133.3 M307.2,117.8l-304.2,0l0,276.4l304.2,0L307.2,117.8L307.2,117.8z"}),l.a.createElement("path",{d:"M560.7,218.8l-213.1,0c-6.1,0-11.1-5-11.1-11.1s5-11.1,11.1-11.1l213.1,0c6.1,0,11.1,5,11.1,11.1 C571.8,213.8,566.8,218.8,560.7,218.8z"}),l.a.createElement("path",{d:"M560.7,265.4l-213.1,0c-6.1,0-11.1-5-11.1-11.1c0-6.1,5-11.1,11.1-11.1l213.1,0c6.1,0,11.1,5,11.1,11.1 C571.8,260.5,566.8,265.4,560.7,265.4z"}),l.a.createElement("path",{d:"M560.7,312.1l-213.1,0c-6.1,0-11.1-5-11.1-11.1c0-6.1,5-11.1,11.1-11.1l213.1,0c6.1,0,11.1,5,11.1,11.1 C571.8,307.1,566.8,312.1,560.7,312.1z"}),l.a.createElement("polygon",{points:"278.4,365.4 31.9,365.4 31.9,287.4 113,182.2 184.4,264.4 229.9,226.5 278.4,290.6 \t"}),l.a.createElement("path",{d:"M360.6,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7c-4.8,0-8.7-3.9-8.7-8.7C351.9,137.2,355.8,133.3,360.6,133.3 M360.6,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2c13.4,0,24.2-10.9,24.2-24.2 C384.9,128.7,374,117.8,360.6,117.8L360.6,117.8z"}),l.a.createElement("path",{d:"M423.3,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7c-4.8,0-8.7-3.9-8.7-8.7C414.6,137.2,418.5,133.3,423.3,133.3 M423.3,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2s24.2-10.9,24.2-24.2C447.6,128.7,436.7,117.8,423.3,117.8 L423.3,117.8z"}),l.a.createElement("path",{d:"M486,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7c-4.8,0-8.7-3.9-8.7-8.7C477.3,137.2,481.2,133.3,486,133.3 M486,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2c13.4,0,24.2-10.9,24.2-24.2 C510.2,128.7,499.4,117.8,486,117.8L486,117.8z"}),l.a.createElement("path",{d:"M548.7,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7s-8.7-3.9-8.7-8.7C540,137.2,543.9,133.3,548.7,133.3 M548.7,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2c13.4,0,24.2-10.9,24.2-24.2 C572.9,128.7,562.1,117.8,548.7,117.8L548.7,117.8z"}),l.a.createElement("path",{d:"M566.3,347.6l-224.3,0c-3.1,0-5.6,2.5-5.6,5.6l0,35.5c0,3.1,2.5,5.6,5.6,5.6l224.3,0c3.1,0,5.6-2.5,5.6-5.6v-35.5 C571.8,350.1,569.3,347.6,566.3,347.6z M547.1,379.2v-16.6l9.8,8.3L547.1,379.2z"})));we("vk-blocks/pr-content",{title:Ce("PR Content","vk-blocks"),icon:je,category:"vk-blocks-cat",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"}},edit:function(e){var t=e.attributes,n=(e.className,e.setAttributes),o=t.titleColor,a=t.contentColor,r=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.ImageBorderColor,b=t.layout,f=t.fontAwesomeIconBefore,k=t.fontAwesomeIconAfter;return l.a.createElement(Te,null,l.a.createElement(Ae,null,l.a.createElement(Be,{title:Ce("Color Setting","vk-blocks")},l.a.createElement(xe,{label:Ce("Title Color","vk-blocks")},l.a.createElement(Pe,{value:o,onChange:function(e){return n({titleColor:e})}})),l.a.createElement(xe,{label:Ce("Content Color","vk-blocks")},l.a.createElement(Pe,{value:a,onChange:function(e){return n({contentColor:e})}})),l.a.createElement(xe,{label:Ce("Image Border Color","vk-blocks")},l.a.createElement(Pe,{value:p,onChange:function(e){return n({ImageBorderColor:e})}}))),l.a.createElement(Be,{title:Ce("Button Setting","vk-blocks")},l.a.createElement(xe,{label:Ce("Button Text","vk-blocks")},l.a.createElement(Ie,{value:u,onChange:function(e){return n({buttonText:e})},placeholder:"Input button text."})),l.a.createElement(xe,{label:Ce("Link URL","vk-blocks")},l.a.createElement(Ie,{value:r,onChange:function(e){return n({url:e})},placeholder:"https://vektor-inc.co.jp/"})),l.a.createElement(Se,{label:Ce("Open link new tab.","vk-blocks"),checked:m,onChange:function(e){return n({buttonTarget:e})}}),l.a.createElement(xe,{label:Ce("Button Type","vk-blocks")},l.a.createElement(Ne,{selected:c,options:[{label:Ce("Solid","vk-blocks"),value:"0"},{label:Ce("Ghost","vk-blocks"),value:"1"}],onChange:function(e){return n({buttonType:e})}})),l.a.createElement(Ne,{label:Ce("Default Color:","vk-blocks"),selected:i,options:[{label:Ce("Primary","vk-blocks"),value:"primary"},{label:Ce("Secondary","vk-blocks"),value:"secondary"},{label:Ce("Success","vk-blocks"),value:"success"},{label:Ce("Info","vk-blocks"),value:"info"},{label:Ce("Warning","vk-blocks"),value:"warning"},{label:Ce("Danger","vk-blocks"),value:"danger"},{label:Ce("Light","vk-blocks"),value:"light"},{label:Ce("Dark","vk-blocks"),value:"dark"}],onChange:function(e){return n({buttonColor:e})}}),l.a.createElement(xe,{label:Ce("Button Color","vk-blocks")},l.a.createElement(Pe,{value:s,onChange:function(e){return n({buttonColorCustom:e})}})),l.a.createElement(xe,{label:Ce("Font Awesome:","vk-blocks"),help:l.a.createElement("a",{href:"https://fontawesome.com/icons?d=gallery&m=free",target:"_blank"},Ce("Font Awesome icon list","vk-blocks"))},l.a.createElement(Ie,{label:Ce("Before text","vk-blocks"),help:Ce("Enter Font Awesome Class.This icon will appear before text. Ex) fas fa-arrow-circle-right","vk-blocks"),value:f,onChange:function(e){return n({fontAwesomeIconBefore:e})},placeholder:"fas fa-arrow-circle-right"}),l.a.createElement(Ie,{label:Ce("After text","vk-blocks"),help:Ce("Enter Font Awesome Class.This icon will appear after text. Ex) fas fa-external-link-alt","vk-blocks"),value:k,onChange:function(e){return n({fontAwesomeIconAfter:e})},placeholder:"fas fa-external-link-alt"}))),l.a.createElement(Be,{title:Ce("Layout Setting","vk-blocks")},l.a.createElement(Ne,{label:Ce("Layout Type","vk-blocks"),selected:b,options:[{label:Ce("Right","vk-blocks"),value:"right"},{label:Ce("Left","vk-blocks"),value:"left"}],onChange:function(e){return n({layout:e})}}))),l.a.createElement(Ee,{attributes:t,setAttributes:n,for_:"edit"}))},save:function(e){var t=e.attributes;e.className;return l.a.createElement(Ee,{attributes:t,for_:"save"})}})}]);
15
//# sourceMappingURL=block-build.js.map
plugins/vk-blocks/build/block-build.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/react/index.js","webpack:///./node_modules/react/cjs/react.production.min.js","webpack:///./node_modules/react/node_modules/object-assign/index.js","webpack:///./src/alert/block.js","webpack:///./src/balloon/block.js","webpack:///./src/faq/block.js","webpack:///./src/flow/block.js","webpack:///./src/pr-blocks/block.js","webpack:///./src/outer/component-divider.js","webpack:///./src/outer/component.js","webpack:///./src/_helper/to-number.js","webpack:///./src/outer/block.js","webpack:///./src/outer/schema.js","webpack:///./src/button/component.js","webpack:///./src/button/deprecated/component-deprecated.js","webpack:///./src/button/deprecated/deprecated.js","webpack:///./src/button/block.js","webpack:///./src/pr-content/component-fontawesome.js","webpack:///./src/pr-content/component.js","webpack:///./src/pr-content/block.js","webpack:///./src/pr-content/schema.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","k","for","q","u","v","w","x","y","z","A","B","C","iterator","D","a","b","arguments","length","e","encodeURIComponent","g","h","f","Error","replace","framesToPop","aa","E","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","F","G","this","props","context","refs","updater","H","I","isReactComponent","setState","forceUpdate","J","constructor","isPureReactComponent","K","current","currentDispatcher","L","M","ref","__self","__source","N","children","Array","defaultProps","$typeof","type","_owner","O","P","Q","R","pop","result","keyPrefix","func","count","S","push","V","T","U","isArray","next","done","keys","join","=",":","escape","toString","ca","da","W","ba","X","Children","map","forEach","toArray","only","createRef","Component","PureComponent","createContext","_calculateChangedBits","_currentValue","_currentValue2","_threadCount","Provider","Consumer","_context","forwardRef","render","lazy","_ctor","_status","_result","memo","compare","Fragment","StrictMode","Suspense","createElement","cloneElement","createFactory","isValidElement","version","unstable_ConcurrentMode","unstable_Profiler","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","assign","Y","default","Z","getOwnPropertySymbols","propIsEnumerable","propertyIsEnumerable","test1","String","getOwnPropertyNames","test2","fromCharCode","test3","split","letter","err","shouldUseNative","target","source","from","symbols","to","val","TypeError","toObject","__","wp","i18n","registerBlockType","blocks","RichText","editor","title","icon","category","attributes","style","content","selector","edit","_ref","setAttributes","React","className","concat","onChange","event","selected","tagName","newContent","save","_ref2","Content","components","RadioControl","RangeControl","PanelBody","Button","element","InspectorControls","MediaUpload","ColorPalette","BlockIcon","xmlns","width","height","viewBox","balloonName","balloonType","balloonBgColor","balloonAlign","IconImage","label","help","options","onSelect","sizes","full","url","open","onClick","src","alt","placeholder","background","border","_ref3","heading","PanelColor","arrowFlag","insertImage","BaseControl","CheckboxControl","TextControl","cx","cy","number","set_attirbuite","heading1","heading2","heading3","content1","content2","content3","url1","url2","url3","urlOpenType1","urlOpenType2","urlOpenType3","icon1","icon2","icon3","color1","color2","color3","bgType1","bgType2","bgType3","insertImage1","insertImage2","insertImage3","checked","_ref4","backgroundImage","backgroundRepeat","backgroundSize","backgroundColor","color","_ref5","href","_readOnlyError","componentDivider","level","whichSide","dividerType","sectionPadding","sectionClass","lenderDivider","Math","abs","strokeWidth","fill","absLevel","tiltSectionStyle","curveSectionStyle","waveSectionStyle","DivideAbs4","triangleSectionStyle","paddingBottom","preserveAspectRatio","paddingTop","InnerBlocks","hex2rgba","hex","alpha","match","slice","parseInt","_React$Component","_classCallCheck","_possibleConstructorReturn","_getPrototypeOf","apply","_inherits","classPaddingLR","classPaddingVertical","classBgPosition","classWidth","elm","containerClass","whichSideUpper","whichSideLower","_this$props$attribute","bgColor","bgImage","bgPosition","outerWidth","padding_left_and_right","padding_top_and_bottom","opacity","upper_level","lower_level","upperDividerBgColor","lowerDividerBgColor","for_","react_default","toNumber","min","undefined","max","Number","isNaN","SelectControl","points","step","vk_blocks_check","is_pro","component_Component","component_classCallCheck","component_possibleConstructorReturn","component_getPrototypeOf","component_inherits","buttonColorCustom","lbColorCustom","buttonColor","lbColor","buttonType","lbType","buttonAlign","lbAlign","buttonSize","lbSize","buttonUrl","lbUrl","buttonTarget","lbTarget","fontAwesomeIconBefore","lbFontAwesomeIconBefore","fontAwesomeIconAfter","lbFontAwesomeIconAfter","richText","lbRichtext","subCaption","lbsubCaption","aClass","aStyle","iconBefore","iconAfter","id","role","aria-pressed","ComponentDeprecated","component_deprecated_classCallCheck","component_deprecated_possibleConstructorReturn","component_deprecated_getPrototypeOf","component_deprecated_inherits","deprecated","component_deprecated_ComponentDeprecated","deprecated_RichText","Dashicon","IconButton","URLInput","isSelected","block_Fragment","block_InspectorControls","block_PanelBody","block_RadioControl","block_BaseControl","block_ColorPalette","button_component_Component","block_RichText","formattingControls","keepPlaceholderOnFocus","onSubmit","preventDefault","Fontawesome","component_fontawesome_classCallCheck","component_fontawesome_possibleConstructorReturn","component_fontawesome_getPrototypeOf","component_fontawesome_inherits","buttonText","pr_content_component_classCallCheck","pr_content_component_possibleConstructorReturn","pr_content_component_getPrototypeOf","pr_content_component_inherits","titleColor","contentColor","Image","ImageBorderColor","layout","btnClass","component_MediaUpload","component_Button","component_RichText","component_fontawesome_Fontawesome","pr_content_block_Fragment","pr_content_block_InspectorControls","pr_content_block_PanelBody","pr_content_block_BaseControl","pr_content_block_ColorPalette","block_TextControl","block_CheckboxControl","pr_content_block_RadioControl","pr_content_component_Component"],"mappings":"aACA,IAAAA,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,GAAA,CACAG,EAAAH,EACAI,GAAA,EACAH,QAAA,IAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,E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AAD,OAAWsL,EAAc,CAACkK,kBAAmBxV,QAG/DuU,EAAA1S,EAAAuG,cAACgS,GAAD,CACI/M,MAAO/C,GAAG,gBAAiB,aAC3BgD,KAAMiH,EAAA1S,EAAAuG,cAAA,KAAG2I,KAAI,iDAAoDjH,OAAM,UAAaQ,GAAG,yBAA0B,eAEjHiK,EAAA1S,EAAAuG,cAACkS,GAAD,CACIjN,MAAO/C,GAAG,cAAe,aACzBgD,KAAMhD,GAAG,4FAA6F,aACtGtK,MAAOsW,EACP5K,SAAU,SAAC1L,GAAD,OAAWsL,EAAc,CAACgL,sBAAuBtW,KAC3DgO,YAAa,8BAEjBuG,EAAA1S,EAAAuG,cAACkS,GAAD,CACIjN,MAAO/C,GAAG,aAAc,aACxBgD,KAAMhD,GAAG,0FAA2F,aACpGtK,MAAOwW,EACP9K,SAAU,SAAC1L,GAAD,OAAWsL,EAAc,CAACkL,qBAAsBxW,KAC1DgO,YAAa,+BAIzBuG,EAAA1S,EAAAuG,cAAC+R,GAAD,CAAWtP,MAAOP,GAAG,iBAAkB,cAC/BiK,EAAA1S,EAAAuG,cAACoS,GAAD,CACInN,MAAO/C,GAAG,cAAe,aACzBsB,SAAU+N,EACVpM,QAAS,CACL,CAACF,MAAO/C,GAAG,QAAS,aAActK,MAAO,SACzC,CAACqN,MAAO/C,GAAG,OAAQ,aAActK,MAAO,SAE5C0L,SAAU,SAAC1L,GAAD,OAAWsL,EAAc,CAACqO,OAAQ3Z,SAI5DuU,EAAA1S,EAAAuG,cAACqS,GAAD,CACIzP,WAAYA,EACZM,cAAeA,EACfgJ,KAAM,WAetBvI,KAhKsC,SAAAC,GAgKR,IAAxBhB,EAAwBgB,EAAxBhB,WAAwBgB,EAAZR,UAEd,OACI+I,EAAA1S,EAAAuG,cAACqS,GAAD,CACIzP,WAAYA,EACZsJ,KAAM","file":"./inc/vk-blocks/build/block-build.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","/** @license React v16.7.0\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var k=require(\"object-assign\"),n=\"function\"===typeof Symbol&&Symbol.for,p=n?Symbol.for(\"react.element\"):60103,q=n?Symbol.for(\"react.portal\"):60106,r=n?Symbol.for(\"react.fragment\"):60107,t=n?Symbol.for(\"react.strict_mode\"):60108,u=n?Symbol.for(\"react.profiler\"):60114,v=n?Symbol.for(\"react.provider\"):60109,w=n?Symbol.for(\"react.context\"):60110,x=n?Symbol.for(\"react.concurrent_mode\"):60111,y=n?Symbol.for(\"react.forward_ref\"):60112,z=n?Symbol.for(\"react.suspense\"):60113,A=n?Symbol.for(\"react.memo\"):\n60115,B=n?Symbol.for(\"react.lazy\"):60116,C=\"function\"===typeof Symbol&&Symbol.iterator;function aa(a,b,e,c,d,g,h,f){if(!a){a=void 0;if(void 0===b)a=Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else{var l=[e,c,d,g,h,f],m=0;a=Error(b.replace(/%s/g,function(){return l[m++]}));a.name=\"Invariant Violation\"}a.framesToPop=1;throw a;}}\nfunction D(a){for(var b=arguments.length-1,e=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=0;c<b;c++)e+=\"&args[]=\"+encodeURIComponent(arguments[c+1]);aa(!1,\"Minified React error #\"+a+\"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. \",e)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F={};\nfunction G(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}G.prototype.isReactComponent={};G.prototype.setState=function(a,b){\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a?D(\"85\"):void 0;this.updater.enqueueSetState(this,a,b,\"setState\")};G.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function H(){}H.prototype=G.prototype;function I(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}var J=I.prototype=new H;\nJ.constructor=I;k(J,G.prototype);J.isPureReactComponent=!0;var K={current:null,currentDispatcher:null},L=Object.prototype.hasOwnProperty,M={key:!0,ref:!0,__self:!0,__source:!0};\nfunction N(a,b,e){var c=void 0,d={},g=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=\"\"+b.key),b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var l=Array(f),m=0;m<f;m++)l[m]=arguments[m+2];d.children=l}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$typeof:p,type:a,key:g,ref:h,props:d,_owner:K.current}}\nfunction ba(a,b){return{$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return\"object\"===typeof a&&null!==a&&a.$typeof===p}function escape(a){var b={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+(\"\"+a).replace(/[=:]/g,function(a){return b[a]})}var P=/\\/+/g,Q=[];function R(a,b,e,c){if(Q.length){var d=Q.pop();d.result=a;d.keyPrefix=b;d.func=e;d.context=c;d.count=0;return d}return{result:a,keyPrefix:b,func:e,context:c,count:0}}\nfunction S(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q.length&&Q.push(a)}\nfunction T(a,b,e,c){var d=typeof a;if(\"undefined\"===d||\"boolean\"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case \"string\":case \"number\":g=!0;break;case \"object\":switch(a.$typeof){case p:case q:g=!0}}if(g)return e(c,a,\"\"===b?\".\"+U(a,0):b),1;g=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var h=0;h<a.length;h++){d=a[h];var f=b+U(d,h);g+=T(d,f,e,c)}else if(null===a||\"object\"!==typeof a?f=null:(f=C&&a[C]||a[\"@@iterator\"],f=\"function\"===typeof f?f:null),\"function\"===typeof f)for(a=f.call(a),h=\n0;!(d=a.next()).done;)d=d.value,f=b+U(d,h++),g+=T(d,f,e,c);else\"object\"===d&&(e=\"\"+a,D(\"31\",\"[object Object]\"===e?\"object with keys {\"+Object.keys(a).join(\", \")+\"}\":e,\"\"));return g}function V(a,b,e){return null==a?0:T(a,\"\",b,e)}function U(a,b){return\"object\"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function ca(a,b){a.func.call(a.context,b,a.count++)}\nfunction da(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,c,e,function(a){return a}):null!=a&&(O(a)&&(a=ba(a,d+(!a.key||b&&b.key===a.key?\"\":(\"\"+a.key).replace(P,\"amp;/\")+\"/\")+e)),c.push(a))}function W(a,b,e,c,d){var g=\"\";null!=e&&(g=(\"\"+e).replace(P,\"amp;/\")+\"/\");b=R(b,g,c,d);V(a,da,b);S(b)}\nvar X={Children:{map:function(a,b,e){if(null==a)return a;var c=[];W(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=R(null,null,b,e);V(a,ca,b);S(b)},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){O(a)?void 0:D(\"143\");return a}},createRef:function(){return{current:null}},Component:G,PureComponent:I,createContext:function(a,b){void 0===b&&(b=null);a={$typeof:w,_calculateChangedBits:b,\n_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$typeof:y,render:a}},lazy:function(a){return{$typeof:B,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$typeof:A,type:a,compare:void 0===b?null:b}},Fragment:r,StrictMode:t,Suspense:z,createElement:N,cloneElement:function(a,b,e){null===a||void 0===a?D(\"267\",a):void 0;var c=void 0,d=k({},a.props),g=a.key,h=a.ref,f=a._owner;\nif(null!=b){void 0!==b.ref&&(h=b.ref,f=K.current);void 0!==b.key&&(g=\"\"+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];d.children=l}return{$typeof:p,type:a.type,key:g,ref:h,props:d,_owner:f}},createFactory:function(a){var b=N.bind(null,a);b.type=a;return b},isValidElement:O,version:\"16.7.0\",\nunstable_ConcurrentMode:x,unstable_Profiler:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:K,assign:k}},Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z;\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Alert block type\n *\n */\n\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst { registerBlockType } = wp.blocks;\nconst { RichText } = wp.editor;\n\nregisterBlockType( 'vk-blocks/alert', {\n\n title: __('Alert', 'vk-blocks'),\n\n icon: 'info',\n\n category: 'vk-blocks-cat',\n\n attributes: {\n style: {\n type: 'string',\n default: 'info',\n },\n content: {\n type: 'string',\n source: 'html',\n selector: 'p',\n }\n },\n\n edit({attributes, setAttributes}) {\n const {\n style,\n content\n } = attributes;\n\n function onStyleChange(event){\n setAttributes({style: event.target.value});\n }\n\n function onChangeContent(newContent) {\n setAttributes({content: newContent});\n }\n\n return (\n <div className={`alert alert-${style}`}>\n <select onChange={onStyleChange}>\n <option value={'success'} selected={style === 'success'}>Success</option>\n <option value={'info'} selected={style === 'info'}>Info</option>\n <option value={'warning'} selected={style === 'warning'}>Warning</option>\n <option value={'danger'} selected={style === 'danger'}>Danger</option>\n </select>\n <RichText\n tagName=\"p\"\n onChange={onChangeContent}\n value={content}\n />\n </div>\n );\n },\n\n save({attributes}) {\n const {\n style,\n content\n } = attributes;\n return (\n <div className={`alert alert-${style}`}>\n <RichText.Content\n tagName={'p'}\n value={content}/>\n </div>\n );\n },\n\n} );\n","/**\n * Baloon block type\n *\n */\n\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst { registerBlockType } = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RangeControl, RadioControl, PanelBody, Button} = wp.components;\nconst { Fragment } = wp.element;\nconst {RichText, InspectorControls, MediaUpload, ColorPalette} = wp.editor;\nconst BlockIcon = (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"576\" height=\"512\" viewBox=\"0 0 576 512\">\n\t\t<path d=\"M544 450.583c0 22.75 13.014 42.454 32 52.092v7.969c-5.313 0.727-10.736 1.112-16.25 1.112-34.004 0-64.674-14.264-86.361-37.132-13.111 3.491-27.001 5.376-41.389 5.376-79.529 0-144-57.308-144-128s64.471-128 144-128c79.529 0 144 57.308 144 128 0 27.674-9.882 53.296-26.678 74.233-3.412 7.412-5.322 15.656-5.322 24.35zM115.339 110.593c-33.107 26.899-51.339 61.492-51.339 97.407 0 20.149 5.594 39.689 16.626 58.075 11.376 18.96 28.491 36.293 49.494 50.126 15.178 9.996 25.39 25.974 28.088 43.947 0.9 5.992 1.464 12.044 1.685 18.062 3.735-3.097 7.375-6.423 10.94-9.988 12.077-12.076 28.39-18.745 45.251-18.745 2.684 0 5.381 0.168 8.078 0.512 10.474 1.331 21.172 2.008 31.797 2.010v64c-13.564-0.001-26.877-0.869-39.871-2.521-54.989 54.989-120.625 64.85-184.088 66.298v-13.458c34.268-16.789 64-47.37 64-82.318 0-4.877-0.379-9.665-1.082-14.348-57.898-38.132-94.918-96.377-94.918-161.652 0-114.875 114.615-208 256-208 139.229 0 252.496 90.307 255.918 202.76-20.548-9.158-42.92-14.711-66.131-16.289-5.765-28.034-22.701-54.408-49.126-75.878-17.661-14.349-38.458-25.695-61.814-33.722-24.853-8.54-51.38-12.871-78.847-12.871s-53.994 4.331-78.847 12.871c-23.356 8.027-44.153 19.372-61.814 33.722z\"/>\n\t</svg>\n);\n\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/balloon', {\n\t// Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('Ballon', 'vk-blocks'), // Block title.\n\ticon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n\tcategory: 'vk-blocks-cat', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n\tattributes: {\n\t\tcontent: {\n\t\t\tsource: 'html',\n selector: 'p',\n\t\t},\n balloonName: {\n source: 'html',\n selector: 'figcaption',\n },\n balloonType: {\n type: 'string',\n default: 'type-serif',\n },\n\t\tballoonBgColor: {\n\t\t\ttype: 'string',\n\t\t},\n\t\tballoonAlign: {\n\t\t\ttype: 'string',\n\t\t\tdefault: 'position-left',\n\t\t},\n\t\tIconImage: {\n\t\t\ttype: 'string',\n\t\t\tdefault: null, // no image by default!\n\t\t}\n\t},\n\n\t/**\n\t * The edit function describes the structure of your block in the context of the editor.\n\t * This represents what the editor will render when the block is used.\n\t *\n\t * The \"edit\" property must be a valid function.\n\t *\n\t * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n\t */\n\tedit( { attributes, className, setAttributes } ) {\n\t\tconst {\n\t\t\tcontent,\n balloonName,\n balloonType,\n balloonBgColor,\n\t\t\tballoonAlign,\n\t\t\tIconImage,\n\t\t} = attributes;\n\n return (\n\t\t\t<Fragment>\n\t\t\t\t<InspectorControls>\n\t\t\t\t\t<PanelBody title={__('Balloon setting', 'vk-blocks')}>\n\t\t\t\t\t\t<RadioControl\n\t\t\t\t\t\t\tlabel={__('Position', 'vk-blocks')}\n\t\t\t\t\t\t\thelp={__('Please specify the layout of the balloon.', 'vk-blocks')}\n\t\t\t\t\t\t\tselected={ balloonAlign }\n\t\t\t\t\t\t\toptions={ [\n\t\t\t\t\t\t\t\t{ label: __('Left', 'vk-blocks'), value: 'position-left' },\n\t\t\t\t\t\t\t\t{ label: __('Right', 'vk-blocks'), value: 'position-right' },\n\t\t\t\t\t\t\t] }\n\t\t\t\t\t\t\tonChange={ ( value ) => setAttributes( { balloonAlign: value } ) }\n\t\t\t\t\t\t/>\n\t\t <RadioControl\n\t\t label={__('Type', 'vk-blocks')}\n\t\t help={__('Please select the type of balloon.', 'vk-blocks')}\n\t\t selected={ balloonType }\n\t\t options={ [\n\t\t { label: __('Serif', 'vk-blocks'), value: 'type-serif' },\n\t\t { label: __('Thinking', 'vk-blocks'), value: 'type-think' }\n\t\t ] }\n\t\t onChange={ ( value ) => setAttributes( { balloonType: value } ) }\n\t\t />\n\t\t <ColorPalette\n\t\t value={balloonBgColor}\n\t\t onChange={(value) => setAttributes({balloonBgColor: value})}\n\t\t />\n\t\t\t\t\t</PanelBody>\n\t\t\t\t</InspectorControls>\n\n\t\t\t\t<div className={ `${ className } vk_balloon vk_balloon-${ balloonAlign } vk_balloon-${ balloonType }` }>\n\t\t\t\t\t<div className={ 'vk_balloon_icon' }>\n\t\t\t\t\t\t<MediaUpload\n\t\t\t\t\t\t\tonSelect={ (value) => setAttributes( { IconImage: value.sizes.full.url } ) }\n\t\t\t\t\t\t\ttype=\"image\"\n\t\t\t\t\t\t\tclassName={ 'vk_balloon_icon_image' }\n\t\t\t\t\t\t\tvalue={ IconImage }\n\t\t\t\t\t\t\trender={ ( { open } ) => (\n\t\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\t\tonClick={ open }\n\t\t\t\t\t\t\t\t\tclassName={ IconImage ? 'image-button' : 'button button-large' }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{ ! IconImage ? __('Select image', 'vk-blocks') : <img className={ 'vk_balloon_icon_image' } src={ IconImage } alt={__('Upload image', 'vk-blocks') } /> }\n\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t/>\n <RichText\n tagName=\"figcaption\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_balloon_icon_name' }\n onChange={ ( value ) => setAttributes( { balloonName: value } ) }\n value={ balloonName }\n placeholder={__('Icon Name', 'vk-blocks') }\n />\n\t\t\t\t\t</div>\n\t\t\t\t\t<RichText\n\t\t\t\t\t\tstyle={ { background: balloonBgColor, border: balloonBgColor } }\n\t\t\t\t\t\ttagName=\"p\"\n\t\t\t\t\t\tclassName={ 'vk_balloon_content' }\n\t\t\t\t\t\tonChange={ ( value ) => setAttributes( { content: value } ) }\n\t\t\t\t\t\tvalue={ content }\n\t\t\t\t\t\tplaceholder={__('Input text', 'vk-blocks') }\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t</Fragment>\n );\n\t},\n\n\n\t/**\n\t * The save function defin className }> which the different attributes should be combined\n\t * into the final markup, which is then serialized by Gutenberg into post_content.\n\t *\n\t * The \"save\" property must be specified and must be a valid function.\n\t *\n\t * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n\t */\n\tsave( { attributes, className } ) {\n\t\tconst {\n\t\t\tcontent,\n balloonName,\n balloonType,\n balloonBgColor,\n\t\t\tballoonAlign,\n\t\t\tIconImage,\n\t\t} = attributes;\n\n\t\treturn (\n\t\t\t<div className={ `vk_balloon vk_balloon-${ balloonAlign } vk_balloon-${ balloonType }` }>\n\t\t\t\t<div className={ 'vk_balloon_icon' }>\n\t\t\t\t\t{ IconImage ?\n\t\t\t\t\t\t<figure>\n\t\t\t\t\t\t\t<img\n\t\t\t\t\t\t\t\tclassName={ 'vk_balloon_icon_image' }\n\t\t\t\t\t\t\t\tsrc={ IconImage }\n\t\t\t\t\t\t\t\talt=''\n\t\t\t\t\t\t\t/>\n <RichText.Content\n tagName=\"figcaption\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_balloon_icon_name' }\n value={ balloonName }\n />\n\t\t\t\t\t\t</figure> : '' }\n\t\t\t\t</div>\n\t\t\t\t<RichText.Content\n\t\t\t\t\tclassName={ 'vk_balloon_content' }\n\t\t\t\t\tstyle={ { background: balloonBgColor, border: balloonBgColor } }\n\t\t\t\t\ttagName=\"p\"\n\t\t\t\t\tvalue={ content }\n\t\t\t\t/>\n\t\t\t</div>\n\t\t);\n\t},\n});\n","/**\n * Faq block type\n *\n */\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {registerBlockType} = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RichText} = wp.editor;\nconst BlockIcon = (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"576\" height=\"512\" viewBox=\"0 0 576 512\">\n\t<path d=\"M178.9,191.6c7.2,5,12,8.2,14.2,9.4c3.3,1.9,7.8,4,13.4,6.5l-16.1,32.4c-8.1-3.9-16.1-8.6-24-14\n\t\tc-7.9-5.4-13.4-9.5-16.6-12.2c-12.8,5.5-28.8,8.3-48,8.3c-28.4,0-50.9-7.4-67.3-22.2c-19.4-17.5-29.1-42.2-29.1-73.9\n\t\tc0-30.8,8.5-54.7,25.5-71.8c17-17.1,40.7-25.6,71.2-25.6c31.1,0,55,8.3,71.9,25c16.9,16.7,25.3,40.6,25.3,71.6\n\t\tC199.3,152.8,192.5,175,178.9,191.6z M134.6,161.9c4.6-8.3,6.9-20.6,6.9-37c0-18.9-3.5-32.4-10.5-40.5c-7-8.1-16.7-12.1-29-12.1\n\t\tc-11.5,0-20.8,4.1-28,12.4c-7.1,8.3-10.7,21.2-10.7,38.7c0,20.4,3.5,34.8,10.5,43c7,8.3,16.6,12.4,28.7,12.4\n\t\tc3.9,0,7.6-0.4,11.1-1.1c-4.9-4.7-12.5-9.1-23-13.3l9.1-20.8c5.1,0.9,9.1,2.1,11.9,3.4c2.9,1.4,8.4,4.9,16.7,10.7\n\t\tC130.1,159.1,132.3,160.5,134.6,161.9z\"/>\n\t<path d=\"M137.9,452.6H72.2l-9.1,30.9l-59,0l70.3-187.2h63.1l70.3,187.2h-60.6L137.9,452.6z M125.9,412.1l-20.7-67.3l-20.4,67.3\n\t\tH125.9z\"/>\n\t<path d=\"M553.9,239.9h-303c-10,0-18.1-8.1-18.1-18.1c0-10,8.1-18.1,18.1-18.1h303c10,0,18.1,8.1,18.1,18.1\n\t\tC572,231.8,563.9,239.9,553.9,239.9z\"/>\n\t<path d=\"M553.9,483.5h-303c-10,0-18.1-8.1-18.1-18.1c0-10,8.1-18.1,18.1-18.1h303c10,0,18.1,8.1,18.1,18.1\n\t\tC572,475.4,563.9,483.5,553.9,483.5z\"/>\n\t</svg>\n);\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/faq', {\n // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('FAQ', 'vk-blocks'), // Block title.\n icon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n category: 'vk-blocks-cat', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: {\n heading: {\n type: 'string',\n source: 'html',\n selector: 'dt',\n },\n content: {\n type: 'string',\n source: 'html',\n selector: 'dd',\n }\n },\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit({attributes, setAttributes}) {\n const {\n heading,\n content\n } = attributes;\n\n return (\n <dl className={'vk_faq'}>\n <RichText\n tagName=\"dt\"\n\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_faq_title' }\n onChange={(value) => setAttributes({heading: value})}\n value={heading}\n placeholder={__('Please enter a question.', 'vk-blocks') }\n />\n <RichText\n tagName=\"dd\"\n\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_faq_content' }\n onChange={(value) => setAttributes({content: value})}\n value={content}\n placeholder={__('Please enter a answer.', 'vk-blocks') }\n />\n </dl>\n );\n },\n\n /**\n * The save function defin className }> which the different attributes should be combined\n * into the final markup, which is then serialized by Gutenberg into post_content.\n *\n * The \"save\" property must be specified and must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n save({attributes}) {\n const {\n heading,\n content\n } = attributes;\n\n return (\n <dl className={ 'vk_faq' }>\n <RichText.Content\n tagName=\"dt\"\n\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_faq_title' }\n value={heading}\n />\n <RichText.Content\n tagName=\"dd\"\n\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_faq_content' }\n value={content}\n />\n </dl>\n );\n },\n});\n","/**\n * Flow block type\n *\n */\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {registerBlockType} = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RangeControl, RadioControl, PanelBody, Button, PanelColor} = wp.components;\nconst {Fragment} = wp.element;\nconst {RichText, InspectorControls, MediaUpload, ColorPalette} = wp.editor;\nconst BlockIcon = 'arrow-down';\n\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/flow', {\n // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('Flow', 'vk-blocks'), // Block title.\n icon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n category: 'vk-blocks-cat', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: {\n heading: {\n type: 'string',\n source: 'html',\n selector: 'dt',\n },\n content: {\n type: 'string',\n source: 'html',\n selector: 'dd',\n },\n arrowFlag: {\n type: 'string',\n default: 'vk_flow-arrow-on',\n },\n\t\t\t\tinsertImage: {\n\t\t\t\t\ttype: 'string',\n\t\t\t\t\tdefault: null, // no image by default!\n\t\t\t\t}\n },\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit({attributes, setAttributes}) {\n const {\n heading,\n content,\n insertImage,\n arrowFlag,\n } = attributes;\n\n return [\n <Fragment>\n <InspectorControls>\n <PanelBody title={__('Display of arrow', 'vk-blocks') }>\n <RadioControl\n selected={arrowFlag}\n options={[\n {label: __('Arrow display', 'vk-blocks'), value: 'vk_flow-arrow-on'},\n {label: __('Arrow hidden', 'vk-blocks'), value: 'vk_flow-arrow-off'},\n ]}\n onChange={(value) => setAttributes({arrowFlag: value})}\n />\n </PanelBody>\n </InspectorControls>\n\n <div className={`${ arrowFlag } vk_flow`}>\n\t\t\t\t\t\t\t\t\t<div className={ 'vk_flow_frame' } >\n <dl className={ 'vk_flow_frame_text' }>\n <RichText\n tagName=\"dt\"\n className={ 'vk_flow_frame_text_title' }\n onChange={(value) => setAttributes({heading: value})}\n value={heading}\n placeholder={__('Input title', 'vk-blocks') }\n />\n <RichText\n tagName=\"dd\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_flow_frame_text_content' }\n onChange={(value) => setAttributes({content: value})}\n value={content}\n placeholder={__('Input content', 'vk-blocks') }\n />\n </dl>\n\t\t\t\t\t\t\t\t\t\t<div className={'vk_flow_frame_image'}>\n\t\t\t\t\t\t\t\t\t\t\t\t<MediaUpload\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonSelect={(value) => setAttributes({insertImage: value.url})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"image\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_flow_frame_image' }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={insertImage}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\trender={({open}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonClick={open}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={insertImage ? 'image-button' : 'button button-large'}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{!insertImage ? __('Select image', 'vk-blocks') :\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img className={'icon-image'} src={insertImage} alt={__('Upload image', 'vk-blocks')}/>}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n </div>\n </Fragment>\n ];\n },\n\n\n /**\n * The save function defin className }> which the different attributes should be combined\n * into the final markup, which is then serialized by Gutenberg into post_content.\n *\n * The \"save\" property must be specified and must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n save({attributes}) {\n const {\n heading,\n content,\n insertImage,\n arrowFlag,\n } = attributes;\n\n return (\n <div className={`${ arrowFlag } vk_flow`}>\n\t\t\t\t\t\t\t<div className={ 'vk_flow_frame' }>\n <dl className={ 'vk_flow_frame_text' }>\n <RichText.Content\n tagName=\"dt\"\n className={ 'vk_flow_frame_text_title' }\n value={heading}\n />\n <RichText.Content\n tagName=\"dd\"\n\t\t\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_flow_frame_text_content' }\n value={content}\n />\n </dl>\n\t\t\t\t\t\t\t\t{ insertImage ?\n\t\t\t\t\t\t\t\t\t<div className={ 'vk_flow_frame_image' }>\n\t\t\t\t\t\t\t\t\t\t<img\n\t\t\t\t\t\t\t\t\t\t\t\tsrc={ insertImage }\n\t\t\t\t\t\t\t\t\t\t\t\talt=''\n\t\t\t\t\t\t\t\t\t\t/></div> : '' }\n\t\t\t\t\t\t\t</div>\n </div>\n );\n },\n});\n","/**\n * PR Block block type\n *\n */\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {registerBlockType} = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RangeControl, RadioControl, PanelBody, Button, BaseControl, CheckboxControl, TextControl} = wp.components;\nconst {Fragment} = wp.element;\nconst {RichText, InspectorControls, MediaUpload, ColorPalette} = wp.editor;\nconst BlockIcon = (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"576\" height=\"512\" viewBox=\"0 0 576 512\">\n\t<g>\n\t\t<g>\n\t\t\t<circle cx=\"288\" cy=\"186.2\" r=\"60\"/>\n\t\t\t<rect x=\"213.5\" y=\"278.8\" width=\"149\" height=\"107\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<circle cx=\"74.5\" cy=\"186.2\" r=\"60\"/>\n\t\t\t<rect y=\"278.8\" width=\"149\" height=\"107\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<circle cx=\"501.5\" cy=\"186.2\" r=\"60\"/>\n\t\t\t<rect x=\"427\" y=\"278.8\" width=\"149\" height=\"107\"/>\n\t\t</g>\n\t</g>\n\t</svg>\n);\n\nfunction set_attirbuite(number) {\n\n var attributes = {};\n\n for (var i = 1; i <= number; i++) {\n\n attributes['heading' + i] = {\n type: 'string',\n source: 'html',\n selector: 'h1.vk_prBlocks_item_title-' + i,\n };\n attributes['content' + i] = {\n type: 'string',\n source: 'html',\n selector: 'p.vk_prBlocks_item_summary-' + i,\n };\n attributes['url' + i] = {\n type: 'string',\n default: null,\n };\n attributes['urlOpenType' + i] = {\n type: 'Boolean',\n default: false,\n };\n attributes['icon' + i] = {\n type: 'string',\n default: 'fas fa-file',\n };\n attributes['color' + i] = {\n type: 'string',\n default: '#0693e3',\n };\n attributes['bgType' + i] = {\n type: 'string',\n default: '0',\n };\n attributes['insertImage' + i] = {\n type: 'string',\n default: null,\n };\n }\n\n return attributes;\n}\n\n\n\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/pr-blocks', {\n // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('PR Blocks (Beta)', 'vk-blocks'), // Block title.\n icon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n category: 'vk-blocks-cat', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: set_attirbuite(4),\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit({attributes, setAttributes}) {\n\n const {\n heading1,\n heading2,\n heading3,\n content1,\n content2,\n content3,\n url1,\n url2,\n url3,\n urlOpenType1,\n urlOpenType2,\n urlOpenType3,\n icon1,\n icon2,\n icon3,\n color1,\n color2,\n color3,\n bgType1,\n bgType2,\n bgType3,\n insertImage1,\n insertImage2,\n insertImage3\n } = attributes;\n\n return [\n <Fragment>\n <InspectorControls>\n\n <PanelBody title={__('PR Block1 Setting', 'vk-blocks')}>\n <BaseControl\n label={__('Link URL:', 'vk-blocks')}\n >\n <TextControl\n value={url1}\n onChange={(value) => setAttributes({url1: value})}\n />\n <CheckboxControl\n label={__('Open link new tab.', 'vk-blocks')}\n checked={urlOpenType1}\n onChange={(checked) => setAttributes({urlOpenType1: checked})}\n />\n </BaseControl>\n <BaseControl\n label={__('Icon 1', 'vk-blocks')}\n >\n <TextControl\n label={__('Class name of the Font Awesome icon font you want to use:', 'vk-blocks')}\n value={icon1}\n onChange={(value) => setAttributes({icon1: value})}\n placeholder={'fas fa-file'}\n />\n <ColorPalette\n value={color1}\n onChange={(value) => {\n if (value){\n setAttributes({color1: value})\n } else {\n setAttributes({color1: '#0693e3'})\n setAttributes({bgType1: '0'})\n }\n }}\n />\n <RadioControl\n label={__('Icon Background:', 'vk-blocks')}\n selected={bgType1}\n options={[\n {label: __('Solid color', 'vk-blocks'), value: '0'},\n {label: __('No background', 'vk-blocks'), value: '1'},\n ]}\n onChange={(value) => setAttributes({ bgType1: value })}\n />\n </BaseControl>\n <BaseControl\n label={__('PR Image 1', 'vk-blocks')}\n help={__('When you have an image. Image is displayed with priority', 'vk-blocks')}\n >\n <MediaUpload\n onSelect={(value) => setAttributes({insertImage1: value.url})}\n type=\"image\"\n value={insertImage1}\n render={({open}) => (\n <Button\n onClick={open}\n className={insertImage1 ? 'image-button' : 'button button-large'}\n >\n {!insertImage1 ? __('Select image', 'vk-blocks') :\n <img className={'icon-image'} src={insertImage1}\n alt={__('Upload image', 'vk-blocks')}/>}\n </Button>\n )}\n />\n </BaseControl>\n </PanelBody>\n <PanelBody title={__('PR Block2 Setting', 'vk-blocks')}>\n <BaseControl\n label={__('Link URL:', 'vk-blocks')}\n >\n <TextControl\n value={url2}\n onChange={(value) => setAttributes({url2: value})}\n />\n <CheckboxControl\n label={__('Open link new tab.', 'vk-blocks')}\n checked={urlOpenType2}\n onChange={(checked) => setAttributes({urlOpenType2: checked})}\n />\n </BaseControl>\n <BaseControl\n label={__('Icon 2', 'vk-blocks')}\n >\n <TextControl\n label={__('Class name of the Font Awesome icon font you want to use:', 'vk-blocks')}\n value={icon2}\n onChange={(value) => setAttributes({icon2: value})}\n placeholder={'fas fa-file'}\n />\n <ColorPalette\n value={color2}\n onChange={(value) => {\n if (value){\n setAttributes({color2: value})\n } else {\n setAttributes({color2: '#0693e3'})\n setAttributes({bgType2: '0'})\n }\n }}\n />\n <RadioControl\n label={__('Icon Background:', 'vk-blocks')}\n selected={bgType2}\n options={[\n {label: __('Solid color', 'vk-blocks'), value: '0'},\n {label: __('No background', 'vk-blocks'), value: '1'},\n ]}\n onChange={(value) => setAttributes({bgType2: value})}\n />\n </BaseControl>\n <BaseControl\n label={__('PR Image 2', 'vk-blocks')}\n help={__('When you have an image. Image is displayed with priority.', 'vk-blocks')}\n >\n <MediaUpload\n onSelect={(value) => setAttributes({insertImage2: value.url})}\n type=\"image\"\n value={insertImage2}\n render={({open}) => (\n <Button\n onClick={open}\n className={insertImage2 ? 'image-button' : 'button button-large'}\n >\n {!insertImage2 ? __('Select image', 'vk-blocks') :\n <img className={'icon-image'} src={insertImage2}\n alt={__('Upload image', 'vk-blocks')}/>}\n </Button>\n )}\n />\n </BaseControl>\n </PanelBody>\n <PanelBody title={__('PR Block3 Setting', 'vk-blocks')}>\n <BaseControl\n label={__('Link URL:', 'vk-blocks')}\n >\n <TextControl\n value={url3}\n onChange={(value) => setAttributes({url3: value})}\n />\n <CheckboxControl\n label={__('Open link new tab.', 'vk-blocks')}\n checked={urlOpenType3}\n onChange={(checked) => setAttributes({urlOpenType3: checked})}\n />\n </BaseControl>\n <BaseControl\n label={__('Icon 3', 'vk-blocks')}\n >\n <TextControl\n label={__('Class name of the Font Awesome icon font you want to use:', 'vk-blocks')}\n value={icon3}\n onChange={(value) => setAttributes({icon3: value})}\n placeholder={'fas fa-file'}\n />\n <ColorPalette\n value={color3}\n onChange={(value) => {\n if (value){\n setAttributes({color3: value})\n } else {\n setAttributes({color3: '#0693e3'})\n setAttributes({bgType3: '0'})\n }\n }}\n />\n <RadioControl\n label={__('Icon Background:', 'vk-blocks')}\n selected={bgType3}\n options={[\n {label: __('Solid color', 'vk-blocks'), value: '0'},\n {label: __('No background', 'vk-blocks'), value: '1'},\n ]}\n onChange={(value) => setAttributes({bgType3: value})}\n />\n </BaseControl>\n <BaseControl\n label={__('PR Image 3', 'vk-blocks')}\n help={__('When you have an image. Image is displayed with priority.', 'vk-blocks')}\n >\n <MediaUpload\n onSelect={(value) => setAttributes({insertImage3: value.url})}\n type=\"image\"\n value={insertImage3}\n render={({open}) => (\n <Button\n onClick={open}\n className={insertImage3 ? 'image-button' : 'button button-large'}\n >\n {!insertImage3 ? __('Select image', 'vk-blocks') :\n <img className={'icon-image'} src={insertImage3}\n alt={__('Upload image', 'vk-blocks')}/>}\n </Button>\n )}\n />\n </BaseControl>\n </PanelBody>\n </InspectorControls>\n <article className=\"vk_prBlocks row\">\n\n <div className=\"vk_prBlocks_item col-sm-4\">\n {(() => {\n\n if (insertImage1) {\n\n return <div className=\"vk_prBlocks_item_image\"\n style={{\n backgroundImage: 'url(' + insertImage1 + ')',\n backgroundRepeat: 'no-repeat 50% center',\n backgroundSize: 'cover'\n }}\n >\n <img\n src={insertImage1}\n alt=''\n />\n </div>\n\n } else {\n\n if ( bgType1 === '0' ) {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{\n backgroundColor: color1,\n border: `1px solid ${color1}`\n }}\n ><i className={`${icon1} vk_prBlocks_item_icon`}\n style={{color: '#fff'}}>\n </i>\n </div>\n } else {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{backgroundColor: 'transparent', border: '1px solid ' + color1}}\n ><i className={`${icon1} vk_prBlocks_item_icon`}\n style={{color: color1}}>\n </i>\n </div>\n }\n }\n })()}\n <RichText\n className=\"vk_prBlocks_item_title vk_prBlocks_item_title-1\"\n tagName=\"h1\"\n onChange={(value) => setAttributes({heading1: value})}\n value={heading1}\n placeholder={__('Input title', 'vk-blocks')}\n />\n <RichText\n className=\"vk_prBlocks_item_summary vk_prBlocks_item_summary-1\"\n tagName=\"p\"\n onChange={(value) => setAttributes({content1: value})}\n value={content1}\n placeholder={__('Input content', 'vk-blocks')}\n />\n </div>\n\n <div className=\"vk_prBlocks_item col-sm-4\">\n {(() => {\n\n if (insertImage2) {\n\n return <div className=\"vk_prBlocks_item_image\"\n style={{\n backgroundImage: 'url(' + insertImage2 + ')',\n backgroundRepeat: 'no-repeat 50% center',\n backgroundSize: 'cover'\n }}\n >\n <img\n src={insertImage2}\n alt=''\n />\n </div>\n\n } else {\n\n\n if (bgType2 === '0') {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{\n backgroundColor: color2,\n border: `1px solid ${color2}`\n }}\n ><i className={`${icon2} vk_prBlocks_item_icon`}\n style={{color: '#fff'}}>\n </i>\n </div>\n } else {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{backgroundColor: 'transparent', border: '1px solid ' + color2}}\n ><i className={`${icon2} vk_prBlocks_item_icon`}\n style={{color: color2}}>\n </i>\n </div>\n }\n }\n })()}\n <RichText\n className=\"vk_prBlocks_item_title vk_prBlocks_item_title-2\"\n tagName=\"h1\"\n onChange={(value) => setAttributes({heading2: value})}\n value={heading2}\n placeholder={__('Input title', 'vk-blocks')}\n />\n <RichText\n className=\"vk_prBlocks_item_summary vk_prBlocks_item_summary-2\"\n tagName=\"p\"\n onChange={(value) => setAttributes({content2: value})}\n value={content2}\n placeholder={__('Input content', 'vk-blocks')}\n />\n </div>\n\n <div className=\"vk_prBlocks_item col-sm-4\">\n {(() => {\n\n if (insertImage3) {\n\n return <div className=\"vk_prBlocks_item_image\"\n style={{\n backgroundImage: 'url(' + insertImage3 + ')',\n backgroundRepeat: 'no-repeat 50% center',\n backgroundSize: 'cover'\n }}\n >\n <img\n src={insertImage3}\n alt=''\n />\n </div>\n\n } else {\n\n\n if (bgType3 === '0') {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{\n backgroundColor: color3,\n border: `1px solid ${color3}`\n }}\n ><i className={`${icon3} vk_prBlocks_item_icon`}\n style={{color: '#fff'}}>\n </i>\n </div>\n } else {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{backgroundColor: 'transparent', border: '1px solid ' + color3}}\n ><i className={`${icon3} vk_prBlocks_item_icon`}\n style={{color: color3}}>\n </i>\n </div>\n }\n }\n })()}\n <RichText\n className=\"vk_prBlocks_item_title vk_prBlocks_item_title-3\"\n tagName=\"h1\"\n onChange={(value) => setAttributes({heading3: value})}\n value={heading3}\n placeholder={__('Input title', 'vk-blocks')}\n />\n <RichText\n className=\"vk_prBlocks_item_summary vk_prBlocks_item_summary-3\"\n tagName=\"p\"\n onChange={(value) => setAttributes({content3: value})}\n value={content3}\n placeholder={__('Input content', 'vk-blocks')}\n />\n </div>\n\n </article>\n </Fragment>\n ];\n },\n\n /**\n * The save function defin className }> which the different attributes should be combined\n * into the final markup, which is then serialized by Gutenberg into post_content.\n *\n * The \"save\" property must be specified and must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n save({attributes}) {\n const {\n\t\t\t\t\theading1,\n\t\t\t\t\theading2,\n\t\t\t\t\theading3,\n\t\t\t\t\tcontent1,\n\t\t\t\t\tcontent2,\n\t\t\t\t\tcontent3,\n\t\t\t\t\turl1,\n\t\t\t\t\turl2,\n\t\t\t\t\turl3,\n\t\t\t\t\turlOpenType1,\n\t\t\t\t\turlOpenType2,\n\t\t\t\t\turlOpenType3,\n\t\t\t\t\ticon1,\n\t\t\t\t\ticon2,\n\t\t\t\t\ticon3,\n\t\t\t\t\tcolor1,\n\t\t\t\t\tcolor2,\n\t\t\t\t\tcolor3,\n\t\t\t\t\tbgType1,\n\t\t\t\t\tbgType2,\n\t\t\t\t\tbgType3,\n\t\t\t\t\tinsertImage1,\n\t\t\t\t\tinsertImage2,\n\t\t\t\t\tinsertImage3\n } = attributes;\n\n return (\n <article className=\"vk_prBlocks row\">\n\n <div className=\"vk_prBlocks_item col-sm-4\">\n <a\n href={url1}\n target={urlOpenType1? '_blank':'_self'}\n className=\"vk_prBlocks_item_link\"\n >\n {(() => {\n\n if (insertImage1) {\n\n return <div className=\"vk_prBlocks_item_image\"\n style={{\n backgroundImage: 'url(' + insertImage1 + ')',\n backgroundRepeat: 'no-repeat 50% center',\n backgroundSize: 'cover'\n }}\n >\n <img\n src={insertImage1}\n alt=''\n />\n </div>\n\n } else {\n\n if ( ! color1 ){\n color1 = '#0693e3';\n bgType1 === '0';\n }\n if (bgType1 === '0') {\n\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{\n backgroundColor: color1,\n border: `1px solid ${color1}`\n }}\n ><i className={`${icon1} vk_prBlocks_item_icon`}\n style={{color: '#fff'}}>\n </i>\n </div>\n } else {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{backgroundColor: 'transparent', border: '1px solid ' + color1}}\n ><i className={`${icon1} vk_prBlocks_item_icon`}\n style={{color: color1}}>\n </i>\n </div>\n }\n }\n })()}\n <RichText.Content\n className=\"vk_prBlocks_item_title vk_prBlocks_item_title-1\"\n tagName={'h1'}\n value={heading1}/>\n <RichText.Content\n className=\"vk_prBlocks_item_summary vk_prBlocks_item_summary-1\"\n tagName={'p'}\n value={content1}/>\n </a>\n </div>\n <div className=\"vk_prBlocks_item col-sm-4\">\n <a\n href={url2}\n target={urlOpenType2? '_blank':'_self'}\n className=\"vk_prBlocks_item_link\"\n >\n {(() => {\n\n if (insertImage2) {\n\n return <div className=\"vk_prBlocks_item_image\"\n style={{\n backgroundImage: 'url(' + insertImage2 + ')',\n backgroundRepeat: 'no-repeat 50% center',\n backgroundSize: 'cover'\n }}\n >\n <img\n src={insertImage2}\n alt=''\n />\n </div>\n\n } else {\n if ( ! color2 ){\n \t\tcolor2 = '#0693e3';\n \t\tbgType2 === '0';\n }\n if (bgType2 === '0') {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{\n backgroundColor: color2,\n border: `1px solid ${color2}`\n }}\n ><i className={`${icon2} vk_prBlocks_item_icon`}\n style={{color: '#fff'}}>\n </i>\n </div>\n } else {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{backgroundColor: 'transparent', border: '1px solid ' + color2}}\n ><i className={`${icon2} vk_prBlocks_item_icon`}\n style={{color: color2}}>\n </i>\n </div>\n }\n }\n })()}\n <RichText.Content\n className=\"vk_prBlocks_item_title vk_prBlocks_item_title-2\"\n tagName={'h1'}\n value={heading2}/>\n <RichText.Content\n className=\"vk_prBlocks_item_summary vk_prBlocks_item_summary-2\"\n tagName={'p'}\n value={content2}/>\n </a>\n </div>\n\n <div className=\"vk_prBlocks_item col-sm-4\">\n <a\n href={url3}\n target={urlOpenType3? '_blank':'_self'}\n className=\"vk_prBlocks_item_link\"\n >\n {(() => {\n\n if (insertImage3) {\n\n return <div className=\"vk_prBlocks_item_image\"\n style={{\n backgroundImage: 'url(' + insertImage3 + ')',\n backgroundRepeat: 'no-repeat 50% center',\n backgroundSize: 'cover'\n }}\n >\n <img\n src={insertImage3}\n alt=''\n />\n </div>\n\n } else {\n if ( ! color3 ){\n \t\tcolor3 = '#0693e3';\n \t\tbgType3 === '0';\n }\n if (bgType3 === '0') {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{\n backgroundColor: color3,\n border: `1px solid ${color3}`\n }}\n ><i className={`${icon3} vk_prBlocks_item_icon`}\n style={{color: '#fff'}}>\n </i>\n </div>\n } else {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{backgroundColor: 'transparent', border: '1px solid ' + color3}}\n ><i className={`${icon3} vk_prBlocks_item_icon`}\n style={{color: color3}}>\n </i>\n </div>\n }\n }\n })()}\n <RichText.Content\n className=\"vk_prBlocks_item_title vk_prBlocks_item_title-3\"\n tagName={'h1'}\n value={heading3}/>\n <RichText.Content\n className=\"vk_prBlocks_item_summary vk_prBlocks_item_summary-3\"\n tagName={'p'}\n value={content3}/>\n </a>\n </div>\n </article>\n );\n },\n});\n","const componentDivider = (level, color, whichSide, dividerType) => {\n\n let sectionPadding;\n let sectionClass;\n let lenderDivider;\n\n const tiltSectionStyle = (level, color) => {\n\n if (level > 0) {\n return <path\n d={`m0,${100 - level} L100,100 L0,100 z`}\n strokeWidth=\"0\"\n fill={color}\n />\n\n } else if (level < 0) {\n\n //絶対値に変換\n const absLevel = Math.abs(level);\n\n return <path\n d={`m100,${100 - absLevel} L0,100 L100,100 z`}\n strokeWidth=\"0\"\n fill={color}\n />\n }\n };\n\n const curveSectionStyle = (level, color) => {\n if (level > 0) {\n\n return <path\n d={ `m0,${ 100 - level } q50,${ level * 2 },100,0 V100 L0,100 z` }\n strokeWidth=\"0\"\n fill={color}\n />\n } else if (level < 0) {\n\n return <path\n d={ `m0,100 q50,${ level * 2},100,0 V100 L0,100 z` }\n strokeWidth=\"0\"\n fill={color}\n />\n }\n };\n\n const waveSectionStyle = (level, color) => {\n\n if (level > 0) {\n\n return (\n <path\n d={ `m0,${ 100 - ( level / 2 ) } q20,${ level },40,0 t40,0 t40,0 V100 L0,100 z` }\n strokeWidth=\"0\"\n fill={color}\n />\n );\n } else if (level < 0) {\n\n return (\n <path\n d={ `m0,${ ( level / 2 ) + 100 } q20,${ level },40,0 t40,0 t40,0 V100 L0,100 z` }\n strokeWidth=\"0\"\n fill={color}\n />\n );\n }\n\n };\n\n const triangleSectionStyle = (level, color) => {\n\n const absLevel = Math.abs(level);\n const DivideAbs4 = absLevel / 4;\n\n if (level > 0) {\n\n return (\n <path\n d={`m0,100 h${50 - DivideAbs4} l${DivideAbs4},-${absLevel} l${DivideAbs4},${absLevel} h${DivideAbs4} v100 h-100 z`}\n strokeWidth=\"0\"\n fill={color}\n />);\n } else if (level < 0) {\n\n return (\n <path\n d={`m0,${100 - absLevel} h${50 - DivideAbs4} l${DivideAbs4},${absLevel} l${DivideAbs4},-${absLevel} h${50 - DivideAbs4} v${absLevel + 1} h-100 z`}\n strokeWidth=\"0\"\n fill={color}\n />);\n }\n };\n\n //背景色をクリアした時は、白に変更\n if(!color){\n color = '#fff';\n }\n\n //Paddingの条件分岐を追加\n if (dividerType === 'tilt') {\n\n sectionPadding = Math.abs(level);\n lenderDivider = tiltSectionStyle(level, color);\n\n }else if(dividerType === 'curve') {\n\n if (level > 0) {\n sectionPadding = Math.abs(level);\n } else if (level < 0) {\n sectionPadding = Math.abs(level) * 2;\n }\n lenderDivider = curveSectionStyle(level, color);\n\n }else if(dividerType === 'wave'){\n\n sectionPadding = Math.abs(level);\n lenderDivider = waveSectionStyle(level, color);\n\n }else if(dividerType === 'triangle'){\n\n sectionPadding = Math.abs(level);\n lenderDivider = triangleSectionStyle(level, color);\n\n }\n\n //classにdividerTypeを追加\n sectionClass = dividerType;\n\n //upper-paddingを追加\n if (whichSide === 'upper') {\n return (\n <div\n className={`vk_outer_separator vk_outer_separator-position-upper vk_outer_separator-type-${sectionClass}`}\n style={{paddingBottom: sectionPadding + `px`}}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" preserveAspectRatio=\"none\">\n {lenderDivider}\n </svg>\n </div>\n\n );\n //lower-paddingを追加\n } else if (whichSide === 'lower') {\n return (\n\n <div\n className={`vk_outer_separator vk_outer_separator-position-lower vk_outer_separator-type-${sectionClass}`}\n style={{paddingTop: sectionPadding + `px`}}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" preserveAspectRatio=\"none\">\n {lenderDivider}\n </svg>\n </div>\n )\n }\n};\n\nexport {componentDivider};\n","import React from 'react';\nimport {componentDivider} from './component-divider';\n\nconst {InnerBlocks} = wp.editor;\n\n//hexカラーコード定義をrgbaに変換\nfunction hex2rgba (hex, alpha) {\n\n // ロングバージョンの場合(例:#FF0000)\n let r = hex.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})#x2F;i);\n let c = null;\n if (r) {\n c = r.slice(1,4).map(function(x) { return parseInt(x, 16) })\n }\n // ショートバージョンの場合(例:#F00)\n r = hex.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])#x2F;i);\n if (r) {\n c = r.slice(1,4).map(function(x) { return 0x11 * parseInt(x, 16) })\n }\n // 該当しない場合は、nullを返す.\n if (!c) {\n return null\n }\n return `rgba(${c[0]}, ${c[1]}, ${c[2]}, ${alpha})`\n}\n\nexport class Component extends React.Component {\n\n render() {\n\n let {\n bgColor,\n bgImage,\n bgPosition,\n outerWidth,\n padding_left_and_right,\n padding_top_and_bottom,\n opacity,\n upper_level,\n lower_level,\n upperDividerBgColor,\n lowerDividerBgColor,\n dividerType\n } = this.props.attributes;\n\n let for_ = this.props.for_;\n let classPaddingLR;\n let classPaddingVertical;\n let classBgPosition;\n let classWidth;\n let elm;\n let containerClass;\n let whichSideUpper;\n let whichSideLower;\n\n //幅のクラス切り替え\n classWidth = ` vk_outer-width-${outerWidth}`;\n\n //hexからrgbaに変換\n if(bgColor){\n bgColor = hex2rgba(bgColor,opacity);\n }else {\n //背景色をクリアした時は、白に変更\n bgColor = hex2rgba('#fff',opacity);\n }\n\n //classBgPositionのクラス切り替え\n if (bgPosition === 'parallax') {\n classBgPosition = ' vk_outer-bgPosition-parallax vk-prlx';\n\t\t\t\t} else if (bgPosition === 'fixed') {\n\t\t classBgPosition = ' vk_outer-bgPosition-fixed';\n } else {\n classBgPosition = ' vk_outer-bgPosition-normal';\n }\n\n\t\t\t\t//classPaddingLRのクラス切り替え\n if(padding_left_and_right === '1'){\n classPaddingLR = ' vk_outer-paddingLR-use';\n } else {\n classPaddingLR = ' vk_outer-paddingLR-none';\n }\n\n //classPaddingVerticalのクラス切り替え\n if(padding_top_and_bottom === '1'){\n classPaddingVertical = ' vk_outer-paddingVertical-use';\n } else {\n classPaddingVertical = ' vk_outer-paddingVertical-none';\n }\n\n //上側セクションの傾き切り替え\n if (upper_level) {\n whichSideUpper = 'upper';\n }\n\n //下側セクションの傾き切り替え\n if (lower_level) {\n whichSideLower = 'lower';\n }\n\n //編集画面とサイト上の切り替え\n if(for_ === 'edit'){\n elm = <InnerBlocks/>;\n }else if('save'){\n elm = <InnerBlocks.Content/>;\n containerClass = 'vk_outer_container';\n }\n\n return (\n <div\n className={ 'vk_outer' + classWidth + classPaddingLR + classPaddingVertical + classBgPosition }\n style={{\n background: `linear-gradient(${bgColor}, ${bgColor}), url(${bgImage})`,\n }}\n >\n {\n componentDivider(upper_level, upperDividerBgColor, whichSideUpper, dividerType)\n }\n <div className={containerClass}>\n {elm}\n </div>\n {\n componentDivider(lower_level, lowerDividerBgColor, whichSideLower, dividerType)\n }\n </div>\n );\n }\n}\n","'use strict';\n\nexport default function toNumber( value, min = -100, max = null ) {\n\tvalue = Number( value );\n\n\tif ( isNaN( value ) || value < min ) {\n\t\tvalue = min;\n\t}\n\n\tif ( null !== max && value > max ) {\n\t\tvalue = max;\n\t}\n\n\treturn value;\n}\n","/**\n * outer block type\n *\n */\nimport React from \"react\";\nimport {Component} from \"./component\";\nimport {schema} from './schema.js';\nimport toNumber from \"../_helper/to-number\";\n\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {registerBlockType} = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RangeControl, RadioControl, PanelBody, Button, PanelColor, BaseControl,SelectControl} = wp.components;\nconst {Fragment} = wp.element;\nconst {RichText, InspectorControls, MediaUpload, ColorPalette, InnerBlocks} = wp.editor;\nconst BlockIcon = (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"576\" height=\"512\" viewBox=\"0 0 576 512\">\n\t<path d=\"M288,381c50.7,0,92-41.3,92-92s-41.3-92-92-92s-92,41.3-92,92S237.3,381,288,381z M288,227c34.2,0,62,27.8,62,62\n\t\ts-27.8,62-62,62s-62-27.8-62-62S253.8,227,288,227z\"/>\n\t<polygon points=\"273,342 303,342 303,304 341,304 341,274 303,274 303,236 273,236 273,274 235,274 235,304 273,304 \"/>\n\t<path d=\"M1.8,155.5v267h572.5v-267H1.8z M544.2,392.5H31.8v-207h512.5L544.2,392.5L544.2,392.5z\"/>\n\t<g>\n\t\t<path d=\"M39.8,10.3c-13.3,0-25.7,0.9-37.6,2.6L2,136.9h33.3l0.1-39c3,0.4,6.7,0.5,11.1,0.5c16.7,0,29.5-3.9,38.3-11.7\n\t\t\tc8.7-7.7,13.1-19.3,13.1-34.4C98,24.3,78.6,10.4,39.8,10.3z M62,68.5c-3.6,3.4-9.2,5.2-16.6,5.2c-0.6,0-1.1,0-1.6,0\n\t\t\tc-0.2,0-0.4,0-0.6,0c-2.8,0-5.4-0.1-7.7-0.5l0-22l-1.3-14.3c2.6-0.6,5.2-0.9,7.7-0.9c0.2,0,0.5,0,0.7,0c0.2,0,0.4,0,0.7,0\n\t\t\tc13.6,0,21.1,4.7,22.7,14c0.3,1.2,0.6,2.6,0.7,4C67.2,60.2,65.6,65,62,68.5z\"/>\n\t\t<path d=\"M141.3,65H141l0-17.1h-32.5l-0.2,88.9h33.3l0.1-35c0.1-8.6,3.2-15.7,9.7-21.4c6.5-5.7,14.9-8.5,25.4-8.5h3.4l0-23.9h-3.4\n\t\t\tC161.7,48.1,149.8,53.7,141.3,65z\"/>\n\t\t<path d=\"M266.7,58.5c-8-8.1-19.3-12.2-34-12.2c-14.6,0-25.9,4.1-34,12.2c-8.1,8.1-12.2,19.4-12.2,33.9c-0.1,14.5,4,25.8,12,33.9\n\t\t\tc8,8.1,19.3,12.2,34,12.2c14.6,0,25.9-4.1,34-12.2c8.1-8.1,12.2-19.4,12.2-33.9C278.7,78,274.7,66.6,266.7,58.5z M246.2,92.5\n\t\t\tc0,8.9-1.2,15-3.3,18.6c-2.1,3.6-5.6,5.4-10.4,5.4s-8.3-1.8-10.5-5.4c-2.2-3.6-3.3-9.8-3.2-18.6c0-8.9,1.2-15,3.3-18.6\n\t\t\tc2.1-3.6,5.6-5.4,10.4-5.4c4.8,0,8.3,1.8,10.5,5.4S246.3,83.7,246.2,92.5z\"/>\n\t</g>\n\t</svg>\n);\n\n/**\n * Register: a Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/outer', {\n // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('Outer', 'vk-blocks'), // Block title.\n icon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n category: 'vk-blocks-cat-layout', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: schema,\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit({attributes, setAttributes}) {\n const {\n bgColor,\n bgImage,\n bgPosition,\n outerWidth,\n padding_left_and_right,\n padding_top_and_bottom,\n opacity,\n upper_level,\n lower_level,\n\t\t\tupperDividerBgColor,\n\t\t\tlowerDividerBgColor,\n\t\t\tdividerType\n } = attributes;\n\n return (\n <Fragment>\n <InspectorControls>\n <PanelBody title={__('Background Setting', 'vk-blocks')}>\n <BaseControl\n label={__('Color Setting', 'vk-blocks')}\n help={__('Color will overcome background image. If you want to display image, clear background color or set opacity 0.', 'vk-blocks')}\n >\n <ColorPalette\n value={bgColor}\n onChange={(value) => setAttributes({bgColor: value})}\n />\n </BaseControl>\n <BaseControl\n label={__('Opacity Setting', 'vk-blocks')}\n >\n <RangeControl\n value={opacity}\n onChange={(value) => {setAttributes({opacity: value});\n }}\n min={0}\n max={1}\n step={0.1}\n />\n </BaseControl>\n\n <BaseControl\n label={__('Background Image', 'vk-blocks')}\n help=\"\"\n >\n <MediaUpload\n onSelect={(value) => setAttributes({bgImage: value.url})}\n type=\"image\"\n value={bgImage}\n render={({open}) => (\n <Button\n onClick={open}\n className={bgImage ? 'image-button' : 'button button-large'}\n >\n {!bgImage ? __('Select image', 'vk-blocks') :\n <img className={'icon-image'} src={bgImage}\n alt={__('Upload image', 'vk-blocks')}/>}\n </Button>\n )}\n />\n\n <RadioControl\n label={__('Background Position', 'vk-blocks')}\n selected={bgPosition}\n options={[\n {label: __('normal', 'vk-blocks'), value: 'normal'},\n {label: __('Fixed', 'vk-blocks'), value: 'fixed'},\n {label: __('Parallax (It will not work in preview)', 'vk-blocks'), value: 'parallax'}\n ]}\n onChange={(value) => setAttributes({bgPosition: value})}\n />\n </BaseControl>\n\n\n </PanelBody>\n\t\t\t\t\t\t\t\t\t\t<PanelBody title={__('Layout Setting', 'vk-blocks')}>\n\t\t\t\t\t\t\t\t\t\t\t<BaseControl>\n\n\t\t\t\t\t\t\t\t\t\t\t\t<RadioControl\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel={__('Outer width', 'vk-blocks')}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tselected={outerWidth}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{label: __('Normal', 'vk-blocks'), value: 'normal'},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{label: __('Full Wide', 'vk-blocks'), value: 'full'}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({outerWidth: value})}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t<RadioControl\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel={__('Padding (left and right)', 'vk-blocks')}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tselected={padding_left_and_right}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{label: __('Use default padding', 'vk-blocks'), value: '1'},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{label: __('Do not use default padding (When it is full width etc.).', 'vk-blocks'), value: '0'}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({padding_left_and_right: value})}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<RadioControl\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel={__('Padding (top and bottom)', 'vk-blocks')}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tselected={padding_top_and_bottom}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{label: __('Use default padding', 'vk-blocks'), value: '1'},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{label: __('Do not use default padding (Set it yourself using a spacer block etc.).', 'vk-blocks'), value: '0'}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({padding_top_and_bottom: value})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t</BaseControl>\n\t\t\t\t\t\t\t\t\t\t</PanelBody>\n\t\t\t\t\t\t\t\t\t\t<PanelBody title={__('Divider Setting', 'vk-blocks')}>\n\t\t\t\t\t\t\t\t\t\t\t<BaseControl>\n\t\t\t\t\t\t\t\t\t\t\t\t<SelectControl\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel={ __( 'Type', 'vk-blocks' ) }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={ dividerType }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={ ( value ) => setAttributes( { dividerType: value } ) }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toptions={ [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue: 'tilt',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel: __( 'Tilt', 'vk-blocks' ),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue: 'curve',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel: __( 'Curve', 'vk-blocks' ),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue: 'wave',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel: __( 'Wave', 'vk-blocks' ),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue: 'triangle',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel: __( 'Triangle', 'vk-blocks' ),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t] }\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t<RangeControl\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel={ __( 'Upper Divider Level', 'vk-blocks' ) }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={ upper_level }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={ ( value ) => setAttributes( { upper_level: toNumber( value, -100, 100 ) } ) }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmin=\"-100\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmax=\"100\"\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t<ColorPalette\n\t\t\t\t\t\t\t\t\t\t\t\tvalue={upperDividerBgColor}\n\t\t\t\t\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({upperDividerBgColor: value})}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t<RangeControl\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel={ __( 'Lower Divider Level', 'vk-blocks' ) }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={ lower_level }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={ ( value ) => setAttributes( { lower_level: toNumber( value, -100, 100 ) } ) }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmin=\"-100\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmax=\"100\"\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t<ColorPalette\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={lowerDividerBgColor}\n\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({lowerDividerBgColor: value})}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t</BaseControl>\n\t\t\t\t\t\t\t\t\t\t</PanelBody>\n </InspectorControls>\n {\n vk_blocks_check.is_pro\n ?\n <Component\n attributes={attributes}\n for_={'edit'}/>\n :\n <div>{__('This block is only for users who bought Lightning Pro.', 'vk-blocks')}</div>\n }\n </Fragment>\n );\n },\n\n /**\n * The save function defin className }> which the different attributes should be combined\n * into the final markup, which is then serialized by Gutenberg into post_content.\n *\n * The \"save\" property must be specified and must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n save({attributes}) {\n {\n if (vk_blocks_check.is_pro) {\n\n return (\n <Component\n attributes={attributes}\n for_={'save'}/>\n );\n\n }\n }\n\n },\n});\n","export const schema = {\n\tbgColor: {\n\t\ttype: 'string',\n\tdefault: '#f3f4f5',\n\t},\n\tbgImage: {\n\t\ttype: 'string',\n\tdefault: null,\n\t},\n\touterWidth:{\n\t\ttype: 'string',\n\tdefault: 'normal',\n\t},\n\tbgPosition:{\n\t\ttype: 'string',\n\tdefault: 'normal',\n\t},\n\tpadding_left_and_right: {\n\t\ttype: 'string',\n\tdefault: '1',\n\t},\n\tpadding_top_and_bottom: {\n\t\ttype: 'string',\n\tdefault: '1',\n\t},\n\topacity: {\n\t\ttype: 'number',\n\tdefault: 0.5,\n\t},\n\tupper_level: {\n\t\ttype: 'number',\n\tdefault: 0,\n\t},\n\tlower_level: {\n\t\ttype: 'number',\n\tdefault: 0,\n\t},\n\tupperDividerBgColor: {\n\t\ttype: 'string',\n\tdefault: '#fff',\n\t},\n\tlowerDividerBgColor: {\n\t\ttype: 'string',\n\tdefault: '#fff',\n\t},\n\tdividerType: {\n\t\ttype: 'string',\n\tdefault: 'tilt',\n\t},\n};\n","import React from 'react';\n\nexport class Component extends React.Component {\n\n render() {\n\n let buttonColorCustom = this.props.lbColorCustom;\n let buttonColor = this.props.lbColor;\n let buttonType = this.props.lbType;\n let buttonAlign = this.props.lbAlign;\n let buttonSize = this.props.lbSize;\n let buttonUrl = this.props.lbUrl;\n let buttonTarget = this.props.lbTarget;\n let fontAwesomeIconBefore = this.props.lbFontAwesomeIconBefore;\n let fontAwesomeIconAfter = this.props.lbFontAwesomeIconAfter;\n let richText = this.props.lbRichtext;\n let subCaption = this.props.lbsubCaption;\n let containerClass = '';\n let aClass = '';\n let aStyle = {};\n let iconBefore = '';\n let iconAfter = '';\n\n aClass = `btn vk_button_link`;\n\n if (buttonColorCustom) {\n\n aClass = `${aClass} btn-primary btn-${buttonSize}`;\n\n // 塗り\n if (buttonType === '0') {\n aStyle = {\n backgroundColor: buttonColorCustom,\n border: `1px solid ${buttonColorCustom}`\n };\n // 塗りなし\n } else if (buttonType === '1') {\n aStyle = {\n backgroundColor: 'transparent',\n border: '1px solid ' + buttonColorCustom,\n color: buttonColorCustom\n };\n }\n\n\t\t\t\t// カスタムカラーじゃない場合\n } else if (!buttonColorCustom) {\n\n // 塗り\n if (buttonType === '0') {\n aClass = `${aClass} btn-${buttonSize} btn-${buttonColor}`;\n aStyle = null;\n // 塗りなし\n } else if (buttonType === '1') {\n aClass = `${aClass} btn-${buttonSize} btn-outline-${buttonColor}`;\n aStyle = null;\n }\n\n }\n\n if ( buttonAlign === 'block' ){\n \taClass = `${aClass} btn-block`;\n }\n\n\n\n if (fontAwesomeIconBefore) {\n iconBefore = <i className={`${fontAwesomeIconBefore} vk_button_link_before`}></i> ;\n }\n if (fontAwesomeIconAfter) {\n iconAfter = <i className={`${fontAwesomeIconAfter} vk_button_link_after`}></i>;\n }\n\n return (\n <a\n href={buttonUrl}\n id={'vk_button_link'}\n className={aClass}\n role={'button'}\n aria-pressed={true}\n style={aStyle}\n target={buttonTarget? '_blank':null}\n >\n\t\t\t\t\t\t\t\t\t\t\t\t{iconBefore}\n {richText}\n\t\t\t\t\t\t\t\t\t\t\t\t{iconAfter}\n {/*サブキャプションが入力された時のみ表示*/}\n {subCaption && <p className={'vk_button_link_subCaption'}>{subCaption}</p>}\n </a>\n );\n }\n}\n","import React from 'react';\n\nexport class ComponentDeprecated extends React.Component {\n\n render() {\n\n let buttonColorCustom = this.props.lbColorCustom;\n let buttonColor = this.props.lbColor;\n let buttonType = this.props.lbType;\n let buttonAlign = this.props.lbAlign;\n let buttonSize = this.props.lbSize;\n let buttonUrl = this.props.lbUrl;\n let buttonTarget = this.props.lbTarget;\n let fontAwesomeIconBefore = this.props.lbFontAwesomeIconBefore;\n let fontAwesomeIconAfter = this.props.lbFontAwesomeIconAfter;\n let richText = this.props.lbRichtext;\n let subCaption = this.props.lbsubCaption;\n let containerClass = '';\n let aClass = '';\n let aStyle = {};\n let iconBefore = '';\n let iconAfter = '';\n\n aClass = `btn vk_button_link`;\n\n if (buttonColorCustom) {\n\n aClass = `${aClass} btn-primary btn-${buttonSize}`;\n\n // 塗り\n if (buttonType === '0') {\n aStyle = {\n backgroundColor: buttonColorCustom,\n border: `1px solid ${buttonColorCustom}`\n };\n // 塗りなし\n } else if (buttonType === '1') {\n aStyle = {\n backgroundColor: 'transparent',\n border: '1px solid ' + buttonColorCustom,\n color: buttonColorCustom\n };\n }\n\n\t\t\t\t// カスタムカラーじゃない場合\n } else if (!buttonColorCustom) {\n\n // 塗り\n if (buttonType === '0') {\n aClass = `${aClass} btn-${buttonSize} btn-${buttonColor}`;\n aStyle = null;\n // 塗りなし\n } else if (buttonType === '1') {\n aClass = `${aClass} btn-${buttonSize} btn-outline-${buttonColor}`;\n aStyle = null;\n }\n\n }\n\n if ( buttonAlign === 'block' ){\n \taClass = `${aClass} btn-block`;\n }\n\n\n\n if (fontAwesomeIconBefore) {\n iconBefore = <i className={`${fontAwesomeIconBefore} vk_button_link_before`}></i> ;\n }\n if (fontAwesomeIconAfter) {\n iconAfter = <i className={`${fontAwesomeIconAfter} vk_button_link_after`}></i>;\n }\n\n return (\n <a\n href={buttonUrl}\n className={aClass}\n role={'button'}\n aria-pressed={true}\n style={aStyle}\n target={buttonTarget? '_blank':null}\n >\n {iconBefore}\n {richText}\n {iconAfter}\n\n </a>\n );\n }\n}\n","import React from \"react\";\nimport {ComponentDeprecated} from \"./component-deprecated\";\nconst { RichText } = wp.editor;\n\nexport const deprecated = [\n\t{\n\t\tattributes: {\n\t\t\tcontent: {\n\t\t\t\tsource: 'html',\n\t\t\t\tselector: 'span',\n\t\t\t},\n\t\t\tbuttonUrl: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: null,\n\t\t\t},\n\t\t\tbuttonTarget: {\n\t\t\t\ttype: 'Boolean',\n\t\t\t\tdefault: false,\n\t\t\t},\n\t\t\tbuttonSize: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: 'md',\n\t\t\t},\n\t\t\tbuttonType: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: '0',\n\t\t\t},\n\t\t\tbuttonColor: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: 'primary',\n\t\t\t},\n\t\t\tbuttonColorCustom: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: null,\n\t\t\t},\n\t\t\tbuttonAlign: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: 'left',\n\t\t\t},\n\t\t\tfontAwesomeIconBefore: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: null,\n\t\t\t},\n\t\t\tfontAwesomeIconAfter: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: null,\n\t\t\t}\n\t\t},\n\n\t\tsave({attributes}) {\n\t\t\tconst {\n\t\t\t\tcontent,\n\t\t\t\tbuttonUrl,\n\t\t\t\tbuttonTarget,\n\t\t\t\tbuttonSize,\n\t\t\t\tbuttonType,\n\t\t\t\tbuttonColor,\n\t\t\t\tbuttonColorCustom,\n\t\t\t\tbuttonAlign,\n\t\t\t\tfontAwesomeIconBefore,\n\t\t\t\tfontAwesomeIconAfter,\n\t\t\t} = attributes;\n\n\t\t\tlet containerClass = '';\n\n\t\t\tif (buttonColorCustom) {\n\n\t\t\t\tcontainerClass = `vk_button vk_button-color-custom vk_button-align-${buttonAlign}`;\n\n\t\t\t} else if (!buttonColorCustom) {\n\n\t\t\t\tcontainerClass = `vk_button vk_button-align-${buttonAlign}`;\n\n\t\t\t}\n\n\t\t\treturn (\n\t\t\t\t<div className={containerClass}>\n\n\t\t\t\t\t<ComponentDeprecated lbColorCustom={buttonColorCustom} lbColor={buttonColor} lbType={buttonType}\n\t\t\t\t\t\t\t\t\t\t lbAlign={buttonAlign}\n\t\t\t\t\t\t\t\t\t\t lbSize={buttonSize}\n\t\t\t\t\t\t\t\t\t\t lbUrl={buttonUrl}\n\t\t\t\t\t\t\t\t\t\t lbTarget={buttonTarget}\n\t\t\t\t\t\t\t\t\t\t lbFontAwesomeIconBefore={fontAwesomeIconBefore}\n\t\t\t\t\t\t\t\t\t\t lbFontAwesomeIconAfter={fontAwesomeIconAfter}\n\t\t\t\t\t\t\t\t\t\t lbRichtext={\n\t\t\t\t\t\t\t\t\t\t\t <RichText.Content\n\t\t\t\t\t\t\t\t\t\t\t\t tagName=\"span\"\n\t\t\t\t\t\t\t\t\t\t\t\t className={'vk_button_link_txt'}\n\t\t\t\t\t\t\t\t\t\t\t\t value={content}\n\t\t\t\t\t\t\t\t\t\t\t />\n\t\t\t\t\t\t\t\t\t\t }/>\n\t\t\t\t</div>\n\t\t\t);\n\t\t},\n\t}\n];\n","/**\n * Button block type\n *\n */\nimport React from \"react\";\nimport {Component} from \"./component\";\nimport {deprecated} from \"./deprecated/deprecated\";\n\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {registerBlockType} = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RangeControl, RadioControl, PanelBody, Button, BaseControl, CheckboxControl, TextControl, Dashicon, IconButton,} = wp.components;\nconst {Fragment} = wp.element;\nconst {RichText, InspectorControls, MediaUpload, ColorPalette, URLInput,} = wp.editor;\nconst BlockIcon = (\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"576\" height=\"512\" viewBox=\"0 0 576 512\">\n\t\t<g>\n\t\t\t<path d=\"M506,185v142H70V185H506 M526.4,137H49.6C34.4,137,22,149.4,22,164.6v182.8c0,15.2,12.4,27.6,27.6,27.6h476.8\n\t\t\t\tc15.2,0,27.6-12.4,27.6-27.6V164.6C554,149.4,541.6,137,526.4,137L526.4,137z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path d=\"M83.8,206.9h55.9c9.3,0,16.5,2.3,21.5,6.9c5,4.6,7.5,10.3,7.5,17.1c0,5.7-1.8,10.6-5.3,14.7c-2.4,2.7-5.8,4.9-10.4,6.5\n\t\t\t\tc6.9,1.7,12.1,4.5,15.3,8.6c3.3,4.1,4.9,9.2,4.9,15.3c0,5-1.2,9.5-3.5,13.5c-2.3,4-5.5,7.2-9.6,9.5c-2.5,1.5-6.3,2.5-11.3,3.2\n\t\t\t\tc-6.7,0.9-11.2,1.3-13.4,1.3H83.8V206.9z M113.9,244.8h13c4.7,0,7.9-0.8,9.7-2.4c1.8-1.6,2.7-3.9,2.7-7c0-2.8-0.9-5-2.7-6.6\n\t\t\t\tc-1.8-1.6-5-2.4-9.5-2.4h-13.2V244.8z M113.9,282.8h15.2c5.1,0,8.8-0.9,10.9-2.7s3.2-4.3,3.2-7.4c0-2.9-1-5.2-3.1-6.9\n\t\t\t\tc-2.1-1.7-5.7-2.6-11-2.6h-15.2V282.8z\"/>\n\t\t\t<path d=\"M245.9,303.5h-25.1v-11.3c-3.7,4.7-7.5,8-11.3,10c-3.8,2-8.5,3-14,3c-7.4,0-13.2-2.2-17.4-6.6c-4.2-4.4-6.3-11.2-6.3-20.4\n\t\t\t\tv-44.6h27V272c0,4.4,0.8,7.5,2.4,9.4c1.6,1.8,3.9,2.8,6.9,2.8c3.2,0,5.8-1.2,7.9-3.7s3.1-6.9,3.1-13.3v-33.7h26.8V303.5z\"/>\n\t\t\t<path d=\"M282.4,206.9v26.6h14.8v19.7h-14.8V278c0,3,0.3,5,0.9,5.9c0.9,1.5,2.4,2.2,4.6,2.2c2,0,4.7-0.6,8.3-1.7l2,18.5\n\t\t\t\tc-6.6,1.5-12.8,2.2-18.6,2.2c-6.7,0-11.6-0.9-14.8-2.6c-3.2-1.7-5.5-4.3-7-7.8c-1.5-3.5-2.3-9.1-2.3-17v-24.6h-9.9v-19.7h9.9v-12.9\n\t\t\t\tL282.4,206.9z\"/>\n\t\t\t<path d=\"M330.2,206.9v26.6H345v19.7h-14.8V278c0,3,0.3,5,0.9,5.9c0.9,1.5,2.4,2.2,4.6,2.2c2,0,4.7-0.6,8.3-1.7l2,18.5\n\t\t\t\tc-6.6,1.5-12.8,2.2-18.6,2.2c-6.7,0-11.6-0.9-14.8-2.6c-3.2-1.7-5.5-4.3-7-7.8c-1.5-3.5-2.3-9.1-2.3-17v-24.6h-9.9v-19.7h9.9v-12.9\n\t\t\t\tL330.2,206.9z\"/>\n\t\t\t<path d=\"M339.6,268.7c0-10.7,3.6-19.5,10.8-26.4s16.9-10.4,29.2-10.4c14,0,24.6,4.1,31.8,12.2c5.8,6.6,8.6,14.6,8.6,24.2\n\t\t\t\tc0,10.8-3.6,19.6-10.7,26.5c-7.1,6.9-17,10.3-29.6,10.3c-11.3,0-20.4-2.9-27.3-8.6C343.9,289.5,339.6,280.2,339.6,268.7z\n\t\t\t\t M366.5,268.7c0,6.2,1.3,10.9,3.8,13.8c2.5,3,5.7,4.5,9.5,4.5c3.9,0,7-1.5,9.5-4.4c2.5-2.9,3.7-7.7,3.7-14.2\n\t\t\t\tc0-6.1-1.3-10.6-3.8-13.6s-5.6-4.5-9.3-4.5c-3.9,0-7.1,1.5-9.7,4.5C367.8,257.9,366.5,262.5,366.5,268.7z\"/>\n\t\t\t<path d=\"M418.2,233.5h25v11.4c3.7-4.7,7.5-8,11.3-10c3.8-2,8.5-3,14-3c7.4,0,13.2,2.2,17.4,6.6c4.2,4.4,6.3,11.2,6.3,20.5v44.5h-27\n\t\t\t\tV265c0-4.4-0.8-7.5-2.4-9.3c-1.6-1.8-3.9-2.7-6.9-2.7c-3.3,0-5.9,1.2-7.9,3.7c-2,2.5-3,6.9-3,13.3v33.6h-26.8V233.5z\"/>\n\t\t</g>\n </svg>\n);\n\n/**\n * Register: a Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/button', {\n // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('Button', 'vk-blocks'), // Block title.\n icon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n category: 'vk-blocks-cat', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: {\n content: {\n source: 'html',\n selector: 'span',\n },\n subCaption: {\n type: 'string',\n default: null,\n },\n buttonUrl: {\n type: 'string',\n default: null,\n },\n buttonTarget: {\n type: 'Boolean',\n default: false,\n },\n buttonSize: {\n type: 'string',\n default: 'md',\n },\n buttonType: {\n type: 'string',\n default: '0',\n },\n buttonColor: {\n type: 'string',\n default: 'primary',\n },\n buttonColorCustom: {\n type: 'string',\n default: null,\n },\n buttonAlign: {\n type: 'string',\n default: 'left',\n },\n fontAwesomeIconBefore: {\n type: 'string',\n default: null,\n },\n fontAwesomeIconAfter: {\n type: 'string',\n default: null,\n }\n },\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit({attributes, className, setAttributes, isSelected}) {\n const {\n content,\n subCaption,\n buttonUrl,\n buttonTarget,\n buttonSize,\n buttonType,\n buttonColor,\n buttonColorCustom,\n buttonAlign,\n fontAwesomeIconBefore,\n fontAwesomeIconAfter,\n } = attributes;\n\n return (\n <Fragment>\n <InspectorControls>\n <PanelBody title={__('Button setting', 'vk-blocks')}>\n <TextControl\n label={__('Sub Caption', 'vk-blocks')}\n value={subCaption}\n onChange={(value) => setAttributes({subCaption: value})}\n placeholder={'Sub Caption'}\n />\n <CheckboxControl\n label={__('Open link new tab.', 'vk-blocks')}\n checked={buttonTarget}\n onChange={(checked) => setAttributes({buttonTarget: checked})}\n />\n <RadioControl\n label={__('Button Size:', 'vk-blocks')}\n selected={buttonSize}\n options={[\n {label: __('Large', 'vk-blocks'), value: 'lg'},\n {label: __('normal', 'vk-blocks'), value: 'md'},\n {label: __('Small', 'vk-blocks'), value: 'sm'},\n ]}\n onChange={(value) => setAttributes({buttonSize: value})}\n />\n <RadioControl\n label={__('Button Position:', 'vk-blocks')}\n selected={buttonAlign}\n options={[\n {label: __('Left', 'vk-blocks'), value: 'left'},\n {label: __('Center', 'vk-blocks'), value: 'center'},\n {label: __('Right', 'vk-blocks'), value: 'right'},\n {label: __('Block', 'vk-blocks'), value: 'block'},\n ]}\n onChange={(value) => setAttributes({buttonAlign: value})}\n />\n <RadioControl\n label={__('Button Style:', 'vk-blocks')}\n selected={buttonType}\n options={[\n {label: __('Solid color', 'vk-blocks'), value: '0'},\n {label: __('No background', 'vk-blocks'), value: '1'},\n ]}\n help={__('If you select \"No background\", that you need to select a Custom Color.', 'vk-blocks')}\n onChange={(value) => setAttributes({buttonType: value})}\n />\n <RadioControl\n label={__('Default Color:', 'vk-blocks')}\n selected={buttonColor}\n options={[\n {label: __('Primary', 'vk-blocks'), value: 'primary'},\n {label: __('Secondary', 'vk-blocks'), value: 'secondary'},\n {label: __('Success', 'vk-blocks'), value: 'success'},\n {label: __('Info', 'vk-blocks'), value: 'info'},\n {label: __('Warning', 'vk-blocks'), value: 'warning'},\n {label: __('Danger', 'vk-blocks'), value: 'danger'},\n {label: __('Light', 'vk-blocks'), value: 'light'},\n {label: __('Dark', 'vk-blocks'), value: 'dark'},\n ]}\n onChange={(value) => setAttributes({buttonColor: value})}\n />\n <BaseControl\n label={__('Custom Color', 'vk-blocks')}\n help={__('This custom color overrides the default color. If you want to use the default color, click the clear button.', 'vk-blocks')}\n >\n <ColorPalette\n value={buttonColorCustom}\n onChange={(value) => setAttributes({buttonColorCustom: value})}\n />\n </BaseControl>\n <BaseControl\n label={__('Font Awesome:', 'vk-blocks')}\n help={<a href={`https://fontawesome.com/icons?d=gallery&m=free`} target={`_blank`}>{__('Font Awesome icon list', 'vk-blocks')}</a>}\n >\n <TextControl\n label={__('Before text', 'vk-blocks')}\n help={__('Enter Font Awesome Class.This icon will appear before text. Ex) fas fa-arrow-circle-right', 'vk-blocks')}\n value={fontAwesomeIconBefore}\n onChange={(value) => setAttributes({fontAwesomeIconBefore: value})}\n placeholder={'fas fa-arrow-circle-right'}\n />\n <TextControl\n label={__('After text', 'vk-blocks')}\n help={__('Enter Font Awesome Class.This icon will appear after text. Ex) fas fa-external-link-alt', 'vk-blocks')}\n value={fontAwesomeIconAfter}\n onChange={(value) => setAttributes({fontAwesomeIconAfter: value})}\n placeholder={'fas fa-external-link-alt'}\n />\n </BaseControl>\n </PanelBody>\n </InspectorControls>\n\n <div className={buttonColorCustom ? `vk_button vk_button-align-${ buttonAlign } vk_button-color-custom` : `vk_button vk_button-align-${ buttonAlign }`}>\n\n <Component lbColorCustom={buttonColorCustom} lbColor={buttonColor} lbType={buttonType}\n lbAlign={buttonAlign}\n lbSize={buttonSize}\n lbFontAwesomeIconBefore={fontAwesomeIconBefore}\n lbFontAwesomeIconAfter={fontAwesomeIconAfter}\n lbsubCaption={subCaption}\n lbRichtext={\n <RichText\n tagName=\"span\"\n className={'vk_button_link_txt'}\n onChange={(value) => setAttributes({content: value})}\n value={content}\n placeholder={__('Input text', 'vk-blocks')}\n formattingControls={['bold', 'italic', 'strikethrough']}\n keepPlaceholderOnFocus\n />\n }/>\n\n {isSelected && (\n <form\n className=\"block-library-button__inline-link\"\n onSubmit={(event) => event.preventDefault()}>\n <Dashicon icon=\"admin-links\"/>\n <URLInput\n value={buttonUrl}\n onChange={(value) => setAttributes({buttonUrl: value})}\n />\n <IconButton icon=\"editor-break\" label={__('Apply', 'vk-blocks')} type=\"submit\"/>\n </form>\n )}\n </div>\n </Fragment>\n );\n },\n\n /**\n * The save function defin className }> which the different attributes should be combined\n * into the final markup, which is then serialized by Gutenberg into post_content.\n *\n * The \"save\" property must be specified and must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n save({attributes, className}) {\n const {\n content,\n subCaption,\n buttonUrl,\n buttonTarget,\n buttonSize,\n buttonType,\n buttonColor,\n buttonColorCustom,\n buttonAlign,\n fontAwesomeIconBefore,\n fontAwesomeIconAfter,\n } = attributes;\n\n let containerClass = '';\n\n if (buttonColorCustom) {\n\n containerClass = `vk_button vk_button-color-custom vk_button-align-${buttonAlign}`;\n\n } else if (!buttonColorCustom) {\n\n containerClass = `vk_button vk_button-align-${buttonAlign}`;\n\n }\n\n return (\n <div className={containerClass}>\n\n <Component lbColorCustom={buttonColorCustom} lbColor={buttonColor} lbType={buttonType}\n lbAlign={buttonAlign}\n lbSize={buttonSize}\n lbUrl={buttonUrl}\n lbTarget={buttonTarget}\n lbFontAwesomeIconBefore={fontAwesomeIconBefore}\n lbFontAwesomeIconAfter={fontAwesomeIconAfter}\n lbsubCaption={subCaption}\n lbRichtext={\n <RichText.Content\n tagName=\"span\"\n className={'vk_button_link_txt'}\n value={content}\n />\n }/>\n </div>\n );\n },\n\n deprecated: deprecated\n});\n","import React from 'react';\n\nexport class Fontawesome extends React.Component {\n\n render() {\n let {\n buttonText,\n fontAwesomeIconBefore,\n fontAwesomeIconAfter,\n } = this.props.attributes;\n\n let iconBefore = '';\n let iconAfter = '';\n\n\n if (fontAwesomeIconBefore) {\n iconBefore = <i className={`${fontAwesomeIconBefore} vk_button_link_before`}></i> ;\n }\n if (fontAwesomeIconAfter) {\n iconAfter = <i className={`${fontAwesomeIconAfter} vk_button_link_after`}></i>;\n }\n\n return (\n\t\t\t\t\t<React.Fragment>\n {iconBefore}\n <span className=\"vk_button_link_txt\">{buttonText}</span>\n {iconAfter}\n </React.Fragment>\n );\n }\n}\n","import React from \"react\";\nimport {Fontawesome} from \"./component-fontawesome\";\n\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {Button} = wp.components;\nconst {MediaUpload} = wp.editor;\nlet {RichText} = wp.editor;\n\nexport class Component extends React.Component {\n\n render() {\n\n const attributes = this.props.attributes;\n const {\n title,\n titleColor,\n content,\n contentColor,\n url,\n buttonType,\n\t\t\t\t\t\tbuttonColor,\n buttonColorCustom,\n buttonText,\n buttonTarget,\n Image,\n ImageBorderColor,\n layout,\n fontAwesomeIconBefore,\n fontAwesomeIconAfter\n } = attributes;\n let setAttributes = this.props.setAttributes;\n let for_ = this.props.for_;\n\t\t\t\tlet containerClass = 'vk_prContent';\n\t\t\t\tlet btnClass = 'vk_button';\n\t\t\t\tlet aClass = 'btn btn-block vk_button_link vk_prContent_colTxt_btn';\n\t\t\t\tlet aStyle = {};\n\n\t\t\t\tif (layout === 'right') {\n\t\t\t\t\tcontainerClass = `${containerClass} vk_prContent-layout-imageRight`;\n\t\t\t\t} else {\n\t\t\t\t\tcontainerClass = `${containerClass} vk_prContent-layout-imageLeft`;\n\t\t\t\t}\n\n\t\t\t\tif (buttonColorCustom) {\n\t\t\t\t\t\tbtnClass = `${btnClass} vk_button-color-custom`;\n aClass = `${aClass} btn-primary`;\n\n // 塗り\n if (buttonType === '0') {\n aStyle = {\n backgroundColor: buttonColorCustom,\n border: `1px solid ${buttonColorCustom}`\n };\n // 塗りなし\n } else if (buttonType === '1') {\n aStyle = {\n backgroundColor: 'transparent',\n border: '1px solid ' + buttonColorCustom,\n color: buttonColorCustom\n };\n }\n\n\t\t\t\t// カスタムカラーじゃない場合\n } else if (!buttonColorCustom) {\n\n // 塗り\n if (buttonType === '0') {\n aClass = `${aClass} btn-${buttonColor}`;\n aStyle = null;\n // 塗りなし\n } else if (buttonType === '1') {\n aClass = `${aClass} btn-outline-${buttonColor}`;\n aStyle = null;\n }\n\n }\n\n return (\n <div className={containerClass}>\n <div className=\"col-sm-6 vk_prContent_colImg\">\n {for_ === 'edit' ?\n <MediaUpload\n onSelect={(value) => setAttributes({Image: value.sizes.full.url})}\n type=\" image\"\n value={Image}\n render={({open}) => (\n <Button\n onClick={open}\n className={Image ? 'image-button' : 'button button-large'}\n >\n {!Image ? __('Select image', 'vk-blocks') :\n <img\n className={'vk_prContent_colImg_image'}\n src={Image}\n alt={__('Upload image', 'vk-blocks')}\n style={{border:`1px solid ${ImageBorderColor}`}}\n />}\n </Button>\n )}\n />\n :\n !Image ? __('Select image', 'vk-blocks') :\n <img\n className={'vk_prContent_colImg_image'}\n src={Image}\n alt={__('Upload image', 'vk-blocks')}\n style={{border: `1px solid ${ImageBorderColor}`}}\n />\n }\n </div>\n <div className=\"col-sm-6 vk_prContent_colTxt\">\n {\n (() => {\n if (for_ === 'edit') {\n return (\n <React.Fragment>\n <RichText\n tagName=\"h3\"\n className={'vk_prContent_colTxt_title'}\n onChange={(value) => setAttributes({title: value})}\n value={title}\n placeholder={__('Input title.', 'vk-blocks')}\n style={{color: titleColor}}\n />\n < RichText\n tagName=\"p\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={'vk_prContent_colTxt_text'}\n onChange={(value) => setAttributes({content: value})}\n value={content}\n placeholder={__('Input content.', 'vk-blocks')}\n style={{color: contentColor}}\n />\n </React.Fragment>\n );\n } else {\n return (\n <React.Fragment>\n <RichText.Content\n tagName=\"h3\"\n value={title}\n className={'vk_prContent_colTxt_title'}\n style={{color: titleColor}}\n />\n <RichText.Content\n tagName=\"p\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={'vk_prContent_colTxt_text'}\n value={content}\n style={{color: contentColor}}\n />\n </React.Fragment>);\n }\n })()\n }\n {\n\n //ボタンテキストが入力されるとボタンを表示。\n (() => {\n if (buttonText !== '' && buttonText !== undefined ) {\n return (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div className={btnClass}>\n <a href={url}\n className={aClass}\n target={buttonTarget? '_blank':null}\n style={aStyle}\n >\n <Fontawesome\n attributes={attributes}\n />\n </a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n );\n }\n })()\n }\n </div>\n </div>\n );\n }\n}\n","/**\n * Pr-Content block type\n *\n */\n\nimport React from \"react\";\nimport {schema} from './schema.js';\nimport {Component} from \"./component.js\";\n\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {registerBlockType} = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RangeControl, RadioControl, PanelBody, Button, BaseControl, CheckboxControl, TextControl} = wp.components;\nconst {Fragment} = wp.element;\nconst {RichText, InspectorControls, MediaUpload, ColorPalette} = wp.editor;\nconst BlockIcon = (\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"576\" height=\"512\" viewBox=\"0 0 576 512\">\n\t\t<g>\n\t\t\t<path d=\"M291.7,133.3l0,245.3l-273.1,0l0-245.3L291.7,133.3 M307.2,117.8l-304.2,0l0,276.4l304.2,0L307.2,117.8L307.2,117.8z\"/>\n\t\t\t<path d=\"M560.7,218.8l-213.1,0c-6.1,0-11.1-5-11.1-11.1s5-11.1,11.1-11.1l213.1,0c6.1,0,11.1,5,11.1,11.1\n\t\t\t\tC571.8,213.8,566.8,218.8,560.7,218.8z\"/>\n\t\t\t<path d=\"M560.7,265.4l-213.1,0c-6.1,0-11.1-5-11.1-11.1c0-6.1,5-11.1,11.1-11.1l213.1,0c6.1,0,11.1,5,11.1,11.1\n\t\t\t\tC571.8,260.5,566.8,265.4,560.7,265.4z\"/>\n\t\t\t<path d=\"M560.7,312.1l-213.1,0c-6.1,0-11.1-5-11.1-11.1c0-6.1,5-11.1,11.1-11.1l213.1,0c6.1,0,11.1,5,11.1,11.1\n\t\t\t\tC571.8,307.1,566.8,312.1,560.7,312.1z\"/>\n\t\t\t<polygon points=\"278.4,365.4 31.9,365.4 31.9,287.4 113,182.2 184.4,264.4 229.9,226.5 278.4,290.6 \t\"/>\n\t\t\t<path d=\"M360.6,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7c-4.8,0-8.7-3.9-8.7-8.7C351.9,137.2,355.8,133.3,360.6,133.3\n\t\t\t\t M360.6,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2c13.4,0,24.2-10.9,24.2-24.2\n\t\t\t\tC384.9,128.7,374,117.8,360.6,117.8L360.6,117.8z\"/>\n\t\t\t<path d=\"M423.3,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7c-4.8,0-8.7-3.9-8.7-8.7C414.6,137.2,418.5,133.3,423.3,133.3\n\t\t\t\t M423.3,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2s24.2-10.9,24.2-24.2C447.6,128.7,436.7,117.8,423.3,117.8\n\t\t\t\tL423.3,117.8z\"/>\n\t\t\t<path d=\"M486,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7c-4.8,0-8.7-3.9-8.7-8.7C477.3,137.2,481.2,133.3,486,133.3\n\t\t\t\t M486,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2c13.4,0,24.2-10.9,24.2-24.2\n\t\t\t\tC510.2,128.7,499.4,117.8,486,117.8L486,117.8z\"/>\n\t\t\t<path d=\"M548.7,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7s-8.7-3.9-8.7-8.7C540,137.2,543.9,133.3,548.7,133.3\n\t\t\t\t M548.7,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2c13.4,0,24.2-10.9,24.2-24.2\n\t\t\t\tC572.9,128.7,562.1,117.8,548.7,117.8L548.7,117.8z\"/>\n\t\t\t<path d=\"M566.3,347.6l-224.3,0c-3.1,0-5.6,2.5-5.6,5.6l0,35.5c0,3.1,2.5,5.6,5.6,5.6l224.3,0c3.1,0,5.6-2.5,5.6-5.6v-35.5\n\t\t\t\tC571.8,350.1,569.3,347.6,566.3,347.6z M547.1,379.2v-16.6l9.8,8.3L547.1,379.2z\"/>\n\t\t</g>\n </svg>\n);\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/pr-content', {\n // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('PR Content', 'vk-blocks'), // Block title.\n icon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n category: 'vk-blocks-cat', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: schema,\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit: function ({attributes, className, setAttributes}) {\n const {\n titleColor,\n contentColor,\n url,\n buttonType,\n\t\t\t\t\t\tbuttonColor,\n buttonColorCustom,\n buttonText,\n\t\t\t\t\t\tbuttonTarget,\n ImageBorderColor,\n layout,\n fontAwesomeIconBefore,\n fontAwesomeIconAfter\n } = attributes;\n return (\n <Fragment>\n <InspectorControls>\n <PanelBody title={__('Color Setting', 'vk-blocks')}>\n <BaseControl label={__('Title Color', 'vk-blocks')}>\n <ColorPalette\n value={titleColor}\n onChange={(value) => setAttributes({titleColor: value})}\n />\n </BaseControl>\n <BaseControl label={__('Content Color', 'vk-blocks')}>\n <ColorPalette\n value={contentColor}\n onChange={(value) => setAttributes({contentColor: value})}\n />\n </BaseControl>\n <BaseControl\n label={__('Image Border Color', 'vk-blocks')}\n >\n <ColorPalette\n value={ImageBorderColor}\n onChange={(value) => setAttributes({ImageBorderColor: value})}\n />\n </BaseControl>\n </PanelBody>\n <PanelBody title={__('Button Setting', 'vk-blocks')}>\n <BaseControl\n label={__('Button Text', 'vk-blocks')}\n >\n <TextControl\n value={buttonText}\n onChange={(value) => setAttributes({buttonText: value})}\n placeholder={'Input button text.'}\n />\n </BaseControl>\n <BaseControl\n label={__('Link URL', 'vk-blocks')}\n >\n <TextControl\n value={url}\n onChange={(value) => setAttributes({url: value})}\n placeholder={'https://vektor-inc.co.jp/'}\n />\n </BaseControl>\n\t\t\t\t\t\t\t\t\t\t\t\t<CheckboxControl\n label={__('Open link new tab.', 'vk-blocks')}\n checked={buttonTarget}\n onChange={(checked) => setAttributes({buttonTarget: checked})}\n />\n <BaseControl label={__('Button Type', 'vk-blocks')}>\n <RadioControl\n selected={buttonType}\n options={[\n {label: __('Solid', 'vk-blocks'), value: '0'},\n {label: __('Ghost', 'vk-blocks'), value: '1'}\n ]}\n onChange={(value) => setAttributes({buttonType: value})}\n />\n </BaseControl>\n\t\t\t\t\t\t\t\t\t\t\t\t<RadioControl\n label={__('Default Color:', 'vk-blocks')}\n selected={buttonColor}\n options={[\n {label: __('Primary', 'vk-blocks'), value: 'primary'},\n {label: __('Secondary', 'vk-blocks'), value: 'secondary'},\n {label: __('Success', 'vk-blocks'), value: 'success'},\n {label: __('Info', 'vk-blocks'), value: 'info'},\n {label: __('Warning', 'vk-blocks'), value: 'warning'},\n {label: __('Danger', 'vk-blocks'), value: 'danger'},\n {label: __('Light', 'vk-blocks'), value: 'light'},\n {label: __('Dark', 'vk-blocks'), value: 'dark'},\n ]}\n onChange={(value) => setAttributes({buttonColor: value})}\n />\n\t\t\t\t\t\t\t\t\t\t\t\t<BaseControl label={__('Button Color', 'vk-blocks')}>\n <ColorPalette\n value={buttonColorCustom}\n onChange={(value) => setAttributes({buttonColorCustom: value})}\n />\n </BaseControl>\n <BaseControl\n label={__('Font Awesome:', 'vk-blocks')}\n help={<a href={`https://fontawesome.com/icons?d=gallery&m=free`} target={`_blank`}>{__('Font Awesome icon list', 'vk-blocks')}</a>}\n >\n <TextControl\n label={__('Before text', 'vk-blocks')}\n help={__('Enter Font Awesome Class.This icon will appear before text. Ex) fas fa-arrow-circle-right', 'vk-blocks')}\n value={fontAwesomeIconBefore}\n onChange={(value) => setAttributes({fontAwesomeIconBefore: value})}\n placeholder={'fas fa-arrow-circle-right'}\n />\n <TextControl\n label={__('After text', 'vk-blocks')}\n help={__('Enter Font Awesome Class.This icon will appear after text. Ex) fas fa-external-link-alt', 'vk-blocks')}\n value={fontAwesomeIconAfter}\n onChange={(value) => setAttributes({fontAwesomeIconAfter: value})}\n placeholder={'fas fa-external-link-alt'}\n />\n </BaseControl>\n </PanelBody>\n <PanelBody title={__('Layout Setting', 'vk-blocks')}>\n <RadioControl\n label={__('Layout Type', 'vk-blocks')}\n selected={layout}\n options={[\n {label: __('Right', 'vk-blocks'), value: 'right'},\n {label: __('Left', 'vk-blocks'), value: 'left'}\n ]}\n onChange={(value) => setAttributes({layout: value})}\n />\n </PanelBody>\n </InspectorControls>\n <Component\n attributes={attributes}\n setAttributes={setAttributes}\n for_={'edit'}\n />\n </Fragment>\n );\n },\n\n\n /**\n * The save function defin className }> which the different attributes should be combined\n * into the final markup, which is then serialized by Gutenberg into post_content.\n *\n * The \" save\" property must be specified and must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n save({attributes, className}) {\n\n return (\n <Component\n attributes={attributes}\n for_={'save'}\n />\n );\n },\n});\n","export const schema = {\n\ttitle: {\n\t\tsource: 'html',\n\t\t\tselector: '.vk_prContent_colTxt_title',\n\t},\n\ttitleColor: {\n\t\ttype: 'string',\n\t},\n\tcontent: {\n\t\tsource: 'html',\n\t\t\tselector: '.vk_prContent_colTxt_text',\n\t},\n\tcontentColor: {\n\t\ttype: 'string',\n\t},\n\turl: {\n\t\ttype: 'string',\n\tdefault: null,\n\t},\n\tbuttonType: {\n\t\ttype: 'string',\n\tdefault: '0',\n\t},\n\tbuttonColor: {\n\t\ttype: 'string',\n\t\tdefault: 'primary',\n\t},\n\tbuttonColorCustom: {\n\t\ttype: 'string',\n\t\tdefault: null,\n\t},\n\tbuttonText: {\n\t\tsource: 'html',\n\t\tselector: '.vk_button_link_txt',\n\t\tdefault: '',\n\t},\n\tbuttonTarget: {\n\t\ttype: 'Boolean',\n\tdefault: false,\n\t},\n\tImage: {\n\t\ttype: 'string',\n\tdefault: null,\n\t},\n\tImageBorderColor: {\n\t\ttype: 'string',\n\tdefault: null,\n\t},\n\tlayout: {\n\t\ttype: 'string',\n\tdefault: 'left',\n\t},\n\tfontAwesomeIconBefore:{\n\t\ttype: 'string',\n\t},\n\tfontAwesomeIconAfter:{\n\t\ttype: 'string',\n\t}\n};\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/react/index.js","webpack:///./node_modules/react/cjs/react.production.min.js","webpack:///./node_modules/react/node_modules/object-assign/index.js","webpack:///./src/alert/block.js","webpack:///./src/balloon/block.js","webpack:///./src/faq/block.js","webpack:///./src/flow/block.js","webpack:///./src/pr-blocks/block.js","webpack:///./src/outer/component-divider.js","webpack:///./src/outer/component.js","webpack:///./src/_helper/to-number.js","webpack:///./src/outer/block.js","webpack:///./src/outer/schema.js","webpack:///./src/button/component.js","webpack:///./src/button/deprecated/component-deprecated.js","webpack:///./src/button/deprecated/deprecated.js","webpack:///./src/button/block.js","webpack:///./src/pr-content/component-fontawesome.js","webpack:///./src/pr-content/component.js","webpack:///./src/pr-content/block.js","webpack:///./src/pr-content/schema.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","k","for","q","u","v","w","x","y","z","A","B","C","iterator","D","a","b","arguments","length","e","encodeURIComponent","g","h","f","Error","replace","framesToPop","aa","E","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","F","G","this","props","context","refs","updater","H","I","isReactComponent","setState","forceUpdate","J","constructor","isPureReactComponent","K","current","currentDispatcher","L","M","ref","__self","__source","N","children","Array","defaultProps","$typeof","type","_owner","O","P","Q","R","pop","result","keyPrefix","func","count","S","push","V","T","U","isArray","next","done","keys","join","=",":","escape","toString","ca","da","W","ba","X","Children","map","forEach","toArray","only","createRef","Component","PureComponent","createContext","_calculateChangedBits","_currentValue","_currentValue2","_threadCount","Provider","Consumer","_context","forwardRef","render","lazy","_ctor","_status","_result","memo","compare","Fragment","StrictMode","Suspense","createElement","cloneElement","createFactory","isValidElement","version","unstable_ConcurrentMode","unstable_Profiler","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","assign","Y","default","Z","getOwnPropertySymbols","propIsEnumerable","propertyIsEnumerable","test1","String","getOwnPropertyNames","test2","fromCharCode","test3","split","letter","err","shouldUseNative","target","source","from","symbols","to","val","TypeError","toObject","__","wp","i18n","registerBlockType","blocks","RichText","editor","title","icon","category","attributes","style","content","selector","edit","_ref","setAttributes","React","className","concat","onChange","event","selected","tagName","newContent","save","_ref2","Content","components","RadioControl","RangeControl","PanelBody","Button","element","InspectorControls","MediaUpload","ColorPalette","BlockIcon","xmlns","width","height","viewBox","balloonName","balloonType","balloonBgColor","balloonAlign","IconImage","label","help","options","onSelect","sizes","full","url","open","onClick","src","alt","placeholder","background","border","_ref3","heading","PanelColor","arrowFlag","insertImage","BaseControl","CheckboxControl","TextControl","cx","cy","number","set_attirbuite","heading1","heading2","heading3","content1","content2","content3","url1","url2","url3","urlOpenType1","urlOpenType2","urlOpenType3","icon1","icon2","icon3","color1","color2","color3","bgType1","bgType2","bgType3","insertImage1","insertImage2","insertImage3","checked","_ref4","backgroundImage","backgroundRepeat","backgroundSize","backgroundColor","color","_ref5","href","_readOnlyError","componentDivider","level","whichSide","dividerType","sectionPadding","sectionClass","lenderDivider","Math","abs","strokeWidth","fill","absLevel","tiltSectionStyle","curveSectionStyle","waveSectionStyle","DivideAbs4","triangleSectionStyle","paddingBottom","preserveAspectRatio","paddingTop","InnerBlocks","hex2rgba","hex","alpha","match","slice","parseInt","_React$Component","_classCallCheck","_possibleConstructorReturn","_getPrototypeOf","apply","_inherits","classPaddingLR","classPaddingVertical","classBgPosition","classWidth","elm","containerClass","whichSideUpper","whichSideLower","bgStyle","borderProperty","borderRadiusProperty","_this$props$attribute","bgColor","bgImage","bgPosition","outerWidth","padding_left_and_right","padding_top_and_bottom","opacity","upper_level","lower_level","upperDividerBgColor","lowerDividerBgColor","borderWidth","borderStyle","borderColor","borderRadius","for_","react_default","toNumber","min","undefined","max","Number","isNaN","SelectControl","points","step","vk_blocks_check","is_pro","component_Component","component_classCallCheck","component_possibleConstructorReturn","component_getPrototypeOf","component_inherits","buttonColorCustom","lbColorCustom","buttonColor","lbColor","buttonType","lbType","buttonAlign","lbAlign","buttonSize","lbSize","buttonUrl","lbUrl","buttonTarget","lbTarget","fontAwesomeIconBefore","lbFontAwesomeIconBefore","fontAwesomeIconAfter","lbFontAwesomeIconAfter","richText","lbRichtext","subCaption","lbsubCaption","aClass","aStyle","iconBefore","iconAfter","id","role","aria-pressed","ComponentDeprecated","component_deprecated_classCallCheck","component_deprecated_possibleConstructorReturn","component_deprecated_getPrototypeOf","component_deprecated_inherits","deprecated","component_deprecated_ComponentDeprecated","Dashicon","IconButton","URLInput","isSelected","block_Fragment","block_InspectorControls","block_PanelBody","block_RadioControl","block_BaseControl","block_ColorPalette","button_component_Component","block_RichText","formattingControls","keepPlaceholderOnFocus","onSubmit","preventDefault","Fontawesome","component_fontawesome_classCallCheck","component_fontawesome_possibleConstructorReturn","component_fontawesome_getPrototypeOf","component_fontawesome_inherits","buttonText","pr_content_component_classCallCheck","pr_content_component_possibleConstructorReturn","pr_content_component_getPrototypeOf","pr_content_component_inherits","titleColor","contentColor","Image","ImageBorderColor","layout","btnClass","component_MediaUpload","component_Button","component_RichText","component_fontawesome_Fontawesome","pr_content_block_Fragment","pr_content_block_InspectorControls","pr_content_block_PanelBody","pr_content_block_BaseControl","pr_content_block_ColorPalette","block_TextControl","block_CheckboxControl","pr_content_block_RadioControl","pr_content_component_Component"],"mappings":"aACA,IAAAA,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,GAAA,CACAG,EAAAH,EACAI,GAAA,EACAH,QAAA,IAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,EAAA,CAA0CK,YAAA,EAAAC,IAAAL,KAK1CZ,EAAAkB,EAAA,SAAAhB,GACA,oBAAAiB,eAAAC,aACAN,OAAAC,eAAAb,EAAAiB,OAAAC,YAAA,CAAwDC,MAAA,WAExDP,OAAAC,eAAAb,EAAA,cAAiDmB,OAAA,KAQjDrB,EAAAsB,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAArB,EAAAqB,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,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,IAAxBhB,EAAwBgB,EAAxBhB,WAAwBgB,EAAZR,UAEd,OACIsJ,EAAAjT,EAAAuG,cAAC2S,GAAD,CACI/P,WAAYA,EACZ6J,KAAM","file":"./inc/vk-blocks/build/block-build.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","/** @license React v16.7.0\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var k=require(\"object-assign\"),n=\"function\"===typeof Symbol&&Symbol.for,p=n?Symbol.for(\"react.element\"):60103,q=n?Symbol.for(\"react.portal\"):60106,r=n?Symbol.for(\"react.fragment\"):60107,t=n?Symbol.for(\"react.strict_mode\"):60108,u=n?Symbol.for(\"react.profiler\"):60114,v=n?Symbol.for(\"react.provider\"):60109,w=n?Symbol.for(\"react.context\"):60110,x=n?Symbol.for(\"react.concurrent_mode\"):60111,y=n?Symbol.for(\"react.forward_ref\"):60112,z=n?Symbol.for(\"react.suspense\"):60113,A=n?Symbol.for(\"react.memo\"):\n60115,B=n?Symbol.for(\"react.lazy\"):60116,C=\"function\"===typeof Symbol&&Symbol.iterator;function aa(a,b,e,c,d,g,h,f){if(!a){a=void 0;if(void 0===b)a=Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else{var l=[e,c,d,g,h,f],m=0;a=Error(b.replace(/%s/g,function(){return l[m++]}));a.name=\"Invariant Violation\"}a.framesToPop=1;throw a;}}\nfunction D(a){for(var b=arguments.length-1,e=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=0;c<b;c++)e+=\"&args[]=\"+encodeURIComponent(arguments[c+1]);aa(!1,\"Minified React error #\"+a+\"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. \",e)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F={};\nfunction G(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}G.prototype.isReactComponent={};G.prototype.setState=function(a,b){\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a?D(\"85\"):void 0;this.updater.enqueueSetState(this,a,b,\"setState\")};G.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function H(){}H.prototype=G.prototype;function I(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}var J=I.prototype=new H;\nJ.constructor=I;k(J,G.prototype);J.isPureReactComponent=!0;var K={current:null,currentDispatcher:null},L=Object.prototype.hasOwnProperty,M={key:!0,ref:!0,__self:!0,__source:!0};\nfunction N(a,b,e){var c=void 0,d={},g=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=\"\"+b.key),b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var l=Array(f),m=0;m<f;m++)l[m]=arguments[m+2];d.children=l}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$typeof:p,type:a,key:g,ref:h,props:d,_owner:K.current}}\nfunction ba(a,b){return{$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return\"object\"===typeof a&&null!==a&&a.$typeof===p}function escape(a){var b={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+(\"\"+a).replace(/[=:]/g,function(a){return b[a]})}var P=/\\/+/g,Q=[];function R(a,b,e,c){if(Q.length){var d=Q.pop();d.result=a;d.keyPrefix=b;d.func=e;d.context=c;d.count=0;return d}return{result:a,keyPrefix:b,func:e,context:c,count:0}}\nfunction S(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q.length&&Q.push(a)}\nfunction T(a,b,e,c){var d=typeof a;if(\"undefined\"===d||\"boolean\"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case \"string\":case \"number\":g=!0;break;case \"object\":switch(a.$typeof){case p:case q:g=!0}}if(g)return e(c,a,\"\"===b?\".\"+U(a,0):b),1;g=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var h=0;h<a.length;h++){d=a[h];var f=b+U(d,h);g+=T(d,f,e,c)}else if(null===a||\"object\"!==typeof a?f=null:(f=C&&a[C]||a[\"@@iterator\"],f=\"function\"===typeof f?f:null),\"function\"===typeof f)for(a=f.call(a),h=\n0;!(d=a.next()).done;)d=d.value,f=b+U(d,h++),g+=T(d,f,e,c);else\"object\"===d&&(e=\"\"+a,D(\"31\",\"[object Object]\"===e?\"object with keys {\"+Object.keys(a).join(\", \")+\"}\":e,\"\"));return g}function V(a,b,e){return null==a?0:T(a,\"\",b,e)}function U(a,b){return\"object\"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function ca(a,b){a.func.call(a.context,b,a.count++)}\nfunction da(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,c,e,function(a){return a}):null!=a&&(O(a)&&(a=ba(a,d+(!a.key||b&&b.key===a.key?\"\":(\"\"+a.key).replace(P,\"amp;/\")+\"/\")+e)),c.push(a))}function W(a,b,e,c,d){var g=\"\";null!=e&&(g=(\"\"+e).replace(P,\"amp;/\")+\"/\");b=R(b,g,c,d);V(a,da,b);S(b)}\nvar X={Children:{map:function(a,b,e){if(null==a)return a;var c=[];W(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=R(null,null,b,e);V(a,ca,b);S(b)},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){O(a)?void 0:D(\"143\");return a}},createRef:function(){return{current:null}},Component:G,PureComponent:I,createContext:function(a,b){void 0===b&&(b=null);a={$typeof:w,_calculateChangedBits:b,\n_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$typeof:y,render:a}},lazy:function(a){return{$typeof:B,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$typeof:A,type:a,compare:void 0===b?null:b}},Fragment:r,StrictMode:t,Suspense:z,createElement:N,cloneElement:function(a,b,e){null===a||void 0===a?D(\"267\",a):void 0;var c=void 0,d=k({},a.props),g=a.key,h=a.ref,f=a._owner;\nif(null!=b){void 0!==b.ref&&(h=b.ref,f=K.current);void 0!==b.key&&(g=\"\"+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];d.children=l}return{$typeof:p,type:a.type,key:g,ref:h,props:d,_owner:f}},createFactory:function(a){var b=N.bind(null,a);b.type=a;return b},isValidElement:O,version:\"16.7.0\",\nunstable_ConcurrentMode:x,unstable_Profiler:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:K,assign:k}},Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z;\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Alert block type\n *\n */\n\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst { registerBlockType } = wp.blocks;\nconst { RichText } = wp.editor;\n\nregisterBlockType( 'vk-blocks/alert', {\n\n title: __('Alert', 'vk-blocks'),\n\n icon: 'info',\n\n category: 'vk-blocks-cat',\n\n attributes: {\n style: {\n type: 'string',\n default: 'info',\n },\n content: {\n type: 'string',\n source: 'html',\n selector: 'p',\n }\n },\n\n edit({attributes, setAttributes}) {\n const {\n style,\n content\n } = attributes;\n\n function onStyleChange(event){\n setAttributes({style: event.target.value});\n }\n\n function onChangeContent(newContent) {\n setAttributes({content: newContent});\n }\n\n return (\n <div className={`alert alert-${style}`}>\n <select onChange={onStyleChange}>\n <option value={'success'} selected={style === 'success'}>Success</option>\n <option value={'info'} selected={style === 'info'}>Info</option>\n <option value={'warning'} selected={style === 'warning'}>Warning</option>\n <option value={'danger'} selected={style === 'danger'}>Danger</option>\n </select>\n <RichText\n tagName=\"p\"\n onChange={onChangeContent}\n value={content}\n />\n </div>\n );\n },\n\n save({attributes}) {\n const {\n style,\n content\n } = attributes;\n return (\n <div className={`alert alert-${style}`}>\n <RichText.Content\n tagName={'p'}\n value={content}/>\n </div>\n );\n },\n\n} );\n","/**\n * Baloon block type\n *\n */\n\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst { registerBlockType } = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RangeControl, RadioControl, PanelBody, Button} = wp.components;\nconst { Fragment } = wp.element;\nconst {RichText, InspectorControls, MediaUpload, ColorPalette} = wp.editor;\nconst BlockIcon = (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"576\" height=\"512\" viewBox=\"0 0 576 512\">\n\t\t<path d=\"M544 450.583c0 22.75 13.014 42.454 32 52.092v7.969c-5.313 0.727-10.736 1.112-16.25 1.112-34.004 0-64.674-14.264-86.361-37.132-13.111 3.491-27.001 5.376-41.389 5.376-79.529 0-144-57.308-144-128s64.471-128 144-128c79.529 0 144 57.308 144 128 0 27.674-9.882 53.296-26.678 74.233-3.412 7.412-5.322 15.656-5.322 24.35zM115.339 110.593c-33.107 26.899-51.339 61.492-51.339 97.407 0 20.149 5.594 39.689 16.626 58.075 11.376 18.96 28.491 36.293 49.494 50.126 15.178 9.996 25.39 25.974 28.088 43.947 0.9 5.992 1.464 12.044 1.685 18.062 3.735-3.097 7.375-6.423 10.94-9.988 12.077-12.076 28.39-18.745 45.251-18.745 2.684 0 5.381 0.168 8.078 0.512 10.474 1.331 21.172 2.008 31.797 2.010v64c-13.564-0.001-26.877-0.869-39.871-2.521-54.989 54.989-120.625 64.85-184.088 66.298v-13.458c34.268-16.789 64-47.37 64-82.318 0-4.877-0.379-9.665-1.082-14.348-57.898-38.132-94.918-96.377-94.918-161.652 0-114.875 114.615-208 256-208 139.229 0 252.496 90.307 255.918 202.76-20.548-9.158-42.92-14.711-66.131-16.289-5.765-28.034-22.701-54.408-49.126-75.878-17.661-14.349-38.458-25.695-61.814-33.722-24.853-8.54-51.38-12.871-78.847-12.871s-53.994 4.331-78.847 12.871c-23.356 8.027-44.153 19.372-61.814 33.722z\"/>\n\t</svg>\n);\n\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/balloon', {\n\t// Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('Ballon', 'vk-blocks'), // Block title.\n\ticon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n\tcategory: 'vk-blocks-cat', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n\tattributes: {\n\t\tcontent: {\n\t\t\tsource: 'html',\n selector: 'p',\n\t\t},\n balloonName: {\n source: 'html',\n selector: 'figcaption',\n },\n balloonType: {\n type: 'string',\n default: 'type-serif',\n },\n\t\tballoonBgColor: {\n\t\t\ttype: 'string',\n\t\t},\n\t\tballoonAlign: {\n\t\t\ttype: 'string',\n\t\t\tdefault: 'position-left',\n\t\t},\n\t\tIconImage: {\n\t\t\ttype: 'string',\n\t\t\tdefault: null, // no image by default!\n\t\t}\n\t},\n\n\t/**\n\t * The edit function describes the structure of your block in the context of the editor.\n\t * This represents what the editor will render when the block is used.\n\t *\n\t * The \"edit\" property must be a valid function.\n\t *\n\t * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n\t */\n\tedit( { attributes, className, setAttributes } ) {\n\t\tconst {\n\t\t\tcontent,\n balloonName,\n balloonType,\n balloonBgColor,\n\t\t\tballoonAlign,\n\t\t\tIconImage,\n\t\t} = attributes;\n\n return (\n\t\t\t<Fragment>\n\t\t\t\t<InspectorControls>\n\t\t\t\t\t<PanelBody title={__('Balloon setting', 'vk-blocks')}>\n\t\t\t\t\t\t<RadioControl\n\t\t\t\t\t\t\tlabel={__('Position', 'vk-blocks')}\n\t\t\t\t\t\t\thelp={__('Please specify the layout of the balloon.', 'vk-blocks')}\n\t\t\t\t\t\t\tselected={ balloonAlign }\n\t\t\t\t\t\t\toptions={ [\n\t\t\t\t\t\t\t\t{ label: __('Left', 'vk-blocks'), value: 'position-left' },\n\t\t\t\t\t\t\t\t{ label: __('Right', 'vk-blocks'), value: 'position-right' },\n\t\t\t\t\t\t\t] }\n\t\t\t\t\t\t\tonChange={ ( value ) => setAttributes( { balloonAlign: value } ) }\n\t\t\t\t\t\t/>\n\t\t <RadioControl\n\t\t label={__('Type', 'vk-blocks')}\n\t\t help={__('Please select the type of balloon.', 'vk-blocks')}\n\t\t selected={ balloonType }\n\t\t options={ [\n\t\t { label: __('Serif', 'vk-blocks'), value: 'type-serif' },\n\t\t { label: __('Thinking', 'vk-blocks'), value: 'type-think' }\n\t\t ] }\n\t\t onChange={ ( value ) => setAttributes( { balloonType: value } ) }\n\t\t />\n\t\t <ColorPalette\n\t\t value={balloonBgColor}\n\t\t onChange={(value) => setAttributes({balloonBgColor: value})}\n\t\t />\n\t\t\t\t\t</PanelBody>\n\t\t\t\t</InspectorControls>\n\n\t\t\t\t<div className={ `${ className } vk_balloon vk_balloon-${ balloonAlign } vk_balloon-${ balloonType }` }>\n\t\t\t\t\t<div className={ 'vk_balloon_icon' }>\n\t\t\t\t\t\t<MediaUpload\n\t\t\t\t\t\t\tonSelect={ (value) => setAttributes( { IconImage: value.sizes.full.url } ) }\n\t\t\t\t\t\t\ttype=\"image\"\n\t\t\t\t\t\t\tclassName={ 'vk_balloon_icon_image' }\n\t\t\t\t\t\t\tvalue={ IconImage }\n\t\t\t\t\t\t\trender={ ( { open } ) => (\n\t\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\t\tonClick={ open }\n\t\t\t\t\t\t\t\t\tclassName={ IconImage ? 'image-button' : 'button button-large' }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{ ! IconImage ? __('Select image', 'vk-blocks') : <img className={ 'vk_balloon_icon_image' } src={ IconImage } alt={__('Upload image', 'vk-blocks') } /> }\n\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t/>\n <RichText\n tagName=\"figcaption\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_balloon_icon_name' }\n onChange={ ( value ) => setAttributes( { balloonName: value } ) }\n value={ balloonName }\n placeholder={__('Icon Name', 'vk-blocks') }\n />\n\t\t\t\t\t</div>\n\t\t\t\t\t<RichText\n\t\t\t\t\t\tstyle={ { background: balloonBgColor, border: balloonBgColor } }\n\t\t\t\t\t\ttagName=\"p\"\n\t\t\t\t\t\tclassName={ 'vk_balloon_content' }\n\t\t\t\t\t\tonChange={ ( value ) => setAttributes( { content: value } ) }\n\t\t\t\t\t\tvalue={ content }\n\t\t\t\t\t\tplaceholder={__('Input text', 'vk-blocks') }\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t</Fragment>\n );\n\t},\n\n\n\t/**\n\t * The save function defin className }> which the different attributes should be combined\n\t * into the final markup, which is then serialized by Gutenberg into post_content.\n\t *\n\t * The \"save\" property must be specified and must be a valid function.\n\t *\n\t * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n\t */\n\tsave( { attributes, className } ) {\n\t\tconst {\n\t\t\tcontent,\n balloonName,\n balloonType,\n balloonBgColor,\n\t\t\tballoonAlign,\n\t\t\tIconImage,\n\t\t} = attributes;\n\n\t\treturn (\n\t\t\t<div className={ `vk_balloon vk_balloon-${ balloonAlign } vk_balloon-${ balloonType }` }>\n\t\t\t\t<div className={ 'vk_balloon_icon' }>\n\t\t\t\t\t{ IconImage ?\n\t\t\t\t\t\t<figure>\n\t\t\t\t\t\t\t<img\n\t\t\t\t\t\t\t\tclassName={ 'vk_balloon_icon_image' }\n\t\t\t\t\t\t\t\tsrc={ IconImage }\n\t\t\t\t\t\t\t\talt=''\n\t\t\t\t\t\t\t/>\n <RichText.Content\n tagName=\"figcaption\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_balloon_icon_name' }\n value={ balloonName }\n />\n\t\t\t\t\t\t</figure> : '' }\n\t\t\t\t</div>\n\t\t\t\t<RichText.Content\n\t\t\t\t\tclassName={ 'vk_balloon_content' }\n\t\t\t\t\tstyle={ { background: balloonBgColor, border: balloonBgColor } }\n\t\t\t\t\ttagName=\"p\"\n\t\t\t\t\tvalue={ content }\n\t\t\t\t/>\n\t\t\t</div>\n\t\t);\n\t},\n});\n","/**\n * Faq block type\n *\n */\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {registerBlockType} = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RichText} = wp.editor;\nconst BlockIcon = (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"576\" height=\"512\" viewBox=\"0 0 576 512\">\n\t<path d=\"M178.9,191.6c7.2,5,12,8.2,14.2,9.4c3.3,1.9,7.8,4,13.4,6.5l-16.1,32.4c-8.1-3.9-16.1-8.6-24-14\n\t\tc-7.9-5.4-13.4-9.5-16.6-12.2c-12.8,5.5-28.8,8.3-48,8.3c-28.4,0-50.9-7.4-67.3-22.2c-19.4-17.5-29.1-42.2-29.1-73.9\n\t\tc0-30.8,8.5-54.7,25.5-71.8c17-17.1,40.7-25.6,71.2-25.6c31.1,0,55,8.3,71.9,25c16.9,16.7,25.3,40.6,25.3,71.6\n\t\tC199.3,152.8,192.5,175,178.9,191.6z M134.6,161.9c4.6-8.3,6.9-20.6,6.9-37c0-18.9-3.5-32.4-10.5-40.5c-7-8.1-16.7-12.1-29-12.1\n\t\tc-11.5,0-20.8,4.1-28,12.4c-7.1,8.3-10.7,21.2-10.7,38.7c0,20.4,3.5,34.8,10.5,43c7,8.3,16.6,12.4,28.7,12.4\n\t\tc3.9,0,7.6-0.4,11.1-1.1c-4.9-4.7-12.5-9.1-23-13.3l9.1-20.8c5.1,0.9,9.1,2.1,11.9,3.4c2.9,1.4,8.4,4.9,16.7,10.7\n\t\tC130.1,159.1,132.3,160.5,134.6,161.9z\"/>\n\t<path d=\"M137.9,452.6H72.2l-9.1,30.9l-59,0l70.3-187.2h63.1l70.3,187.2h-60.6L137.9,452.6z M125.9,412.1l-20.7-67.3l-20.4,67.3\n\t\tH125.9z\"/>\n\t<path d=\"M553.9,239.9h-303c-10,0-18.1-8.1-18.1-18.1c0-10,8.1-18.1,18.1-18.1h303c10,0,18.1,8.1,18.1,18.1\n\t\tC572,231.8,563.9,239.9,553.9,239.9z\"/>\n\t<path d=\"M553.9,483.5h-303c-10,0-18.1-8.1-18.1-18.1c0-10,8.1-18.1,18.1-18.1h303c10,0,18.1,8.1,18.1,18.1\n\t\tC572,475.4,563.9,483.5,553.9,483.5z\"/>\n\t</svg>\n);\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/faq', {\n // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('FAQ', 'vk-blocks'), // Block title.\n icon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n category: 'vk-blocks-cat', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: {\n heading: {\n type: 'string',\n source: 'html',\n selector: 'dt',\n },\n content: {\n type: 'string',\n source: 'html',\n selector: 'dd',\n }\n },\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit({attributes, setAttributes}) {\n const {\n heading,\n content\n } = attributes;\n\n return (\n <dl className={'vk_faq'}>\n <RichText\n tagName=\"dt\"\n\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_faq_title' }\n onChange={(value) => setAttributes({heading: value})}\n value={heading}\n placeholder={__('Please enter a question.', 'vk-blocks') }\n />\n <RichText\n tagName=\"dd\"\n\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_faq_content' }\n onChange={(value) => setAttributes({content: value})}\n value={content}\n placeholder={__('Please enter a answer.', 'vk-blocks') }\n />\n </dl>\n );\n },\n\n /**\n * The save function defin className }> which the different attributes should be combined\n * into the final markup, which is then serialized by Gutenberg into post_content.\n *\n * The \"save\" property must be specified and must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n save({attributes}) {\n const {\n heading,\n content\n } = attributes;\n\n return (\n <dl className={ 'vk_faq' }>\n <RichText.Content\n tagName=\"dt\"\n\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_faq_title' }\n value={heading}\n />\n <RichText.Content\n tagName=\"dd\"\n\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_faq_content' }\n value={content}\n />\n </dl>\n );\n },\n});\n","/**\n * Flow block type\n *\n */\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {registerBlockType} = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RangeControl, RadioControl, PanelBody, Button, PanelColor} = wp.components;\nconst {Fragment} = wp.element;\nconst {RichText, InspectorControls, MediaUpload, ColorPalette} = wp.editor;\nconst BlockIcon = 'arrow-down';\n\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/flow', {\n // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('Flow', 'vk-blocks'), // Block title.\n icon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n category: 'vk-blocks-cat', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: {\n heading: {\n type: 'string',\n source: 'html',\n selector: 'dt',\n },\n content: {\n type: 'string',\n source: 'html',\n selector: 'dd',\n },\n arrowFlag: {\n type: 'string',\n default: 'vk_flow-arrow-on',\n },\n\t\t\t\tinsertImage: {\n\t\t\t\t\ttype: 'string',\n\t\t\t\t\tdefault: null, // no image by default!\n\t\t\t\t}\n },\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit({attributes, setAttributes}) {\n const {\n heading,\n content,\n insertImage,\n arrowFlag,\n } = attributes;\n\n return [\n <Fragment>\n <InspectorControls>\n <PanelBody title={__('Display of arrow', 'vk-blocks') }>\n <RadioControl\n selected={arrowFlag}\n options={[\n {label: __('Arrow display', 'vk-blocks'), value: 'vk_flow-arrow-on'},\n {label: __('Arrow hidden', 'vk-blocks'), value: 'vk_flow-arrow-off'},\n ]}\n onChange={(value) => setAttributes({arrowFlag: value})}\n />\n </PanelBody>\n </InspectorControls>\n\n <div className={`${ arrowFlag } vk_flow`}>\n\t\t\t\t\t\t\t\t\t<div className={ 'vk_flow_frame' } >\n <dl className={ 'vk_flow_frame_text' }>\n <RichText\n tagName=\"dt\"\n className={ 'vk_flow_frame_text_title' }\n onChange={(value) => setAttributes({heading: value})}\n value={heading}\n placeholder={__('Input title', 'vk-blocks') }\n />\n <RichText\n tagName=\"dd\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_flow_frame_text_content' }\n onChange={(value) => setAttributes({content: value})}\n value={content}\n placeholder={__('Input content', 'vk-blocks') }\n />\n </dl>\n\t\t\t\t\t\t\t\t\t\t<div className={'vk_flow_frame_image'}>\n\t\t\t\t\t\t\t\t\t\t\t\t<MediaUpload\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonSelect={(value) => setAttributes({insertImage: value.url})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"image\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_flow_frame_image' }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={insertImage}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\trender={({open}) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonClick={open}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={insertImage ? 'image-button' : 'button button-large'}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{!insertImage ? __('Select image', 'vk-blocks') :\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img className={'icon-image'} src={insertImage} alt={__('Upload image', 'vk-blocks')}/>}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n </div>\n </Fragment>\n ];\n },\n\n\n /**\n * The save function defin className }> which the different attributes should be combined\n * into the final markup, which is then serialized by Gutenberg into post_content.\n *\n * The \"save\" property must be specified and must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n save({attributes}) {\n const {\n heading,\n content,\n insertImage,\n arrowFlag,\n } = attributes;\n\n return (\n <div className={`${ arrowFlag } vk_flow`}>\n\t\t\t\t\t\t\t<div className={ 'vk_flow_frame' }>\n <dl className={ 'vk_flow_frame_text' }>\n <RichText.Content\n tagName=\"dt\"\n className={ 'vk_flow_frame_text_title' }\n value={heading}\n />\n <RichText.Content\n tagName=\"dd\"\n\t\t\t\t\t\t\t\t\t\t\t\tclassName={ 'vk_flow_frame_text_content' }\n value={content}\n />\n </dl>\n\t\t\t\t\t\t\t\t{ insertImage ?\n\t\t\t\t\t\t\t\t\t<div className={ 'vk_flow_frame_image' }>\n\t\t\t\t\t\t\t\t\t\t<img\n\t\t\t\t\t\t\t\t\t\t\t\tsrc={ insertImage }\n\t\t\t\t\t\t\t\t\t\t\t\talt=''\n\t\t\t\t\t\t\t\t\t\t/></div> : '' }\n\t\t\t\t\t\t\t</div>\n </div>\n );\n },\n});\n","/**\n * PR Block block type\n *\n */\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {registerBlockType} = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RangeControl, RadioControl, PanelBody, Button, BaseControl, CheckboxControl, TextControl} = wp.components;\nconst {Fragment} = wp.element;\nconst {RichText, InspectorControls, MediaUpload, ColorPalette} = wp.editor;\nconst BlockIcon = (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"576\" height=\"512\" viewBox=\"0 0 576 512\">\n\t<g>\n\t\t<g>\n\t\t\t<circle cx=\"288\" cy=\"186.2\" r=\"60\"/>\n\t\t\t<rect x=\"213.5\" y=\"278.8\" width=\"149\" height=\"107\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<circle cx=\"74.5\" cy=\"186.2\" r=\"60\"/>\n\t\t\t<rect y=\"278.8\" width=\"149\" height=\"107\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<circle cx=\"501.5\" cy=\"186.2\" r=\"60\"/>\n\t\t\t<rect x=\"427\" y=\"278.8\" width=\"149\" height=\"107\"/>\n\t\t</g>\n\t</g>\n\t</svg>\n);\n\nfunction set_attirbuite(number) {\n\n var attributes = {};\n\n for (var i = 1; i <= number; i++) {\n\n attributes['heading' + i] = {\n type: 'string',\n source: 'html',\n selector: 'h1.vk_prBlocks_item_title-' + i,\n };\n attributes['content' + i] = {\n type: 'string',\n source: 'html',\n selector: 'p.vk_prBlocks_item_summary-' + i,\n };\n attributes['url' + i] = {\n type: 'string',\n default: null,\n };\n attributes['urlOpenType' + i] = {\n type: 'Boolean',\n default: false,\n };\n attributes['icon' + i] = {\n type: 'string',\n default: 'fas fa-file',\n };\n attributes['color' + i] = {\n type: 'string',\n default: '#0693e3',\n };\n attributes['bgType' + i] = {\n type: 'string',\n default: '0',\n };\n attributes['insertImage' + i] = {\n type: 'string',\n default: null,\n };\n }\n\n return attributes;\n}\n\n\n\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/pr-blocks', {\n // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('PR Blocks (Beta)', 'vk-blocks'), // Block title.\n icon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n category: 'vk-blocks-cat', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: set_attirbuite(4),\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit({attributes, setAttributes}) {\n\n const {\n heading1,\n heading2,\n heading3,\n content1,\n content2,\n content3,\n url1,\n url2,\n url3,\n urlOpenType1,\n urlOpenType2,\n urlOpenType3,\n icon1,\n icon2,\n icon3,\n color1,\n color2,\n color3,\n bgType1,\n bgType2,\n bgType3,\n insertImage1,\n insertImage2,\n insertImage3\n } = attributes;\n\n return [\n <Fragment>\n <InspectorControls>\n\n <PanelBody title={__('PR Block1 Setting', 'vk-blocks')}>\n <BaseControl\n label={__('Link URL:', 'vk-blocks')}\n >\n <TextControl\n value={url1}\n onChange={(value) => setAttributes({url1: value})}\n />\n <CheckboxControl\n label={__('Open link new tab.', 'vk-blocks')}\n checked={urlOpenType1}\n onChange={(checked) => setAttributes({urlOpenType1: checked})}\n />\n </BaseControl>\n <BaseControl\n label={__('Icon 1', 'vk-blocks')}\n >\n <TextControl\n label={__('Class name of the Font Awesome icon font you want to use:', 'vk-blocks')}\n value={icon1}\n onChange={(value) => setAttributes({icon1: value})}\n placeholder={'fas fa-file'}\n />\n <ColorPalette\n value={color1}\n onChange={(value) => {\n if (value){\n setAttributes({color1: value})\n } else {\n setAttributes({color1: '#0693e3'})\n setAttributes({bgType1: '0'})\n }\n }}\n />\n <RadioControl\n label={__('Icon Background:', 'vk-blocks')}\n selected={bgType1}\n options={[\n {label: __('Solid color', 'vk-blocks'), value: '0'},\n {label: __('No background', 'vk-blocks'), value: '1'},\n ]}\n onChange={(value) => setAttributes({ bgType1: value })}\n />\n </BaseControl>\n <BaseControl\n label={__('PR Image 1', 'vk-blocks')}\n help={__('When you have an image. Image is displayed with priority', 'vk-blocks')}\n >\n <MediaUpload\n onSelect={(value) => setAttributes({insertImage1: value.url})}\n type=\"image\"\n value={insertImage1}\n render={({open}) => (\n <Button\n onClick={open}\n className={insertImage1 ? 'image-button' : 'button button-large'}\n >\n {!insertImage1 ? __('Select image', 'vk-blocks') :\n <img className={'icon-image'} src={insertImage1}\n alt={__('Upload image', 'vk-blocks')}/>}\n </Button>\n )}\n />\n </BaseControl>\n </PanelBody>\n <PanelBody title={__('PR Block2 Setting', 'vk-blocks')}>\n <BaseControl\n label={__('Link URL:', 'vk-blocks')}\n >\n <TextControl\n value={url2}\n onChange={(value) => setAttributes({url2: value})}\n />\n <CheckboxControl\n label={__('Open link new tab.', 'vk-blocks')}\n checked={urlOpenType2}\n onChange={(checked) => setAttributes({urlOpenType2: checked})}\n />\n </BaseControl>\n <BaseControl\n label={__('Icon 2', 'vk-blocks')}\n >\n <TextControl\n label={__('Class name of the Font Awesome icon font you want to use:', 'vk-blocks')}\n value={icon2}\n onChange={(value) => setAttributes({icon2: value})}\n placeholder={'fas fa-file'}\n />\n <ColorPalette\n value={color2}\n onChange={(value) => {\n if (value){\n setAttributes({color2: value})\n } else {\n setAttributes({color2: '#0693e3'})\n setAttributes({bgType2: '0'})\n }\n }}\n />\n <RadioControl\n label={__('Icon Background:', 'vk-blocks')}\n selected={bgType2}\n options={[\n {label: __('Solid color', 'vk-blocks'), value: '0'},\n {label: __('No background', 'vk-blocks'), value: '1'},\n ]}\n onChange={(value) => setAttributes({bgType2: value})}\n />\n </BaseControl>\n <BaseControl\n label={__('PR Image 2', 'vk-blocks')}\n help={__('When you have an image. Image is displayed with priority.', 'vk-blocks')}\n >\n <MediaUpload\n onSelect={(value) => setAttributes({insertImage2: value.url})}\n type=\"image\"\n value={insertImage2}\n render={({open}) => (\n <Button\n onClick={open}\n className={insertImage2 ? 'image-button' : 'button button-large'}\n >\n {!insertImage2 ? __('Select image', 'vk-blocks') :\n <img className={'icon-image'} src={insertImage2}\n alt={__('Upload image', 'vk-blocks')}/>}\n </Button>\n )}\n />\n </BaseControl>\n </PanelBody>\n <PanelBody title={__('PR Block3 Setting', 'vk-blocks')}>\n <BaseControl\n label={__('Link URL:', 'vk-blocks')}\n >\n <TextControl\n value={url3}\n onChange={(value) => setAttributes({url3: value})}\n />\n <CheckboxControl\n label={__('Open link new tab.', 'vk-blocks')}\n checked={urlOpenType3}\n onChange={(checked) => setAttributes({urlOpenType3: checked})}\n />\n </BaseControl>\n <BaseControl\n label={__('Icon 3', 'vk-blocks')}\n >\n <TextControl\n label={__('Class name of the Font Awesome icon font you want to use:', 'vk-blocks')}\n value={icon3}\n onChange={(value) => setAttributes({icon3: value})}\n placeholder={'fas fa-file'}\n />\n <ColorPalette\n value={color3}\n onChange={(value) => {\n if (value){\n setAttributes({color3: value})\n } else {\n setAttributes({color3: '#0693e3'})\n setAttributes({bgType3: '0'})\n }\n }}\n />\n <RadioControl\n label={__('Icon Background:', 'vk-blocks')}\n selected={bgType3}\n options={[\n {label: __('Solid color', 'vk-blocks'), value: '0'},\n {label: __('No background', 'vk-blocks'), value: '1'},\n ]}\n onChange={(value) => setAttributes({bgType3: value})}\n />\n </BaseControl>\n <BaseControl\n label={__('PR Image 3', 'vk-blocks')}\n help={__('When you have an image. Image is displayed with priority.', 'vk-blocks')}\n >\n <MediaUpload\n onSelect={(value) => setAttributes({insertImage3: value.url})}\n type=\"image\"\n value={insertImage3}\n render={({open}) => (\n <Button\n onClick={open}\n className={insertImage3 ? 'image-button' : 'button button-large'}\n >\n {!insertImage3 ? __('Select image', 'vk-blocks') :\n <img className={'icon-image'} src={insertImage3}\n alt={__('Upload image', 'vk-blocks')}/>}\n </Button>\n )}\n />\n </BaseControl>\n </PanelBody>\n </InspectorControls>\n <article className=\"vk_prBlocks row\">\n\n <div className=\"vk_prBlocks_item col-sm-4\">\n {(() => {\n\n if (insertImage1) {\n\n return <div className=\"vk_prBlocks_item_image\"\n style={{\n backgroundImage: 'url(' + insertImage1 + ')',\n backgroundRepeat: 'no-repeat 50% center',\n backgroundSize: 'cover'\n }}\n >\n <img\n src={insertImage1}\n alt=''\n />\n </div>\n\n } else {\n\n if ( bgType1 === '0' ) {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{\n backgroundColor: color1,\n border: `1px solid ${color1}`\n }}\n ><i className={`${icon1} vk_prBlocks_item_icon`}\n style={{color: '#fff'}}>\n </i>\n </div>\n } else {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{backgroundColor: 'transparent', border: '1px solid ' + color1}}\n ><i className={`${icon1} vk_prBlocks_item_icon`}\n style={{color: color1}}>\n </i>\n </div>\n }\n }\n })()}\n <RichText\n className=\"vk_prBlocks_item_title vk_prBlocks_item_title-1\"\n tagName=\"h1\"\n onChange={(value) => setAttributes({heading1: value})}\n value={heading1}\n placeholder={__('Input title', 'vk-blocks')}\n />\n <RichText\n className=\"vk_prBlocks_item_summary vk_prBlocks_item_summary-1\"\n tagName=\"p\"\n onChange={(value) => setAttributes({content1: value})}\n value={content1}\n placeholder={__('Input content', 'vk-blocks')}\n />\n </div>\n\n <div className=\"vk_prBlocks_item col-sm-4\">\n {(() => {\n\n if (insertImage2) {\n\n return <div className=\"vk_prBlocks_item_image\"\n style={{\n backgroundImage: 'url(' + insertImage2 + ')',\n backgroundRepeat: 'no-repeat 50% center',\n backgroundSize: 'cover'\n }}\n >\n <img\n src={insertImage2}\n alt=''\n />\n </div>\n\n } else {\n\n\n if (bgType2 === '0') {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{\n backgroundColor: color2,\n border: `1px solid ${color2}`\n }}\n ><i className={`${icon2} vk_prBlocks_item_icon`}\n style={{color: '#fff'}}>\n </i>\n </div>\n } else {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{backgroundColor: 'transparent', border: '1px solid ' + color2}}\n ><i className={`${icon2} vk_prBlocks_item_icon`}\n style={{color: color2}}>\n </i>\n </div>\n }\n }\n })()}\n <RichText\n className=\"vk_prBlocks_item_title vk_prBlocks_item_title-2\"\n tagName=\"h1\"\n onChange={(value) => setAttributes({heading2: value})}\n value={heading2}\n placeholder={__('Input title', 'vk-blocks')}\n />\n <RichText\n className=\"vk_prBlocks_item_summary vk_prBlocks_item_summary-2\"\n tagName=\"p\"\n onChange={(value) => setAttributes({content2: value})}\n value={content2}\n placeholder={__('Input content', 'vk-blocks')}\n />\n </div>\n\n <div className=\"vk_prBlocks_item col-sm-4\">\n {(() => {\n\n if (insertImage3) {\n\n return <div className=\"vk_prBlocks_item_image\"\n style={{\n backgroundImage: 'url(' + insertImage3 + ')',\n backgroundRepeat: 'no-repeat 50% center',\n backgroundSize: 'cover'\n }}\n >\n <img\n src={insertImage3}\n alt=''\n />\n </div>\n\n } else {\n\n\n if (bgType3 === '0') {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{\n backgroundColor: color3,\n border: `1px solid ${color3}`\n }}\n ><i className={`${icon3} vk_prBlocks_item_icon`}\n style={{color: '#fff'}}>\n </i>\n </div>\n } else {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{backgroundColor: 'transparent', border: '1px solid ' + color3}}\n ><i className={`${icon3} vk_prBlocks_item_icon`}\n style={{color: color3}}>\n </i>\n </div>\n }\n }\n })()}\n <RichText\n className=\"vk_prBlocks_item_title vk_prBlocks_item_title-3\"\n tagName=\"h1\"\n onChange={(value) => setAttributes({heading3: value})}\n value={heading3}\n placeholder={__('Input title', 'vk-blocks')}\n />\n <RichText\n className=\"vk_prBlocks_item_summary vk_prBlocks_item_summary-3\"\n tagName=\"p\"\n onChange={(value) => setAttributes({content3: value})}\n value={content3}\n placeholder={__('Input content', 'vk-blocks')}\n />\n </div>\n\n </article>\n </Fragment>\n ];\n },\n\n /**\n * The save function defin className }> which the different attributes should be combined\n * into the final markup, which is then serialized by Gutenberg into post_content.\n *\n * The \"save\" property must be specified and must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n save({attributes}) {\n const {\n\t\t\t\t\theading1,\n\t\t\t\t\theading2,\n\t\t\t\t\theading3,\n\t\t\t\t\tcontent1,\n\t\t\t\t\tcontent2,\n\t\t\t\t\tcontent3,\n\t\t\t\t\turl1,\n\t\t\t\t\turl2,\n\t\t\t\t\turl3,\n\t\t\t\t\turlOpenType1,\n\t\t\t\t\turlOpenType2,\n\t\t\t\t\turlOpenType3,\n\t\t\t\t\ticon1,\n\t\t\t\t\ticon2,\n\t\t\t\t\ticon3,\n\t\t\t\t\tcolor1,\n\t\t\t\t\tcolor2,\n\t\t\t\t\tcolor3,\n\t\t\t\t\tbgType1,\n\t\t\t\t\tbgType2,\n\t\t\t\t\tbgType3,\n\t\t\t\t\tinsertImage1,\n\t\t\t\t\tinsertImage2,\n\t\t\t\t\tinsertImage3\n } = attributes;\n\n return (\n <article className=\"vk_prBlocks row\">\n\n <div className=\"vk_prBlocks_item col-sm-4\">\n <a\n href={url1}\n target={urlOpenType1? '_blank':'_self'}\n className=\"vk_prBlocks_item_link\"\n >\n {(() => {\n\n if (insertImage1) {\n\n return <div className=\"vk_prBlocks_item_image\"\n style={{\n backgroundImage: 'url(' + insertImage1 + ')',\n backgroundRepeat: 'no-repeat 50% center',\n backgroundSize: 'cover'\n }}\n >\n <img\n src={insertImage1}\n alt=''\n />\n </div>\n\n } else {\n\n if ( ! color1 ){\n color1 = '#0693e3';\n bgType1 === '0';\n }\n if (bgType1 === '0') {\n\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{\n backgroundColor: color1,\n border: `1px solid ${color1}`\n }}\n ><i className={`${icon1} vk_prBlocks_item_icon`}\n style={{color: '#fff'}}>\n </i>\n </div>\n } else {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{backgroundColor: 'transparent', border: '1px solid ' + color1}}\n ><i className={`${icon1} vk_prBlocks_item_icon`}\n style={{color: color1}}>\n </i>\n </div>\n }\n }\n })()}\n <RichText.Content\n className=\"vk_prBlocks_item_title vk_prBlocks_item_title-1\"\n tagName={'h1'}\n value={heading1}/>\n <RichText.Content\n className=\"vk_prBlocks_item_summary vk_prBlocks_item_summary-1\"\n tagName={'p'}\n value={content1}/>\n </a>\n </div>\n <div className=\"vk_prBlocks_item col-sm-4\">\n <a\n href={url2}\n target={urlOpenType2? '_blank':'_self'}\n className=\"vk_prBlocks_item_link\"\n >\n {(() => {\n\n if (insertImage2) {\n\n return <div className=\"vk_prBlocks_item_image\"\n style={{\n backgroundImage: 'url(' + insertImage2 + ')',\n backgroundRepeat: 'no-repeat 50% center',\n backgroundSize: 'cover'\n }}\n >\n <img\n src={insertImage2}\n alt=''\n />\n </div>\n\n } else {\n if ( ! color2 ){\n \t\tcolor2 = '#0693e3';\n \t\tbgType2 === '0';\n }\n if (bgType2 === '0') {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{\n backgroundColor: color2,\n border: `1px solid ${color2}`\n }}\n ><i className={`${icon2} vk_prBlocks_item_icon`}\n style={{color: '#fff'}}>\n </i>\n </div>\n } else {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{backgroundColor: 'transparent', border: '1px solid ' + color2}}\n ><i className={`${icon2} vk_prBlocks_item_icon`}\n style={{color: color2}}>\n </i>\n </div>\n }\n }\n })()}\n <RichText.Content\n className=\"vk_prBlocks_item_title vk_prBlocks_item_title-2\"\n tagName={'h1'}\n value={heading2}/>\n <RichText.Content\n className=\"vk_prBlocks_item_summary vk_prBlocks_item_summary-2\"\n tagName={'p'}\n value={content2}/>\n </a>\n </div>\n\n <div className=\"vk_prBlocks_item col-sm-4\">\n <a\n href={url3}\n target={urlOpenType3? '_blank':'_self'}\n className=\"vk_prBlocks_item_link\"\n >\n {(() => {\n\n if (insertImage3) {\n\n return <div className=\"vk_prBlocks_item_image\"\n style={{\n backgroundImage: 'url(' + insertImage3 + ')',\n backgroundRepeat: 'no-repeat 50% center',\n backgroundSize: 'cover'\n }}\n >\n <img\n src={insertImage3}\n alt=''\n />\n </div>\n\n } else {\n if ( ! color3 ){\n \t\tcolor3 = '#0693e3';\n \t\tbgType3 === '0';\n }\n if (bgType3 === '0') {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{\n backgroundColor: color3,\n border: `1px solid ${color3}`\n }}\n ><i className={`${icon3} vk_prBlocks_item_icon`}\n style={{color: '#fff'}}>\n </i>\n </div>\n } else {\n return <div\n className=\"vk_prBlocks_item_icon_outer\"\n style={{backgroundColor: 'transparent', border: '1px solid ' + color3}}\n ><i className={`${icon3} vk_prBlocks_item_icon`}\n style={{color: color3}}>\n </i>\n </div>\n }\n }\n })()}\n <RichText.Content\n className=\"vk_prBlocks_item_title vk_prBlocks_item_title-3\"\n tagName={'h1'}\n value={heading3}/>\n <RichText.Content\n className=\"vk_prBlocks_item_summary vk_prBlocks_item_summary-3\"\n tagName={'p'}\n value={content3}/>\n </a>\n </div>\n </article>\n );\n },\n});\n","const componentDivider = (level, color, whichSide, dividerType) => {\n\n let sectionPadding;\n let sectionClass;\n let lenderDivider;\n\n const tiltSectionStyle = (level, color) => {\n\n if (level > 0) {\n return <path\n d={`m0,${100 - level} L100,100 L0,100 z`}\n strokeWidth=\"0\"\n fill={color}\n />\n\n } else if (level < 0) {\n\n //絶対値に変換\n const absLevel = Math.abs(level);\n\n return <path\n d={`m100,${100 - absLevel} L0,100 L100,100 z`}\n strokeWidth=\"0\"\n fill={color}\n />\n }\n };\n\n const curveSectionStyle = (level, color) => {\n if (level > 0) {\n\n return <path\n d={ `m0,${ 100 - level } q50,${ level * 2 },100,0 V100 L0,100 z` }\n strokeWidth=\"0\"\n fill={color}\n />\n } else if (level < 0) {\n\n return <path\n d={ `m0,100 q50,${ level * 2},100,0 V100 L0,100 z` }\n strokeWidth=\"0\"\n fill={color}\n />\n }\n };\n\n const waveSectionStyle = (level, color) => {\n\n if (level > 0) {\n\n return (\n <path\n d={ `m0,${ 100 - ( level / 2 ) } q20,${ level },40,0 t40,0 t40,0 V100 L0,100 z` }\n strokeWidth=\"0\"\n fill={color}\n />\n );\n } else if (level < 0) {\n\n return (\n <path\n d={ `m0,${ ( level / 2 ) + 100 } q20,${ level },40,0 t40,0 t40,0 V100 L0,100 z` }\n strokeWidth=\"0\"\n fill={color}\n />\n );\n }\n\n };\n\n const triangleSectionStyle = (level, color) => {\n\n const absLevel = Math.abs(level);\n const DivideAbs4 = absLevel / 4;\n\n if (level > 0) {\n\n return (\n <path\n d={`m0,100 h${50 - DivideAbs4} l${DivideAbs4},-${absLevel} l${DivideAbs4},${absLevel} h${DivideAbs4} v100 h-100 z`}\n strokeWidth=\"0\"\n fill={color}\n />\n );\n } else if (level < 0) {\n\n return (\n <path\n d={`m0,${100 - absLevel} h${50 - DivideAbs4} l${DivideAbs4},${absLevel} l${DivideAbs4},-${absLevel} h${50 - DivideAbs4} v${absLevel + 1} h-100 z`}\n strokeWidth=\"0\"\n fill={color}\n />);\n }\n };\n\n //背景色をクリアした時は、白に変更\n if(!color){\n color = '#fff';\n }\n\n //Paddingの条件分岐を追加\n if (dividerType === 'tilt') {\n\n sectionPadding = Math.abs(level);\n lenderDivider = tiltSectionStyle(level, color);\n\n }else if(dividerType === 'curve') {\n\n if (level > 0) {\n sectionPadding = Math.abs(level);\n } else if (level < 0) {\n sectionPadding = Math.abs(level) * 2;\n }\n lenderDivider = curveSectionStyle(level, color);\n\n }else if(dividerType === 'wave'){\n\n sectionPadding = Math.abs(level);\n lenderDivider = waveSectionStyle(level, color);\n\n }else if(dividerType === 'triangle'){\n\n sectionPadding = Math.abs(level);\n lenderDivider = triangleSectionStyle(level, color);\n\n }\n\n //classにdividerTypeを追加\n sectionClass = dividerType;\n\n //upper-paddingを追加\n if (whichSide === 'upper') {\n return (\n <div\n className={`vk_outer_separator vk_outer_separator-position-upper vk_outer_separator-type-${sectionClass}`}\n style={{paddingBottom: sectionPadding + `px`}}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" preserveAspectRatio=\"none\">\n {lenderDivider}\n </svg>\n </div>\n\n );\n //lower-paddingを追加\n } else if (whichSide === 'lower') {\n return (\n\n <div\n className={`vk_outer_separator vk_outer_separator-position-lower vk_outer_separator-type-${sectionClass}`}\n style={{paddingTop: sectionPadding + `px`}}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" preserveAspectRatio=\"none\">\n {lenderDivider}\n </svg>\n </div>\n )\n }\n};\n\nexport {componentDivider};\n","import React from 'react';\nimport {componentDivider} from './component-divider';\n\nconst {InnerBlocks} = wp.editor;\n\n//hexカラーコード定義をrgbaに変換\nfunction hex2rgba (hex, alpha) {\n\n // ロングバージョンの場合(例:#FF0000)\n let r = hex.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})#x2F;i);\n let c = null;\n if (r) {\n c = r.slice(1,4).map(function(x) { return parseInt(x, 16) })\n }\n // ショートバージョンの場合(例:#F00)\n r = hex.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])#x2F;i);\n if (r) {\n c = r.slice(1,4).map(function(x) { return 0x11 * parseInt(x, 16) })\n }\n // 該当しない場合は、nullを返す.\n if (!c) {\n return null\n }\n return `rgba(${c[0]}, ${c[1]}, ${c[2]}, ${alpha})`\n}\n\nexport class Component extends React.Component {\n\n render() {\n\n let {\n bgColor,\n bgImage,\n bgPosition,\n outerWidth,\n padding_left_and_right,\n padding_top_and_bottom,\n opacity,\n upper_level,\n lower_level,\n upperDividerBgColor,\n lowerDividerBgColor,\n dividerType,\n borderWidth,\n borderStyle,\n borderColor,\n borderRadius\n } = this.props.attributes;\n\n let for_ = this.props.for_;\n let classPaddingLR;\n let classPaddingVertical;\n let classBgPosition;\n let classWidth;\n let elm;\n let containerClass;\n let whichSideUpper;\n let whichSideLower;\n let bgStyle;\n let borderProperty;\n let borderRadiusProperty;\n\n //幅のクラス切り替え\n classWidth = ` vk_outer-width-${outerWidth}`;\n\n //hexからrgbaに変換\n if(bgColor){\n bgColor = hex2rgba(bgColor,opacity);\n }else {\n //背景色をクリアした時は、白に変更\n bgColor = hex2rgba('#fff',opacity);\n }\n\n //classBgPositionのクラス切り替え\n if (bgPosition === 'parallax') {\n classBgPosition = ' vk_outer-bgPosition-parallax vk-prlx';\n\t\t\t\t} else if (bgPosition === 'fixed') {\n\t\t classBgPosition = ' vk_outer-bgPosition-fixed';\n } else {\n classBgPosition = ' vk_outer-bgPosition-normal';\n }\n\n\t\t\t\t//classPaddingLRのクラス切り替え\n if(padding_left_and_right === '1'){\n classPaddingLR = ' vk_outer-paddingLR-use';\n } else {\n classPaddingLR = ' vk_outer-paddingLR-none';\n }\n\n //classPaddingVerticalのクラス切り替え\n if(padding_top_and_bottom === '1'){\n classPaddingVertical = ' vk_outer-paddingVertical-use';\n } else {\n classPaddingVertical = ' vk_outer-paddingVertical-none';\n }\n\n //上側セクションの傾き切り替え\n if (upper_level) {\n whichSideUpper = 'upper';\n }\n\n //下側セクションの傾き切り替え\n if (lower_level) {\n whichSideLower = 'lower';\n }\n\n //編集画面とサイト上の切り替え\n if(for_ === 'edit'){\n elm = <InnerBlocks/>;\n }else if('save'){\n elm = <InnerBlocks.Content/>;\n containerClass = 'vk_outer_container';\n }\n\n //背景画像の有り無しでstyleを切り替え\n if(bgImage){\n bgStyle = `linear-gradient(${bgColor}, ${bgColor}), url(${bgImage})`;\n }else {\n bgStyle = `linear-gradient(${bgColor}, ${bgColor})`;\n }\n\n //borderColorクリア時に白をセットする\n if (!borderColor) {\n borderColor = '#fff';\n }\n\n //Dividerエフェクトがない時のみ枠線を追加\n if(upper_level === 0 && lower_level === 0){\n borderProperty = `${borderWidth}px ${borderStyle} ${borderColor}`;\n borderRadiusProperty = `${borderRadius}px`;\n }else {\n borderProperty = 'none';\n borderRadiusProperty = `0px`;\n }\n\n return (\n <div\n className={ 'vk_outer' + classWidth + classPaddingLR + classPaddingVertical + classBgPosition }\n style={{\n background: bgStyle,\n border: borderProperty,\n borderRadius: borderRadiusProperty\n }}\n >\n {\n componentDivider(upper_level, upperDividerBgColor, whichSideUpper, dividerType)\n }\n <div className={containerClass}>\n {elm}\n </div>\n {\n componentDivider(lower_level, lowerDividerBgColor, whichSideLower, dividerType)\n }\n </div>\n );\n }\n}\n","'use strict';\n\nexport default function toNumber( value, min = -100, max = null ) {\n\tvalue = Number( value );\n\n\tif ( isNaN( value ) || value < min ) {\n\t\tvalue = min;\n\t}\n\n\tif ( null !== max && value > max ) {\n\t\tvalue = max;\n\t}\n\n\treturn value;\n}\n","/**\n * outer block type\n *\n */\nimport React from \"react\";\nimport {Component} from \"./component\";\nimport {schema} from './schema';\nimport toNumber from \"../_helper/to-number\";\n\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {registerBlockType} = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RangeControl, RadioControl, PanelBody, Button, BaseControl,SelectControl} = wp.components;\nconst {Fragment} = wp.element;\nconst {InspectorControls, MediaUpload, ColorPalette} = wp.editor;\nconst BlockIcon = (\n\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"576\" height=\"512\" viewBox=\"0 0 576 512\">\n\t<path d=\"M288,381c50.7,0,92-41.3,92-92s-41.3-92-92-92s-92,41.3-92,92S237.3,381,288,381z M288,227c34.2,0,62,27.8,62,62\n\t\ts-27.8,62-62,62s-62-27.8-62-62S253.8,227,288,227z\"/>\n\t<polygon points=\"273,342 303,342 303,304 341,304 341,274 303,274 303,236 273,236 273,274 235,274 235,304 273,304 \"/>\n\t<path d=\"M1.8,155.5v267h572.5v-267H1.8z M544.2,392.5H31.8v-207h512.5L544.2,392.5L544.2,392.5z\"/>\n\t<g>\n\t\t<path d=\"M39.8,10.3c-13.3,0-25.7,0.9-37.6,2.6L2,136.9h33.3l0.1-39c3,0.4,6.7,0.5,11.1,0.5c16.7,0,29.5-3.9,38.3-11.7\n\t\t\tc8.7-7.7,13.1-19.3,13.1-34.4C98,24.3,78.6,10.4,39.8,10.3z M62,68.5c-3.6,3.4-9.2,5.2-16.6,5.2c-0.6,0-1.1,0-1.6,0\n\t\t\tc-0.2,0-0.4,0-0.6,0c-2.8,0-5.4-0.1-7.7-0.5l0-22l-1.3-14.3c2.6-0.6,5.2-0.9,7.7-0.9c0.2,0,0.5,0,0.7,0c0.2,0,0.4,0,0.7,0\n\t\t\tc13.6,0,21.1,4.7,22.7,14c0.3,1.2,0.6,2.6,0.7,4C67.2,60.2,65.6,65,62,68.5z\"/>\n\t\t<path d=\"M141.3,65H141l0-17.1h-32.5l-0.2,88.9h33.3l0.1-35c0.1-8.6,3.2-15.7,9.7-21.4c6.5-5.7,14.9-8.5,25.4-8.5h3.4l0-23.9h-3.4\n\t\t\tC161.7,48.1,149.8,53.7,141.3,65z\"/>\n\t\t<path d=\"M266.7,58.5c-8-8.1-19.3-12.2-34-12.2c-14.6,0-25.9,4.1-34,12.2c-8.1,8.1-12.2,19.4-12.2,33.9c-0.1,14.5,4,25.8,12,33.9\n\t\t\tc8,8.1,19.3,12.2,34,12.2c14.6,0,25.9-4.1,34-12.2c8.1-8.1,12.2-19.4,12.2-33.9C278.7,78,274.7,66.6,266.7,58.5z M246.2,92.5\n\t\t\tc0,8.9-1.2,15-3.3,18.6c-2.1,3.6-5.6,5.4-10.4,5.4s-8.3-1.8-10.5-5.4c-2.2-3.6-3.3-9.8-3.2-18.6c0-8.9,1.2-15,3.3-18.6\n\t\t\tc2.1-3.6,5.6-5.4,10.4-5.4c4.8,0,8.3,1.8,10.5,5.4S246.3,83.7,246.2,92.5z\"/>\n\t</g>\n\t</svg>\n);\n\n/**\n * Register: a Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/outer', {\n // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('Outer', 'vk-blocks'), // Block title.\n icon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n category: 'vk-blocks-cat-layout', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: schema,\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit({attributes, setAttributes}) {\n const {\n bgColor,\n bgImage,\n bgPosition,\n outerWidth,\n padding_left_and_right,\n padding_top_and_bottom,\n opacity,\n upper_level,\n lower_level,\n\t\t\tupperDividerBgColor,\n\t\t\tlowerDividerBgColor,\n\t\t\tdividerType,\n\t\t\tborderWidth,\n\t\t\tborderStyle,\n\t\t\tborderColor,\n\t\t\tborderRadius\n } = attributes;\n\n return (\n <Fragment>\n <InspectorControls>\n <PanelBody title={__('Background Setting', 'vk-blocks')}>\n <BaseControl\n label={__('Color Setting', 'vk-blocks')}\n help={__('Color will overcome background image. If you want to display image, clear background color or set opacity 0.', 'vk-blocks')}\n >\n <ColorPalette\n value={bgColor}\n onChange={(value) => setAttributes({bgColor: value})}\n />\n </BaseControl>\n <BaseControl\n label={__('Opacity Setting', 'vk-blocks')}\n >\n <RangeControl\n value={opacity}\n onChange={(value) => {setAttributes({opacity: value});\n }}\n min={0}\n max={1}\n step={0.1}\n />\n </BaseControl>\n\n <BaseControl\n label={__('Background Image', 'vk-blocks')}\n help=\"\"\n >\n <MediaUpload\n onSelect={(value) => setAttributes({bgImage: value.url})}\n type=\"image\"\n value={bgImage}\n render={({open}) => (\n <Button\n onClick={open}\n className={bgImage ? 'image-button' : 'button button-large'}\n >\n {!bgImage ? __('Select image', 'vk-blocks') :\n <img className={'icon-image'} src={bgImage}\n alt={__('Upload image', 'vk-blocks')}/>}\n </Button>\n )}\n />\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</BaseControl>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<BaseControl\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel={__('Background image Position', 'vk-blocks')}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\thelp=\"\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n <RadioControl\n // label={__('Background Position', 'vk-blocks')}\n selected={bgPosition}\n options={[\n {label: __('normal', 'vk-blocks'), value: 'normal'},\n {label: __('Fixed', 'vk-blocks'), value: 'fixed'},\n {label: __('Parallax (It will not work in preview)', 'vk-blocks'), value: 'parallax'}\n ]}\n onChange={(value) => setAttributes({bgPosition: value})}\n />\n </BaseControl>\n </PanelBody>\n\t\t\t\t\t<PanelBody title={__('Layout Setting', 'vk-blocks')}>\n\t\t\t\t\t\t<BaseControl>\n\t\t\t\t\t\t\t<RadioControl\n\t\t\t\t\t\t\t\tlabel={__('Outer width', 'vk-blocks')}\n\t\t\t\t\t\t\t\tselected={outerWidth}\n\t\t\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t\t\t{label: __('Normal', 'vk-blocks'), value: 'normal'},\n\t\t\t\t\t\t\t\t\t{label: __('Full Wide', 'vk-blocks'), value: 'full'}\n\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({outerWidth: value})}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<RadioControl\n\t\t\t\t\t\t\t\tlabel={__('Contents area padding (left and right)', 'vk-blocks')}\n\t\t\t\t\t\t\t\tselected={padding_left_and_right}\n\t\t\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tlabel: __('Do not use contents area default padding (When case of full width etc.).', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t\tvalue: '0'\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tlabel: __('Use contents area default padding (When case of not full width and use background etc.).', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t\tvalue: '1'\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({padding_left_and_right: value})}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<RadioControl\n\t\t\t\t\t\t\t\tlabel={__('Padding (top and bottom)', 'vk-blocks')}\n\t\t\t\t\t\t\t\tselected={padding_top_and_bottom}\n\t\t\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t\t\t{label: __('Use default padding', 'vk-blocks'), value: '1'},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tlabel: __('Do not use default padding (Set it yourself using a spacer block etc.).', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t\tvalue: '0'\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({padding_top_and_bottom: value})}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</BaseControl>\n\t\t\t\t\t</PanelBody>\n\t\t\t\t\t<PanelBody title={__('Divider Setting', 'vk-blocks')}>\n\t\t\t\t\t\t<BaseControl>\n\t\t\t\t\t\t\t<SelectControl\n\t\t\t\t\t\t\t\tlabel={__('Type', 'vk-blocks')}\n\t\t\t\t\t\t\t\tvalue={dividerType}\n\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({dividerType: value})}\n\t\t\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tvalue: 'tilt',\n\t\t\t\t\t\t\t\t\t\tlabel: __('Tilt', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tvalue: 'curve',\n\t\t\t\t\t\t\t\t\t\tlabel: __('Curve', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tvalue: 'wave',\n\t\t\t\t\t\t\t\t\t\tlabel: __('Wave', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tvalue: 'triangle',\n\t\t\t\t\t\t\t\t\t\tlabel: __('Triangle', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<RangeControl\n\t\t\t\t\t\t\t\tlabel={__('Upper Divider Level', 'vk-blocks')}\n\t\t\t\t\t\t\t\tvalue={upper_level}\n\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({upper_level: toNumber(value, -100, 100)})}\n\t\t\t\t\t\t\t\tmin=\"-100\"\n\t\t\t\t\t\t\t\tmax=\"100\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<ColorPalette\n\t\t\t\t\t\t\t\tvalue={upperDividerBgColor}\n\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({upperDividerBgColor: value})}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<RangeControl\n\t\t\t\t\t\t\t\tlabel={__('Lower Divider Level', 'vk-blocks')}\n\t\t\t\t\t\t\t\tvalue={lower_level}\n\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({lower_level: toNumber(value, -100, 100)})}\n\t\t\t\t\t\t\t\tmin=\"-100\"\n\t\t\t\t\t\t\t\tmax=\"100\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<ColorPalette\n\t\t\t\t\t\t\t\tvalue={lowerDividerBgColor}\n\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({lowerDividerBgColor: value})}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</BaseControl>\n\t\t\t\t\t</PanelBody>\n\t\t\t\t\t<PanelBody title={__('Border Setting', 'vk-blocks')}>\n\t\t\t\t\t\t<BaseControl\n\t\t\t\t\t\t\t// label={__('Border will disappear when divider effect is applied.', 'vk-blocks')}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t<p>{__('Border will disappear when divider effect is applied.', 'vk-blocks')}</p>\n\t\t\t\t\t\t\t<SelectControl\n\t\t\t\t\t\t\t\tlabel={__('Border type', 'vk-blocks')}\n\t\t\t\t\t\t\t\tvalue={borderStyle}\n\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({borderStyle: value})}\n\t\t\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tvalue: 'none',\n\t\t\t\t\t\t\t\t\t\tlabel: __('None', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tvalue: 'solid',\n\t\t\t\t\t\t\t\t\t\tlabel: __('Solid', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tvalue: 'dotted',\n\t\t\t\t\t\t\t\t\t\tlabel: __('Dotted', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tvalue: 'dashed',\n\t\t\t\t\t\t\t\t\t\tlabel: __('Dashed', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tvalue: 'double',\n\t\t\t\t\t\t\t\t\t\tlabel: __('Double', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tvalue: 'groove',\n\t\t\t\t\t\t\t\t\t\tlabel: __('Groove', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tvalue: 'ridge',\n\t\t\t\t\t\t\t\t\t\tlabel: __('Ridge', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tvalue: 'inset',\n\t\t\t\t\t\t\t\t\t\tlabel: __('Inset', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tvalue: 'outset',\n\t\t\t\t\t\t\t\t\t\tlabel: __('Outset', 'vk-blocks'),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<ColorPalette\n\t\t\t\t\t\t\t\tvalue={borderColor}\n\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({borderColor: value})}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<RangeControl\n\t\t\t\t\t\t\t\tlabel={__('Border width', 'vk-blocks')}\n\t\t\t\t\t\t\t\tvalue={borderWidth}\n\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({borderWidth:value})}\n\t\t\t\t\t\t\t\tmin=\"0\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<RangeControl\n\t\t\t\t\t\t\t\tlabel={__('Border radius', 'vk-blocks')}\n\t\t\t\t\t\t\t\tvalue={borderRadius}\n\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({borderRadius: toNumber(value, -100, 100)})}\n\t\t\t\t\t\t\t\tmin=\"-100\"\n\t\t\t\t\t\t\t\tmax=\"100\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</BaseControl>\n\t\t\t\t\t</PanelBody>\n </InspectorControls>\n {\n vk_blocks_check.is_pro\n ?\n <Component\n attributes={attributes}\n for_={'edit'}/>\n :\n <div>{__('This block is only for users who bought Lightning Pro.', 'vk-blocks')}</div>\n }\n </Fragment>\n );\n },\n\n /**\n * The save function defin className }> which the different attributes should be combined\n * into the final markup, which is then serialized by Gutenberg into post_content.\n *\n * The \"save\" property must be specified and must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n save({attributes}) {\n {\n if (vk_blocks_check.is_pro) {\n\n return (\n <Component\n attributes={attributes}\n for_={'save'}/>\n );\n\n }\n }\n\n },\n});\n","export const schema = {\n\tbgColor: {\n\t\ttype: 'string',\n\tdefault: '#f3f4f5',\n\t},\n\tbgImage: {\n\t\ttype: 'string',\n\tdefault: null,\n\t},\n\touterWidth:{\n\t\ttype: 'string',\n\tdefault: 'normal',\n\t},\n\tbgPosition:{\n\t\ttype: 'string',\n\tdefault: 'normal',\n\t},\n\tpadding_left_and_right: {\n\t\ttype: 'string',\n\tdefault: '0',\n\t},\n\tpadding_top_and_bottom: {\n\t\ttype: 'string',\n\tdefault: '1',\n\t},\n\topacity: {\n\t\ttype: 'number',\n\tdefault: 0.5,\n\t},\n\tupper_level: {\n\t\ttype: 'number',\n\tdefault: 0,\n\t},\n\tlower_level: {\n\t\ttype: 'number',\n\tdefault: 0,\n\t},\n\tdividerType: {\n\t\ttype: 'string',\n\t\tdefault: 'tilt',\n\t},\n\tupperDividerBgColor: {\n\t\ttype: 'string',\n\tdefault: '#fff',\n\t},\n\tlowerDividerBgColor: {\n\t\ttype: 'string',\n\tdefault: '#fff',\n\t},\n\tborderWidth: {\n\t\ttype: 'number',\n\t\tdefault: 0,\n\t},\n\tborderStyle: {\n\t\ttype: 'string',\n\t\tdefault: 'none',\n\t},\n\tborderColor: {\n\t\ttype: 'string',\n\t\tdefault: '#000',\n\t},\n\tborderRadius: {\n\t\ttype: 'number',\n\t\tdefault: 0,\n\t},\n};\n","import React from 'react';\n\nexport class Component extends React.Component {\n\n render() {\n\n let buttonColorCustom = this.props.lbColorCustom;\n let buttonColor = this.props.lbColor;\n let buttonType = this.props.lbType;\n let buttonAlign = this.props.lbAlign;\n let buttonSize = this.props.lbSize;\n let buttonUrl = this.props.lbUrl;\n let buttonTarget = this.props.lbTarget;\n let fontAwesomeIconBefore = this.props.lbFontAwesomeIconBefore;\n let fontAwesomeIconAfter = this.props.lbFontAwesomeIconAfter;\n let richText = this.props.lbRichtext;\n let subCaption = this.props.lbsubCaption;\n let containerClass = '';\n let aClass = '';\n let aStyle = {};\n let iconBefore = '';\n let iconAfter = '';\n\n aClass = `btn vk_button_link`;\n\n if (buttonColorCustom) {\n\n aClass = `${aClass} btn-primary btn-${buttonSize}`;\n\n // 塗り\n if (buttonType === '0') {\n aStyle = {\n backgroundColor: buttonColorCustom,\n border: `1px solid ${buttonColorCustom}`\n };\n // 塗りなし\n } else if (buttonType === '1') {\n aStyle = {\n backgroundColor: 'transparent',\n border: '1px solid ' + buttonColorCustom,\n color: buttonColorCustom\n };\n }\n\n\t\t\t\t// カスタムカラーじゃない場合\n } else if (!buttonColorCustom) {\n\n // 塗り\n if (buttonType === '0') {\n aClass = `${aClass} btn-${buttonSize} btn-${buttonColor}`;\n aStyle = null;\n // 塗りなし\n } else if (buttonType === '1') {\n aClass = `${aClass} btn-${buttonSize} btn-outline-${buttonColor}`;\n aStyle = null;\n }\n\n }\n\n if ( buttonAlign === 'block' ){\n \taClass = `${aClass} btn-block`;\n }\n\n\n\n if (fontAwesomeIconBefore) {\n iconBefore = <i className={`${fontAwesomeIconBefore} vk_button_link_before`}></i> ;\n }\n if (fontAwesomeIconAfter) {\n iconAfter = <i className={`${fontAwesomeIconAfter} vk_button_link_after`}></i>;\n }\n\n return (\n <a\n href={buttonUrl}\n id={'vk_button_link'}\n className={aClass}\n role={'button'}\n aria-pressed={true}\n style={aStyle}\n target={buttonTarget? '_blank':null}\n >\n\t\t\t\t\t\t\t\t\t\t\t\t{iconBefore}\n {richText}\n\t\t\t\t\t\t\t\t\t\t\t\t{iconAfter}\n {/*サブキャプションが入力された時のみ表示*/}\n {subCaption && <p className={'vk_button_link_subCaption'}>{subCaption}</p>}\n </a>\n );\n }\n}\n","import React from 'react';\n\nexport class ComponentDeprecated extends React.Component {\n\n render() {\n\n let buttonColorCustom = this.props.lbColorCustom;\n let buttonColor = this.props.lbColor;\n let buttonType = this.props.lbType;\n let buttonAlign = this.props.lbAlign;\n let buttonSize = this.props.lbSize;\n let buttonUrl = this.props.lbUrl;\n let buttonTarget = this.props.lbTarget;\n let fontAwesomeIconBefore = this.props.lbFontAwesomeIconBefore;\n let fontAwesomeIconAfter = this.props.lbFontAwesomeIconAfter;\n let richText = this.props.lbRichtext;\n let subCaption = this.props.lbsubCaption;\n let containerClass = '';\n let aClass = '';\n let aStyle = {};\n let iconBefore = '';\n let iconAfter = '';\n\n aClass = `btn vk_button_link`;\n\n if (buttonColorCustom) {\n\n aClass = `${aClass} btn-primary btn-${buttonSize}`;\n\n // 塗り\n if (buttonType === '0') {\n aStyle = {\n backgroundColor: buttonColorCustom,\n border: `1px solid ${buttonColorCustom}`\n };\n // 塗りなし\n } else if (buttonType === '1') {\n aStyle = {\n backgroundColor: 'transparent',\n border: '1px solid ' + buttonColorCustom,\n color: buttonColorCustom\n };\n }\n\n\t\t\t\t// カスタムカラーじゃない場合\n } else if (!buttonColorCustom) {\n\n // 塗り\n if (buttonType === '0') {\n aClass = `${aClass} btn-${buttonSize} btn-${buttonColor}`;\n aStyle = null;\n // 塗りなし\n } else if (buttonType === '1') {\n aClass = `${aClass} btn-${buttonSize} btn-outline-${buttonColor}`;\n aStyle = null;\n }\n\n }\n\n if ( buttonAlign === 'block' ){\n \taClass = `${aClass} btn-block`;\n }\n\n\n\n if (fontAwesomeIconBefore) {\n iconBefore = <i className={`${fontAwesomeIconBefore} vk_button_link_before`}></i> ;\n }\n if (fontAwesomeIconAfter) {\n iconAfter = <i className={`${fontAwesomeIconAfter} vk_button_link_after`}></i>;\n }\n\n return (\n <a\n href={buttonUrl}\n className={aClass}\n role={'button'}\n aria-pressed={true}\n style={aStyle}\n target={buttonTarget? '_blank':null}\n >\n {iconBefore}\n {richText}\n {iconAfter}\n\n </a>\n );\n }\n}\n","import React from \"react\";\nimport {ComponentDeprecated} from \"./component-deprecated\";\nconst { RichText } = wp.editor;\n\nexport const deprecated = [\n\t{\n\t\tattributes: {\n\t\t\tcontent: {\n\t\t\t\tsource: 'html',\n\t\t\t\tselector: 'span',\n\t\t\t},\n\t\t\tbuttonUrl: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: null,\n\t\t\t},\n\t\t\tbuttonTarget: {\n\t\t\t\ttype: 'Boolean',\n\t\t\t\tdefault: false,\n\t\t\t},\n\t\t\tbuttonSize: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: 'md',\n\t\t\t},\n\t\t\tbuttonType: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: '0',\n\t\t\t},\n\t\t\tbuttonColor: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: 'primary',\n\t\t\t},\n\t\t\tbuttonColorCustom: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: null,\n\t\t\t},\n\t\t\tbuttonAlign: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: 'left',\n\t\t\t},\n\t\t\tfontAwesomeIconBefore: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: null,\n\t\t\t},\n\t\t\tfontAwesomeIconAfter: {\n\t\t\t\ttype: 'string',\n\t\t\t\tdefault: null,\n\t\t\t}\n\t\t},\n\n\t\tsave({attributes}) {\n\t\t\tconst {\n\t\t\t\tcontent,\n\t\t\t\tbuttonUrl,\n\t\t\t\tbuttonTarget,\n\t\t\t\tbuttonSize,\n\t\t\t\tbuttonType,\n\t\t\t\tbuttonColor,\n\t\t\t\tbuttonColorCustom,\n\t\t\t\tbuttonAlign,\n\t\t\t\tfontAwesomeIconBefore,\n\t\t\t\tfontAwesomeIconAfter,\n\t\t\t} = attributes;\n\n\t\t\tlet containerClass = '';\n\n\t\t\tif (buttonColorCustom) {\n\n\t\t\t\tcontainerClass = `vk_button vk_button-color-custom vk_button-align-${buttonAlign}`;\n\n\t\t\t} else if (!buttonColorCustom) {\n\n\t\t\t\tcontainerClass = `vk_button vk_button-align-${buttonAlign}`;\n\n\t\t\t}\n\n\t\t\treturn (\n\t\t\t\t<div className={containerClass}>\n\n\t\t\t\t\t<ComponentDeprecated lbColorCustom={buttonColorCustom} lbColor={buttonColor} lbType={buttonType}\n\t\t\t\t\t\t\t\t\t\t lbAlign={buttonAlign}\n\t\t\t\t\t\t\t\t\t\t lbSize={buttonSize}\n\t\t\t\t\t\t\t\t\t\t lbUrl={buttonUrl}\n\t\t\t\t\t\t\t\t\t\t lbTarget={buttonTarget}\n\t\t\t\t\t\t\t\t\t\t lbFontAwesomeIconBefore={fontAwesomeIconBefore}\n\t\t\t\t\t\t\t\t\t\t lbFontAwesomeIconAfter={fontAwesomeIconAfter}\n\t\t\t\t\t\t\t\t\t\t lbRichtext={\n\t\t\t\t\t\t\t\t\t\t\t <RichText.Content\n\t\t\t\t\t\t\t\t\t\t\t\t tagName=\"span\"\n\t\t\t\t\t\t\t\t\t\t\t\t className={'vk_button_link_txt'}\n\t\t\t\t\t\t\t\t\t\t\t\t value={content}\n\t\t\t\t\t\t\t\t\t\t\t />\n\t\t\t\t\t\t\t\t\t\t }/>\n\t\t\t\t</div>\n\t\t\t);\n\t\t},\n\t}\n];\n","/**\n * Button block type\n *\n */\nimport React from \"react\";\nimport {Component} from \"./component\";\nimport {deprecated} from \"./deprecated/deprecated\";\n\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {registerBlockType} = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RangeControl, RadioControl, PanelBody, Button, BaseControl, CheckboxControl, TextControl, Dashicon, IconButton,} = wp.components;\nconst {Fragment} = wp.element;\nconst {RichText, InspectorControls, MediaUpload, ColorPalette, URLInput,} = wp.editor;\nconst BlockIcon = (\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"576\" height=\"512\" viewBox=\"0 0 576 512\">\n\t\t<g>\n\t\t\t<path d=\"M506,185v142H70V185H506 M526.4,137H49.6C34.4,137,22,149.4,22,164.6v182.8c0,15.2,12.4,27.6,27.6,27.6h476.8\n\t\t\t\tc15.2,0,27.6-12.4,27.6-27.6V164.6C554,149.4,541.6,137,526.4,137L526.4,137z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path d=\"M83.8,206.9h55.9c9.3,0,16.5,2.3,21.5,6.9c5,4.6,7.5,10.3,7.5,17.1c0,5.7-1.8,10.6-5.3,14.7c-2.4,2.7-5.8,4.9-10.4,6.5\n\t\t\t\tc6.9,1.7,12.1,4.5,15.3,8.6c3.3,4.1,4.9,9.2,4.9,15.3c0,5-1.2,9.5-3.5,13.5c-2.3,4-5.5,7.2-9.6,9.5c-2.5,1.5-6.3,2.5-11.3,3.2\n\t\t\t\tc-6.7,0.9-11.2,1.3-13.4,1.3H83.8V206.9z M113.9,244.8h13c4.7,0,7.9-0.8,9.7-2.4c1.8-1.6,2.7-3.9,2.7-7c0-2.8-0.9-5-2.7-6.6\n\t\t\t\tc-1.8-1.6-5-2.4-9.5-2.4h-13.2V244.8z M113.9,282.8h15.2c5.1,0,8.8-0.9,10.9-2.7s3.2-4.3,3.2-7.4c0-2.9-1-5.2-3.1-6.9\n\t\t\t\tc-2.1-1.7-5.7-2.6-11-2.6h-15.2V282.8z\"/>\n\t\t\t<path d=\"M245.9,303.5h-25.1v-11.3c-3.7,4.7-7.5,8-11.3,10c-3.8,2-8.5,3-14,3c-7.4,0-13.2-2.2-17.4-6.6c-4.2-4.4-6.3-11.2-6.3-20.4\n\t\t\t\tv-44.6h27V272c0,4.4,0.8,7.5,2.4,9.4c1.6,1.8,3.9,2.8,6.9,2.8c3.2,0,5.8-1.2,7.9-3.7s3.1-6.9,3.1-13.3v-33.7h26.8V303.5z\"/>\n\t\t\t<path d=\"M282.4,206.9v26.6h14.8v19.7h-14.8V278c0,3,0.3,5,0.9,5.9c0.9,1.5,2.4,2.2,4.6,2.2c2,0,4.7-0.6,8.3-1.7l2,18.5\n\t\t\t\tc-6.6,1.5-12.8,2.2-18.6,2.2c-6.7,0-11.6-0.9-14.8-2.6c-3.2-1.7-5.5-4.3-7-7.8c-1.5-3.5-2.3-9.1-2.3-17v-24.6h-9.9v-19.7h9.9v-12.9\n\t\t\t\tL282.4,206.9z\"/>\n\t\t\t<path d=\"M330.2,206.9v26.6H345v19.7h-14.8V278c0,3,0.3,5,0.9,5.9c0.9,1.5,2.4,2.2,4.6,2.2c2,0,4.7-0.6,8.3-1.7l2,18.5\n\t\t\t\tc-6.6,1.5-12.8,2.2-18.6,2.2c-6.7,0-11.6-0.9-14.8-2.6c-3.2-1.7-5.5-4.3-7-7.8c-1.5-3.5-2.3-9.1-2.3-17v-24.6h-9.9v-19.7h9.9v-12.9\n\t\t\t\tL330.2,206.9z\"/>\n\t\t\t<path d=\"M339.6,268.7c0-10.7,3.6-19.5,10.8-26.4s16.9-10.4,29.2-10.4c14,0,24.6,4.1,31.8,12.2c5.8,6.6,8.6,14.6,8.6,24.2\n\t\t\t\tc0,10.8-3.6,19.6-10.7,26.5c-7.1,6.9-17,10.3-29.6,10.3c-11.3,0-20.4-2.9-27.3-8.6C343.9,289.5,339.6,280.2,339.6,268.7z\n\t\t\t\t M366.5,268.7c0,6.2,1.3,10.9,3.8,13.8c2.5,3,5.7,4.5,9.5,4.5c3.9,0,7-1.5,9.5-4.4c2.5-2.9,3.7-7.7,3.7-14.2\n\t\t\t\tc0-6.1-1.3-10.6-3.8-13.6s-5.6-4.5-9.3-4.5c-3.9,0-7.1,1.5-9.7,4.5C367.8,257.9,366.5,262.5,366.5,268.7z\"/>\n\t\t\t<path d=\"M418.2,233.5h25v11.4c3.7-4.7,7.5-8,11.3-10c3.8-2,8.5-3,14-3c7.4,0,13.2,2.2,17.4,6.6c4.2,4.4,6.3,11.2,6.3,20.5v44.5h-27\n\t\t\t\tV265c0-4.4-0.8-7.5-2.4-9.3c-1.6-1.8-3.9-2.7-6.9-2.7c-3.3,0-5.9,1.2-7.9,3.7c-2,2.5-3,6.9-3,13.3v33.6h-26.8V233.5z\"/>\n\t\t</g>\n </svg>\n);\n\n/**\n * Register: a Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/button', {\n // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('Button', 'vk-blocks'), // Block title.\n icon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n category: 'vk-blocks-cat', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: {\n content: {\n source: 'html',\n selector: 'span',\n },\n subCaption: {\n type: 'string',\n default: null,\n },\n buttonUrl: {\n type: 'string',\n default: null,\n },\n buttonTarget: {\n type: 'Boolean',\n default: false,\n },\n buttonSize: {\n type: 'string',\n default: 'md',\n },\n buttonType: {\n type: 'string',\n default: '0',\n },\n buttonColor: {\n type: 'string',\n default: 'primary',\n },\n buttonColorCustom: {\n type: 'string',\n default: null,\n },\n buttonAlign: {\n type: 'string',\n default: 'left',\n },\n fontAwesomeIconBefore: {\n type: 'string',\n default: null,\n },\n fontAwesomeIconAfter: {\n type: 'string',\n default: null,\n }\n },\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit({attributes, className, setAttributes, isSelected}) {\n const {\n content,\n subCaption,\n buttonUrl,\n buttonTarget,\n buttonSize,\n buttonType,\n buttonColor,\n buttonColorCustom,\n buttonAlign,\n fontAwesomeIconBefore,\n fontAwesomeIconAfter,\n } = attributes;\n\n return (\n <Fragment>\n <InspectorControls>\n <PanelBody title={__('Button setting', 'vk-blocks')}>\n <TextControl\n label={__('Sub Caption', 'vk-blocks')}\n value={subCaption}\n onChange={(value) => setAttributes({subCaption: value})}\n placeholder={'Sub Caption'}\n />\n <CheckboxControl\n label={__('Open link new tab.', 'vk-blocks')}\n checked={buttonTarget}\n onChange={(checked) => setAttributes({buttonTarget: checked})}\n />\n <RadioControl\n label={__('Button Size:', 'vk-blocks')}\n selected={buttonSize}\n options={[\n {label: __('Large', 'vk-blocks'), value: 'lg'},\n {label: __('normal', 'vk-blocks'), value: 'md'},\n {label: __('Small', 'vk-blocks'), value: 'sm'},\n ]}\n onChange={(value) => setAttributes({buttonSize: value})}\n />\n <RadioControl\n label={__('Button Position:', 'vk-blocks')}\n selected={buttonAlign}\n options={[\n {label: __('Left', 'vk-blocks'), value: 'left'},\n {label: __('Center', 'vk-blocks'), value: 'center'},\n {label: __('Right', 'vk-blocks'), value: 'right'},\n {label: __('Block', 'vk-blocks'), value: 'block'},\n ]}\n onChange={(value) => setAttributes({buttonAlign: value})}\n />\n <RadioControl\n label={__('Button Style:', 'vk-blocks')}\n selected={buttonType}\n options={[\n {label: __('Solid color', 'vk-blocks'), value: '0'},\n {label: __('No background', 'vk-blocks'), value: '1'},\n ]}\n help={__('If you select \"No background\", that you need to select a Custom Color.', 'vk-blocks')}\n onChange={(value) => setAttributes({buttonType: value})}\n />\n <RadioControl\n label={__('Default Color:', 'vk-blocks')}\n selected={buttonColor}\n options={[\n {label: __('Primary', 'vk-blocks'), value: 'primary'},\n {label: __('Secondary', 'vk-blocks'), value: 'secondary'},\n {label: __('Success', 'vk-blocks'), value: 'success'},\n {label: __('Info', 'vk-blocks'), value: 'info'},\n {label: __('Warning', 'vk-blocks'), value: 'warning'},\n {label: __('Danger', 'vk-blocks'), value: 'danger'},\n {label: __('Light', 'vk-blocks'), value: 'light'},\n {label: __('Dark', 'vk-blocks'), value: 'dark'},\n ]}\n onChange={(value) => setAttributes({buttonColor: value})}\n />\n <BaseControl\n label={__('Custom Color', 'vk-blocks')}\n help={__('This custom color overrides the default color. If you want to use the default color, click the clear button.', 'vk-blocks')}\n >\n <ColorPalette\n value={buttonColorCustom}\n onChange={(value) => setAttributes({buttonColorCustom: value})}\n />\n </BaseControl>\n <BaseControl\n label={__('Font Awesome:', 'vk-blocks')}\n help={<a href={`https://fontawesome.com/icons?d=gallery&m=free`} target={`_blank`}>{__('Font Awesome icon list', 'vk-blocks')}</a>}\n >\n <TextControl\n label={__('Before text', 'vk-blocks')}\n help={__('Enter Font Awesome Class.This icon will appear before text. Ex) fas fa-arrow-circle-right', 'vk-blocks')}\n value={fontAwesomeIconBefore}\n onChange={(value) => setAttributes({fontAwesomeIconBefore: value})}\n placeholder={'fas fa-arrow-circle-right'}\n />\n <TextControl\n label={__('After text', 'vk-blocks')}\n help={__('Enter Font Awesome Class.This icon will appear after text. Ex) fas fa-external-link-alt', 'vk-blocks')}\n value={fontAwesomeIconAfter}\n onChange={(value) => setAttributes({fontAwesomeIconAfter: value})}\n placeholder={'fas fa-external-link-alt'}\n />\n </BaseControl>\n </PanelBody>\n </InspectorControls>\n\n <div className={buttonColorCustom ? `vk_button vk_button-align-${ buttonAlign } vk_button-color-custom` : `vk_button vk_button-align-${ buttonAlign }`}>\n\n <Component lbColorCustom={buttonColorCustom} lbColor={buttonColor} lbType={buttonType}\n lbAlign={buttonAlign}\n lbSize={buttonSize}\n lbFontAwesomeIconBefore={fontAwesomeIconBefore}\n lbFontAwesomeIconAfter={fontAwesomeIconAfter}\n lbsubCaption={subCaption}\n lbRichtext={\n <RichText\n tagName=\"span\"\n className={'vk_button_link_txt'}\n onChange={(value) => setAttributes({content: value})}\n value={content}\n placeholder={__('Input text', 'vk-blocks')}\n formattingControls={['bold', 'italic', 'strikethrough']}\n keepPlaceholderOnFocus\n />\n }/>\n\n {isSelected && (\n <form\n className=\"block-library-button__inline-link\"\n onSubmit={(event) => event.preventDefault()}>\n <Dashicon icon=\"admin-links\"/>\n <URLInput\n value={buttonUrl}\n onChange={(value) => setAttributes({buttonUrl: value})}\n />\n <IconButton icon=\"editor-break\" label={__('Apply', 'vk-blocks')} type=\"submit\"/>\n </form>\n )}\n </div>\n </Fragment>\n );\n },\n\n /**\n * The save function defin className }> which the different attributes should be combined\n * into the final markup, which is then serialized by Gutenberg into post_content.\n *\n * The \"save\" property must be specified and must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n save({attributes, className}) {\n const {\n content,\n subCaption,\n buttonUrl,\n buttonTarget,\n buttonSize,\n buttonType,\n buttonColor,\n buttonColorCustom,\n buttonAlign,\n fontAwesomeIconBefore,\n fontAwesomeIconAfter,\n } = attributes;\n\n let containerClass = '';\n\n if (buttonColorCustom) {\n\n containerClass = `vk_button vk_button-color-custom vk_button-align-${buttonAlign}`;\n\n } else if (!buttonColorCustom) {\n\n containerClass = `vk_button vk_button-align-${buttonAlign}`;\n\n }\n\n return (\n <div className={containerClass}>\n\n <Component lbColorCustom={buttonColorCustom} lbColor={buttonColor} lbType={buttonType}\n lbAlign={buttonAlign}\n lbSize={buttonSize}\n lbUrl={buttonUrl}\n lbTarget={buttonTarget}\n lbFontAwesomeIconBefore={fontAwesomeIconBefore}\n lbFontAwesomeIconAfter={fontAwesomeIconAfter}\n lbsubCaption={subCaption}\n lbRichtext={\n <RichText.Content\n tagName=\"span\"\n className={'vk_button_link_txt'}\n value={content}\n />\n }/>\n </div>\n );\n },\n\n deprecated: deprecated\n});\n","import React from 'react';\n\nexport class Fontawesome extends React.Component {\n\n render() {\n let {\n buttonText,\n fontAwesomeIconBefore,\n fontAwesomeIconAfter,\n } = this.props.attributes;\n\n let iconBefore = '';\n let iconAfter = '';\n\n\n if (fontAwesomeIconBefore) {\n iconBefore = <i className={`${fontAwesomeIconBefore} vk_button_link_before`}></i> ;\n }\n if (fontAwesomeIconAfter) {\n iconAfter = <i className={`${fontAwesomeIconAfter} vk_button_link_after`}></i>;\n }\n\n return (\n\t\t\t\t\t<React.Fragment>\n {iconBefore}\n <span className=\"vk_button_link_txt\">{buttonText}</span>\n {iconAfter}\n </React.Fragment>\n );\n }\n}\n","import React from \"react\";\nimport {Fontawesome} from \"./component-fontawesome\";\n\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {Button} = wp.components;\nconst {MediaUpload} = wp.editor;\nlet {RichText} = wp.editor;\n\nexport class Component extends React.Component {\n\n render() {\n\n const attributes = this.props.attributes;\n const {\n title,\n titleColor,\n content,\n contentColor,\n url,\n buttonType,\n\t\t\t\t\t\tbuttonColor,\n buttonColorCustom,\n buttonText,\n buttonTarget,\n Image,\n ImageBorderColor,\n layout,\n fontAwesomeIconBefore,\n fontAwesomeIconAfter\n } = attributes;\n let setAttributes = this.props.setAttributes;\n let for_ = this.props.for_;\n\t\t\t\tlet containerClass = 'vk_prContent';\n\t\t\t\tlet btnClass = 'vk_button';\n\t\t\t\tlet aClass = 'btn btn-block vk_button_link vk_prContent_colTxt_btn';\n\t\t\t\tlet aStyle = {};\n\n\t\t\t\tif (layout === 'right') {\n\t\t\t\t\tcontainerClass = `${containerClass} vk_prContent-layout-imageRight`;\n\t\t\t\t} else {\n\t\t\t\t\tcontainerClass = `${containerClass} vk_prContent-layout-imageLeft`;\n\t\t\t\t}\n\n\t\t\t\tif (buttonColorCustom) {\n\t\t\t\t\t\tbtnClass = `${btnClass} vk_button-color-custom`;\n aClass = `${aClass} btn-primary`;\n\n // 塗り\n if (buttonType === '0') {\n aStyle = {\n backgroundColor: buttonColorCustom,\n border: `1px solid ${buttonColorCustom}`\n };\n // 塗りなし\n } else if (buttonType === '1') {\n aStyle = {\n backgroundColor: 'transparent',\n border: '1px solid ' + buttonColorCustom,\n color: buttonColorCustom\n };\n }\n\n\t\t\t\t// カスタムカラーじゃない場合\n } else if (!buttonColorCustom) {\n\n // 塗り\n if (buttonType === '0') {\n aClass = `${aClass} btn-${buttonColor}`;\n aStyle = null;\n // 塗りなし\n } else if (buttonType === '1') {\n aClass = `${aClass} btn-outline-${buttonColor}`;\n aStyle = null;\n }\n\n }\n\n return (\n <div className={containerClass}>\n <div className=\"col-sm-6 vk_prContent_colImg\">\n {for_ === 'edit' ?\n <MediaUpload\n onSelect={(value) => setAttributes({Image: value.sizes.full.url})}\n type=\" image\"\n value={Image}\n render={({open}) => (\n <Button\n onClick={open}\n className={Image ? 'image-button' : 'button button-large'}\n >\n {!Image ? __('Select image', 'vk-blocks') :\n <img\n className={'vk_prContent_colImg_image'}\n src={Image}\n alt={__('Upload image', 'vk-blocks')}\n style={{border:`1px solid ${ImageBorderColor}`}}\n />}\n </Button>\n )}\n />\n :\n !Image ? __('Select image', 'vk-blocks') :\n <img\n className={'vk_prContent_colImg_image'}\n src={Image}\n alt={__('Upload image', 'vk-blocks')}\n style={{border: `1px solid ${ImageBorderColor}`}}\n />\n }\n </div>\n <div className=\"col-sm-6 vk_prContent_colTxt\">\n {\n (() => {\n if (for_ === 'edit') {\n return (\n <React.Fragment>\n <RichText\n tagName=\"h3\"\n className={'vk_prContent_colTxt_title'}\n onChange={(value) => setAttributes({title: value})}\n value={title}\n placeholder={__('Input title.', 'vk-blocks')}\n style={{color: titleColor}}\n />\n < RichText\n tagName=\"p\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={'vk_prContent_colTxt_text'}\n onChange={(value) => setAttributes({content: value})}\n value={content}\n placeholder={__('Input content.', 'vk-blocks')}\n style={{color: contentColor}}\n />\n </React.Fragment>\n );\n } else {\n return (\n <React.Fragment>\n <RichText.Content\n tagName=\"h3\"\n value={title}\n className={'vk_prContent_colTxt_title'}\n style={{color: titleColor}}\n />\n <RichText.Content\n tagName=\"p\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={'vk_prContent_colTxt_text'}\n value={content}\n style={{color: contentColor}}\n />\n </React.Fragment>);\n }\n })()\n }\n {\n\n //ボタンテキストが入力されるとボタンを表示。\n (() => {\n if (buttonText !== '' && buttonText !== undefined ) {\n return (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div className={btnClass}>\n <a href={url}\n className={aClass}\n target={buttonTarget? '_blank':null}\n style={aStyle}\n >\n <Fontawesome\n attributes={attributes}\n />\n </a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n );\n }\n })()\n }\n </div>\n </div>\n );\n }\n}\n","/**\n * Pr-Content block type\n *\n */\n\nimport React from \"react\";\nimport {schema} from './schema.js';\nimport {Component} from \"./component.js\";\n\nconst {__} = wp.i18n; // Import __() from wp.i18n\nconst {registerBlockType} = wp.blocks; // Import registerBlockType() from wp.blocks\nconst {RangeControl, RadioControl, PanelBody, Button, BaseControl, CheckboxControl, TextControl} = wp.components;\nconst {Fragment} = wp.element;\nconst {RichText, InspectorControls, MediaUpload, ColorPalette} = wp.editor;\nconst BlockIcon = (\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"576\" height=\"512\" viewBox=\"0 0 576 512\">\n\t\t<g>\n\t\t\t<path d=\"M291.7,133.3l0,245.3l-273.1,0l0-245.3L291.7,133.3 M307.2,117.8l-304.2,0l0,276.4l304.2,0L307.2,117.8L307.2,117.8z\"/>\n\t\t\t<path d=\"M560.7,218.8l-213.1,0c-6.1,0-11.1-5-11.1-11.1s5-11.1,11.1-11.1l213.1,0c6.1,0,11.1,5,11.1,11.1\n\t\t\t\tC571.8,213.8,566.8,218.8,560.7,218.8z\"/>\n\t\t\t<path d=\"M560.7,265.4l-213.1,0c-6.1,0-11.1-5-11.1-11.1c0-6.1,5-11.1,11.1-11.1l213.1,0c6.1,0,11.1,5,11.1,11.1\n\t\t\t\tC571.8,260.5,566.8,265.4,560.7,265.4z\"/>\n\t\t\t<path d=\"M560.7,312.1l-213.1,0c-6.1,0-11.1-5-11.1-11.1c0-6.1,5-11.1,11.1-11.1l213.1,0c6.1,0,11.1,5,11.1,11.1\n\t\t\t\tC571.8,307.1,566.8,312.1,560.7,312.1z\"/>\n\t\t\t<polygon points=\"278.4,365.4 31.9,365.4 31.9,287.4 113,182.2 184.4,264.4 229.9,226.5 278.4,290.6 \t\"/>\n\t\t\t<path d=\"M360.6,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7c-4.8,0-8.7-3.9-8.7-8.7C351.9,137.2,355.8,133.3,360.6,133.3\n\t\t\t\t M360.6,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2c13.4,0,24.2-10.9,24.2-24.2\n\t\t\t\tC384.9,128.7,374,117.8,360.6,117.8L360.6,117.8z\"/>\n\t\t\t<path d=\"M423.3,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7c-4.8,0-8.7-3.9-8.7-8.7C414.6,137.2,418.5,133.3,423.3,133.3\n\t\t\t\t M423.3,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2s24.2-10.9,24.2-24.2C447.6,128.7,436.7,117.8,423.3,117.8\n\t\t\t\tL423.3,117.8z\"/>\n\t\t\t<path d=\"M486,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7c-4.8,0-8.7-3.9-8.7-8.7C477.3,137.2,481.2,133.3,486,133.3\n\t\t\t\t M486,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2c13.4,0,24.2-10.9,24.2-24.2\n\t\t\t\tC510.2,128.7,499.4,117.8,486,117.8L486,117.8z\"/>\n\t\t\t<path d=\"M548.7,133.3c4.8,0,8.7,3.9,8.7,8.7c0,4.8-3.9,8.7-8.7,8.7s-8.7-3.9-8.7-8.7C540,137.2,543.9,133.3,548.7,133.3\n\t\t\t\t M548.7,117.8c-13.4,0-24.2,10.9-24.2,24.2c0,13.4,10.9,24.2,24.2,24.2c13.4,0,24.2-10.9,24.2-24.2\n\t\t\t\tC572.9,128.7,562.1,117.8,548.7,117.8L548.7,117.8z\"/>\n\t\t\t<path d=\"M566.3,347.6l-224.3,0c-3.1,0-5.6,2.5-5.6,5.6l0,35.5c0,3.1,2.5,5.6,5.6,5.6l224.3,0c3.1,0,5.6-2.5,5.6-5.6v-35.5\n\t\t\t\tC571.8,350.1,569.3,347.6,566.3,347.6z M547.1,379.2v-16.6l9.8,8.3L547.1,379.2z\"/>\n\t\t</g>\n </svg>\n);\n/**\n * Register: aa Gutenberg Block.\n *\n * Registers a new block provided a unique name and an object defining its\n * behavior. Once registered, the block is made editor as an option to any\n * editor interface where blocks are implemented.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\nregisterBlockType('vk-blocks/pr-content', {\n // Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.\n title: __('PR Content', 'vk-blocks'), // Block title.\n icon: BlockIcon, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n category: 'vk-blocks-cat', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n attributes: schema,\n\n /**\n * The edit function describes the structure of your block in the context of the editor.\n * This represents what the editor will render when the block is used.\n *\n * The \"edit\" property must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n edit: function ({attributes, className, setAttributes}) {\n const {\n titleColor,\n contentColor,\n url,\n buttonType,\n\t\t\t\t\t\tbuttonColor,\n buttonColorCustom,\n buttonText,\n\t\t\t\t\t\tbuttonTarget,\n ImageBorderColor,\n layout,\n fontAwesomeIconBefore,\n fontAwesomeIconAfter\n } = attributes;\n return (\n <Fragment>\n <InspectorControls>\n <PanelBody title={__('Color Setting', 'vk-blocks')}>\n <BaseControl label={__('Title Color', 'vk-blocks')}>\n <ColorPalette\n value={titleColor}\n onChange={(value) => setAttributes({titleColor: value})}\n />\n </BaseControl>\n <BaseControl label={__('Content Color', 'vk-blocks')}>\n <ColorPalette\n value={contentColor}\n onChange={(value) => setAttributes({contentColor: value})}\n />\n </BaseControl>\n <BaseControl\n label={__('Image Border Color', 'vk-blocks')}\n >\n <ColorPalette\n value={ImageBorderColor}\n onChange={(value) => setAttributes({ImageBorderColor: value})}\n />\n </BaseControl>\n </PanelBody>\n <PanelBody title={__('Button Setting', 'vk-blocks')}>\n <BaseControl\n label={__('Button Text', 'vk-blocks')}\n >\n <TextControl\n value={buttonText}\n onChange={(value) => setAttributes({buttonText: value})}\n placeholder={'Input button text.'}\n />\n </BaseControl>\n <BaseControl\n label={__('Link URL', 'vk-blocks')}\n >\n <TextControl\n value={url}\n onChange={(value) => setAttributes({url: value})}\n placeholder={'https://vektor-inc.co.jp/'}\n />\n </BaseControl>\n\t\t\t\t\t\t\t\t\t\t\t\t<CheckboxControl\n label={__('Open link new tab.', 'vk-blocks')}\n checked={buttonTarget}\n onChange={(checked) => setAttributes({buttonTarget: checked})}\n />\n <BaseControl label={__('Button Type', 'vk-blocks')}>\n <RadioControl\n selected={buttonType}\n options={[\n {label: __('Solid', 'vk-blocks'), value: '0'},\n {label: __('Ghost', 'vk-blocks'), value: '1'}\n ]}\n onChange={(value) => setAttributes({buttonType: value})}\n />\n </BaseControl>\n\t\t\t\t\t\t\t\t\t\t\t\t<RadioControl\n label={__('Default Color:', 'vk-blocks')}\n selected={buttonColor}\n options={[\n {label: __('Primary', 'vk-blocks'), value: 'primary'},\n {label: __('Secondary', 'vk-blocks'), value: 'secondary'},\n {label: __('Success', 'vk-blocks'), value: 'success'},\n {label: __('Info', 'vk-blocks'), value: 'info'},\n {label: __('Warning', 'vk-blocks'), value: 'warning'},\n {label: __('Danger', 'vk-blocks'), value: 'danger'},\n {label: __('Light', 'vk-blocks'), value: 'light'},\n {label: __('Dark', 'vk-blocks'), value: 'dark'},\n ]}\n onChange={(value) => setAttributes({buttonColor: value})}\n />\n\t\t\t\t\t\t\t\t\t\t\t\t<BaseControl label={__('Button Color', 'vk-blocks')}>\n <ColorPalette\n value={buttonColorCustom}\n onChange={(value) => setAttributes({buttonColorCustom: value})}\n />\n </BaseControl>\n <BaseControl\n label={__('Font Awesome:', 'vk-blocks')}\n help={<a href={`https://fontawesome.com/icons?d=gallery&m=free`} target={`_blank`}>{__('Font Awesome icon list', 'vk-blocks')}</a>}\n >\n <TextControl\n label={__('Before text', 'vk-blocks')}\n help={__('Enter Font Awesome Class.This icon will appear before text. Ex) fas fa-arrow-circle-right', 'vk-blocks')}\n value={fontAwesomeIconBefore}\n onChange={(value) => setAttributes({fontAwesomeIconBefore: value})}\n placeholder={'fas fa-arrow-circle-right'}\n />\n <TextControl\n label={__('After text', 'vk-blocks')}\n help={__('Enter Font Awesome Class.This icon will appear after text. Ex) fas fa-external-link-alt', 'vk-blocks')}\n value={fontAwesomeIconAfter}\n onChange={(value) => setAttributes({fontAwesomeIconAfter: value})}\n placeholder={'fas fa-external-link-alt'}\n />\n </BaseControl>\n </PanelBody>\n <PanelBody title={__('Layout Setting', 'vk-blocks')}>\n <RadioControl\n label={__('Layout Type', 'vk-blocks')}\n selected={layout}\n options={[\n {label: __('Right', 'vk-blocks'), value: 'right'},\n {label: __('Left', 'vk-blocks'), value: 'left'}\n ]}\n onChange={(value) => setAttributes({layout: value})}\n />\n </PanelBody>\n </InspectorControls>\n <Component\n attributes={attributes}\n setAttributes={setAttributes}\n for_={'edit'}\n />\n </Fragment>\n );\n },\n\n\n /**\n * The save function defin className }> which the different attributes should be combined\n * into the final markup, which is then serialized by Gutenberg into post_content.\n *\n * The \" save\" property must be specified and must be a valid function.\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n */\n save({attributes, className}) {\n\n return (\n <Component\n attributes={attributes}\n for_={'save'}\n />\n );\n },\n});\n","export const schema = {\n\ttitle: {\n\t\tsource: 'html',\n\t\t\tselector: '.vk_prContent_colTxt_title',\n\t},\n\ttitleColor: {\n\t\ttype: 'string',\n\t},\n\tcontent: {\n\t\tsource: 'html',\n\t\t\tselector: '.vk_prContent_colTxt_text',\n\t},\n\tcontentColor: {\n\t\ttype: 'string',\n\t},\n\turl: {\n\t\ttype: 'string',\n\tdefault: null,\n\t},\n\tbuttonType: {\n\t\ttype: 'string',\n\tdefault: '0',\n\t},\n\tbuttonColor: {\n\t\ttype: 'string',\n\t\tdefault: 'primary',\n\t},\n\tbuttonColorCustom: {\n\t\ttype: 'string',\n\t\tdefault: null,\n\t},\n\tbuttonText: {\n\t\tsource: 'html',\n\t\tselector: '.vk_button_link_txt',\n\t\tdefault: '',\n\t},\n\tbuttonTarget: {\n\t\ttype: 'Boolean',\n\tdefault: false,\n\t},\n\tImage: {\n\t\ttype: 'string',\n\tdefault: null,\n\t},\n\tImageBorderColor: {\n\t\ttype: 'string',\n\tdefault: null,\n\t},\n\tlayout: {\n\t\ttype: 'string',\n\tdefault: 'left',\n\t},\n\tfontAwesomeIconBefore:{\n\t\ttype: 'string',\n\t},\n\tfontAwesomeIconAfter:{\n\t\ttype: 'string',\n\t}\n};\n"],"sourceRoot":""}
plugins/vk-blocks/build/languages/vk-blocks-ja-vk-blocks-build-js.json CHANGED
@@ -1 +1 @@
1
- {"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural_forms":"nplurals=1; plural=0;","lang":"ja_JP"},"Alert":["アラート"],"Select image":["画像を選択"],"Upload image":["画像をアップロード"],"Icon Name":["アイコンの名前"],"Input text":["文字を入力"],"Ballon":["フキダシ"],"Balloon setting":["フキダシ設定"],"Position":["位置"],"Please specify the layout of the balloon.":["吹き出しの配置を指定してください。"],"Left":["左"],"Right":["右"],"Type":["タイプ"],"Please select the type of balloon.":["吹き出しのタイプを指定してください。"],"Serif":["セリフ"],"Thinking":["吹き出し"],"Button setting":["ボタン設定"],"Open link new tab.":["リンクを別ウィンドウで開く"],"Button Size:":["ボタンサイズ:"],"Large":["大"],"normal":["標準"],"Small":["小"],"Button Position:":["ボタンの位置:"],"Center":["中央"],"Block":["ブロック(全幅)"],"Button Style:":["ボタンスタイル:"],"Solid color":["ベタ塗り"],"No background":["背景なし"],"If you select \"No background\", that you need to select a Custom Color.":["もし「背景なし」を選択した場合はカスタムカラーで色を指定してください。"],"Default Color:":["標準色:"],"Primary":["Primary"],"Secondary":["Secondary"],"Success":["Success"],"Info":["Info"],"Warning":["Warning"],"Danger":["Danger"],"Light":["Light"],"Dark":["Dark"],"Custom Color":["カスタムカラー"],"This custom color overrides the default color. If you want to use the default color, click the clear button.":["このカスタムカラーはデフォルトのカラーを上書きします。 デフォルトの色を使用したい場合は、クリアボタンをクリックしてください。"],"Font Awesome:":["Font Awesome:"],"Font Awesome icon list":["Font Awesome アイコンリスト"],"Before text":["文字の前"],"Enter Font Awesome Class.This icon will appear before text. Ex) fas fa-arrow-circle-right":["Font Awesome の class 名を入力してください。このアイコンは文字の前に表示されます。 例) fas fa-arrow-circle-right"],"After text":["文字の後"],"Enter Font Awesome Class.This icon will appear after text. Ex) fas fa-external-link-alt":["Font Awesome の class 名を入力してください。このアイコンは文字の後に表示されます。 例) fas fa-external-link-alt"],"Apply":[""],"Button":["ボタン"],"FAQ":["質問と解答"],"Please enter a question.":["質問を入力してください。"],"Please enter a answer.":["回答を入力してください。"],"Flow":["フロー"],"Display of arrow":["矢印の表示"],"Arrow display":["矢印を表示する"],"Arrow hidden":["矢印を表示しない"],"Input title":["タイトルを入力"],"Input content":["説明を入力"],"Background Image":["背景画像"],"Background Position":["背景\n位置"],"Fixed":["固定"],"Parallax (It will not work in preview)":["パララックス(編集画面では反映されません)"],"Layout Setting":["レイアウト設定"],"Outer width":["アウターの幅"],"Normal":["標準"],"Full Wide":["全幅"],"Padding (left and right)":["余白 (左右)"],"Do not use default padding (When it is full width etc.).":["標準の余白を使用しない(全幅で利用の場合など)。"],"Padding (top and bottom)":["余白 (上下)"],"Use default padding":["標準の余白を使用"],"Do not use default padding (Set it yourself using a spacer block etc.).":["標準の余白を使用しない(スペーサーブロックなどで独自に指定する)。"],"Divider Setting":["区切りの設定"],"Tilt":["傾斜"],"Curve":["カーブ"],"Wave":["波状"],"Triangle":["三角"],"Upper Divider Level":["上部区切りレベル"],"Lower Divider Level":["下部区切りレベル"],"This block is only for users who bought Lightning Pro.":["このブロックは Lightning Pro 専用です。"],"Outer":["Outer"],"Background Setting":["背景設定設定"],"Color Setting":["色設定"],"Color will overcome background image. If you want to display image, clear background color or set opacity 0.":["色を指定すると画像よりも優先されます。画像を表示したい場合は、背景色をクリアするか、不透明度を0に設定します。"],"Opacity Setting":["透過設定"],"PR Block1 Setting":["PR Block1 設定"],"Icon 1":["アイコン 1"],"PR Image 1":["PR 画像 1"],"When you have an image. Image is displayed with priority":["画像を設定した場合は画像が優先して表示されます。"],"PR Block2 Setting":["PR Block2 設定"],"Icon 2":["アイコン 2"],"PR Image 2":["PR 画像 2"],"PR Block3 Setting":["PR Block3 設定"],"Link URL:":["リンクURL:"],"Icon 3":["アイコン 3"],"Class name of the Font Awesome icon font you want to use:":["アイコンを使う場合は Font Awesome のアイコンのclass名:"],"Icon Background:":["アイコン背景:"],"PR Image 3":["PR 画像 3"],"When you have an image. Image is displayed with priority.":["画像を設定した場合は画像が優先して表示されます。"],"PR Blocks (Beta)":["PR Blocks (Beta)"],"Image Border Color":["画像の線の色"],"Button Setting":["ボタン設定"],"Button Text":["ボタンの文字"],"Link URL":["リンクURL"],"Button Type":["ボタンタイプ"],"Solid":["ベタ塗り"],"Ghost":["ゴーストボタン"],"Button Color":["ボタンの色"],"Layout Type":["レイアウトタイプ"],"PR Content":["PR Content"],"Title Color":["見出しの色"],"Content Color":["本文の色"],"Input title.":["タイトルを入力してください。"],"Input content.":["本文を入力してください。"]}}}
1
+ {"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural_forms":"nplurals=1; plural=0;","lang":"ja_JP"},"Alert":["アラート"],"Select image":["画像を選択"],"Upload image":["画像をアップロード"],"Icon Name":["アイコンの名前"],"Input text":["文字を入力"],"Ballon":["フキダシ"],"Balloon setting":["フキダシ設定"],"Position":["位置"],"Please specify the layout of the balloon.":["吹き出しの配置を指定してください。"],"Left":["左"],"Right":["右"],"Type":["タイプ"],"Please select the type of balloon.":["吹き出しのタイプを指定してください。"],"Serif":["セリフ"],"Thinking":["吹き出し"],"Button setting":["ボタン設定"],"Sub Caption":[""],"Open link new tab.":["リンクを別ウィンドウで開く"],"Button Size:":["ボタンサイズ:"],"Large":["大"],"normal":["標準"],"Small":["小"],"Button Position:":["ボタンの位置:"],"Center":["中央"],"Block":["ブロック(全幅)"],"Button Style:":["ボタンスタイル:"],"Solid color":["ベタ塗り"],"No background":["背景なし"],"If you select \"No background\", that you need to select a Custom Color.":["もし「背景なし」を選択した場合はカスタムカラーで色を指定してください。"],"Default Color:":["標準色:"],"Primary":["Primary"],"Secondary":["Secondary"],"Success":["Success"],"Info":["Info"],"Warning":["Warning"],"Danger":["Danger"],"Light":["Light"],"Dark":["Dark"],"Custom Color":["カスタムカラー"],"This custom color overrides the default color. If you want to use the default color, click the clear button.":["このカスタムカラーはデフォルトのカラーを上書きします。 デフォルトの色を使用したい場合は、クリアボタンをクリックしてください。"],"Font Awesome:":["Font Awesome:"],"Font Awesome icon list":["Font Awesome アイコンリスト"],"Before text":["文字の前"],"Enter Font Awesome Class.This icon will appear before text. Ex) fas fa-arrow-circle-right":["Font Awesome の class 名を入力してください。このアイコンは文字の前に表示されます。 例) fas fa-arrow-circle-right"],"After text":["文字の後"],"Enter Font Awesome Class.This icon will appear after text. Ex) fas fa-external-link-alt":["Font Awesome の class 名を入力してください。このアイコンは文字の後に表示されます。 例) fas fa-external-link-alt"],"Apply":[""],"Button":["ボタン"],"FAQ":["質問と解答"],"Please enter a question.":["質問を入力してください。"],"Please enter a answer.":["回答を入力してください。"],"Flow":["フロー"],"Display of arrow":["矢印の表示"],"Arrow display":["矢印を表示する"],"Arrow hidden":["矢印を表示しない"],"Input title":["タイトルを入力"],"Input content":["説明を入力"],"Background Image":["背景画像"],"Background image Position":["背景画像の位置"],"Fixed":["固定"],"Parallax (It will not work in preview)":["パララックス(編集画面では反映されません)"],"Layout Setting":["レイアウト設定"],"Outer width":["アウターの幅"],"Normal":["標準"],"Full Wide":["全幅"],"Contents area padding (left and right)":["コンテンツエリアの余白 (左右)"],"Do not use contents area default padding (When case of full width etc.).":["コンテンツエリア内の左右に標準の余白を使用しない(全幅で利用の場合など)。"],"Use contents area default padding (When case of not full width and use background etc.).":["コンテンツエリア内の左右に標準の余白を使用する(全幅でない標準幅で背景色を指定する場合など)。"],"Padding (top and bottom)":["余白 (上下)"],"Use default padding":["標準の余白を使用"],"Do not use default padding (Set it yourself using a spacer block etc.).":["標準の余白を使用しない(スペーサーブロックなどで独自に指定する)。"],"Divider Setting":["区切りの設定"],"Tilt":["傾斜"],"Curve":["カーブ"],"Wave":["波状"],"Triangle":["三角"],"Upper Divider Level":["上部区切りレベル"],"Lower Divider Level":["下部区切りレベル"],"Border Setting":["枠線の設定"],"Border will disappear when divider effect is applied.":["枠線は区切りレベルを適用すると表示されなくなります。"],"Border type":["枠線の種類"],"None":[""],"Solid":[""],"Dotted":[""],"Dashed":[""],"Double":[""],"Groove":[""],"Ridge":[""],"Inset":[""],"Outset":[""],"Border width":["枠線の幅"],"Border radius":["枠線のRの大きさ"],"This block is only for users who bought Lightning Pro.":["このブロックは Lightning Pro 専用です。"],"Outer":["Outer"],"Background Setting":["背景設定設定"],"Color Setting":["色設定"],"Color will overcome background image. If you want to display image, clear background color or set opacity 0.":["色を指定すると画像よりも優先されます。画像を表示したい場合は、背景色をクリアするか、不透明度を0に設定します。"],"Opacity Setting":["透過設定"],"PR Block1 Setting":["PR Block1 設定"],"Icon 1":["アイコン 1"],"PR Image 1":["PR 画像 1"],"When you have an image. Image is displayed with priority":["画像を設定した場合は画像が優先して表示されます。"],"PR Block2 Setting":["PR Block2 設定"],"Icon 2":["アイコン 2"],"PR Image 2":["PR 画像 2"],"PR Block3 Setting":["PR Block3 設定"],"Link URL:":["リンクURL:"],"Icon 3":["アイコン 3"],"Class name of the Font Awesome icon font you want to use:":["アイコンを使う場合は Font Awesome のアイコンのclass名:"],"Icon Background:":["アイコン背景:"],"PR Image 3":["PR 画像 3"],"When you have an image. Image is displayed with priority.":["画像を設定した場合は画像が優先して表示されます。"],"PR Blocks (Beta)":["PR Blocks (Beta)"],"Image Border Color":["画像の線の色"],"Button Setting":["ボタン設定"],"Button Text":["ボタンの文字"],"Link URL":["リンクURL"],"Button Type":["ボタンタイプ"],"Ghost":["ゴーストボタン"],"Button Color":["ボタンの色"],"Layout Type":["レイアウトタイプ"],"PR Content":["PR Content"],"Title Color":["見出しの色"],"Content Color":["本文の色"],"Input title.":["タイトルを入力してください。"],"Input content.":["本文を入力してください。"]}}}
plugins/vk-blocks/build/languages/vk-blocks-ja.mo CHANGED
Binary file
plugins/vk-blocks/build/languages/vk-blocks-ja.po CHANGED
@@ -19,13 +19,13 @@ msgstr ""
19
msgid "Alert"
20
msgstr "アラート"
21
22
- #: src/balloon/block.js:122 src/flow/block.js:111 src/outer/block.js:118
23
- #: src/pr-blocks/block.js:324 src/pr-content/component.js:100
24
msgid "Select image"
25
msgstr "画像を選択"
26
27
- #: src/balloon/block.js:122 src/flow/block.js:112 src/outer/block.js:120
28
- #: src/pr-blocks/block.js:326 src/pr-content/component.js:104
29
msgid "Upload image"
30
msgstr "画像をアップロード"
31
@@ -33,7 +33,7 @@ msgstr "画像をアップロード"
33
msgid "Icon Name"
34
msgstr "アイコンの名前"
35
36
- #: src/balloon/block.js:140 src/button/block.js:225
37
msgid "Input text"
38
msgstr "文字を入力"
39
@@ -53,15 +53,15 @@ msgstr "位置"
53
msgid "Please specify the layout of the balloon."
54
msgstr "吹き出しの配置を指定してください。"
55
56
- #: src/balloon/block.js:88 src/button/block.js:149 src/pr-content/block.js:192
57
msgid "Left"
58
msgstr "左"
59
60
- #: src/balloon/block.js:89 src/button/block.js:151 src/pr-content/block.js:191
61
msgid "Right"
62
msgstr "右"
63
64
- #: src/balloon/block.js:94 src/outer/block.js:174
65
msgid "Type"
66
msgstr "タイプ"
67
@@ -77,101 +77,105 @@ msgstr "セリフ"
77
msgid "Thinking"
78
msgstr "吹き出し"
79
80
- #: src/button/block.js:129
81
msgid "Button setting"
82
msgstr "ボタン設定"
83
84
- #: src/button/block.js:131 src/pr-blocks/block.js:276
85
#: src/pr-content/block.js:131
86
msgid "Open link new tab."
87
msgstr "リンクを別ウィンドウで開く"
88
89
- #: src/button/block.js:136
90
msgid "Button Size:"
91
msgstr "ボタンサイズ:"
92
93
- #: src/button/block.js:139
94
msgid "Large"
95
msgstr "大"
96
97
- #: src/button/block.js:140 src/outer/block.js:129
98
msgid "normal"
99
msgstr "標準"
100
101
- #: src/button/block.js:141
102
msgid "Small"
103
msgstr "小"
104
105
- #: src/button/block.js:146
106
msgid "Button Position:"
107
msgstr "ボタンの位置:"
108
109
- #: src/button/block.js:150
110
msgid "Center"
111
msgstr "中央"
112
113
- #: src/button/block.js:152
114
msgid "Block"
115
msgstr "ブロック(全幅)"
116
117
- #: src/button/block.js:157
118
msgid "Button Style:"
119
msgstr "ボタンスタイル:"
120
121
- #: src/button/block.js:160 src/pr-blocks/block.js:305
122
msgid "Solid color"
123
msgstr "ベタ塗り"
124
125
- #: src/button/block.js:161 src/pr-blocks/block.js:306
126
msgid "No background"
127
msgstr "背景なし"
128
129
- #: src/button/block.js:163
130
msgid ""
131
"If you select \"No background\", that you need to select a Custom Color."
132
msgstr "もし「背景なし」を選択した場合はカスタムカラーで色を指定してください。"
133
134
- #: src/button/block.js:167 src/pr-content/block.js:146
135
msgid "Default Color:"
136
msgstr "標準色:"
137
138
- #: src/button/block.js:170 src/pr-content/block.js:149
139
msgid "Primary"
140
msgstr "Primary"
141
142
- #: src/button/block.js:171 src/pr-content/block.js:150
143
msgid "Secondary"
144
msgstr "Secondary"
145
146
- #: src/button/block.js:172 src/pr-content/block.js:151
147
msgid "Success"
148
msgstr "Success"
149
150
- #: src/button/block.js:173 src/pr-content/block.js:152
151
msgid "Info"
152
msgstr "Info"
153
154
- #: src/button/block.js:174 src/pr-content/block.js:153
155
msgid "Warning"
156
msgstr "Warning"
157
158
- #: src/button/block.js:175 src/pr-content/block.js:154
159
msgid "Danger"
160
msgstr "Danger"
161
162
- #: src/button/block.js:176 src/pr-content/block.js:155
163
msgid "Light"
164
msgstr "Light"
165
166
- #: src/button/block.js:177 src/pr-content/block.js:156
167
msgid "Dark"
168
msgstr "Dark"
169
170
- #: src/button/block.js:182
171
msgid "Custom Color"
172
msgstr "カスタムカラー"
173
174
- #: src/button/block.js:183
175
msgid ""
176
"This custom color overrides the default color. If you want to use the "
177
"default color, click the clear button."
@@ -179,19 +183,19 @@ msgstr ""
179
"このカスタムカラーはデフォルトのカラーを上書きします。 デフォルトの色を使用し"
180
"たい場合は、クリアボタンをクリックしてください。"
181
182
- #: src/button/block.js:191 src/pr-content/block.js:167
183
msgid "Font Awesome:"
184
msgstr "Font Awesome:"
185
186
- #: src/button/block.js:192 src/pr-content/block.js:168
187
msgid "Font Awesome icon list"
188
msgstr "Font Awesome アイコンリスト"
189
190
- #: src/button/block.js:195 src/pr-content/block.js:171
191
msgid "Before text"
192
msgstr "文字の前"
193
194
- #: src/button/block.js:196 src/pr-content/block.js:172
195
msgid ""
196
"Enter Font Awesome Class.This icon will appear before text. Ex) fas fa-arrow-"
197
"circle-right"
@@ -199,11 +203,11 @@ msgstr ""
199
"Font Awesome の class 名を入力してください。このアイコンは文字の前に表示され"
200
"ます。 例) fas fa-arrow-circle-right"
201
202
- #: src/button/block.js:202 src/pr-content/block.js:178
203
msgid "After text"
204
msgstr "文字の後"
205
206
- #: src/button/block.js:203 src/pr-content/block.js:179
207
msgid ""
208
"Enter Font Awesome Class.This icon will appear after text. Ex) fas fa-"
209
"external-link-alt"
@@ -211,11 +215,11 @@ msgstr ""
211
"Font Awesome の class 名を入力してください。このアイコンは文字の後に表示され"
212
"ます。 例) fas fa-external-link-alt"
213
214
- #: src/button/block.js:240
215
msgid "Apply"
216
msgstr ""
217
218
- #: src/button/block.js:58
219
msgid "Button"
220
msgstr "ボタン"
221
@@ -255,89 +259,153 @@ msgstr "タイトルを入力"
255
msgid "Input content"
256
msgstr "説明を入力"
257
258
- #: src/outer/block.js:106
259
msgid "Background Image"
260
msgstr "背景画像"
261
262
- #: src/outer/block.js:126
263
- msgid "Background Position"
264
- msgstr ""
265
- "背景\n"
266
- "位置"
267
268
- #: src/outer/block.js:130
269
msgid "Fixed"
270
msgstr "固定"
271
272
- #: src/outer/block.js:131
273
msgid "Parallax (It will not work in preview)"
274
msgstr "パララックス(編集画面では反映されません)"
275
276
- #: src/outer/block.js:139 src/pr-content/block.js:186
277
msgid "Layout Setting"
278
msgstr "レイアウト設定"
279
280
- #: src/outer/block.js:143
281
msgid "Outer width"
282
msgstr "アウターの幅"
283
284
- #: src/outer/block.js:146
285
msgid "Normal"
286
msgstr "標準"
287
288
- #: src/outer/block.js:147
289
msgid "Full Wide"
290
msgstr "全幅"
291
292
- #: src/outer/block.js:152
293
- msgid "Padding (left and right)"
294
- msgstr "余白 (左右)"
295
296
- #: src/outer/block.js:156
297
- msgid "Do not use default padding (When it is full width etc.)."
298
- msgstr "標準の余白を使用しない(全幅で利用の場合など)。"
299
300
- #: src/outer/block.js:161
301
msgid "Padding (top and bottom)"
302
msgstr "余白 (上下)"
303
304
- #: src/outer/block.js:164
305
msgid "Use default padding"
306
msgstr "標準の余白を使用"
307
308
- #: src/outer/block.js:165
309
msgid "Do not use default padding (Set it yourself using a spacer block etc.)."
310
msgstr "標準の余白を使用しない(スペーサーブロックなどで独自に指定する)。"
311
312
- #: src/outer/block.js:171
313
msgid "Divider Setting"
314
msgstr "区切りの設定"
315
316
- #: src/outer/block.js:180
317
msgid "Tilt"
318
msgstr "傾斜"
319
320
- #: src/outer/block.js:184
321
msgid "Curve"
322
msgstr "カーブ"
323
324
- #: src/outer/block.js:188
325
msgid "Wave"
326
msgstr "波状"
327
328
- #: src/outer/block.js:192
329
msgid "Triangle"
330
msgstr "三角"
331
332
- #: src/outer/block.js:197
333
msgid "Upper Divider Level"
334
msgstr "上部区切りレベル"
335
336
- #: src/outer/block.js:204
337
msgid "Lower Divider Level"
338
msgstr "下部区切りレベル"
339
340
- #: src/outer/block.js:224
341
msgid "This block is only for users who bought Lightning Pro."
342
msgstr "このブロックは Lightning Pro 専用です。"
343
@@ -345,15 +413,15 @@ msgstr "このブロックは Lightning Pro 専用です。"
345
msgid "Outer"
346
msgstr "Outer"
347
348
- #: src/outer/block.js:82
349
msgid "Background Setting"
350
msgstr "背景設定設定"
351
352
- #: src/outer/block.js:84 src/pr-content/block.js:89
353
msgid "Color Setting"
354
msgstr "色設定"
355
356
- #: src/outer/block.js:85
357
msgid ""
358
"Color will overcome background image. If you want to display image, clear "
359
"background color or set opacity 0."
@@ -361,7 +429,7 @@ msgstr ""
361
"色を指定すると画像よりも優先されます。画像を表示したい場合は、背景色をクリア"
362
"するか、不透明度を0に設定します。"
363
364
- #: src/outer/block.js:93
365
msgid "Opacity Setting"
366
msgstr "透過設定"
367
@@ -445,10 +513,6 @@ msgstr "リンクURL"
445
msgid "Button Type"
446
msgstr "ボタンタイプ"
447
448
- #: src/pr-content/block.js:139
449
- msgid "Solid"
450
- msgstr "ベタ塗り"
451
-
452
#: src/pr-content/block.js:140
453
msgid "Ghost"
454
msgstr "ゴーストボタン"
@@ -473,14 +537,20 @@ msgstr "見出しの色"
473
msgid "Content Color"
474
msgstr "本文の色"
475
476
- #: src/pr-content/component.js:120
477
msgid "Input title."
478
msgstr "タイトルを入力してください。"
479
480
- #: src/pr-content/component.js:128
481
msgid "Input content."
482
msgstr "本文を入力してください。"
483
484
#~ msgid "Padding"
485
#~ msgstr "余白"
486
19
msgid "Alert"
20
msgstr "アラート"
21
22
+ #: src/balloon/block.js:122 src/flow/block.js:111 src/outer/block.js:123
23
+ #: src/pr-blocks/block.js:324 src/pr-content/component.js:102
24
msgid "Select image"
25
msgstr "画像を選択"
26
27
+ #: src/balloon/block.js:122 src/flow/block.js:112 src/outer/block.js:125
28
+ #: src/pr-blocks/block.js:326 src/pr-content/component.js:106
29
msgid "Upload image"
30
msgstr "画像をアップロード"
31
33
msgid "Icon Name"
34
msgstr "アイコンの名前"
35
36
+ #: src/balloon/block.js:140 src/button/block.js:238
37
msgid "Input text"
38
msgstr "文字を入力"
39
53
msgid "Please specify the layout of the balloon."
54
msgstr "吹き出しの配置を指定してください。"
55
56
+ #: src/balloon/block.js:88 src/button/block.js:161 src/pr-content/block.js:192
57
msgid "Left"
58
msgstr "左"
59
60
+ #: src/balloon/block.js:89 src/button/block.js:163 src/pr-content/block.js:191
61
msgid "Right"
62
msgstr "右"
63
64
+ #: src/balloon/block.js:94 src/outer/block.js:190
65
msgid "Type"
66
msgstr "タイプ"
67
77
msgid "Thinking"
78
msgstr "吹き出し"
79
80
+ #: src/button/block.js:135
81
msgid "Button setting"
82
msgstr "ボタン設定"
83
84
+ #: src/button/block.js:137
85
+ msgid "Sub Caption"
86
+ msgstr ""
87
+
88
+ #: src/button/block.js:143 src/pr-blocks/block.js:276
89
#: src/pr-content/block.js:131
90
msgid "Open link new tab."
91
msgstr "リンクを別ウィンドウで開く"
92
93
+ #: src/button/block.js:148
94
msgid "Button Size:"
95
msgstr "ボタンサイズ:"
96
97
+ #: src/button/block.js:151
98
msgid "Large"
99
msgstr "大"
100
101
+ #: src/button/block.js:152 src/outer/block.js:139
102
msgid "normal"
103
msgstr "標準"
104
105
+ #: src/button/block.js:153
106
msgid "Small"
107
msgstr "小"
108
109
+ #: src/button/block.js:158
110
msgid "Button Position:"
111
msgstr "ボタンの位置:"
112
113
+ #: src/button/block.js:162
114
msgid "Center"
115
msgstr "中央"
116
117
+ #: src/button/block.js:164
118
msgid "Block"
119
msgstr "ブロック(全幅)"
120
121
+ #: src/button/block.js:169
122
msgid "Button Style:"
123
msgstr "ボタンスタイル:"
124
125
+ #: src/button/block.js:172 src/pr-blocks/block.js:305
126
msgid "Solid color"
127
msgstr "ベタ塗り"
128
129
+ #: src/button/block.js:173 src/pr-blocks/block.js:306
130
msgid "No background"
131
msgstr "背景なし"
132
133
+ #: src/button/block.js:175
134
msgid ""
135
"If you select \"No background\", that you need to select a Custom Color."
136
msgstr "もし「背景なし」を選択した場合はカスタムカラーで色を指定してください。"
137
138
+ #: src/button/block.js:179 src/pr-content/block.js:146
139
msgid "Default Color:"
140
msgstr "標準色:"
141
142
+ #: src/button/block.js:182 src/pr-content/block.js:149
143
msgid "Primary"
144
msgstr "Primary"
145
146
+ #: src/button/block.js:183 src/pr-content/block.js:150
147
msgid "Secondary"
148
msgstr "Secondary"
149
150
+ #: src/button/block.js:184 src/pr-content/block.js:151
151
msgid "Success"
152
msgstr "Success"
153
154
+ #: src/button/block.js:185 src/pr-content/block.js:152
155
msgid "Info"
156
msgstr "Info"
157
158
+ #: src/button/block.js:186 src/pr-content/block.js:153
159
msgid "Warning"
160
msgstr "Warning"
161
162
+ #: src/button/block.js:187 src/pr-content/block.js:154
163
msgid "Danger"
164
msgstr "Danger"
165
166
+ #: src/button/block.js:188 src/pr-content/block.js:155
167
msgid "Light"
168
msgstr "Light"
169
170
+ #: src/button/block.js:189 src/pr-content/block.js:156
171
msgid "Dark"
172
msgstr "Dark"
173
174
+ #: src/button/block.js:194
175
msgid "Custom Color"
176
msgstr "カスタムカラー"
177
178
+ #: src/button/block.js:195
179
msgid ""
180
"This custom color overrides the default color. If you want to use the "
181
"default color, click the clear button."
183
"このカスタムカラーはデフォルトのカラーを上書きします。 デフォルトの色を使用し"
184
"たい場合は、クリアボタンをクリックしてください。"
185
186
+ #: src/button/block.js:203 src/pr-content/block.js:167
187
msgid "Font Awesome:"
188
msgstr "Font Awesome:"
189
190
+ #: src/button/block.js:204 src/pr-content/block.js:168
191
msgid "Font Awesome icon list"
192
msgstr "Font Awesome アイコンリスト"
193
194
+ #: src/button/block.js:207 src/pr-content/block.js:171
195
msgid "Before text"
196
msgstr "文字の前"
197
198
+ #: src/button/block.js:208 src/pr-content/block.js:172
199
msgid ""
200
"Enter Font Awesome Class.This icon will appear before text. Ex) fas fa-arrow-"
201
"circle-right"
203
"Font Awesome の class 名を入力してください。このアイコンは文字の前に表示され"
204
"ます。 例) fas fa-arrow-circle-right"
205
206
+ #: src/button/block.js:214 src/pr-content/block.js:178
207
msgid "After text"
208
msgstr "文字の後"
209
210
+ #: src/button/block.js:215 src/pr-content/block.js:179
211
msgid ""
212
"Enter Font Awesome Class.This icon will appear after text. Ex) fas fa-"
213
"external-link-alt"
215
"Font Awesome の class 名を入力してください。このアイコンは文字の後に表示され"
216
"ます。 例) fas fa-external-link-alt"
217
218
+ #: src/button/block.js:253
219
msgid "Apply"
220
msgstr ""
221
222
+ #: src/button/block.js:59
223
msgid "Button"
224
msgstr "ボタン"
225
259
msgid "Input content"
260
msgstr "説明を入力"
261
262
+ #: src/outer/block.js:111
263
msgid "Background Image"
264
msgstr "背景画像"
265
266
+ #: src/outer/block.js:132
267
+ msgid "Background image Position"
268
+ msgstr "背景画像の位置"
269
270
+ #: src/outer/block.js:140
271
msgid "Fixed"
272
msgstr "固定"
273
274
+ #: src/outer/block.js:141
275
msgid "Parallax (It will not work in preview)"
276
msgstr "パララックス(編集画面では反映されません)"
277
278
+ #: src/outer/block.js:147 src/pr-content/block.js:186
279
msgid "Layout Setting"
280
msgstr "レイアウト設定"
281
282
+ #: src/outer/block.js:150
283
msgid "Outer width"
284
msgstr "アウターの幅"
285
286
+ #: src/outer/block.js:153
287
msgid "Normal"
288
msgstr "標準"
289
290
+ #: src/outer/block.js:154
291
msgid "Full Wide"
292
msgstr "全幅"
293
294
+ #: src/outer/block.js:159
295
+ msgid "Contents area padding (left and right)"
296
+ msgstr "コンテンツエリアの余白 (左右)"
297
298
+ #: src/outer/block.js:163
299
+ msgid ""
300
+ "Do not use contents area default padding (When case of full width etc.)."
301
+ msgstr ""
302
+ "コンテンツエリア内の左右に標準の余白を使用しない(全幅で利用の場合など)。"
303
304
+ #: src/outer/block.js:167
305
+ msgid ""
306
+ "Use contents area default padding (When case of not full width and use "
307
+ "background etc.)."
308
+ msgstr ""
309
+ "コンテンツエリア内の左右に標準の余白を使用する(全幅でない標準幅で背景色を指"
310
+ "定する場合など)。"
311
+
312
+ #: src/outer/block.js:174
313
msgid "Padding (top and bottom)"
314
msgstr "余白 (上下)"
315
316
+ #: src/outer/block.js:177
317
msgid "Use default padding"
318
msgstr "標準の余白を使用"
319
320
+ #: src/outer/block.js:179
321
msgid "Do not use default padding (Set it yourself using a spacer block etc.)."
322
msgstr "標準の余白を使用しない(スペーサーブロックなどで独自に指定する)。"
323
324
+ #: src/outer/block.js:187
325
msgid "Divider Setting"
326
msgstr "区切りの設定"
327
328
+ #: src/outer/block.js:196
329
msgid "Tilt"
330
msgstr "傾斜"
331
332
+ #: src/outer/block.js:200
333
msgid "Curve"
334
msgstr "カーブ"
335
336
+ #: src/outer/block.js:204
337
msgid "Wave"
338
msgstr "波状"
339
340
+ #: src/outer/block.js:208
341
msgid "Triangle"
342
msgstr "三角"
343
344
+ #: src/outer/block.js:213
345
msgid "Upper Divider Level"
346
msgstr "上部区切りレベル"
347
348
+ #: src/outer/block.js:224
349
msgid "Lower Divider Level"
350
msgstr "下部区切りレベル"
351
352
+ #: src/outer/block.js:236
353
+ msgid "Border Setting"
354
+ msgstr "枠線の設定"
355
+
356
+ #: src/outer/block.js:240
357
+ msgid "Border will disappear when divider effect is applied."
358
+ msgstr "枠線は区切りレベルを適用すると表示されなくなります。"
359
+
360
+ #: src/outer/block.js:242
361
+ msgid "Border type"
362
+ msgstr "枠線の種類"
363
+
364
+ #: src/outer/block.js:248
365
+ msgid "None"
366
+ msgstr ""
367
+
368
+ #: src/outer/block.js:252 src/pr-content/block.js:139
369
+ msgid "Solid"
370
+ msgstr ""
371
+
372
+ #: src/outer/block.js:256
373
+ msgid "Dotted"
374
+ msgstr ""
375
+
376
+ #: src/outer/block.js:260
377
+ msgid "Dashed"
378
+ msgstr ""
379
+
380
+ #: src/outer/block.js:264
381
+ msgid "Double"
382
+ msgstr ""
383
+
384
+ #: src/outer/block.js:268
385
+ msgid "Groove"
386
+ msgstr ""
387
+
388
+ #: src/outer/block.js:272
389
+ msgid "Ridge"
390
+ msgstr ""
391
+
392
+ #: src/outer/block.js:276
393
+ msgid "Inset"
394
+ msgstr ""
395
+
396
+ #: src/outer/block.js:280
397
+ msgid "Outset"
398
+ msgstr ""
399
+
400
+ #: src/outer/block.js:289
401
+ msgid "Border width"
402
+ msgstr "枠線の幅"
403
+
404
+ #: src/outer/block.js:295
405
+ msgid "Border radius"
406
+ msgstr "枠線のRの大きさ"
407
+
408
+ #: src/outer/block.js:311
409
msgid "This block is only for users who bought Lightning Pro."
410
msgstr "このブロックは Lightning Pro 専用です。"
411
413
msgid "Outer"
414
msgstr "Outer"
415
416
+ #: src/outer/block.js:87
417
msgid "Background Setting"
418
msgstr "背景設定設定"
419
420
+ #: src/outer/block.js:89 src/pr-content/block.js:89
421
msgid "Color Setting"
422
msgstr "色設定"
423
424
+ #: src/outer/block.js:90
425
msgid ""
426
"Color will overcome background image. If you want to display image, clear "
427
"background color or set opacity 0."
429
"色を指定すると画像よりも優先されます。画像を表示したい場合は、背景色をクリア"
430
"するか、不透明度を0に設定します。"
431
432
+ #: src/outer/block.js:98
433
msgid "Opacity Setting"
434
msgstr "透過設定"
435
513
msgid "Button Type"
514
msgstr "ボタンタイプ"
515
516
#: src/pr-content/block.js:140
517
msgid "Ghost"
518
msgstr "ゴーストボタン"
537
msgid "Content Color"
538
msgstr "本文の色"
539
540
+ #: src/pr-content/component.js:122
541
msgid "Input title."
542
msgstr "タイトルを入力してください。"
543
544
+ #: src/pr-content/component.js:130
545
msgid "Input content."
546
msgstr "本文を入力してください。"
547
548
+ #~ msgid "Border color"
549
+ #~ msgstr "枠線の色"
550
+
551
+ #~ msgid "Use contents area default padding"
552
+ #~ msgstr "コンテンツエリアの左右に標準の余白を使用"
553
+
554
#~ msgid "Padding"
555
#~ msgstr "余白"
556
plugins/vk-blocks/build/languages/vk-blocks.pot CHANGED
@@ -9,7 +9,7 @@ msgstr ""
9
10
#: src/balloon/block.js:122
11
#: src/flow/block.js:111
12
- #: src/outer/block.js:119
13
#: src/pr-blocks/block.js:324
14
#: src/pr-content/component.js:102
15
msgid "Select image"
@@ -17,7 +17,7 @@ msgstr ""
17
18
#: src/balloon/block.js:122
19
#: src/flow/block.js:112
20
- #: src/outer/block.js:121
21
#: src/pr-blocks/block.js:326
22
#: src/pr-content/component.js:106
23
msgid "Upload image"
@@ -61,7 +61,7 @@ msgid "Right"
61
msgstr ""
62
63
#: src/balloon/block.js:94
64
- #: src/outer/block.js:175
65
msgid "Type"
66
msgstr ""
67
@@ -100,7 +100,7 @@ msgid "Large"
100
msgstr ""
101
102
#: src/button/block.js:152
103
- #: src/outer/block.js:130
104
msgid "normal"
105
msgstr ""
106
@@ -273,88 +273,151 @@ msgstr ""
273
msgid "Input content"
274
msgstr ""
275
276
- #: src/outer/block.js:107
277
msgid "Background Image"
278
msgstr ""
279
280
- #: src/outer/block.js:127
281
- msgid "Background Position"
282
msgstr ""
283
284
- #: src/outer/block.js:131
285
msgid "Fixed"
286
msgstr ""
287
288
- #: src/outer/block.js:132
289
msgid "Parallax (It will not work in preview)"
290
msgstr ""
291
292
- #: src/outer/block.js:140
293
#: src/pr-content/block.js:186
294
msgid "Layout Setting"
295
msgstr ""
296
297
- #: src/outer/block.js:144
298
msgid "Outer width"
299
msgstr ""
300
301
- #: src/outer/block.js:147
302
msgid "Normal"
303
msgstr ""
304
305
- #: src/outer/block.js:148
306
msgid "Full Wide"
307
msgstr ""
308
309
- #: src/outer/block.js:153
310
- msgid "Padding (left and right)"
311
msgstr ""
312
313
- #: src/outer/block.js:157
314
- msgid "Do not use default padding (When it is full width etc.)."
315
msgstr ""
316
317
- #: src/outer/block.js:162
318
msgid "Padding (top and bottom)"
319
msgstr ""
320
321
- #: src/outer/block.js:165
322
msgid "Use default padding"
323
msgstr ""
324
325
- #: src/outer/block.js:166
326
msgid "Do not use default padding (Set it yourself using a spacer block etc.)."
327
msgstr ""
328
329
- #: src/outer/block.js:172
330
msgid "Divider Setting"
331
msgstr ""
332
333
- #: src/outer/block.js:181
334
msgid "Tilt"
335
msgstr ""
336
337
- #: src/outer/block.js:185
338
msgid "Curve"
339
msgstr ""
340
341
- #: src/outer/block.js:189
342
msgid "Wave"
343
msgstr ""
344
345
- #: src/outer/block.js:193
346
msgid "Triangle"
347
msgstr ""
348
349
- #: src/outer/block.js:198
350
msgid "Upper Divider Level"
351
msgstr ""
352
353
- #: src/outer/block.js:209
354
msgid "Lower Divider Level"
355
msgstr ""
356
357
- #: src/outer/block.js:229
358
msgid "This block is only for users who bought Lightning Pro."
359
msgstr ""
360
@@ -362,22 +425,22 @@ msgstr ""
362
msgid "Outer"
363
msgstr ""
364
365
- #: src/outer/block.js:83
366
msgid "Background Setting"
367
msgstr ""
368
369
- #: src/outer/block.js:85
370
#: src/pr-content/block.js:89
371
msgid "Color Setting"
372
msgstr ""
373
374
- #: src/outer/block.js:86
375
msgid ""
376
"Color will overcome background image. If you want to display image, clear "
377
"background color or set opacity 0."
378
msgstr ""
379
380
- #: src/outer/block.js:94
381
msgid "Opacity Setting"
382
msgstr ""
383
@@ -461,10 +524,6 @@ msgstr ""
461
msgid "Button Type"
462
msgstr ""
463
464
- #: src/pr-content/block.js:139
465
- msgid "Solid"
466
- msgstr ""
467
-
468
#: src/pr-content/block.js:140
469
msgid "Ghost"
470
msgstr ""
9
10
#: src/balloon/block.js:122
11
#: src/flow/block.js:111
12
+ #: src/outer/block.js:123
13
#: src/pr-blocks/block.js:324
14
#: src/pr-content/component.js:102
15
msgid "Select image"
17
18
#: src/balloon/block.js:122
19
#: src/flow/block.js:112
20
+ #: src/outer/block.js:125
21
#: src/pr-blocks/block.js:326
22
#: src/pr-content/component.js:106
23
msgid "Upload image"
61
msgstr ""
62
63
#: src/balloon/block.js:94
64
+ #: src/outer/block.js:190
65
msgid "Type"
66
msgstr ""
67
100
msgstr ""
101
102
#: src/button/block.js:152
103
+ #: src/outer/block.js:139
104
msgid "normal"
105
msgstr ""
106
273
msgid "Input content"
274
msgstr ""
275
276
+ #: src/outer/block.js:111
277
msgid "Background Image"
278
msgstr ""
279
280
+ #: src/outer/block.js:132
281
+ msgid "Background image Position"
282
msgstr ""
283
284
+ #: src/outer/block.js:140
285
msgid "Fixed"
286
msgstr ""
287
288
+ #: src/outer/block.js:141
289
msgid "Parallax (It will not work in preview)"
290
msgstr ""
291
292
+ #: src/outer/block.js:147
293
#: src/pr-content/block.js:186
294
msgid "Layout Setting"
295
msgstr ""
296
297
+ #: src/outer/block.js:150
298
msgid "Outer width"
299
msgstr ""
300
301
+ #: src/outer/block.js:153
302
msgid "Normal"
303
msgstr ""
304
305
+ #: src/outer/block.js:154
306
msgid "Full Wide"
307
msgstr ""
308
309
+ #: src/outer/block.js:159
310
+ msgid "Contents area padding (left and right)"
311
+ msgstr ""
312
+
313
+ #: src/outer/block.js:163
314
+ msgid "Do not use contents area default padding (When case of full width etc.)."
315
msgstr ""
316
317
+ #: src/outer/block.js:167
318
+ msgid ""
319
+ "Use contents area default padding (When case of not full width and use "
320
+ "background etc.)."
321
msgstr ""
322
323
+ #: src/outer/block.js:174
324
msgid "Padding (top and bottom)"
325
msgstr ""
326
327
+ #: src/outer/block.js:177
328
msgid "Use default padding"
329
msgstr ""
330
331
+ #: src/outer/block.js:179
332
msgid "Do not use default padding (Set it yourself using a spacer block etc.)."
333
msgstr ""
334
335
+ #: src/outer/block.js:187
336
msgid "Divider Setting"
337
msgstr ""
338
339
+ #: src/outer/block.js:196
340
msgid "Tilt"
341
msgstr ""
342
343
+ #: src/outer/block.js:200
344
msgid "Curve"
345
msgstr ""
346
347
+ #: src/outer/block.js:204
348
msgid "Wave"
349
msgstr ""
350
351
+ #: src/outer/block.js:208
352
msgid "Triangle"
353
msgstr ""
354
355
+ #: src/outer/block.js:213
356
msgid "Upper Divider Level"
357
msgstr ""
358
359
+ #: src/outer/block.js:224
360
msgid "Lower Divider Level"
361
msgstr ""
362
363
+ #: src/outer/block.js:236
364
+ msgid "Border Setting"
365
+ msgstr ""
366
+
367
+ #: src/outer/block.js:240
368
+ msgid "Border will disappear when divider effect is applied."
369
+ msgstr ""
370
+
371
+ #: src/outer/block.js:242
372
+ msgid "Border type"
373
+ msgstr ""
374
+
375
+ #: src/outer/block.js:248
376
+ msgid "None"
377
+ msgstr ""
378
+
379
+ #: src/outer/block.js:252
380
+ #: src/pr-content/block.js:139
381
+ msgid "Solid"
382
+ msgstr ""
383
+
384
+ #: src/outer/block.js:256
385
+ msgid "Dotted"
386
+ msgstr ""
387
+
388
+ #: src/outer/block.js:260
389
+ msgid "Dashed"
390
+ msgstr ""
391
+
392
+ #: src/outer/block.js:264
393
+ msgid "Double"
394
+ msgstr ""
395
+
396
+ #: src/outer/block.js:268
397
+ msgid "Groove"
398
+ msgstr ""
399
+
400
+ #: src/outer/block.js:272
401
+ msgid "Ridge"
402
+ msgstr ""
403
+
404
+ #: src/outer/block.js:276
405
+ msgid "Inset"
406
+ msgstr ""
407
+
408
+ #: src/outer/block.js:280
409
+ msgid "Outset"
410
+ msgstr ""
411
+
412
+ #: src/outer/block.js:289
413
+ msgid "Border width"
414
+ msgstr ""
415
+
416
+ #: src/outer/block.js:295
417
+ msgid "Border radius"
418
+ msgstr ""
419
+
420
+ #: src/outer/block.js:311
421
msgid "This block is only for users who bought Lightning Pro."
422
msgstr ""
423
425
msgid "Outer"
426
msgstr ""
427
428
+ #: src/outer/block.js:87
429
msgid "Background Setting"
430
msgstr ""
431
432
+ #: src/outer/block.js:89
433
#: src/pr-content/block.js:89
434
msgid "Color Setting"
435
msgstr ""
436
437
+ #: src/outer/block.js:90
438
msgid ""
439
"Color will overcome background image. If you want to display image, clear "
440
"background color or set opacity 0."
441
msgstr ""
442
443
+ #: src/outer/block.js:98
444
msgid "Opacity Setting"
445
msgstr ""
446
524
msgid "Button Type"
525
msgstr ""
526
527
#: src/pr-content/block.js:140
528
msgid "Ghost"
529
msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
Requires at least: 4.4
6
Tested up to: 5.0.3
7
- Stable tag: 7.5.5
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -84,6 +84,9 @@ e.g.
84
85
== Changelog ==
86
87
= 7.5.0 =
88
* [ Add function ][ VK Blocks ] Add Outer & PR Content block.
89
4
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
Requires at least: 4.4
6
Tested up to: 5.0.3
7
+ Stable tag: 7.6.0
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
84
85
== Changelog ==
86
87
+ = 7.6.0 =
88
+ * [ Add function ][ VK Blocks ][ Outer ] Add border setting function.
89
+
90
= 7.5.0 =
91
* [ Add function ][ VK Blocks ] Add Outer & PR Content block.
92
vkExUnit.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: VK All in One Expansion Unit
4
* Plugin URI: https://ex-unit.nagoya
5
* Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
- * Version: 7.5.5
7
* Author: Vektor,Inc.
8
* Text Domain: vkExUnit
9
* Domain Path: /languages
3
* Plugin Name: VK All in One Expansion Unit
4
* Plugin URI: https://ex-unit.nagoya
5
* Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
+ * Version: 7.6.0
7
* Author: Vektor,Inc.
8
* Text Domain: vkExUnit
9
* Domain Path: /languages