PageSourceSearch

https://www.mortabijoux.fr/wp-content/cache/min/1/wp-content/theme…/assets/js/vendor/sticky.js?ver=1789993527

js mortabijoux.fr collected 2026-10-06 20:54:17 UTC 2,479 bytes, 6 lines download raw bytes

1(function($,elementorFrontend,elementorModules){'use strict';var _sticky=elementorModules.frontend.handlers.Base.extend({bindEvents:function bindEvents(){elementorFrontend.addListenerOnce(this.getUniqueHandlerID()+'sticky','resize',this.run)},unbindEvents:function unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID()+'sticky','resize',this.run)},isStickyInstanceActive:function isStickyInstanceActive(){return undefined!==this.$element.data('sticky')},activate:function activate(){var elementSettings=this.getElementSettings(),stickyOptions={to:elementSettings.sticky,offset:elementSettings.sticky_offset,effectsOffset:elementSettings.sticky_effects_offset,classes:{sticky:'elementor-sticky',stickyActive:'elementor-sticky--active elementor-section--handles-inside',stickyEffects:'elementor-sticky--effects',spacer:'elementor-sticky__spacer'}},$wpAdminBar=elementorFrontend.elements.$wpAdminBar;if(elementSettings.sticky_parent){stickyOptions.parent='.elementor-widget-wrap'}
2if($wpAdminBar.length&&'top'===elementSettings.sticky&&'fixed'===$wpAdminBar.css('position')){stickyOptions.offset+=$wpAdminBar.height()}
3this.$element.sticky(stickyOptions)},deactivate:function deactivate(){if(!this.isStickyInstanceActive()){return}
4this.$element.sticky('destroy')},run:function run(refresh){if(!this.getElementSettings('sticky')){this.deactivate();return}
5var currentDeviceMode=elementorFrontend.getCurrentDeviceMode(),activeDevices=this.getElementSettings('sticky_on');if(-1!==activeDevices.indexOf(currentDeviceMode)){if(!0===refresh){this.reactivate()}else if(!this.isStickyInstanceActive()){this.activate()}}else{this.deactivate()}},reactivate:function reactivate(){this.deactivate();this.activate()},onElementChange:function onElementChange(settingKey){if(-1!==['sticky','sticky_on'].indexOf(settingKey)){this.run(!0)}
6if(-1!==['sticky_offset','sticky_effects_offset','sticky_parent'].indexOf(settingKey)){this.reactivate()}},onInit:function onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments);this.run()},onDestroy:function onDestroy(){elementorModules.frontend.handlers.Base.prototype.onDestroy.apply(this,arguments);this.deactivate()}});$(window).on('elementor/frontend/init',()=>{const addHandler=($element)=>{elementorFrontend.elementsHandler.addHandler(_sticky,{$element,})};elementorFrontend.hooks.addAction('frontend/element_ready/section',addHandler)})}(jQuery,window.elementorFrontend,window.elementorModules))

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.