+
+ onclick="CourseNav.reload()"
+ >
Reintentar
@@ -174,7 +191,7 @@
diff --git a/contenido/18.html b/contenido/18.html
index 6a6e248..26fba2a 100644
--- a/contenido/18.html
+++ b/contenido/18.html
@@ -1,314 +1,317 @@
-
-
-
-
-
-
-
-
-
-
En caso de incidencia, el equipo lanzará alarmas.
+
+
+
En caso de incidencia, el equipo lanzará alarmas.
-
Es importante conocerlas para llevar a cabo los procedimientos correctos y resolver el
- problema.
-
-
-
COMENZAR ACTIVIDAD
-
-
-
-
-
-

-
+
Es importante conocerlas para llevar a cabo los procedimientos correctos y resolver el problema.
+
+
+
+

+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
Instrucciones: Seleccione una alarma.
- Lea detenidamente la pregunta que se mostrará y elija la respuesta
- que considere correcta. Su objetivo es apagar todas las alarmas.
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+

+
+ Instrucciones: Seleccione una alarma. Lea detenidamente la pregunta que se
+ mostrará y elija la respuesta que considere correcta. Su objetivo es apagar todas las alarmas.
+
+
+
+
+
+
+
"Estos son casos hipotéticos basados en las referencias bibliográficas."
+
+
+
+
-
-
-
-
-
-
-

-
-
-
-
-
Ha concluido la actividad.
-
-
-
+
+
Ha concluido la actividad.
+
+
+
+
diff --git a/js/config.js b/js/config.js
index 6898687..569441d 100644
--- a/js/config.js
+++ b/js/config.js
@@ -190,10 +190,6 @@ function scaleWrapCourseContent() {
scale = scaleY;
}
- // Limitar reducción excesiva
- const minScale = 0.8;
- scale = Math.max(minScale, scale);
-
content.style.transform = `scale(${scale})`;
content.style.transformOrigin = "top left";
content.style.width = baseWidth + "px";
diff --git a/js/config.min.js b/js/config.min.js
index 46444df..ebaef67 100644
--- a/js/config.min.js
+++ b/js/config.min.js
@@ -1 +1 @@
-function renderPagination(e,t){const n=document.getElementById("coursenav-page-number"),o=document.getElementById("coursenav-total-pages");if(!Array.isArray(t))return;manageMenuVisibility(e,t);const r=t[e];if(!r)return;const s=t.filter((e=>e.moduleTitle===r.moduleTitle)),l=s.findIndex((e=>e.content===r.content));n&&(n.textContent=l+1),o&&(o.textContent=" / "+s.length),updateNavButtons(l,s)}function updateNavButtons(e,t){const n=document.getElementById("coursenav-next-btn"),o=document.getElementById("coursenav-prev-btn");if(!n||!o)return;const r=e+1===t.length,s=0===e,l=CourseNav.isDebug();n.classList.toggle("disabled",r&&!l),o.classList.toggle("disabled",s&&!l)}function manageMenuVisibility(e,t){const n=document.querySelectorAll("#coursenav-main-menu > ul.course-menu");if(!n.length)return;if(n[0].style.display="block",!Array.isArray(t)||!t.length){for(let e=1;e
{const n=parseInt(e.dataset.coursenavindex);return n>=0&&t[n]?.moduleTitle===r}));n[e].style.display=o?"block":"none"}}function scrollToElementTop(e,t={}){const n=Object.assign({behavior:"smooth",block:"start",inline:"nearest"},t),o=document.querySelector(e);o&&o.scrollIntoView(n)}function animateOnScroll(e,t,n={}){const{threshold:o=.1,animateOnce:r=!0,prefix:s="animate__animated"}=n,l=new IntersectionObserver(((e,n)=>{e.forEach((e=>{e.isIntersecting?(e.target.classList.add(s,t),r&&n.unobserve(e.target)):r||e.target.classList.remove(s,t)}))}),{threshold:o});return document.querySelectorAll(e).forEach((e=>l.observe(e))),l}function scaleWrapCourseContent(){const e=document.querySelector(".wrap-course-content");if(!e)return;const t=window.innerWidth,n=window.innerHeight;let o=t<1500?1366:1920,r=t<1500?768:1080;const s=t/o;let l=s;r*s>n&&(l=n/r);l=Math.max(.8,l),e.style.transform=`scale(${l})`,e.style.transformOrigin="top left",e.style.width=o+"px",e.style.height=r+"px",e.style.position="absolute",e.style.left=(t-o*l)/2+"px",e.style.top=(n-r*l)/2+"px",e.style.overflow="hidden",e.style.zIndex="1"}function renderStepper(e,t,n,o=5){if("string"==typeof e&&(e=document.querySelector(e)),"string"==typeof n&&(n=document.querySelector(n)),!(e instanceof HTMLElement&&n instanceof HTMLElement))throw new Error("renderStepper: elementos inválidos.");e.querySelectorAll(".step").forEach((e=>e.remove()));const r=Array.from({length:o},((e,t)=>t/(o-1)*100)),s=r.map(((e,t)=>({p:e,i:t}))).filter((({p:e})=>e<=t)).pop().i;r.forEach(((t,n)=>{const o=document.createElement("div");o.classList.add("step"),n"Menús de la herramienta"===e.title&&e.moduleTitle===t.moduleTitle));-1!==n&&CourseNav.gotoSlide(n)}window.COURSE_CONFIG={COURSE_CONFIG_URL:"config.json",DEBUG:!0},document.addEventListener("DOMContentLoaded",(()=>{let e;scaleWrapCourseContent(),setTimeout(scaleWrapCourseContent,100),window.addEventListener("resize",(()=>{clearTimeout(e),e=setTimeout(scaleWrapCourseContent,50)})),window.addEventListener("orientationchange",(()=>{setTimeout(scaleWrapCourseContent,200)})),document.addEventListener("visibilitychange",(()=>{document.hidden||setTimeout(scaleWrapCourseContent,100)})),document.body.addEventListener("beforeSlideChange",(e=>{})),document.body.addEventListener("slideChange",(e=>{if(e.detail&&"number"==typeof e.detail.slideIndex&&Array.isArray(e.detail.contentArray)){renderPagination(e.detail.slideIndex,e.detail.contentArray);const t=e.detail.contentArray,n="Menús de la herramienta",o=CourseNav.getCurrentSlide(),r=t.findIndex((e=>e.title===n&&e.moduleTitle===o.moduleTitle)),s=document.getElementById("coursenav-other-btn");if(!s)return;-1!==r?s.classList.remove("disabled"):s.classList.add("disabled")}const t=document.getElementById("coursenav-course-title");if(t){const n=e.detail.contentArray[e.detail.slideIndex],o=n.moduleTitle?n.moduleTitle+" | ":"",r=n.title||"Sin título";t.textContent=o+r}const n=document.getElementById("stepper"),o=document.getElementById("step-movil");renderStepper(n,CourseNav.getProgressPercent(!0),o)})),document.body.addEventListener("slideCompleted",(e=>{const t=document.getElementById("stepper"),n=document.getElementById("step-movil");renderStepper(t,CourseNav.getProgressPercent(!0),n),renderPagination(e.detail.slideIndex,CourseNav.getCourseContentArray())}));const t=document.getElementById("coursenav-other-btn");t&&t.addEventListener("click",(()=>{gotoFirstMenuToolSlide()}))})),window.addEventListener("DOMContentLoaded",(()=>scaleWrapCourseContent())),window.addEventListener("resize",(()=>scaleWrapCourseContent()));
\ No newline at end of file
+function renderPagination(e,t){const n=document.getElementById("coursenav-page-number"),o=document.getElementById("coursenav-total-pages");if(!Array.isArray(t))return;manageMenuVisibility(e,t);const r=t[e];if(!r)return;const s=t.filter((e=>e.moduleTitle===r.moduleTitle)),l=s.findIndex((e=>e.content===r.content));n&&(n.textContent=l+1),o&&(o.textContent=" / "+s.length),updateNavButtons(l,s)}function updateNavButtons(e,t){const n=document.getElementById("coursenav-next-btn"),o=document.getElementById("coursenav-prev-btn");if(!n||!o)return;const r=e+1===t.length,s=0===e,l=CourseNav.isDebug();n.classList.toggle("disabled",r&&!l),o.classList.toggle("disabled",s&&!l)}function manageMenuVisibility(e,t){const n=document.querySelectorAll("#coursenav-main-menu > ul.course-menu");if(!n.length)return;if(n[0].style.display="block",!Array.isArray(t)||!t.length){for(let e=1;e{const n=parseInt(e.dataset.coursenavindex);return n>=0&&t[n]?.moduleTitle===r}));n[e].style.display=o?"block":"none"}}function scrollToElementTop(e,t={}){const n=Object.assign({behavior:"smooth",block:"start",inline:"nearest"},t),o=document.querySelector(e);o&&o.scrollIntoView(n)}function animateOnScroll(e,t,n={}){const{threshold:o=.1,animateOnce:r=!0,prefix:s="animate__animated"}=n,l=new IntersectionObserver(((e,n)=>{e.forEach((e=>{e.isIntersecting?(e.target.classList.add(s,t),r&&n.unobserve(e.target)):r||e.target.classList.remove(s,t)}))}),{threshold:o});return document.querySelectorAll(e).forEach((e=>l.observe(e))),l}function scaleWrapCourseContent(){const e=document.querySelector(".wrap-course-content");if(!e)return;const t=window.innerWidth,n=window.innerHeight;let o=t<1500?1366:1920,r=t<1500?768:1080;const s=t/o;let l=s;r*s>n&&(l=n/r),e.style.transform=`scale(${l})`,e.style.transformOrigin="top left",e.style.width=o+"px",e.style.height=r+"px",e.style.position="absolute",e.style.left=(t-o*l)/2+"px",e.style.top=(n-r*l)/2+"px",e.style.overflow="hidden",e.style.zIndex="1"}function renderStepper(e,t,n,o=5){if("string"==typeof e&&(e=document.querySelector(e)),"string"==typeof n&&(n=document.querySelector(n)),!(e instanceof HTMLElement&&n instanceof HTMLElement))throw new Error("renderStepper: elementos inválidos.");e.querySelectorAll(".step").forEach((e=>e.remove()));const r=Array.from({length:o},((e,t)=>t/(o-1)*100)),s=r.map(((e,t)=>({p:e,i:t}))).filter((({p:e})=>e<=t)).pop().i;r.forEach(((t,n)=>{const o=document.createElement("div");o.classList.add("step"),n"Menús de la herramienta"===e.title&&e.moduleTitle===t.moduleTitle));-1!==n&&CourseNav.gotoSlide(n)}window.COURSE_CONFIG={COURSE_CONFIG_URL:"config.json",DEBUG:!0},document.addEventListener("DOMContentLoaded",(()=>{let e;scaleWrapCourseContent(),setTimeout(scaleWrapCourseContent,100),window.addEventListener("resize",(()=>{clearTimeout(e),e=setTimeout(scaleWrapCourseContent,50)})),window.addEventListener("orientationchange",(()=>{setTimeout(scaleWrapCourseContent,200)})),document.addEventListener("visibilitychange",(()=>{document.hidden||setTimeout(scaleWrapCourseContent,100)})),document.body.addEventListener("beforeSlideChange",(e=>{})),document.body.addEventListener("slideChange",(e=>{if(e.detail&&"number"==typeof e.detail.slideIndex&&Array.isArray(e.detail.contentArray)){renderPagination(e.detail.slideIndex,e.detail.contentArray);const t=e.detail.contentArray,n="Menús de la herramienta",o=CourseNav.getCurrentSlide(),r=t.findIndex((e=>e.title===n&&e.moduleTitle===o.moduleTitle)),s=document.getElementById("coursenav-other-btn");if(!s)return;-1!==r?s.classList.remove("disabled"):s.classList.add("disabled")}const t=document.getElementById("coursenav-course-title");if(t){const n=e.detail.contentArray[e.detail.slideIndex],o=n.moduleTitle?n.moduleTitle+" | ":"",r=n.title||"Sin título";t.textContent=o+r}const n=document.getElementById("stepper"),o=document.getElementById("step-movil");renderStepper(n,CourseNav.getProgressPercent(!0),o)})),document.body.addEventListener("slideCompleted",(e=>{const t=document.getElementById("stepper"),n=document.getElementById("step-movil");renderStepper(t,CourseNav.getProgressPercent(!0),n),renderPagination(e.detail.slideIndex,CourseNav.getCourseContentArray())}));const t=document.getElementById("coursenav-other-btn");t&&t.addEventListener("click",(()=>{gotoFirstMenuToolSlide()}))})),window.addEventListener("DOMContentLoaded",(()=>scaleWrapCourseContent())),window.addEventListener("resize",(()=>scaleWrapCourseContent()));
\ No newline at end of file