%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| 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/libraries/ |
Upload File : |
/**
* Dialog.
*
* @author ClimaxThemes
* @package Kata Plus
* @since 1.0.0
*/
'use strict';
var Kata_Plus_Dialog = (function ($) {
/**
* Global variables.
*
* @since 1.0.0
*/
var $window = $(window);
var runOnceTime = false;
return {
/**
* Init.
*
* @since 1.0.0
*/
init: function () {
if (runOnceTime == false) {
runOnceTime = true;
this.dialog();
}
},
/**
* Dialog.
*
* @since 1.0.0
*/
dialog: function () {
var $dialog = $('.kata-dialog');
// Open dialog
$('.kata-dialog-open-btn').off().on('click', function () {
$dialog.show();
});
// Close dialog
$dialog.find('.kata-dialog-close-btn').off().on('click', function () {
$dialog.hide();
});
},
/**
* Get Query String Value.
*
* @since 1.0.0
*/
getQueryStringValue: function (key) {
return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]" + encodeURIComponent(key).replace(/[\.\+\*]/g, "\\$&") + "(?:\\=([^&]*))?)?.*$", "i"), "$1"));
},
};
})(jQuery);
// Check Backend or Frontend
if (Kata_Plus_Dialog.getQueryStringValue('elementor-preview')) {
// Elementor preview
jQuery(window).on('elementor/frontend/init', function () {
elementorFrontend.hooks.addAction('frontend/element_ready/global', function ($scope) {
Kata_Plus_Dialog.init(true);
});
});
} else {
// Frontend
jQuery(document).ready(function () {
Kata_Plus_Dialog.init();
});
}