{"id":639,"date":"2024-09-17T11:32:21","date_gmt":"2024-09-17T09:32:21","guid":{"rendered":"https:\/\/principal.immune.institute\/?page_id=639"},"modified":"2025-12-30T11:14:18","modified_gmt":"2025-12-30T10:14:18","slug":"newsletter-ux-ui","status":"publish","type":"page","link":"https:\/\/immune.institute\/en\/newsletter-ux-ui\/","title":{"rendered":"Suscr\u00edbete a la newsletter de UX\/UI"},"content":{"rendered":"\n<section class=\"wp-block-cover alignfull is-style-section-dark\"><img decoding=\"async\" width=\"1024\" height=\"576\" class=\"wp-block-cover__image-background wp-image-1157 size-large\" alt=\"\" src=\"https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-1024x576.webp\" data-object-fit=\"cover\" srcset=\"https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-1024x576.webp 1024w, https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-256x144.webp 256w, https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-512x288.webp 512w, https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-768x432.webp 768w, https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-1536x864.webp 1536w, https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-18x10.webp 18w, https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background.webp 1921w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-100 has-background-dim wp-block-cover__gradient-background has-background-gradient has-dark-gradient-background\"><\/span><div class=\"wp-block-cover__inner-container is-layout-constrained wp-block-cover-is-layout-constrained\">\n<div class=\"wp-block-group alignwide is-style-section-inner is-layout-grid wp-container-core-group-is-layout-d2bc887f wp-block-group-is-layout-grid is-style-section-inner--1\" style=\"border-style:none;border-width:0px\">\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-f67d6286 wp-block-group-is-layout-flex\"><h1 class=\"is-style-prose wp-block-post-title\">Suscr\u00edbete a la newsletter de UX\/UI<\/h1><\/div>\n\n\n\n<div id=\"suscripcion-newsletter\" class=\"wp-block-group glass is-style-card-light wp-container-content-5e2576f9 is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-b2e1d511 wp-block-group-is-layout-flex is-style-card-light--2\"><script>(function(){const UTM_KEYS=[\"utm_source\",\"utm_medium\",\"utm_campaign\",\"utm_term\",\"utm_content\"],SS_KEY=\"utm_params_session\",REGION=\"na1\",PORTALID=\"6604339\",FORMID=\"c99f75b7-186b-4c02-bea8-efd58eec53c7\";function readUtmFromURL(){const o={},t=new URLSearchParams(window.location.search);return t.forEach((t,r)=>{r.toLowerCase().startsWith(\"utm_\")&&(o[r]=t)}),o}function readSS(){try{return JSON.parse(sessionStorage.getItem(SS_KEY)||\"{}\")}catch{return{}}}function saveSS(o){try{sessionStorage.setItem(SS_KEY,JSON.stringify(o))}catch{}}function getEffectiveUtm(){const o=readUtmFromURL(),t=readSS(),r={...t,...o};Object.keys(o).length&&saveSS(r);const e={};return UTM_KEYS.forEach(o=>{r[o]&&(e[o]=String(r[o]))}),e}function toFormElement(o){if(o&&\"function\"==typeof o.querySelector)return o;if(o&&\"function\"==typeof o.get){const t=o.get(0);if(t?.querySelector)return t}return Array.isArray(o)&&o[0]?.querySelector?o[0]:o?.element?.querySelector?o.element:o?.el?.querySelector?o.el:document.querySelector(\"form.hs-form[data-form-id]\")||document.querySelector(\"form.hs-form\")||document.querySelector(\"form\")}function fillExistingUtmFields(o,t){o&&UTM_KEYS.forEach(r=>{const e=t[r];if(e){const t=o.querySelector(`[name=\"${r}\"]`);t&&t.value!==String(e)&&(t.value=e,t.dispatchEvent(new Event(\"input\",{bubbles:true})),t.dispatchEvent(new Event(\"change\",{bubbles:true})))}})}function ensureHubspotReady(o){if(window.hbspt?.forms?.create)return o();const t=setInterval(()=>{window.hbspt?.forms?.create&&(clearInterval(t),o())},50);setTimeout(()=>clearInterval(t),1e4)}function initForm(){hbspt.forms.create({region:REGION,portalId:PORTALID,formId:FORMID,onFormReady(o){const form=toFormElement(o);fillExistingUtmFields(form,getEffectiveUtm());if(form){const cartaInput=form.querySelector('[name=\"carta_de_motivacion\"]');const submitBtn=form.querySelector('input[type=\"submit\"]');if(cartaInput&&submitBtn){const checkLength=()=>{const textLength=cartaInput.value.trim().length;const fieldContainer=cartaInput.closest(\".hs-form-field\");if(textLength<10){submitBtn.disabled=true;submitBtn.style.cursor=\"not-allowed\";if(textLength>0&&fieldContainer){cartaInput.classList.add(\"invalid\",\"error\");let errorUl=fieldContainer.querySelector(\".hs-error-msgs\");if(!errorUl){errorUl=document.createElement(\"ul\");errorUl.className=\"no-list hs-error-msgs inputs-list custom-created\";errorUl.setAttribute(\"role\",\"alert\");const inputDiv=fieldContainer.querySelector(\".input\");if(inputDiv){inputDiv.parentNode.insertBefore(errorUl,inputDiv.nextSibling)}else{fieldContainer.appendChild(errorUl)}}let lengthErrorLi=errorUl.querySelector(\".custom-length-error\");if(!lengthErrorLi){lengthErrorLi=document.createElement(\"li\");lengthErrorLi.className=\"custom-length-error\";lengthErrorLi.innerHTML='<label class=\"hs-error-msg hs-main-font-element\">Debes escribir al menos 10 caracteres.<\/label>';errorUl.appendChild(lengthErrorLi)}}else{const lengthErrorLi=fieldContainer.querySelector(\".custom-length-error\");if(lengthErrorLi)lengthErrorLi.remove()}}else{submitBtn.disabled=false;submitBtn.style.cursor=\"pointer\";cartaInput.classList.remove(\"invalid\",\"error\");const lengthErrorLi=fieldContainer?.querySelector(\".custom-length-error\");if(lengthErrorLi)lengthErrorLi.remove();const errorUl=fieldContainer?.querySelector(\".hs-error-msgs.custom-created\");if(errorUl&&errorUl.children.length===0){errorUl.remove()}}};checkLength();cartaInput.addEventListener(\"input\",checkLength)}}},onFormSubmit(o){fillExistingUtmFields(toFormElement(o),getEffectiveUtm());try{sessionStorage.removeItem(SS_KEY)}catch{}}})}ensureHubspotReady(initForm)})();<\/script>\n<\/div>\n<\/div>\n<\/div><\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_crdt_document":"","footnotes":""},"class_list":["post-639","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/pages\/639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/comments?post=639"}],"version-history":[{"count":0,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/pages\/639\/revisions"}],"wp:attachment":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/media?parent=639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}