PageSourceSearch

https://hokench.com/assets/sub/reservations/fp/knowledge/about_fp-…5f90ec80b105db4cdcdc8d1951b6c33f164a33a0.js

js hokench.com collected 2026-10-04 01:59:42 UTC 2,843 bytes, 1 lines download raw bytes

1!function(t){(t=t||{}).fp=t.fp||{},t.fp.followMenu=function(t){t||(t={}),this.activeClassName=t.activeClassName||"is-active",this.activeWidthPC=t.activeWidthPC||1024,this.breakpoint=768,this.targetClassName=t.targetClassName||"js-followMenu-target",this.$target=$("."+this.targetClassName),this.stickyTargetClassName=t.stickyTargetClassName||"js-followMenu-sticky-target",this.$stickyTarget=$("."+this.stickyTargetClassName),this.stickyTargetTop=this.$stickyTarget.offset()&&this.$stickyTarget.offset().top,this.$window=$(window),this.$target.length&&this.init()},t.fp.followMenu.prototype={init:function(){var t=this,i=$("body"),e=i.height(),a=i.width();t.portrait=window.matchMedia("screen and (min-width: 768px) and (orientation: portrait)").matches,t.landscape=window.matchMedia("screen and (min-width: 897px) and (orientation: landscape)").matches,this.$window.on("resize",function(){e=i.height(),a=i.width(),t.portrait=window.matchMedia("screen and (min-width: 768px) and (orientation: portrait)").matches,t.landscape=window.matchMedia("screen and (min-width: 897px) and (orientation: landscape)").matches,t.main(e,a)}),t.main(e,a)},main:function(t,i){var e=this,a=e.$target.find("li"),n=a.length;e.portrait||e.landscape?(e.pc(t,i),a.css("width","")):(e.sp(t),a.css("width","calc((100% / "+n+") - 8px)"))},pc:function(t,i){var e=this;e.activeWidthPC+2*e.$target[0].clientWidth>i?e.$target.removeClass(e.activeClassName):(e.$window.on("scroll",function(){e.activePC(t)}),e.activePC(t))},sp:function(t){var i=this;i.$window.on("scroll",function(){i.activeSP(t)}),i.activeSP(t)},activePC:function(t){var i=this.$window.scrollTop(),e=i<this.stickyTargetTop?this.stickyTargetTop-i+"px":0;this.$target.css({top:e});var a=i+window.innerHeight<.7*t;this.$target.toggleClass(this.activeClassName,a)},activeSP:function(t){this.$target.css({top:"auto"});var i=this.$window.scrollTop(),e=window.innerHeight/2<i&&i+window.innerHeight<t/2;this.$target.toggleClass(this.activeClassName,e)}}}(INSURANCE||(INSURANCE={})),INSURANCE=INSURANCE||{},INSURANCE.fpCommon=INSURANCE.fpCommon||{},INSURANCE.fpCommon.onlineConsulToggle=function(){this.setParameter(),this.bindEvent()},INSURANCE.fpCommon.onlineConsulToggle.prototype={setParameter:function(){$clickElement=$(".js-onlineConsulToggle"),$clickTarget=$clickElement.siblings(".js-onlineConsulToggle-body")},bindEvent:function(){$clickElement.on("click",function(){$(this).toggleClass("active"),$clickTarget.toggleClass("active").slideToggle()})}},new INSURANCE.fpCommon.onlineConsulToggle,$(function(){INSURANCE=INSURANCE||{},INSURANCE.fp=INSURANCE.fp||{},new INSURANCE.scrollAnchor,new INSURANCE.pageTop({targetName:".js-scrollTopTrigger",duration:350});var t={targetClassName:"js-followMenu-target",stickyTargetClassName:"js-followMenu-sticky-target",activeWidth:1024};new INSURANCE.fp.followMenu(t)});

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.