jQuery(document).ready(function(c){var o=c("#WelcomeModal"),n=c("#WelcomeModalBtn"),e=c("#WelcomeVideo"),t="https://www.youtube.com/embed/XZKJE1CcYxo",a=t+"?autoplay=1";n.on("click",function(){o.css("display","block"),e.attr("src",a)}),c("#welcome_new_form").on("click",function(){c.ajax({url:window.ajaxurl,method:"GET",data:{action:"calc_create_id",nonce:window.ccb_nonces.ccb_create_id},success:function(c){document.location=document.location.href+"&action=edit&id="+c.id}})}),c(window).on("click",function(n){c(n.target).is(o)&&(o.css("display","none"),e.attr("src",t))})});