function notificacionDeleteDesign(){notificacion({textoCuerpo:"Do you want to delete this design?",textoBtn1:"Delete",textoBtn2:"Cancel",accionesBtn1:'deleteButton(id_json_to_delete,"json_efectos_user");cerrarNotificacion("recargar-plantillas");',accionesBtn2:'cerrarNotificacion("recargar-plantillas");',identificador:'recargar-plantillas',accionesBtnCerrar:'cerrarNotificacion("recargar-plantillas")',difuminarFondo:true});}function notificacionCancelInvitation(){notificacion({textoCuerpo:"Are you sure you want to cancel the invitation to join the team? You will need to be invited again to regain access.",textoBtn2:"Cancel invitation",textoBtn1:"Keep invitation",accionesBtn2:'teams_cancel_invitation("confirm")',accionesBtn1:'cerrarFoggy();cerrarNotificacion("notificacionCancelInvitation");document.getElementById("teams_promo_popup").style.display="none";',identificador:'notificacionCancelInvitation',accionesBtnCerrar:'cerrarFoggy();cerrarNotificacion("notificacionCancelInvitation");document.getElementById("teams_promo_popup").style.display="none";',difuminarFondo:true});}function notificacionbajaCuenta(){notificacion({textoCuerpo:"Are you sure you want to stop being a PRO user?",textoBtn1:"Yes",textoBtn2:"Cancel",accionesBtn1:'grabar_accion("acciones_editor","cancel_suscription_YES");myaccountActivate("baja_cuenta_total");cerrarNotificacion("baja-cuenta");',accionesBtn2:'grabar_accion("acciones_editor","cancel_suscription_NO");myaccountActivateClose();cerrarNotificacion("baja-cuenta");',identificador:'baja-cuenta',accionesBtnCerrar:'myaccountActivateClose();cerrarNotificacion("baja-cuenta")',difuminarFondo:true});}var editorState={esOverlay:0,anterior:'',anterior1:'',numeroEjemplo:1,inputAddRutaImg:'',efectoOverlay:'',anchoImgBg:'',altoImgBg:'',inputFuente:'arial',inputNegrita:'',inputCoursiva:'',inputTextAlign:'left',valorFontFamily:'OpenSans-Regular',paginacion:'',tamanyoTexto_backup:50,infoClipTo_backup:0,ancho_canvas:0,alto_canvas:0,categoriaTemplate_backup:'',numero_imagen_subida:0,changeImageid:'',changeImageUrl:'',numero_recorte:0,json_save:'',item_copypaste:'',sinId:'',conId:'',mergeTodas:'',id_seleccionado:0,gradient1:'#fff',gradient2:'#000',usuarioPlantilla:'',colorFondoTextoValue:'#FFF',infoSizeTextoShadow:1,SeleccionandoColor:0,dibujarLineaFlecha:0,dibujarSHAPES:0,colorTextoStroke2:'#FFF',colorTextoShadow1:'#FFF',sizeTextoShadow1:'#000000',colorGeneral:'#000000',efecto:'',formulario:'formulario',filtro1_1:''};function getEditorValue(key){return editorState[key];}function setEditorValue(key,val){editorState[key]=val;}var editorStateKeys=Object.keys(editorState);editorStateKeys.forEach(function(key){var fakeElement={get value(){return editorState[key];},set value(v){editorState[key]=v;}};Object.defineProperty(document,'getElementById_'+key,{value:function(){return fakeElement;}});});var originalGetElementById=document.getElementById.bind(document);document.getElementById=function(id){if(editorState.hasOwnProperty(id)){return{get value(){return editorState[id];},set value(v){editorState[id]=v;}};}return originalGetElementById(id);};