{"html":"<div class=\"uc_overlay_image_carousel\">\n   <div class=\"uc_carousel 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=\"uc_image_carousel_container_holder ue-woo-item ue-item\" id=\"{{item.item_id}}\">\n      \n  <div class=\"uc_image_carousel_placeholder\" style=\"position:relative;\">\n    \n    {% if(enable_third_party_integrations == \"true\")%}\n    \t{{do_action('ue_woocommerce_product_integrations', item.products.id)}}\n\t{% endif %}\n    \n    <a href=\"{{item.products.link}}\">\n      \n      <div class=\"uc_product_image\" >\n        \n            {% if item.products.image is empty %}\n               <img src=\"{{default_image}}\" {{default_image_attributes|raw}}>\n            {% else %}\n            \t<img src=\"{{item.products.image}}\" {{item.products.image_attributes|raw}}>\n        \t{% endif %}\n            \n      <\/div>\n      \n      {% if swap_image_on_hover == \"true\" %}\n     \n            {% set urlImage2 = ucfunc(\"get_woo_image2\",item.products.id,item.products.image_size) %}\n\n            {% if urlImage2 is not empty %}\n\n                <div class=\"uc_product_image uc_product_image--second\">\n                  <img src=\"{{urlImage2}}\" {{item.products.image_attributes|raw}}>\n                <\/div>   \n\n            {% endif %}\n\n       {% endif %}\n      \n    <\/a>\n    {% if(show_labels == \"true\") %}\n      {% if(item.products.woo_stock_status == \"outofstock\") %}\n          <div class=\"ue_woocommerce_product_label ue_woocommerce_product_grid_out_of_stock_label\">{{out_of_stock_text|raw}}<\/div>\n      {% else %}\n          {% if item.products.woo_sale_price is empty %}\n          {% else %}\n                   <div class=\"ue_woocommerce_product_label ue_woocommerce_product_carousel_sale_label uc-direction\">\n                     {% if sale_label_position == \"before\" %}\n                      {{sale_label|raw}}                                       \n                     {% endif %}\n\n                     {% if show_sale_precent_in_label == \"true\" %}\n                       {{item.products.woo_discount_percent}}%\n                     {% endif %}\t                   \n\n                     {% if sale_label_position == \"after\" %}\n                       {{sale_label|raw}}                                       \n                     {% endif %}               \n                   <\/div>\n          {% endif %}\t\n       {% endif %}\t\n     {% endif %}\n  <\/div>\n\n  <div class=\"uc_image_carousel_content\" >\n    <div class=\"uc_image_carousel_content_inside\">\n      \n    {% if show_label_from_custom_field_ == \"true\" and custom_field_label_position_static == \"before\" %}          \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 show_category == \"true\" %}<div class=\"ue_cat_name uc-direction\"><a href=\"{{item.products.category_link}}\">{{item.products.category_name}}<\/a><\/div>{% endif %}\n    {% if show_title == \"true\" %}<div class=\"uc_post_title uc-direction\"><a href=\"{{item.products.link}}\">{{item.products.title|raw}}<\/a><\/div>{% endif %}\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      {% set price = item.products.woo_price %}\n      \n     {% if show_intro == \"true\" %}<div class=\"uc_post_intro uc-direction\">{{item.products.intro_full|truncate(intro_characters, false, \"...\")}}<\/div>{% endif %}\n      \n    <div class=\"uc_prices\">\n             \n        {% if show_regular_price == \"true\" and item.products.woo_sale_price is not empty %}\n         \n        \t<div class=\"uc_regular_price\">\n              {% if item.products.woo_type == \"variable\" %}\n                            \n\t\t\t\t\t{% if item.products.woo_regular_price_from == item.products.woo_regular_price_to %}\n              \n              \t\t\t{%if replace_0_price_by_text == \"true\" and item.products.woo_regular_price!= \"\" %}              \n                              <span class=\"uc_sale_currency\">{{item.products.woo_regular_price|wc_price|raw}}{{text_after_prices|raw}}<\/span>\n                        {% elseif replace_0_price_by_text == \"true\" and item.products.woo_regular_price == \"\" %}              \n                              {{replace_0_price_text|raw}}\n                        {% endif %}\n\n                        {%if replace_0_price_by_text == \"false\" %}              \n                                 <span class=\"uc_sale_currency\">{{item.products.woo_regular_price|wc_price|raw}}{{text_after_prices|raw}}<\/span>         \n                        {% endif %}\n\t\t\t\t\t\t\n\t\t\t\t\t{% else %}        \n              \n              \t\t\t{% if show_only_lowest_variable_product_price == \"true\" %}\n\t\t\t\t\t\t\t<span class=\"uc_sale_currency\">{{before_lowest_price_text|raw}}{{item.products.woo_regular_price_from|wc_price(item.products.woo_regular_price_from_id)|raw}}{{text_after_prices|raw}}<\/span>\n              \t\t\t{% else %}\n              \t\t\t\t<span class=\"uc_sale_currency\">{{item.products.woo_regular_price_from|wc_price(item.products.woo_regular_price_from_id)|raw}}{{text_after_prices|raw}}<\/span> - <span class=\"uc_sale_currency\">{{item.products.woo_regular_price_to|wc_price(item.products.woo_regular_price_to_id)|raw}}{{text_after_prices|raw}}<\/span>\n              \t\t\t{% endif %}\n              \n\t\t\t\t\t{% endif %}\n              \n              {% else %}\n              \t\n              \t{% if replace_0_price_by_text == \"true\" and item.products.woo_regular_price!= \"\" %}              \n                      {{item.products.woo_regular_price|wc_price|raw}}{{text_after_prices|raw}}         \n              \t{% elseif replace_0_price_by_text == \"true\" and item.products.woo_regular_price == \"\" %}              \n              \t\t  {{replace_0_price_text|raw}}              \n              \t{% endif %}\n                     \n              \t{% if replace_0_price_by_text == \"false\" %}              \n              \t\t\t {{item.products.woo_regular_price|wc_price|raw}}{{text_after_prices|raw}}          \n              \t{% endif %}\n              \n             {%endif%}\n              \n         \t<\/div>\n         \t\n        {% endif %}\n        \n       {% if show_sale_price == \"true\" %}\n        \t<div class=\"uc_price\">\n              {% if item.products.woo_type == \"variable\" %}\n\n                {% if item.products.woo_price_from == item.products.woo_price_to %}\n              \n              \t\t{% if replace_0_price_by_text == \"true\" and price != \"\" %}              \n                      {{price|wc_price|raw}}{{text_after_prices|raw}}       \n              \t\t{% elseif replace_0_price_by_text == \"true\" and price == \"\" %}              \n              \t\t  {{price}}            \n              \t\t{% endif %}\n                     \n              \t\t{% if replace_0_price_by_text == \"false\" %}              \n              \t\t\t {{price|wc_price|raw}}{{text_after_prices|raw}}              \n              \t\t{% endif %}\n              \n                {% else %}\n              \t\t\n              \t\t{% if show_only_lowest_variable_product_price == \"true\" %}\n              \t\t\t{{before_lowest_price_text|raw}}{{item.products.woo_price_from|wc_price(item.products.woo_price_from_id)|raw}}{{text_after_prices|raw}}\n              \t\t{% else %}\n                    \t{{item.products.woo_price_from|wc_price(item.products.woo_price_from_id)|raw}}{{text_after_prices|raw}}  - {{item.products.woo_price_to|wc_price(item.products.woo_price_to_id)|raw}}{{text_after_prices|raw}}           \n                \t{% endif %}\n              \n              \t{% endif %}\n\n              {% else %}\n              \n              \t{% if replace_0_price_by_text == \"true\" and price != \"\" %}              \n                      {{price|wc_price|raw}}{{text_after_prices|raw}}              \n              \t{% elseif replace_0_price_by_text == \"true\" and price == \"\" %}              \n              \t\t  {{replace_0_price_text|raw}}              \n              \t{% endif %}\n                     \n              \t{% if replace_0_price_by_text == \"false\" %}              \n              \t\t\t {{price|wc_price|raw}}{{text_after_prices|raw}}              \n              \t{% endif %}\n                     \n             {% endif %}\n              \n         \t<\/div>\n       {% endif %}\n      \n    <\/div>\n      \n    {% if show_label_from_custom_field_ == \"true\" and custom_field_label_position_static == \"after\" %}          \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    <div class=\"uc_buttons\">\n      \n       {% if show_quantity_increment_buttons == \"true\" %}\n              <div class=\"uc_carousel-count-buttons\">\n                    <button class=\"uc_carousel-count-buttons__minus\" disabled>{{quantity_minus_html|raw}}<\/button>\n                    <input type=\"number\" class=\"uc_carousel-count-buttons__number\" value=\"1\">\n                    <button class=\"uc_carousel-count-buttons__plus\" >{{quantity_plus_html|raw}}<\/button>\n              <\/div>\n      {% endif %}\n      \n      {% if show_product_button == \"true\" %}                \n           <a class=\"uc_btn uc-direction {{item.products.dynamic_popup_link_class|raw}}\" {{item.products.dynamic_popup_link_attributes|raw}} target=\"{{open_product_in_new_tab}}\">{{product_button_icon_html|raw}}{{product_button_text|raw}}<\/a> \n      {% endif %}\n      \n      {% if show_add_to_cart_button == \"true\" %}      \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      \t<a {{item.products.link}}{{item.products.woo_addcart_ajax_attributes|raw}}>{{add_to_cart_button_icon_html|raw}}{{ buttonAddCartTextCombined|raw}}<\/a>\n      \t\n      {% endif %}\n      \n    <\/div>\n    <\/div>\n\n{% if(enable_third_party_integrations == \"true\")%}\n\t{{do_action('ue_woocommerce_product_integrations_bottom', item.products.id)}}\n{%endif%}\n    \n   <\/div>\n<\/div>","css":"#{{uc_id}}{\n  min-height:1px;\n  position:relative;\n}\n\n#{{uc_id}} *{\n  box-sizing:border-box;\n}\n\n\n#{{uc_id}} .ue_woocommerce_product_label-custom-field{\n\tz-index: 100;\n}\n\n#{{uc_id}} .uc_image_carousel_content{ \n  box-sizing:border-box;\n}\n\n#{{uc_id}} .uc_image_carousel_placeholder{\n  overflow:hidden;\n  position:relative;\n}\n\n\n#{{uc_id}} .owl-nav .owl-prev{\n    position:absolute;\n    display:inline-block;\n    text-align:center;\n}\n\n#{{uc_id}} .owl-nav .owl-next{\n  position:absolute;\n  display:inline-block;\n  text-align:center;\n}\n\n#{{uc_id}} .uc_image_carousel_container_holder{\n  text-align:{{text_align}};\n  overflow:hidden;\n}\n\n#{{uc_id}} .uc_btn, \n#{{uc_id}} .uc-button-addcart, \n#{{uc_id}} .added_to_cart{\n  display:{{button_style}};\n  text-decoration:none;\n  text-align:center;\n}\n\n\n#{{uc_id}} .uc_product_image--second{\n  \twidth: 100%;\n    height: 100%;\n    object-fit: cover;\n\tposition: absolute;\n  \ttop: 0;\n  \tright: 0;\n  \t{% if swap_animation_type == \"slide\" %}\n  \t\t{% if swap_slide_direction == \"left\" %}\n  \t\t\ttransform: translate(-100%, 0);\n  \t\t{% elseif swap_slide_direction == \"right\" %}\n  \t\t\ttransform: translate(100%, 0);\n  \t\t{% elseif swap_slide_direction == \"top\" %}\n    \t\ttransform: translate(0, -100%);\n  \t\t{% elseif swap_slide_direction == \"bottom\" %}\n  \t\t\ttransform: translate(0, 100%);\n  \t\t{% endif %}    \n  \t{% elseif swap_animation_type == \"fade\" %}\n  \t\topacity: 0;\n  \t{% endif %} \n  \ttransition: all .3s;\n}\n\n#{{uc_id}} .uc_image_carousel_placeholder:hover .uc_product_image--second{  \n  \t{% if swap_animation_type == \"slide\" %}\n\t\ttransform: translate(0, 0);\n  \t{% elseif swap_animation_type == \"fade\" %}\n  \t\topacity: 1;\n  \t{% endif %}\n}\n\n\n#{{uc_id}} .uc_product_image img{\n  width:100%;\n  font-size:0px;\n}\n\n#{{uc_id}} .owl-dots {\n  overflow:hidden;\n  display:{{show_dots}} !important;\n  text-align:{{dot_alignment}};\n}\n\n#{{uc_id}} .owl-dot {\n  border-radius:50%;\n  display:inline-block;\n}\n\n{% if layout == \"overlay\" %}\n\t#{{uc_id}} .uc_image_carousel_content{\n      position:absolute;\n      top:0px;\n      left:0px;\n      bottom:0px;\n      right:0px;\n      opacity:0;\n      transition:1s;\n      display:flex;\n      align-items:center;\n      flex-direction:column;\n      justify-content: center;\n    }\n\n\t#{{uc_id}} .uc_image_carousel_container_holder:hover .uc_image_carousel_content{\n      opacity:1;\n    }\n\n{% endif %}\n\n{% if layout == \"partial_overlay\" %}\n\t#{{uc_id}} .uc_image_carousel_content{\n     position:absolute;\n     bottom:20px;\n     left:20px;\n     right:20px;\n    }\n{% endif %}\n\n{% if layout == \"partial_overlay\" %}\n\t#{{uc_id}} .uc_image_carousel_content{\n     position:absolute;\n     bottom:20px;\n     left:20px;\n     right:20px;\n    }\n{% endif %}\n\n{% if layout == \"under_overlap\" %}\n\t#{{uc_id}} .uc_image_carousel_content{\n     margin-left:20px;\n      margin-right:20px;\n      margin-top:-30px;\n      position:relative;\n    }\n{% endif %}\n\n{% if layout == \"reveal_from_bottom\" %}\n\t#{{uc_id}} .uc_image_carousel_content{\n        margin-left:0px;\n        margin-right:0px;\n        margin-top:0px;\n        position:absolute;\n      \tbottom: -100%;\n        left: 0;\n        right: 0;\n        transition: ease-in-out all 0.25s;\n    }\n    #{{uc_id}} .uc_image_carousel_container_holder:hover .uc_image_carousel_content{\n\t\tbottom: 0;\n    }\n{% endif %}\n\n{% if layout == \"side_by_side\" %}\n  #{{uc_id}} .uc_image_carousel_container_holder{\n    display:flex;\n    flex-direction:row!important;\n  }\n  #{{uc_id}} .uc_image_carousel_placeholder, #{{uc_id}} .uc_product_image, #{{uc_id}} .uc_image_carousel_placeholder a{\n    display:flex;\n  }\n  #{{uc_id}} .uc_image_carousel_container_holder > div{\n  }\n  #{{uc_id}} .uc_image_carousel_container_holder img{\n    height:100%;\n  }\n  #{{uc_id}} .uc_image_carousel_placeholder{\n    width:50%;\n  }\n\n  #{{uc_id}} .uc_image_carousel_content{\n    width:50%;\n    display:flex;\n    flex-direction:column;\n    justify-content:center;\n    align-items:center;\n  }\n{% endif %}\n\n.uc-button-addcart.added{\n  display:none !important;\n}\n.uc_post_title{\n  font-size:21px;\n}\n.uc_overlay_image_carousel{\n  min-height:1px;\n}\n\n.uc_prices > div{\n  display:{{prices_style}};\n}\n\n#{{uc_id}} .uc_image_carousel_container_holder .uc_product_image{\n  transition:0.5s;\n}\n\n{% if item_hover_effects == \"grow\" %}\n  #{{uc_id}} .uc_image_carousel_container_holder:hover .uc_product_image{\n    transform:scale(1.1,1.1);\n  }\n{% endif %}\n\n{% if item_hover_effects == \"desaturate\" %}\n  #{{uc_id}} .uc_image_carousel_container_holder:hover .uc_product_image{\n    filter: grayscale(100%);\n  }\n{% endif %}\n\n#{{uc_id}} .ue_woocommerce_product_carousel_sale_label{\n  display:inline-flex;\n  position:absolute;\n  {{horizontal_snap}}:{{label_horizontal_distance}}px;\n  {{vertical_snap}}:{{label_vertical_distance}}px;\n  align-items:center;\n  justify-content:center;\n}\n\n#{{uc_id}} .ue_woocommerce_product_grid_out_of_stock_label{\n    position: absolute;\n  \tdisplay:inline-flex;\n    align-items:center;\n    justify-content:center;\n  \t{{horizontal_snap}}:{{label_horizontal_distance}}px;\n  \t{{vertical_snap}}:{{label_vertical_distance}}px;\n  \tz-index: 1;\n}\n\n#{{uc_id}} .uc_image_carousel_content_inside{\n  display:flex;\n  flex-direction:column;\n}\n\n#{{uc_id}} .uc_buttons{\n  margin-top:auto;\n}\n\n#{{uc_id}} .ue-woo-item{\n  transition:0.3s;\n}\n\n{% if show_button_on_hover == \"true\" %}\n  #{{uc_id}} .ue-woo-item .uc_buttons{\n    opacity:0;\n    transition:0.3s;\n  }\n\n  #{{uc_id}} .ue-woo-item:hover .uc_buttons{\n    opacity:1;\n    transition:0.3s;\n  }\n{% endif %}\n\n{% if make_3d == \"true\" %} \n  #{{uc_id}} .ue-item {\n      opacity: 0.3;\n      transform: scale3d(0.8, 0.8, 1);\n      transition: all 0.3s ease-in-out;\n  }\n\n  #{{uc_id}} .active.center .ue-item {\n      opacity: 1;\n      transform: scale3d(1, 1, 1);\n      transition: all 0.3s ease-in-out;\n  }\n{% endif %}\n\n#{{uc_id}} .jet-wishlist-button__container{\n  \tmargin-top:10px;\n}\n\n\/* hide default arrows in input type number *\/\n\/* Chrome, Safari, Edge, Opera *\/\n#{{uc_id}} input.uc_carousel-count-buttons__number::-webkit-outer-spin-button,\n#{{uc_id}} input.uc_carousel-count-buttons__number::-webkit-inner-spin-button{\n\t-webkit-appearance: none;\n  \tmargin: 0;\n}\n\n\/* Firefox *\/\n#{{uc_id}} input.uc_carousel-count-buttons__number[type=number]{\n\t-moz-appearance: textfield;\n}\n\/* end hide default arrows in input type number *\/\n\n#{{uc_id}} .uc_carousel-count-buttons{\n\tdisplay: inline-flex;\n}\n\n#{{uc_id}} .uc_carousel-count-buttons button{\n\tdisplay: flex;\n    align-items:center;\n    justify-content:center;\n    flex-grow:0;\n    flex-shrink:0;\n    line-height:1em;\n}\n\n#{{uc_id}} .uc_carousel-count-buttons button:disabled{\n\topacity:0.5;\n}\n\n#{{uc_id}} .uc_carousel-count-buttons button svg{\n\theight:1em;\n    width:1em;\n}\n\n#{{uc_id}} input.uc_carousel-count-buttons__number{\n  text-align:center;\n  flex-grow:1;\n}\n\n{% if transition_easing == \"false\" %}\n\t#{{uc_id}} .owl-stage\n        {\n            transition-timing-function: linear!important;\n        }\n{% endif %}\n\n\n{% if items_equal_height == \"true\" %}\n#{{uc_id}} .owl-stage{\n   display: flex;\n}\n#{{uc_id}} .uc_image_carousel_container_holder{\n    display: flex;\n    align-items: stretch;\n    flex-direction: column;\n}\n#{{uc_id}} .uc_image_carousel_content{\n    display: flex;\n    flex-direction: column;\n    flex: 1;\n}\n#{{uc_id}} .owl-item {\n    align-items: stretch;\n    display: flex;\n}\n{% endif %}\n\n{% if limit_title_single_line == \"true\" %}\n  #{{uc_id}} .uc_post_title a{\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    display: block;\n  }\n{% endif %}","css_item":"{% if item.products.woo_sale_price is empty %}\n\t#{{item.item_id}} .uc_regular_price{\n      display:none\n    }\n{% else %} \n\t#{{item.item_id}} .uc_regular_price{\n      text-decoration:line-through;\n    }\n{% endif %}","js":"jQuery(document).ready(function(){\t\nfunction {{uc_id}}_start(){\t\t\n  \n  var objCarousel = jQuery('#{{uc_id}}');\n  \n  \/\/start count buttons\t\n  {% if show_quantity_increment_buttons == \"true\" %}\n  \n  function initIncrButtons(){\n  \n    var addToCartBtn = objCarousel.find(\".add_to_cart_button\");      \n      var minusBtn = objCarousel.find(\".uc_carousel-count-buttons__minus\");\n      var parentItem, quantity, inputNumber;\n\n      \/\/if no add to cart button found then hide the incr buttons\n      function checkButtonsVisibility(){\n\n        var objItems = objCarousel.find('.ue-woo-item');\n\n        objItems.each(function(){\n\n          var objItem = jQuery(this);\n          var objAddToCart = objItem.find(\".add_to_cart_button\");\n          var objIncrButtons = objItem.find(\".uc_carousel-count-buttons\");\n\t\t\t\n          if(!addToCartBtn.length)\n          objIncrButtons.hide();\n\n        });\n\n      }\n\n      \/\/ finds related elements of the parent item\n      function findElements(buttonElement){\n          parentItem = buttonElement.parents(\".ue-woo-item\");\n\n          inputNumber = parentItem.find(\".uc_carousel-count-buttons__number\");\n\n          addToCartBtn = parentItem.find(\".add_to_cart_button\");      \n          minusBtn = parentItem.find(\".uc_carousel-count-buttons__minus\");\n\n          quantity = parseInt(inputNumber.val());\n      }\n\n      \/\/ define count functions\n      function plusItem(buttonElement){\n\n          findElements(buttonElement);\n          var newQuantity = quantity + 1;\n\n          inputNumber.val(newQuantity);\n          addToCartBtn.attr('data-quantity', newQuantity); \n\n          minusBtn.prop('disabled', false); \n      } \n\n      function minusItem(buttonElement){\n\n          findElements(buttonElement);\n          var newQuantity = quantity-1;\n\n          if(newQuantity <= 0)\n             return(true);\n\n          inputNumber.val(newQuantity); \n          addToCartBtn.attr('data-quantity', newQuantity);\n\n          if(newQuantity == 1)\n            minusBtn.prop('disabled', true);\n\n      }\n\n      \/**\n      * on quantity input change\n      *\/\n      function onQuantityInputChange(){\n\n        var objInput = jQuery(this);\n\n        \/\/get custom value\n        var newQuantity = parseInt(objInput.val());\n\n        \/\/update general value quantity\n        quantity = newQuantity;\n\n        \/\/find add to cart link\n        var objAddToCartWrap = objInput.parents('.ue-woo-item');\n        var objAddToCartLink = objAddToCartWrap.find('.uc-button-addcart');\n\n        \/\/update data-quantity attribute\n        objAddToCartLink.attr('data-quantity', newQuantity); \n\n        \/\/disable obj minus button if new quantity is 1\n        var objMinusButton = objAddToCartWrap.find('.uc_carousel-count-buttons__minus');\n\n        \/\/enable click on minus button\n        objMinusButton.prop('disabled', false); \n\n        if(newQuantity == 1)\n        objMinusButton.prop('disabled', true);\n\n      }\n\n      jQuery(\"body\").on(\"added_to_cart\", function(event, arg,arg2,objButton){\n\n          findElements(objButton);\n          inputNumber.val(1); \n\n      });\n\n      \/\/init inputs\n\n      var objInputs = objCarousel.find(\".uc_carousel-count-buttons__number\");\n      objInputs.val(1);\n\n      checkButtonsVisibility();\n\n      objCarousel.on('click',\".uc_carousel-count-buttons__plus\", function(){\n          plusItem(jQuery(this));\n\n      });\n\n      objCarousel.on('click', \".uc_carousel-count-buttons__minus\", function(){\n          minusItem(jQuery(this));\n      });\n\n      objCarousel.on('click', \".add_to_cart_button\", function(){\n          objLastButton = jQuery(this);\n      });\n\n      objInputs.on('input', onQuantityInputChange);\n  \n  }\n  \n  initIncrButtons();  \n   \n  {% endif %} \n  \/\/end count buttons\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  objCarousel.owlCarousel({\n\t\t\t    loop: {{loop}},\n                rtl: {{rtl}},\n                navText: [\"<i class='{{left_arrow}}'><\/i>\",\"<i class='{{right_arrow}}'><\/i>\"],\n                paddingType: \"{{stage_padding_type}}\",\n                center:{{center}},\n                nav: {{show_arrows}},\n                autoplayTimeout:{{autoplay_interval}},\n                smartSpeed: {{transition_speed}},  \n                navigation:true,\n                autoplay: {{autoplay}},\n                autoplayHoverPause:{{autoplay_hover_pause}},\n                setActiveClassOnMobile:{{active_on_mobile}},\n                changeItemOnClick:{{scroll_on_click}},\n                shuffle:{{shuffle}},\n                mouseDrag:{{mouse_drag}},\n                touchDrag:{{touch_drag}},\n                mousewheelControl: {{enable_mouse_wheel_control}},\n\t\t\t\tmargin: {{margin_between_items}},\n                scrollToHead:{{scroll_to_head}},\n                scrollToHeadOffset: {{scroll_to_head_offset}},\n                autoWidth: {{justified_width}},\n                responsive : {\n\t\t\t\t\t0 : {\n\t\t\t\t\t\titems:{{number_of_items_mobile}},\n                        slideBy: {{slides_to_scroll_mobile}},\n                        scrollToHeadForceOnMobile: {{scroll_to_head_forced_on_mobile}},          \n                        {% if stage_padding_type != \"none\" %}\n                             stagePadding: {{stagepadding_mobile}},\n                        {% endif %}        \n                        {% if center == \"false\" %}\n                              dotsEach: {{show_dots_each_x_item_mobile}},\n                        {% endif %}\n                        {% if drag_end_speed_mobile is not empty %}dragEndSpeed:{{drag_end_speed_mobile}},{% endif %}\n\t\t\t\t\t},\n\t\t\t\t\t768 : {\n\t\t\t\t\t\titems:{{number_of_items_tablet}},\n                        slideBy: {{slides_to_scroll_tablet}},\n\n                                \n                        {% if stage_padding_type != \"none\" %}\n                             stagePadding: {{stagepadding_tablet}},\n                        {% endif %}\n                        {% if center == \"false\" %}\n                              dotsEach: {{show_dots_each_x_item_tablet}},\n                        {% endif %}\n                        {% if drag_end_speed_tablet is not empty %}dragEndSpeed:{{drag_end_speed_tablet}},{% endif %}\n\t\t\t\t\t},\n\t\t\t\t\t980 : {\n\t\t\t\t\t\titems:{{number_of_items}},\n                        slideBy: {{slides_to_scroll}},\n                                \n                        {% if stage_padding_type != \"none\" %}\n                             stagePadding: {{stagepadding}},\n                        {% endif %}   \n                        {% if center == \"false\" %} \n                              dotsEach: {{show_dots_each_x_item}},\n                        {% endif %}\n                        {% if drag_end_speed is not empty %}dragEndSpeed:{{drag_end_speed}},{% endif %}\n\t\t\t\t\t} \n\t\t\t}\n\t});\n  \n    {{ucfunc(\"put_remote_parent_js\",\"objCarousel\")}}  \n\n\tobjCarousel.on(\"uc_ajax_sethtml\",function(event, htmlItems, isAppend){\n        \n      \tobjCarousel.trigger(\"replace.owl.carousel\",htmlItems);\n      \n        {% if show_quantity_increment_buttons == \"true\" %}\n      \t\tinitIncrButtons();\n        {% endif %}\n        \n      \tobjCarousel.trigger(\"refresh.owl.carousel\");\n         \n    });\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});"}