PageSourceSearch

https://www.intel.co.jp/etc.clientlibs/settings/wcm/designs/ver/26…/intel/externallibs/bootstrap-affix.min.js

js intel.co.jp collected 2026-09-24 08:41:33 UTC 2,389 bytes, 5 lines download raw bytes

1+function(b){function k(d){return this.each(function(){var a=b(this),c=a.data("bs.affix"),f="object"==typeof d&&d;c||a.data("bs.affix",c=new e(this,f));if("string"==typeof d)c[d]()})}var e=function(d,a){this.options=b.extend({},e.DEFAULTS,a);this.$target=b(this.options.target).on("scroll.bs.affix.data-api",b.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",b.proxy(this.checkPositionWithEventLoop,this));this.$element=b(d);this.pinnedOffset=this.unpin=this.affixed=null;this.checkPosition()};
2e.VERSION="3.3.7";e.RESET="affix affix-top affix-bottom";e.DEFAULTS={offset:0,target:window};e.prototype.getState=function(d,a,c,f){var g=this.$target.scrollTop(),h=this.$element.offset(),l=this.$target.height();if(null!=c&&"top"==this.affixed)return g<c?"top":!1;if("bottom"==this.affixed)return null!=c?g+this.unpin<=h.top?!1:"bottom":g+l<=d-f?!1:"bottom";var m=null==this.affixed;h=m?g:h.top;return null!=c&&g<=c?"top":null!=f&&h+(m?l:a)>=d-f?"bottom":!1};e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;
3this.$element.removeClass(e.RESET).addClass("affix");var d=this.$target.scrollTop();return this.pinnedOffset=this.$element.offset().top-d};e.prototype.checkPositionWithEventLoop=function(){setTimeout(b.proxy(this.checkPosition,this),1)};e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var d=this.$element.height(),a=this.options.offset,c=a.top,f=a.bottom,g=Math.max(b(document).height(),b(document.body).height());"object"!=typeof a&&(f=c=a);"function"==typeof c&&(c=a.top(this.$element));
4"function"==typeof f&&(f=a.bottom(this.$element));a=this.getState(g,d,c,f);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");c="affix"+(a?"-"+a:"");var h=b.Event(c+".bs.affix");this.$element.trigger(h);if(h.isDefaultPrevented())return;this.affixed=a;this.unpin="bottom"==a?this.getPinnedOffset():null;this.$element.removeClass(e.RESET).addClass(c).trigger(c.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:g-d-f})}};var n=b.fn.affix;b.fn.affix=k;b.fn.affix.Constructor=
5e;b.fn.affix.noConflict=function(){b.fn.affix=n;return this};b(window).on("load",function(){b('[data-spy\x3d"affix"]').each(function(){var d=b(this),a=d.data();a.offset=a.offset||{};null!=a.offsetBottom&&(a.offset.bottom=a.offsetBottom);null!=a.offsetTop&&(a.offset.top=a.offsetTop);k.call(d,a)})})}(jQuery);

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.