HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/grainesdfo/www/wp-content/themes/jupiterx/lib/assets/dist/js/widget-controls.min.js
"use strict";!function(n){function e(){n(".elementor-control .jupiterx-color-picker, .widgets-sortables .jupiterx-color-picker, .widget-rendered .jupiterx-color-picker").wpColorPicker({change:function(e,t){n(e.target).val(t.color.toString()),n(e.target).trigger("change")},clear:function(e,t){n(e.target).trigger("change")}}),n(i).sortable({axis:"y",items:".jupiterx-flexible-item",handle:"> label",connectWith:".flexible-item",cursor:"move"}),n(i).on("sortupdate",function(){n(this).parent().find("input.save-trigger").val(Math.random()).trigger("change").trigger("input")}),n(".elementor-control .jupiterx-select2, .widgets-sortables .jupiterx-select2, .widget-rendered .jupiterx-select2").select2(),n(".jupiterx-widget-control[data-condr-input]").conditioner(),n(".jupiterx-flexible-option").on("click",function(){var e=n(this),t=n(this).closest(i);this.classList.add("hidden"),this.parentNode.classList.remove("flexible-open"),t.find('.jupiterx-flexible-item[data-option="'+e.data("field")+'"]').first().appendTo(t).removeClass("hidden"),n(i).trigger("change")}),n(".jupiterx-flexible-option-remove").on("click",function(){var e=n(this).parent();this.parentNode.classList.add("hidden"),n(e).find("input").val("").trigger("change")}),n(".query_type").on("focus click change blur",function(){t(this)})}var i=".jupiterx-flexible-control-wrapper",t=function(e){var t=n(e),i=t.parents(".widget-content").find(".thumbnail").parent();"comments"===t.val()?i.hide():i.show()};n(document).on("widget-updated widget-added",function(){e()}),n(document).ready(function(){e(),n(".query_type").each(function(){t(this)}),n(document).on("click",".jupiterx-flexible-option-add",function(e){n(e.target).parent().next(".jupiterx-flexible-option-wrapper").toggleClass("flexible-open")})}),n(document).on("ajaxComplete",function(){document.body.classList.contains("elementor-editor-active")&&(e(),n(".query_type").each(function(){t(this)}))})}(jQuery);