PageSourceSearch

https://fav10.net/forum/js/themehouse/uix/index.min.js?_v=4146779c

js fav10.net collected 2026-10-02 13:00:08 UTC 4,770 bytes, 10 lines download raw bytes

1'use strict';(function(m){function f(c){if(p[c])return p[c].exports;var d=p[c]={i:c,l:!1,exports:{}};m[c].call(d.exports,d,d.exports,f);d.l=!0;return d.exports}var p={};f.m=m;f.c=p;f.d=function(c,d,b){f.o(c,d)||Object.defineProperty(c,d,{configurable:!1,enumerable:!0,get:b})};f.n=function(c){var d=c&&c.__esModule?function(){return c["default"]}:function(){return c};f.d(d,"a",d);return d};f.o=function(c,d){return Object.prototype.hasOwnProperty.call(c,d)};f.p="";return f(f.s=0)})([function(m,f,p){Object.defineProperty(f,
2"__esModule",{value:!0});m=p(1);f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(c){return typeof c}:function(c){return c&&"function"===typeof Symbol&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c};"object"!==f(window.themehouse)&&(window.themehouse={});"object"!==f(window.themehouse.settings)&&(window.themehouse.settings={});"object"!==f(window.themehouse.settings.data)&&(window.themehouse.settings.data={});window.themehouse.settings.data.jsVersion="2.1.8.0_Release";
3(new m.a({settings:window.themehouse.settings.sticky})).register()},function(m,f,p){var c=function(){function d(b,a){for(var e=0;e<a.length;e++){var g=a[e];g.enumerable=g.enumerable||!1;g.configurable=!0;"value"in g&&(g.writable=!0);Object.defineProperty(b,g.key,g)}}return function(b,a,e){a&&d(b.prototype,a);e&&d(b,e);return b}}();m=function(){function d(b){var a=this,e=b.settings;e=void 0===e?{}:e;var g=b.init;g=void 0===g?!1:g;b=b.commonVersion;b=void 0===b?"20210125":b;if(!(this instanceof d))throw new TypeError("Cannot call a class as a function");
4this.initEle=function(h){var l=a.eles[h],k=l.offsets,n=k.topOffsetBreakpoints;k=Math.max(k.topOffset,0);if(n.length){var r=!0,q=!1,t=void 0;try{for(var v=n[Symbol.iterator](),w;!(r=(w=v.next()).done);r=!0){var u=w.value,x=parseInt(u.offset,10)||0;if(u.breakpoint&&"100%"!==u.breakpoint){var y=parseInt(u.breakpoint,10)||0;a.common.values.innerWidth>=y&&(k+=x)}}}catch(z){q=!0,t=z}finally{try{!r&&v.return&&v.return()}finally{if(q)throw t;}}}k!==l.currentOffset&&(n=jQuery(l.ele),-1!==l.currentOffset&&
5n.trigger("sticky_kit:detach").removeData("sticky_kit"),n.stick_in_parent({sticky_class:a.settings.stickyClass,offset_top:k}),a.eles[h].currentOffset=k)};this.init=function(){a.initGet();a.initSet()};this.initGet=function(){for(var h=window.document.querySelectorAll(a.settings.stickySelector),l=0,k=h.length;l<k;l++){var n=h[l],r=parseInt(n.getAttribute(a.settings.dataTop),10)||0,q=void 0;try{q=JSON.parse(n.getAttribute(a.settings.dataTopBreakpoints))||[]}catch(t){q=[]}a.eles.push({ele:n,offsets:{topOffset:r,
6topOffsetBreakpoints:q},currentOffset:-1})}a.resizeGet();window.addEventListener("resize.sticky-header",function(t){a.update.call(a,t)},{passive:!0})};this.initSet=function(){a.resizeSet();a.running=!0};this.resize=function(){a.resizeGet();a.resizeSet()};this.resizeGet=function(){};this.resizeSet=function(){a.common.values.innerHeight<a.settings.minWindowHeight?!1!==a.active&&a.disable():a.active||a.enable();for(var h=0,l=a.eles.length;h<l;h++)a.initEle(h)};this.running=!1;this.settings=Object.assign({stickySelector:".uix_stickyBar",
7stickyClass:"is-sticky",stickyBrokenClass:"is-sticky-broken",stickyDisabledClass:"is-sticky-disabled",minWindowHeight:251,dataTop:"data-top-offset",dataTopBreakpoints:"data-top-offset-breakpoints"},e);this.commonVersion=b;this.common=window.themehouse.common[b];this.stickyBroken=this.supportsSticky=this.active=!1;this.eles=[];g&&this.init()}c(d,[{key:"register",value:function(){this.common.register({phase:"initGet",addon:"TH_UIX_Sticky",func:this.initGet,order:10});this.common.register({phase:"initSet",
8addon:"TH_UIX_Sticky",func:this.initSet,order:10});this.common.register({phase:"resizeGet",addon:"TH_UIX_Sticky",func:this.resizeGet,order:10});this.common.register({phase:"resizeSet",addon:"TH_UIX_Sticky",func:this.resizeSet,order:100})}},{key:"enable",value:function(){var b=this;this.active=!0;for(var a=function(h,l){var k=b.eles[h].ele;k.classList.remove(b.settings.stickyDisabledClass);b.supportsSticky||(b.stickyBroken&&setTimeout(function(){k.classList.add(b.settings.stickyBrokenClass)},0),b.initEle(h))},
9e=0,g=this.eles.length;e<g;e++)a(e,g)}},{key:"disable",value:function(){this.active=!1;
9this.supportsSticky&&window.jQuery(window).off("scroll.sticky-header");for(var b=0,a=this.eles.length;b<a;b++){var e=this.eles[b].ele;this.supportsSticky&&window.jQuery(e).trigger("sticky_kit:detach").removeData("sticky_kit");e.classList.remove(this.settings.stickyClass);e.classList.remove(this.settings.stickyBrokenClass);e.classList.remove(this.settings.stickyDisabledClass)}}}]);return d}();"undefined"===typeof window.themehouse&&
10(window.themehouse={});window.themehouse.sticky={sticky:m};f.a=m}]);

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.