/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@jankocian/flowsnip-better-animations@2.4.0/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";(()=>{var t="aos-page-delay",e=t=>{let e=n(t,Number.NaN);return Number.isFinite(e)?`${e}ms`:null},n=(t,e)=>{if(null===t)return e;let n=parseFloat(t);return Number.isFinite(n)&&n>=0?n:e};window.Webflow||(window.Webflow=[]);var o="360ms",i=document.currentScript;!function(){let t=document.createElement("style");t.innerHTML=`\n  @media (prefers-reduced-motion: no-preference) {\n    /* aos global styles — :not(.aos-done) lets us cleanly drop ALL animation\n       styles once done, so the element reverts to its author-defined baseline\n       (no transform/filter, so no stacking context; user's own transitions untouched). */\n    [aos]:not(.aos-done),\n    [aos-children] > *:not(.aos-done) {\n      transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n      transition-property: opacity, transform;\n      transition-duration: var(--duration, ${o});\n    }\n\n    /* aos animations */\n    /* fade-up - also default animation */\n    [aos=""]:not(.aos-done),\n    [aos="fade-up"]:not(.aos-done),\n    [aos-children=""] > *:not(.aos-done),\n    [aos-children="fade-up"] > *:not(.aos-done) {\n      opacity: 0;\n      transform: translateY(24px);\n    }\n\n    [aos=""].in-viewport:not(.aos-done),\n    [aos="fade-up"].in-viewport:not(.aos-done),\n    [aos-children=""] > *.in-viewport:not(.aos-done),\n    [aos-children="fade-up"] > *.in-viewport:not(.aos-done) {\n      opacity: 1;\n      transform: translateY(0);\n    }\n\n    /* fade-up-blur */\n    [aos="fade-up-blur"]:not(.aos-done),\n    [aos-children="fade-up-blur"] > *:not(.aos-done) {\n      transition-property: opacity, transform, filter;\n      opacity: 0;\n      transform: translateY(16px);\n      filter: blur(6px);\n    }\n\n    [aos="fade-up-blur"].in-viewport:not(.aos-done),\n    [aos-children="fade-up-blur"] > *.in-viewport:not(.aos-done) {\n      opacity: 1;\n      transform: translateY(0);\n      filter: blur(0);\n    }\n\n    /* fade-in */\n    [aos="fade-in"]:not(.aos-done),\n    [aos-children="fade-in"] > *:not(.aos-done) {\n      opacity: 0;\n    }\n\n    [aos="fade-in"].in-viewport:not(.aos-done),\n    [aos-children="fade-in"] > *.in-viewport:not(.aos-done) {\n      opacity: 1;\n    }\n  }\n`,document.head.appendChild(t)}();var r=class{constructor(){let o=document.documentElement.getAttribute("aos-threshold"),r=document.documentElement.getAttribute("aos-stagger"),s=o?parseFloat(o):0;this.globalStagger=e(r)??"60ms",this.bottomOffsetBoundary=this.getDocumentHeight()-.1*window.innerHeight,this.pageDelay=(e=>{let o=document.body?.getAttribute(t)??e?.getAttribute(t)??null;return n(o,0)})(i),this.observer=new IntersectionObserver(this.handleIntersect.bind(this),{root:null,rootMargin:"-10% 0% -10% 0%",threshold:s}),this.edgeObserver=new IntersectionObserver(this.handleIntersect.bind(this),{root:null,threshold:s}),this.initializeAnimations()}initializeAnimations(){let t=document.querySelectorAll("[aos], [aos-children] > *"),e=0;t.forEach((t=>{let n=t;if(this.isInitiallyVisible(n))return this.animateIn(n,e,this.pageDelay),void(e+=1);this.shouldIgnoreBottomOffset(n)?this.edgeObserver.observe(n):this.observer.observe(n)}))}handleIntersect(t){t.filter((t=>t.isIntersecting)).sort(((t,e)=>this.sortEntriesByViewportPosition(t,e))).forEach(((t,e)=>{this.animateIn(t.target,e)}))}isInitiallyVisible(t){let{top:e,bottom:n}=t.getBoundingClientRect();return e<window.innerHeight&&n>0}shouldIgnoreBottomOffset(t){let e=t.getBoundingClientRect(),n=e.bottom+window.scrollY;return e.height>0&&n>this.bottomOffsetBoundary}getDocumentHeight(){return Math.max(document.documentElement.scrollHeight,document.body?.scrollHeight??0)}sortEntriesByViewportPosition(t,e){let n=t.boundingClientRect.top-e.boundingClientRect.top;if(0!==n)return n;let o=t.target,i=e.target,r=o.compareDocumentPosition(i);return r&Node.DOCUMENT_POSITION_FOLLOWING?-1:r&Node.DOCUMENT_POSITION_PRECEDING?1:0}animateIn(t,n,i=0){let r=(t=>{if(null===t)return null;let e=t.trim();if(e.endsWith("ms")||e.endsWith("s"))return e;let n=parseFloat(e);return Number.isFinite(n)&&n>=0?`${n}ms`:null})(t.getAttribute("aos-duration")||t.closest("[aos-duration]")?.getAttribute("aos-duration")||null)??o;t.style.setProperty("--duration",r);let s=t.getAttribute("aos-stagger")||t.closest("[aos-stagger]")?.getAttribute("aos-stagger")||null,a=e(s)??this.globalStagger,l=`calc(${n} * ${a})`;(a||i>0)&&(t.style.transitionDelay=i>0?`calc(${i}ms + ${l})`:l);let d=e=>{e.target===t&&(t.style.transitionDelay="",t.style.removeProperty("--duration"),t.classList.add("aos-done"),t.removeEventListener("transitionend",d))};t.addEventListener("transitionend",d),t.classList.add("in-viewport"),this.observer.unobserve(t),this.edgeObserver.unobserve(t)}};window.Webflow.push((()=>{new r}))})();
//# sourceMappingURL=/sm/0445d4879c420b1eeb6ab6760d4c09d756806547105d5eafe77c1278a0964628.map