PageSourceSearch

https://www.oriba.com.br/blog/wp-content/themes/oribaTemplate/js/home/posts.js

js oriba.com.br collected 2026-10-04 01:24:14 UTC 1,109 bytes, 53 lines download raw bytes

1document.querySelectorAll('.wc-blog-filter__button').forEach(function (button) {
2  button.addEventListener('click', function () {
3    var category = this.getAttribute('data-category');
4    var url = window.location.pathname;
5
6    if (category) {
7      url += '?category=' + category;
8    }
9
10    window.location.href = url + '#posts-filters';
11  });
12});
13
14window.addEventListener('load', function () {
15  if (window.location.hash !== '#posts-filters') {
16    return;
17  }
18
19  var postsSection = document.getElementById('posts-filters');
20
21  if (!postsSection) {
22    return;
23  }
24
25  postsSection.scrollIntoView({
26    behavior: 'smooth',
27    block: 'start'
28  });
29});
30
31
32$(document).ready(() => {
33  if ($(document).width() < 1001) {
34    $('.wc-blog-list__row.row-1').slick({
35      dots: false,
36      arrows: false,
37      infinite: false,
38      slidesToShow: 2.1,
39      slidesToScroll: 1,
40      adaptiveHeight: true
41    });
42
43    $('.wc-blog-list__row.row-3').slick({
44      dots: false,
45      arrows: false,
46      infinite: false,
47      slidesToShow: 2.1,
48      slidesToScroll: 1,
49      adaptiveHeight: true
50    });
51  }
52
53})

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.