PageSourceSearch

https://theimpression.com/wp-content/themes/zeen-child/assets/js/scripts.js?ver=28

js theimpression.com collected 2026-10-02 04:01:33 UTC 8,560 bytes, 181 lines download raw bytes

1jQuery(function($) {
2    if ($(".lets-review-block__crits").hasClass("lets-review-seen")) {
3   }else{
4        $('.lets-review-block__crits').addClass('lets-review-seen');
5   }
6    
7    $('.wp-block-media-text .wp-block-quote').each(function() {
8          $('.wp-block-media-text .wp-block-media-text__content').addClass('quoteclass');
9    });
10    $('.category-street-style .block-subcats-wrap').removeClass('active');
11    $('.secondsubscription.groups').hide();
12    $('#indimemb').addClass('active');
13    $('.wp-block-ub-content-toggle-accordion-content-wrap').addClass('ub-hide');
14    $('.wp-block-ub-math-plus').removeClass('open');
15    $('#groupmemb').click(function(){
16        $('.secondsubscription.groups').show();
17        $('.secondsubscription.normal').hide();
18        $(this).addClass('active');
19        $('#indimemb').removeClass('active');
20    });
21    $('#indimemb').click(function(){
22        $('.secondsubscription.groups').hide();
23        $('.secondsubscription.normal').show();
24        $(this).addClass('active');
25        $('#groupmemb').removeClass('active');
26    });
27    
28    $('body.category-street-style .block-subcats-wrap.sorter').click(function(){
29        if ($(this).hasClass("active")) {
30               $(this).removeClass('active');
31           }else{
32                $(this).addClass('active');
33           }
34    });
35    
36    $('body.category .filters .block-subcats-wrap').click(function(){
37          if ($(".block-subcats-wrap").hasClass("active")) {
38               $('.block-subcats-wrap').removeClass('active');
39           }else{
40                $('.block-subcats-wrap').addClass('active');
41           }
42    });
43     $('input[name="ihc_optin_accept"]').prop('checked', true);
44     $('body.category-tv .mask-img img').attr('src', function(index, attr) {
45		return attr.replace('-1170x585.gif', ".gif");
46    });
47    $('body.category-tv .mask-img img').attr('src', function(index, attr) {
48		return attr.replace('-1080x585.gif', ".gif");
49    });
50    $('.mask-img img').attr('src', function(index, attr) {
51        //var a = attr.split('?');
52        //jQuery(this).addClass('gifimg');
53		return attr.replace('-770x513.gif', ".gif");
54    });
55    var captionStr  = $('.single-post .category-street-style .caption').text();
56    if(captionStr == 'Photo | Courtesy of Press Office'){
57        $('.single-post .category-street-style .caption').remove();
58    }
59    else{
60        $('.single-post .category-street-style .caption').show();
61    }
62    $('body.postid-10486121').addClass('single-product');
63    $('#block-wrap-98550 article .mask a').each(function() {
64          var value = $(this).attr('href');
65          $(this).attr('href', value.replace('countries','fashion-shows'));
66    });
67    $('#block-wrap-40449 article .mask a').each(function() {
68          var value1 = $(this).attr('href');
69          $(this).attr('href', value1.replace('runway_categories','fashion-shows').replace('videos','fashion-show-videos').replace('backstage','backstage-fashion-shows'));
70    });
71    $('#block-wrap-10533 article .mask a').each(function() {
72          var value = $(this).attr('href');
73          $(this).attr('href', value.replace('macro_runway','fashion-shows'));
74    });
75    $('.logo-main-menu').html('<a href="https://theimpression.com" class="svg" data-pin-nopin="true"><object style="margin-bottom:0;" data="https://theimpression.com/wp-content/uploads/2021/05/The-Impression-Large-Logo-Black.svg" width="300" height="71"> </object></a>');
76    $('#swipebox-overlay').remove(); 
77    $('.successmeg').hide();
78    $('html').removeClass('swipebox-html');
79    $('html').removeClass('swipebox-no-touch');
80    $('html').addClass('s1');
81    var imgCarousel =  $('body.category-fashion-shows #block-wrap-38906 article img');
82    for(var i=0; i<imgCarousel.length; i++) { //data-lazy-src
83        var dataSrc = $(imgCarousel[i]).attr('src');
84        }
85    $('#block-wrap-84677 h1.page-title').text('Latest in Runway');
86    $('.customvideosection').addClass('block-wrap-46').removeClass('block-wrap-34');
87    $('.customvideosection .block-html-content').removeClass('link-color-wrap');
88    $('.customvideosection .videos-wrap h3.title a').addClass("rrr");
89    $('.listblog .icon-size-s-1').click(function(){
90        var s1 = $(this).attr('href');
91        var s21 = $(this).data('pid');
92       //alert(s21);
93        $('.replacedvideo').html('<video src="'+s1+'" controls="controls" controlslist="nodownload" autoplay></video>');
94    });
95    $('.category-street-style .mask-img img').attr('src', function(index, attr) {
96        //var a = attr.split('?');
97		return attr.replace('-1500x750', "");
98    });
99    $('body.category-fashion-shows .filters .block-subcats-wraper,body.category-fashion-shows .filters .block-subcats-wraper i').click(function(){
100           if ($(".block-subcats-wraper").hasClass("active")) {
101               $('.block-subcats-wraper').removeClass('active');
102               return false;
103           }else{
104            $('.block-subcats-wraper').addClass('active');
105               return false;
106           }
107    });
108    $('.block-subcats-wraper li a').click(function(){
109        var href1 = $(this).attr('href'); 
110        window.location.href = href1;
111    });
112    $('body.home .mask-img img').attr('src', function(index, attr) {
113        return attr.replace('-370x247.gif', ".gif");
114    });
115    
116    $('#block-wrap-162419 .mask-img img').attr('src', function(index, attr) {
117        $(this).addClass('gifimg');
118		return attr.replace('-770x513.gif', ".gif");
119    });
120    
121    
122    $('body.category-fashion-news.category-124 .mask-img img').attr('src', function(index, attr) {
123        //var a = attr.split('?');
124        $(this).addClass('gifimg');
125		return attr.replace('-370x247.gif', ".gif");
126    });
127    
128    $('body.category-51735 .post-10347286 .mask-img img').attr('src', function(index, attr) {
129        //var a = attr.split('?');
130        $(this).addClass('gifimg');
131		return attr.replace('-293x194.png', "-370x490.png");
132    });
133    setTimeout(function(){
134        $('body.category-fashion-shows #block-wrap-86912 .mask-img img').attr('src', function(index, attr) {
135            //var a = attr.split('?');
136            $(this).addClass('newimg');
137            return attr.replace('-370x490', "-552x828");
138        });
139        
140        $('#block-wrap-36904 .mask-img img').attr('src', function(index, attr) {
141            //var a = attr.split('?');
142            $(this).addClass('newimg');
143            return attr.replace('-370x490', "-552x828");
144        });
145    }, 2000);
146   $('.single .hero img').attr('src', function(index, attr) {
147       var a = attr.split('?');
148		return attr.replace('-585x775.jpg', ".jpg");
149    });
150    $('.single .hero img').attr('src', function(index, attr) {
151        var a = attr.split('?');
152		return attr.replace('-552x828.jpg', ".jpg");
153    });
154    $('.category-fashion-shows .related-posts-wrap .block-more').click(function(){
155        setTimeout(function(){
156          $('.category-fashion-shows .related-posts-wrap article img').attr('src', function(index, attr) {
157                 //console.log(index+'hererelated'+attr);
158                return attr.replace('-293x293.jpg', "-370x490.jpg");
159            });
160        }, 2000);
161    });
162    $('.category-fashion-shows .related-posts-wrap article img').attr('src', function(index, attr) {
163         //console.log(index+'hererelated'+attr);
164        return attr.replace('-293x293.jpg', "-552x828.jpg");
165    });
166    
167    $('.category-fashion-shows .load-more-wrap .block-more').click(function(){
168        setTimeout(function(){
169            $('.category-fashion-shows .related-posts-wrap article img').attr('src', function(index, attr) {
170                return attr.replace('-293x293.jpg', "-552x828.jpg");
171            });
172        }, 2000);
173    });
174    
175    $('.category-fashion-show-videos .video-wrap video').before('<div class="overlays"><img src="https://theimpression.com/wp-content/uploads/2021/06/The-Impression-Large-Logo-white.svg"></div>');
176    $('li.menu-icon-subscribe').before('<li class="newsletterbtn"><a href="#impregistration">NEWSLETTER</a></li>');
177	$('.single-post .entry-content-wrap .entry-content a:not(:has(img))').addClass('underline-effect');
178    //jQuery('.single .category-interviews .hero-wrap .hero').after("<div class='<?php echo $class;?>'><?php echo $display_name;?></div>");
179    $('.menu-left').append('<li class="only-mobile menu-icon menu-icon-style-1 menu-icon-login tipi-tip tipi-tip-move tipi-tipped" data-title="Login / Signup"><a href="#" class="tipi-i-user modal-tr icon-logged-out" data-type="latl"></a></li>');
180    $('.tacpp').val(1);
181});

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.