PageSourceSearch

https://www.cliniquedelobesite.com/wp-content/themes/socha/js/libs/mwheelIntent.js?ver=2.3

js cliniquedelobesite.com collected 2026-09-24 15:16:02 UTC 3,610 bytes, 111 lines download raw bytes

1var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
2if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
3{
4  let window = _____WB$wombat$assign$function_____("window");
5  let self = _____WB$wombat$assign$function_____("self");
6  let document = _____WB$wombat$assign$function_____("document");
7  let location = _____WB$wombat$assign$function_____("location");
8  let top = _____WB$wombat$assign$function_____("top");
9  let parent = _____WB$wombat$assign$function_____("parent");
10  let frames = _____WB$wombat$assign$function_____("frames");
11  let opener = _____WB$wombat$assign$function_____("opener");
12
13/**
14 * @author trixta
15 * @version 1.2
16 */
17(function($){
18
19    var mwheelI = {
20            pos: [-260, -260]
21        },
22        minDif 	= 3,
23        doc 	= document,
24        root 	= doc.documentElement,
25        body 	= doc.body,
26        longDelay, shortDelay
27        ;
28
29    function unsetPos(){
30        if(this === mwheelI.elem){
31            mwheelI.pos = [-260, -260];
32            mwheelI.elem = false;
33            minDif = 3;
34        }
35    }
36
37    $.event.special.mwheelIntent = {
38        setup: function(){
39            var jElm = $(this).bind('mousewheel', $.event.special.mwheelIntent.handler);
40            if( this !== doc && this !== root && this !== body ){
41                jElm.bind('mouseleave', unsetPos);
42            }
43            jElm = null;
44            return true;
45        },
46        teardown: function(){
47            $(this)
48                .unbind('mousewheel', $.event.special.mwheelIntent.handler)
49                .unbind('mouseleave', unsetPos)
50            ;
51            return true;
52        },
53        handler: function(e, d){
54            var pos = [e.clientX, e.clientY];
55            if( this === mwheelI.elem || Math.abs(mwheelI.pos[0] - pos[0]) > minDif || Math.abs(mwheelI.pos[1] - pos[1]) > minDif ){
56                mwheelI.elem = this;
57                mwheelI.pos = pos;
58                minDif = 250;
59
60                clearTimeout(shortDelay);
61                shortDelay = setTimeout(function(){
62                    minDif = 10;
63                }, 200);
64                clearTimeout(longDelay);
65                longDelay = setTimeout(function(){
66                    minDif = 3;
67                }, 1500);
68                e = $.extend({}, e, {type: 'mwheelIntent'});
69                return $.event.handle.apply(this, arguments);
70            }
71        }
72    };
73    $.fn.extend({
74        mwheelIntent: function(fn) {
75            return fn ? this.bind("mwheelIntent", fn) : this.trigger("mwheelIntent");
76        },
77
78        unmwheelIntent: function(fn) {
79            return this.unbind("mwheelIntent", fn);
80        }
81    });
82
83    $(function(){
84        body = doc.body;
85        //assume that document is always scrollable, doesn't hurt if not
86        $(doc).bind('mwheelIntent.mwheelIntentDefault', $.noop);
87    });
88})(jQuery);
89
90}
91/*
92     FILE ARCHIVED ON 17:48:08 Jan 26, 2019 AND RETRIEVED FROM THE
93     INTERNET ARCHIVE ON 08:04:01 Feb 11, 2021.
94     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
95
96     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
97     SECTION 108(a)(3)).
98*/
99/*
100playback timings (ms):
101  PetaboxLoader3.datanode: 87.754 (5)
102  load_resource: 174.148 (2)
103  esindex: 0.02
104  RedisCDXSource: 7.662
105  exclusion.robots: 0.398
106  captures_list: 105.883
107  exclusion.robots.policy: 0.379
108  LoadShardBlock: 64.66 (3)
109  PetaboxLoader3.resolve: 49.958 (2)
110  CDXLines.iter: 28.535 (3)
111*/

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.