{"html":"<div class=\"ue_slider\"  style=\"direction:ltr;\" id=\"{{uc_id}}-wrapper\">\n   <div class=\"ue_slider-container owl-carousel owl-theme uc-items-wrapper {{remote_parent.class}} {{uc_filtering_addclass}} {{uc_dynamic_popup_class}}\" id=\"{{uc_id}}\" {{remote_parent.attributes|raw}} data-custom-sethtml=\"true\" {{uc_filtering_attributes|raw}}>\n   \t\t{{put_items()}}\n   <\/div>\t\n<\/div>\n\n{% if show_empty_message == \"true\" %}\n\n  <div id=\"{{uc_id}}_empty_message\" class=\"ue-no-posts-found\" {% if uc_num_items > 0 %} style=\"display:none\" {% endif %}>{{no_posts_found|raw}}<\/div>\n\n{% endif %}","html_item":"<div class=\"ue-slider-item\" id=\"{{item.item_id}}\" style=\"background-image:url({{item.products.image}}); background-size:cover;background-position:center;background-color:white;background-repeat:no-repeat;\">\n  <div class=\"ue-slider-item-overlay\"><\/div>\n  \n  <div class=\"ue-slider-item-container\" style=\"position:relative;\">\n    \n    {% if(show_label_from_custom_field_ == \"true\") %}          \t\t\n       \n        {% set custom_field_value = ucfunc(\"get_post_custom_field\", item.products.id, custom_field_name) %} \n          \t\t\t\n\t\t{% if custom_field_value is not empty %}\n\t\t\t\t<div class=\"ue_woocommerce_product_label ue_woocommerce_product_label-custom-field\">{{custom_field_value|raw}}<\/div>\n        {% endif %}\n          \n    {% endif %}\n    \n    {% if(before_shop_loop_item == \"true\") %} \n  \t\t{{do_action(\"woocommerce_before_shop_loop_item\")}}\n\t{% endif %} \n    \n    {% if(enable_third_party_integrations == \"true\")%}\n    \t{{do_action('ue_woocommerce_product_integrations', item.products.id)}}\n\t{%endif%}\n\n        {% if item.products.woo_sale_price is empty %}\n            {% else %}\n        \t\t{% if show_sale_label == \"true\" %}\n                 <div class=\"ue_badge-container\">\n                 <div class=\"ue_badge\">\n                   {{sale_label|raw}} \n                   {% if show_sale_precent_in_label == \"true\" %}\n                     {{item.products.woo_discount_percent}}%\n                   {% endif %}\t\n                 <\/div>\n                 <\/div>\n                {% endif %}\t\n            {% endif %}\n    \n       {% if show_category == \"true\" %}<div class=\"ue_cat_name\"><a href=\"{{item.products.category_link}}\">{{item.products.category_name}}<\/a><\/div>{% endif %}\n    \n       {% if(before_shop_loop_item_title == \"true\") %} \n          {{do_action(\"woocommerce_before_shop_loop_item_title\")}}\n       {% endif %}\n    \n       {% if show_title == \"true\" %}<div class=\"uc_post_title\"><a href=\"{{item.products.link}}\">{{item.products.title|raw}}<\/a><\/div>{% endif %}\n    \n       {% if(after_shop_loop_item_title == \"true\") %} \n          {{do_action(\"woocommerce_after_shop_loop_item_title\")}}\n       {% endif %}\n       \n       {% if show_rating == \"true\" %}\n              <div class=\"product-rating\">\n                {%for staritem in item.products.woo_rating_stars %}                \n                    <i class=\"{{staritem.class}}\"><\/i>\n                {% endfor %}\n              <\/div>\n       {% endif %}\n    \n        <div class=\"uc_prices\">  \n          {% if show_regular_price == \"true\" and item.products.woo_sale_price is not empty %}\n          <div class=\"uc_price\">{{item.products.woo_regular_price|wc_price|raw}}<\/div>\n          {% endif %}\n          \n       {% if show_sale_price == \"true\" and item.products.woo_price is not empty %}\n      \t\t<div class=\"uc_sale_price\">{{item.products.woo_price|wc_price|raw}}<\/div>\n      {% endif %}\n    <\/div>\n    <div class=\"uc_buttons\">\n      {% if show_product_button == \"true\" %}<a class=\"uc_btn {{item.products.dynamic_popup_link_class|raw}}\" {{item.products.dynamic_popup_link_attributes|raw}} target=\"{{open_product_in_new_tab}}\">{{product_button_text|raw}}<\/a>{% endif %}\n      {% if show_add_to_cart_button == \"true\" %}\n      \n        {% if(item.products.woo_type == \"variable\") %}\n        \t{% set buttonAddCartTextCombined = select_options_button_text %}        \t\n        {% else %}\n        \t{% set buttonAddCartTextCombined = add_to_cart_button_text %}\n        {% endif %}\n                           \n      \t<a {{item.products.woo_addcart_ajax_attributes|raw}}>{{ buttonAddCartTextCombined|raw}}<\/a>                  \n\n      {% endif %}\n    <\/div>\n    \n     {% if(after_shop_loop_item == \"true\") %} \n  \t\t{{do_action(\"woocommerce_after_shop_loop_item\")}}\n     {% endif %} \n    \n  <\/div>\n<\/div>","css":"#{{uc_id}}{\n  min-height:1px;\n}\n\n#{{uc_id}} .ue_woocommerce_product_label-custom-field{\n\tz-index: 100;\n}\n\n#{{uc_id}}-wrapper\n{\n  min-height:1px;\n}\n\n#{{uc_id}} *{\n  box-sizing:border-box;\n}\n\n#{{uc_id}} .uc_image_carousel_content\n{ \n  box-sizing:border-box;\n}\n\n\n.ue_slider{\n  position:relative;\n}\n\n.uc_post_title{\n  font-size:21px;\n}\n\n\n#{{uc_id}}  .owl-nav .owl-prev{\n    position:absolute;\n    display:inline-block;\n    text-align:center;\n}\n#{{uc_id}}  .owl-nav .owl-next{\n  position:absolute;\n  display:inline-block;\n  text-align:center;\n}\n\n#{{uc_id}} .owl-nav .owl-prev:after{\n    content: \"{{arrow_left|raw}}\";\n}\n#{{uc_id}}  .owl-nav .owl-next:after{\n    content: \"{{arrow_right|raw}}\";\n}\n\n\n\n#{{uc_id}} .uc_btn, .uc-button-addcart, .added_to_cart{\n \n    display:{{button_style}};\n  text-decoration:none;\n  text-align:center;\n}\n\n\n\n#{{uc_id}} .owl-dots {\noverflow:hidden;\n display:{{show_dots}} !important;\ntext-align:{{dot_alignment}};\n}\n\n#{{uc_id}} .owl-dot {\nborder-radius:50%;\ndisplay:inline-block;\n}\n\n.uc-button-addcart.added\n{\n  display:none !important;\n}\n\n.uc_prices > div\n{\n  display:{{prices_style}};\n}\n\n\n#{{uc_id}} .ue_woocommerce_product_carousel_sale_label\n{\n  display:inline-block;\n  position:absolute;\n  {{horizontal_snap}}:{{label_horizontal_distance}}px;\n  {{vertical_snap}}:{{label_vertical_distance}}px;\n}\n\n\n\n#{{uc_id}} .ue-slider-item\n{\n  overflow:hidden;\n  width:100%;\n  display:flex;\n  position:relative;\n}\n\n#{{uc_id}} .ue_badge\n{\n  display:inline-flex;\n  align-items:center;\n  justify-content:center; \n}\n\n{% if badge_position == \"absolute\" %}\n     #{{uc_id}} .ue_badge\n      {\n        position:absolute;\n        {{badge_horizontal_snap}}:{{badge_horizontal_offset}}px;\n        {{badge_vertical_snap}}:{{badge_vertical_offset}}px;\n      }\n{% endif %}\n\n.ue_badge\n{\n  font-size:10px;\n  line-height:1em;\n  text-decoration:none;\n}\n\n.ue_cat_name\n{\n  text-decoration:none;\n}\n\n#{{uc_id}} .ue-slider-item-overlay\n{\n  position:absolute;\n  top:0;\n  left:0;\n  right:0;\n  bottom:0;\n}\n\n#{{uc_id}} .ue-slider-item-container\n{\n}","css_item":"{% if item.products.woo_sale_price is empty %}\n\t#{{item.item_id}} .uc_sale_currency\n    {\n      display:none\n    }\n{% else %} \n\t#{{item.item_id}} .uc_price\n    {\n      text-decoration:line-through;\n    }\n{% endif %}","js":"jQuery(document).ready(function(){\t\nfunction {{uc_id}}_start(){\n\t\t\n  var objCarousel = jQuery('#{{uc_id}}');\n  \n  \t\tobjCarousel.owlCarousel({\n\t\t\t    loop: {{loop}},\n                navText : [\"\",\"\"],\n                nav: {{show_arrows}},\n                autoplayTimeout:{{autoplay_interval}},\n                smartSpeed: {{transition_speed}},  \n                navigation:true,\n                singleItem:true,\n                autoplay: {{autoplay}},\n\t\t\t\tmargin: 0,\n\t\t\t\titems:1\n\t\t  });\n  \n\t{{ucfunc(\"put_remote_parent_js\",\"objCarousel\")}}  \n\n\tobjCarousel.on(\"uc_ajax_sethtml\",function(event, htmlItems, isAppend){\n      \t\n      \tobjCarousel.trigger(\"replace.owl.carousel\",htmlItems);\n      \tobjCarousel.trigger(\"refresh.owl.carousel\");\n         \n    });\n    \n  \n  {% if redirect_to_checkout == \"true\" %}\n      jQuery('#{{uc_id}} .uc-button-addcart').click(function(e) {\n\n        var ueAddCartButton = jQuery(this);\n\n        function checkAndRedirect(tryCount) {\n          if (ueAddCartButton.hasClass('added')) {\n            {% if redirect_to_checkout_open_in_new_tab == \"false\" %} window.location.href = \"{{checkout_page_link}}\"; {% endif %}\n            {% if redirect_to_checkout_open_in_new_tab == \"true\" %} window.open(\"{{checkout_page_link}}\", '_blank'); {% endif %}\n          } else if (tryCount < 100) {\n             setTimeout(function() {\n             checkAndRedirect(tryCount + 1);\n             }, 150);\n          }\n        }\n                                                                                                                           \n        checkAndRedirect(0);\n                                                                                                                           \n      });\n  {% endif %}\n  \n\n}if(jQuery(\"#{{uc_id}}\").length) {{uc_id}}_start(); else\n\tjQuery( document ).on( 'elementor\/popup\/show', () => { if(jQuery(\"#{{uc_id}}\").length) {{uc_id}}_start();});\n});"}