!function(){"use strict";class t{constructor(){this.callbacks=[],window.addEventListener("DOMContentLoaded",(()=>this.onDOMContentLoaded()))}onDOMContentLoaded(){this.callbacks.sort(((t,e)=>t.priority-e.priority)).forEach((({callback:t})=>t()))}runOnLoad(t){"loading"===document.readyState?this.callbacks.push(t):t.callback()}}const e=async t=>{const o=t.classList.contains("animated"),r=()=>window.requestAnimationFrame((()=>t.style.animationPlayState="running"));o&&n(t)?(await a(t),r()):o?r():null!=t.firstElementChild&&e(t.firstElementChild)},n=t=>{const e=t.getElementsByTagName("img").length>0,n=t.getElementsByTagName("video").length>0;return o(t)||e||n},o=t=>{var e;return!!(null===(e=t.textContent)||void 0===e?void 0:e.trim().length)},a=async t=>{const e=[],n=t.getElementsByTagName("img");for(let t=0;ta.set(`${t.family}_${t.style}_${t.weight}`,t)));const l=t.getElementsByTagName("span");for(let t=0;tnew Promise(((e,n)=>{t.complete?e():(t.loading="eager",t.addEventListener("load",(()=>e())),t.addEventListener("error",(()=>n())))})),s=t=>new Promise(((e,n)=>{t.readyState>=2||t.poster?e():(t.addEventListener("loadeddata",(()=>e())),t.addEventListener("error",(()=>n())))})),i=(t,e)=>{const{fontFamily:n,fontStyle:o,fontWeight:a}=getComputedStyle(t),r=e.get(`${n}_${o}_${a}`);return(null==r?void 0:r.loaded)||document.fonts.ready};!function(e,n=Number.MAX_VALUE){var o;(window.canva_scriptExecutor=null!==(o=window.canva_scriptExecutor)&&void 0!==o?o:new t).runOnLoad({callback:e,priority:n})}((()=>{(()=>{const t=document.querySelectorAll(".animation_container");if(0===t.length)return;const n=new IntersectionObserver((t=>{t.forEach((t=>{if(!t.isIntersecting)return;const o=t.target;e(o),n.unobserve(o)}))}),{threshold:.01});t.forEach((t=>n.observe(t)))})()}))}();