var jabvfcr_selector; var jabvfcr_iframe = jQuery('.jabvfcr .js-inspector .js-site-preview-iframe')[0].contentWindow; jabvfcr_iframe.addEventListener("load", function() { jabvfcr_openInspector(); }); function jabvfcr_isValidSelector() { jQuery('.jabvfcr .invalid').addClass('dn'); var selector = jQuery('.jabvfcr .js-selector').val(); var isValid = jabvfcr_iframe.jabvfcr_isSelectorValid(selector); if (!isValid) { jQuery('.jabvfcr .invalid').removeClass('dn'); } return isValid; } function jabvfcr_selected(selector) { jQuery('.jabvfcr .js-selector').val(selector); jabvfcr_toggleOptions(); jQuery('.jabvfcr .invalid').addClass('dn'); } function jabvfcr_toggleOptions(hide) { jQuery('.jabvfcr .js-inspector .js-clear').toggleClass('dn', hide); } function jabvfcr_toggleOverlay(show) { jQuery('.jabvfcr .js-inspector')[show ? 'show' : 'hide'](); jQuery('body').css({ overflow: show ? 'hidden' : '' }); } function jabvfcr_updateCurrentSelector(selector) { jQuery('.jabvfcr .js-current-selector').text(selector); } function jabvfcr_getOptions() { var selector = jQuery('.jabvfcr .js-selector').val(); var manipulation = jQuery('.jabvfcr .js-manipulation:checked').val(); var content = tinyMCE.activeEditor && !tinyMCE.activeEditor.hidden ? tinyMCE.activeEditor.getContent() : jQuery('#content').val(); return { selector:selector, manipulation: manipulation, content: content }; } function jabvfcr_resetSelector() { jabvfcr_iframe.jabvfcr_resetSelector(); jQuery('.jabvfcr .js-selector').val(''); } function jabvfcr_openInspector() { jQuery('.jabvfcr .js-loading-screen').remove(); var selector = jQuery('.jabvfcr .js-selector').val(); if (selector && jabvfcr_iframe.jabvfcr_isSelectorValid(selector)) { jabvfcr_iframe.jabvfcr_updateSelector(selector); jabvfcr_toggleOptions(false); } jabvfcr_toggleOverlay(true); } function jabvfcr_saveSelector() { if (!jabvfcr_isValidSelector()) { return; } var data = { _ajax_nonce: jabvfcr_ajax.nonce, action: 'jabvfcr_save_selector', selector: jQuery('.jabvfcr .js-selector').val(), manipulation: jQuery('.jabvfcr .js-manipulation:checked').val(), content: tinyMCE.activeEditor && !tinyMCE.activeEditor.hidden ? tinyMCE.activeEditor.getContent() : jQuery('#content').val() }; jQuery.post(jabvfcr_ajax.url, data).then(function() { alert('Settings updated.'); }).fail(function() { alert('There was an unexpected error. Please try again.'); }); } (function ($) { jQuery( document ).on( 'tinymce-editor-init', function( event, editor ) { tinyMCE.activeEditor.onKeyUp.add(function(){ jabvfcr_iframe.jabvfcr_updateSelector(); }); tinyMCE.activeEditor.onChange.add(function(){ jabvfcr_iframe.jabvfcr_updateSelector(); }); }); jQuery('#content').keyup(function(){ jabvfcr_iframe.jabvfcr_updateSelector(); }); jQuery('#content').change(function(){ jabvfcr_iframe.jabvfcr_updateSelector(); }); $('.jabvfcr .js-inspector .js-clear').click(function(e) { jabvfcr_resetSelector(); jabvfcr_toggleOptions(); }); $('.jabvfcr .js-close-inspector').click(function(e) { e.preventDefault(); jabvfcr_toggleOverlay(false); }); $('.jabvfcr .js-toggle-advanced-options').click(function(e) { e.preventDefault(); $('.js-advanced-options').toggleClass('dn'); }); $('.jabvfcr form .js-submit').click(function(e) { e.preventDefault(); jabvfcr_saveSelector(); }); $('.jabvfcr form .js-selector').blur(function() { if (jabvfcr_isValidSelector()) { var selector = jQuery('.jabvfcr .js-selector').val(); jabvfcr_iframe.jabvfcr_updateSelector(selector); } }); $('.jabvfcr form .js-manipulation').change(function() { jabvfcr_iframe.jabvfcr_updateSelector(); }); $('.jabvfcr .js-open-inspector').click(function() { jabvfcr_openInspector(); }); })(jQuery); {"id":1692,"date":"2024-10-16T19:17:02","date_gmt":"2024-10-16T19:17:02","guid":{"rendered":"https:\/\/ghorbaghe.me\/?p=1692"},"modified":"2024-10-17T00:41:29","modified_gmt":"2024-10-17T00:41:29","slug":"registratsija-i-prohoda-na-ofitsialnyj-sajt-pinko-kazin","status":"publish","type":"post","link":"https:\/\/ghorbaghe.me\/registratsija-i-prohoda-na-ofitsialnyj-sajt-pinko-kazin\/","title":{"rendered":"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0418 \u043f\u0440\u043e\u0445\u043e\u0434\u0430 \u041d\u0430 \u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0421\u0430\u0439\u0442 \u041f\u0438\u043d\u043a\u043e \u041a\u0430\u0437\u0438\u043d"},"content":{"rendered":"
\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0418 \u043f\u0440\u043e\u0445\u043e\u0434\u0430 \u041d\u0430 \u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0421\u0430\u0439\u0442 \u041f\u0438\u043d\u043a\u043e \u041a\u0430\u0437\u0438\u043d\u043e<\/p>\n
Content<\/p>\n
\u0422\u043e\u0433\u0434\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043f\u043e\u0440\u0442\u0430\u043b \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d%2C \u0433\u043e\u0441\u0442\u0438 \u043c\u043e\u0433\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043d\u043e\u0432\u044b\u0439 \u0441\u0430\u0439\u0442 \u0437\u0435\u0440\u043a\u0430\u043b\u0430 \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0430 \u0430 \u0441\u0435\u0440\u0432\u0438\u0441 \u0438\u0433\u043e\u0440\u043d\u043e\u0433\u043e \u0437\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u044f. \u0422\u0430\u043a\u0436\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0431\u044b\u0442\u044c \u0438\u0433\u0440\u0430\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0432 \u043a\u043b\u0443\u0431\u0435 \u041f\u0438\u043d \u0423\u043f \u0441 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438%2C \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043b\u0443\u0431\u0430. \u0418\u0433\u0440\u043e\u043a\u0438 \u043c\u043e\u0433\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 PinUp casino \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e%2C \u043b\u0438\u0431\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0441\u0432\u0435\u0436\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043a\u0430\u0437\u0438\u043d\u043e (2023 \u0433\u043e\u0434\u0430) \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0410\u043d\u0434\u0440\u043e\u0438\u0434 \u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 \u0410\u0439\u0444\u043e\u043d.<\/p>\n