/*
* SPEEDYCACHE
* https://speedycache.com/
* (c) SpeedyCache Team
*/
(function($) {
speedycache_toolbar();
function speedycache_toolbar() {
jQuery('body').append('
');
if(typeof speedycache_toolbar_ajax.url == 'undefined'){
alert('ajax has NOT been defined');
}
jQuery('#wp-admin-bar-speedycache-toolbar-parent-default li').click(function(e){
var id = (typeof e.target.id != 'undefined' && e.target.id) ? e.target.id : jQuery(e.target).parent('li').attr('id');
var action = '';
if(id == 'wp-admin-bar-speedycache-toolbar-parent-settings'){
if(jQuery('div[modal-id^="speedycache-modal-toolbarsettings"]').length !== 0){
open_settings();
}
return;
}
switch(id){
case 'wp-admin-bar-speedycache-toolbar-parent-delete-cache':
action = 'speedycache_delete_cache';
break;
case 'wp-admin-bar-speedycache-toolbar-parent-delete-cache-and-minified':
action = 'speedycache_delete_cache_and_minified';
break;
case 'wp-admin-bar-speedycache-toolbar-parent-clear-cache-of-this-page':
action = 'speedycache_delete_current_page_cache';
break;
case 'wp-admin-bar-speedycache-toolbar-parent-clear-cache-of-allsites':
action = 'speedycache_clear_cache_of_allsites';
break;
}
toolbar_send({'action': action, 'path' : window.location.pathname, 'security' : speedycache_toolbar_ajax.nonce});
});
var open_settings = function() {
jQuery('.speedycache-loader').css('display','flex');
jQuery.ajax({
type: 'GET',
url: speedycache_toolbar_ajax.url,
data : {
'action': 'speedycache_toolbar_get_settings',
'path' : window.location.pathname,
'security' : speedycache_toolbar_ajax.nonce
},
success: function(data) {
setTimeout(function(){
jQuery('.speedycache-loader').hide();
}, 500);
if(!data.success){
alert('Toolbar Settings Error!');
return;
}
var data_json = {
'action': 'speedycache_toolbar_save_settings',
'path' : window.location.pathname,
'roles' : {},
'security' : speedycache_toolbar_ajax.nonce
},
speedycache_modal = jQuery('[modal-id="speedycache-modal-toolbarsettings"]');
speedycache_modal.find('input[type="checkbox"]').each(function(){
if(typeof data.roles[jQuery(this).attr('name')] != 'undefined'){
jQuery(this).attr('checked', true);
}
});
if(speedycache_modal && speedycache_modal.css('visibility') === 'hidden'){
speedycache_modal.css('visibility','visible');
close_modal();
}
speedycache_modal.find('.speedycache-modal-footer button').off('click').on('click', function() {
speedycache_modal.find('input[type="checkbox"]:checked').each(function(){
data_json.roles[jQuery(this).attr('name')] = 1;
});
toolbar_send(data_json);
speedycache_modal.find('.speedycache-close-modal').trigger('click');
alert('SpeedyCache Toolbar Settings Saved Successfully!');
});
}
});
}
var close_modal = function() {
jQuery('.speedycache-modal-footer > button, .speedycache-close-modal').on('click', function() {
jQuery(this).closest('.speedycache-modal').find('form').trigger('reset');
jQuery(this).closest('.speedycache-modal *').off();
jQuery(this).closest('.speedycache-modal').css('visibility','hidden');
});
}
var toolbar_send = function(data_json) {
jQuery('.speedycache-loader').css('display','flex');
jQuery.ajax({
type: 'GET',
url: speedycache_toolbar_ajax.url,
data : data_json,
success: function(data){
if(!data.success){
var speedycache_modal = jQuery('[modal-id="speedycache-modal-permission"]');
if(speedycache_modal && speedycache_modal.css('visibility') === 'hidden'){
speedycache_modal.css('visibility','visible');
close_modal();
}
}
try{
speedycache_update_cache_stats();
}catch(err) {
//
}
setTimeout(function(){
jQuery('.speedycache-loader').hide();
}, 500);
}
});
}
}
})(jQuery);
1.0Across Facehttps://acrossface.com.brwebmaster acrossfacehttps://acrossface.com.br/author/webmasteracrossface/Михаил Зборовский: ответственный гемблинг — залог успеха индустрии - Across Facerich600338<blockquote class="wp-embedded-content" data-secret="ykLGSOYkQ8"><a href="https://acrossface.com.br/mihail-zborovskij-otvetstvennyj-gembling-zalog-2/">Михаил Зборовский: ответственный гемблинг — залог успеха индустрии</a></blockquote><iframe sandbox="allow-scripts" security="restricted" src="https://acrossface.com.br/mihail-zborovskij-otvetstvennyj-gembling-zalog-2/embed/#?secret=ykLGSOYkQ8" width="600" height="338" title="“Михаил Зборовский: ответственный гемблинг — залог успеха индустрии” — Across Face" data-secret="ykLGSOYkQ8" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe><script type="text/javascript">
/* <![CDATA[ */
/*! This file is auto-generated */
!function(d,l){"use strict";l.querySelector&&d.addEventListener&&"undefined"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i<o.length;i++)o[i].style.display="none";for(i=0;i<a.length;i++)s=a[i],e.source===s.contentWindow&&(s.removeAttribute("style"),"height"===t.message?(1e3<(r=parseInt(t.value,10))?r=1e3:~~r<200&&(r=200),s.height=r):"link"===t.message&&(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&&n.host===r.host&&l.activeElement===s&&(d.top.location.href=t.value))}},d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,s=l.querySelectorAll("iframe.wp-embedded-content"),r=0;r<s.length;r++)(t=(e=s[r]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))}(window,document);
/* ]]> */
</script>
Centro de Estética Facial - Nós acreditamos que a beleza facial vem de hábitos que proporcionam saúde mental e física. Nosso objetivo é trazer uma estética segura e saudável para nossos clientes/pacientes!