HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //proc/thread-self/cwd/wp-content/themes/oceanwp/assets/js/third/woo/woo-multistep-checkout.min.js
var $j=jQuery.noConflict();function oceanwpWooMultiStepCheckout(){"use strict";var e=$j("body"),o=$j("#checkout_login"),t=$j("#customer_billing_details"),i=$j("#customer_shipping_details"),n=$j("#order_review"),c=$j("#order_checkout_payment"),_=$j("#form_actions"),j=$j("#checkout_coupon"),$=new Array(o,t,i,n,c);e.on("updated_checkout",function(e){$[4]=$j("#order_checkout_payment"),"updated_checkout"==e.type&&($[4]=$j("#order_checkout_payment")),$j("#order_checkout_payment").find("input[name=payment_method]").on("click",function(){var e;1<$j(".payment_methods input.input-radio").length?(e=$j("div.payment_box."+$j(this).attr("ID")),$j(this).is(":checked")&&!e.is(":visible")&&($j("div.payment_box").filter(":visible").slideUp(250),$j(this).is(":checked")&&$j("div.payment_box."+$j(this).attr("ID")).slideDown(250))):$j("div.payment_box").show(),$j(this).data("order_button_text")?$j("#place_order").val($j(this).data("order_button_text")):$j("#place_order").val($j("#place_order").data("value"))})}),_.find(".button.prev").add(".button.next").on("click",function(e){var o,t,i,n=$j(this),c=$j("#owp-checkout-timeline"),a=n.data("action"),r=_.data("step"),l=r+1,d=r-1,s=_.find(".button.prev"),u=_.find(".button.next"),p=$j("form.woocommerce-checkout"),m=oceanwpLocalize.is_logged_in;c.find(".active").removeClass("active"),"next"==a?(o=$j(".woocommerce-billing-fields p.validate-required input, .woocommerce-billing-fields p.validate-required select"),t=1==p.find(".woocommerce-account-fields p.create-account input").is(":checked")?$j(".woocommerce-account-fields p#account_password_field input, .woocommerce-account-fields p#account_username_field input"):"",i=$j.merge(o,t),console.log(i),i.filter(function(){""==$j(this).val()?$j(this).css("border-color","#ff0000"):$j(this).css("border-color","")}),0===i.filter(function(){return!this.value}).length||0==r&&0==m?(_.data("step",l),$[r].fadeOut(120,function(){$[l].fadeIn(120)}),$j("#timeline-"+l).toggleClass("active"),$j(p).find(".ocean-multistep-error-notice").remove()):($j(window).scrollTop($j("#content-wrap").offset().top),0===$j(p).find(".ocean-multistep-error-notice").length&&($j(p).prepend('<div class="ocean-multistep-error-notice"><ul class="woocommerce-error" role="alert"></ul></div>'),$j(".ocean-multistep-error-notice").html('<ul class="woocommerce-error" role="alert">'),$j(".woocommerce-error").prepend("<li >"+oceanwpLocalize.multistep_checkout_error+"</li>")),$j("#timeline-"+r).addClass("active"))):"prev"==a&&(_.data("step",d),$[r].fadeOut(120,function(){$[d].fadeIn(120)}),$j("#timeline-"+d).toggleClass("active"),$j(p).find(".ocean-multistep-error-notice").remove()),1==(r=_.data("step"))&&1==m||0==m&&(0==r&&1==oceanwpLocalize.login_reminder_enabled||1==r&&0==oceanwpLocalize.login_reminder_enabled)?s.fadeOut(120):s.fadeIn(120),0==m&&(0==r&&1==oceanwpLocalize.login_reminder_enabled||1==r&&0==oceanwpLocalize.login_reminder_enabled)?u.val(oceanwpLocalize.no_account_btn):u.val(oceanwpLocalize.next),3==r?(p.removeClass("processing"),j.fadeIn(80),u.fadeOut(120)):(p.addClass("processing"),j.fadeOut(80),u.fadeIn(120))})}$j(document).ready(function(){"use strict";oceanwpWooMultiStepCheckout()});