Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 7.5.3 |
Comparing to | |
See all releases |
Code changes from version 7.5.2 to 7.5.3
- plugins/vk-blocks-config.php +1 -1
- plugins/vk-blocks/build/block-build.js +1 -1
- plugins/vk-blocks/build/block-build.js.map +1 -1
- readme.txt +1 -1
- vkExUnit.php +1 -1
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.
|
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.4.5' );
|
11 |
|
12 |
global $vk_blocks_prefix;
|
13 |
$vk_blocks_prefix = veu_get_prefix();
|
plugins/vk-blocks/build/block-build.js
CHANGED
@@ -11,5 +11,5 @@
|
|
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,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(a,{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 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(g," 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: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 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,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"}))));l("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,l=t.heading1,a=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: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: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: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,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: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(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: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"tilt"===o?(l=Math.abs(e),r=function(e){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)):"curve"===o?(e>0?l=Math.abs(e):e<0&&(l=2*Math.abs(e)),r=function(e){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)):"wave"===o?(l=Math.abs(e),r=function(e){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)):"triangle"===o&&(l=Math.abs(e),r=function(e){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)),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})$/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])$/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=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_tilt_level,h=u.lower_tilt_level,E=u.tiltBgColor,C=u.dividerType,w=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"===w?r=l.a.createElement(m,null):(r=l.a.createElement(m.Content,null),c="vk_outer_container"),l.a.createElement("div",{className:"vk_outer"+o+e+t+n,style:{background:"linear-gradient(".concat(b,", ").concat(b,"), url(").concat(f,")")}},a(y,E,i,C),l.a.createElement("div",{className:c},r),a(h,E,s,C))}}])&&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,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:"1"},padding_top_and_bottom:{type:"string",default:"1"},opacity:{type:"number",default:.5},upper_tilt_level:{type:"number",default:0},lower_tilt_level:{type:"number",default:0},tiltBgColor:{type:"string",default:"#fff"},dividerType:{type:"string",default:"tilt"}},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_tilt_level,p=t.lower_tilt_level,v=t.tiltBgColor,g=t.dividerType;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(d,{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(_,{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})}}))),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("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})}}),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:g,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(d,{label:k("Upper Divider Level","vk-blocks"),value:m,onChange:function(e){return n({upper_tilt_level:f(e,-100,100)})},min:"-100",max:"100"}),l.a.createElement(d,{label:k("Lower Divider Level","vk-blocks"),value:p,onChange:function(e){return n({lower_tilt_level:f(e,-100,100)})},min:"-100",max:"100"}),l.a.createElement(x,{value:v,onChange:function(e){return n({tiltBgColor:e})}})))),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 $=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,V=[{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($,{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})}))}}],q=wp.i18n.__,D=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"})));D("vk-blocks/button",{title:q("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:q("Button setting","vk-blocks")},l.a.createElement(K,{label:q("Sub Caption","vk-blocks"),value:r,onChange:function(e){return n({subCaption:e})},placeholder:"Sub Caption"}),l.a.createElement(J,{label:q("Open link new tab.","vk-blocks"),checked:i,onChange:function(e){return n({buttonTarget:e})}}),l.a.createElement(G,{label:q("Button Size:","vk-blocks"),selected:s,options:[{label:q("Large","vk-blocks"),value:"lg"},{label:q("normal","vk-blocks"),value:"md"},{label:q("Small","vk-blocks"),value:"sm"}],onChange:function(e){return n({buttonSize:e})}}),l.a.createElement(G,{label:q("Button Position:","vk-blocks"),selected:b,options:[{label:q("Left","vk-blocks"),value:"left"},{label:q("Center","vk-blocks"),value:"center"},{label:q("Right","vk-blocks"),value:"right"},{label:q("Block","vk-blocks"),value:"block"}],onChange:function(e){return n({buttonAlign:e})}}),l.a.createElement(G,{label:q("Button Style:","vk-blocks"),selected:u,options:[{label:q("Solid color","vk-blocks"),value:"0"},{label:q("No background","vk-blocks"),value:"1"}],help:q('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:q("Default Color:","vk-blocks"),selected:m,options:[{label:q("Primary","vk-blocks"),value:"primary"},{label:q("Secondary","vk-blocks"),value:"secondary"},{label:q("Success","vk-blocks"),value:"success"},{label:q("Info","vk-blocks"),value:"info"},{label:q("Warning","vk-blocks"),value:"warning"},{label:q("Danger","vk-blocks"),value:"danger"},{label:q("Light","vk-blocks"),value:"light"},{label:q("Dark","vk-blocks"),value:"dark"}],onChange:function(e){return n({buttonColor:e})}}),l.a.createElement(Y,{label:q("Custom Color","vk-blocks"),help:q("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:q("Font Awesome:","vk-blocks"),help:l.a.createElement("a",{href:"https://fontawesome.com/icons?d=gallery&m=free",target:"_blank"},q("Font Awesome icon list","vk-blocks"))},l.a.createElement(K,{label:q("Before text","vk-blocks"),help:q("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:q("After text","vk-blocks"),help:q("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:q("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:q("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:V});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 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,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&&ge(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_,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)),l.a.createElement("div",{className:g},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:de("Upload image","vk-blocks"),style:{border:"1px solid ".concat(b)}}):de("Select image","vk-blocks"))}}):p?l.a.createElement("img",{className:"vk_prContent_media_image",src:p,alt:de("Upload image","vk-blocks"),style:{border:"1px solid ".concat(b)}}):de("Select image","vk-blocks")),l.a.createElement("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===v?l.a.createElement("div",null,l.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}}),l.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:a}})):l.a.createElement("div",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:d},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
|
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,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(a,{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 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(g," 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: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 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,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"}))));l("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,l=t.heading1,a=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: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: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: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,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: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(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: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"tilt"===o?(l=Math.abs(e),r=function(e){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)):"curve"===o?(e>0?l=Math.abs(e):e<0&&(l=2*Math.abs(e)),r=function(e){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)):"wave"===o?(l=Math.abs(e),r=function(e){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)):"triangle"===o&&(l=Math.abs(e),r=function(e){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)),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})$/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])$/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=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_tilt_level,h=u.lower_tilt_level,E=u.tiltBgColor,C=u.dividerType,w=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"===w?r=l.a.createElement(m,null):(r=l.a.createElement(m.Content,null),c="vk_outer_container"),l.a.createElement("div",{className:"vk_outer"+o+e+t+n,style:{background:"linear-gradient(".concat(b,", ").concat(b,"), url(").concat(f,")")}},a(y,E,i,C),l.a.createElement("div",{className:c},r),a(h,E,s,C))}}])&&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,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:"1"},padding_top_and_bottom:{type:"string",default:"1"},opacity:{type:"number",default:.5},upper_tilt_level:{type:"number",default:0},lower_tilt_level:{type:"number",default:0},tiltBgColor:{type:"string",default:"#fff"},dividerType:{type:"string",default:"tilt"}},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_tilt_level,p=t.lower_tilt_level,v=t.tiltBgColor,g=t.dividerType;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(d,{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(_,{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})}}))),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("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})}}),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:g,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(d,{label:k("Upper Divider Level","vk-blocks"),value:m,onChange:function(e){return n({upper_tilt_level:f(e,-100,100)})},min:"-100",max:"100"}),l.a.createElement(d,{label:k("Lower Divider Level","vk-blocks"),value:p,onChange:function(e){return n({lower_tilt_level:f(e,-100,100)})},min:"-100",max:"100"}),l.a.createElement(x,{value:v,onChange:function(e){return n({tiltBgColor:e})}})))),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 $=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,V=[{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($,{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})}))}}],q=wp.i18n.__,D=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"})));D("vk-blocks/button",{title:q("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:q("Button setting","vk-blocks")},l.a.createElement(K,{label:q("Sub Caption","vk-blocks"),value:r,onChange:function(e){return n({subCaption:e})},placeholder:"Sub Caption"}),l.a.createElement(J,{label:q("Open link new tab.","vk-blocks"),checked:i,onChange:function(e){return n({buttonTarget:e})}}),l.a.createElement(G,{label:q("Button Size:","vk-blocks"),selected:s,options:[{label:q("Large","vk-blocks"),value:"lg"},{label:q("normal","vk-blocks"),value:"md"},{label:q("Small","vk-blocks"),value:"sm"}],onChange:function(e){return n({buttonSize:e})}}),l.a.createElement(G,{label:q("Button Position:","vk-blocks"),selected:b,options:[{label:q("Left","vk-blocks"),value:"left"},{label:q("Center","vk-blocks"),value:"center"},{label:q("Right","vk-blocks"),value:"right"},{label:q("Block","vk-blocks"),value:"block"}],onChange:function(e){return n({buttonAlign:e})}}),l.a.createElement(G,{label:q("Button Style:","vk-blocks"),selected:u,options:[{label:q("Solid color","vk-blocks"),value:"0"},{label:q("No background","vk-blocks"),value:"1"}],help:q('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:q("Default Color:","vk-blocks"),selected:m,options:[{label:q("Primary","vk-blocks"),value:"primary"},{label:q("Secondary","vk-blocks"),value:"secondary"},{label:q("Success","vk-blocks"),value:"success"},{label:q("Info","vk-blocks"),value:"info"},{label:q("Warning","vk-blocks"),value:"warning"},{label:q("Danger","vk-blocks"),value:"danger"},{label:q("Light","vk-blocks"),value:"light"},{label:q("Dark","vk-blocks"),value:"dark"}],onChange:function(e){return n({buttonColor:e})}}),l.a.createElement(Y,{label:q("Custom Color","vk-blocks"),help:q("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:q("Font Awesome:","vk-blocks"),help:l.a.createElement("a",{href:"https://fontawesome.com/icons?d=gallery&m=free",target:"_blank"},q("Font Awesome icon list","vk-blocks"))},l.a.createElement(K,{label:q("Before text","vk-blocks"),help:q("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:q("After text","vk-blocks"),help:q("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:q("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:q("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:V});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 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,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&&ge(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_,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)),l.a.createElement("div",{className:g},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:de("Upload image","vk-blocks"),style:{border:"1px solid ".concat(b)}}):de("Select image","vk-blocks"))}}):p?l.a.createElement("img",{className:"vk_prContent_media_image",src:p,alt:de("Upload image","vk-blocks"),style:{border:"1px solid ".concat(b)}}):de("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:de("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:de("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:d},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_tilt_level","lower_tilt_level","tiltBgColor","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,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,O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IzBsG,EAAAzS,EAAAuG,cAAC8R,GAAD,CAAWrP,MAAOP,GAAG,iBAAkB,cAC/BgK,EAAAzS,EAAAuG,cAACmS,GAAD,CACIlN,MAAO/C,GAAG,cAAe,aACzBsB,SAAU8N,EACVnM,QAAS,CACL,CAACF,MAAO/C,GAAG,QAAS,aAActK,MAAO,SACzC,CAACqN,MAAO/C,GAAG,OAAQ,aAActK,MAAO,SAE5C0L,SAAU,SAAC1L,GAAD,OAAWsL,EAAc,CAACoO,OAAQ1Z,SAI5DsU,EAAAzS,EAAAuG,cAACoS,GAAD,CACIxP,WAAYA,EACZM,cAAeA,EACf+I,KAAM,WAetBtI,KAhKsC,SAAAC,GAgKR,IAAxBhB,EAAwBgB,EAAxBhB,WAAwBgB,EAAZR,UAEd,OACI8I,EAAAzS,EAAAuG,cAACoS,GAAD,CACIxP,WAAYA,EACZqJ,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,\"$&/\")+\"/\")+e)),c.push(a))}function W(a,b,e,c,d){var g=\"\";null!=e&&(g=(\"\"+e).replace(P,\"$&/\")+\"/\");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) => {\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) => {\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) => {\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) => {\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 //Paddingの条件分岐を追加\n if (dividerType === 'tilt') {\n\n sectionPadding = Math.abs(level);\n lenderDivider = tiltSectionStyle(level);\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);\n\n }else if(dividerType === 'wave'){\n\n sectionPadding = Math.abs(level);\n lenderDivider = waveSectionStyle(level);\n\n }else if(dividerType === 'triangle'){\n\n sectionPadding = Math.abs(level);\n lenderDivider = triangleSectionStyle(level);\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})$/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])$/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_tilt_level,\n lower_tilt_level,\n tiltBgColor,\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_tilt_level) {\n whichSideUpper = 'upper';\n }\n\n //下側セクションの傾き切り替え\n if (lower_tilt_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_tilt_level, tiltBgColor, whichSideUpper,dividerType)\n }\n <div className={containerClass}>\n {elm}\n </div>\n {\n componentDivider(lower_tilt_level, tiltBgColor, 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_tilt_level,\n lower_tilt_level,\n tiltBgColor,\n dividerType\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_tilt_level }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={ ( value ) => setAttributes( { upper_tilt_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<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_tilt_level }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={ ( value ) => setAttributes( { lower_tilt_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\t\tvalue={tiltBgColor}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({tiltBgColor: 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_tilt_level: {\n\t\ttype: 'number',\n\tdefault: 0,\n\t},\n\tlower_tilt_level: {\n\t\ttype: 'number',\n\tdefault: 0,\n\t},\n\ttiltBgColor: {\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_media_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 <div>\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 </div>\n );\n } else {\n return (\n <div>\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 </div>);\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","_this$props$attribute","bgColor","bgImage","bgPosition","outerWidth","padding_left_and_right","padding_top_and_bottom","opacity","upper_tilt_level","lower_tilt_level","tiltBgColor","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,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,KAK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,0FAA2F,aACpGtK,MAAOuW,EACP7K,SAAU,SAAC1L,GAAD,OAAWsL,EAAc,CAACiL,qBAAsBvW,KAC1DgO,YAAa,+BAIzBsG,EAAAzS,EAAAuG,cAAC8R,GAAD,CAAWrP,MAAOP,GAAG,iBAAkB,cAC/BgK,EAAAzS,EAAAuG,cAACmS,GAAD,CACIlN,MAAO/C,GAAG,cAAe,aACzBsB,SAAU8N,EACVnM,QAAS,CACL,CAACF,MAAO/C,GAAG,QAAS,aAActK,MAAO,SACzC,CAACqN,MAAO/C,GAAG,OAAQ,aAActK,MAAO,SAE5C0L,SAAU,SAAC1L,GAAD,OAAWsL,EAAc,CAACoO,OAAQ1Z,SAI5DsU,EAAAzS,EAAAuG,cAACoS,GAAD,CACIxP,WAAYA,EACZM,cAAeA,EACf+I,KAAM,WAetBtI,KAhKsC,SAAAC,GAgKR,IAAxBhB,EAAwBgB,EAAxBhB,WAAwBgB,EAAZR,UAEd,OACI8I,EAAAzS,EAAAuG,cAACoS,GAAD,CACIxP,WAAYA,EACZqJ,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,\"$&/\")+\"/\")+e)),c.push(a))}function W(a,b,e,c,d){var g=\"\";null!=e&&(g=(\"\"+e).replace(P,\"$&/\")+\"/\");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) => {\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) => {\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) => {\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) => {\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 //Paddingの条件分岐を追加\n if (dividerType === 'tilt') {\n\n sectionPadding = Math.abs(level);\n lenderDivider = tiltSectionStyle(level);\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);\n\n }else if(dividerType === 'wave'){\n\n sectionPadding = Math.abs(level);\n lenderDivider = waveSectionStyle(level);\n\n }else if(dividerType === 'triangle'){\n\n sectionPadding = Math.abs(level);\n lenderDivider = triangleSectionStyle(level);\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})$/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])$/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_tilt_level,\n lower_tilt_level,\n tiltBgColor,\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_tilt_level) {\n whichSideUpper = 'upper';\n }\n\n //下側セクションの傾き切り替え\n if (lower_tilt_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_tilt_level, tiltBgColor, whichSideUpper,dividerType)\n }\n <div className={containerClass}>\n {elm}\n </div>\n {\n componentDivider(lower_tilt_level, tiltBgColor, 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_tilt_level,\n lower_tilt_level,\n tiltBgColor,\n dividerType\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_tilt_level }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={ ( value ) => setAttributes( { upper_tilt_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<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_tilt_level }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={ ( value ) => setAttributes( { lower_tilt_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\t\tvalue={tiltBgColor}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={(value) => setAttributes({tiltBgColor: 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_tilt_level: {\n\t\ttype: 'number',\n\tdefault: 0,\n\t},\n\tlower_tilt_level: {\n\t\ttype: 'number',\n\tdefault: 0,\n\t},\n\ttiltBgColor: {\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_media_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":""}
|
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.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
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.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
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.
|
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.5.3
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vkExUnit
|
9 |
* Domain Path: /languages
|