





// source --> https://analogmodszer.hu/wp-content/uploads/scripts-organizer/js/18083-header.js?ver=1747390268 
"use strict";
jQuery.fn.inView = function (t) {
  var o = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : 0,
    e = {};
  (e.top = jQuery(window).scrollTop()), (e.bottom = e.top + jQuery(window).height());
  var p = {};
  switch (
    ((p.top = this.offset().top + o),
    (p.bottom = p.top + this.outerHeight()),
    t)
  ) {
    case "bottomOnly":
      return p.bottom <= e.bottom && p.bottom >= e.top;
    case "topOnly":
      return p.top <= e.bottom && p.top >= e.top;
    case "both":
    default:
      return p.top >= e.top && p.bottom <= e.bottom;
  }
};