Mini Shell

Direktori : /home/admin/web/mcpv.demarco.ddnsfree.com/public_html/wp-includes/js/
Upload File :
Current File : /home/admin/web/mcpv.demarco.ddnsfree.com/public_html/wp-includes/js/hoverIntent.js

/*!
 * hoverIntent v1.10.2 // 2020.04.28 // jQuery v1.7.0+
 * http://briancherne.github.io/jquery-hoverIntent/
 *
 * You may use hoverIntent under the terms of the MIT license. Basically that
 * means you are free to use hoverIntent as long as this header is left intact.
 * Copyright 2007-2019 Brian Cherne
 */

/**
 * hoverIntent is similar to jQuery's built-in "hover" method except that
 * instead of firing the handlerIn function immediately, hoverIntent checks
 * to see if the user's mouse has slowed down (beneath the sensitivity
 * threshold) before firing the event. The handlerOut function is only
 * called after a matching handlerIn.
 *
 * // basic usage ... just like .hover()
 * .hoverIntent( handlerIn, handlerOut )
 * .hoverIntent( handlerInOut )
 *
 * // basic usage ... with event delegation!
 * .hoverIntent( handlerIn, handlerOut, selector )
 * .hoverIntent( handlerInOut, selector )
 *
 * // using a basic configuration object
 * .hoverIntent( config )
 *
 * @param  handlerIn   function OR configuration object
 * @param  handlerOut  function OR selector for delegation OR undefined
 * @param  selector    selector OR undefined
 * @author Brian Cherne <brian(at)cherne(dot)net>
 */

;(function(factory) {
    'use strict';
    if (typeof define === 'function' && define.amd) {
        define(['jquery'], factory);
    } else if (typeof module === 'object' && module.exports) {
        module.exports = factory(require('jquery'));
    } else if (jQuery && !jQuery.fn.hoverIntent) {
        factory(jQuery);
    }
})(function($) {
    'use strict';

    // default configuration values
    var _cfg = {
        interval: 100,
        sensitivity: 6,
        timeout: 0
    };

    // counter used to generate an ID for each instance
    var INSTANCE_COUNT = 0;

    // current X and Y position of mouse, updated during mousemove tracking (shared across instances)
    var cX, cY;

    // saves the current pointer position coordinates based on the given mousemove event
    var track = function(ev) {
        cX = ev.pageX;
        cY = ev.pageY;
    };

    // compares current and previous mouse positions
    var compare = function(ev,$el,s,cfg) {
        // compare mouse positions to see if pointer has slowed enough to trigger `over` function
        if ( Math.sqrt( (s.pX-cX)*(s.pX-cX) + (s.pY-cY)*(s.pY-cY) ) < cfg.sensitivity ) {
            $el.off(s.event,track);
            delete s.timeoutId;
            // set hoverIntent state as active for this element (permits `out` handler to trigger)
            s.isActive = true;
            // overwrite old mouseenter event coordinates with most recent pointer position
            ev.pageX = cX; ev.pageY = cY;
            // clear coordinate data from state object
            delete s.pX; delete s.pY;
            return cfg.over.apply($el[0],[ev]);
        } else {
            // set previous coordinates for next comparison
            s.pX = cX; s.pY = cY;
            // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs)
            s.timeoutId = setTimeout( function(){compare(ev, $el, s, cfg);} , cfg.interval );
        }
    };

    // triggers given `out` function at configured `timeout` after a mouseleave and clears state
    var delay = function(ev,$el,s,out) {
        var data = $el.data('hoverIntent');
        if (data) {
            delete data[s.id];
        }
        return out.apply($el[0],[ev]);
    };

    // checks if `value` is a function
    var isFunction = function(value) {
        return typeof value === 'function';
    };

    $.fn.hoverIntent = function(handlerIn,handlerOut,selector) {
        // instance ID, used as a key to store and retrieve state information on an element
        var instanceId = INSTANCE_COUNT++;

        // extend the default configuration and parse parameters
        var cfg = $.extend({}, _cfg);
        if ( $.isPlainObject(handlerIn) ) {
            cfg = $.extend(cfg, handlerIn);
            if ( !isFunction(cfg.out) ) {
                cfg.out = cfg.over;
            }
        } else if ( isFunction(handlerOut) ) {
            cfg = $.extend(cfg, { over: handlerIn, out: handlerOut, selector: selector } );
        } else {
            cfg = $.extend(cfg, { over: handlerIn, out: handlerIn, selector: handlerOut } );
        }

        // A private function for handling mouse 'hovering'
        var handleHover = function(e) {
            // cloned event to pass to handlers (copy required for event object to be passed in IE)
            var ev = $.extend({},e);

            // the current target of the mouse event, wrapped in a jQuery object
            var $el = $(this);

            // read hoverIntent data from element (or initialize if not present)
            var hoverIntentData = $el.data('hoverIntent');
            if (!hoverIntentData) { $el.data('hoverIntent', (hoverIntentData = {})); }

            // read per-instance state from element (or initialize if not present)
            var state = hoverIntentData[instanceId];
            if (!state) { hoverIntentData[instanceId] = state = { id: instanceId }; }

            // state properties:
            // id = instance ID, used to clean up data
            // timeoutId = timeout ID, reused for tracking mouse position and delaying "out" handler
            // isActive = plugin state, true after `over` is called just until `out` is called
            // pX, pY = previously-measured pointer coordinates, updated at each polling interval
            // event = string representing the namespaced event used for mouse tracking

            // clear any existing timeout
            if (state.timeoutId) { state.timeoutId = clearTimeout(state.timeoutId); }

            // namespaced event used to register and unregister mousemove tracking
            var mousemove = state.event = 'mousemove.hoverIntent.hoverIntent'+instanceId;

            // handle the event, based on its type
            if (e.type === 'mouseenter') {
                // do nothing if already active
                if (state.isActive) { return; }
                // set "previous" X and Y position based on initial entry point
                state.pX = ev.pageX; state.pY = ev.pageY;
                // update "current" X and Y position based on mousemove
                $el.off(mousemove,track).on(mousemove,track);
                // start polling interval (self-calling timeout) to compare mouse coordinates over time
                state.timeoutId = setTimeout( function(){compare(ev,$el,state,cfg);} , cfg.interval );
            } else { // "mouseleave"
                // do nothing if not already active
                if (!state.isActive) { return; }
                // unbind expensive mousemove event
                $el.off(mousemove,track);
                // if hoverIntent state is true, then call the mouseOut function after the specified delay
                state.timeoutId = setTimeout( function(){delay(ev,$el,state,cfg.out);} , cfg.timeout );
            }
        };

        // listen for mouseenter and mouseleave
        return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover}, cfg.selector);
    };
});
September 12, 2021 – Page 2 – Base de données MCPV "Prestataires"

Day: September 12, 2021

Designer gadgets that have an “IYKYK” logo instead of the name

Superfakes: Copycat Manufacturers Have Gotten More And More Skilled At Producing Knock-off Designer Handbags You get the look of a Dior Saddle or a Gucci Marmont for a fraction of the price. For some fake bags online, it seems like a intelligent workaround in a world of rising costs and quick fashion. Over the past…

Read More

Finding a intercourse toy with a finances price tag that

Adult Toys With Discreet Delivery: Your Satisfaction Is Guaranteed! Sex toys (also known as adult toys or “marital aids”) are gadgets people use to have more pleasure during sex or masturbation wireless small alien vibration penis 02, based on Planned Parenthood. The We-Vibe Tango is a body-safe thermoplastic lipstick vibrator that prices $79, has eight…

Read More

For pinpoint clitoral stimulation

Sex Toys Movies Grownup Toys, Dildos, Vibrators It’s budget friendly, completely waterproof, and simple to wash,” says Drysdale of the rosebud-shaped toy. The finest sex toys for girls include quite so much of vibrators, dildos, rabbit vibrators, bullet vibrators, and Kegel exercisers. Each category offers unique sensations and can improve your solo or partnered experiences.…

Read More

The BDSM crowd will love our Bondage & Restraints products

High-quality Adult Intercourse Toy Online Retailer Masturbators Sponge Thicken Bondage Kits, Vibrators, And More Products On Sale Engineered specifically for male pleasure, these gadgets aren’t simply accessories—they’re game-changers. You’ll find one of the best cock ring to make mind blowing orgasms. Wild Flower is a web-based sexual wellness store specializing in inclusion, schooling Brush Head…

Read More

For instance, if the vibrator is made of silicone, a

12 Best Bullet Vibrators Of 2023 To Offer You A Strong Buzz It’s important to note that the kind of lube you utilize is decided by the material of your vibrator. For instance, if the vibrator is made of silicone, a water-based lube will help protect the material and avoid damaging it. “It’s great to…

Read More

In this case, take a better have a glance at the operator

Barona Resort & Casino Voted San Diego’s Best Casino The allure of Free Spins クイーン カジノ, multiplied wins, and special features retains your adrenaline rush pumping, making every spin a thrill ride of suspense. Using our list of really helpful on-line on line casino apps, you can decide a trustworthy casino that matches your specific…

Read More

These bonuses can be claimed directly on your mobile devices

US Online Casinos: Legal Casino Sites ルーレット, Apps, And Bonuses They provide a platform for players to connect with like-minded individuals from across the globe. Through chat functions and online forums, online casinos foster a sense of community and camaraderie. You can engage in friendly banter, share strategies, and cheer each other on. The online…

Read More

Dane also loves to write screenplays and loves to develop

NYC Council rejects land use change for Bally’s planned Bronx casino effectively killing bid for gaming license For casinos without dedicated apps, we assess the mobile compatibility of their game libraries. Beyond the welcome bonus, players can take advantage of various promotions, such as a friend referral bonus and a daily spin-the-wheel chance to win…

Read More

I personally love this bag for the day time once I’m operating

Tips On How To Spot A Pretend Gucci Handbag: Step-by-step Information Authentic Pre-owned Luxurious Bags Honestly fake bags online, utilizing a bit of common sense replica bags, you’d know that myth isn’t true. If faux luggage might pass for the real thing so easily, why would reproduction sellers even hassle with promoting them as fakes?…

Read More