PageSourceSearch

https://j-haichang.com/wp-content/plugins/woomp/public/js/woomp-public.js?ver=3.5.21

js j-haichang.com collected 2026-10-07 21:56:12 UTC 1,196 bytes, 44 lines download raw bytes

1(function ($) {
2	'use strict';
3	$( document ).ready(
4		function () {
5
6		}
7	)
8	$( document ).on(
9		"change",
10		".variation-radios input",
11		function () {
12			$( ".variation-radios input:checked" ).each(
13				function (index, element) {
14					var $el      = $( element );
15					var thisName = $el.attr( "name" );
16					var thisVal  = $el.attr( "value" );
17					$( '.variation-radios input + label' ).removeClass( 'variation-selected' );
18					$( this ).next( 'label' ).addClass( 'variation-selected' )
19					$( 'select[name="' + thisName + '"]' )
20					.val( thisVal )
21					.trigger( "change" );
22				}
23			);
24		}
25	);
26	$( document ).on(
27		"woocommerce_update_variation_values",
28		function () {
29			$( ".variation-radios input" ).each(
30				function (index, element) {
31					var $el      = $( element );
32					var thisName = $el.attr( "name" );
33					var thisVal  = $el.attr( "value" );
34					$el.removeAttr( "disabled" );
35					if ( $( 'select[name="' + thisName + '"] option[value="' + thisVal + '"]' ).is( ":disabled" )
36					) {
37						$el.prop( "disabled", true );
38						$el.next( 'label' ).addClass( 'variation-out-of-stock' );
39					}
40				}
41			);
42		}
43	);
44})( 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.