PluginProbe
GutSlider – All in One Slider and Carousel Blocks for Gutenberg / 2.9.7
GutSlider – All in One Slider and Carousel Blocks for Gutenberg v2.9.7
3.1.0 3.0.0 2.13.2 2.13.1 2.13.0 trunk 1.0.0 2.1.0 2.10.0 2.10.1 2.11.0 2.11.1 2.11.2 2.11.3 2.11.4 2.12.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.1 2.5.3 2.5.4 2.5.5 2.6.1 All 56 releases
← All changes | build/admin/admin.js +1 -1 2.3.02.9.7 View file →
@@ -1 +1 @@
1 -(()=>{"use strict";var e,t={295:(e,t,l)=>{const a=window.wp.element,s=window.wp.i18n,r=window.wp.components,n=e=>{let{title:t,description:l,videoId:s,videoWidth:r="",videoHeight:n="",actions:i}=e;return(0,a.createElement)("div",{className:"video-container"},t&&(0,a.createElement)("h3",{className:"video-title"},t),l&&(0,a.createElement)("p",{className:"video-description"},l),(0,a.createElement)("div",{className:"video-wrapper"},(0,a.createElement)("iframe",{title:"GutSlider Blocks Video Tutorial",width:r||560,height:n||315,src:`https://www.youtube.com/embed/${s}`,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:""})),i&&(0,a.createElement)("div",{className:"video-actions"},i.map(((e,t)=>(0,a.createElement)("a",{key:t,className:"video-action",href:e.link,target:"_blank",rel:"noopener noreferrer"},e.label)))))},i=()=>{(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M4.355.522a.5.5 0 0 1 .623.333l.291.956A4.979 4.979 0 0 1 8 1c1.007 0 1.946.298 2.731.811l.29-.956a.5.5 0 1 1 .957.29l-.41 1.352A4.985 4.985 0 0 1 13 6h.5a.5.5 0 0 0 .5-.5V5a.5.5 0 0 1 1 0v.5A1.5 1.5 0 0 1 13.5 7H13v1h1.5a.5.5 0 0 1 0 1H13v1h.5a1.5 1.5 0 0 1 1.5 1.5v.5a.5.5 0 1 1-1 0v-.5a.5.5 0 0 0-.5-.5H13a5 5 0 0 1-10 0h-.5a.5.5 0 0 0-.5.5v.5a.5.5 0 1 1-1 0v-.5A1.5 1.5 0 0 1 2.5 10H3V9H1.5a.5.5 0 0 1 0-1H3V7h-.5A1.5 1.5 0 0 1 1 5.5V5a.5.5 0 0 1 1 0v.5a.5.5 0 0 0 .5.5H3c0-1.364.547-2.601 1.432-3.503l-.41-1.352a.5.5 0 0 1 .333-.623zM4 7v4a4 4 0 0 0 3.5 3.97V7H4zm4.5 0v7.97A4 4 0 0 0 12 11V7H8.5zM12 6a3.989 3.989 0 0 0-1.334-2.982A3.983 3.983 0 0 0 8 2a3.983 3.983 0 0 0-2.667 1.018A3.989 3.989 0 0 0 4 6h8z"})),(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M2.678 11.894a1 1 0 0 1 .287.801 10.97 10.97 0 0 1-.398 2c1.395-.323 2.247-.697 2.634-.893a1 1 0 0 1 .71-.074A8.06 8.06 0 0 0 8 14c3.996 0 7-2.807 7-6 0-3.192-3.004-6-7-6S1 4.808 1 8c0 1.468.617 2.83 1.678 3.894zm-.493 3.905a21.682 21.682 0 0 1-.713.129c-.2.032-.352-.176-.273-.362a9.68 9.68 0 0 0 .244-.637l.003-.01c.248-.72.45-1.548.524-2.319C.743 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.52.263-1.639.742-3.468 1.105z"}),(0,a.createElement)("path",{d:"M4 5.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zM4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8zm0 2.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5z"})),(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}),(0,a.createElement)("path",{d:"M11.315 10.014a.5.5 0 0 1 .548.736A4.498 4.498 0 0 1 7.965 13a4.498 4.498 0 0 1-3.898-2.25.5.5 0 0 1 .548-.736h.005l.017.005.067.015.252.055c.215.046.515.108.857.169.693.124 1.522.242 2.152.242.63 0 1.46-.118 2.152-.242a26.58 26.58 0 0 0 1.109-.224l.067-.015.017-.004.005-.002zM4.756 4.566c.763-1.424 4.02-.12.952 3.434-4.496-1.596-2.35-4.298-.952-3.434zm6.488 0c1.398-.864 3.544 1.838-.952 3.434-3.067-3.554.19-4.858.952-3.434z"}))},o=e=>{let{icon:t,title:l,description:s,action:r}=e;return(0,a.createElement)("div",{className:"card-wrapper"},t&&(0,a.createElement)("div",{className:"card-icon"},i[t]),l&&(0,a.createElement)("h3",{className:"card-title"},l),s&&(0,a.createElement)("p",{className:"card-description"},s),r&&(0,a.createElement)("a",{className:"card-actions",href:r.link,target:"_blank",rel:"noopener noreferrer"},r.label))},c=()=>(0,a.createElement)("div",{className:"welcome-tab-elements"},(0,a.createElement)("div",{className:"tab-container flex"},(0,a.createElement)("div",{className:"flex-2"},(0,a.createElement)(n,{title:(0,s.__)("Welcome to GutSlider Blocks","slider-blocks"),description:(0,s.__)("GutSlider Blocks is a Gutenberg block plugin that allows you to create sliders in the Gutenberg editor. Watch this video to get started.","slider-blocks"),videoId:"3PJKCaqd9RQ",actions:[{label:(0,s.__)("More Videos","slider-blocks"),link:"https://gutslider.com/videos"},{label:(0,s.__)("Documentation","slider-blocks"),link:"https://gutslider.com/docs"}]})),(0,a.createElement)("div",{className:"flex-1"},(0,a.createElement)(o,{title:(0,s.__)("Report Bugs","slider-blocks"),description:(0,s.__)("If you have found a bug in GutSlider Blocks, please report it in our support forum. We will fix it as soon as possible.","slider-blocks"),action:{label:(0,s.__)("Report Now","slider-blocks"),link:"https://wordpress.org/support/plugin/slider-blocks/"}}),(0,a.createElement)(o,{title:(0,s.__)("Love the Plugin","slider-blocks"),description:(0,s.__)("If you love GutSlider Blocks, please leave us a review on WordPress.org. We appreciate your support!","slider-blocks"),action:{label:(0,s.__)("Rate Now","slider-blocks"),link:"https://wordpress.org/support/plugin/slider-blocks/reviews/#new-post"}}),(0,a.createElement)(o,{title:(0,s.__)("Contact Us","slider-blocks"),description:(0,s.__)("If you have any questions or need help with GutSlider Blocks, please contact us. We are happy to help you!","slider-blocks"),action:{label:(0,s.__)("Contact Us","slider-blocks"),link:"https://gutenbergkits.com/contact"}})))),m=window.wp.apiFetch;var d=l.n(m);const u=e=>{let{name:t,description:l,demoLink:n="",activeBlock:i,onClick:o}=e;return(0,a.createElement)("div",{className:"single-block-wrapper"},(0,a.createElement)("div",{className:"single-block-head flex"},(0,a.createElement)("h3",{className:"single-block-title"},t),(0,a.createElement)(r.ToggleControl,{checked:i,onChange:o})),(0,a.createElement)("p",{className:"single-block-description"},l),n&&(0,a.createElement)("a",{className:"single-block-actions",href:n,target:"_blank",rel:"noopener noreferrer"},(0,s.__)("View Demo","slider-blocks")))},p="/wp/v2/settings",g="https://gutslider.com/demos",h=()=>{const[e,t]=(0,a.useState)(null),[l,r]=(0,a.useState)(null),[n,i]=(0,a.useState)(null),[o,c]=(0,a.useState)(null),[m,h]=(0,a.useState)(!1),v=async(e,l)=>{try{const a=await d()({path:p,method:"POST",data:{[l]:e}});t(a.gut_fixed_content_slider),r(a.gut_any_content_slider),i(a.gut_testimonial_slider),c(a.gut_post_slider),h(!0)}catch(e){console.error("Error updating content slider status",e)}};return(0,a.useEffect)((()=>{d()({path:p}).then((e=>{let{gut_fixed_content_slider:l,gut_any_content_slider:a,gut_testimonial_slider:s,gut_post_slider:n}=e;t(l),r(a),i(s),c(n)}))}),[]),(0,a.useEffect)((()=>{const e=setTimeout((()=>{h(!1)}),2e3);return()=>clearTimeout(e)}),[m]),(0,a.createElement)(a.Fragment,null,m&&(0,a.createElement)("div",{className:"gutslider-data-update-notice"},(0,a.createElement)("span",{className:"notice-icon"},(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}),(0,a.createElement)("path",{d:"M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z"}))),(0,s.__)("Changes saved successfully.","slider-blocks"),(0,a.createElement)("button",{className:"notice-close",onClick:()=>{h(!1)}},(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"})))),(0,a.createElement)("div",{className:"blocks-controls"},(0,a.createElement)(u,{name:"Any Content Slider",description:(0,s.__)("Create sliders with any content you want. You can add images, videos, text, buttons, and more.","slider-blocks"),demoLink:g,activeBlock:l,onClick:()=>v(!l,"gut_any_content_slider")}),(0,a.createElement)(u,{name:"Fixed Content Slider",description:(0,s.__)("Create sliders with fixed content. You can add images, text and button","slider-blocks"),demoLink:g,activeBlock:e,onClick:()=>v(!e,"gut_fixed_content_slider")}),(0,a.createElement)(u,{name:"Testimonial Slider",description:(0,s.__)("Showcase your custom testimonials or reviews in sliding mode easily.","slider-blocks"),demoLink:g,activeBlock:n,onClick:()=>v(!n,"gut_testimonial_slider")}),(0,a.createElement)(u,{name:"Post Slider",description:(0,s.__)("Showcase your blog posts in sliding mode easily and customize it as per your need.","slider-blocks"),demoLink:g,activeBlock:o,onClick:()=>v(!o,"gut_post_slider")})))},v=()=>(0,a.createElement)("div",{className:"welcome-tab-elements"},(0,a.createElement)("div",{className:"tab-container"},(0,a.createElement)("h3",{className:"settings-title"},(0,s.__)("Blocks List","slider-blocks")),(0,a.createElement)("div",{className:"blocks-container"},(0,a.createElement)(h,null)))),E=e=>{let{name:t,description:l,active:s,onClick:n}=e;return(0,a.createElement)("div",{className:"single-asset-wrapper"},(0,a.createElement)("div",{className:"single-block-head flex"},(0,a.createElement)("h3",{className:"single-block-title"},t),(0,a.createElement)(r.ToggleControl,{checked:s,onChange:n})),(0,a.createElement)("p",{className:"single-block-description"},l))},w="/wp/v2/settings",b=()=>{const[e,t]=(0,a.useState)(null),[l,r]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{d()({path:w}).then((e=>{let{swiper_scripts:l}=e;t(l)}))}),[]),(0,a.useEffect)((()=>{const e=setTimeout((()=>{r(!1)}),2e3);return()=>clearTimeout(e)}),[l]),(0,a.createElement)(a.Fragment,null,l&&(0,a.createElement)("div",{className:"gutslider-data-update-notice"},(0,a.createElement)("span",{className:"notice-icon"},(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}),(0,a.createElement)("path",{d:"M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z"}))),(0,s.__)("Changes saved successfully.","slider-blocks"),(0,a.createElement)("button",{className:"notice-close",onClick:()=>{r(!1)}},(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"})))),(0,a.createElement)("div",{className:"settings-controls"},(0,a.createElement)(E,{name:"Swiper - Bundle Version",description:(0,s.__)("Swiper JS is a powerful slider library that powers GutSlider Blocks. If you are already using Swiper JS on your website, you can disable it here. This will prevent any conflicts with the slider library. If you are not using Swiper JS, you can leave this enabled. This will load the library on your website. If you are not sure, leave this enabled. Keep in mind that if you disable this, you will not be able to use GutSlider Blocks unless you are already using Swiper JS on your website.","slider-blocks"),active:e,onClick:()=>(async(e,l)=>{try{const l=await d()({path:w,method:"POST",data:{swiper_scripts:e}});t(l.swiper_scripts),r(!0)}catch(e){console.error("Error updating",e)}})(!e)})))},k=()=>{const[e,t]=(0,a.useState)("assets");return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("h3",{className:"settings-title"},(0,s.__)("GutSlider Settings","slider-blocks")),(0,a.createElement)("div",{className:"settings-tabs"},(0,a.createElement)("div",{className:"tab-container settings-height flex"},(0,a.createElement)("div",{className:"flex-1"},(0,a.createElement)("div",{className:"setting-buttons"},(0,a.createElement)(r.Button,{className:"setting-btn "+("assets"===e?"active":""),onClick:()=>{t("assets")}},(0,s.__)("Assets Settings","slider-blocks")))),(0,a.createElement)("div",{className:"flex-2"},"blocks"===e&&(0,a.createElement)(h,null),"assets"===e&&(0,a.createElement)(b,null)))))},_=e=>{let{version:t,date:l,changes:s}=e;return(0,a.createElement)("div",{className:"single-version"},(0,a.createElement)("div",{className:"version-number"},`Version: ${t}`),(0,a.createElement)("div",{className:"version-date"},l),(0,a.createElement)("div",{className:"version-changes"},s&&Object.keys(s).map(((e,t)=>(0,a.createElement)("div",{className:"version-changes-group",key:t},(0,a.createElement)("div",{className:"version-changes-group-title"},e),(0,a.createElement)("div",{className:"version-changes-group-list"},s[e].map(((e,t)=>(0,a.createElement)("div",{className:"version-changes-group-list-item",key:t},`- ${e}`)))))))))},f=()=>(0,a.createElement)("div",{className:"log-panel"},(0,a.createElement)(_,{version:"2.3.0",date:"24 October, 2023",changes:{new:["New Block: Post Slider"],improvements:["Improve PHP code quality"]}}),(0,a.createElement)(_,{version:"2.2.2",date:"07 October, 2023",changes:{new:["New Block: Testimonial Slider"],fixed:["Adding New Block Issue","Block Recovery Issue","Direct Editor Editing Issue","Navigation Icon Color & Size Issue"],improvements:["Improve code quality","Improve performance","Blocks Icons"]}}),(0,a.createElement)(_,{version:"2.2.1",date:"30 September, 2023",changes:{fixed:["Outer navigation issue fixed"]}}),(0,a.createElement)(_,{version:"2.2.0",date:"30 September, 2023",changes:{features:["Complete Navigation Settings","New Navigation Styles","New Navigation Controls","Complete Pagination Settings","New Pagination Styles","New Pagination Controls","New Smart Admin Panel","Options to Enable/Disable Blocks","Option to enable/disable Swiper JS + CSS"],improvements:["Improve code quality","Improve performance"]}}),(0,a.createElement)(_,{version:"2.1.0",date:"21 September, 2023",changes:{features:["Carousel style","Any content slider and carousel","Slider and carousel controls","Navigation colors","New slider effects"],improvements:["Remove composer and make it simple","Improve code quality","Improve performance"]}}),(0,a.createElement)(_,{version:"1.0.0",date:"11 August,2023",changes:{info:["Initial release"]}})),N=e=>{let{setLogPanel:t}=e;return(0,a.createElement)("div",{className:"logs-panel-head flex"},(0,a.createElement)("h3",{className:"logs-panel-title"},(0,s.__)("GutSlider Changelogs","slider-blocks")),(0,a.createElement)(r.Button,{className:"close-log-panel",onClick:()=>t(!1)},(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{fillRule:"evenodd",d:"M12.293 3.293a1 1 0 0 1 1.414 1.414L9.414 9l4.293 4.293a1 1 0 1 1-1.414 1.414L8 10.414l-4.293 4.293a1 1 0 1 1-1.414-1.414L6.586 9 2.293 4.707A1 1 0 1 1 3.707 3.293L8 7.586l4.293-4.293z"}))))},y=()=>{const[e,t]=(0,a.useState)("welcome"),[l,n]=(0,a.useState)(!1);return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"container"},(0,a.createElement)("div",{className:"header"},(0,a.createElement)("div",{className:"header-content flex"},(0,a.createElement)("div",{className:"brand-area flex"},(0,a.createElement)("div",{className:"brand-logo"},(0,a.createElement)("svg",{width:108,height:108,viewBox:"0 0 108 108",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("circle",{cx:54,cy:54,r:54,fill:"#7456F2"}),(0,a.createElement)("rect",{x:24,y:38,width:15,height:31,rx:2,fill:"#BFAFFF"}),(0,a.createElement)("rect",{x:61,y:38,width:25,height:31,rx:2,fill:"#BFAFFF"}),(0,a.createElement)("g",{filter:"url(#filter0_d_8_4)"},(0,a.createElement)("rect",{x:34,y:28,width:40,height:52,rx:2,fill:"#E6E0FF"})),(0,a.createElement)("path",{d:"M57.6821 47.9232C57.6821 47.9232 58.7979 49.259 60.4639 48.5987C62.1299 47.9387 62.0669 45.7699 60.9827 44.8507C59.8981 43.9312 57.9413 41.7623 52.7554 41.4086C47.5691 41.0553 44.0564 44.8453 43.8443 45.0954C43.6321 45.3456 42.4534 45.8879 41.3927 44.8507C40.9213 44.3555 40.7092 43.1532 41.7228 42.2811C42.7365 41.4086 46.8853 37.2834 54.3581 38.1085C61.8313 38.9335 66.7345 44.7327 67.7246 50.4848C68.7147 56.2366 66.9705 62.8844 60.2282 67.0335C53.486 71.1826 44.4807 68.3067 41.3221 64.2047C40.4891 63.199 41.6519 60.15 44.1039 62.1303C46.5555 64.1105 51.6158 67.6308 58.5307 64.0161C65.446 60.4013 66.2631 51.1448 62.3026 51.1448H52.5429C51.3062 51.1448 50.3034 52.1476 50.3034 53.3843C50.3034 54.6213 51.3062 55.6237 52.5429 55.6237H59.5266C59.7131 55.6237 59.8434 55.8094 59.779 55.9843C59.3025 57.2749 57.2687 61.5601 51.4116 60.9986C44.5281 60.3387 41.8376 50.3335 49.62 46.3828C53.2032 44.7367 57.0222 46.8701 57.6821 47.9232Z",fill:"#7456F2"}),(0,a.createElement)("defs",null,(0,a.createElement)("filter",{id:"filter0_d_8_4",x:30,y:28,width:48,height:60,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},(0,a.createElement)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,a.createElement)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,a.createElement)("feOffset",{dy:4}),(0,a.createElement)("feGaussianBlur",{stdDeviation:2}),(0,a.createElement)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,a.createElement)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),(0,a.createElement)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_8_4"}),(0,a.createElement)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_8_4",result:"shape"})))),(0,a.createElement)("h3",{className:"brand-title"},(0,s.__)("GutSlider Blocks","slider-blocks"))),(0,a.createElement)("div",{className:"header-tabs"},(0,a.createElement)(r.ButtonGroup,null,(0,a.createElement)(r.Button,{className:"welcome-tab header-tab "+("welcome"===e?"active":""),onClick:()=>t("welcome")},(0,s.__)("Welcome","slider-blocks")),(0,a.createElement)(r.Button,{className:"blocks-tab header-tab "+("blocks"===e?"active":""),onClick:()=>t("blocks")},(0,s.__)("Blocks","slider-blocks")),(0,a.createElement)(r.Button,{className:"settings-tab header-tab "+("settings"===e?"active":""),onClick:()=>t("settings")},(0,s.__)("Settings","slider-blocks"))))),(0,a.createElement)("div",{className:"changes-log flex"},(0,a.createElement)("a",{href:"https://gutslider.com",target:"_blank",rel:"nofollow noreferrer",className:"gutslider-prop"},(0,s.__)("GutSlider Pro","slider-blocks")),(0,a.createElement)("p",{className:"current-version"},(0,s.__)("2.3.0","slider-blocks")),(0,a.createElement)(r.Button,{className:"changes-log-btn",onClick:()=>n(!0)},(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zM8 1.918l-.797.161A4.002 4.002 0 0 0 4 6c0 .628-.134 2.197-.459 3.742-.16.767-.376 1.566-.663 2.258h10.244c-.287-.692-.502-1.49-.663-2.258C12.134 8.197 12 6.628 12 6a4.002 4.002 0 0 0-3.203-3.92L8 1.917zM14.22 12c.223.447.481.801.78 1H1c.299-.199.557-.553.78-1C2.68 10.2 3 6.88 3 6c0-2.42 1.72-4.44 4.005-4.901a1 1 0 1 1 1.99 0A5.002 5.002 0 0 1 13 6c0 .88.32 4.2 1.22 6z"})))))),(0,a.createElement)("div",{className:"tabs-body"},"welcome"===e&&(0,a.createElement)(c,null),"blocks"===e&&(0,a.createElement)(v,null),"settings"===e&&(0,a.createElement)(k,null))),l&&(0,a.createElement)("div",{className:"logs-panel"},(0,a.createElement)(N,{setLogPanel:n}),(0,a.createElement)(f,null)))},C=()=>(0,a.createElement)(y,null);window.addEventListener("DOMContentLoaded",(()=>{const e=document.getElementById("gutslider");e&&(0,a.render)((0,a.createElement)(C,null),e)}))}},l={};function a(e){var s=l[e];if(void 0!==s)return s.exports;var r=l[e]={exports:{}};return t[e](r,r.exports,a),r.exports}a.m=t,e=[],a.O=(t,l,s,r)=>{if(!l){var n=1/0;for(m=0;m<e.length;m++){for(var[l,s,r]=e[m],i=!0,o=0;o<l.length;o++)(!1&r||n>=r)&&Object.keys(a.O).every((e=>a.O[e](l[o])))?l.splice(o--,1):(i=!1,r<n&&(n=r));if(i){e.splice(m--,1);var c=s();void 0!==c&&(t=c)}}return t}r=r||0;for(var m=e.length;m>0&&e[m-1][2]>r;m--)e[m]=e[m-1];e[m]=[l,s,r]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var l in t)a.o(t,l)&&!a.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={955:0,584:0};a.O.j=t=>0===e[t];var t=(t,l)=>{var s,r,[n,i,o]=l,c=0;if(n.some((t=>0!==e[t]))){for(s in i)a.o(i,s)&&(a.m[s]=i[s]);if(o)var m=o(a)}for(t&&t(l);c<n.length;c++)r=n[c],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(m)},l=globalThis.webpackChunkgutenberg_boilerplate=globalThis.webpackChunkgutenberg_boilerplate||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var s=a.O(void 0,[584],(()=>a(295)));s=a.O(s)})();
1 +(()=>{var e,t={31:(e,t,l)=>{"use strict";const a=window.React,r=window.wp.element,s=window.wp.components,n=window.wp.i18n,c=window.wp.apiFetch;var o=l.n(c),i=l(485),m=l.n(i);const d=()=>{const[e,t]=(0,r.useState)([]);(0,r.useEffect)((()=>{o()({path:"/gutslider/v1/blocks"}).then((e=>{e.length>0?t(e):console.error("No blocks found")}))}),[]);const[l,c]=(0,r.useState)(!1),i=l=>{const a=!e.find((e=>e.name===l)).active;o()({path:"/gutslider/v1/blocks",method:"POST",data:{nonce:gutslider?.nonce,name:l,active:a}}).then((e=>{t(e),c(!0)})).catch((e=>{console.error("Error updating block status:",e)}))};return(0,r.useEffect)((()=>{const e=setTimeout((()=>{c(!1)}),2e3);return()=>clearTimeout(e)}),[l]),(0,a.createElement)(r.Fragment,null,l&&(0,a.createElement)("div",{className:"gutslider-data-update-notice"},(0,a.createElement)("span",{className:"notice-icon"},(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}),(0,a.createElement)("path",{d:"M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z"}))),(0,n.__)("Changes saved successfully.","slider-blocks"),(0,a.createElement)("button",{className:"notice-close",onClick:()=>{c(!1)}},(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"})))),(0,a.createElement)("div",{className:"blocks-controls"},e&&e.length>0&&e.map(((e,t)=>(0,a.createElement)("div",{className:m()("single-block-wrapper",{pro:e?.is_pro}),key:t},e?.is_pro&&(0,a.createElement)("div",{className:"pro-badge"},(0,n.__)("Pro","slider-blocks")),(0,a.createElement)("div",{className:"single-block-head flex"},e?.title&&(0,a.createElement)("h3",{className:"single-block-title"},e.title),e?.is_pro?(0,a.createElement)(r.Fragment,null,gutslider?.isPro?(0,a.createElement)(s.ToggleControl,{checked:e?.active,onChange:()=>i(e?.name)}):(0,a.createElement)("a",{href:"https://gutslider.com/pricing",target:"_blank",rel:"noopener noreferrer",className:"upgrade-now"},(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Layer_1","data-name":"Layer 1",viewBox:"0 0 24 24"},(0,a.createElement)("path",{d:"m23.664,0h-8.475l-2.97,6.003c-.073-.002-.146-.003-.22-.003-.076,0-.152,0-.228.003L8.811,0H.324l4.637,9.399c-1.227,1.538-1.961,3.486-1.961,5.601,0,4.962,4.038,9,9,9s9-4.038,9-9c0-2.121-.738-4.072-1.97-5.612L23.664,0Zm-7.854,1h6.243l-3.751,7.582c-1.334-1.311-3.074-2.209-5.011-2.489l2.52-5.093ZM1.933,1h6.256l2.513,5.094c-1.943.282-3.686,1.186-5.021,2.504L1.933,1Zm18.067,14c0,4.411-3.589,8-8,8s-8-3.589-8-8S7.589,7,12,7s8,3.589,8,8Zm-7.244-5.135h-1.494l-.897,3.135h-3.365v1.453l2.318,1.336-1.081,2.955,1.158.86,2.614-2.074,2.609,2.093,1.205-.831-1.171-2.969,2.347-1.377v-1.445h-3.347l-.896-3.135Zm.652,5.528l1.14,2.892-2.536-2.034-2.535,2.011,1.067-2.919-2.328-1.343h2.902l.89-3.11.89,3.11h2.884l-2.375,1.393Z"})),(0,n.__)("Upgrade Now","slider-blocks"))):(0,a.createElement)(s.ToggleControl,{checked:e?.active,onChange:()=>i(e?.name)})),e?.description&&(0,a.createElement)("p",{className:"single-block-description"},e.description),e?.demo_slug&&(0,a.createElement)("a",{className:"single-block-actions",href:`https://gutslider.com/${e.demo_slug}`,target:"_blank",rel:"noopener noreferrer"},(0,n.__)("View Demo","slider-blocks")))))))},h=()=>(0,a.createElement)("div",{className:"welcome-tab-elements"},(0,a.createElement)("div",{className:"tab-container"},(0,a.createElement)("h3",{className:"settings-title"},(0,n.__)("Blocks List","slider-blocks")),(0,a.createElement)("div",{className:"blocks-container"},(0,a.createElement)(d,null)))),p=()=>(0,a.createElement)("p",{className:"current-version"},gutslider?.version),g=({setLogPanel:e})=>(0,a.createElement)("div",{className:"logs-panel-head flex"},(0,a.createElement)("h3",{className:"logs-panel-title"},(0,n.__)("GutSlider Changelogs","slider-blocks")),(0,a.createElement)(s.Button,{className:"close-log-panel",onClick:()=>e(!1)},(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{fillRule:"evenodd",d:"M12.293 3.293a1 1 0 0 1 1.414 1.414L9.414 9l4.293 4.293a1 1 0 1 1-1.414 1.414L8 10.414l-4.293 4.293a1 1 0 1 1-1.414-1.414L6.586 9 2.293 4.707A1 1 0 1 1 3.707 3.293L8 7.586l4.293-4.293z"})))),u=({version:e,date:t,changes:l})=>(0,a.createElement)("div",{className:"single-version"},(0,a.createElement)("div",{className:"version-number"},`Version: ${e}`),(0,a.createElement)("div",{className:"version-date"},t),(0,a.createElement)("div",{className:"version-changes"},l&&Object.keys(l).map(((e,t)=>(0,a.createElement)("div",{className:"version-changes-group",key:t},(0,a.createElement)("div",{className:"version-changes-group-title"},e),(0,a.createElement)("div",{className:"version-changes-group-list"},l[e].map(((e,t)=>(0,a.createElement)("div",{className:"version-changes-group-list-item",key:t},`- ${e}`))))))))),v=()=>{const e=gutslider?.changeLogs;return(0,a.createElement)("div",{className:"log-panel"},e&&e.length>0&&e.map(((e,t)=>(0,a.createElement)(u,{key:t,version:e.version,date:e.date,changes:e.changes}))))},E=()=>{(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M4.355.522a.5.5 0 0 1 .623.333l.291.956A4.979 4.979 0 0 1 8 1c1.007 0 1.946.298 2.731.811l.29-.956a.5.5 0 1 1 .957.29l-.41 1.352A4.985 4.985 0 0 1 13 6h.5a.5.5 0 0 0 .5-.5V5a.5.5 0 0 1 1 0v.5A1.5 1.5 0 0 1 13.5 7H13v1h1.5a.5.5 0 0 1 0 1H13v1h.5a1.5 1.5 0 0 1 1.5 1.5v.5a.5.5 0 1 1-1 0v-.5a.5.5 0 0 0-.5-.5H13a5 5 0 0 1-10 0h-.5a.5.5 0 0 0-.5.5v.5a.5.5 0 1 1-1 0v-.5A1.5 1.5 0 0 1 2.5 10H3V9H1.5a.5.5 0 0 1 0-1H3V7h-.5A1.5 1.5 0 0 1 1 5.5V5a.5.5 0 0 1 1 0v.5a.5.5 0 0 0 .5.5H3c0-1.364.547-2.601 1.432-3.503l-.41-1.352a.5.5 0 0 1 .333-.623zM4 7v4a4 4 0 0 0 3.5 3.97V7H4zm4.5 0v7.97A4 4 0 0 0 12 11V7H8.5zM12 6a3.989 3.989 0 0 0-1.334-2.982A3.983 3.983 0 0 0 8 2a3.983 3.983 0 0 0-2.667 1.018A3.989 3.989 0 0 0 4 6h8z"})),(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M2.678 11.894a1 1 0 0 1 .287.801 10.97 10.97 0 0 1-.398 2c1.395-.323 2.247-.697 2.634-.893a1 1 0 0 1 .71-.074A8.06 8.06 0 0 0 8 14c3.996 0 7-2.807 7-6 0-3.192-3.004-6-7-6S1 4.808 1 8c0 1.468.617 2.83 1.678 3.894zm-.493 3.905a21.682 21.682 0 0 1-.713.129c-.2.032-.352-.176-.273-.362a9.68 9.68 0 0 0 .244-.637l.003-.01c.248-.72.45-1.548.524-2.319C.743 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.52.263-1.639.742-3.468 1.105z"}),(0,a.createElement)("path",{d:"M4 5.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zM4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8zm0 2.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5z"})),(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}),(0,a.createElement)("path",{d:"M11.315 10.014a.5.5 0 0 1 .548.736A4.498 4.498 0 0 1 7.965 13a4.498 4.498 0 0 1-3.898-2.25.5.5 0 0 1 .548-.736h.005l.017.005.067.015.252.055c.215.046.515.108.857.169.693.124 1.522.242 2.152.242.63 0 1.46-.118 2.152-.242a26.58 26.58 0 0 0 1.109-.224l.067-.015.017-.004.005-.002zM4.756 4.566c.763-1.424 4.02-.12.952 3.434-4.496-1.596-2.35-4.298-.952-3.434zm6.488 0c1.398-.864 3.544 1.838-.952 3.434-3.067-3.554.19-4.858.952-3.434z"}))},b=({icon:e,title:t,description:l,action:r})=>(0,a.createElement)("div",{className:"card-wrapper"},e&&(0,a.createElement)("div",{className:"card-icon"},E[e]),t&&(0,a.createElement)("h3",{className:"card-title"},t),l&&(0,a.createElement)("p",{className:"card-description"},l),r&&(0,a.createElement)("a",{className:"card-actions",href:r.link,target:"_blank",rel:"noopener noreferrer"},r.label)),w=({title:e,description:t,videoId:l,videoWidth:r="",videoHeight:s="",actions:n})=>(0,a.createElement)("div",{className:"video-container"},e&&(0,a.createElement)("h3",{className:"video-title"},e),t&&(0,a.createElement)("p",{className:"video-description"},t),(0,a.createElement)("div",{className:"video-wrapper"},(0,a.createElement)("iframe",{title:"GutSlider Blocks Video Tutorial",width:r||560,height:s||315,src:`https://www.youtube.com/embed/${l}`,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:""})),n&&(0,a.createElement)("div",{className:"video-actions"},n.map(((e,t)=>(0,a.createElement)("a",{key:t,className:"video-action",href:e.link,target:"_blank",rel:"noopener noreferrer"},e.label))))),k=()=>(0,a.createElement)("div",{className:"welcome-tab-elements"},!gutslider?.isPro&&(0,a.createElement)("div",{className:"gutslider-dashboard-pro-notice"},(0,a.createElement)("div",{className:"left-area"},(0,a.createElement)("div",{className:"icon"},(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Layer_1","data-name":"Layer 1",viewBox:"0 0 24 24"},(0,a.createElement)("path",{d:"m23.664,0h-8.475l-2.97,6.003c-.073-.002-.146-.003-.22-.003-.076,0-.152,0-.228.003L8.811,0H.324l4.637,9.399c-1.227,1.538-1.961,3.486-1.961,5.601,0,4.962,4.038,9,9,9s9-4.038,9-9c0-2.121-.738-4.072-1.97-5.612L23.664,0Zm-7.854,1h6.243l-3.751,7.582c-1.334-1.311-3.074-2.209-5.011-2.489l2.52-5.093ZM1.933,1h6.256l2.513,5.094c-1.943.282-3.686,1.186-5.021,2.504L1.933,1Zm18.067,14c0,4.411-3.589,8-8,8s-8-3.589-8-8S7.589,7,12,7s8,3.589,8,8Zm-7.244-5.135h-1.494l-.897,3.135h-3.365v1.453l2.318,1.336-1.081,2.955,1.158.86,2.614-2.074,2.609,2.093,1.205-.831-1.171-2.969,2.347-1.377v-1.445h-3.347l-.896-3.135Zm.652,5.528l1.14,2.892-2.536-2.034-2.535,2.011,1.067-2.919-2.328-1.343h2.902l.89-3.11.89,3.11h2.884l-2.375,1.393Z"}))),(0,a.createElement)("div",{className:"title"},(0,n.__)("Upgrade to GutSlider Pro","slider-blocks")),(0,a.createElement)("div",{className:"features-list"},(0,a.createElement)("li",{className:"single-feature"},(0,n.__)("10+ Pro Slider and Carousel Blocks","slider-blocks")),(0,a.createElement)("li",{className:"single-feature"},(0,n.__)("25+ Interactive Content Animations","slider-blocks")),(0,a.createElement)("li",{className:"single-feature"},(0,n.__)("Static and Dynamic Content","slider-blocks")),(0,a.createElement)("li",{className:"single-feature"},(0,n.__)("Interactive Freemium Styles","slider-blocks")))),(0,a.createElement)("div",{className:"right-area"},(0,a.createElement)("a",{href:"https://gutslider.com/pricing",target:"_blank",rel:"noopener noreferrer",className:"button button-primary"},(0,n.__)("Upgrade Now","slider-blocks")))),(0,a.createElement)("div",{className:"tab-container flex"},(0,a.createElement)("div",{className:"flex-2"},(0,a.createElement)(w,{title:(0,n.__)("Welcome to GutSlider Blocks","slider-blocks"),description:(0,n.__)("GutSlider Blocks is a Gutenberg block plugin that allows you to create sliders in the Gutenberg editor. Watch this video to get started.","slider-blocks"),videoId:"P9Zj4bSVq4I",actions:[{label:(0,n.__)("More Videos","slider-blocks"),link:"https://gutslider.com/videos"},{label:(0,n.__)("Documentation","slider-blocks"),link:"https://gutslider.com/docs"}]})),(0,a.createElement)("div",{className:"flex-1"},(0,a.createElement)(b,{title:(0,n.__)("Report Bugs","slider-blocks"),description:(0,n.__)("If you have found a bug in GutSlider Blocks, please report it in our support forum. We will fix it as soon as possible.","slider-blocks"),action:{label:(0,n.__)("Report Now","slider-blocks"),link:"https://wordpress.org/support/plugin/slider-blocks/"}}),(0,a.createElement)(b,{title:(0,n.__)("Love the Plugin","slider-blocks"),description:(0,n.__)("If you love GutSlider Blocks, please leave us a review on WordPress.org. We appreciate your support!","slider-blocks"),action:{label:(0,n.__)("Rate Now","slider-blocks"),link:"https://wordpress.org/support/plugin/slider-blocks/reviews/#new-post"}}),(0,a.createElement)(b,{title:(0,n.__)("Contact Us","slider-blocks"),description:(0,n.__)("If you have any questions or need help with GutSlider Blocks, please contact us. We are happy to help you!","slider-blocks"),action:{label:(0,n.__)("Contact Us","slider-blocks"),link:"https://gutenbergkits.com/contact"}})))),f=()=>{const[e,t]=(0,r.useState)("welcome"),[l,c]=(0,r.useState)(!1);return(0,a.createElement)(r.Fragment,null,(0,a.createElement)("div",{className:"container"},(0,a.createElement)("div",{className:"header"},(0,a.createElement)("div",{className:"header-content flex"},(0,a.createElement)("div",{className:"brand-area flex"},(0,a.createElement)("div",{className:"brand-logo"},(0,a.createElement)("svg",{width:"45",height:"45",viewBox:"0 0 45 45",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("path",{d:"M5 45C3.625 45 2.44833 44.5108 1.47 43.5325C0.491667 42.5542 0.00166667 41.3767 0 40V5C0 3.625 0.49 2.44833 1.47 1.47C2.45 0.491667 3.62667 0.00166667 5 0H40C41.375 0 42.5525 0.49 43.5325 1.47C44.5125 2.45 45.0017 3.62667 45 5V40C45 41.375 44.5108 42.5525 43.5325 43.5325C42.5542 44.5125 41.3767 45.0017 40 45H5ZM17.5 35H27.5C28.875 35 30.0525 34.5108 31.0325 33.5325C32.0125 32.5542 32.5017 31.3767 32.5 30V20H22.5V25H27.5V30H17.5V15H32.5C32.5 13.625 32.0108 12.4483 31.0325 11.47C30.0542 10.4917 28.8767 10.0017 27.5 10H17.5C16.125 10 14.9483 10.49 13.97 11.47C12.9917 12.45 12.5017 13.6267 12.5 15V30C12.5 31.375 12.99 32.5525 13.97 33.5325C14.95 34.5125 16.1267 35.0017 17.5 35Z",fill:"#5034C5"})),(0,a.createElement)("h3",{className:"brand-title"},(0,n.__)("GutSlider Blocks","slider-blocks"))),(0,a.createElement)("div",{className:"header-tabs"},(0,a.createElement)(s.ButtonGroup,null,(0,a.createElement)(s.Button,{className:"welcome-tab header-tab "+("welcome"===e?"active":""),onClick:()=>t("welcome")},(0,n.__)("Welcome","slider-blocks")),(0,a.createElement)(s.Button,{className:"blocks-tab header-tab "+("blocks"===e?"active":""),onClick:()=>t("blocks")},(0,n.__)("Blocks","slider-blocks"))))),(0,a.createElement)("div",{className:"changes-log flex"},(0,a.createElement)("a",{href:"https://gutslider.com",target:"_blank",rel:"nofollow noreferrer",className:"gutslider-prop"},gutslider?.isPro?(0,a.createElement)(r.Fragment,null,(0,a.createElement)("span",{className:"pro-version"},(0,n.__)("Pro","slider-blocks"),":"),gutslider?.proVersion):(0,a.createElement)(r.Fragment,null,(0,n.__)("GutSlider Pro","slider-blocks"))),(0,a.createElement)(p,null),(0,a.createElement)(s.Button,{className:"changes-log-btn",onClick:()=>c(!0)},(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},(0,a.createElement)("path",{d:"M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zM8 1.918l-.797.161A4.002 4.002 0 0 0 4 6c0 .628-.134 2.197-.459 3.742-.16.767-.376 1.566-.663 2.258h10.244c-.287-.692-.502-1.49-.663-2.258C12.134 8.197 12 6.628 12 6a4.002 4.002 0 0 0-3.203-3.92L8 1.917zM14.22 12c.223.447.481.801.78 1H1c.299-.199.557-.553.78-1C2.68 10.2 3 6.88 3 6c0-2.42 1.72-4.44 4.005-4.901a1 1 0 1 1 1.99 0A5.002 5.002 0 0 1 13 6c0 .88.32 4.2 1.22 6z"})))))),(0,a.createElement)("div",{className:"tabs-body"},"welcome"===e&&(0,a.createElement)(k,null),"blocks"===e&&(0,a.createElement)(h,null))),l&&(0,a.createElement)("div",{className:"logs-panel"},(0,a.createElement)(g,{setLogPanel:c}),(0,a.createElement)(v,null)))},_=()=>(0,a.createElement)(f,null);window.addEventListener("DOMContentLoaded",(()=>{const e=document.getElementById("gutslider");e&&(0,r.render)((0,a.createElement)(_,null),e)}))},485:(e,t)=>{var l;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var s=typeof l;if("string"===s||"number"===s)e.push(l);else if(Array.isArray(l)){if(l.length){var n=r.apply(null,l);n&&e.push(n)}}else if("object"===s){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){e.push(l.toString());continue}for(var c in l)a.call(l,c)&&l[c]&&e.push(c)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(l=function(){return r}.apply(t,[]))||(e.exports=l)}()}},l={};function a(e){var r=l[e];if(void 0!==r)return r.exports;var s=l[e]={exports:{}};return t[e](s,s.exports,a),s.exports}a.m=t,e=[],a.O=(t,l,r,s)=>{if(!l){var n=1/0;for(m=0;m<e.length;m++){for(var[l,r,s]=e[m],c=!0,o=0;o<l.length;o++)(!1&s||n>=s)&&Object.keys(a.O).every((e=>a.O[e](l[o])))?l.splice(o--,1):(c=!1,s<n&&(n=s));if(c){e.splice(m--,1);var i=r();void 0!==i&&(t=i)}}return t}s=s||0;for(var m=e.length;m>0&&e[m-1][2]>s;m--)e[m]=e[m-1];e[m]=[l,r,s]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var l in t)a.o(t,l)&&!a.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={16:0,524:0};a.O.j=t=>0===e[t];var t=(t,l)=>{var r,s,[n,c,o]=l,i=0;if(n.some((t=>0!==e[t]))){for(r in c)a.o(c,r)&&(a.m[r]=c[r]);if(o)var m=o(a)}for(t&&t(l);i<n.length;i++)s=n[i],a.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return a.O(m)},l=globalThis.webpackChunkgutenberg_boilerplate=globalThis.webpackChunkgutenberg_boilerplate||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var r=a.O(void 0,[524],(()=>a(31)));r=a.O(r)})();