PageSourceSearch

https://thunderlotusgames.com/wp-content/themes/thunderlotus/dist/…ion_index_js.57febf8913a1c0bce810.bundle.js

js thunderlotusgames.com collected 2026-10-03 21:57:44 UTC 3,752 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkthunderlotus=self.webpackChunkthunderlotus||[]).push([["src_js_modules_title-highlight-decoration_index_js"],{
1"./src/js/modules/title-highlight-decoration/index.js":(t,i,n)=>{n.r(i),n.d(i,{default:()=>a});var e=n("./src/js/utils/dom.js"),s=n("./src/js/scroll/constants.js");function l(t,i){(null==i||i>t.length)&&(i=t.length);for(var n=0,e=new Array(i);n<i;n++)e[n]=t[n];return e}function r(t,i){for(var n=0;n<i.length;n++){var e=i[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function o(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,i){if(!t)return;if("string"==typeof t)return l(t,i);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,i)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const a=function(){function t(i,n){!function(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=i,this.emitter=n,this.initalized=!1,this.decorationType=this.el.dataset.decoration,this.sequences={circle:[0,1,2,3,2,1],underline:[0,1,2,3,2,1]},this.sequence=this.sequences[this.decorationType],this.currentPosition=0,this.paths=o((0,e.$$)("svg path",this.el)),this._animate=this._animate.bind(this),this._onScrollCall=this._onScrollCall.bind(this),this._startInterval=this._startInterval.bind(this),this._stopInterval=this._stopInterval.bind(this)}var i,n,l;return i=t,(n=[{key:"init",value:function(){this._bindEvents(),this.initalized=!0}},{key:"destroy",value:function(){this.initalized=!1,this._unbindEvents(),this._stopInterval(),this.initialSequence=null,this.sequence=null,this.interval=null,this.decorationType=null,this.paths=null,this.el=null,this.emitter=null,this._animate=null,this._onScrollCall=null,this._startInterval=null,this._stopInterval=null}},{key:"_bindEvents",value:function(){var t;this.paths.length&&(null===(t=this.emitter)||void 0===t||t.on("SiteScroll.title-highlight-decoration",this._onScrollCall))}},{key:"_unbindEvents",value:function(){var t;this.paths.length&&(null===(t=this.emitter)||void 0===t||t.off("SiteScroll.title-highlight-decoration",this._onScrollCall))}},{key:"_animate",value:function(){if(this.initalized){var t=this.sequence[this.currentPosition];this.paths.forEach((function(i,n){i.style.visibility=n==t?"visible":"hidden"})),this.currentPosition++,this.currentPosition==this.sequence.length&&(this.currentPosition=0)}}},{key:"_onScrollCall",value:function(t,i){i.el===this.el&&(this._inView=t===s.gY,this._inView?this._startInterval():this._stopInterval())}},{key:"_startInterval",value:function(){this.interval||this.paths.length>1&&(this.interval=setInterval(this._animate,200))}},{key:"_stopInterval",value:function(){this.interval&&(clearInterval(this.interval),this.interval=null)}}])&&r(i.prototype,n),l&&r(i,l),t}()},
1"./src/js/scroll/constants.js":(t,i,n)=>{n.d(i,{A2:()=>e,C2:()=>o,Hg:()=>r,SJ:()=>v,ZC:()=>u,dI:()=>s,gY:()=>l,n3:()=>f,sp:()=>c,uO:()=>a,y0:()=>h,zM:()=>d});var e="is-outview",s="is-inview",l="enter",r="exit",o="down",a="up",h="--js-scroll-down",u="--js-scroll-up",c=30,d="--js-scroll-min",v="--js-scrollbar-hidden",f={offset:0,smooth:!0,callback:!1,duration:null,easing:"linear"}}
1}]);
2//# sourceMappingURL=src_js_modules_title-highlight-decoration_index_js.57febf8913a1c0bce810.bundle.js.map

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.