PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
plugins
/
woocommerce
/
assets
/
js
/
admin
jQuery(function(d){var p={states:null,init:function(){"undefined"!=typeof wc_users_params.countries&&(this.states=d.parseJSON(wc_users_params.countries.replace(/"/g,'"'))),d(".js_field-country").selectWoo().change(this.change_country),d(".js_field-country").trigger("change",[!0]),d(document.body).on("change","select.js_field-state",this.change_state),d(document.body).on("click","button.js_copy-billing",this.copy_billing)},change_country:function(e,t){if(void 0===t&&(t=!1),null!==p.states){var a=d(this),n=a.val(),i=a.parents(".form-table").find(":input.js_field-state"),c=i.parent(),s=i.attr("name"),o=i.attr("id"),l=a.data("woocommerce.stickState-"+n)?a.data("woocommerce.stickState-"+n):i.val();if(t&&a.data("woocommerce.stickState-"+n,l),c.show().find(".select2-container").remove(),d.isEmptyObject(p.states[n]))i.replaceWith('<input type="text" class="js_field-state" name="'+s+'" id="'+o+'" value="'+l+'" />');else{var r=d('<select name="'+s+'" id="'+o+'" class="js_field-state" style="width: 25em;"></select>'),u=p.states[n];r.append(d('<option value="">'+wc_users_params.i18n_select_state_text+"</option>")),d.each(u,function(e){r.append(d('<option value="'+e+'">'+u[e]+"</option>"))}),r.val(l),i.replaceWith(r),r.show().selectWoo().hide().change()}d(document.body).trigger("contry-change.woocommerce",[n,d(this).closest("div")]),d(document.body).trigger("country-change.woocommerce",[n,d(this).closest("div")])}},change_state:function(){var e=d(this),t=e.val(),a=e.parents(".form-table").find(":input.js_field-country"),n=a.val();a.data("woocommerce.stickState-"+n,t)},copy_billing:function(e){e.preventDefault(),d("#fieldset-billing").find("input, select").each(function(e,t){var a=t.name.replace(/^billing_/,"shipping_"),n=d('[name="'+a+'"]');n.length&&n.val(t.value).trigger("change")})}};p.init()});
[+]
..
[-] term-ordering.js
[edit]
[-] api-keys.js
[edit]
[-] meta-boxes.min.js
[edit]
[-] wc-shipping-zones.js
[edit]
[-] product-ordering.js
[edit]
[-] users.min.js
[edit]
[-] wc-product-import.js
[edit]
[-] meta-boxes-order.js
[edit]
[-] meta-boxes-product.min.js
[edit]
[-] woocommerce_admin.min.js
[edit]
[-] network-orders.min.js
[edit]
[-] api-keys.min.js
[edit]
[-] system-status.js
[edit]
[-] wc-product-export.js
[edit]
[-] woocommerce_admin.js
[edit]
[-] meta-boxes-product-variation.js
[edit]
[-] wc-enhanced-select.min.js
[edit]
[-] settings-views-html-settings-tax.js
[edit]
[-] wc-setup.min.js
[edit]
[-] reports.min.js
[edit]
[-] wc-orders.js
[edit]
[-] users.js
[edit]
[-] wc-orders.min.js
[edit]
[-] meta-boxes-order.min.js
[edit]
[-] wc-setup.js
[edit]
[-] wc-shipping-classes.min.js
[edit]
[-] meta-boxes-product-variation.min.js
[edit]
[-] wc-shipping-classes.js
[edit]
[-] wc-product-import.min.js
[edit]
[-] term-ordering.min.js
[edit]
[-] meta-boxes-coupon.js
[edit]
[-] wc-shipping-zone-methods.js
[edit]
[-] meta-boxes-product.js
[edit]
[-] quick-edit.min.js
[edit]
[-] meta-boxes.js
[edit]
[-] settings.js
[edit]
[-] quick-edit.js
[edit]
[-] reports.js
[edit]
[-] wc-enhanced-select.js
[edit]
[-] settings-views-html-settings-tax.min.js
[edit]
[-] network-orders.js
[edit]
[-] meta-boxes-coupon.min.js
[edit]
[-] backbone-modal.min.js
[edit]
[-] system-status.min.js
[edit]
[-] wc-product-export.min.js
[edit]
[-] wc-clipboard.js
[edit]
[-] wc-clipboard.min.js
[edit]
[-] settings.min.js
[edit]
[-] backbone-modal.js
[edit]
[-] wc-shipping-zone-methods.min.js
[edit]
[-] wc-shipping-zones.min.js
[edit]
[-] product-ordering.min.js
[edit]