PageSourceSearch

https://www.hirotagolf.jp/res/touch037/js/layout/pack/form-cart-min.js?1725932243

js hirotagolf.jp collected 2026-10-08 06:18:47 UTC 3,667 bytes, 1 lines download raw bytes

1!function(e){"use strict";let n=e(".shipping_address_disp, .sender_address_disp");function t(n,t){let i="#delivery_"+t+"_list_"+n.replace(t+"_address_disp_",""),o=e(i+" option:selected").val();const a=null!==document.querySelector('input[name="subscription"][value="1"]')?"&subscription=1":"";e.ajax({url:window.xmlUrl+"?go=shipping-address-disp&type="+t+"&id="+o+a,type:"GET",dataType:"json"}).done((function(i){void 0!==i.name&&""!==i.name?(e("#"+n).show(),e("#"+n).html("<div class='"+t+"_address_disp_name'>"+i.name+"</div><div class='"+t+"_address_disp_address'>"+i.address+"</div>")):e("#"+n).html("").hide()})).fail((function(){e("#"+n).html("").hide()}))}function i(){if(e("#error_box_cart_shipping_bottom_area").length){let t,i=e(".shipping_address_disp").length,o=[],a=!1;for(var n=1;n<=i;n++)t=e("#delivery_shipping_list_"+n).val(),-1!==e.inArray(t,o)?a=!0:o.push(t);e("#error_box_cart_shipping_bottom_area").hide(),a&&e("#error_box_cart_shipping_bottom_area").show()}}if(n.length&&(n.each((function(n,o){let a=e(o).attr("id"),p="shipping";a.match(/sender/)&&(p="sender"),t(a,p);let c="#delivery_"+p+"_list_"+a.replace(p+"_address_disp_","");e(c).change((function(){t(a,p),"shipping"===p&&i()}))})),i()),e("#shoppingcart_page_step2").length){r(!1);let n=e(".shipping_method_select, .shipping_method_radio");0!==n.length?(o(n,!0),n.change((function(e){o(n,!1)}))):a(null,!1)}function o(n,t){var i={},o=[];if(n.each((function(n,t){let a=e(t).attr("type"),p=e(t).attr("id");if(void 0!==a&&"radio"===a){let n=e(t).attr("name");if(-1===o.indexOf(n)){if(void 0===e('input[name="'+n+'"]:checked').val())return i={},!1;let t=p.match(/^delivery_shipping_method_(\d+)_\d+$/);t=t[1],o.push(n),i[t]=e('input[name="'+n+'"]:checked').val()}}else{let n=p.replace("delivery_shipping_method_","");i[n]=e("#"+p).val()}})),0===Object.keys(i).length)return!1;a(i,t)}function a(n,t){e.ajax({url:window.xmlUrl+"?go=cart-payment",type:"POST",data:{shipping_method_ids:n},dataType:"json"}).done((function(n){if(function(n){r(!0),e(".cart_payment_row").show(),e("input[name='go-next'], button[name='go-next']").removeAttr("disabled"),0!=n.length&&e.each(n,(function(n,t){let i=e("input[name=pay_procedure][value="+t+"]");1==i.length&&i.closest(".cart_payment_row").hide()}))}(n),!0===t){var i=location.hash;void 0!==i&&e(i).length&&window.setTimeout((function(){e("body, html").animate({scrollTop:e(i).offset().top},1)}),1)}})).fail((function(){r(!0),e(".cart_payment_row").show(),e("input[name='go-next'], button[name='go-next']").removeAttr("disabled")}))}function p(n){let t="#point_input_area";
1n&&(t="#coupon_input_area"),c(n)?e(t).show():e(t).hide()}function c(n){let t="#point_use_check:checked";return n&&(t="#coupon_use_check:checked"),!!e(t).length}function r(n){n?(e("#cart_payment").show(),e("input[name=cart_payment_display]").val("t"),1===e("input[name=pay_procedure]").length&&(e("input[name=pay_procedure]").prop("disabled",!1),e("input[name=pay_procedure]").click())):(e("#cart_payment").hide(),e("input[name=cart_payment_display]").val("f"),1===e("input[name=pay_procedure]").length&&e("input[name=pay_procedure]").prop("disabled",!0))}e("#point_use_check").length&&(p(!1),e("#point_use_check").click((function(){if(!c(!1)){if(pointApplying)return!!confirm(pointReleaseMsg)&&(e("#pointUse").val(""),e('button[name="point"], input[name="point"]').click(),!0);e("#pointUse").val("")}p(!1)}))),e("#coupon_use_check").length&&(p(!0),e("#coupon_use_check").click((function(){if(!c(!0)){if(couponApplying)return!!confirm(pointReleaseMsg)&&(e("#couponCode").val(""),e('input[name="coupon"], button[name="coupon"]').click(),!0);e("#couponCode").val("")}p(!0)})))}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.