PATH:
home
/
centosnipponia
/
public_html
/
BAK_driewielscootercom
/
wp-content
/
themes
/
sydney-pro-ii
/
js
"use strict";jQuery(document).ready(function(){jQuery('.customize-control-checkbox-multiple input[type="checkbox"]').on("change",function(){checkbox_values=jQuery(this).parents(".customize-control").find('input[type="checkbox"]:checked').map(function(){return this.value}).get().join(","),jQuery(this).parents(".customize-control").find('input[type="hidden"]').val(checkbox_values).trigger("change")})}),jQuery(document).ready(function(e){e(".customize-control-dropdown-select2").each(function(){e(".customize-control-select2").select2({allowClear:!0,maximumSelectionLength:5})}),e(".customize-control-select2").on("change",function(){var o=e(this).val();e(this).parent().find(".customize-control-dropdown-select2").val(o).trigger("change")}),e("#featured_posts_ids").select2({allowClear:!0,placeholder:"Select...",maximumSelectionLength:5}),e("#featured_posts_ids").on("change",function(){var o=e(this).val();e(this).parent().find(".customize-control-dropdown-select2").val(o).trigger("change")})}),jQuery(document).ready(function(n){function i(o){var e={font:o.find(".google-fonts-list").val(),regularweight:o.find(".google-fonts-regularweight-style").val(),category:o.find(".google-fonts-category").val()};o.find(".customize-control-google-font-selection").val(JSON.stringify(e)).trigger("change")}n(".google-fonts-list").each(function(o,e){n(this).hasClass("select2-hidden-accessible")||n(this).select2()}),n(".google-fonts-list").on("change",function(){var t=n(this).parent().parent().find(".google-fonts-regularweight-style"),r=n(this).val(),o=n(this).attr("control-name");t.empty();var e=_wpCustomizeSettings.controls[o],o=n.map(e.sydneyfontslist,function(o,e){if(o.family===r)return e})[0];n.each(e.sydneyfontslist[o].variants,function(o,e){t.append(n("<option></option>").val(e).html(e)),0<n(t).find('option[value="regular"]').length?n(t).val("regular"):0<n(t).find('option[value="400"]').length?n(t).val("400"):0<n(t).find('option[value="300"]').length&&n(t).val("300")}),n(this).parent().parent().find(".google-fonts-category").val(e.sydneyfontslist[o].category),i(n(this).parent().parent().parent().parent())}),n(".google_fonts_select_control select").on("change",function(){i(n(this).parent().parent().parent().parent())})}),jQuery(document).ready(function(e){e(".sydney-devices-preview").find("button").on("click",function(o){e(this).hasClass("preview-desktop")?(e(".sydney-devices-preview").find(".preview-desktop").addClass("active"),e(".sydney-devices-preview").find(".preview-tablet").removeClass("active"),e(".sydney-devices-preview").find(".preview-mobile").removeClass("active"),e(".font-size-desktop").addClass("active"),e(".font-size-tablet").removeClass("active"),e(".font-size-mobile").removeClass("active"),e('.wp-full-overlay-footer .devices button[data-device="desktop"]').trigger("click")):e(this).hasClass("preview-tablet")?(e(".sydney-devices-preview").find(".preview-tablet").addClass("active"),e(".sydney-devices-preview").find(".preview-desktop").removeClass("active"),e(".sydney-devices-preview").find(".preview-mobile").removeClass("active"),e(".font-size-desktop").removeClass("active"),e(".font-size-tablet").addClass("active"),e(".font-size-mobile").removeClass("active"),e('.wp-full-overlay-footer .devices button[data-device="tablet"]').trigger("click")):(e(".sydney-devices-preview").find(".preview-mobile").addClass("active"),e(".sydney-devices-preview").find(".preview-desktop").removeClass("active"),e(".sydney-devices-preview").find(".preview-tablet").removeClass("active"),e(".font-size-desktop").removeClass("active"),e(".font-size-tablet").removeClass("active"),e(".font-size-mobile").addClass("active"),e('.wp-full-overlay-footer .devices button[data-device="mobile"]').trigger("click"))}),e(" .wp-full-overlay-footer .devices button ").on("click",function(){var o=e(this).attr("data-device");e(".sydney-devices-preview").find(".preview-"+o).trigger("click")})}),jQuery(document).ready(function(r){function n(o,e){e='<div class="repeater" style="display:none"><input type="text" value="'+(1<arguments.length&&void 0!==e?e:"")+'" class="repeater-input" placeholder="" /><span class="dashicons dashicons-menu"></span><a class="customize-control-sortable-repeater-delete" href="#"><span class="dashicons dashicons-no-alt"></span></a></div>';o.find(".sortable").append(e),o.find(".sortable").find(".repeater:last").slideDown("slow",function(){r(this).find("input").focus()})}function t(o){var e=o.find(".repeater-input").map(function(){return r(this).val()}).toArray();o.find(".customize-control-sortable-repeater").val(e),o.find(".customize-control-sortable-repeater").trigger("change")}r(".sydney-sortable_repeater_control").each(function(){var o=r(this).find(".customize-control-sortable-repeater").val().split(","),e=o.length;if(0<e&&(r(this).find(".repeater-input").val(o[0]),1<e))for(var t=1;t<e;++t)n(r(this),o[t])}),r(this).find(".sydney-sortable_repeater.sortable").sortable({update:function(o,e){t(r(this).parent())}}),r(".sydney-sortable_repeater.sortable").on("click",".customize-control-sortable-repeater-delete",function(o){o.preventDefault(),1<r(this).parent().parent().find(".repeater").length?r(this).parent().slideUp("fast",function(){var o=r(this).parent().parent();r(this).remove(),t(o)}):(r(this).parent().find(".repeater-input").val(""),t(r(this).parent().parent().parent()))}),r(".customize-control-sortable-repeater-add").click(function(o){o.preventDefault(),n(r(this).parent()),t(r(this).parent())}),r(".sydney-sortable_repeater.sortable").change(function(){t(r(this).parent())}),r(".sydney-sortable_repeater.sortable").on("blur",".repeater-input",function(){var o=r(this),e=o.val();e&&!e.match(/^.+:\/\/.*/)&&o.trigger("change")})}),jQuery(document).ready(function(n){function l(o){var e;return e=(o=o.replace(/ /g,"")).match(/rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/)?(e=100*parseFloat(o.match(/rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/)[1]).toFixed(2),parseInt(e)):100}function t(o,e,t,r){var n=e.data("a8cIris"),i=e.data("wpWpColorPicker");n._color._alpha=o,n=n._color.toString(),e.val(n),i.toggler.css({"background-color":n}),r&&d(o,t),e.wpColorPicker("color",n)}function d(o,e){e.slider("value",o),e.find(".ui-slider-handle").text(o.toString())}n(".alpha-color-control").each(function(){var i,c,a=n(this),r=a.val().replace(/\s+/g,""),o=a.attr("data-palette"),e=a.attr("data-show-opacity"),s=a.attr("data-default-color"),o=-1!==o.indexOf("|")?o.split("|"):"false"!=o,o={change:function(o,e){var t,r=a.attr("data-customize-setting-link"),n=a.wpColorPicker("color");s==n&&(t=l(n),c.find(".ui-slider-handle").text(t)),wp.customize(r,function(o){o.set(n)}),i.find(".transparency").css("background-color",e.color.toString("no-alpha"))},palettes:o};a.wpColorPicker(o),i=a.parents(".wp-picker-container:first"),n('<div class="alpha-color-picker-container"><div class="min-click-zone click-zone"></div><div class="max-click-zone click-zone"></div><div class="alpha-slider"></div><div class="transparency"></div></div>').appendTo(i.find(".wp-picker-holder")),c=i.find(".alpha-slider"),o={create:function(o,e){var t=n(this).slider("value");n(this).find(".ui-slider-handle").text(t),n(this).siblings(".transparency ").css("background-color",r)},value:l(r),range:"max",step:1,min:0,max:100,animate:300},c.slider(o),"true"==e&&c.find(".ui-slider-handle").addClass("show-opacity"),i.find(".min-click-zone").on("click",function(){t(0,a,c,!0)}),i.find(".max-click-zone").on("click",function(){t(100,a,c,!0)}),i.find(".iris-palette").on("click",function(){var o=n(this).css("background-color"),e=l(o);d(e,c),100!=e&&(o=o.replace(/[^,]+(?=\))/,(e/100).toFixed(2))),a.wpColorPicker("color",o)}),i.find(".button.wp-picker-clear").on("click",function(){var o=a.attr("data-customize-setting-link");a.wpColorPicker("color","#ffffff"),wp.customize(o,function(o){o.set("")}),d(100,c)}),i.find(".button.wp-picker-default").on("click",function(){d(l(s),c)}),a.on("input",function(){d(l(n(this).val()),c)}),c.slider().on("slide",function(o,e){t(parseFloat(e.value)/100,a,c,!1),n(this).find(".ui-slider-handle").text(e.value)})}),Color.prototype.toString=function(o){if("no-alpha"==o)return this.toCSS("rgba","1").replace(/\s+/g,"");if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var e=parseInt(this._color,10).toString(16);if(this.error)return"";if(e.length<6)for(var t=6-e.length-1;0<=t;t--)e="0"+e;return"#"+e}}),jQuery(document).ready(function(t){t(".customize-control-sydney-tab-control").each(function(){t(this).parent().find("li").not(".section-meta").not(".customize-control-sydney-tab-control").addClass("sydney-hide-control");var o=t(this).find(".control-tab-general").data("connected");t.each(o,function(o,e){t(this).removeClass("sydney-hide-control")}),t(this).find(".control-tab").on("click",function(){var o=t(this).data("connected");t(this).addClass("active"),t(this).siblings().removeClass("active"),t(this).parent().parent().parent().find("li").not(".section-meta").not(".customize-control-sydney-tab-control").addClass("sydney-hide-control"),t.each(o,function(o,e){t(this).removeClass("sydney-hide-control")})})})}),jQuery(document).ready(function(t){t(".customize-control-tinymce-editor").each(function(){var o=_wpCustomizeSettings.controls[t(this).attr("id")].sydneytb1,e=_wpCustomizeSettings.controls[t(this).attr("id")].sydneytb2;_wpCustomizeSettings.controls[t(this).attr("id")].sydneytmb;wp.editor.initialize(t(this).attr("id"),{tinymce:{wpautop:!0,toolbar1:o,toolbar2:e},quicktags:!0,mediaButtons:!0})}),t(document).on("tinymce-editor-init",function(o,e){e.on("change",function(o){tinyMCE.triggerSave(),t("#"+e.id).trigger("change")})})}),jQuery(document).ready(function(e){function o(o){"3"===e(o).val()||"col3-bigleft"===e(o).val()||"col3-bigright"===e(o).val()?(e(".footer-widget-area-link-1, .footer-widget-area-link-2, .footer-widget-area-link-3").show(),e(".footer-widget-area-link-4").hide()):"4"===e(o).val()||"col4-bigleft"===e(o).val()||"col4-bigright"===e(o).val()?e(".footer-widget-area-link-1, .footer-widget-area-link-2, .footer-widget-area-link-3, .footer-widget-area-link-4").show():"2"===e(o).val()||"col2-bigleft"===e(o).val()||"col2-bigright"===e(o).val()?(e(".footer-widget-area-link-1, .footer-widget-area-link-2").show(),e(".footer-widget-area-link-4, .footer-widget-area-link-3").hide()):"1"===e(o).val()?(e(".footer-widget-area-link-1").show(),e(".footer-widget-area-link-4, .footer-widget-area-link-2, .footer-widget-area-link-3").hide()):e(".footer-widget-area-link-1, .footer-widget-area-link-2, .footer-widget-area-link-3, .footer-widget-area-link-4").hide()}o(e("#customize-control-footer_widget_areas").find("input:checked")),e("#customize-control-footer_widget_areas").find("input").change(function(){o(e(this))})}),wp.customize("color_palettes",function(x){var j=jQuery("#customize-control-color_palettes").find(".radio-buttons").data("palettes");x.bind(function(){for(var o=x.get(),e=0,t=["custom_color1","scrolltop_bg_color","button_background_color","button_border_color","color_link_default"];e<t.length;e++){var r=t[e];wp.customize(r).set(j[o][0]),jQuery("#customize-control-"+r).find(".wp-color-result").css("background-color",j[o][0])}for(var n=0,i=["custom_color2","footer_widgets_links_hover_color","scrolltop_bg_color_hover","button_background_color_hover","button_border_color_hover","color_link_hover"];n<i.length;n++){var c=i[n];wp.customize(c).set(j[o][1]),jQuery("#customize-control-"+c).find(".wp-color-result").css("background-color",j[o][1])}for(var a=0,s=["single_post_title_color","custom_color3","main_header_submenu_color","offcanvas_menu_color","mobile_header_color","footer_widgets_title_color","single_product_title_color","color_forms_text","shop_product_product_title","loop_post_meta_color","loop_post_title_color","main_header_color","site_title_color","site_description_color","color_heading_1","color_heading_2","color_heading_3","color_heading_4","color_heading_5","color_heading_6"];a<s.length;a++){var l=s[a];wp.customize(l).set(j[o][2]),jQuery("#customize-control-"+l).find(".wp-color-result").css("background-color",j[o][2])}for(var d=0,u=["custom_color4","footer_widgets_links_color","footer_widgets_text_color","color_body_text","footer_credits_text_color","color_forms_placeholder"];d<u.length;d++){var f=u[d];wp.customize(f).set(j[o][3]),jQuery("#customize-control-"+f).find(".wp-color-result").css("background-color",j[o][3])}for(var p=0,_=["custom_color5","color_forms_borders"];p<_.length;p++){var h=_[p];wp.customize(h).set(j[o][4]),jQuery("#customize-control-"+h).find(".wp-color-result").css("background-color",j[o][4])}for(var g=0,v=["custom_color6","footer_widgets_background","footer_credits_background","content_cards_background"];g<v.length;g++){var m=v[g];wp.customize(m).set(j[o][5]),jQuery("#customize-control-"+m).find(".wp-color-result").css("background-color",j[o][5])}for(var y=0,b=["custom_color7","background_color","button_color","button_color_hover","scrolltop_color","scrolltop_color_hover","color_forms_background"];y<b.length;y++){var w=b[y];wp.customize(w).set(j[o][6]),jQuery("#customize-control-"+w).find(".wp-color-result").css("background-color",j[o][6])}for(var k=0,z=["custom_color8","main_header_submenu_background","main_header_background","main_header_bottom_background","mobile_header_background","offcanvas_menu_background"];k<z.length;k++){var C=z[k];wp.customize(C).set(j[o][7]),jQuery("#customize-control-"+C).find(".wp-color-result").css("background-color",j[o][7])}})}),wp.customize.bind("ready",function(){wp.customize("custom_color1",function(o){o.bind(function(o){for(var e=0,t=["scrolltop_bg_color","button_background_color","button_border_color","color_link_default"];e<t.length;e++){var r=t[e];wp.customize(r).set(o),jQuery("#customize-control-"+r).find(".wp-color-result").css("background-color",o)}})}),wp.customize("custom_color2",function(o){o.bind(function(o){for(var e=0,t=["footer_widgets_links_hover_color","scrolltop_bg_color_hover","button_background_color_hover","button_border_color_hover","color_link_hover"];e<t.length;e++){var r=t[e];wp.customize(r).set(o),jQuery("#customize-control-"+r).find(".wp-color-result").css("background-color",o)}})}),wp.customize("custom_color3",function(o){o.bind(function(o){for(var e=0,t=["main_header_submenu_color","offcanvas_menu_color","mobile_header_color","footer_widgets_title_color","single_product_title_color","color_forms_text","shop_product_product_title","loop_post_meta_color","loop_post_title_color","main_header_color","site_title_color","site_description_color","color_heading_1","color_heading_2","color_heading_3","color_heading_4","color_heading_5","color_heading_6"];e<t.length;e++){var r=t[e];wp.customize(r).set(o),jQuery("#customize-control-"+r).find(".wp-color-result").css("background-color",o)}})}),wp.customize("custom_color4",function(o){o.bind(function(o){for(var e=0,t=["footer_widgets_links_color","footer_widgets_text_color","color_body_text","footer_credits_text_color","color_forms_placeholder"];e<t.length;e++){var r=t[e];wp.customize(r).set(o),jQuery("#customize-control-"+r).find(".wp-color-result").css("background-color",o)}})}),wp.customize("custom_color5",function(o){o.bind(function(o){for(var e=0,t=["color_forms_borders"];e<t.length;e++){var r=t[e];wp.customize(r).set(o),jQuery("#customize-control-"+r).find(".wp-color-result").css("background-color",o)}})}),wp.customize("custom_color6",function(o){o.bind(function(o){for(var e=0,t=["footer_widgets_background","footer_credits_background","content_cards_background"];e<t.length;e++){var r=t[e];wp.customize(r).set(o),jQuery("#customize-control-"+r).find(".wp-color-result").css("background-color",o)}})}),wp.customize("custom_color7",function(o){o.bind(function(o){for(var e=0,t=["background_color","button_color","button_color_hover","scrolltop_color","scrolltop_color_hover","color_forms_background"];e<t.length;e++){var r=t[e];wp.customize(r).set(o),jQuery("#customize-control-"+r).find(".wp-color-result").css("background-color",o)}})}),wp.customize("custom_color8",function(o){o.bind(function(o){for(var e=0,t=["main_header_submenu_background","main_header_background","main_header_bottom_background","mobile_header_background","offcanvas_menu_background"];e<t.length;e++){var r=t[e];wp.customize(r).set(o),jQuery("#customize-control-"+r).find(".wp-color-result").css("background-color",o)}})})}),wp.customize.bind("ready",function(){wp.customize.control("custom_palette",function(e){wp.customize("custom_palette_toggle").bind(function(o){e.active.set(o)})})}),jQuery(document).ready(function(o){o(".wp-picker-input-wrap").each(function(){o(this).prependTo(o(this).next(".wp-picker-holder"))})}),jQuery(document).ready(function(o){var e=o(".saved-palette");o(".saved-palette").on("click",function(){o(".palette-radio-buttons").toggleClass("open")}),o(".palette-radio-buttons").find(".palette").on("click",function(){e.empty(),o(".palette-radio-buttons").removeClass("open"),o(this).parent().clone().unwrap().appendTo(e).find("input").remove()})}),jQuery(document).ready(function(i){var o={init:function(){this.firstTime=!0,this.initialized||this.events(),this.initialized=!0},events:function(){var t=this;return i(document).on("click",".sydney-accordion-title",function(){var o=i(this);i(this).hasClass("expanded")&&(t.showOrHide(i(this),"hide"),i(this).removeClass("expanded").addClass("collapse"),setTimeout(function(){o.removeClass("collapse")},300)),i(this).hasClass("collapse")||(i(".sydney-accordion-item").addClass("sydney-accordion-hide"),i(".sydney-accordion-title").removeClass("expanded"),t.showOrHide(i(this),"show"),o.addClass("expanded"))}),i(document).on("click",".control-section",function(o){var e=i(".control-section.open");t.firstTime&&e.find(".sydney-accordion-title").length&&e.find(".sydney-accordion-title").each(function(){t.showOrHide(i(this),"hide"),i(this).removeClass("expanded"),t.firstTime=!1})}),i(document).on("click",".customize-section-back",function(){t.firstTime=!0}),this},showOrHide:function(o,e){var t="",r=[];if((t=o.closest(".customize-control").next()).attr("id")=="customize-control-"+o.data("until"))r.push(t[0].id);else for(;t.attr("id")!="customize-control-"+o.data("until");)r.push(t[0].id),t=t.next();1<=r.length&&r.push(t[0].id);for(var n=0;n<r.length;n++)i("#"+r[n]).addClass("sydney-accordion-item active"),"hide"==e?i("#"+r[n]).addClass("sydney-accordion-hide"):i("#"+r[n]).removeClass("sydney-accordion-hide"),0==n&&i("#"+r[n]).addClass("sydney-accordion-first-item"),(n==r.length-1&&1<r.length||1==r.length)&&i("#"+r[n]).addClass("sydney-accordion-last-item");return this}};i(document).ready(function(){o.init()})}),jQuery(document).ready(function(e){e(".customize-control-sydney-toggle-control").each(function(){e(this).find("label").on("keydown",function(o){"Enter"!==o.key&&13!==o.keyCode||e(this).click()})}),e(".customize-control-sydney-radio-buttons").each(function(){e(this).find("label").on("keydown",function(o){"Enter"!==o.key&&13!==o.keyCode||e(this).click()})})});
[+]
..
[+]
modules
[-] admin-functions.js
[edit]
[-] customize-controls.js
[edit]
[-] customize-controls.src.js
[edit]
[-] customizer-select2.js
[edit]
[-] customizer.js
[edit]
[-] customizer.src.js
[edit]
[-] elementor.js
[edit]
[-] functions.js
[edit]
[-] functions.min.js
[edit]
[-] hero-slider.js
[edit]
[-] imagesloaded.pkgd.js
[edit]
[-] infinite-load.js
[edit]
[-] jquery.countTo.js
[edit]
[-] jquery.fitvids.js
[edit]
[-] jquery.flexslider.js
[edit]
[-] jquery.superslides.js
[edit]
[-] media-uploader.js
[edit]
[-] owl.carousel.js
[edit]
[-] scripts.js
[edit]
[-] select2.js
[edit]
[-] select2.min.js
[edit]
[-] so-legacy-main.js
[edit]
[-] so-legacy-main.min.js
[edit]
[-] so-legacy.js
[edit]
[-] typed.js
[edit]
[-] typed.min.js
[edit]
[-] waypoints.js
[edit]
[-] .htaccess.disabled
[edit]