Carousel Slider - Version 1.9.4

Version Description

Download this release

Release Info

Developer sayful
Plugin Icon Carousel Slider
Version 1.9.4
Comparing to
See all releases

Code changes from version 1.9.3 to 1.9.4

assets/css/admin.css CHANGED
@@ -1 +1 @@
1
- div[id*="_carousel_slider"] .widget-top{background:#ddffff !important;border:1px solid #2196f3 !important}div[id*="_carousel_slider"] .widget-top:hover{background:#ffdddd !important;border:1px solid #f44336 !important}.shapla-toggle{margin:1em 0 !important}.shapla-toggle-title{display:block;padding:15px 10px;outline:0;cursor:pointer;position:relative}.shapla-toggle-title:after{position:absolute;right:15px;font:400 20px/1 dashicons;margin-left:-1px;padding-right:3px;vertical-align:top;content:"\f132"}.shapla-toggle-title.ui-state-active:after{content:"\f460"}.shapla-toggle-content{padding:20px;background-color:#f1f1f1}.shapla-toggle--normal .shapla-toggle-title{background:#9e9e9e;color:white;font-weight:600}.shapla-toggle--stroke .shapla-toggle-title{border:1px solid #363f48;font-weight:600}.shapla-toggle--stroke .shapla-toggle-title:after{color:#363f48}.shapla-toggle--stroke .shapla-toggle-content{padding:20px;background-color:#ffffff;border:1px solid #363f48;border-top:none}.overflowHidden{overflow:hidden}.overflowVisible{overflow:visible}.sp-input-group{margin-bottom:10px}.sp-input-group:after{content:"";display:table;clear:both}.sp-input-label label{font-weight:600;margin-right:30px}.sp-input-label,.sp-input-field{float:left;width:100%}.sp-input-desc{color:#999;font-size:0.9em;line-height:1.3em;margin:10px 30px 10px 0}.sp-input-text{width:100%;padding:8px 8px 8px 16px;height:35px !important}.sp-input-text option{padding:8px 4px}.spacing-text{width:62px}@media only screen and (min-width: 600px){.sp-input-label{width:40%}.sp-input-field{width:60%}}@media only screen and (min-width: 783px){.sp-input-label{width:30%}.sp-input-field{width:70%}.sp-input-text{width:25em}}@media only screen and (min-width: 851px){.sp-input-label,.sp-input-field{width:100%}}@media only screen and (min-width: 1200px){.sp-input-label{width:40%}.sp-input-field{width:60%}}@media only screen and (min-width: 1600px){.sp-input-label{width:30%}.sp-input-field{width:70%}}.carousel_slider_images:before,.carousel_slider_images:after{display:table;content:""}.carousel_slider_images:after{clear:both}.carousel_slider_gallery_btn{border:1px solid #616161;color:#616161;background-color:#f1f1f1;padding:5px 15px;text-decoration:none}.carousel_slider_gallery_btn:hover{background-color:#ffffff;color:#616161}.carousel_slider_gallery_list{margin:15px 0 0 0;padding:0;list-style:none;-webkit-box-sizing:border-box;box-sizing:border-box}.carousel_slider_gallery_list:before,.carousel_slider_gallery_list:after{display:table;content:""}.carousel_slider_gallery_list:after{clear:both}.carousel_slider_gallery_list li{float:left;margin:0;padding:0}.carousel_slider_gallery_list li>img{margin-right:10px;margin-bottom:10px;display:block;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);box-shadow:0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)}#field-_post_date_after,#field-_post_date_before,#field-_post_categories,#field-_post_tags,#field-_post_in{display:none}#field-_product_query,#field-_product_categories,#field-_product_tags,#field-_product_in{display:none}#carousel-slider-navigation-settings p,#carousel-slider-responsive-settings p,#carousel-slider-autoplay-settings p{overflow:hidden}#carousel-slider-navigation-settings input.small-text,#carousel-slider-navigation-settings select.small-text,#carousel-slider-responsive-settings input.small-text,#carousel-slider-responsive-settings select.small-text,#carousel-slider-autoplay-settings input.small-text,#carousel-slider-autoplay-settings select.small-text{float:right}.tab-background .slide_bg_wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;padding:1rem 0}.tab-background .slide_thumb{position:relative;float:left;margin-right:1rem;border:solid 1px #e0e0e0;padding:5px}.tab-background .slide_thumb>div{width:320px;height:180px;background-color:#f1f1f1;background-repeat:no-repeat;background-position:top left;background-size:100% auto}.tab-background .slide_thumb>span{display:inline-block;position:absolute;top:0;right:0;font-family:Arial, Helvetica, sans-serif;font-size:14px;line-height:14px;padding:3px 3px;background-color:rgba(0,0,0,0.5);color:#ffffff;cursor:pointer;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.tab-background .slide_thumb>span.hidden{display:none !important}.tab-background .slide_image_settings_line{display:block;margin:0.5rem 0}.tab-background .slide_image_settings_line>span{width:150px;display:inline-block}.ui-datepicker{background-color:#ffffff;border:1px solid #cccccc;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);box-shadow:0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);padding:8px;display:none}.ui-datepicker-header{background-color:#f1f1f1}.ui-datepicker-prev,.ui-datepicker-next{color:#000;padding:6px;cursor:pointer}.ui-datepicker-prev:hover,.ui-datepicker-next:hover{color:#000}.ui-datepicker-prev{float:left}.ui-datepicker-next{float:right}.ui-datepicker-calendar td>a{border:1px solid #ddd;display:block;padding:6px;text-decoration:none;color:#000;background-color:#f1f1f1}.ui-datepicker-calendar td.ui-datepicker-today>a{color:#000;background-color:#ffeb3b}.ui-datepicker-calendar td.ui-datepicker-current-day>a{color:#fff;background-color:#f44336}.sp-wp-editor-container{max-width:560px}.select2-container{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:block;height:28px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{-webkit-box-sizing:border-box;box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;height:1px !important;margin:-1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:0}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:0;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{-webkit-box-sizing:border-box;box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:0;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:0;outline:0;background-image:-webkit-linear-gradient(top, white 50%, #eee 100%);background-image:-o-linear-gradient(top, white 50%, #eee 100%);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(50%, white), to(#eee));background-image:linear-gradient(to bottom, white 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(50%, #eee), to(#ccc));background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, white 0%, #eee 50%);background-image:-o-linear-gradient(top, white 0%, #eee 50%);background-image:-webkit-gradient(linear, left top, left bottom, from(white), color-stop(50%, #eee));background-image:linear-gradient(to bottom, white 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, white 100%);background-image:-o-linear-gradient(top, #eee 50%, white 100%);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(50%, #eee), to(white));background-image:linear-gradient(to bottom, #eee 50%, white 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:0;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:0;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;-webkit-box-shadow:none;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:white;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:white}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}.carousel_slider-modal{display:none;position:fixed;z-index:10000;left:0;top:0;width:100%;height:100%;overflow:hidden;background-color:#000;background-color:rgba(0,0,0,0.8)}.carousel_slider-modal-content{position:relative;background-color:#fefefe;margin:50px auto 18px;padding:0;border:1px solid #23282d;min-height:300px;width:412px;-webkit-box-shadow:0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);box-shadow:0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)}.carousel_slider-modal-header{background-color:#23282d;color:white;font-weight:bold;padding:10px 16px}.carousel_slider-modal-body{overflow-x:hidden;overflow-y:scroll;padding:2px 16px}.carousel_slider-modal-footer{background-color:#23282d;color:white;font-weight:bold;padding:10px 16px}.carousel_slider-modal-footer img{display:none;height:14px;vertical-align:middle;width:14px}.carousel_slider-form{margin-left:-15px;margin-right:-15px}.carousel_slider-fields{background-color:#f1f1f1;margin:15px;padding:15px 25px 15px 15px;position:relative;display:inline-block;float:left}.carousel_slider-fields label.setting{display:block;margin-bottom:5px}.carousel_slider-fields label.setting .name{display:inline-block;vertical-align:top;width:75px}.carousel_slider-fields label.setting input,.carousel_slider-fields label.setting textarea{width:250px}.carousel_slider-fields .actions{position:absolute;right:0;top:0}.carousel_slider-fields .actions>span{background:#fff none repeat scroll 0 0;display:block;float:none;cursor:pointer}.carousel_slider-fields .actions>span .dashicons-plus-alt:hover{color:green}.carousel_slider-fields .actions>span .dashicons-trash:hover{color:red}.carousel_slider-close{color:#f1f1f1;float:right;font-size:28px;font-weight:bold}.carousel_slider-close:hover,.carousel_slider-close:focus{color:#fff;text-decoration:none;cursor:pointer}.carousel_slider_url_images_list{margin:15px 0 0;padding:0;list-style:none}.carousel_slider_url_images_list li{float:left;display:inline-block;margin:0 5px 5px 0}@media only screen and (min-width: 820px){.carousel_slider-modal-content{width:810px}}@media only screen and (min-width: 1230px){.carousel_slider-modal-content{width:1220px}}.modal{bottom:0;left:0;position:absolute;right:0;top:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:none;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;position:fixed;z-index:10000}.admin-bar .modal{top:32px}.modal .delete-icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0.2);border:none;border-radius:32px;cursor:pointer;display:inline-block;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;font-size:1rem;outline:none;position:relative;vertical-align:top;height:20px;width:20px}.modal .delete-icon:before,.modal .delete-icon:after{background-color:#fff;content:"";display:block;left:50%;position:absolute;top:50%;-webkit-transform:translateX(-50%) translateY(-50%) rotate(45deg);-ms-transform:translateX(-50%) translateY(-50%) rotate(45deg);transform:translateX(-50%) translateY(-50%) rotate(45deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center}.modal .delete-icon:before{height:2px;width:50%}.modal .delete-icon:after{height:50%;width:2px}.modal .delete-icon:hover,.modal .delete-icon:focus{background-color:rgba(0,0,0,0.3)}.modal .delete-icon:active{background-color:rgba(0,0,0,0.4)}.modal .delete-icon.is-small{height:16px;width:16px}.modal .delete-icon.is-medium{height:24px;width:24px}.modal .delete-icon.is-large{height:32px;width:32px}.modal.is-active{display:-webkit-box;display:-ms-flexbox;display:flex}.modal-background{bottom:0;left:0;position:absolute;right:0;top:0;background-color:rgba(0,0,0,0.86)}.modal-content,.modal-card{margin:0 20px;max-height:calc(100vh - 160px);overflow:auto;position:relative;width:100%}@media screen and (min-width: 769px), print{.modal-content,.modal-card{margin:0 auto;max-height:calc(100vh - 40px);width:640px}}.modal-close{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0.2);border:none;border-radius:32px;cursor:pointer;display:inline-block;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;font-size:1rem;outline:none;position:relative;vertical-align:top;height:20px;width:20px;background:none;height:40px;position:fixed;right:20px;top:20px;width:40px}.modal-close:before,.modal-close:after{background-color:#fff;content:"";display:block;left:50%;position:absolute;top:50%;-webkit-transform:translateX(-50%) translateY(-50%) rotate(45deg);-ms-transform:translateX(-50%) translateY(-50%) rotate(45deg);transform:translateX(-50%) translateY(-50%) rotate(45deg);-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center}.modal-close:before{height:2px;width:50%}.modal-close:after{height:50%;width:2px}.modal-close:hover,.modal-close:focus{background-color:rgba(0,0,0,0.3)}.modal-close:active{background-color:rgba(0,0,0,0.4)}.modal-close.is-small{height:16px;width:16px}.modal-close.is-medium{height:24px;width:24px}.modal-close.is-large{height:32px;width:32px}.modal-card{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:calc(100vh - 40px);overflow:hidden}.modal-card-head,.modal-card-foot{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#f5f5f5;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin:0;padding:20px;position:relative}.modal-card-head{border-bottom:1px solid #f5f5f5;border-top-left-radius:5px;border-top-right-radius:5px}.modal-card-title{color:#212121;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;font-size:1.5rem;line-height:1;margin:0;padding:0}.modal-card-foot{border-bottom-left-radius:5px;border-bottom-right-radius:5px;border-top:1px solid #f5f5f5}.modal-card-foot .button:not(:last-child){margin-right:10px}.modal-card-body{-webkit-overflow-scrolling:touch;background-color:#fff;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1;overflow:auto;margin:0;padding:20px}.cs-tooltip{display:inline-block;width:1.5em;height:1.5em;float:right}.cs-tooltip:after{font-family:Dashicons;speak:none;font-weight:400;text-transform:none;-webkit-font-smoothing:antialiased;width:100%;height:100%;text-align:center;content:"\f223";cursor:help}#tiptip_holder{display:none;position:absolute;top:0;left:0;z-index:99999}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_left{padding-right:5px}#tiptip_content{font-size:11px;color:#fff;text-shadow:0 0 2px #000;padding:4px 8px;border:1px solid rgba(255,255,255,0.25);background-color:#191919;background-color:rgba(25,25,25,0.92);background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;box-shadow:0 0 3px #555;-webkit-box-shadow:0 0 3px #555;-moz-box-shadow:0 0 3px #555}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}#tiptip_holder.tip_top #tiptip_arrow{border-top-color:#fff;border-top-color:rgba(255,255,255,0.35)}#tiptip_holder.tip_bottom #tiptip_arrow{border-bottom-color:#fff;border-bottom-color:rgba(255,255,255,0.35)}#tiptip_holder.tip_right #tiptip_arrow{border-right-color:#fff;border-right-color:rgba(255,255,255,0.35)}#tiptip_holder.tip_left #tiptip_arrow{border-left-color:#fff;border-left-color:rgba(255,255,255,0.35)}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#191919;border-top-color:rgba(25,25,25,0.92)}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#191919;border-bottom-color:rgba(25,25,25,0.92)}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#191919;border-right-color:rgba(25,25,25,0.92)}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#191919;border-left-color:rgba(25,25,25,0.92)}@media screen and (-webkit-min-device-pixel-ratio: 0){#tiptip_content{padding:4px 8px 5px 8px;background-color:rgba(45,45,45,0.88)}#tiptip_holder.tip_bottom #tiptip_arrow_inner{border-bottom-color:rgba(45,45,45,0.88)}#tiptip_holder.tip_top #tiptip_arrow_inner{border-top-color:rgba(20,20,20,0.92)}}.shapla-nav{list-style:none !important;margin:0;padding:0}.shapla-nav:before,.shapla-nav:after{display:table;content:' '}.shapla-nav:after{clear:both}.shapla-nav li{float:left;position:relative;margin:0 1px -1px 0 !important;z-index:1;outline:0}.shapla-nav a{text-decoration:none;display:block;padding:15px 10px;line-height:1;outline:0}.shapla-tab{margin:0 0 2em 0;padding:21px 20px 20px 20px}.shapla-tab p:first-of-type{margin-top:0}.shapla-tab p:last-of-type{margin-bottom:0}.shapla-tabs--normal .shapla-nav a{background:#323232;color:#fff}.shapla-tabs--normal .shapla-nav .ui-tabs-active a{background:#f1f1f1;color:#323232;outline:0}.shapla-tabs--normal .shapla-tab{background:#f1f1f1}.shapla-tabs--stroke .shapla-nav li{margin:0 -1px 0 0 !important}.shapla-tabs--stroke .shapla-nav a{border:1px solid #323232;color:#323232}.shapla-tabs--stroke .shapla-nav .ui-tabs-active a{border-bottom-color:white}.shapla-tabs--stroke .shapla-tab{border:1px solid #323232;margin-top:-1px}.carousel_slider_iframe{position:relative;padding-bottom:56.25%;padding-top:25px;height:0}.carousel_slider_iframe>iframe{position:absolute;top:0;left:0;width:100%;height:100%}.carousel_slider_columns{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-sizing:border-box;box-sizing:border-box}.carousel_slider_column{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;padding:1rem;-webkit-box-sizing:border-box;box-sizing:border-box}@media screen and (min-width: 601px){.carousel_slider_column{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%}}@media screen and (min-width: 1025px){.carousel_slider_column{-webkit-box-flex:0;-ms-flex:0 0 33.333333%;flex:0 0 33.333333%}}@media screen and (min-width: 1400px){.carousel_slider_column{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%}}
1
+ div[id*=_carousel_slider] .widget-top{background:#dff!important;border:1px solid #2196f3!important}div[id*=_carousel_slider] .widget-top:hover{background:#fdd!important;border:1px solid #f44336!important}.shapla-toggle{margin:1em 0!important}.shapla-toggle-title{display:block;padding:15px 10px;outline:0;cursor:pointer;position:relative}.shapla-toggle-title:after{position:absolute;right:15px;font:400 20px/1 dashicons;margin-left:-1px;padding-right:3px;vertical-align:top;content:"\f132"}.shapla-toggle-title.ui-state-active:after{content:"\f460"}.shapla-toggle-content{padding:20px;background-color:#f1f1f1}.shapla-toggle--normal .shapla-toggle-title{background:#9e9e9e;color:#fff;font-weight:600}.shapla-toggle--stroke .shapla-toggle-title{border:1px solid #363f48;font-weight:600}.shapla-toggle--stroke .shapla-toggle-title:after{color:#363f48}.shapla-toggle--stroke .shapla-toggle-content{padding:20px;background-color:#fff;border:1px solid #363f48;border-top:none}.overflowHidden{overflow:hidden}.overflowVisible{overflow:visible}.sp-input-group{margin-bottom:10px}.sp-input-group:after{content:"";display:table;clear:both}.sp-input-label label{font-weight:600;margin-right:30px}.sp-input-field,.sp-input-label{float:left;width:100%}.sp-input-desc{color:#999;font-size:.9em;line-height:1.3em;margin:10px 30px 10px 0}.sp-input-text{width:100%;padding:8px 8px 8px 16px;height:35px!important}.sp-input-text option{padding:8px 4px}.spacing-text{width:62px}@media only screen and (min-width:600px){.sp-input-label{width:40%}.sp-input-field{width:60%}}@media only screen and (min-width:783px){.sp-input-label{width:30%}.sp-input-field{width:70%}.sp-input-text{width:25em}}@media only screen and (min-width:851px){.sp-input-field,.sp-input-label{width:100%}}@media only screen and (min-width:1200px){.sp-input-label{width:40%}.sp-input-field{width:60%}}@media only screen and (min-width:1600px){.sp-input-label{width:30%}.sp-input-field{width:70%}}.carousel_slider_images:after,.carousel_slider_images:before{display:table;content:""}.carousel_slider_images:after{clear:both}.carousel_slider_gallery_btn{border:1px solid #616161;color:#616161;background-color:#f1f1f1;padding:5px 15px;text-decoration:none}.carousel_slider_gallery_btn:hover{background-color:#fff;color:#616161}.carousel_slider_gallery_list{margin:15px 0 0;padding:0;list-style:none;-webkit-box-sizing:border-box;box-sizing:border-box}.carousel_slider_gallery_list:after,.carousel_slider_gallery_list:before{display:table;content:""}.carousel_slider_gallery_list:after{clear:both}.carousel_slider_gallery_list li{float:left;margin:0;padding:0}.carousel_slider_gallery_list li>img{margin-right:10px;margin-bottom:10px;display:block;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);box-shadow:0 2px 4px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12)}#field-_post_categories,#field-_post_date_after,#field-_post_date_before,#field-_post_in,#field-_post_tags,#field-_product_categories,#field-_product_in,#field-_product_query,#field-_product_tags{display:none}#carousel-slider-autoplay-settings p,#carousel-slider-navigation-settings p,#carousel-slider-responsive-settings p{overflow:hidden}#carousel-slider-autoplay-settings input.small-text,#carousel-slider-autoplay-settings select.small-text,#carousel-slider-navigation-settings input.small-text,#carousel-slider-navigation-settings select.small-text,#carousel-slider-responsive-settings input.small-text,#carousel-slider-responsive-settings select.small-text{float:right}.tab-background .slide_bg_wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;padding:1rem 0}.tab-background .slide_thumb{position:relative;float:left;margin-right:1rem;border:1px solid #e0e0e0;padding:5px}.tab-background .slide_thumb>div{width:320px;height:180px;background-color:#f1f1f1;background-repeat:no-repeat;background-position:0 0;background-size:100% auto}.tab-background .slide_thumb>span{display:inline-block;position:absolute;top:0;right:0;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:14px;padding:3px;background-color:rgba(0,0,0,.5);color:#fff;cursor:pointer;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.tab-background .slide_thumb>span.hidden{display:none!important}.tab-background .slide_image_settings_line{display:block;margin:.5rem 0}.tab-background .slide_image_settings_line>span{width:150px;display:inline-block}.ui-datepicker{background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);box-shadow:0 2px 4px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);padding:8px;display:none}.ui-datepicker-header{background-color:#f1f1f1}.ui-datepicker-next,.ui-datepicker-prev{color:#000;padding:6px;cursor:pointer}.ui-datepicker-next:hover,.ui-datepicker-prev:hover{color:#000}.ui-datepicker-prev{float:left}.ui-datepicker-next{float:right}.ui-datepicker-calendar td>a{border:1px solid #ddd;display:block;padding:6px;text-decoration:none;color:#000;background-color:#f1f1f1}.ui-datepicker-calendar td.ui-datepicker-today>a{color:#000;background-color:#ffeb3b}.ui-datepicker-calendar td.ui-datepicker-current-day>a{color:#fff;background-color:#f44336}.sp-wp-editor-container{max-width:560px}.select2-container{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:block;height:28px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{-webkit-box-sizing:border-box;box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #aaa;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:0}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent;border-style:solid;border-width:5px 4px 0;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888;border-width:0 4px 5px}.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:0;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{-webkit-box-sizing:border-box;box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:0;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-search--inline,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder{float:right}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #000;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:#fff}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:0;outline:0;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(50%,#fff),to(#eee));background-image:linear-gradient(180deg,#fff 50%,#eee);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFFFF",endColorstr="#FFEEEEEE",GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(50%,#eee),to(#ccc));background-image:linear-gradient(180deg,#eee 50%,#ccc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFEEEEEE",endColorstr="#FFCCCCCC",GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent;border-style:solid;border-width:5px 4px 0;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888;border-width:0 4px 5px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),color-stop(50%,#eee));background-image:linear-gradient(180deg,#fff 0,#eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFFFF",endColorstr="#FFEEEEEE",GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(50%,#eee),to(#fff));background-image:linear-gradient(180deg,#eee 50%,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFEEEEEE",endColorstr="#FFFFFFFF",GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:0;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:0;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice{float:right;margin-left:5px;margin-right:auto}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;-webkit-box-shadow:none;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}.carousel_slider-modal{display:none;position:fixed;z-index:10000;left:0;top:0;width:100%;height:100%;overflow:hidden;background-color:#000;background-color:rgba(0,0,0,.8)}.carousel_slider-modal-content{position:relative;background-color:#fefefe;margin:50px auto 18px;padding:0;border:1px solid #23282d;min-height:300px;width:412px;-webkit-box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)}.carousel_slider-modal-header{background-color:#23282d;color:#fff;font-weight:700;padding:10px 16px}.carousel_slider-modal-body{overflow-x:hidden;overflow-y:scroll;padding:2px 16px}.carousel_slider-modal-footer{background-color:#23282d;color:#fff;font-weight:700;padding:10px 16px}.carousel_slider-modal-footer img{display:none;height:14px;vertical-align:middle;width:14px}.carousel_slider-form{margin-left:-15px;margin-right:-15px}.carousel_slider-fields{background-color:#f1f1f1;margin:15px;padding:15px 25px 15px 15px;position:relative;display:inline-block;float:left}.carousel_slider-fields label.setting{display:block;margin-bottom:5px}.carousel_slider-fields label.setting .name{display:inline-block;vertical-align:top;width:75px}.carousel_slider-fields label.setting input,.carousel_slider-fields label.setting textarea{width:250px}.carousel_slider-fields .actions{position:absolute;right:0;top:0}.carousel_slider-fields .actions>span{background:#fff none repeat scroll 0 0;display:block;float:none;cursor:pointer}.carousel_slider-fields .actions>span .dashicons-plus-alt:hover{color:green}.carousel_slider-fields .actions>span .dashicons-trash:hover{color:red}.carousel_slider-close{color:#f1f1f1;float:right;font-size:28px;font-weight:700}.carousel_slider-close:focus,.carousel_slider-close:hover{color:#fff;text-decoration:none;cursor:pointer}.carousel_slider_url_images_list{margin:15px 0 0;padding:0;list-style:none}.carousel_slider_url_images_list li{float:left;display:inline-block;margin:0 5px 5px 0}@media only screen and (min-width:820px){.carousel_slider-modal-content{width:810px}}@media only screen and (min-width:1230px){.carousel_slider-modal-content{width:1220px}}.modal{bottom:0;left:0;position:absolute;right:0;top:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:none;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;position:fixed;z-index:10000}.admin-bar .modal{top:32px}.modal .delete-icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,.2);border:none;border-radius:32px;cursor:pointer;display:inline-block;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;font-size:1rem;outline:none;position:relative;vertical-align:top;height:20px;width:20px}.modal .delete-icon:after,.modal .delete-icon:before{background-color:#fff;content:"";display:block;left:50%;position:absolute;top:50%;-webkit-transform:translateX(-50%) translateY(-50%) rotate(45deg);transform:translateX(-50%) translateY(-50%) rotate(45deg);-webkit-transform-origin:center center;transform-origin:center center}.modal .delete-icon:before{height:2px;width:50%}.modal .delete-icon:after{height:50%;width:2px}.modal .delete-icon:focus,.modal .delete-icon:hover{background-color:rgba(0,0,0,.3)}.modal .delete-icon:active{background-color:rgba(0,0,0,.4)}.modal .delete-icon.is-small{height:16px;width:16px}.modal .delete-icon.is-medium{height:24px;width:24px}.modal .delete-icon.is-large{height:32px;width:32px}.modal.is-active{display:-webkit-box;display:-ms-flexbox;display:flex}.modal-background{bottom:0;left:0;position:absolute;right:0;top:0;background-color:rgba(0,0,0,.86)}.modal-card,.modal-content{margin:0 20px;max-height:calc(100vh - 160px);overflow:auto;position:relative;width:100%}@media print,screen and (min-width:769px){.modal-card,.modal-content{margin:0 auto;max-height:calc(100vh - 40px);width:640px}}.modal-close{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,.2);border:none;border-radius:32px;cursor:pointer;display:inline-block;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;font-size:1rem;outline:none;position:relative;vertical-align:top;height:20px;width:20px;background:none;height:40px;position:fixed;right:20px;top:20px;width:40px}.modal-close:after,.modal-close:before{background-color:#fff;content:"";display:block;left:50%;position:absolute;top:50%;-webkit-transform:translateX(-50%) translateY(-50%) rotate(45deg);transform:translateX(-50%) translateY(-50%) rotate(45deg);-webkit-transform-origin:center center;transform-origin:center center}.modal-close:before{height:2px;width:50%}.modal-close:after{height:50%;width:2px}.modal-close:focus,.modal-close:hover{background-color:rgba(0,0,0,.3)}.modal-close:active{background-color:rgba(0,0,0,.4)}.modal-close.is-small{height:16px;width:16px}.modal-close.is-medium{height:24px;width:24px}.modal-close.is-large{height:32px;width:32px}.modal-card{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-height:calc(100vh - 40px);overflow:hidden}.modal-card,.modal-card-foot,.modal-card-head{display:-webkit-box;display:-ms-flexbox;display:flex}.modal-card-foot,.modal-card-head{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#f5f5f5;-ms-flex-negative:0;flex-shrink:0;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin:0;padding:20px;position:relative}.modal-card-head{border-bottom:1px solid #f5f5f5;border-top-left-radius:5px;border-top-right-radius:5px}.modal-card-title{color:#212121;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;font-size:1.5rem;line-height:1;margin:0;padding:0}.modal-card-foot{border-bottom-left-radius:5px;border-bottom-right-radius:5px;border-top:1px solid #f5f5f5}.modal-card-foot .button:not(:last-child){margin-right:10px}.modal-card-body{-webkit-overflow-scrolling:touch;background-color:#fff;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1;overflow:auto;margin:0;padding:20px}.cs-tooltip{display:inline-block;width:1.5em;height:1.5em;float:right}.cs-tooltip:after{font-family:Dashicons;speak:none;font-weight:400;text-transform:none;-webkit-font-smoothing:antialiased;width:100%;height:100%;text-align:center;content:"\f223";cursor:help}#tiptip_holder{display:none;position:absolute;top:0;left:0;z-index:99999}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_left{padding-right:5px}#tiptip_content{font-size:11px;color:#fff;text-shadow:0 0 2px #000;padding:4px 8px;border:1px solid hsla(0,0%,100%,.25);background-color:#191919;background-color:rgba(25,25,25,.92);background-image:-webkit-gradient(linear,0 0,0 100%,from(transparent),to(#000));border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;box-shadow:0 0 3px #555;-webkit-box-shadow:0 0 3px #555;-moz-box-shadow:0 0 3px #555}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border:6px solid transparent;height:0;width:0}#tiptip_holder.tip_top #tiptip_arrow{border-top-color:#fff;border-top-color:hsla(0,0%,100%,.35)}#tiptip_holder.tip_bottom #tiptip_arrow{border-bottom-color:#fff;border-bottom-color:hsla(0,0%,100%,.35)}#tiptip_holder.tip_right #tiptip_arrow{border-right-color:#fff;border-right-color:hsla(0,0%,100%,.35)}#tiptip_holder.tip_left #tiptip_arrow{border-left-color:#fff;border-left-color:hsla(0,0%,100%,.35)}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#191919;border-top-color:rgba(25,25,25,.92)}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#191919;border-bottom-color:rgba(25,25,25,.92)}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#191919;border-right-color:rgba(25,25,25,.92)}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#191919;border-left-color:rgba(25,25,25,.92)}@media screen and (-webkit-min-device-pixel-ratio:0){#tiptip_content{padding:4px 8px 5px;background-color:rgba(45,45,45,.88)}#tiptip_holder.tip_bottom #tiptip_arrow_inner{border-bottom-color:rgba(45,45,45,.88)}#tiptip_holder.tip_top #tiptip_arrow_inner{border-top-color:rgba(20,20,20,.92)}}.shapla-nav{list-style:none!important;margin:0;padding:0}.shapla-nav:after,.shapla-nav:before{display:table;content:" "}.shapla-nav:after{clear:both}.shapla-nav li{float:left;position:relative;margin:0 1px -1px 0!important;z-index:1;outline:0}.shapla-nav a{text-decoration:none;display:block;padding:15px 10px;line-height:1;outline:0}.shapla-tab{margin:0 0 2em;padding:21px 20px 20px}.shapla-tab p:first-of-type{margin-top:0}.shapla-tab p:last-of-type{margin-bottom:0}.shapla-tabs--normal .shapla-nav a{background:#323232;color:#fff}.shapla-tabs--normal .shapla-nav .ui-tabs-active a{background:#f1f1f1;color:#323232;outline:0}.shapla-tabs--normal .shapla-tab{background:#f1f1f1}.shapla-tabs--stroke .shapla-nav li{margin:0 -1px 0 0!important}.shapla-tabs--stroke .shapla-nav a{border:1px solid #323232;color:#323232}.shapla-tabs--stroke .shapla-nav .ui-tabs-active a{border-bottom-color:#fff}.shapla-tabs--stroke .shapla-tab{border:1px solid #323232;margin-top:-1px}.carousel_slider_iframe{position:relative;padding-bottom:56.25%;padding-top:25px;height:0}.carousel_slider_iframe>iframe{position:absolute;top:0;left:0;width:100%;height:100%}.carousel_slider_columns{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.carousel_slider_column,.carousel_slider_columns{-webkit-box-sizing:border-box;box-sizing:border-box}.carousel_slider_column{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;padding:1rem}@media screen and (min-width:601px){.carousel_slider_column{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%}}@media screen and (min-width:1025px){.carousel_slider_column{-webkit-box-flex:0;-ms-flex:0 0 33.333333%;flex:0 0 33.333333%}}@media screen and (min-width:1400px){.carousel_slider_column{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%}}
assets/css/frontend.css ADDED
@@ -0,0 +1 @@
 
1
+ .carousel-slider{display:none;width:100%;-webkit-tap-highlight-color:transparent;position:relative;z-index:1}.carousel-slider .owl-stage{position:relative;-ms-touch-action:pan-Y;touch-action:manipulation;-webkit-backface-visibility:hidden;backface-visibility:hidden}.carousel-slider .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.carousel-slider .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.carousel-slider .owl-carousel .owl-item,.carousel-slider .owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.carousel-slider .owl-item{position:relative;min-height:1px;float:left;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.carousel-slider .owl-item img{display:block;width:100%}.carousel-slider .owl-dots.disabled,.carousel-slider .owl-nav.disabled{display:none}.carousel-slider .owl-dot,.carousel-slider .owl-nav .owl-next,.carousel-slider .owl-nav .owl-prev{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.carousel-slider .owl-nav button.owl-next,.carousel-slider .owl-nav button.owl-prev,.carousel-slider button.owl-dot{background:none;color:inherit;border:none;padding:0!important;font:inherit}.carousel-slider.owl-loaded{display:block}.carousel-slider.owl-loading{opacity:0;display:block}.carousel-slider.owl-hidden{opacity:0}.carousel-slider.owl-refresh .owl-item{visibility:hidden}.carousel-slider.owl-drag .owl-item{-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.carousel-slider.owl-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.carousel-slider.owl-rtl{direction:rtl}.carousel-slider.owl-rtl .owl-item{float:right}.no-js .carousel-slider{display:block}.carousel-slider .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.carousel-slider .owl-animated-in{z-index:0}.carousel-slider .owl-animated-out{z-index:1}.carousel-slider .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}.carousel-slider .fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}.carousel-slider .fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}.carousel-slider .fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}.carousel-slider .fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}.carousel-slider .zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.owl-height{-webkit-transition:height .5s ease-in-out;transition:height .5s ease-in-out}.carousel-slider .owl-item img.owl-lazy{background:url(data:image/gif;base64,R0lGODlhIAAgAPMAAP///5aWlufn58zMzODg4NXV1aysrLm5ue7u7vPz8+Li4qKiopeXlwAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQSDITM5VDW6XNE4KagNh6Bgwe60smQUB3d4Rz1ZBApnFASDd0hihh12BkE9kjAJVlycXIg7CQIFA6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYtyWTxIfy6BE8WJt5YJvpJivxNaGmLHT0VnOgSYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ/V/nmOM82XiHRLYKhKP1oZmADdEAAAh+QQJCgAAACwAAAAAIAAgAAAE6hDISWlZpOrNp1lGNRSdRpDUolIGw5RUYhhHukqFu8DsrEyqnWThGvAmhVlteBvojpTDDBUEIFwMFBRAmBkSgOrBFZogCASwBDEY/CZSg7GSE0gSCjQBMVG023xWBhklAnoEdhQEfyNqMIcKjhRsjEdnezB+A4k8gTwJhFuiW4dokXiloUepBAp5qaKpp6+Ho7aWW54wl7obvEe0kRuoplCGepwSx2jJvqHEmGt6whJpGpfJCHmOoNHKaHx61WiSR92E4lbFoq+B6QDtuetcaBPnW6+O7wDHpIiK9SaVK5GgV543tzjgGcghAgAh+QQJCgAAACwAAAAAIAAgAAAE7hDISSkxpOrN5zFHNWRdhSiVoVLHspRUMoyUakyEe8PTPCATW9A14E0UvuAKMNAZKYUZCiBMuBakSQKG8G2FzUWox2AUtAQFcBKlVQoLgQReZhQlCIJesQXI5B0CBnUMOxMCenoCfTCEWBsJColTMANldx15BGs8B5wlCZ9Po6OJkwmRpnqkqnuSrayqfKmqpLajoiW5HJq7FL1Gr2mMMcKUMIiJgIemy7xZtJsTmsM4xHiKv5KMCXqfyUCJEonXPN2rAOIAmsfB3uPoAK++G+w48edZPK+M6hLJpQg484enXIdQFSS1u6UhksENEQAAIfkECQoAAAAsAAAAACAAIAAABOcQyEmpGKLqzWcZRVUQnZYg1aBSh2GUVEIQ2aQOE+G+cD4ntpWkZQj1JIiZIogDFFyHI0UxQwFugMSOFIPJftfVAEoZLBbcLEFhlQiqGp1Vd140AUklUN3eCA51C1EWMzMCezCBBmkxVIVHBWd3HHl9JQOIJSdSnJ0TDKChCwUJjoWMPaGqDKannasMo6WnM562R5YluZRwur0wpgqZE7NKUm+FNRPIhjBJxKZteWuIBMN4zRMIVIhffcgojwCF117i4nlLnY5ztRLsnOk+aV+oJY7V7m76PdkS4trKcdg0Zc0tTcKkRAAAIfkECQoAAAAsAAAAACAAIAAABO4QyEkpKqjqzScpRaVkXZWQEximw1BSCUEIlDohrft6cpKCk5xid5MNJTaAIkekKGQkWyKHkvhKsR7ARmitkAYDYRIbUQRQjWBwJRzChi9CRlBcY1UN4g0/VNB0AlcvcAYHRyZPdEQFYV8ccwR5HWxEJ02YmRMLnJ1xCYp0Y5idpQuhopmmC2KgojKasUQDk5BNAwwMOh2RtRq5uQuPZKGIJQIGwAwGf6I0JXMpC8C7kXWDBINFMxS4DKMAWVWAGYsAdNqW5uaRxkSKJOZKaU3tPOBZ4DuK2LATgJhkPJMgTwKCdFjyPHEnKxFCDhEAACH5BAkKAAAALAAAAAAgACAAAATzEMhJaVKp6s2nIkolIJ2WkBShpkVRWqqQrhLSEu9MZJKK9y1ZrqYK9WiClmvoUaF8gIQSNeF1Er4MNFn4SRSDARWroAIETg1iVwuHjYB1kYc1mwruwXKC9gmsJXliGxc+XiUCby9ydh1sOSdMkpMTBpaXBzsfhoc5l58Gm5yToAaZhaOUqjkDgCWNHAULCwOLaTmzswadEqggQwgHuQsHIoZCHQMMQgQGubVEcxOPFAcMDAYUA85eWARmfSRQCdcMe0zeP1AAygwLlJtPNAAL19DARdPzBOWSm1brJBi45soRAWQAAkrQIykShQ9wVhHCwCQCACH5BAkKAAAALAAAAAAgACAAAATrEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq+E71SRQeyqUToLA7VxF0JDyIQh/MVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyNDJ0uIiRMDjI0Fd30/iI2UA5GSS5UDj2l6NoqgOgN4gksEBgYFf0FDqKgHnyZ9OX8HrgYHdHpcHQULXAS2qKpENRg7eAMLC7kTBaixUYFkKAzWAAnLC7FLVxLWDBLKCwaKTULgEwbLA4hJtOkSBNqITT3xEgfLpBtzE/jiuL04RGEBgwWhShRgQExHBAAh+QQJCgAAACwAAAAAIAAgAAAE7xDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfZiCqGk5dTESJeaOAlClzsJsqwiJwiqnFrb2nS9kmIcgEsjQydLiIlHehhpejaIjzh9eomSjZR+ipslWIRLAgMDOR2DOqKogTB9pCUJBagDBXR6XB0EBkIIsaRsGGMMAxoDBgYHTKJiUYEGDAzHC9EACcUGkIgFzgwZ0QsSBcXHiQvOwgDdEwfFs0sDzt4S6BK4xYjkDOzn0unFeBzOBijIm1Dgmg5YFQwsCMjp1oJ8LyIAACH5BAkKAAAALAAAAAAgACAAAATwEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq+E71SRQeyqUToLA7VxF0JDyIQh/MVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyNDJ0uIiUd6GGl6NoiPOH16iZKNlH6KmyWFOggHhEEvAwwMA0N9GBsEC6amhnVcEwavDAazGwIDaH1ipaYLBUTCGgQDA8NdHz0FpqgTBwsLqAbWAAnIA4FWKdMLGdYGEgraigbT0OITBcg5QwPT4xLrROZL6AuQAPUS7bxLpoWidY0JtxLHKhwwMJBTHgPKdEQAACH5BAkKAAAALAAAAAAgACAAAATrEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq+E71SRQeyqUToLA7VxF0JDyIQh/MVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyNDJ0uIiUd6GAULDJCRiXo1CpGXDJOUjY+Yip9DhToJA4RBLwMLCwVDfRgbBAaqqoZ1XBMHswsHtxtFaH1iqaoGNgAIxRpbFAgfPQSqpbgGBqUD1wBXeCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd+MFCN6HAAIKgNggY0KtEBAAh+QQJCgAAACwAAAAAIAAgAAAE6BDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfYIDMaAFdTESJeaEDAIMxYFqrOUaNW4E4ObYcCXaiBVEgULe0NJaxxtYksjh2NLkZISgDgJhHthkpU4mW6blRiYmZOlh4JWkDqILwUGBnE6TYEbCgevr0N1gH4At7gHiRpFaLNrrq8HNgAJA70AWxQIH1+vsYMDAzZQPC9VCNkDWUhGkuE5PxJNwiUK4UfLzOlD4WvzAHaoG9nxPi5d+jYUqfAhhykOFwJWiAAAIfkECQoAAAAsAAAAACAAIAAABPAQyElpUqnqzaciSoVkXVUMFaFSwlpOCcMYlErAavhOMnNLNo8KsZsMZItJEIDIFSkLGQoQTNhIsFehRww2CQLKF0tYGKYSg+ygsZIuNqJksKgbfgIGepNo2cIUB3V1B3IvNiBYNQaDSTtfhhx0CwVPI0UJe0+bm4g5VgcGoqOcnjmjqDSdnhgEoamcsZuXO1aWQy8KAwOAuTYYGwi7w5h+Kr0SJ8MFihpNbx+4Erq7BYBuzsdiH1jCAzoSfl0rVirNbRXlBBlLX+BP0XJLAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaLCwg1RAAAOwAAAAAAAAAAAA==) no-repeat 50%;min-width:32px;min-height:32px}.carousel-slider .carousel-slider-video-wrapper{position:relative;height:100%;background:#000}.carousel-slider .carousel-slider-video-play-icon{position:absolute;height:40px;width:40px;left:50%;top:50%;margin-left:-20px;margin-top:-20px;background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgZmlsbD0iI2YxZjFmMSI+PHBhdGggZD0iTTEyLjEgNi43bDIzIDEzLjUtMjMgMTMuNVY2Ljh6Ii8+PHBhdGggZD0iTTE5LjcgNDBjLTExIDAtMjAtOS0yMC0yMHM5LTIwIDIwLTIwIDIwIDkgMjAgMjAtOSAyMC0yMCAyMHptMC0zOGMtOS45IDAtMTggOC4xLTE4IDE4czguMSAxOCAxOCAxOCAxOC04LjEgMTgtMTgtOC4xLTE4LTE4LTE4eiIvPjwvc3ZnPg==) no-repeat;cursor:pointer;z-index:2;-webkit-backface-visibility:hidden;-webkit-transition:-webkit-transform .1s ease;transition:-webkit-transform .1s ease;transition:transform .1s ease;transition:transform .1s ease,-webkit-transform .1s ease}.carousel-slider .carousel-slider-video-overlay{position:absolute;height:100%;width:100%;left:0;top:0;background-color:rgba(0,0,0,.5);z-index:1}.carousel-slider .carousel-slider-video-play-icon:hover{-webkit-transform:scale(1.3);transform:scale(1.3)}.carousel-slider .owl-nav .owl-next,.carousel-slider .owl-nav .owl-prev{height:48px;width:48px;display:inline-block;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);opacity:0;margin:0;padding:0;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.carousel-slider .owl-nav .owl-prev{left:0}.carousel-slider .owl-nav .owl-next{right:0}.carousel-slider.arrows-visible-always .owl-next,.carousel-slider.arrows-visible-always .owl-prev,.carousel-slider:hover .owl-nav .owl-next,.carousel-slider:hover .owl-nav .owl-prev{opacity:1}.carousel-slider.arrows-outside .owl-nav .owl-prev{left:-48px}.carousel-slider.arrows-outside .owl-nav .owl-next{right:-48px}.carousel-slider .owl-dots{text-align:center;-webkit-tap-highlight-color:transparent;margin-top:10px}.carousel-slider .owl-dots .owl-dot{display:inline-block;zoom:1;*display:inline}.carousel-slider .owl-dots .owl-dot span{width:10px;height:10px;margin:4px 8px;background-color:#9e9e9e;display:block;-webkit-backface-visibility:visible;-webkit-transition:opacity .2s ease;transition:opacity .2s ease}.carousel-slider .owl-dots .owl-dot.active span,.carousel-slider .owl-dots .owl-dot:hover span{background-color:#4caf50}.carousel-slider.dots-center .owl-dots{text-align:center}.carousel-slider.dots-left .owl-dots{text-align:left}.carousel-slider.dots-left .owl-dots:first-child span{margin-left:0}.carousel-slider.dots-right .owl-dots{text-align:right}.carousel-slider.dots-right .owl-dots:last-child span{margin-right:0}.carousel-slider.dots-visible-hover .owl-dots{opacity:0}.carousel-slider.dots-visible-hover:hover .owl-dots{opacity:1}.carousel-slider.dots-circle .owl-dots .owl-dot span{border-radius:9999px}.carousel-slider[data-slide-type=post-carousel] .owl-stage{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.carousel-slider[data-slide-type=post-carousel] .owl-item{display:-webkit-box;display:-ms-flexbox;display:flex;height:auto}.carousel-slider__post{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.1);box-shadow:0 1px 2px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.1);margin:2px;position:relative;width:100%}.carousel-slider__post-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.carousel-slider__post-image{background-color:#f1f1f1;background-size:cover;background-position:50%;border-top-left-radius:4px;border-top-right-radius:4px;display:block;line-height:0;margin:0 auto;overflow:hidden;padding-top:66.6666%;position:relative;text-align:center;width:100%}.carousel-slider__post-title{display:block;margin:1rem;min-height:3.75em}.carousel-slider__post-title h1{font-size:1.25rem;margin:0}.carousel-slider__post-excerpt{font-size:1rem;line-height:1.6;margin:1rem 1rem 2rem;text-align:left}.carousel-slider__post-meta{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:.75rem;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:auto 1rem 1rem}.carousel-slider__post-author,.carousel-slider__post-publication-meta{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.carousel-slider__post-author{font-style:normal;line-height:1.6}.carousel-slider__post-author-link{display:inline-block;max-width:175px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.carousel-slider__post-category{text-transform:uppercase}.carousel-slider[data-slide-type=product-carousel] .owl-stage{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.carousel-slider[data-slide-type=product-carousel] .owl-item{display:-webkit-box;display:-ms-flexbox;display:flex;height:auto}.carousel-slider .woocommerce-loop-category__title{font-size:1.25rem;margin:1rem}.carousel-slider__product{position:relative;text-align:center;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.1);box-shadow:0 1px 2px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.1);margin:2px;width:100%}.carousel-slider__product .woocommerce-LoopProduct-link{display:block;overflow:hidden;margin:0}.carousel-slider__product .onsale{border:0;line-height:1;margin:0;padding:.5rem;color:#f1f1f1;background-color:#96588a;position:absolute;left:1rem;top:1rem}.carousel-slider__product h3{padding:0;text-align:left;margin:1rem;font-size:1.25rem;color:#333}.carousel-slider__product a{text-decoration:none;-webkit-box-shadow:none;box-shadow:none}.carousel-slider__product a img{width:100%;height:auto;display:block;-webkit-box-shadow:none;box-shadow:none}.carousel-slider__product strong{display:block}.carousel-slider__product .price{color:#333;display:inline-block;font-weight:400;margin:0 .5rem 0 1rem;font-size:.875rem;float:left}.carousel-slider__product .price del{color:inherit;background-color:transparent;opacity:.5;display:inline-block}.carousel-slider__product .price ins{color:inherit;background-color:transparent;font-weight:700}.carousel-slider__product .star-rating{display:inline-block;margin:0 1rem 0 .5rem;float:right;overflow:hidden;position:relative;height:1em;line-height:1;font-size:1em;width:5.4em;font-family:star}.carousel-slider__product .star-rating:before{content:"\73\73\73\73\73";float:left;top:0;left:0;position:absolute}.carousel-slider__product .star-rating span{overflow:hidden;float:left;top:0;left:0;position:absolute;padding-top:1.5em}.carousel-slider__product .star-rating span:before{color:#96588a;content:"\53\53\53\53\53";top:0;position:absolute;left:0}.carousel-slider__product a.add_to_cart_button,.carousel-slider__product a.added_to_cart,.carousel-slider__product a.quick_view{color:#f1f1f1;background-color:#96588a;margin:1rem;line-height:1;cursor:pointer;position:relative;text-decoration:none;overflow:visible;padding:.5em 1em;font-weight:400;border-radius:3px;left:auto;border:0;white-space:nowrap;display:block;background-image:none;box-shadow:none;-webkit-box-shadow:none;text-shadow:none}.carousel-slider__product a.add_to_cart_button:hover,.carousel-slider__product a.added_to_cart:hover,.carousel-slider__product a.quick_view:hover{color:#f1f1f1;background-color:#96588a;text-decoration:none;background-image:none}.carousel-slider__product a.add_to_cart_button.loading{opacity:.25;padding-right:2.618em}.carousel-slider__product a.add_to_cart_button.loading:after{font-family:WooCommerce;content:"\e01c";vertical-align:top;-webkit-font-smoothing:antialiased;font-weight:400;position:absolute;top:.618em;right:1em;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.carousel-slider__product a.add_to_cart_button.added:after{font-family:WooCommerce;content:"\e017";margin-left:.53em;vertical-align:bottom}.carousel-slider-hero__cell__background{background-size:cover;background-position:50%;background-repeat:no-repeat;min-width:100%;min-height:100%;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-duration:10s;transition-duration:10s}.carousel-slider-hero__cell__background.carousel-slider-hero-ken-out{-webkit-transform:scale(1.3);transform:scale(1.3)}.carousel-slider .active .carousel-slider-hero__cell__background{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-duration:20s;animation-duration:20s}.carousel-slider .active .carousel-slider-hero__cell__background.carousel-slider-hero-ken-in{-webkit-transform:scale(1.3);transform:scale(1.3);-webkit-animation-name:ken-burns-in;animation-name:ken-burns-in}.carousel-slider .active .carousel-slider-hero__cell__background.carousel-slider-hero-ken-out{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-name:ken-burns-out;animation-name:ken-burns-out}.carousel-slider-hero__cell{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;overflow:hidden;height:400px}.carousel-slider-hero__cell:focus{outline:0}.carousel-slider-hero__cell__inner{background-repeat:no-repeat;background-position:50%;position:absolute;top:0;left:0;bottom:0;right:0;padding:50px}.carousel-slider-hero__cell__inner,.carousel-slider-hero__cell__inner:hover{color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex}.carousel-slider-hero__cell__background_overlay{position:absolute;z-index:0;top:0;bottom:0;left:0;right:0}.carousel-slider-hero__cell__content{position:relative;z-index:1;width:100%;max-width:1140px}.carousel-slider-hero__cell__heading{font-size:40px;font-weight:700;line-height:1}.carousel-slider-hero__cell__description{font-size:20px;line-height:1.4}.carousel-slider-hero__cell__description:not(:last-child),.carousel-slider-hero__cell__heading:not(:last-child){margin-bottom:30px}.carousel-slider-hero__cell__button__one{margin-right:5px}.carousel-slider-hero__cell__button__two{margin-left:5px}.carousel-slider-hero__cell__button__one,.carousel-slider-hero__cell__button__two{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.carousel-slider-hero__cell__inner.carousel-slider--v-position-top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.carousel-slider-hero__cell__inner.carousel-slider--v-position-bottom{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.carousel-slider-hero__cell__inner.carousel-slider--v-position-middle{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.carousel-slider-hero__cell__inner.carousel-slider--h-position-left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.carousel-slider-hero__cell__inner.carousel-slider--h-position-right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.carousel-slider-hero__cell__inner.carousel-slider--h-position-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.carousel-slider-hero__cell__inner.carousel-slider--text-left{text-align:left}.carousel-slider-hero__cell__inner.carousel-slider--text-right{text-align:right}.carousel-slider-hero__cell__inner.carousel-slider--text-center{text-align:center}@media (max-width:767px){.carousel-slider-hero__cell__inner{padding:30px}.carousel-slider-hero__cell__heading{font-size:24px;line-height:1;margin-bottom:15px}.carousel-slider-hero__cell__description{font-size:14px;line-height:1.4;margin-bottom:15px}}.carousel-slider .carousel-slider__item{position:relative}.carousel-slider .carousel-slider__item img{display:block;margin-left:auto;margin-right:auto;max-width:100%;height:auto}.carousel-slider .carousel-slider__caption{position:relative}.carousel-slider .carousel-slider__caption .title{overflow:hidden;text-overflow:ellipsis;color:#474747;font-size:16px;font-weight:500;margin:10px 0 0;text-align:center}.carousel-slider .carousel-slider__caption .caption{font-size:14px;font-weight:300;margin:10px 0 0;text-align:center}.cs-hero-button{-webkit-appearance:none;-webkit-font-smoothing:inherit;display:inline-block;font-size:1rem;line-height:1;padding:.75em 1em;border-radius:0;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.cs-hero-button,.cs-hero-button:hover{text-decoration:none}.cs-hero-button--normal{opacity:.9;filter:alpha(opacity=90)}.cs-hero-button--stroke{background:transparent;border:1px solid transparent}.cs-hero-button--medium{font-size:1.2rem;padding:.9em 1.2em}.cs-hero-button--large{font-size:1.5rem;padding:.9em 1.6em}.mfp-bg{z-index:1042;overflow:hidden;background:#0b0b0b;opacity:.8}.mfp-bg,.mfp-wrap{top:0;left:0;width:100%;height:100%;position:fixed}.mfp-wrap{z-index:1043;outline:none!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;height:100%;left:0;top:0;padding:0 8px;-webkit-box-sizing:border-box;box-sizing:border-box}.mfp-container:before{content:"";display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.mfp-ajax-holder .mfp-content,.mfp-inline-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#ccc;position:absolute;top:50%;width:auto;text-align:center;margin-top:-.8em;left:8px;right:8px;z-index:1044}.mfp-preloader a{color:#ccc}.mfp-preloader a:hover{color:#fff}.mfp-s-error .mfp-content,.mfp-s-ready .mfp-preloader{display:none}button.mfp-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:none;padding:0;z-index:1046;-webkit-box-shadow:none;box-shadow:none;-ms-touch-action:manipulation;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;position:absolute;right:0;top:0;text-decoration:none;text-align:center;opacity:.65;padding:0 0 18px 10px;color:#fff;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:focus,.mfp-close:hover{opacity:1}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-iframe-holder .mfp-close,.mfp-image-holder .mfp-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;top:50%;margin:-55px 0 0;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1}.mfp-arrow:after,.mfp-arrow:before{content:"";display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;-webkit-box-shadow:0 0 8px rgba(0,0,0,.6);box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;padding:40px 0;margin:0 auto}.mfp-figure,img.mfp-img{line-height:0}.mfp-figure:after{content:"";position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;-webkit-box-shadow:0 0 8px rgba(0,0,0,.6);box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-height:300px),screen and (max-width:800px) and (orientation:landscape){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;-webkit-box-sizing:border-box;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media (max-width:900px){.mfp-arrow{-webkit-transform:scale(.75);transform:scale(.75)}.mfp-arrow-left{-webkit-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.mfp-with-zoom.mfp-bg,.mfp-with-zoom .mfp-container{opacity:0;-webkit-backface-visibility:hidden;-webkit-transition:all .3s ease-out;transition:all .3s ease-out}.mfp-with-zoom.mfp-ready .mfp-container{opacity:1}.mfp-with-zoom.mfp-ready.mfp-bg{opacity:.8}.mfp-with-zoom.mfp-removing.mfp-bg,.mfp-with-zoom.mfp-removing .mfp-container{opacity:0}.mfp-content .product{background-color:#fff;display:table;margin:0 auto;padding:15px}.mfp-content .product .images{display:inline-block;float:left;max-width:600px}.mfp-content .product .images img{display:block}.mfp-content .product .onsale{left:24px;top:24px;position:absolute}.mfp-content .product .summary{display:inline-block;margin-left:15px;width:300px}.mfp-content .product .description,.mfp-content .product .product_title{margin:1em 0}.mfp-content .product .price{display:inline-block;font-weight:400;margin:.5em 1em;font-size:.857em;float:left}.mfp-content .product .price del{color:inherit;background-color:transparent;opacity:.5;display:inline-block}.mfp-content .product .price ins{color:inherit;background-color:transparent;font-weight:700}.mfp-content .product .star-rating{display:inline-block;margin:.5em 1em;float:right;overflow:hidden;position:relative;height:1em;line-height:1;font-size:1em;width:5.4em;font-family:star}.mfp-content .product .star-rating:before{content:"\73\73\73\73\73";float:left;top:0;left:0;position:absolute}.mfp-content .product .star-rating span{overflow:hidden;float:left;top:0;left:0;position:absolute;padding-top:1.5em}.mfp-content .product .star-rating span:before{content:"\53\53\53\53\53";top:0;position:absolute;left:0}.mfp-content .product a.add_to_cart_button,.mfp-content .product a.added_to_cart{margin:0;line-height:1;cursor:pointer;position:relative;text-decoration:none;overflow:visible;padding:.5em 1em;font-weight:400;border-radius:3px;left:auto;border:0;white-space:nowrap;display:inline-block;background-image:none;box-shadow:none;-webkit-box-shadow:none;text-shadow:none}.mfp-content .product a.add_to_cart_button:hover,.mfp-content .product a.added_to_cart:hover{text-decoration:none;background-image:none}.mfp-content .product a.add_to_cart_button.loading{opacity:.25;padding-right:2.618em}.mfp-content .product a.add_to_cart_button.loading:after{font-family:WooCommerce;content:"\e01c";vertical-align:top;-webkit-font-smoothing:antialiased;font-weight:400;position:absolute;top:.618em;right:1em;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.mfp-content .product a.add_to_cart_button.added:after{font-family:WooCommerce;content:"\e017";margin-left:.53em;vertical-align:bottom}.mfp-ajax-holder .mfp-content,.mfp-inline-holder .mfp-content{max-width:945px;margin-top:40px;margin-bottom:40px}@media (max-width:600px){.mfp-content .product .images{margin-bottom:30px}.mfp-content .product .summary{display:block;margin:0;width:100%}}@media (min-width:601px){.mfp-content .product .images{display:inline-block;width:49%}.mfp-content .product .summary{display:inline-block;margin:0 0 0 1%;width:49%}}.mfp-counter{display:none}
assets/css/gutenberg-block.css CHANGED
@@ -1 +1 @@
1
- .carousel-slider-block-logo{max-width:50px !important;max-height:50px;float:left;margin-right:15px;margin-bottom:10px}#carousel-slider-filter-input-main{clear:both}.carousel-slider-iframe-container{position:relative}.carousel-slider-iframe-overlay{position:absolute;top:0;right:0;bottom:0;left:0}.carousel-slider-block-slider-selector{background-color:lightgrey;border-bottom:1px solid;margin-bottom:5px;padding:4px}.carousel-slider-filter-input{border:1px solid #ddd;border-radius:5px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.07);box-shadow:inset 0 1px 2px rgba(0,0,0,0.07);padding:0;width:100%;margin-top:10px;margin-bottom:10px;position:relative}.carousel-slider-filter-input .blocks-select-control__input{margin:0 0 0 0}.carousel-slider-filter-input-el{border:none !important;-webkit-box-shadow:none !important;box-shadow:none !important;width:95%;position:relative;display:inline-block}.carousel-slider-filter-input-icon{display:inline-block;content:'▾';color:#999;font-size:14px;right:.77em;position:absolute;top:.2em}#carousel-slider-sliderFilter-main{border-top:none;border-left:none;border-bottom:none}#carousel-slider-sliderFilter-sidebar{border-top:none;border-left:none;border-bottom:none;width:95%}#carousel-slider-filter-input-icon-sidebar{font-size:1.4em;top:.35em;right:.45em}.carousel-slider-filter-input-el.blocks-select-control__input>.components-base-control__field{margin-bottom:0}.carousel-slider-filter-option-container{display:none;position:absolute;background-color:#edeff0;z-index:10000;padding:4px;width:100%;border-radius:5px;max-height:200px;overflow:scroll;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;box-shadow:0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important}.carousel-slider-filter-option{list-style:none}.carousel-slider-filter-option:hover{background-color:#0073aa;color:white}
1
+ .carousel-slider-block-logo{max-width:50px!important;max-height:50px;float:left;margin-right:15px;margin-bottom:10px}#carousel-slider-filter-input-main{clear:both}.carousel-slider-iframe-container{position:relative}.carousel-slider-iframe-overlay{position:absolute;top:0;right:0;bottom:0;left:0}.carousel-slider-block-slider-selector{background-color:#d3d3d3;border-bottom:1px solid;margin-bottom:5px;padding:4px}.carousel-slider-filter-input{border:1px solid #ddd;border-radius:5px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);padding:0;width:100%;margin-top:10px;margin-bottom:10px;position:relative}.carousel-slider-filter-input .blocks-select-control__input{margin:0}.carousel-slider-filter-input-el{border:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;width:95%;position:relative;display:inline-block}.carousel-slider-filter-input-icon{display:inline-block;content:"▾";color:#999;font-size:14px;right:.77em;position:absolute;top:.2em}#carousel-slider-sliderFilter-main,#carousel-slider-sliderFilter-sidebar{border-top:none;border-left:none;border-bottom:none}#carousel-slider-sliderFilter-sidebar{width:95%}#carousel-slider-filter-input-icon-sidebar{font-size:1.4em;top:.35em;right:.45em}.carousel-slider-filter-input-el.blocks-select-control__input>.components-base-control__field{margin-bottom:0}.carousel-slider-filter-option-container{display:none;position:absolute;background-color:#edeff0;z-index:10000;padding:4px;width:100%;border-radius:5px;max-height:200px;overflow:scroll;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12)!important;box-shadow:0 2px 4px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12)!important}.carousel-slider-filter-option{list-style:none}.carousel-slider-filter-option:hover{background-color:#0073aa;color:#fff}
assets/css/index.php DELETED
@@ -1,2 +0,0 @@
1
- <?php
2
- // Code is Poetry
 
 
assets/css/style.css DELETED
@@ -1 +0,0 @@
1
- .carousel-slider{display:none;width:100%;-webkit-tap-highlight-color:transparent;position:relative;z-index:1}.carousel-slider .owl-stage{position:relative;-ms-touch-action:pan-Y;touch-action:manipulation;-webkit-backface-visibility:hidden;backface-visibility:hidden}.carousel-slider .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.carousel-slider .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.carousel-slider .owl-carousel .owl-wrapper,.carousel-slider .owl-carousel .owl-item{-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.carousel-slider .owl-item{position:relative;min-height:1px;float:left;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.carousel-slider .owl-item img{display:block;width:100%}.carousel-slider .owl-nav.disabled,.carousel-slider .owl-dots.disabled{display:none}.carousel-slider .owl-nav .owl-prev,.carousel-slider .owl-nav .owl-next,.carousel-slider .owl-dot{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.carousel-slider .owl-nav button.owl-prev,.carousel-slider .owl-nav button.owl-next,.carousel-slider button.owl-dot{background:none;color:inherit;border:none;padding:0 !important;font:inherit}.carousel-slider.owl-loaded{display:block}.carousel-slider.owl-loading{opacity:0;display:block}.carousel-slider.owl-hidden{opacity:0}.carousel-slider.owl-refresh .owl-item{visibility:hidden}.carousel-slider.owl-drag .owl-item{-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.carousel-slider.owl-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.carousel-slider.owl-rtl{direction:rtl}.carousel-slider.owl-rtl .owl-item{float:right}.no-js .carousel-slider{display:block}.carousel-slider .animated{-webkit-animation-duration:1000ms;animation-duration:1000ms;-webkit-animation-fill-mode:both;animation-fill-mode:both}.carousel-slider .owl-animated-in{z-index:0}.carousel-slider .owl-animated-out{z-index:1}.carousel-slider .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}.carousel-slider .fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}.carousel-slider .fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}.carousel-slider .fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}.carousel-slider .fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}.carousel-slider .zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes fadeInDown{from{opacity:0;-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDown{from{opacity:0;-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes fadeInUp{from{opacity:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUp{from{opacity:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes fadeInRight{from{opacity:0;-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRight{from{opacity:0;-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes fadeInLeft{from{opacity:0;-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeft{from{opacity:0;-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes zoomIn{from{opacity:0;-webkit-transform:scale3d(0.3, 0.3, 0.3);transform:scale3d(0.3, 0.3, 0.3)}50%{opacity:1}}@keyframes zoomIn{from{opacity:0;-webkit-transform:scale3d(0.3, 0.3, 0.3);transform:scale3d(0.3, 0.3, 0.3)}50%{opacity:1}}.owl-height{-webkit-transition:height 500ms ease-in-out;-o-transition:height 500ms ease-in-out;transition:height 500ms ease-in-out}.carousel-slider .owl-item img.owl-lazy{background:url("../img/ajax-loader.gif") no-repeat center;min-width:32px;min-height:32px}.carousel-slider .carousel-slider-video-wrapper{position:relative;height:100%;background:#000}.carousel-slider .carousel-slider-video-play-icon{position:absolute;height:40px;width:40px;left:50%;top:50%;margin-left:-20px;margin-top:-20px;background:url("../img/play.svg") no-repeat;cursor:pointer;z-index:2;-webkit-backface-visibility:hidden;-webkit-transition:-webkit-transform 100ms ease;transition:-webkit-transform 100ms ease;-o-transition:transform 100ms ease;transition:transform 100ms ease;transition:transform 100ms ease, -webkit-transform 100ms ease}.carousel-slider .carousel-slider-video-overlay{position:absolute;height:100%;width:100%;left:0;top:0;background-color:rgba(0,0,0,0.5);z-index:1}.carousel-slider .carousel-slider-video-play-icon:hover{-webkit-transform:scale(1.3, 1.3);-ms-transform:scale(1.3, 1.3);transform:scale(1.3, 1.3)}.carousel-slider .owl-nav .owl-prev,.carousel-slider .owl-nav .owl-next{height:48px;width:48px;display:inline-block;position:absolute;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);opacity:0;margin:0;padding:0;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.carousel-slider .owl-nav .owl-prev{left:0}.carousel-slider .owl-nav .owl-next{right:0}.carousel-slider:hover .owl-nav .owl-prev,.carousel-slider:hover .owl-nav .owl-next{opacity:1}.carousel-slider.arrows-visible-always .owl-prev,.carousel-slider.arrows-visible-always .owl-next{opacity:1}.carousel-slider.arrows-outside .owl-nav .owl-prev{left:-48px}.carousel-slider.arrows-outside .owl-nav .owl-next{right:-48px}.carousel-slider .owl-dots{text-align:center;-webkit-tap-highlight-color:transparent;margin-top:10px}.carousel-slider .owl-dots .owl-dot{display:inline-block;zoom:1;*display:inline}.carousel-slider .owl-dots .owl-dot span{width:10px;height:10px;margin:4px 8px;background-color:#9e9e9e;display:block;-webkit-backface-visibility:visible;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease}.carousel-slider .owl-dots .owl-dot.active span,.carousel-slider .owl-dots .owl-dot:hover span{background-color:#4caf50}.carousel-slider.dots-center .owl-dots{text-align:center}.carousel-slider.dots-left .owl-dots{text-align:left}.carousel-slider.dots-left .owl-dots:first-child span{margin-left:0}.carousel-slider.dots-right .owl-dots{text-align:right}.carousel-slider.dots-right .owl-dots:last-child span{margin-right:0}.carousel-slider.dots-visible-hover .owl-dots{opacity:0}.carousel-slider.dots-visible-hover:hover .owl-dots{opacity:1}.carousel-slider.dots-circle .owl-dots .owl-dot span{border-radius:9999px}.carousel-slider[data-slide-type="post-carousel"] .owl-stage{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.carousel-slider[data-slide-type="post-carousel"] .owl-item{display:-webkit-box;display:-ms-flexbox;display:flex;height:auto}.carousel-slider__post{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.1),0 0 0 1px rgba(0,0,0,0.1);box-shadow:0 1px 2px rgba(0,0,0,0.1),0 0 0 1px rgba(0,0,0,0.1);margin:2px;position:relative;width:100%}.carousel-slider__post-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.carousel-slider__post-image{background-color:#f1f1f1;background-size:cover;background-position:center center;border-top-left-radius:4px;border-top-right-radius:4px;display:block;line-height:0;margin:0 auto;overflow:hidden;padding-top:66.6666%;position:relative;text-align:center;width:100%}.carousel-slider__post-title{display:block;margin:1rem;min-height:3.75em}.carousel-slider__post-title h1{font-size:1.25rem;margin:0}.carousel-slider__post-excerpt{font-size:1rem;line-height:1.6;margin:1rem 1rem 2rem;text-align:left}.carousel-slider__post-meta{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:0.75rem;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:auto 1rem 1rem}.carousel-slider__post-publication-meta{display:block;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.carousel-slider__post-author{display:block;font-style:normal;line-height:1.6;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.carousel-slider__post-author-link{display:inline-block;max-width:175px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.carousel-slider__post-category{text-transform:uppercase}.carousel-slider[data-slide-type="product-carousel"] .owl-stage{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.carousel-slider[data-slide-type="product-carousel"] .owl-item{display:-webkit-box;display:-ms-flexbox;display:flex;height:auto}.carousel-slider .woocommerce-loop-category__title{font-size:1.25rem;margin:1rem}.carousel-slider__product{position:relative;text-align:center;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.1),0 0 0 1px rgba(0,0,0,0.1);box-shadow:0 1px 2px rgba(0,0,0,0.1),0 0 0 1px rgba(0,0,0,0.1);margin:2px;width:100%}.carousel-slider__product .woocommerce-LoopProduct-link{display:block;overflow:hidden;margin:0}.carousel-slider__product .onsale{border:0 none;line-height:1;margin:0;padding:0.5rem;color:#f1f1f1;background-color:#96588a;position:absolute;left:1rem;top:1rem}.carousel-slider__product h3{padding:0;text-align:left;margin:1rem;font-size:1.25rem;color:#333}.carousel-slider__product a{text-decoration:none;-webkit-box-shadow:none;box-shadow:none}.carousel-slider__product a img{width:100%;height:auto;display:block;-webkit-box-shadow:none;box-shadow:none}.carousel-slider__product strong{display:block}.carousel-slider__product .price{color:#333;display:inline-block;font-weight:normal;margin:0 0.5rem 0 1rem;font-size:.875rem;float:left}.carousel-slider__product .price del{color:inherit;background-color:transparent;opacity:0.5;display:inline-block}.carousel-slider__product .price ins{color:inherit;background-color:transparent;font-weight:bold}.carousel-slider__product .star-rating{display:inline-block;margin:0 1rem 0 0.5rem;float:right;overflow:hidden;position:relative;height:1em;line-height:1;font-size:1em;width:5.4em;font-family:'star'}.carousel-slider__product .star-rating:before{content:"\73\73\73\73\73";float:left;top:0;left:0;position:absolute}.carousel-slider__product .star-rating span{overflow:hidden;float:left;top:0;left:0;position:absolute;padding-top:1.5em}.carousel-slider__product .star-rating span:before{color:#96588a;content:"\53\53\53\53\53";top:0;position:absolute;left:0}.carousel-slider__product a.add_to_cart_button,.carousel-slider__product a.added_to_cart,.carousel-slider__product a.quick_view{color:#f1f1f1;background-color:#96588a;margin:1rem;line-height:1;cursor:pointer;position:relative;text-decoration:none;overflow:visible;padding:.5em 1em;font-weight:normal;border-radius:3px;left:auto;border:0;white-space:nowrap;display:block;background-image:none;box-shadow:none;-webkit-box-shadow:none;text-shadow:none}.carousel-slider__product a.add_to_cart_button:hover,.carousel-slider__product a.added_to_cart:hover,.carousel-slider__product a.quick_view:hover{color:#f1f1f1;background-color:#96588a;text-decoration:none;background-image:none}.carousel-slider__product a.add_to_cart_button.loading{opacity:0.25;padding-right:2.618em}.carousel-slider__product a.add_to_cart_button.loading:after{font-family:"WooCommerce";content:"\e01c";vertical-align:top;-webkit-font-smoothing:antialiased;font-weight:normal;position:absolute;top:.618em;right:1em;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.carousel-slider__product a.add_to_cart_button.added:after{font-family:'WooCommerce';content:"\e017";margin-left:.53em;vertical-align:bottom}.carousel-slider-hero__cell__background{background-size:cover;background-position:center;background-repeat:no-repeat;min-width:100%;min-height:100%;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-duration:10s;-o-transition-duration:10s;transition-duration:10s}.carousel-slider-hero__cell__background.carousel-slider-hero-ken-out{-webkit-transform:scale(1.3);-ms-transform:scale(1.3);transform:scale(1.3)}.carousel-slider .active .carousel-slider-hero__cell__background{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-duration:20s;animation-duration:20s}.carousel-slider .active .carousel-slider-hero__cell__background.carousel-slider-hero-ken-in{-webkit-transform:scale(1.3);-ms-transform:scale(1.3);transform:scale(1.3);-webkit-animation-name:ken-burns-in;animation-name:ken-burns-in}.carousel-slider .active .carousel-slider-hero__cell__background.carousel-slider-hero-ken-out{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);-webkit-animation-name:ken-burns-out;animation-name:ken-burns-out}.carousel-slider-hero__cell{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;overflow:hidden;height:400px}.carousel-slider-hero__cell:focus{outline:0}.carousel-slider-hero__cell__inner{background-repeat:no-repeat;background-position:center;position:absolute;top:0;left:0;bottom:0;right:0;padding:50px}.carousel-slider-hero__cell__inner,.carousel-slider-hero__cell__inner:hover{color:white;display:-webkit-box;display:-ms-flexbox;display:flex}.carousel-slider-hero__cell__background_overlay{position:absolute;z-index:0;top:0;bottom:0;left:0;right:0}.carousel-slider-hero__cell__content{position:relative;z-index:1;width:100%;max-width:1140px}.carousel-slider-hero__cell__heading{font-size:40px;font-weight:bold;line-height:1}.carousel-slider-hero__cell__description{font-size:20px;line-height:1.4}.carousel-slider-hero__cell__heading:not(:last-child),.carousel-slider-hero__cell__description:not(:last-child){margin-bottom:30px}.carousel-slider-hero__cell__button__one{margin-right:5px}.carousel-slider-hero__cell__button__two{margin-left:5px}.carousel-slider-hero__cell__button__one,.carousel-slider-hero__cell__button__two{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.carousel-slider-hero__cell__inner.carousel-slider--v-position-top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.carousel-slider-hero__cell__inner.carousel-slider--v-position-bottom{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.carousel-slider-hero__cell__inner.carousel-slider--v-position-middle{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.carousel-slider-hero__cell__inner.carousel-slider--h-position-left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.carousel-slider-hero__cell__inner.carousel-slider--h-position-right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.carousel-slider-hero__cell__inner.carousel-slider--h-position-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.carousel-slider-hero__cell__inner.carousel-slider--text-left{text-align:left}.carousel-slider-hero__cell__inner.carousel-slider--text-right{text-align:right}.carousel-slider-hero__cell__inner.carousel-slider--text-center{text-align:center}@media (max-width: 767px){.carousel-slider-hero__cell__inner{padding:30px}.carousel-slider-hero__cell__heading{font-size:24px;line-height:1;margin-bottom:15px}.carousel-slider-hero__cell__description{font-size:14px;line-height:1.4;margin-bottom:15px}}.carousel-slider .carousel-slider__item{position:relative}.carousel-slider .carousel-slider__item img{display:block;margin-left:auto;margin-right:auto;max-width:100%;height:auto}.carousel-slider .carousel-slider__caption{position:relative}.carousel-slider .carousel-slider__caption .title{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;color:#474747;font-size:16px;font-weight:500;margin:10px 0 0;text-align:center}.carousel-slider .carousel-slider__caption .caption{font-size:14px;font-weight:300;margin:10px 0 0;text-align:center}.cs-hero-button{-webkit-appearance:none;-webkit-font-smoothing:inherit;display:inline-block;font-size:1rem;line-height:1;padding:0.75em 1em;border-radius:0;text-decoration:none;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all 200ms ease-in-out;-o-transition:all 200ms ease-in-out;transition:all 200ms ease-in-out}.cs-hero-button:hover{text-decoration:none}.cs-hero-button--normal{opacity:0.9;filter:alpha(opacity=90)}.cs-hero-button--stroke{background:transparent;border-width:1px;border-style:solid;border-color:transparent}.cs-hero-button--medium{font-size:1.2rem;padding:0.9em 1.2em}.cs-hero-button--large{font-size:1.5rem;padding:0.9em 1.6em}.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:1042;overflow:hidden;position:fixed;background:#0b0b0b;opacity:.8}.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:1043;position:fixed;outline:none !important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;height:100%;left:0;top:0;padding:0 8px;-webkit-box-sizing:border-box;box-sizing:border-box}.mfp-container:before{content:'';display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-close,.mfp-arrow,.mfp-preloader,.mfp-counter{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none !important}.mfp-preloader{color:#CCC;position:absolute;top:50%;width:auto;text-align:center;margin-top:-0.8em;left:8px;right:8px;z-index:1044}.mfp-preloader a{color:#CCC}.mfp-preloader a:hover{color:#fff}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.mfp-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:none;padding:0;z-index:1046;-webkit-box-shadow:none;box-shadow:none;-ms-touch-action:manipulation;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;position:absolute;right:0;top:0;text-decoration:none;text-align:center;opacity:.65;padding:0 0 18px 10px;color:#fff;font-style:normal;font-size:28px;font-family:Arial, Baskerville, monospace}.mfp-close:hover,.mfp-close:focus{opacity:1}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-image-holder .mfp-close,.mfp-iframe-holder .mfp-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#CCC;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;top:50%;margin:-55px 0 0;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:hover,.mfp-arrow:focus{opacity:1}.mfp-arrow:before,.mfp-arrow:after{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:0.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3F3F3F}.mfp-arrow-right{right:0}.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right:before{border-left:27px solid #3F3F3F}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;-webkit-box-shadow:0 0 8px rgba(0,0,0,0.6);box-shadow:0 0 8px rgba(0,0,0,0.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;-webkit-box-sizing:border-box;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.mfp-figure{line-height:0}.mfp-figure:after{content:'';position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;-webkit-box-shadow:0 0 8px rgba(0,0,0,0.6);box-shadow:0 0 8px rgba(0,0,0,0.6);background:#444}.mfp-figure small{color:#BDBDBD;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#F3F3F3;word-wrap:break-word;padding-right:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,0.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;-webkit-box-sizing:border-box;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,0.6);position:fixed;text-align:center;padding:0}}@media all and (max-width: 900px){.mfp-arrow{-webkit-transform:scale(0.75);-ms-transform:scale(0.75);transform:scale(0.75)}.mfp-arrow-left{-webkit-transform-origin:0;-ms-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;-ms-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.mfp-with-zoom .mfp-container,.mfp-with-zoom.mfp-bg{opacity:0;-webkit-backface-visibility:hidden;-webkit-transition:all 0.3s ease-out;-o-transition:all 0.3s ease-out;transition:all 0.3s ease-out}.mfp-with-zoom.mfp-ready .mfp-container{opacity:1}.mfp-with-zoom.mfp-ready.mfp-bg{opacity:0.8}.mfp-with-zoom.mfp-removing .mfp-container,.mfp-with-zoom.mfp-removing.mfp-bg{opacity:0}.mfp-content .product{background-color:#ffffff;display:table;margin:0 auto;padding:15px}.mfp-content .product .images{display:inline-block;float:left;max-width:600px}.mfp-content .product .images img{display:block}.mfp-content .product .onsale{left:24px;top:24px;position:absolute}.mfp-content .product .summary{display:inline-block;margin-left:15px;width:300px}.mfp-content .product .product_title,.mfp-content .product .description{margin:1em 0}.mfp-content .product .price{display:inline-block;font-weight:normal;margin:.5em 1em;font-size:.857em;float:left}.mfp-content .product .price del{color:inherit;background-color:transparent;opacity:0.5;display:inline-block}.mfp-content .product .price ins{color:inherit;background-color:transparent;font-weight:bold}.mfp-content .product .star-rating{display:inline-block;margin:.5em 1em;float:right;overflow:hidden;position:relative;height:1em;line-height:1;font-size:1em;width:5.4em;font-family:'star'}.mfp-content .product .star-rating:before{content:"\73\73\73\73\73";float:left;top:0;left:0;position:absolute}.mfp-content .product .star-rating span{overflow:hidden;float:left;top:0;left:0;position:absolute;padding-top:1.5em}.mfp-content .product .star-rating span:before{content:"\53\53\53\53\53";top:0;position:absolute;left:0}.mfp-content .product a.add_to_cart_button,.mfp-content .product a.added_to_cart{margin:0;line-height:1;cursor:pointer;position:relative;text-decoration:none;overflow:visible;padding:.5em 1em;font-weight:normal;border-radius:3px;left:auto;border:0;white-space:nowrap;display:inline-block;background-image:none;box-shadow:none;-webkit-box-shadow:none;text-shadow:none}.mfp-content .product a.add_to_cart_button:hover,.mfp-content .product a.added_to_cart:hover{text-decoration:none;background-image:none}.mfp-content .product a.add_to_cart_button.loading{opacity:0.25;padding-right:2.618em}.mfp-content .product a.add_to_cart_button.loading:after{font-family:"WooCommerce";content:"\e01c";vertical-align:top;-webkit-font-smoothing:antialiased;font-weight:normal;position:absolute;top:.618em;right:1em;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.mfp-content .product a.add_to_cart_button.added:after{font-family:'WooCommerce';content:"\e017";margin-left:.53em;vertical-align:bottom}.mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content{max-width:945px;margin-top:40px;margin-bottom:40px}@media (max-width: 600px){.mfp-content .product .images{margin-bottom:30px}.mfp-content .product .summary{display:block;margin:0;width:100%}}@media (min-width: 601px){.mfp-content .product .images{display:inline-block;width:49%}.mfp-content .product .summary{display:inline-block;margin:0 0 0 1%;width:49%}}.mfp-counter{display:none}
 
assets/img/index.php DELETED
@@ -1,2 +0,0 @@
1
- <?php
2
- // Code is Poetry
 
 
assets/js/admin.js CHANGED
@@ -1,711 +1 @@
1
- (function ($) {
2
- 'use strict';
3
- $(document).on("click", ".accordion-header", function () {
4
- $(this).toggleClass('active');
5
- var panel = $(this).next();
6
-
7
- if (parseInt(panel.css('max-height')) > 0) {
8
- panel.css('max-height', '0');
9
- panel.css('overflow', 'hidden');
10
- } else {
11
- panel.css('max-height', panel.prop('scrollHeight') + "px");
12
- panel.css('overflow', 'visible');
13
- }
14
- });
15
- })(jQuery);
16
- (function ($) {
17
- "use strict";
18
-
19
- var body = $('body'),
20
- contentButtonModal = $('#contentButtonModal'),
21
- frame,
22
- section,
23
- imgIdInput,
24
- slideCanvas,
25
- delImgLink,
26
- buttonConfig;
27
-
28
- // Add new content slide
29
- body.on('click', '.carousel-slider__add-slide', function (e) {
30
- e.preventDefault();
31
-
32
- $.ajax({
33
- url: ajaxurl,
34
- method: 'POST',
35
- data: {
36
- action: 'add_content_slide',
37
- task: 'add-slide',
38
- post_id: $(this).data('post-id')
39
- },
40
- success: function () {
41
- window.location.reload(true);
42
- }
43
- });
44
- });
45
-
46
- // Delete a slide
47
- body.on('click', '.carousel_slider__delete_slide', function (e) {
48
- e.preventDefault();
49
-
50
- $.ajax({
51
- url: ajaxurl,
52
- method: 'POST',
53
- data: {
54
- action: 'add_content_slide',
55
- task: 'delete-slide',
56
- post_id: $(this).data('post-id'),
57
- slide_pos: $(this).data('slide-pos')
58
- },
59
- success: function () {
60
- window.location.reload(true);
61
- }
62
- });
63
- });
64
-
65
- // Move slide to top
66
- body.on('click', '.carousel_slider__move_top', function (e) {
67
- e.preventDefault();
68
-
69
- $.ajax({
70
- url: ajaxurl,
71
- method: 'POST',
72
- data: {
73
- action: 'add_content_slide',
74
- task: 'move-slide-top',
75
- post_id: $(this).data('post-id'),
76
- slide_pos: $(this).data('slide-pos')
77
- },
78
- success: function () {
79
- window.location.reload(true);
80
- }
81
- });
82
- });
83
-
84
- // Move slide up
85
- body.on('click', '.carousel_slider__move_up', function (e) {
86
- e.preventDefault();
87
-
88
- $.ajax({
89
- url: ajaxurl,
90
- method: 'POST',
91
- data: {
92
- action: 'add_content_slide',
93
- task: 'move-slide-up',
94
- post_id: $(this).data('post-id'),
95
- slide_pos: $(this).data('slide-pos')
96
- },
97
- success: function () {
98
- window.location.reload(true);
99
- }
100
- });
101
- });
102
-
103
- // Move slide down
104
- body.on('click', '.carousel_slider__move_down', function (e) {
105
- e.preventDefault();
106
-
107
- $.ajax({
108
- url: ajaxurl,
109
- method: 'POST',
110
- data: {
111
- action: 'add_content_slide',
112
- task: 'move-slide-down',
113
- post_id: $(this).data('post-id'),
114
- slide_pos: $(this).data('slide-pos')
115
- },
116
- success: function () {
117
- window.location.reload(true);
118
- }
119
- });
120
- });
121
-
122
- // Move slide to bottom
123
- body.on('click', '.carousel_slider__move_bottom', function (e) {
124
- e.preventDefault();
125
-
126
- $.ajax({
127
- url: ajaxurl,
128
- method: 'POST',
129
- data: {
130
- action: 'add_content_slide',
131
- task: 'move-slide-bottom',
132
- post_id: $(this).data('post-id'),
133
- slide_pos: $(this).data('slide-pos')
134
- },
135
- success: function () {
136
- window.location.reload(true);
137
- }
138
- });
139
- });
140
-
141
- // Add slide image
142
- body.on('click', '.slide_image_add', function (e) {
143
- e.preventDefault();
144
-
145
- var _this = $(this);
146
- section = _this.closest('.slide_bg_wrapper');
147
- slideCanvas = section.find('.content_slide_canvas');
148
- imgIdInput = section.find('.background_image_id');
149
- delImgLink = section.find('.delete-bg-img');
150
-
151
- // If the media frame already exists, reopen it.
152
- if (frame) {
153
- frame.open();
154
- return;
155
- }
156
-
157
- // Create a new media frame
158
- frame = wp.media({
159
- title: _this.data('title'),
160
- button: {
161
- text: _this.data('button-text')
162
- },
163
- multiple: false // Set to true to allow multiple files to be selected
164
- });
165
-
166
- // When an image is selected in the media frame...
167
- frame.on('select', function () {
168
-
169
- // Get media attachment details from the frame state
170
- var attachment = frame.state().get('selection').first().toJSON();
171
-
172
- // Send the attachment URL to our custom image input field.
173
- slideCanvas.css('background-image', 'url(' + attachment.url + ')');
174
-
175
- // Send the attachment id to our hidden input
176
- imgIdInput.val(attachment.id);
177
-
178
- // Show the remove image link
179
- delImgLink.removeClass('hidden');
180
- });
181
-
182
- // Finally, open the modal on click
183
- frame.open();
184
- });
185
-
186
- // Remove slide image
187
- body.on('click', '.delete-bg-img', function (e) {
188
- e.preventDefault();
189
-
190
- section = $(this).closest('.slide_bg_wrapper');
191
- slideCanvas = section.find('.content_slide_canvas');
192
- imgIdInput = section.find('.background_image_id');
193
- delImgLink = section.find('.delete-bg-img');
194
-
195
- // Clear out the preview image
196
- slideCanvas.css('background-image', '');
197
-
198
- // Delete the image id from the hidden input
199
- imgIdInput.val('0');
200
-
201
- // Hide the delete image link
202
- delImgLink.addClass('hidden');
203
- });
204
-
205
- // Background Position
206
- body.on('change', '.background_image_position', function () {
207
- var _val = $(this).val();
208
- section = $(this).closest('.slide_bg_wrapper');
209
- slideCanvas = section.find('.content_slide_canvas');
210
- slideCanvas.css('background-position', _val);
211
- });
212
-
213
- // Background Size
214
- body.on('change', '.background_image_size', function () {
215
- var _val = $(this).val();
216
- section = $(this).closest('.slide_bg_wrapper');
217
- slideCanvas = section.find('.content_slide_canvas');
218
- slideCanvas.css('background-size', _val);
219
- });
220
-
221
- // Add Button Style to Modal for Edit
222
- $('.addContentButton').on('click', function (e) {
223
- e.preventDefault();
224
-
225
- buttonConfig = $(this).closest('.button_config');
226
- var button_text = buttonConfig.find('.button_text').val();
227
- var button_url = buttonConfig.find('.button_url').val();
228
- var button_target = buttonConfig.find('.button_target').val();
229
- var button_type = buttonConfig.find('.button_type').val();
230
- var button_size = buttonConfig.find('.button_size').val();
231
- var button_color = buttonConfig.find('.button_color').val();
232
-
233
- contentButtonModal.find('#_button_text').val(button_text);
234
- contentButtonModal.find('#_button_url').val(button_url);
235
- contentButtonModal.find('#_button_target').val(button_target);
236
- contentButtonModal.find('#_button_type').val(button_type);
237
- contentButtonModal.find('#_button_size').val(button_size);
238
- contentButtonModal.find('#_button_color').val(button_color);
239
-
240
- contentButtonModal.addClass('is-active');
241
- });
242
-
243
- // Save Button style from modal form
244
- $('#saveContentButton').on('click', function (e) {
245
- e.preventDefault();
246
-
247
- if (!buttonConfig) {
248
- contentButtonModal.removeClass('is-active');
249
- return false;
250
- }
251
-
252
- var button_text = contentButtonModal.find('#_button_text').val();
253
- var button_url = contentButtonModal.find('#_button_url').val();
254
- var button_target = contentButtonModal.find('#_button_target').val();
255
- var button_type = contentButtonModal.find('#_button_type').val();
256
- var button_size = contentButtonModal.find('#_button_size').val();
257
- var button_color = contentButtonModal.find('#_button_color').val();
258
-
259
- buttonConfig.find('.button_text').val(button_text);
260
- buttonConfig.find('.button_url').val(button_url);
261
- buttonConfig.find('.button_target').val(button_target);
262
- buttonConfig.find('.button_type').val(button_type);
263
- buttonConfig.find('.button_size').val(button_size);
264
- buttonConfig.find('.button_color').val(button_color);
265
-
266
- contentButtonModal.removeClass('is-active');
267
-
268
- });
269
-
270
- // Background Color
271
- $('.slide-color-picker').each(function () {
272
- section = $(this).closest('.slide_bg_wrapper');
273
- slideCanvas = section.find('.content_slide_canvas');
274
- $(this).wpColorPicker({
275
- palettes: [
276
- '#2196F3', // Blue
277
- '#009688', // Teal
278
- '#4CAF50', // Green
279
- '#F44336', // Red
280
- '#FFEB3B', // Yellow
281
- '#00D1B2', // Firoza
282
- '#000000', // Blank
283
- '#ffffff' // White
284
- ],
285
- change: function (event, ui) {
286
- slideCanvas.css('background-color', ui.color.toString());
287
- }
288
- });
289
- });
290
-
291
- // Slide Link
292
- $(document).on('change', '.link_type', function (e) {
293
- var _this = $(this);
294
- var _val = _this.val();
295
- var _tab = _this.closest('.tab-content-link');
296
- var _linkFull = _tab.find('.ContentCarouselLinkFull');
297
- var _linkBtn = _tab.find('.ContentCarouselLinkButtons');
298
- if (_val === 'full') {
299
- _linkBtn.hide();
300
- _linkFull.show();
301
- } else if (_val === 'button') {
302
- _linkFull.hide();
303
- _linkBtn.show();
304
- } else {
305
- _linkFull.hide();
306
- _linkBtn.hide();
307
- }
308
- })
309
-
310
- })(jQuery);
311
- (function ($) {
312
- "use strict";
313
-
314
- var frame,
315
- _this = $('#carousel_slider_gallery_btn'),
316
- images = _this.data('ids'),
317
- selection = loadImages(images);
318
-
319
- _this.on('click', function (e) {
320
- e.preventDefault();
321
- var options = {
322
- title: _this.data('create'),
323
- state: 'gallery-edit',
324
- frame: 'post',
325
- selection: selection
326
- };
327
-
328
- if (frame || selection) {
329
- options['title'] = _this.data('edit');
330
- }
331
-
332
- frame = wp.media(options).open();
333
-
334
- // Tweak Views
335
- frame.menu.get('view').unset('cancel');
336
- frame.menu.get('view').unset('separateCancel');
337
- frame.menu.get('view').get('gallery-edit').el.innerHTML = _this.data('edit');
338
- frame.content.get('view').sidebar.unset('gallery'); // Hide Gallery Settings in sidebar
339
-
340
- // when editing a gallery
341
- overrideGalleryInsert();
342
- frame.on('toolbar:render:gallery-edit', function () {
343
- overrideGalleryInsert();
344
- });
345
-
346
- frame.on('content:render:browse', function (browser) {
347
- if (!browser) return;
348
- // Hide Gallery Settings in sidebar
349
- browser.sidebar.on('ready', function () {
350
- browser.sidebar.unset('gallery');
351
- });
352
- // Hide filter/search as they don't work
353
- browser.toolbar.on('ready', function () {
354
- if (browser.toolbar.controller._state === 'gallery-library') {
355
- browser.toolbar.$el.hide();
356
- }
357
- });
358
- });
359
-
360
- // All images removed
361
- frame.state().get('library').on('remove', function () {
362
- var models = frame.state().get('library');
363
- if (models.length === 0) {
364
- selection = false;
365
- $.post(ajaxurl, {
366
- ids: '',
367
- action: 'carousel_slider_save_images',
368
- post_id: _this.data('id')
369
- });
370
- }
371
- });
372
-
373
- function overrideGalleryInsert() {
374
- frame.toolbar.get('view').set({
375
- insert: {
376
- style: 'primary',
377
- text: _this.data('save'),
378
- click: function () {
379
- var models = frame.state().get('library'),
380
- ids = '';
381
-
382
- models.each(function (attachment) {
383
- ids += attachment.id + ','
384
- });
385
-
386
- this.el.innerHTML = _this.data('progress');
387
-
388
- $.ajax({
389
- type: 'POST',
390
- url: ajaxurl,
391
- data: {
392
- ids: ids,
393
- action: 'carousel_slider_save_images',
394
- post_id: _this.data('id')
395
- },
396
- success: function () {
397
- selection = loadImages(ids);
398
- $('#_carousel_slider_images_ids').val(ids);
399
- frame.close();
400
- },
401
- dataType: 'html'
402
- }).done(function (data) {
403
- $('.carousel_slider_gallery_list').html(data);
404
- });
405
- }
406
- }
407
- });
408
- }
409
-
410
- });
411
-
412
- function loadImages(images) {
413
- if (images) {
414
- var shortcode = new wp.shortcode({
415
- tag: 'gallery',
416
- attrs: {ids: images},
417
- type: 'single'
418
- });
419
-
420
- var attachments = wp.media.gallery.attachments(shortcode);
421
-
422
- var selection = new wp.media.model.Selection(attachments.models, {
423
- props: attachments.props.toJSON(),
424
- multiple: true
425
- });
426
-
427
- selection.gallery = attachments.gallery;
428
-
429
- selection.more().done(function () {
430
- // Break ties with the query.
431
- selection.props.set({query: false});
432
- selection.unmirror();
433
- selection.props.unset('orderby');
434
- });
435
-
436
- return selection;
437
- }
438
- return false;
439
- }
440
-
441
- })(jQuery);
442
- /**
443
- * Carousel Slider Gallery from URL
444
- */
445
- (function ($) {
446
- 'use strict';
447
-
448
- var body = $('body'),
449
- modal = $('#CarouselSliderModal'),
450
- modalOpenBtn = $('#_images_urls_btn'),
451
- template = $('#carouselSliderGalleryUrlTemplate').html();
452
-
453
- // URL Images Model
454
- modalOpenBtn.on('click', function (e) {
455
- e.preventDefault();
456
- modal.css("display", "block");
457
- $("body").addClass("overflowHidden");
458
- });
459
- modal.on('click', '.carousel_slider-close', function (e) {
460
- e.preventDefault();
461
- modal.css("display", "none");
462
- $("body").removeClass("overflowHidden");
463
- });
464
-
465
- var carouselSliderBodyHeight = $(window).height() - (38 + 48 + 32 + 30);
466
- $('.carousel_slider-modal-body').css('height', carouselSliderBodyHeight + 'px');
467
-
468
- // Append new row
469
- body.on('click', '.add_row', function () {
470
- $(this).closest('.carousel_slider-fields').after(template);
471
- });
472
-
473
- // Delete current row
474
- body.on('click', '.delete_row', function () {
475
- $(this).closest('.carousel_slider-fields').remove();
476
- });
477
-
478
- // Make fields sortable
479
- $('#carousel_slider_form').sortable();
480
-
481
- })(jQuery);
482
- (function ($) {
483
- 'use strict';
484
-
485
- // Open modal
486
- $(document).on('click', '[data-toggle="modal"]', function (e) {
487
- e.preventDefault();
488
- $($(this).data('target')).addClass('is-active');
489
- });
490
-
491
- // Close modal
492
- $(document).on('click', '[data-dismiss="modal"]', function (e) {
493
- e.preventDefault();
494
- $(this).closest('.modal').removeClass('is-active');
495
- });
496
-
497
- })(jQuery);
498
- (function ($) {
499
- "use strict";
500
-
501
- var slide_type = $('#_carousel_slider_slide_type'),
502
- section_images_settings = $('#section_images_settings'),
503
- section_url_images_settings = $('#section_url_images_settings'),
504
- section_images_general_settings = $('#section_images_general_settings'),
505
- section_post_query = $('#section_post_query'),
506
- section_video_settings = $('#section_video_settings'),
507
- section_product_query = $('#section_product_query'),
508
- section_content_carousel = $('#section_content_carousel'),
509
- // Slide Type -- Post
510
- _post_query_type = $('#_post_query_type'),
511
- _post_date_after = $('#field-_post_date_after'),
512
- _post_date_before = $('#field-_post_date_before'),
513
- _post_categories = $('#field-_post_categories'),
514
- _post_tags = $('#field-_post_tags'),
515
- _post_in = $('#field-_post_in'),
516
- _posts_per_page = $('#field-_posts_per_page'),
517
- // Slide Type -- Product
518
- _product_query_type = $('#_product_query_type'),
519
- _product_query = $('#field-_product_query'),
520
- _product_categories = $('#field-_product_categories'),
521
- _product_tags = $('#field-_product_tags'),
522
- _product_in = $('#field-_product_in'),
523
- _products_per_page = $('#field-_products_per_page');
524
-
525
- // Slide Type
526
- slide_type.on('change', function () {
527
- section_images_settings.hide('fast');
528
- section_url_images_settings.hide('fast');
529
- section_images_general_settings.hide('fast');
530
- section_post_query.hide('fast');
531
- section_video_settings.hide('fast');
532
- section_product_query.hide('fast');
533
- section_content_carousel.hide('fast');
534
-
535
- if (this.value === 'image-carousel') {
536
- section_images_settings.slideDown();
537
- section_images_general_settings.slideDown();
538
- }
539
- if (this.value === 'image-carousel-url') {
540
- section_url_images_settings.slideDown();
541
- section_images_general_settings.slideDown();
542
- }
543
- if (this.value === 'post-carousel') {
544
- section_post_query.slideDown();
545
- }
546
- if (this.value === 'video-carousel') {
547
- section_video_settings.slideDown();
548
- }
549
- if (this.value === 'product-carousel') {
550
- section_product_query.slideDown();
551
- _product_query.show();
552
- }
553
- if (this.value === 'hero-banner-slider') {
554
- section_content_carousel.slideDown();
555
- }
556
- });
557
-
558
- // Slide Type -- Post Carousel
559
- if (slide_type.val() === 'post-carousel') {
560
- var _postQueryType = _post_query_type.val();
561
- if (_postQueryType === 'date_range') {
562
- _post_date_after.show();
563
- _post_date_before.show();
564
- }
565
- if (_postQueryType === 'post_categories') {
566
- _post_categories.show();
567
- }
568
- if (_postQueryType === 'post_tags') {
569
- _post_tags.show();
570
- }
571
- if (_postQueryType === 'specific_posts') {
572
- _post_in.show();
573
- _posts_per_page.hide();
574
- }
575
- }
576
-
577
- _post_query_type.on('change', function () {
578
-
579
- _post_date_after.hide('fast');
580
- _post_date_before.hide('fast');
581
- _post_categories.hide('fast');
582
- _post_tags.hide('fast');
583
- _post_in.hide('fast');
584
- _posts_per_page.show('fast');
585
-
586
- if (this.value === 'date_range') {
587
- _post_date_after.slideDown();
588
- _post_date_before.slideDown();
589
- }
590
- if (this.value === 'post_categories') {
591
- _post_categories.slideDown();
592
- }
593
- if (this.value === 'post_tags') {
594
- _post_tags.slideDown();
595
- }
596
- if (this.value === 'specific_posts') {
597
- _post_in.slideDown();
598
- _posts_per_page.hide('fast');
599
- }
600
- });
601
-
602
- // Slide Type -- Product Carousel
603
- if (slide_type.val() === 'product-carousel') {
604
- var _productQueryType = _product_query_type.val();
605
- if (_productQueryType === 'query_porduct') {
606
- _product_query.show();
607
- }
608
- if (_productQueryType === 'product_categories') {
609
- _product_categories.show();
610
- }
611
- if (_productQueryType === 'product_tags') {
612
- _product_tags.show();
613
- }
614
- if (_productQueryType === 'specific_products') {
615
- _product_in.show();
616
- }
617
- }
618
-
619
- _product_query_type.on('change', function () {
620
-
621
- _product_query.hide('fast');
622
- _product_categories.hide('fast');
623
- _product_tags.hide('fast');
624
- _product_in.hide('fast');
625
- _products_per_page.show('fast');
626
-
627
- if (this.value === 'query_porduct') {
628
- _product_query.slideDown();
629
- }
630
- if (this.value === 'product_categories') {
631
- _product_categories.slideDown();
632
- }
633
- if (this.value === 'product_tags') {
634
- _product_tags.slideDown();
635
- }
636
- if (this.value === 'specific_products') {
637
- _product_in.slideDown();
638
- _products_per_page.hide('fast');
639
- }
640
- });
641
- })(jQuery);
642
-
643
- (function ($) {
644
- "use strict";
645
-
646
- // Initializing TipTip
647
- $(".cs-tooltip").each(function () {
648
- $(this).tipTip();
649
- });
650
-
651
- // Initializing Select2
652
- $("select.select2").each(function () {
653
- $(this).select2();
654
- });
655
-
656
- // Initializing jQuery UI Accordion
657
- $(".shapla-toggle").each(function () {
658
- if ($(this).attr('data-id') === 'closed') {
659
- $(this).accordion({
660
- collapsible: true,
661
- heightStyle: "content",
662
- active: false
663
- });
664
- } else {
665
- $(this).accordion({
666
- collapsible: true,
667
- heightStyle: "content"
668
- });
669
- }
670
- });
671
-
672
- // Initializing jQuery UI Tab
673
- $(".shapla-tabs").tabs({
674
- hide: {
675
- effect: "fadeOut",
676
- duration: 200
677
- },
678
- show: {
679
- effect: "fadeIn",
680
- duration: 200
681
- }
682
- });
683
-
684
- //Initializing jQuery UI Date picker
685
- $('.datepicker').each(function () {
686
- $(this).datepicker({
687
- dateFormat: 'MM dd, yy',
688
- changeMonth: true,
689
- changeYear: true,
690
- onClose: function (selectedDate) {
691
- $(this).datepicker('option', 'minDate', selectedDate);
692
- }
693
- });
694
- });
695
-
696
- // Initializing WP Color Picker
697
- $('.color-picker').each(function () {
698
- $(this).wpColorPicker({
699
- palettes: [
700
- '#2196F3', // Blue
701
- '#009688', // Teal
702
- '#4CAF50', // Green
703
- '#F44336', // Red
704
- '#FFEB3B', // Yellow
705
- '#00D1B2', // Firoza
706
- '#000000', // Blank
707
- '#ffffff' // White
708
- ]
709
- });
710
- });
711
- })(jQuery);
1
+ !function(e){var t={};function o(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=2)}([,,function(e,t,o){o(3),o(4),o(5),o(6),o(7),o(8),o(9),e.exports=o(10)},function(e,t,o){},function(e,t){!function(e){"use strict";e(document).on("click",".accordion-header",(function(){e(this).toggleClass("active");var t=e(this).next();parseInt(t.css("max-height"))>0?(t.css("max-height","0"),t.css("overflow","hidden")):(t.css("max-height",t.prop("scrollHeight")+"px"),t.css("overflow","visible"))}))}(jQuery)},function(e,t){!function(e){"use strict";var t,o,i,n,s,a,l=e("body"),d=e("#contentButtonModal");l.on("click",".carousel-slider__add-slide",(function(t){t.preventDefault(),e.ajax({url:ajaxurl,method:"POST",data:{action:"add_content_slide",task:"add-slide",post_id:e(this).data("post-id")},success:function(){window.location.reload(!0)}})})),l.on("click",".carousel_slider__delete_slide",(function(t){t.preventDefault(),e.ajax({url:ajaxurl,method:"POST",data:{action:"add_content_slide",task:"delete-slide",post_id:e(this).data("post-id"),slide_pos:e(this).data("slide-pos")},success:function(){window.location.reload(!0)}})})),l.on("click",".carousel_slider__move_top",(function(t){t.preventDefault(),e.ajax({url:ajaxurl,method:"POST",data:{action:"add_content_slide",task:"move-slide-top",post_id:e(this).data("post-id"),slide_pos:e(this).data("slide-pos")},success:function(){window.location.reload(!0)}})})),l.on("click",".carousel_slider__move_up",(function(t){t.preventDefault(),e.ajax({url:ajaxurl,method:"POST",data:{action:"add_content_slide",task:"move-slide-up",post_id:e(this).data("post-id"),slide_pos:e(this).data("slide-pos")},success:function(){window.location.reload(!0)}})})),l.on("click",".carousel_slider__move_down",(function(t){t.preventDefault(),e.ajax({url:ajaxurl,method:"POST",data:{action:"add_content_slide",task:"move-slide-down",post_id:e(this).data("post-id"),slide_pos:e(this).data("slide-pos")},success:function(){window.location.reload(!0)}})})),l.on("click",".carousel_slider__move_bottom",(function(t){t.preventDefault(),e.ajax({url:ajaxurl,method:"POST",data:{action:"add_content_slide",task:"move-slide-bottom",post_id:e(this).data("post-id"),slide_pos:e(this).data("slide-pos")},success:function(){window.location.reload(!0)}})})),l.on("click",".slide_image_add",(function(a){a.preventDefault();var l=e(this);o=l.closest(".slide_bg_wrapper"),n=o.find(".content_slide_canvas"),i=o.find(".background_image_id"),s=o.find(".delete-bg-img"),t||(t=wp.media({title:l.data("title"),button:{text:l.data("button-text")},multiple:!1})).on("select",(function(){var e=t.state().get("selection").first().toJSON();n.css("background-image","url("+e.url+")"),i.val(e.id),s.removeClass("hidden")})),t.open()})),l.on("click",".delete-bg-img",(function(t){t.preventDefault(),o=e(this).closest(".slide_bg_wrapper"),n=o.find(".content_slide_canvas"),i=o.find(".background_image_id"),s=o.find(".delete-bg-img"),n.css("background-image",""),i.val("0"),s.addClass("hidden")})),l.on("change",".background_image_position",(function(){var t=e(this).val();o=e(this).closest(".slide_bg_wrapper"),(n=o.find(".content_slide_canvas")).css("background-position",t)})),l.on("change",".background_image_size",(function(){var t=e(this).val();o=e(this).closest(".slide_bg_wrapper"),(n=o.find(".content_slide_canvas")).css("background-size",t)})),e(".addContentButton").on("click",(function(t){t.preventDefault();var o=(a=e(this).closest(".button_config")).find(".button_text").val(),i=a.find(".button_url").val(),n=a.find(".button_target").val(),s=a.find(".button_type").val(),l=a.find(".button_size").val(),r=a.find(".button_color").val();d.find("#_button_text").val(o),d.find("#_button_url").val(i),d.find("#_button_target").val(n),d.find("#_button_type").val(s),d.find("#_button_size").val(l),d.find("#_button_color").val(r),d.addClass("is-active")})),e("#saveContentButton").on("click",(function(e){if(e.preventDefault(),!a)return d.removeClass("is-active"),!1;var t=d.find("#_button_text").val(),o=d.find("#_button_url").val(),i=d.find("#_button_target").val(),n=d.find("#_button_type").val(),s=d.find("#_button_size").val(),l=d.find("#_button_color").val();a.find(".button_text").val(t),a.find(".button_url").val(o),a.find(".button_target").val(i),a.find(".button_type").val(n),a.find(".button_size").val(s),a.find(".button_color").val(l),d.removeClass("is-active")})),e(".slide-color-picker").each((function(){o=e(this).closest(".slide_bg_wrapper"),n=o.find(".content_slide_canvas"),e(this).wpColorPicker({palettes:["#2196F3","#009688","#4CAF50","#F44336","#FFEB3B","#00D1B2","#000000","#ffffff"],change:function(e,t){n.css("background-color",t.color.toString())}})})),e(document).on("change",".link_type",(function(t){var o=e(this),i=o.val(),n=o.closest(".tab-content-link"),s=n.find(".ContentCarouselLinkFull"),a=n.find(".ContentCarouselLinkButtons");"full"===i?(a.hide(),s.show()):"button"===i?(s.hide(),a.show()):(s.hide(),a.hide())}))}(jQuery)},function(e,t){!function(e){"use strict";var t,o=e("#carousel_slider_gallery_btn"),i=n(o.data("ids"));function n(e){if(e){var t=new wp.shortcode({tag:"gallery",attrs:{ids:e},type:"single"}),o=wp.media.gallery.attachments(t),i=new wp.media.model.Selection(o.models,{props:o.props.toJSON(),multiple:!0});return i.gallery=o.gallery,i.more().done((function(){i.props.set({query:!1}),i.unmirror(),i.props.unset("orderby")})),i}return!1}o.on("click",(function(s){s.preventDefault();var a={title:o.data("create"),state:"gallery-edit",frame:"post",selection:i};function l(){t.toolbar.get("view").set({insert:{style:"primary",text:o.data("save"),click:function(){var s=t.state().get("library"),a="";s.each((function(e){a+=e.id+","})),this.el.innerHTML=o.data("progress"),e.ajax({type:"POST",url:ajaxurl,data:{ids:a,action:"carousel_slider_save_images",post_id:o.data("id")},success:function(){i=n(a),e("#_carousel_slider_images_ids").val(a),t.close()},dataType:"html"}).done((function(t){e(".carousel_slider_gallery_list").html(t)}))}}})}(t||i)&&(a.title=o.data("edit")),(t=wp.media(a).open()).menu.get("view").unset("cancel"),t.menu.get("view").unset("separateCancel"),t.menu.get("view").get("gallery-edit").el.innerHTML=o.data("edit"),t.content.get("view").sidebar.unset("gallery"),l(),t.on("toolbar:render:gallery-edit",(function(){l()})),t.on("content:render:browse",(function(e){e&&(e.sidebar.on("ready",(function(){e.sidebar.unset("gallery")})),e.toolbar.on("ready",(function(){"gallery-library"===e.toolbar.controller._state&&e.toolbar.$el.hide()})))})),t.state().get("library").on("remove",(function(){0===t.state().get("library").length&&(i=!1,e.post(ajaxurl,{ids:"",action:"carousel_slider_save_images",post_id:o.data("id")}))}))}))}(jQuery)},function(e,t){!function(e){"use strict";var t=e("body"),o=e("#CarouselSliderModal"),i=e("#_images_urls_btn"),n=e("#carouselSliderGalleryUrlTemplate").html();i.on("click",(function(t){t.preventDefault(),o.css("display","block"),e("body").addClass("overflowHidden")})),o.on("click",".carousel_slider-close",(function(t){t.preventDefault(),o.css("display","none"),e("body").removeClass("overflowHidden")}));var s=e(window).height()-148;e(".carousel_slider-modal-body").css("height",s+"px"),t.on("click",".add_row",(function(){e(this).closest(".carousel_slider-fields").after(n)})),t.on("click",".delete_row",(function(){e(this).closest(".carousel_slider-fields").remove()})),e("#carousel_slider_form").sortable()}(jQuery)},function(e,t){!function(e){"use strict";e(document).on("click",'[data-toggle="modal"]',(function(t){t.preventDefault(),e(e(this).data("target")).addClass("is-active")})),e(document).on("click",'[data-dismiss="modal"]',(function(t){t.preventDefault(),e(this).closest(".modal").removeClass("is-active")}))}(jQuery)},function(e,t){!function(e){"use strict";var t=e("#_carousel_slider_slide_type"),o=e("#section_images_settings"),i=e("#section_url_images_settings"),n=e("#section_images_general_settings"),s=e("#section_post_query"),a=e("#section_video_settings"),l=e("#section_product_query"),d=e("#section_content_carousel"),r=e("#_post_query_type"),c=e("#field-_post_date_after"),u=e("#field-_post_date_before"),_=e("#field-_post_categories"),f=e("#field-_post_tags"),p=e("#field-_post_in"),h=e("#field-_posts_per_page"),v=e("#_product_query_type"),g=e("#field-_product_query"),b=e("#field-_product_categories"),m=e("#field-_product_tags"),w=e("#field-_product_in"),y=e("#field-_products_per_page");if(t.on("change",(function(){o.hide("fast"),i.hide("fast"),n.hide("fast"),s.hide("fast"),a.hide("fast"),l.hide("fast"),d.hide("fast"),"image-carousel"===this.value&&(o.slideDown(),n.slideDown()),"image-carousel-url"===this.value&&(i.slideDown(),n.slideDown()),"post-carousel"===this.value&&s.slideDown(),"video-carousel"===this.value&&a.slideDown(),"product-carousel"===this.value&&(l.slideDown(),g.show()),"hero-banner-slider"===this.value&&d.slideDown()})),"post-carousel"===t.val()){var k=r.val();"date_range"===k&&(c.show(),u.show()),"post_categories"===k&&_.show(),"post_tags"===k&&f.show(),"specific_posts"===k&&(p.show(),h.hide())}if(r.on("change",(function(){c.hide("fast"),u.hide("fast"),_.hide("fast"),f.hide("fast"),p.hide("fast"),h.show("fast"),"date_range"===this.value&&(c.slideDown(),u.slideDown()),"post_categories"===this.value&&_.slideDown(),"post_tags"===this.value&&f.slideDown(),"specific_posts"===this.value&&(p.slideDown(),h.hide("fast"))})),"product-carousel"===t.val()){var D=v.val();"query_porduct"===D&&g.show(),"product_categories"===D&&b.show(),"product_tags"===D&&m.show(),"specific_products"===D&&w.show()}v.on("change",(function(){g.hide("fast"),b.hide("fast"),m.hide("fast"),w.hide("fast"),y.show("fast"),"query_porduct"===this.value&&g.slideDown(),"product_categories"===this.value&&b.slideDown(),"product_tags"===this.value&&m.slideDown(),"specific_products"===this.value&&(w.slideDown(),y.hide("fast"))}))}(jQuery)},function(e,t){!function(e){"use strict";e(".cs-tooltip").each((function(){e(this).tipTip()})),e("select.select2").each((function(){e(this).select2()})),e(".shapla-toggle").each((function(){"closed"===e(this).attr("data-id")?e(this).accordion({collapsible:!0,heightStyle:"content",active:!1}):e(this).accordion({collapsible:!0,heightStyle:"content"})})),e(".shapla-tabs").tabs({hide:{effect:"fadeOut",duration:200},show:{effect:"fadeIn",duration:200}}),e(".datepicker").each((function(){e(this).datepicker({dateFormat:"MM dd, yy",changeMonth:!0,changeYear:!0,onClose:function(t){e(this).datepicker("option","minDate",t)}})})),e(".color-picker").each((function(){e(this).wpColorPicker({palettes:["#2196F3","#009688","#4CAF50","#F44336","#FFEB3B","#00D1B2","#000000","#ffffff"]})}))}(jQuery)}]);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/admin.min.js DELETED
@@ -1 +0,0 @@
1
- !function(t){"use strict";t(document).on("click",".accordion-header",function(){t(this).toggleClass("active");var e=t(this).next();0<parseInt(e.css("max-height"))?(e.css("max-height","0"),e.css("overflow","hidden")):(e.css("max-height",e.prop("scrollHeight")+"px"),e.css("overflow","visible"))})}(jQuery),function(l){"use strict";var i,o,s,a,n,d,e=l("body"),c=l("#contentButtonModal");e.on("click",".carousel-slider__add-slide",function(e){e.preventDefault(),l.ajax({url:ajaxurl,method:"POST",data:{action:"add_content_slide",task:"add-slide",post_id:l(this).data("post-id")},success:function(){window.location.reload(!0)}})}),e.on("click",".carousel_slider__delete_slide",function(e){e.preventDefault(),l.ajax({url:ajaxurl,method:"POST",data:{action:"add_content_slide",task:"delete-slide",post_id:l(this).data("post-id"),slide_pos:l(this).data("slide-pos")},success:function(){window.location.reload(!0)}})}),e.on("click",".carousel_slider__move_top",function(e){e.preventDefault(),l.ajax({url:ajaxurl,method:"POST",data:{action:"add_content_slide",task:"move-slide-top",post_id:l(this).data("post-id"),slide_pos:l(this).data("slide-pos")},success:function(){window.location.reload(!0)}})}),e.on("click",".carousel_slider__move_up",function(e){e.preventDefault(),l.ajax({url:ajaxurl,method:"POST",data:{action:"add_content_slide",task:"move-slide-up",post_id:l(this).data("post-id"),slide_pos:l(this).data("slide-pos")},success:function(){window.location.reload(!0)}})}),e.on("click",".carousel_slider__move_down",function(e){e.preventDefault(),l.ajax({url:ajaxurl,method:"POST",data:{action:"add_content_slide",task:"move-slide-down",post_id:l(this).data("post-id"),slide_pos:l(this).data("slide-pos")},success:function(){window.location.reload(!0)}})}),e.on("click",".carousel_slider__move_bottom",function(e){e.preventDefault(),l.ajax({url:ajaxurl,method:"POST",data:{action:"add_content_slide",task:"move-slide-bottom",post_id:l(this).data("post-id"),slide_pos:l(this).data("slide-pos")},success:function(){window.location.reload(!0)}})}),e.on("click",".slide_image_add",function(e){e.preventDefault();var t=l(this);o=t.closest(".slide_bg_wrapper"),a=o.find(".content_slide_canvas"),s=o.find(".background_image_id"),n=o.find(".delete-bg-img"),i||(i=wp.media({title:t.data("title"),button:{text:t.data("button-text")},multiple:!1})).on("select",function(){var e=i.state().get("selection").first().toJSON();a.css("background-image","url("+e.url+")"),s.val(e.id),n.removeClass("hidden")}),i.open()}),e.on("click",".delete-bg-img",function(e){e.preventDefault(),o=l(this).closest(".slide_bg_wrapper"),a=o.find(".content_slide_canvas"),s=o.find(".background_image_id"),n=o.find(".delete-bg-img"),a.css("background-image",""),s.val("0"),n.addClass("hidden")}),e.on("change",".background_image_position",function(){var e=l(this).val();o=l(this).closest(".slide_bg_wrapper"),(a=o.find(".content_slide_canvas")).css("background-position",e)}),e.on("change",".background_image_size",function(){var e=l(this).val();o=l(this).closest(".slide_bg_wrapper"),(a=o.find(".content_slide_canvas")).css("background-size",e)}),l(".addContentButton").on("click",function(e){e.preventDefault();var t=(d=l(this).closest(".button_config")).find(".button_text").val(),i=d.find(".button_url").val(),o=d.find(".button_target").val(),s=d.find(".button_type").val(),a=d.find(".button_size").val(),n=d.find(".button_color").val();c.find("#_button_text").val(t),c.find("#_button_url").val(i),c.find("#_button_target").val(o),c.find("#_button_type").val(s),c.find("#_button_size").val(a),c.find("#_button_color").val(n),c.addClass("is-active")}),l("#saveContentButton").on("click",function(e){if(e.preventDefault(),!d)return c.removeClass("is-active"),!1;var t=c.find("#_button_text").val(),i=c.find("#_button_url").val(),o=c.find("#_button_target").val(),s=c.find("#_button_type").val(),a=c.find("#_button_size").val(),n=c.find("#_button_color").val();d.find(".button_text").val(t),d.find(".button_url").val(i),d.find(".button_target").val(o),d.find(".button_type").val(s),d.find(".button_size").val(a),d.find(".button_color").val(n),c.removeClass("is-active")}),l(".slide-color-picker").each(function(){o=l(this).closest(".slide_bg_wrapper"),a=o.find(".content_slide_canvas"),l(this).wpColorPicker({palettes:["#2196F3","#009688","#4CAF50","#F44336","#FFEB3B","#00D1B2","#000000","#ffffff"],change:function(e,t){a.css("background-color",t.color.toString())}})}),l(document).on("change",".link_type",function(e){var t=l(this),i=t.val(),o=t.closest(".tab-content-link"),s=o.find(".ContentCarouselLinkFull"),a=o.find(".ContentCarouselLinkButtons");"full"===i?(a.hide(),s.show()):"button"===i?(s.hide(),a.show()):(s.hide(),a.hide())})}(jQuery),function(o){"use strict";var s,a=o("#carousel_slider_gallery_btn"),n=l(a.data("ids"));function l(e){if(e){var t=new wp.shortcode({tag:"gallery",attrs:{ids:e},type:"single"}),i=wp.media.gallery.attachments(t),o=new wp.media.model.Selection(i.models,{props:i.props.toJSON(),multiple:!0});return o.gallery=i.gallery,o.more().done(function(){o.props.set({query:!1}),o.unmirror(),o.props.unset("orderby")}),o}return!1}a.on("click",function(e){e.preventDefault();var t={title:a.data("create"),state:"gallery-edit",frame:"post",selection:n};function i(){s.toolbar.get("view").set({insert:{style:"primary",text:a.data("save"),click:function(){var e=s.state().get("library"),t="";e.each(function(e){t+=e.id+","}),this.el.innerHTML=a.data("progress"),o.ajax({type:"POST",url:ajaxurl,data:{ids:t,action:"carousel_slider_save_images",post_id:a.data("id")},success:function(){n=l(t),o("#_carousel_slider_images_ids").val(t),s.close()},dataType:"html"}).done(function(e){o(".carousel_slider_gallery_list").html(e)})}}})}(s||n)&&(t.title=a.data("edit")),(s=wp.media(t).open()).menu.get("view").unset("cancel"),s.menu.get("view").unset("separateCancel"),s.menu.get("view").get("gallery-edit").el.innerHTML=a.data("edit"),s.content.get("view").sidebar.unset("gallery"),i(),s.on("toolbar:render:gallery-edit",function(){i()}),s.on("content:render:browse",function(e){e&&(e.sidebar.on("ready",function(){e.sidebar.unset("gallery")}),e.toolbar.on("ready",function(){"gallery-library"===e.toolbar.controller._state&&e.toolbar.$el.hide()}))}),s.state().get("library").on("remove",function(){0===s.state().get("library").length&&(n=!1,o.post(ajaxurl,{ids:"",action:"carousel_slider_save_images",post_id:a.data("id")}))})})}(jQuery),function(t){"use strict";var e=t("body"),i=t("#CarouselSliderModal"),o=t("#_images_urls_btn"),s=t("#carouselSliderGalleryUrlTemplate").html();o.on("click",function(e){e.preventDefault(),i.css("display","block"),t("body").addClass("overflowHidden")}),i.on("click",".carousel_slider-close",function(e){e.preventDefault(),i.css("display","none"),t("body").removeClass("overflowHidden")});var a=t(window).height()-148;t(".carousel_slider-modal-body").css("height",a+"px"),e.on("click",".add_row",function(){t(this).closest(".carousel_slider-fields").after(s)}),e.on("click",".delete_row",function(){t(this).closest(".carousel_slider-fields").remove()}),t("#carousel_slider_form").sortable()}(jQuery),function(t){"use strict";t(document).on("click",'[data-toggle="modal"]',function(e){e.preventDefault(),t(t(this).data("target")).addClass("is-active")}),t(document).on("click",'[data-dismiss="modal"]',function(e){e.preventDefault(),t(this).closest(".modal").removeClass("is-active")})}(jQuery),function(e){"use strict";var t=e("#_carousel_slider_slide_type"),i=e("#section_images_settings"),o=e("#section_url_images_settings"),s=e("#section_images_general_settings"),a=e("#section_post_query"),n=e("#section_video_settings"),l=e("#section_product_query"),d=e("#section_content_carousel"),c=e("#_post_query_type"),r=e("#field-_post_date_after"),u=e("#field-_post_date_before"),_=e("#field-_post_categories"),f=e("#field-_post_tags"),p=e("#field-_post_in"),h=e("#field-_posts_per_page"),v=e("#_product_query_type"),g=e("#field-_product_query"),b=e("#field-_product_categories"),m=e("#field-_product_tags"),w=e("#field-_product_in"),y=e("#field-_products_per_page");if(t.on("change",function(){i.hide("fast"),o.hide("fast"),s.hide("fast"),a.hide("fast"),n.hide("fast"),l.hide("fast"),d.hide("fast"),"image-carousel"===this.value&&(i.slideDown(),s.slideDown()),"image-carousel-url"===this.value&&(o.slideDown(),s.slideDown()),"post-carousel"===this.value&&a.slideDown(),"video-carousel"===this.value&&n.slideDown(),"product-carousel"===this.value&&(l.slideDown(),g.show()),"hero-banner-slider"===this.value&&d.slideDown()}),"post-carousel"===t.val()){var k=c.val();"date_range"===k&&(r.show(),u.show()),"post_categories"===k&&_.show(),"post_tags"===k&&f.show(),"specific_posts"===k&&(p.show(),h.hide())}if(c.on("change",function(){r.hide("fast"),u.hide("fast"),_.hide("fast"),f.hide("fast"),p.hide("fast"),h.show("fast"),"date_range"===this.value&&(r.slideDown(),u.slideDown()),"post_categories"===this.value&&_.slideDown(),"post_tags"===this.value&&f.slideDown(),"specific_posts"===this.value&&(p.slideDown(),h.hide("fast"))}),"product-carousel"===t.val()){var D=v.val();"query_porduct"===D&&g.show(),"product_categories"===D&&b.show(),"product_tags"===D&&m.show(),"specific_products"===D&&w.show()}v.on("change",function(){g.hide("fast"),b.hide("fast"),m.hide("fast"),w.hide("fast"),y.show("fast"),"query_porduct"===this.value&&g.slideDown(),"product_categories"===this.value&&b.slideDown(),"product_tags"===this.value&&m.slideDown(),"specific_products"===this.value&&(w.slideDown(),y.hide("fast"))})}(jQuery),function(t){"use strict";t(".cs-tooltip").each(function(){t(this).tipTip()}),t("select.select2").each(function(){t(this).select2()}),t(".shapla-toggle").each(function(){"closed"===t(this).attr("data-id")?t(this).accordion({collapsible:!0,heightStyle:"content",active:!1}):t(this).accordion({collapsible:!0,heightStyle:"content"})}),t(".shapla-tabs").tabs({hide:{effect:"fadeOut",duration:200},show:{effect:"fadeIn",duration:200}}),t(".datepicker").each(function(){t(this).datepicker({dateFormat:"MM dd, yy",changeMonth:!0,changeYear:!0,onClose:function(e){t(this).datepicker("option","minDate",e)}})}),t(".color-picker").each(function(){t(this).wpColorPicker({palettes:["#2196F3","#009688","#4CAF50","#F44336","#FFEB3B","#00D1B2","#000000","#ffffff"]})})}(jQuery);
 
assets/js/admin/accordion.js DELETED
@@ -1,15 +0,0 @@
1
- (function ($) {
2
- 'use strict';
3
- $(document).on("click", ".accordion-header", function () {
4
- $(this).toggleClass('active');
5
- var panel = $(this).next();
6
-
7
- if (parseInt(panel.css('max-height')) > 0) {
8
- panel.css('max-height', '0');
9
- panel.css('overflow', 'hidden');
10
- } else {
11
- panel.css('max-height', panel.prop('scrollHeight') + "px");
12
- panel.css('overflow', 'visible');
13
- }
14
- });
15
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/admin/hero-banner.js DELETED
@@ -1,295 +0,0 @@
1
- (function ($) {
2
- "use strict";
3
-
4
- var body = $('body'),
5
- contentButtonModal = $('#contentButtonModal'),
6
- frame,
7
- section,
8
- imgIdInput,
9
- slideCanvas,
10
- delImgLink,
11
- buttonConfig;
12
-
13
- // Add new content slide
14
- body.on('click', '.carousel-slider__add-slide', function (e) {
15
- e.preventDefault();
16
-
17
- $.ajax({
18
- url: ajaxurl,
19
- method: 'POST',
20
- data: {
21
- action: 'add_content_slide',
22
- task: 'add-slide',
23
- post_id: $(this).data('post-id')
24
- },
25
- success: function () {
26
- window.location.reload(true);
27
- }
28
- });
29
- });
30
-
31
- // Delete a slide
32
- body.on('click', '.carousel_slider__delete_slide', function (e) {
33
- e.preventDefault();
34
-
35
- $.ajax({
36
- url: ajaxurl,
37
- method: 'POST',
38
- data: {
39
- action: 'add_content_slide',
40
- task: 'delete-slide',
41
- post_id: $(this).data('post-id'),
42
- slide_pos: $(this).data('slide-pos')
43
- },
44
- success: function () {
45
- window.location.reload(true);
46
- }
47
- });
48
- });
49
-
50
- // Move slide to top
51
- body.on('click', '.carousel_slider__move_top', function (e) {
52
- e.preventDefault();
53
-
54
- $.ajax({
55
- url: ajaxurl,
56
- method: 'POST',
57
- data: {
58
- action: 'add_content_slide',
59
- task: 'move-slide-top',
60
- post_id: $(this).data('post-id'),
61
- slide_pos: $(this).data('slide-pos')
62
- },
63
- success: function () {
64
- window.location.reload(true);
65
- }
66
- });
67
- });
68
-
69
- // Move slide up
70
- body.on('click', '.carousel_slider__move_up', function (e) {
71
- e.preventDefault();
72
-
73
- $.ajax({
74
- url: ajaxurl,
75
- method: 'POST',
76
- data: {
77
- action: 'add_content_slide',
78
- task: 'move-slide-up',
79
- post_id: $(this).data('post-id'),
80
- slide_pos: $(this).data('slide-pos')
81
- },
82
- success: function () {
83
- window.location.reload(true);
84
- }
85
- });
86
- });
87
-
88
- // Move slide down
89
- body.on('click', '.carousel_slider__move_down', function (e) {
90
- e.preventDefault();
91
-
92
- $.ajax({
93
- url: ajaxurl,
94
- method: 'POST',
95
- data: {
96
- action: 'add_content_slide',
97
- task: 'move-slide-down',
98
- post_id: $(this).data('post-id'),
99
- slide_pos: $(this).data('slide-pos')
100
- },
101
- success: function () {
102
- window.location.reload(true);
103
- }
104
- });
105
- });
106
-
107
- // Move slide to bottom
108
- body.on('click', '.carousel_slider__move_bottom', function (e) {
109
- e.preventDefault();
110
-
111
- $.ajax({
112
- url: ajaxurl,
113
- method: 'POST',
114
- data: {
115
- action: 'add_content_slide',
116
- task: 'move-slide-bottom',
117
- post_id: $(this).data('post-id'),
118
- slide_pos: $(this).data('slide-pos')
119
- },
120
- success: function () {
121
- window.location.reload(true);
122
- }
123
- });
124
- });
125
-
126
- // Add slide image
127
- body.on('click', '.slide_image_add', function (e) {
128
- e.preventDefault();
129
-
130
- var _this = $(this);
131
- section = _this.closest('.slide_bg_wrapper');
132
- slideCanvas = section.find('.content_slide_canvas');
133
- imgIdInput = section.find('.background_image_id');
134
- delImgLink = section.find('.delete-bg-img');
135
-
136
- // If the media frame already exists, reopen it.
137
- if (frame) {
138
- frame.open();
139
- return;
140
- }
141
-
142
- // Create a new media frame
143
- frame = wp.media({
144
- title: _this.data('title'),
145
- button: {
146
- text: _this.data('button-text')
147
- },
148
- multiple: false // Set to true to allow multiple files to be selected
149
- });
150
-
151
- // When an image is selected in the media frame...
152
- frame.on('select', function () {
153
-
154
- // Get media attachment details from the frame state
155
- var attachment = frame.state().get('selection').first().toJSON();
156
-
157
- // Send the attachment URL to our custom image input field.
158
- slideCanvas.css('background-image', 'url(' + attachment.url + ')');
159
-
160
- // Send the attachment id to our hidden input
161
- imgIdInput.val(attachment.id);
162
-
163
- // Show the remove image link
164
- delImgLink.removeClass('hidden');
165
- });
166
-
167
- // Finally, open the modal on click
168
- frame.open();
169
- });
170
-
171
- // Remove slide image
172
- body.on('click', '.delete-bg-img', function (e) {
173
- e.preventDefault();
174
-
175
- section = $(this).closest('.slide_bg_wrapper');
176
- slideCanvas = section.find('.content_slide_canvas');
177
- imgIdInput = section.find('.background_image_id');
178
- delImgLink = section.find('.delete-bg-img');
179
-
180
- // Clear out the preview image
181
- slideCanvas.css('background-image', '');
182
-
183
- // Delete the image id from the hidden input
184
- imgIdInput.val('0');
185
-
186
- // Hide the delete image link
187
- delImgLink.addClass('hidden');
188
- });
189
-
190
- // Background Position
191
- body.on('change', '.background_image_position', function () {
192
- var _val = $(this).val();
193
- section = $(this).closest('.slide_bg_wrapper');
194
- slideCanvas = section.find('.content_slide_canvas');
195
- slideCanvas.css('background-position', _val);
196
- });
197
-
198
- // Background Size
199
- body.on('change', '.background_image_size', function () {
200
- var _val = $(this).val();
201
- section = $(this).closest('.slide_bg_wrapper');
202
- slideCanvas = section.find('.content_slide_canvas');
203
- slideCanvas.css('background-size', _val);
204
- });
205
-
206
- // Add Button Style to Modal for Edit
207
- $('.addContentButton').on('click', function (e) {
208
- e.preventDefault();
209
-
210
- buttonConfig = $(this).closest('.button_config');
211
- var button_text = buttonConfig.find('.button_text').val();
212
- var button_url = buttonConfig.find('.button_url').val();
213
- var button_target = buttonConfig.find('.button_target').val();
214
- var button_type = buttonConfig.find('.button_type').val();
215
- var button_size = buttonConfig.find('.button_size').val();
216
- var button_color = buttonConfig.find('.button_color').val();
217
-
218
- contentButtonModal.find('#_button_text').val(button_text);
219
- contentButtonModal.find('#_button_url').val(button_url);
220
- contentButtonModal.find('#_button_target').val(button_target);
221
- contentButtonModal.find('#_button_type').val(button_type);
222
- contentButtonModal.find('#_button_size').val(button_size);
223
- contentButtonModal.find('#_button_color').val(button_color);
224
-
225
- contentButtonModal.addClass('is-active');
226
- });
227
-
228
- // Save Button style from modal form
229
- $('#saveContentButton').on('click', function (e) {
230
- e.preventDefault();
231
-
232
- if (!buttonConfig) {
233
- contentButtonModal.removeClass('is-active');
234
- return false;
235
- }
236
-
237
- var button_text = contentButtonModal.find('#_button_text').val();
238
- var button_url = contentButtonModal.find('#_button_url').val();
239
- var button_target = contentButtonModal.find('#_button_target').val();
240
- var button_type = contentButtonModal.find('#_button_type').val();
241
- var button_size = contentButtonModal.find('#_button_size').val();
242
- var button_color = contentButtonModal.find('#_button_color').val();
243
-
244
- buttonConfig.find('.button_text').val(button_text);
245
- buttonConfig.find('.button_url').val(button_url);
246
- buttonConfig.find('.button_target').val(button_target);
247
- buttonConfig.find('.button_type').val(button_type);
248
- buttonConfig.find('.button_size').val(button_size);
249
- buttonConfig.find('.button_color').val(button_color);
250
-
251
- contentButtonModal.removeClass('is-active');
252
-
253
- });
254
-
255
- // Background Color
256
- $('.slide-color-picker').each(function () {
257
- section = $(this).closest('.slide_bg_wrapper');
258
- slideCanvas = section.find('.content_slide_canvas');
259
- $(this).wpColorPicker({
260
- palettes: [
261
- '#2196F3', // Blue
262
- '#009688', // Teal
263
- '#4CAF50', // Green
264
- '#F44336', // Red
265
- '#FFEB3B', // Yellow
266
- '#00D1B2', // Firoza
267
- '#000000', // Blank
268
- '#ffffff' // White
269
- ],
270
- change: function (event, ui) {
271
- slideCanvas.css('background-color', ui.color.toString());
272
- }
273
- });
274
- });
275
-
276
- // Slide Link
277
- $(document).on('change', '.link_type', function (e) {
278
- var _this = $(this);
279
- var _val = _this.val();
280
- var _tab = _this.closest('.tab-content-link');
281
- var _linkFull = _tab.find('.ContentCarouselLinkFull');
282
- var _linkBtn = _tab.find('.ContentCarouselLinkButtons');
283
- if (_val === 'full') {
284
- _linkBtn.hide();
285
- _linkFull.show();
286
- } else if (_val === 'button') {
287
- _linkFull.hide();
288
- _linkBtn.show();
289
- } else {
290
- _linkFull.hide();
291
- _linkBtn.hide();
292
- }
293
- })
294
-
295
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/admin/index.php DELETED
@@ -1,2 +0,0 @@
1
- <?php
2
- // Code is Poetry
 
 
assets/js/admin/media-gallery.js DELETED
@@ -1,131 +0,0 @@
1
- (function ($) {
2
- "use strict";
3
-
4
- var frame,
5
- _this = $('#carousel_slider_gallery_btn'),
6
- images = _this.data('ids'),
7
- selection = loadImages(images);
8
-
9
- _this.on('click', function (e) {
10
- e.preventDefault();
11
- var options = {
12
- title: _this.data('create'),
13
- state: 'gallery-edit',
14
- frame: 'post',
15
- selection: selection
16
- };
17
-
18
- if (frame || selection) {
19
- options['title'] = _this.data('edit');
20
- }
21
-
22
- frame = wp.media(options).open();
23
-
24
- // Tweak Views
25
- frame.menu.get('view').unset('cancel');
26
- frame.menu.get('view').unset('separateCancel');
27
- frame.menu.get('view').get('gallery-edit').el.innerHTML = _this.data('edit');
28
- frame.content.get('view').sidebar.unset('gallery'); // Hide Gallery Settings in sidebar
29
-
30
- // when editing a gallery
31
- overrideGalleryInsert();
32
- frame.on('toolbar:render:gallery-edit', function () {
33
- overrideGalleryInsert();
34
- });
35
-
36
- frame.on('content:render:browse', function (browser) {
37
- if (!browser) return;
38
- // Hide Gallery Settings in sidebar
39
- browser.sidebar.on('ready', function () {
40
- browser.sidebar.unset('gallery');
41
- });
42
- // Hide filter/search as they don't work
43
- browser.toolbar.on('ready', function () {
44
- if (browser.toolbar.controller._state === 'gallery-library') {
45
- browser.toolbar.$el.hide();
46
- }
47
- });
48
- });
49
-
50
- // All images removed
51
- frame.state().get('library').on('remove', function () {
52
- var models = frame.state().get('library');
53
- if (models.length === 0) {
54
- selection = false;
55
- $.post(ajaxurl, {
56
- ids: '',
57
- action: 'carousel_slider_save_images',
58
- post_id: _this.data('id')
59
- });
60
- }
61
- });
62
-
63
- function overrideGalleryInsert() {
64
- frame.toolbar.get('view').set({
65
- insert: {
66
- style: 'primary',
67
- text: _this.data('save'),
68
- click: function () {
69
- var models = frame.state().get('library'),
70
- ids = '';
71
-
72
- models.each(function (attachment) {
73
- ids += attachment.id + ','
74
- });
75
-
76
- this.el.innerHTML = _this.data('progress');
77
-
78
- $.ajax({
79
- type: 'POST',
80
- url: ajaxurl,
81
- data: {
82
- ids: ids,
83
- action: 'carousel_slider_save_images',
84
- post_id: _this.data('id')
85
- },
86
- success: function () {
87
- selection = loadImages(ids);
88
- $('#_carousel_slider_images_ids').val(ids);
89
- frame.close();
90
- },
91
- dataType: 'html'
92
- }).done(function (data) {
93
- $('.carousel_slider_gallery_list').html(data);
94
- });
95
- }
96
- }
97
- });
98
- }
99
-
100
- });
101
-
102
- function loadImages(images) {
103
- if (images) {
104
- var shortcode = new wp.shortcode({
105
- tag: 'gallery',
106
- attrs: {ids: images},
107
- type: 'single'
108
- });
109
-
110
- var attachments = wp.media.gallery.attachments(shortcode);
111
-
112
- var selection = new wp.media.model.Selection(attachments.models, {
113
- props: attachments.props.toJSON(),
114
- multiple: true
115
- });
116
-
117
- selection.gallery = attachments.gallery;
118
-
119
- selection.more().done(function () {
120
- // Break ties with the query.
121
- selection.props.set({query: false});
122
- selection.unmirror();
123
- selection.props.unset('orderby');
124
- });
125
-
126
- return selection;
127
- }
128
- return false;
129
- }
130
-
131
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/admin/media-url.js DELETED
@@ -1,40 +0,0 @@
1
- /**
2
- * Carousel Slider Gallery from URL
3
- */
4
- (function ($) {
5
- 'use strict';
6
-
7
- var body = $('body'),
8
- modal = $('#CarouselSliderModal'),
9
- modalOpenBtn = $('#_images_urls_btn'),
10
- template = $('#carouselSliderGalleryUrlTemplate').html();
11
-
12
- // URL Images Model
13
- modalOpenBtn.on('click', function (e) {
14
- e.preventDefault();
15
- modal.css("display", "block");
16
- $("body").addClass("overflowHidden");
17
- });
18
- modal.on('click', '.carousel_slider-close', function (e) {
19
- e.preventDefault();
20
- modal.css("display", "none");
21
- $("body").removeClass("overflowHidden");
22
- });
23
-
24
- var carouselSliderBodyHeight = $(window).height() - (38 + 48 + 32 + 30);
25
- $('.carousel_slider-modal-body').css('height', carouselSliderBodyHeight + 'px');
26
-
27
- // Append new row
28
- body.on('click', '.add_row', function () {
29
- $(this).closest('.carousel_slider-fields').after(template);
30
- });
31
-
32
- // Delete current row
33
- body.on('click', '.delete_row', function () {
34
- $(this).closest('.carousel_slider-fields').remove();
35
- });
36
-
37
- // Make fields sortable
38
- $('#carousel_slider_form').sortable();
39
-
40
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/admin/modal.js DELETED
@@ -1,16 +0,0 @@
1
- (function ($) {
2
- 'use strict';
3
-
4
- // Open modal
5
- $(document).on('click', '[data-toggle="modal"]', function (e) {
6
- e.preventDefault();
7
- $($(this).data('target')).addClass('is-active');
8
- });
9
-
10
- // Close modal
11
- $(document).on('click', '[data-dismiss="modal"]', function (e) {
12
- e.preventDefault();
13
- $(this).closest('.modal').removeClass('is-active');
14
- });
15
-
16
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/admin/slide-type.js DELETED
@@ -1,144 +0,0 @@
1
- (function ($) {
2
- "use strict";
3
-
4
- var slide_type = $('#_carousel_slider_slide_type'),
5
- section_images_settings = $('#section_images_settings'),
6
- section_url_images_settings = $('#section_url_images_settings'),
7
- section_images_general_settings = $('#section_images_general_settings'),
8
- section_post_query = $('#section_post_query'),
9
- section_video_settings = $('#section_video_settings'),
10
- section_product_query = $('#section_product_query'),
11
- section_content_carousel = $('#section_content_carousel'),
12
- // Slide Type -- Post
13
- _post_query_type = $('#_post_query_type'),
14
- _post_date_after = $('#field-_post_date_after'),
15
- _post_date_before = $('#field-_post_date_before'),
16
- _post_categories = $('#field-_post_categories'),
17
- _post_tags = $('#field-_post_tags'),
18
- _post_in = $('#field-_post_in'),
19
- _posts_per_page = $('#field-_posts_per_page'),
20
- // Slide Type -- Product
21
- _product_query_type = $('#_product_query_type'),
22
- _product_query = $('#field-_product_query'),
23
- _product_categories = $('#field-_product_categories'),
24
- _product_tags = $('#field-_product_tags'),
25
- _product_in = $('#field-_product_in'),
26
- _products_per_page = $('#field-_products_per_page');
27
-
28
- // Slide Type
29
- slide_type.on('change', function () {
30
- section_images_settings.hide('fast');
31
- section_url_images_settings.hide('fast');
32
- section_images_general_settings.hide('fast');
33
- section_post_query.hide('fast');
34
- section_video_settings.hide('fast');
35
- section_product_query.hide('fast');
36
- section_content_carousel.hide('fast');
37
-
38
- if (this.value === 'image-carousel') {
39
- section_images_settings.slideDown();
40
- section_images_general_settings.slideDown();
41
- }
42
- if (this.value === 'image-carousel-url') {
43
- section_url_images_settings.slideDown();
44
- section_images_general_settings.slideDown();
45
- }
46
- if (this.value === 'post-carousel') {
47
- section_post_query.slideDown();
48
- }
49
- if (this.value === 'video-carousel') {
50
- section_video_settings.slideDown();
51
- }
52
- if (this.value === 'product-carousel') {
53
- section_product_query.slideDown();
54
- _product_query.show();
55
- }
56
- if (this.value === 'hero-banner-slider') {
57
- section_content_carousel.slideDown();
58
- }
59
- });
60
-
61
- // Slide Type -- Post Carousel
62
- if (slide_type.val() === 'post-carousel') {
63
- var _postQueryType = _post_query_type.val();
64
- if (_postQueryType === 'date_range') {
65
- _post_date_after.show();
66
- _post_date_before.show();
67
- }
68
- if (_postQueryType === 'post_categories') {
69
- _post_categories.show();
70
- }
71
- if (_postQueryType === 'post_tags') {
72
- _post_tags.show();
73
- }
74
- if (_postQueryType === 'specific_posts') {
75
- _post_in.show();
76
- _posts_per_page.hide();
77
- }
78
- }
79
-
80
- _post_query_type.on('change', function () {
81
-
82
- _post_date_after.hide('fast');
83
- _post_date_before.hide('fast');
84
- _post_categories.hide('fast');
85
- _post_tags.hide('fast');
86
- _post_in.hide('fast');
87
- _posts_per_page.show('fast');
88
-
89
- if (this.value === 'date_range') {
90
- _post_date_after.slideDown();
91
- _post_date_before.slideDown();
92
- }
93
- if (this.value === 'post_categories') {
94
- _post_categories.slideDown();
95
- }
96
- if (this.value === 'post_tags') {
97
- _post_tags.slideDown();
98
- }
99
- if (this.value === 'specific_posts') {
100
- _post_in.slideDown();
101
- _posts_per_page.hide('fast');
102
- }
103
- });
104
-
105
- // Slide Type -- Product Carousel
106
- if (slide_type.val() === 'product-carousel') {
107
- var _productQueryType = _product_query_type.val();
108
- if (_productQueryType === 'query_porduct') {
109
- _product_query.show();
110
- }
111
- if (_productQueryType === 'product_categories') {
112
- _product_categories.show();
113
- }
114
- if (_productQueryType === 'product_tags') {
115
- _product_tags.show();
116
- }
117
- if (_productQueryType === 'specific_products') {
118
- _product_in.show();
119
- }
120
- }
121
-
122
- _product_query_type.on('change', function () {
123
-
124
- _product_query.hide('fast');
125
- _product_categories.hide('fast');
126
- _product_tags.hide('fast');
127
- _product_in.hide('fast');
128
- _products_per_page.show('fast');
129
-
130
- if (this.value === 'query_porduct') {
131
- _product_query.slideDown();
132
- }
133
- if (this.value === 'product_categories') {
134
- _product_categories.slideDown();
135
- }
136
- if (this.value === 'product_tags') {
137
- _product_tags.slideDown();
138
- }
139
- if (this.value === 'specific_products') {
140
- _product_in.slideDown();
141
- _products_per_page.hide('fast');
142
- }
143
- });
144
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/admin/vendors.js DELETED
@@ -1,69 +0,0 @@
1
- (function ($) {
2
- "use strict";
3
-
4
- // Initializing TipTip
5
- $(".cs-tooltip").each(function () {
6
- $(this).tipTip();
7
- });
8
-
9
- // Initializing Select2
10
- $("select.select2").each(function () {
11
- $(this).select2();
12
- });
13
-
14
- // Initializing jQuery UI Accordion
15
- $(".shapla-toggle").each(function () {
16
- if ($(this).attr('data-id') === 'closed') {
17
- $(this).accordion({
18
- collapsible: true,
19
- heightStyle: "content",
20
- active: false
21
- });
22
- } else {
23
- $(this).accordion({
24
- collapsible: true,
25
- heightStyle: "content"
26
- });
27
- }
28
- });
29
-
30
- // Initializing jQuery UI Tab
31
- $(".shapla-tabs").tabs({
32
- hide: {
33
- effect: "fadeOut",
34
- duration: 200
35
- },
36
- show: {
37
- effect: "fadeIn",
38
- duration: 200
39
- }
40
- });
41
-
42
- //Initializing jQuery UI Date picker
43
- $('.datepicker').each(function () {
44
- $(this).datepicker({
45
- dateFormat: 'MM dd, yy',
46
- changeMonth: true,
47
- changeYear: true,
48
- onClose: function (selectedDate) {
49
- $(this).datepicker('option', 'minDate', selectedDate);
50
- }
51
- });
52
- });
53
-
54
- // Initializing WP Color Picker
55
- $('.color-picker').each(function () {
56
- $(this).wpColorPicker({
57
- palettes: [
58
- '#2196F3', // Blue
59
- '#009688', // Teal
60
- '#4CAF50', // Green
61
- '#F44336', // Red
62
- '#FFEB3B', // Yellow
63
- '#00D1B2', // Firoza
64
- '#000000', // Blank
65
- '#ffffff' // White
66
- ]
67
- });
68
- });
69
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/frontend.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e){var a={};function t(o){if(a[o])return a[o].exports;var n=a[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=a,t.d=function(e,a,o){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var n in e)t.d(o,n,function(a){return e[a]}.bind(null,n));return o},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=0)}({0:function(e,a,t){t(1),e.exports=t(14)},1:function(e,a,t){},14:function(e,a,t){"use strict";t.r(a);new function e(a){!function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,e),a("body").find(".carousel-slider").each((function(){var e=a(this),t=e.data("auto-width"),o=parseInt(e.data("stage-padding"));if(o=o>0?o:0,jQuery().owlCarousel&&(e.owlCarousel({stagePadding:o,nav:e.data("nav"),dots:e.data("dots"),margin:e.data("margin"),loop:e.data("loop"),autoplay:e.data("autoplay"),autoplayTimeout:e.data("autoplay-timeout"),autoplaySpeed:e.data("autoplay-speed"),autoplayHoverPause:e.data("autoplay-hover-pause"),slideBy:e.data("slide-by"),lazyLoad:e.data("lazy-load"),autoWidth:t,navText:['<svg class="carousel-slider-nav-icon" viewBox="0 0 20 20"><path d="M14 5l-5 5 5 5-1 2-7-7 7-7z"></path></use></svg>','<svg class="carousel-slider-nav-icon" viewBox="0 0 20 20"><path d="M6 15l5-5-5-5 1-2 7 7-7 7z"></path></svg>'],responsive:{320:{items:e.data("colums-mobile")},600:{items:e.data("colums-small-tablet")},768:{items:e.data("colums-tablet")},993:{items:e.data("colums-small-desktop")},1200:{items:e.data("colums-desktop")},1921:{items:e.data("colums")}}}),"hero-banner-slider"===e.data("slide-type"))){var n=e.data("animation");n.length&&(e.on("change.owl.carousel",(function(){e.find(".carousel-slider-hero__cell__content").removeClass("animated "+n).hide()})),e.on("changed.owl.carousel",(function(t){setTimeout((function(){a(t.target).find(".carousel-slider-hero__cell__content").eq(t.item.index).show().addClass("animated "+n)}),e.data("autoplay-speed"))})))}jQuery().magnificPopup&&("product-carousel"===e.data("slide-type")?a(this).find(".magnific-popup").magnificPopup({type:"ajax"}):"video-carousel"===e.data("slide-type")?a(this).find(".magnific-popup").magnificPopup({type:"iframe"}):a(this).find(".magnific-popup").magnificPopup({type:"image",gallery:{enabled:!0},zoom:{enabled:!0,duration:300,easing:"ease-in-out"}}))}))}(jQuery)}});
assets/js/gutenberg-block.js CHANGED
@@ -1,223 +1 @@
1
- /**
2
- * Carousel Slider Block
3
- *
4
- * A block for embedding a carousel slider into a post/page.
5
- */
6
- (function (blocks, i18n, editor, element, components) {
7
-
8
- var el = element.createElement, // function to create elements
9
- settings = window.carousel_slider_gutenberg_block,
10
- TextControl = components.TextControl,// text input control
11
- InspectorControls = editor.InspectorControls; // sidebar controls
12
-
13
- // register our block
14
- blocks.registerBlockType('carousel-slider/slider', {
15
- title: settings.block_title,
16
- icon: 'slides',
17
- category: 'common',
18
-
19
- attributes: {
20
- sliderID: {type: 'integer', default: 0},
21
- sliderName: {type: 'string', default: ''}
22
- },
23
-
24
- edit: function (props) {
25
- var sliderID = props.attributes.sliderID,
26
- sliderName = props.attributes.sliderName,
27
- children = [];
28
-
29
- if (!sliderID) sliderID = ''; // Default.
30
- if (!sliderName) sliderName = ''; // Default
31
-
32
- // this function is required, but we don't need it to do anything
33
- function carouselSliderOnValueChange(sliderName) {
34
- }
35
-
36
- // show the dropdown when we click on the input
37
- function carouselSliderFocusClick(event) {
38
- var elementID = event.target.getAttribute('id');
39
- var idArray = elementID.split('-');
40
- var carouselSliderOptions = document.getElementById('carousel-slider-filter-container-' + idArray[idArray.length - 1]);
41
- // get the related input element
42
- var carouselSliderInput = document.getElementById('carousel-slider-sliderFilter-' + idArray[idArray.length - 1]);
43
- // set focus to the element so the onBlur function runs properly
44
- carouselSliderInput.focus();
45
- carouselSliderOptions.style.display = 'block';
46
- }
47
-
48
- // function for select the slider on filter drop down item click
49
- function selectSlider(event) {
50
- //set the attributes from the selected for item
51
- props.setAttributes({
52
- sliderID: parseInt(event.target.getAttribute('data-slider_id')),
53
- sliderName: event.target.innerText
54
- });
55
- /**
56
- * Get the main div of the filter to tell if this is being
57
- * selected from the sidebar or block so we can hide the dropdown
58
- */
59
- var elementID = event.target.parentNode.parentNode;
60
- var idArray = elementID.getAttribute('id').split('-');
61
- var carouselSliderOptions = document.getElementById('carousel-slider-filter-container-' + idArray[idArray.length - 1]);
62
- var inputEl = document.getElementById('carousel-slider-sliderFilter-sidebar');
63
-
64
- if (inputEl) {
65
- inputEl.value = '';
66
- }
67
- carouselSliderOptions.style.display = 'none';
68
- }
69
-
70
- function carouselSliderHideOptions(event) {
71
- /**
72
- * Get the main div of the filter to tell if this is being
73
- * selected from the sidebar or block so we can hide the dropdown
74
- */
75
- var elementID = event.target.getAttribute('id');
76
- var idArray = elementID.split('-');
77
- var carouselSliderOptions = document.getElementById('carousel-slider-filter-container-' + idArray[idArray.length - 1]);
78
- carouselSliderOptions.style.display = 'none';
79
- }
80
-
81
- function carouselSliderInputKeyUp(event) {
82
- var val = event.target.value;
83
- /**
84
- * Get the main div of the filter to tell if this is being
85
- * selected from the sidebar or block so we can SHOW the dropdown
86
- */
87
- var filterInputContainer = event.target.parentNode.parentNode.parentNode;
88
- filterInputContainer.querySelector('.carousel-slider-filter-option-container').style.display = 'block';
89
- filterInputContainer.style.display = 'block';
90
-
91
- // Let's filter the sliders here
92
- _.each(settings.sliders, function (slider, index) {
93
- var liEl = filterInputContainer.querySelector("[data-slider_id='" + slider.value + "']");
94
- if (0 <= slider.label.toLowerCase().indexOf(val.toLowerCase())) {
95
- // shows options that DO contain the text entered
96
- liEl.style.display = 'block';
97
- } else {
98
- // hides options the do not contain the text entered
99
- liEl.style.display = 'none';
100
- }
101
- });
102
- }
103
-
104
- // Set up the slider items from the localized php variables
105
- var sliderItems = [];
106
- _.each(settings.sliders, function (slider, index) {
107
- sliderItems.push(el('li', {
108
- className: 'carousel-slider-filter-option',
109
- 'data-slider_id': slider.value, onMouseDown: selectSlider
110
- },
111
- slider.label + " ( ID: " + slider.value + " )"))
112
- });
113
-
114
- // Set up slider filter for the block
115
- var inputFilterMain = el('div', {
116
- id: 'carousel-slider-filter-input-main',
117
- className: 'carousel-slider-filter-input'
118
- },
119
- el(TextControl, {
120
- id: 'carousel-slider-sliderFilter-main',
121
- placeHolder: settings.select_slider,
122
- className: 'carousel-slider-filter-input-el blocks-select-control__input',
123
- onChange: carouselSliderOnValueChange,
124
- onClick: carouselSliderFocusClick,
125
- onKeyUp: carouselSliderInputKeyUp,
126
- onBlur: carouselSliderHideOptions
127
- }),
128
- el('span', {
129
- id: 'carousel-slider-filter-input-icon-main',
130
- className: 'carousel-slider-filter-input-icon',
131
- onClick: carouselSliderFocusClick,
132
- dangerouslySetInnerHTML: {__html: '&#9662;'}
133
- }),
134
- el('div', {
135
- id: 'carousel-slider-filter-container-main',
136
- className: 'carousel-slider-filter-option-container'
137
- },
138
- el('ul', null, sliderItems)
139
- )
140
- );
141
- // Create filter input for the sidebar blocks settings
142
- var inputFilterSidebar = el('div', {
143
- id: 'carousel-slider-filter-input-sidebar',
144
- className: 'carousel-slider-filter-input'
145
- },
146
- el(TextControl, {
147
- id: 'carousel-slider-sliderFilter-sidebar',
148
- placeHolder: settings.select_slider,
149
- className: 'carousel-slider-filter-input-el blocks-select-control__input',
150
- onChange: carouselSliderOnValueChange,
151
- onClick: carouselSliderFocusClick,
152
- onKeyUp: carouselSliderInputKeyUp,
153
- onBlur: carouselSliderHideOptions
154
- }),
155
- el('span', {
156
- id: 'carousel-slider-filter-input-icon-sidebar',
157
- className: 'carousel-slider-filter-input-icon',
158
- onClick: carouselSliderFocusClick,
159
- dangerouslySetInnerHTML: {__html: '&#9662;'}
160
- }),
161
- el('div', {
162
- id: 'carousel-slider-filter-container-sidebar',
163
- className: 'carousel-slider-filter-option-container'
164
- },
165
- el('ul', null, sliderItems)
166
- )
167
- );
168
-
169
- // Set up the slider filter dropdown in the side bar 'block' settings
170
- var inspectorControls = el(InspectorControls, {},
171
- el('span', null, settings.selected_slider),
172
- el('br', null),
173
- el('span', null, sliderName),
174
- el('br', null),
175
- el('hr', null),
176
- el('label', {for: 'carousel-slider-sliderFilter-sidebar'}, settings.filter_slider),
177
- inputFilterSidebar
178
- );
179
-
180
- /**
181
- * Create the div container, add an overlay so the user can interact
182
- * with the slider in Gutenberg, then render the iframe with slider
183
- */
184
- if ('' === sliderID) {
185
- children.push(el('div', {style: {width: '100%'}},
186
- el('img', {className: 'carousel-slider-block-logo', src: settings.block_logo}),
187
- el('div', null, settings.block_title),
188
- inputFilterMain
189
- ));
190
- } else {
191
- children.push(
192
- el('div', {className: 'carousel-slider-iframe-container'},
193
- el('div', {className: 'carousel-slider-iframe-overlay'}),
194
- el('iframe', {
195
- className: 'carousel-slider-iframe',
196
- src: settings.site_url + '?carousel_slider_preview=1&carousel_slider_iframe=1&slider_id=' + sliderID,
197
- height: '0',
198
- width: '500',
199
- scrolling: 'no'
200
- })
201
- )
202
- )
203
- }
204
- children.push(inspectorControls);
205
- return [children];
206
- },
207
-
208
- save: function (props) {
209
- var sliderID = props.attributes.sliderID;
210
-
211
- if (!sliderID) return '';
212
- /**
213
- * we're essentially just adding a short code, here is where
214
- * it's save in the editor
215
- *
216
- * return content wrapped in DIV b/c raw HTML is unsupported
217
- * going forward
218
- */
219
- var returnHTML = '[carousel_slide id=' + parseInt(sliderID) + ']';
220
- return el('div', null, returnHTML);
221
- }
222
- });
223
- })(window.wp.blocks, window.wp.i18n, window.wp.editor, window.wp.element, window.wp.components);
1
+ !function(e){var l={};function r(t){if(l[t])return l[t].exports;var i=l[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=l,r.d=function(e,l,t){r.o(e,l)||Object.defineProperty(e,l,{enumerable:!0,get:t})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,l){if(1&l&&(e=r(e)),8&l)return e;if(4&l&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&l&&"string"!=typeof e)for(var i in e)r.d(t,i,function(l){return e[l]}.bind(null,i));return t},r.n=function(e){var l=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(l,"a",l),l},r.o=function(e,l){return Object.prototype.hasOwnProperty.call(e,l)},r.p="",r(r.s=11)}({11:function(e,l,r){r(12),e.exports=r(13)},12:function(e,l,r){},13:function(e,l){var r,t,i,n,s,o,a,d;r=window.wp.blocks,window.wp.i18n,t=window.wp.editor,i=window.wp.element,n=window.wp.components,s=i.createElement,o=window.carousel_slider_gutenberg_block,a=n.TextControl,d=t.InspectorControls,r.registerBlockType("carousel-slider/slider",{title:o.block_title,icon:"slides",category:"common",attributes:{sliderID:{type:"integer",default:0},sliderName:{type:"string",default:""}},edit:function(e){var l=e.attributes.sliderID,r=e.attributes.sliderName,t=[];function i(e){}function n(e){var l=e.target.getAttribute("id").split("-"),r=document.getElementById("carousel-slider-filter-container-"+l[l.length-1]);document.getElementById("carousel-slider-sliderFilter-"+l[l.length-1]).focus(),r.style.display="block"}function u(l){e.setAttributes({sliderID:parseInt(l.target.getAttribute("data-slider_id")),sliderName:l.target.innerText});var r=l.target.parentNode.parentNode.getAttribute("id").split("-"),t=document.getElementById("carousel-slider-filter-container-"+r[r.length-1]),i=document.getElementById("carousel-slider-sliderFilter-sidebar");i&&(i.value=""),t.style.display="none"}function c(e){var l=e.target.getAttribute("id").split("-");document.getElementById("carousel-slider-filter-container-"+l[l.length-1]).style.display="none"}function p(e){var l=e.target.value,r=e.target.parentNode.parentNode.parentNode;r.querySelector(".carousel-slider-filter-option-container").style.display="block",r.style.display="block",_.each(o.sliders,(function(e,t){var i=r.querySelector("[data-slider_id='"+e.value+"']");0<=e.label.toLowerCase().indexOf(l.toLowerCase())?i.style.display="block":i.style.display="none"}))}l||(l=""),r||(r="");var f=[];_.each(o.sliders,(function(e,l){f.push(s("li",{className:"carousel-slider-filter-option","data-slider_id":e.value,onMouseDown:u},e.label+" ( ID: "+e.value+" )"))}));var m=s("div",{id:"carousel-slider-filter-input-main",className:"carousel-slider-filter-input"},s(a,{id:"carousel-slider-sliderFilter-main",placeHolder:o.select_slider,className:"carousel-slider-filter-input-el blocks-select-control__input",onChange:i,onClick:n,onKeyUp:p,onBlur:c}),s("span",{id:"carousel-slider-filter-input-icon-main",className:"carousel-slider-filter-input-icon",onClick:n,dangerouslySetInnerHTML:{__html:"&#9662;"}}),s("div",{id:"carousel-slider-filter-container-main",className:"carousel-slider-filter-option-container"},s("ul",null,f))),b=s("div",{id:"carousel-slider-filter-input-sidebar",className:"carousel-slider-filter-input"},s(a,{id:"carousel-slider-sliderFilter-sidebar",placeHolder:o.select_slider,className:"carousel-slider-filter-input-el blocks-select-control__input",onChange:i,onClick:n,onKeyUp:p,onBlur:c}),s("span",{id:"carousel-slider-filter-input-icon-sidebar",className:"carousel-slider-filter-input-icon",onClick:n,dangerouslySetInnerHTML:{__html:"&#9662;"}}),s("div",{id:"carousel-slider-filter-container-sidebar",className:"carousel-slider-filter-option-container"},s("ul",null,f))),y=s(d,{},s("span",null,o.selected_slider),s("br",null),s("span",null,r),s("br",null),s("hr",null),s("label",{for:"carousel-slider-sliderFilter-sidebar"},o.filter_slider),b);return""===l?t.push(s("div",{style:{width:"100%"}},s("img",{className:"carousel-slider-block-logo",src:o.block_logo}),s("div",null,o.block_title),m)):t.push(s("div",{className:"carousel-slider-iframe-container"},s("div",{className:"carousel-slider-iframe-overlay"}),s("iframe",{className:"carousel-slider-iframe",src:o.site_url+"?carousel_slider_preview=1&carousel_slider_iframe=1&slider_id="+l,height:"0",width:"500",scrolling:"no"}))),t.push(y),[t]},save:function(e){var l=e.attributes.sliderID;if(!l)return"";var r="[carousel_slide id="+parseInt(l)+"]";return s("div",null,r)}})}});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/index.php DELETED
@@ -1,2 +0,0 @@
1
- <?php
2
- // Code is Poetry
 
 
assets/js/public/CarouselSlider.js DELETED
@@ -1,81 +0,0 @@
1
- class CarouselSlider {
2
- constructor($) {
3
- $('body').find('.carousel-slider').each(function () {
4
- var _this = $(this);
5
- var autoWidth = _this.data('auto-width');
6
- var stagePadding = parseInt(_this.data('stage-padding'));
7
- stagePadding = stagePadding > 0 ? stagePadding : 0;
8
-
9
- if (jQuery().owlCarousel) {
10
- _this.owlCarousel({
11
- stagePadding: stagePadding,
12
- nav: _this.data('nav'),
13
- dots: _this.data('dots'),
14
- margin: _this.data('margin'),
15
- loop: _this.data('loop'),
16
- autoplay: _this.data('autoplay'),
17
- autoplayTimeout: _this.data('autoplay-timeout'),
18
- autoplaySpeed: _this.data('autoplay-speed'),
19
- autoplayHoverPause: _this.data('autoplay-hover-pause'),
20
- slideBy: _this.data('slide-by'),
21
- lazyLoad: _this.data('lazy-load'),
22
- autoWidth: autoWidth,
23
- navText: [
24
- '<svg class="carousel-slider-nav-icon" viewBox="0 0 20 20"><path d="M14 5l-5 5 5 5-1 2-7-7 7-7z"></path></use></svg>',
25
- '<svg class="carousel-slider-nav-icon" viewBox="0 0 20 20"><path d="M6 15l5-5-5-5 1-2 7 7-7 7z"></path></svg>'
26
- ],
27
- responsive: {
28
- 320: {items: _this.data('colums-mobile')},
29
- 600: {items: _this.data('colums-small-tablet')},
30
- 768: {items: _this.data('colums-tablet')},
31
- 993: {items: _this.data('colums-small-desktop')},
32
- 1200: {items: _this.data('colums-desktop')},
33
- 1921: {items: _this.data('colums')}
34
- }
35
- });
36
-
37
- if ('hero-banner-slider' === _this.data('slide-type')) {
38
- var animation = _this.data('animation');
39
- if (animation.length) {
40
- _this.on('change.owl.carousel', function () {
41
- var sliderContent = _this.find('.carousel-slider-hero__cell__content');
42
- sliderContent.removeClass('animated' + ' ' + animation).hide();
43
- });
44
- _this.on('changed.owl.carousel', function (e) {
45
- setTimeout(function () {
46
- var current = $(e.target).find('.carousel-slider-hero__cell__content').eq(e.item.index);
47
- current.show().addClass('animated' + ' ' + animation);
48
- }, _this.data('autoplay-speed'));
49
- });
50
- }
51
- }
52
- }
53
-
54
- if (jQuery().magnificPopup) {
55
- if (_this.data('slide-type') === 'product-carousel') {
56
- $(this).find('.magnific-popup').magnificPopup({
57
- type: 'ajax'
58
- });
59
- } else if ('video-carousel' === _this.data('slide-type')) {
60
- $(this).find('.magnific-popup').magnificPopup({
61
- type: 'iframe'
62
- });
63
- } else {
64
- $(this).find('.magnific-popup').magnificPopup({
65
- type: 'image',
66
- gallery: {
67
- enabled: true
68
- },
69
- zoom: {
70
- enabled: true,
71
- duration: 300,
72
- easing: 'ease-in-out'
73
- }
74
- });
75
- }
76
- }
77
- });
78
- }
79
- }
80
-
81
- export {CarouselSlider}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/public/main.js DELETED
@@ -1,3 +0,0 @@
1
- import {CarouselSlider} from "./CarouselSlider";
2
-
3
- new CarouselSlider(jQuery);
 
 
 
assets/js/script.js DELETED
@@ -1,87 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
4
- (factory());
5
- }(this, (function () { 'use strict';
6
-
7
- var CarouselSlider = function CarouselSlider($) {
8
- $('body').find('.carousel-slider').each(function () {
9
- var _this = $(this);
10
- var autoWidth = _this.data('auto-width');
11
- var stagePadding = parseInt(_this.data('stage-padding'));
12
- stagePadding = stagePadding > 0 ? stagePadding : 0;
13
-
14
- if (jQuery().owlCarousel) {
15
- _this.owlCarousel({
16
- stagePadding: stagePadding,
17
- nav: _this.data('nav'),
18
- dots: _this.data('dots'),
19
- margin: _this.data('margin'),
20
- loop: _this.data('loop'),
21
- autoplay: _this.data('autoplay'),
22
- autoplayTimeout: _this.data('autoplay-timeout'),
23
- autoplaySpeed: _this.data('autoplay-speed'),
24
- autoplayHoverPause: _this.data('autoplay-hover-pause'),
25
- slideBy: _this.data('slide-by'),
26
- lazyLoad: _this.data('lazy-load'),
27
- autoWidth: autoWidth,
28
- navText: [
29
- '<svg class="carousel-slider-nav-icon" viewBox="0 0 20 20"><path d="M14 5l-5 5 5 5-1 2-7-7 7-7z"></path></use></svg>',
30
- '<svg class="carousel-slider-nav-icon" viewBox="0 0 20 20"><path d="M6 15l5-5-5-5 1-2 7 7-7 7z"></path></svg>'
31
- ],
32
- responsive: {
33
- 320: {items: _this.data('colums-mobile')},
34
- 600: {items: _this.data('colums-small-tablet')},
35
- 768: {items: _this.data('colums-tablet')},
36
- 993: {items: _this.data('colums-small-desktop')},
37
- 1200: {items: _this.data('colums-desktop')},
38
- 1921: {items: _this.data('colums')}
39
- }
40
- });
41
-
42
- if ('hero-banner-slider' === _this.data('slide-type')) {
43
- var animation = _this.data('animation');
44
- if (animation.length) {
45
- _this.on('change.owl.carousel', function () {
46
- var sliderContent = _this.find('.carousel-slider-hero__cell__content');
47
- sliderContent.removeClass('animated' + ' ' + animation).hide();
48
- });
49
- _this.on('changed.owl.carousel', function (e) {
50
- setTimeout(function () {
51
- var current = $(e.target).find('.carousel-slider-hero__cell__content').eq(e.item.index);
52
- current.show().addClass('animated' + ' ' + animation);
53
- }, _this.data('autoplay-speed'));
54
- });
55
- }
56
- }
57
- }
58
-
59
- if (jQuery().magnificPopup) {
60
- if (_this.data('slide-type') === 'product-carousel') {
61
- $(this).find('.magnific-popup').magnificPopup({
62
- type: 'ajax'
63
- });
64
- } else if ('video-carousel' === _this.data('slide-type')) {
65
- $(this).find('.magnific-popup').magnificPopup({
66
- type: 'iframe'
67
- });
68
- } else {
69
- $(this).find('.magnific-popup').magnificPopup({
70
- type: 'image',
71
- gallery: {
72
- enabled: true
73
- },
74
- zoom: {
75
- enabled: true,
76
- duration: 300,
77
- easing: 'ease-in-out'
78
- }
79
- });
80
- }
81
- }
82
- });
83
- };
84
-
85
- new CarouselSlider(jQuery);
86
-
87
- })));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/script.min.js DELETED
@@ -1 +0,0 @@
1
- !function(a,e){"object"==typeof exports&&"undefined"!=typeof module?e():"function"==typeof define&&define.amd?define(e):e()}(0,function(){"use strict";new function(i){i("body").find(".carousel-slider").each(function(){var e=i(this),a=e.data("auto-width"),t=parseInt(e.data("stage-padding"));if(t=0<t?t:0,jQuery().owlCarousel&&(e.owlCarousel({stagePadding:t,nav:e.data("nav"),dots:e.data("dots"),margin:e.data("margin"),loop:e.data("loop"),autoplay:e.data("autoplay"),autoplayTimeout:e.data("autoplay-timeout"),autoplaySpeed:e.data("autoplay-speed"),autoplayHoverPause:e.data("autoplay-hover-pause"),slideBy:e.data("slide-by"),lazyLoad:e.data("lazy-load"),autoWidth:a,navText:['<svg class="carousel-slider-nav-icon" viewBox="0 0 20 20"><path d="M14 5l-5 5 5 5-1 2-7-7 7-7z"></path></use></svg>','<svg class="carousel-slider-nav-icon" viewBox="0 0 20 20"><path d="M6 15l5-5-5-5 1-2 7 7-7 7z"></path></svg>'],responsive:{320:{items:e.data("colums-mobile")},600:{items:e.data("colums-small-tablet")},768:{items:e.data("colums-tablet")},993:{items:e.data("colums-small-desktop")},1200:{items:e.data("colums-desktop")},1921:{items:e.data("colums")}}}),"hero-banner-slider"===e.data("slide-type"))){var o=e.data("animation");o.length&&(e.on("change.owl.carousel",function(){e.find(".carousel-slider-hero__cell__content").removeClass("animated "+o).hide()}),e.on("changed.owl.carousel",function(a){setTimeout(function(){i(a.target).find(".carousel-slider-hero__cell__content").eq(a.item.index).show().addClass("animated "+o)},e.data("autoplay-speed"))}))}jQuery().magnificPopup&&("product-carousel"===e.data("slide-type")?i(this).find(".magnific-popup").magnificPopup({type:"ajax"}):"video-carousel"===e.data("slide-type")?i(this).find(".magnific-popup").magnificPopup({type:"iframe"}):i(this).find(".magnific-popup").magnificPopup({type:"image",gallery:{enabled:!0},zoom:{enabled:!0,duration:300,easing:"ease-in-out"}}))})}(jQuery)});
 
carousel-slider.php CHANGED
@@ -3,14 +3,14 @@
3
  * Plugin Name: Carousel Slider
4
  * Plugin URI: http://wordpress.org/plugins/carousel-slider
5
  * Description: <strong>Carousel Slider</strong> allows you to create beautiful, touch enabled, responsive carousels and sliders. It let you create SEO friendly Image carousel from Media Library or from custom URL, Video carousel using Youtube and Vimeo video, Post carousel, Hero banner slider and various types of WooCommerce products carousels.
6
- * Version: 1.9.3
7
  * Author: Sayful Islam
8
  * Author URI: https://sayfulislam.com
9
  * Requires at least: 4.8
10
- * Tested up to: 5.4
11
  *
12
  * WC requires at least: 3.0
13
- * WC tested up to: 4.0
14
  *
15
  * Text Domain: carousel-slider
16
  *
@@ -48,14 +48,14 @@ if ( ! class_exists( 'Carousel_Slider' ) ) {
48
  *
49
  * @var string
50
  */
51
- private $version = '1.9.2';
52
 
53
  /**
54
  * Minimum PHP version required
55
  *
56
  * @var string
57
  */
58
- private $min_php = '5.3.0';
59
 
60
  /**
61
  * The instance of the class
3
  * Plugin Name: Carousel Slider
4
  * Plugin URI: http://wordpress.org/plugins/carousel-slider
5
  * Description: <strong>Carousel Slider</strong> allows you to create beautiful, touch enabled, responsive carousels and sliders. It let you create SEO friendly Image carousel from Media Library or from custom URL, Video carousel using Youtube and Vimeo video, Post carousel, Hero banner slider and various types of WooCommerce products carousels.
6
+ * Version: 1.9.4
7
  * Author: Sayful Islam
8
  * Author URI: https://sayfulislam.com
9
  * Requires at least: 4.8
10
+ * Tested up to: 5.5
11
  *
12
  * WC requires at least: 3.0
13
+ * WC tested up to: 4.4
14
  *
15
  * Text Domain: carousel-slider
16
  *
48
  *
49
  * @var string
50
  */
51
+ private $version = '1.9.4';
52
 
53
  /**
54
  * Minimum PHP version required
55
  *
56
  * @var string
57
  */
58
+ private $min_php = '5.6.0';
59
 
60
  /**
61
  * The instance of the class
includes/class-carousel-slider-meta-box.php CHANGED
@@ -274,7 +274,7 @@ if ( ! class_exists( 'Carousel_Slider_Meta_Box' ) ):
274
  $_autoplay = get_post_meta( $post->ID, '_autoplay', true );
275
  $_autoplay = in_array( $_autoplay, array( 'on', 'off' ) ) ? $_autoplay : 'on';
276
  $_autoplay_pause = get_post_meta( $post->ID, '_autoplay_pause', true );
277
- $_autoplay_pause = in_array( $_autoplay_pause, array( 'on', 'off' ) ) ? $_autoplay : 'off';
278
  $_autoplay_timeout = get_post_meta( $post->ID, '_autoplay_timeout', true );
279
  $_autoplay_timeout = $_autoplay_timeout ? absint( $_autoplay_timeout ) : 5000;
280
  $_autoplay_speed = get_post_meta( $post->ID, '_autoplay_speed', true );
274
  $_autoplay = get_post_meta( $post->ID, '_autoplay', true );
275
  $_autoplay = in_array( $_autoplay, array( 'on', 'off' ) ) ? $_autoplay : 'on';
276
  $_autoplay_pause = get_post_meta( $post->ID, '_autoplay_pause', true );
277
+ $_autoplay_pause = in_array( $_autoplay_pause, array( 'on', 'off' ) ) ? $_autoplay_pause : 'off';
278
  $_autoplay_timeout = get_post_meta( $post->ID, '_autoplay_timeout', true );
279
  $_autoplay_timeout = $_autoplay_timeout ? absint( $_autoplay_timeout ) : 5000;
280
  $_autoplay_speed = get_post_meta( $post->ID, '_autoplay_speed', true );
includes/class-carousel-slider-script.php CHANGED
@@ -42,7 +42,7 @@ if ( ! class_exists( 'Carousel_Slider_Script' ) ) {
42
  public function register_styles() {
43
  $styles = array(
44
  'carousel-slider' => array(
45
- 'src' => CAROUSEL_SLIDER_ASSETS . '/css/style.css',
46
  'dependency' => array(),
47
  'version' => CAROUSEL_SLIDER_VERSION,
48
  'media' => 'all',
@@ -86,7 +86,7 @@ if ( ! class_exists( 'Carousel_Slider_Script' ) ) {
86
  'in_footer' => true,
87
  ),
88
  'carousel-slider-admin' => array(
89
- 'src' => CAROUSEL_SLIDER_ASSETS . '/js/admin' . $suffix . '.js',
90
  'dependency' => array(
91
  'jquery',
92
  'select2',
@@ -113,7 +113,7 @@ if ( ! class_exists( 'Carousel_Slider_Script' ) ) {
113
  'in_footer' => true,
114
  ),
115
  'carousel-slider' => array(
116
- 'src' => CAROUSEL_SLIDER_ASSETS . '/js/script' . $suffix . '.js',
117
  'dependency' => array( 'jquery', 'owl-carousel', 'magnific-popup' ),
118
  'version' => CAROUSEL_SLIDER_VERSION,
119
  'in_footer' => true,
42
  public function register_styles() {
43
  $styles = array(
44
  'carousel-slider' => array(
45
+ 'src' => CAROUSEL_SLIDER_ASSETS . '/css/frontend.css',
46
  'dependency' => array(),
47
  'version' => CAROUSEL_SLIDER_VERSION,
48
  'media' => 'all',
86
  'in_footer' => true,
87
  ),
88
  'carousel-slider-admin' => array(
89
+ 'src' => CAROUSEL_SLIDER_ASSETS . '/js/admin.js',
90
  'dependency' => array(
91
  'jquery',
92
  'select2',
113
  'in_footer' => true,
114
  ),
115
  'carousel-slider' => array(
116
+ 'src' => CAROUSEL_SLIDER_ASSETS . '/js/frontend.js',
117
  'dependency' => array( 'jquery', 'owl-carousel', 'magnific-popup' ),
118
  'version' => CAROUSEL_SLIDER_VERSION,
119
  'in_footer' => true,
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: sayful, stackonet, majeedraza
3
  Tags: woocommerce, shortcode, images, carousel, carousel slider, image carousel, product carousel, slider, owl carousel
4
  Requires at least: 4.8
5
- Tested up to: 5.4
6
  Requires PHP: 5.6
7
- Stable tag: 1.9.3
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
10
 
@@ -86,6 +86,13 @@ If you still need help. visit [WordPress codex](https://codex.wordpress.org/Mana
86
 
87
  == Changelog ==
88
 
 
 
 
 
 
 
 
89
  = version 1.9.3 - 2019-11-17 =
90
  * Tweak - Checked version compatibility with WooCommerce 3.8.*
91
  * Tweak - Checked version compatibility with WordPress 5.3.*
2
  Contributors: sayful, stackonet, majeedraza
3
  Tags: woocommerce, shortcode, images, carousel, carousel slider, image carousel, product carousel, slider, owl carousel
4
  Requires at least: 4.8
5
+ Tested up to: 5.5
6
  Requires PHP: 5.6
7
+ Stable tag: 1.9.4
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.txt
10
 
86
 
87
  == Changelog ==
88
 
89
+ = version 1.9.4 - 2020-07-05 =
90
+ * Fix - in settings "Pause On Hover" looses it's value.
91
+ * Fix - Carousel Displaying code from Divi Builder on post thumbnails.
92
+ * Fix - Bug Store XSS with profile image.
93
+ * Tweak - Checked version compatibility with WooCommerce 4.2.*
94
+ * Dev - Replace module bundler from gulp to webpack.
95
+
96
  = version 1.9.3 - 2019-11-17 =
97
  * Tweak - Checked version compatibility with WooCommerce 3.8.*
98
  * Tweak - Checked version compatibility with WordPress 5.3.*
templates/public/images-carousel.php CHANGED
@@ -19,7 +19,7 @@ $_show_lightbox = get_post_meta( $id, '_image_lightbox', true );
19
  ?>
20
  <div class="carousel-slider-outer carousel-slider-outer-images carousel-slider-outer-<?php echo $id; ?>">
21
  <?php carousel_slider_inline_style( $id ); ?>
22
- <div <?php echo join( " ", $this->carousel_options( $id ) ); ?>>
23
  <?php
24
  foreach ( $images_ids as $image_id ):
25
 
@@ -34,8 +34,8 @@ $_show_lightbox = get_post_meta( $id, '_image_lightbox', true );
34
 
35
  echo '<div class="carousel-slider__item">';
36
 
37
- $title = sprintf( '<h4 class="title">%1$s</h4>', $image_title );
38
- $caption = sprintf( '<p class="caption">%1$s</p>', $image_caption );
39
 
40
  if ( $_show_attachment_title == 'on' && $_show_attachment_caption == 'on' ) {
41
 
@@ -85,5 +85,5 @@ $_show_lightbox = get_post_meta( $id, '_image_lightbox', true );
85
 
86
  endforeach;
87
  ?>
88
- </div><!-- #id-## -->
89
  </div>
19
  ?>
20
  <div class="carousel-slider-outer carousel-slider-outer-images carousel-slider-outer-<?php echo $id; ?>">
21
  <?php carousel_slider_inline_style( $id ); ?>
22
+ <div <?php echo join( " ", $this->carousel_options( $id ) ); ?>>
23
  <?php
24
  foreach ( $images_ids as $image_id ):
25
 
34
 
35
  echo '<div class="carousel-slider__item">';
36
 
37
+ $title = sprintf( '<h4 class="title">%1$s</h4>', esc_html( $image_title ) );
38
+ $caption = sprintf( '<p class="caption">%1$s</p>', esc_html( $image_caption ) );
39
 
40
  if ( $_show_attachment_title == 'on' && $_show_attachment_caption == 'on' ) {
41
 
85
 
86
  endforeach;
87
  ?>
88
+ </div><!-- #id-## -->
89
  </div>
templates/public/post-carousel.php CHANGED
@@ -11,7 +11,7 @@ $_lazy_load_image = get_post_meta( $id, '_lazy_load_image', true );
11
  ?>
12
  <div class="carousel-slider-outer carousel-slider-outer-posts carousel-slider-outer-<?php echo $id; ?>">
13
  <?php carousel_slider_inline_style( $id ); ?>
14
- <div <?php echo join( " ", $this->carousel_options( $id ) ); ?>>
15
  <?php
16
  $posts = carousel_slider_posts( $id );
17
  foreach ( $posts as $_post ):
@@ -30,7 +30,8 @@ $_lazy_load_image = get_post_meta( $id, '_lazy_load_image', true );
30
  $_thumb_id = get_post_thumbnail_id( $post->ID );
31
  $num_words = apply_filters( 'carousel_slider_post_excerpt_length', 20 );
32
  $more_text = apply_filters( 'carousel_slider_post_read_more', ' ...', $post );
33
- $_excerpt = wp_trim_words( wp_strip_all_tags( $post->post_content ), $num_words, $more_text );
 
34
 
35
  if ( has_post_thumbnail( $post ) ) {
36
  $image_src = wp_get_attachment_image_src( $_thumb_id, $_image_size );
@@ -107,5 +108,5 @@ $_lazy_load_image = get_post_meta( $id, '_lazy_load_image', true );
107
  endforeach;
108
  wp_reset_postdata();
109
  ?>
110
- </div>
111
  </div>
11
  ?>
12
  <div class="carousel-slider-outer carousel-slider-outer-posts carousel-slider-outer-<?php echo $id; ?>">
13
  <?php carousel_slider_inline_style( $id ); ?>
14
+ <div <?php echo join( " ", $this->carousel_options( $id ) ); ?>>
15
  <?php
16
  $posts = carousel_slider_posts( $id );
17
  foreach ( $posts as $_post ):
30
  $_thumb_id = get_post_thumbnail_id( $post->ID );
31
  $num_words = apply_filters( 'carousel_slider_post_excerpt_length', 20 );
32
  $more_text = apply_filters( 'carousel_slider_post_read_more', ' ...', $post );
33
+ $_content = apply_filters( 'the_content', $post->post_content );
34
+ $_excerpt = wp_trim_words( $_content, $num_words, $more_text );
35
 
36
  if ( has_post_thumbnail( $post ) ) {
37
  $image_src = wp_get_attachment_image_src( $_thumb_id, $_image_size );
108
  endforeach;
109
  wp_reset_postdata();
110
  ?>
111
+ </div>
112
  </div>