!function(){"use strict";var t=ReactDOM,e=wp.element,n=function(t){var e=t.attributes,n=t.isBackend,o=void 0!==n&&n,c=e.slides,i=void 0===c?[]:c,a=e.isPage,r=e.isPrevNext,l=e.isTitle,d=e.isDesc,s=e.isBtn;return React.createElement("div",{className:"csbContentSlider"},React.createElement("div",{className:"swiper-wrapper"},i.map((function(t,e){var n,c=t.positionHolder,i=t.title,a=t.description,r=t.btnText,u=t.btnLink;return React.createElement("div",{key:e,className:"slide slide-".concat(e," swiper-slide")},React.createElement("div",{className:"sliderContent ".concat((null==c||null===(n=c.split(" "))||void 0===n?void 0:n.join("-"))||"center-center")},l&&i&&React.createElement("h2",{className:"sliderTitle",dangerouslySetInnerHTML:{__html:i}}),d&&a&&React.createElement("p",{className:"sliderDescription",dangerouslySetInnerHTML:{__html:a}}),s&&r&&React.createElement("a",{href:o?"#":u,className:"sliderBtn",dangerouslySetInnerHTML:{__html:r}})))}))),a&&React.createElement("div",{className:"swiper-pagination"}),r&&React.createElement(React.Fragment,null,React.createElement("div",{className:"swiper-button-prev"}),React.createElement("div",{className:"swiper-button-next"})))},o=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],c=t||{},i=c.type,a=void 0===i?"solid":i,r=c.color,l=void 0===r?"#000000b3":r,d=c.gradient,s=void 0===d?"linear-gradient(135deg, #4527a4, #8344c5)":d,u=c.image,p=void 0===u?{}:u,v=c.position,f=void 0===v?"center center":v,g=c.attachment,b=void 0===g?"initial":g,m=c.repeat,h=void 0===m?"no-repeat":m,y=c.size,w=void 0===y?"cover":y,k=c.overlayColor,x=void 0===k?"#000000b3":k,S="gradient"===a&&n?"background: ".concat(s,";"):"image"===a&&o?"background: url(".concat(null==p?void 0:p.url,");\n\t\t\t\tbackground-color: ").concat(x,";\n\t\t\t\tbackground-position: ").concat(f,";\n\t\t\t\tbackground-size: ").concat(w,";\n\t\t\t\tbackground-repeat: ").concat(h,";\n\t\t\t\tbackground-attachment: ").concat(b,";\n\t\t\t\tbackground-blend-mode: overlay;"):e&&"background: ".concat(l,";");return S},c=function(t){var e=t||{},n=e.width,o=void 0===n?"0px":n,c=e.style,i=void 0===c?"solid":c,a=e.color,r=void 0===a?"#0000":a,l=e.side,d=void 0===l?"all":l,s=e.radius,u=void 0===s?"0px":s,p=function(t){var e=null==d?void 0:d.toLowerCase();return(null==e?void 0:e.includes("all"))||(null==e?void 0:e.includes(t))},v="0px"===o||!o,f="".concat(o," ").concat(i," ").concat(r),g="\n\t\t".concat(v?"":["top","right","bottom","left"].map((function(t){return p(t)?"border-".concat(t,": ").concat(f,";"):""})).join(""),"\n\t\t").concat(u?"border-radius: ".concat(u,";"):"","\n\t");return g},i=function(t){var e=t||{},n=e.color,o=void 0===n?"#333":n,c=e.bgType,i=void 0===c?"solid":c,a=e.bg,r=void 0===a?"#0000":a,l=e.gradient,d=void 0===l?"linear-gradient(135deg, #4527a4, #8344c5)":l;return"\n\t\t".concat(o?"color: ".concat(o,";"):"","\n\t\t").concat(d||r?"background: ".concat("gradient"===i?d:r,";"):"","\n\t")},a=function(t){var e=t||{},n=e.side,o=void 0===n?2:n,c=e.vertical,i=void 0===c?"0px":c,a=e.horizontal,r=void 0===a?"0px":a,l=e.top,d=void 0===l?"0px":l,s=e.right,u=void 0===s?"0px":s,p=e.bottom,v=void 0===p?"0px":p,f=e.left,g=void 0===f?"0px":f;return 2===o?"".concat(i," ").concat(r):"".concat(d," ").concat(u," ").concat(v," ").concat(g)},r=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=e||{},c=o.fontFamily,i=void 0===c?"Default":c,a=o.fontCategory,r=void 0===a?"sans-serif":a,l=o.fontVariant,d=void 0===l?400:l,s=o.fontWeight,u=void 0===s?400:s,p=o.isUploadFont,v=void 0===p||p,f=o.fontSize,g=void 0===f?{desktop:15,tablet:15,mobile:15}:f,b=o.fontStyle,m=void 0===b?"normal":b,h=o.textTransform,y=void 0===h?"none":h,w=o.textDecoration,k=void 0===w?"auto":w,x=o.lineHeight,S=void 0===x?"135%":x,O=o.letterSpace,E=void 0===O?"0px":O,C=function(t,e){return t?"".concat(e,": ").concat(t,";"):""},P=!n||!i||"Default"===i,j=(null==g?void 0:g.desktop)||g,R=(null==g?void 0:g.tablet)||j,T=(null==g?void 0:g.mobile)||R,D="\n\t\t".concat(P?"":"font-family: '".concat(i,"', ").concat(r,";"),"\n\t\t").concat(C(u,"font-weight"),"\n\t\t","font-size: ".concat(j,"px;"),"\n\t\t").concat(C(m,"font-style"),"\n\t\t").concat(C(y,"text-transform"),"\n\t\t").concat(C(k,"text-decoration"),"\n\t\t").concat(C(S,"line-height"),"\n\t\t").concat(C(E,"letter-spacing"),"\n\t"),N=d&&400!==d?"400i"===d?":ital@1":null!=d&&d.includes("00i")?": ital, wght@1, ".concat(null==d?void 0:d.replace("00i","00")," "):": wght@".concat(d," "):"",F=P?"":"https://fonts.googleapis.com/css2?family=".concat(null==i?void 0:i.split(" ").join("+")).concat(N.replace(/ /g,""),"&display=swap");return{googleFontLink:!v||P?"":"@import url(".concat(F,");"),styles:"".concat(t,"{\n\t\t\t").concat(D,"\n\t\t}\n\t\t@media (max-width: 768px) {\n\t\t\t").concat(t,"{\n\t\t\t\t","font-size: ".concat(R,"px;"),"\n\t\t\t}\n\t\t}\n\t\t@media (max-width: 576px) {\n\t\t\t").concat(t,"{\n\t\t\t\t","font-size: ".concat(T,"px;"),"\n\t\t\t}\n\t\t}").replace(/\s+/g," ").trim()}},l=function(t){var e,n,l,d,s,u,p=t.attributes,v=t.clientId,f=p.slides,g=void 0===f?[]:f,b=p.sliderWidth,m=p.sliderHeight,h=p.pageOnDevice,y=void 0===h?{}:h,w=p.prevNextOnDevice,k=void 0===w?{}:w,x=p.sliderBG,S=void 0===x?{}:x,O=p.sliderPadding,E=void 0===O?{}:O,C=p.pageColor,P=p.pageWidth,j=p.pageHeight,R=p.pageBorder,T=p.prevNextColor,D=p.sliderAlign,N=p.titleTypo,F=p.descTypo,L=p.btnTypo,M=p.btnPadding,A=p.btnBorder,B="#csbContentSlider-".concat(v),H="".concat(B," .csbContentSlider"),I="".concat(H," .slide");return React.createElement(React.Fragment,null,React.createElement("style",{dangerouslySetInnerHTML:{__html:"\n\t\t\t\t".concat(null===(e=r("",N))||void 0===e?void 0:e.googleFontLink,"\n\t\t\t\t").concat(null===(n=r("",F))||void 0===n?void 0:n.googleFontLink,"\n\t\t\t\t").concat(null===(l=r("",L))||void 0===l?void 0:l.googleFontLink,"\n\t\t\t\t").concat(null===(d=r("".concat(I," .sliderTitle"),N))||void 0===d?void 0:d.styles,"\n\t\t\t\t").concat(null===(s=r("".concat(I," .sliderDescription"),F))||void 0===s?void 0:s.styles,"\n\t\t\t\t").concat(null===(u=r("".concat(I," .sliderBtn"),L))||void 0===u?void 0:u.styles,"\n\n\t\t\t\t").concat(B," .csbSliderWrapper{\n\t\t\t\t\ttext-align: ").concat(D,";\n\t\t\t\t\theight: ").concat(m,";\n\t\t\t\t}\n\t\t\t\t").concat(H,"{\n\t\t\t\t\twidth: ").concat(b,";\n\t\t\t\t\theight: ").concat(m,";\n\t\t\t\t\t").concat(o(S),";\n\t\t\t\t\tpadding: ").concat(a(E),";\n\t\t\t\t}\n\n\t\t\t\t").concat(I," .sliderBtn{\n\t\t\t\t\tpadding: ").concat(a(M),";\n\t\t\t\t\t").concat(c(A),"\n\t\t\t\t}\n\n\t\t\t\t").concat(H," .swiper-pagination .swiper-pagination-bullet{\n\t\t\t\t\tbackground: ").concat(C,";\n\t\t\t\t\twidth: ").concat(P,";\n\t\t\t\t\theight: ").concat(j,";\n\t\t\t\t\t").concat(c(R),"\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t").concat(H," .swiper-button-prev, ").concat(H," .swiper-button-next{\n\t\t\t\t\tcolor: ").concat(T,";\n\t\t\t\t}\n\n\t\t\t\t@media (max-width: 768px) {\n\t\t\t\t\t").concat(H," .swiper-pagination{\n\t\t\t\t\t\tdisplay: ").concat(null!=y&&y.tablet?"block":"none",";\n\t\t\t\t\t}\n\t\t\t\t\t").concat(H," .swiper-button-prev, ").concat(H," .swiper-button-next{\n\t\t\t\t\t\tdisplay: ").concat(null!=k&&k.tablet?"flex":"none",";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t@media (max-width: 576px) { \n\t\t\t\t\t").concat(H," .swiper-pagination{\n\t\t\t\t\t\tdisplay: ").concat(null!=y&&y.mobile?"block":"none",";\n\t\t\t\t\t}\n\t\t\t\t\t").concat(H," .swiper-button-prev, ").concat(H," .swiper-button-next{\n\t\t\t\t\t\tdisplay: ").concat(null!=k&&k.mobile?"flex":"none",";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t").replace(/\s+/g," ")}}),React.createElement("style",null,g.map((function(t,e){for(var n,a=t.background,r=t.border,l=void 0===r?{}:r,d=t.childPositions,s=void 0===d?[{left:5.8,top:11},{left:5.8,top:22},{left:5.8,top:33}]:d,u=t.titleColor,p=t.descColor,v=t.btnColors,f=t.btnHovColors,g="".concat(H," .slide-").concat(e),b=(null===(n=document.querySelector("".concat(g," .sliderContent")))||void 0===n?void 0:n.children)||[],m="",h=0;h *:nth-child(").concat(h+1,"){\n\t\t\t\t\t\ttop: ").concat(s[h].top,"%; left: ").concat(s[h].left,"%;\n\t\t\t\t\t}");return"".concat(g,"{\n\t\t\t\t\t\t").concat(o(a),"\n\t\t\t\t\t\t").concat(c(l)||"","\n\t\t\t\t\t}\n\t\t\t\t\t").concat(g," .sliderTitle{\n\t\t\t\t\t\tcolor: ").concat(u||"#fff",";\n\t\t\t\t\t}\n\t\t\t\t\t").concat(g," .sliderDescription{\n\t\t\t\t\t\tcolor: ").concat(p||"#fff",";\n\t\t\t\t\t}\n\t\t\t\t\t").concat(g," .sliderBtn{\n\t\t\t\t\t\t").concat(i(v)||"color: #fff; background: #4527a4;","\n\t\t\t\t\t}\n\t\t\t\t\t").concat(g," .sliderBtn:hover{\n\t\t\t\t\t\t").concat(i(f)||"color: #fff; background: #8344c5;","\n\t\t\t\t\t}\n\t\t\t\t\t").concat(m,"\n\t\t\t\t").replace(/\s+/g," ")}))))};function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function s(t){for(var e=1;e2&&void 0!==arguments[2]&&arguments[2],o=t.columns,c=t.columnGap,i=t.isLoop,a=t.isTouchMove,r=t.speed,l=t.isAutoplay,d=t.autoplayOptions,u=t.freeModeOptions,p=t.effect,v=t.keyboardOptions,f=t.isMousewheel,g=t.isPageClickable,b=t.isPageDynamic;return{direction:"horizontal",initialSlide:e,slidesPerView:null==o?void 0:o.mobile,breakpoints:{576:{slidesPerView:null==o?void 0:o.tablet},768:{slidesPerView:null==o?void 0:o.desktop}},spaceBetween:c,loop:i,allowTouchMove:!n&&a,grabCursor:!n&&a,autoplay:!(!l||n)&&s(s({},d),{},{delay:1e3*d.delay}),freeMode:u,speed:1e3*r,effect:p,fadeEffect:{crossFade:!1},cubeEffect:{shadow:!1},creativeEffect:{prev:{shadow:!0,translate:["-120%",0,-500]},next:{shadow:!0,translate:["120%",0,-500]}},keyboard:v,mousewheel:f,allowSlideNext:!0,allowSlidePrev:!0,autoHeight:!1,notificationClass:null,pagination:{el:".swiper-pagination",clickable:g,dynamicBullets:b},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}};function v(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n3&&void 0!==arguments[3]&&arguments[3],c=arguments.length>4?arguments[4]:void 0,i=(null==e?void 0:e.children)||[];if(null!=i&&i.length)for(var a=v(Array(i.length).keys()).reverse(),r=Math.ceil(i.length/2-1),l=v(Array(r).keys()).reverse(),d=0;d