PageSourceSearch

https://pvietto.com/asset/js/app.js?v=user-144478-1785237974-theme…13adcc7017f2a0a3ecadc8eed399b956-1696429081

js pvietto.com collected 2026-10-04 20:01:26 UTC 2,658 bytes, 96 lines download raw bytes

1(function() {
2  var $albumV, $body, $win, SCREEN_DESKTOP, SCREEN_TABLET, generateMosaicGallery, setAlbumHeight;
3
4  SCREEN_TABLET = 768;
5
6  SCREEN_DESKTOP = 1199;
7
8  $body = $('body');
9
10  $win = $(window);
11
12  $albumV = $('.album-vertical');
13
14  generateMosaicGallery = function() {
15    return $('.album-mosaic').each(function(_, el) {
16      var fldGrd;
17      return fldGrd = new FldGrd(el, {
18        rowHeight: 450,
19        rowHeightOrphan: function() {
20          return 450;
21        },
22        itemSelector: '.album-mosaic-item',
23        objSelector: 'img'
24      });
25    });
26  };
27
28  setAlbumHeight = function() {
29    if ($win.width() >= SCREEN_TABLET && $albumV.length) {
30      return $('.row', $albumV).height($win.height() - $albumV.offset().top);
31    }
32  };
33
34  $(function() {
35    var container, ps;
36    container = document.querySelector('#ps');
37    if (container) {
38      ps = new PerfectScrollbar(container);
39    }
40    $('.js-product-files-toggle').on('click', function() {
41      $(this).closest('.js-product-files').toggleClass('is-open');
42      return false;
43    });
44    $('[data-responsive-nav-toggle-btn]').on('click', function(e) {
45      e.preventDefault();
46      return $body.toggleClass('responsive-nav--open');
47    });
48    if ($win.width() >= SCREEN_TABLET && $body.height() > $win.height() * 2) {
49      $(window).on('scroll', function() {
50        if ($(window).scrollTop() > $(window).height()) {
51          return $('.btt').fadeIn("300");
52        } else {
53          return $('.btt').fadeOut("300");
54        }
55      });
56    }
57    if ($('.album-mosaic').length > 0) {
58      $('.loader').hide();
59      utils.detectIEEdge();
60      $('.album-mosaic').animate({
61        opacity: 1
62      }, 500);
63      generateMosaicGallery();
64    }
65    if ($(".contact-page").length > 0) {
66      $('textarea.js-auto-size').textareaAutoSize();
67      $("#contact_form input, #contact_form textarea").on("focus", function() {
68        return $(this).prev("label").addClass("focus");
69      });
70      $("#contact_form input, #contact_form textarea").on("focusout", function() {
71        if (!($(this).val().length > 1)) {
72          return $(this).prev("label").removeClass("focus");
73        }
74      });
75      $("#contact_form").on("submit", function(e) {
76        window.contactForm.submit();
77        return e.preventDefault();
78      });
79    }
80    return setAlbumHeight();
81  });
82
83  $(window).on('resize', function() {
84    if ($('.album-mosaic').length > 0) {
85      generateMosaicGallery();
86    }
87    return setAlbumHeight();
88  });
89
90  $(window).on("load", function() {
91    if ($('.album-mosaic').length > 0) {
92      return generateMosaicGallery();
93    }
94  });
95
96}).call(this);

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.