1/*hg-treck-res*/ 2 $isResizeble = false; 3 $new_mhs = false; 4/*hg-treck-res*/ 5/*hg-norm-adpt*/ 6 $(window).on('load resize', function(){ 7 if ($(window).width() > 1000 ) { 8 /*ll-hg-pc bg*/ 9 $(window).scroll(function(e){ 10 var scroll = $(window).scrollTop(); 11 $wh = $(window).height(); 12 13 $('.hg-ll-img').each(function() { 14 $lod_i = $(this).attr('data-p-i'); 15 $cprod_t = $(this).offset().top/ 2; 16 if(scroll + $wh > $cprod_t){ 17 if ($(this).is('[style="background-image"]')){ }else { 18 $(this).css('background-image','url('+$lod_i+')'); 19 } 20 } 21 }); 22 }); 23 24 $(window).scroll(function(e){ 25 var scroll_i = $(window).scrollTop(); 26 $wh_i = $(window).height(); 27 28 $('.imgll-hg').each(function() { 29 $lod_ii = $(this).attr('data-src-pc'); 30 $cprod_ti = $(this).offset().top; 31 if(scroll_i + $wh_i > $cprod_ti){ 32 if ($(this).is('[src]')){ }else { 33 $(this).attr('src',$lod_ii); 34 } 35 } 36 }); 37 }); 38 /*ll-hg-pc bg*/ 39 /*hov-prod*/ 40 $(".hg-prod").hover(function () { 41 var sourceFile = $(this).find(".prod_bg_img_h").attr("data_h"); 42 if ($(this).find(".prod_bg_img_h").is('[style="background-image"]')) { 43 }else{ 44 $(this).find(".prod_bg_img_h").css('background-image', 'url('+sourceFile+')'); 45 }; 46 }, function () { 47 }); 48 /*hov-prod*/ 49 } else { 50 /*ll-hg-mob bg*/ 51 $rou_wh_w = $(window).height(); 52 $rou_wh_s = screen.availHeight; 53 $rou_wh_n = ($rou_wh_s - $rou_wh_w) /3; 54 $rou_wh = $rou_wh_s - $rou_wh_n; 55 $('head').append('<style>html body:after,html body:before{height:'+$rou_wh+'px}</style>'); 56 57 58 $(window).scroll(function(e){ 59 var scroll_i = $(window).scrollTop(); 60 $wh_i = $(window).height(); 61 62 $('.imgll-hg').each(function() { 63 $lod_ii = $(this).attr('data-src-m'); 64 $cprod_ti = $(this).offset().top; 65 if(scroll_i + $wh_i > $cprod_ti){ 66 if ($(this).is('[src]')){ }else { 67 $(this).attr('src',$lod_ii); 68 } 69 } 70 }); 71 }); 72 73 $(window).scroll(function(e){ 74 var scroll = $(window).scrollTop(); 75 $wh = $(window).height(); 76 77 $('.hg-ll-img').each(function() { 78 $lod_i = $(this).attr('data-m-i'); 79 $cprod_t = $(this).offset().top; 80 if(scroll + $wh > $cprod_t){ 81 if ($(this).is('[style="background-image"]')){ }else { 82 $(this).css('background-image','url('+$lod_i+')'); 83 } 84 } 85 }); 86 }); 87 /*ll-hg-mob bg*/ 88 if(!$isResizeble) { 89 } 90 } 91 }); 92/*hg-norm-adpt*/ 93$( document ).ready(function() { 94 95 96 $('.hg-ll-img-st').each(function() { 97 if ($(window).width() > 1000 ) { 98 $lod_i = $(this).attr('data-p-i'); 99 }else{ 100 $lod_i = $(this).attr('data-m-i'); 101 } 102 if ($(this).is('[style="background-image"]')){ }else { 103 $(this).css('background-image','url('+$lod_i+')'); 104 } 105 }); 106 $('.hg-ll-img-st-sl').each(function() { 107 if ($(window).width() > 1000 ) { 108 $lod_i = $(this).attr('data-p-i'); 109 }else{ 110 $lod_i = $(this).attr('data-m-i'); 111 } 112 if ($(this).attr('data-flickity-bg-lazyload') == ''){ 113 $(this).attr('data-flickity-bg-lazyload',$lod_i); 114 } 115 }); 116 117 /*hg-fl 118 $mcitem_h = $('.woocommerce-mini-cart-item.mini_cart_item:first-child').height(); 119 $('#in-m-cart .product_list_widget').css('height', $mcitem_h ); 120 setTimeout(function(){$('body').addClass('page-load');}, 300); 121 cur_t_val = $('#in-m-cart .woocommerce-mini-cart__total bdi').text(); 122 $('.in-h-c-total .woocommerce-Price-amount bdi').text(cur_t_val); 123 $c_home_l = $('.home-slide-l').flickity({ 124 cellAlign: "left", 125 prevNextButtons: false, 126 adaptiveHeight: true, 127 resize : true, 128 contain: true, 129 pageDots: false, 130 bgLazyLoad: true, 131 bgLazyLoad: 1 132 }); 133 $c_home_r = $('.home-slide-r').flickity({ 134 cellAlign: "left",
135 prevNextButtons: false, 136 adaptiveHeight: true, 137 resize : true, 138 contain: true, 139 pageDots: false, 140 bgLazyLoad: true, 141 bgLazyLoad: 1 142 }); 143 144 $carousel_pg = $('.gall-slider'); 145 $('#nav-prod-gall .next-pg').on( 'click', function() { 146 $carousel_pg.flickity('next'); 147 }); 148 $('#nav-prod-gall .prev-pg').on( 'click', function() { 149 $carousel_pg.flickity('previous'); 150 }); 151 /*hg-fl-nav*/ 152 /*hg-cl-nav*/ 153 /*m-cart*/ 154 $('#rou-checkout-l').click(function() { 155 $('body').addClass('mc-in-open'); 156 setTimeout(function(){$('#colose-mc').addClass('btn-rot'); }, 900); 157 }); 158 /*m-cart*/ 159 /*m-menu*/ 160 $('#mob-menu').click(function() { 161 if (!$(this).hasClass('close-m')) { 162 $(this).addClass('close-m'); 163 $('body').addClass('m-menu-open'); 164 } else { 165 $(this).removeClass('close-m'); 166 $('body').removeClass('m-menu-open'); 167 } 168 }); 169 $('#colose-mc').click(function() { 170 $('body').removeClass('mc-in-open'); 171 $(this).removeClass('btn-rot'); 172 }); 173 /*m-menu*/ 174 /*hg-cl-nav*/ 175 /*scroll-f 176 $(window).scroll(function(e){ 177 var scroll = $(window).scrollTop(); 178 $wh = $(window).height(); 179 180 $hh = $('header').height(); 181 if(scroll > $hh ) {$('header').addClass('scroll-header');} 182 else {$('header').removeClass('scroll-header');} 183 184 }); 185 scroll-f*/ 186 /*fadeinup*/ 187 var doAnimations = function() { 188 var offset = $(window).scrollTop() + $(window).height(), 189 $animatables = $('.animatable'); 190 if ($animatables.length == 0) { 191 $(window).off('scroll', doAnimations); 192 } 193 194 $animatables.each(function(i) { 195 var $animatable = $(this); 196 if ($(window).width() < 960) { 197 var $scrollstep = 150; 198 }else{ 199 var $scrollstep = 200; 200 }; 201 if (($animatable.offset().top + $scrollstep) < offset) { 202 $animatable.removeClass('animatable').addClass('animated'); 203 } 204 }); 205 }; 206 $(window).on('scroll', doAnimations); 207 $(window).trigger('scroll'); 208 /*fadeinup*/ 209 /*step by step* 210 lptch = 0; 211 $('#in-logo svg .logo-i-f').each(function() { 212 lptch++; 213 tlp = 100 * lptch; 214 setTimeout("$('#in-logo svg .logo-i-f:nth-child("+lptch+")').addClass('fadeInUppre')", tlp); 215 }); 216 step by step*/ 217}); 218 219
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.