diff --git a/404.html b/404.html index 2cea7565..819c77ad 100644 --- a/404.html +++ b/404.html @@ -31,5 +31,5 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - + Skip to content

404

Page not found. Check the URL or try using the search bar.
\ No newline at end of file diff --git a/_astro/AnimateColor.DbVgZgDi.js b/_astro/AnimateColor.BJyJ0VYD.js similarity index 72% rename from _astro/AnimateColor.DbVgZgDi.js rename to _astro/AnimateColor.BJyJ0VYD.js index 4ea11787..cca94fce 100644 --- a/_astro/AnimateColor.DbVgZgDi.js +++ b/_astro/AnimateColor.BJyJ0VYD.js @@ -1 +1 @@ -import{u as l,j as t}from"./useAnimare.K1gqI4ev.js";import{a as u}from"./animare.tXT0eSNG.js";import{e as c}from"./index.ChPNCYSA.js";import{l as p}from"./lerp.DE18kSxJ.js";import{v as f}from"./vecToColor.CRC-QD4Q.js";import{r as d}from"./index.DhYZZe0J.js";import{E as x}from"./ExampleFrame.7VIRbcSD.js";import"./ExampleFrame_module.a49b6180.D0zKF7Sg.js";function R(){const r=d.useRef(null),a=l(()=>{const o=document.querySelector(".animate-color-element"),n=[255,0,0],i=[0,255,0];return u.single({from:0,to:1,duration:1e3,ease:c.linear,autoPlay:!1},e=>{if(!o)return;const s=p(n,i,e.value),m=f(s);o.style.backgroundColor=m,r.current&&(r.current.value=e.progress.toString())})});return t.jsx(x,{title:"Animate Color",slider:r,timeline:a,children:t.jsx("div",{className:"animate-color-element",style:{backgroundColor:"red",width:"100px",height:"100px",borderRadius:"50%",margin:"30px auto"}})})}export{R as default}; +import{u as l,j as t}from"./useAnimare.K1gqI4ev.js";import{a as u}from"./animare.BjVW0jvP.js";import{e as c}from"./index.ChPNCYSA.js";import{l as p}from"./lerp.DBCyf5sS.js";import{v as f}from"./vecToColor.M1b1zeYo.js";import{r as d}from"./index.DhYZZe0J.js";import{E as x}from"./ExampleFrame.DpkuIO5o.js";import"./ExampleFrame_module.a49b6180.D0zKF7Sg.js";function R(){const r=d.useRef(null),a=l(()=>{const o=document.querySelector(".animate-color-element"),n=[255,0,0],i=[0,255,0];return u.single({from:0,to:1,duration:1e3,ease:c.linear,autoPlay:!1},e=>{if(!o)return;const s=p(n,i,e.value),m=f(s);o.style.backgroundColor=m,r.current&&(r.current.value=e.progress.toString())})});return t.jsx(x,{title:"Animate Color",slider:r,timeline:a,children:t.jsx("div",{className:"animate-color-element",style:{backgroundColor:"red",width:"100px",height:"100px",borderRadius:"50%",margin:"30px auto"}})})}export{R as default}; diff --git a/_astro/DirectionsExample.DYwRkGIm.js b/_astro/DirectionsExample.BVWIg_b3.js similarity index 90% rename from _astro/DirectionsExample.DYwRkGIm.js rename to _astro/DirectionsExample.BVWIg_b3.js index 93580c91..b391dcab 100644 --- a/_astro/DirectionsExample.DYwRkGIm.js +++ b/_astro/DirectionsExample.BVWIg_b3.js @@ -1 +1 @@ -import{u as m,j as e}from"./useAnimare.K1gqI4ev.js";import{a as x,D as t}from"./animare.tXT0eSNG.js";import{r as c}from"./index.DhYZZe0J.js";import{E as f}from"./ExampleFrame.7VIRbcSD.js";import"./ExampleFrame_module.a49b6180.D0zKF7Sg.js";function A(){const a=c.useRef(null),l=c.useRef(null),p=m(()=>{const s=a.current.querySelectorAll("span");return x.group({to:Array(s.length).fill(100),duration:1500,direction:[t.Forward,t.Reverse,t.Alternate,t.AlternateReverse],autoPlay:!1},(d,u)=>{l.current&&(l.current.value=u.progress.toString());for(let r=0;r{const s=a.current.querySelectorAll("span");return x.group({to:Array(s.length).fill(100),duration:1500,direction:[t.Forward,t.Reverse,t.Alternate,t.AlternateReverse],autoPlay:!1},(d,u)=>{l.current&&(l.current.value=u.progress.toString());for(let r=0;rm!=="").map(m=>{const a=parseFloat(m);return isNaN(a)?m:a});return f[e](...t)}const x=l[1],c=l[2],s=i.match(o);if(!s)return f[x][c];const d=s[0].substring(1,s[0].length-1).split(",").filter(e=>e!=="").map(e=>{const n=parseFloat(e);return isNaN(n)?e:n});return f[x][c](...d)}function U({title:i="Linear",padding:o=10,duration:l=2e3,easing:x}){const c=T.useRef(null),s=o/2+1,d=k(()=>{const e=A([{name:"x",from:h+s,to:r-h-s},{name:"y",from:r-h-s,to:h+s,ease:S(x)},{name:"empty",to:0,duration:1e3,timing:P.AfterPrevious}]),n={autoPlay:!1,timelinePlayCount:-1,duration:l,timing:P.FromStart},t=c.current?.getContext("2d"),m=2*Math.PI,a=[],b=(g,j)=>{if(t){j.progress===0&&(a.length=0),t.clearRect(0,0,r,r),a.push({x:g.x.value,y:g.y.value});for(let y=0;ym!=="").map(m=>{const a=parseFloat(m);return isNaN(a)?m:a});return f[e](...t)}const x=l[1],c=l[2],s=i.match(o);if(!s)return f[x][c];const d=s[0].substring(1,s[0].length-1).split(",").filter(e=>e!=="").map(e=>{const n=parseFloat(e);return isNaN(n)?e:n});return f[x][c](...d)}function U({title:i="Linear",padding:o=10,duration:l=2e3,easing:x}){const c=T.useRef(null),s=o/2+1,d=k(()=>{const e=A([{name:"x",from:h+s,to:r-h-s},{name:"y",from:r-h-s,to:h+s,ease:S(x)},{name:"empty",to:0,duration:1e3,timing:P.AfterPrevious}]),n={autoPlay:!1,timelinePlayCount:-1,duration:l,timing:P.FromStart},t=c.current?.getContext("2d"),m=2*Math.PI,a=[],b=(g,j)=>{if(t){j.progress===0&&(a.length=0),t.clearRect(0,0,r,r),a.push({x:g.x.value,y:g.y.value});for(let y=0;y{e.timeline&&(e.timeline.on(a.Play,()=>{l(!1)}),e.timeline.on(a.Resume,()=>{l(!1)}),e.timeline.on(a.Pause,()=>{l(!0)}),e.timeline.on(a.Complete,()=>{l(!0)}))},[e.timeline]);const l=n=>{if(i.current){if(n){i.current.style.d='path("M20,20 L80,50 L20,80 L20,80 Z M65,20 L80,20 L80,20 L65,20 Z")';return}i.current.style.d='path("M20,20 L35,20 L35,80 L20,80 Z M65,20 L80,20 L80,80 L65,80 Z")'}};function c(){if(e.timeline.timelineInfo.isPlaying){e.timeline.pause();return}const n=r.current?.value??"0",s=e.timeline.timelineInfo.isFinished?0:e.timeline.timelineInfo.duration*parseFloat(n);e.timeline.play(s)}function o(n){const s=n.target,f=parseFloat(s.value);e.timeline.seek(e.timeline.timelineInfo.duration*f),e.timeline.timelineInfo.isPlaying||e.timeline.playOneFrame()}return t.jsxs("div",{className:u.wrapper,children:[t.jsx("span",{children:e.title}),e.children,t.jsxs("div",{className:u.controlsContainer,children:[t.jsx("button",{onClick:c,children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 100 100",width:"24px",children:t.jsx("path",{ref:i,d:"M20,20 L80,50 L20,80 L20,80 Z M65,20 L80,20 L80,20 L65,20 Z"})})}),t.jsx("input",{ref:r,className:u.slider,onChange:o,type:"range",min:"0",max:"1",defaultValue:"0",step:.001})]})]})}export{g as E}; +import{j as t}from"./useAnimare.K1gqI4ev.js";import{r as m}from"./index.DhYZZe0J.js";import{s as u}from"./ExampleFrame_module.a49b6180.D0zKF7Sg.js";import{E as a}from"./animare.BjVW0jvP.js";function g(e){const i=m.useRef(null),r=m.useRef(null);e.slider.current=r.current,m.useEffect(()=>{e.timeline&&(e.timeline.on(a.Play,()=>{l(!1)}),e.timeline.on(a.Resume,()=>{l(!1)}),e.timeline.on(a.Pause,()=>{l(!0)}),e.timeline.on(a.Complete,()=>{l(!0)}))},[e.timeline]);const l=n=>{if(i.current){if(n){i.current.style.d='path("M20,20 L80,50 L20,80 L20,80 Z M65,20 L80,20 L80,20 L65,20 Z")';return}i.current.style.d='path("M20,20 L35,20 L35,80 L20,80 Z M65,20 L80,20 L80,80 L65,80 Z")'}};function c(){if(e.timeline.timelineInfo.isPlaying){e.timeline.pause();return}const n=r.current?.value??"0",s=e.timeline.timelineInfo.isFinished?0:e.timeline.timelineInfo.duration*parseFloat(n);e.timeline.play(s)}function o(n){const s=n.target,f=parseFloat(s.value);e.timeline.seek(e.timeline.timelineInfo.duration*f),e.timeline.timelineInfo.isPlaying||e.timeline.playOneFrame()}return t.jsxs("div",{className:u.wrapper,children:[t.jsx("span",{children:e.title}),e.children,t.jsxs("div",{className:u.controlsContainer,children:[t.jsx("button",{onClick:c,children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 100 100",width:"24px",children:t.jsx("path",{ref:i,d:"M20,20 L80,50 L20,80 L20,80 Z M65,20 L80,20 L80,20 L65,20 Z"})})}),t.jsx("input",{ref:r,className:u.slider,onChange:o,type:"range",min:"0",max:"1",defaultValue:"0",step:.001})]})]})}export{g as E}; diff --git a/_astro/Hero.astro_astro_type_script_index_0_lang.O84fgebU.js b/_astro/Hero.astro_astro_type_script_index_0_lang.DxRX60Jo.js similarity index 90% rename from _astro/Hero.astro_astro_type_script_index_0_lang.O84fgebU.js rename to _astro/Hero.astro_astro_type_script_index_0_lang.DxRX60Jo.js index a112c2c1..0eff1752 100644 --- a/_astro/Hero.astro_astro_type_script_index_0_lang.O84fgebU.js +++ b/_astro/Hero.astro_astro_type_script_index_0_lang.DxRX60Jo.js @@ -1 +1 @@ -import{T as F}from"./router.DrYAXS1K.js";import{a as I}from"./animare.tXT0eSNG.js";import{e as i}from"./index.ChPNCYSA.js";import{l as a}from"./lerp.DE18kSxJ.js";import{v as d}from"./vecToColor.CRC-QD4Q.js";const c=document.querySelectorAll(".letter"),g=document.querySelector(".title"),m=document.querySelector(".animare-slider"),h=document.querySelector(".play-pause"),f=h.querySelector(".play-svg path");document.addEventListener(F,e=>{e.to.pathname==="/animare/"&&(e.navigationType==="traverse"?location.reload():e.preventDefault())});const y=e=>{if(e){f.style.d='path("M20,20 L80,50 L20,80 L20,80 Z M65,20 L80,20 L80,20 L65,20 Z")';return}f.style.d='path("M20,20 L35,20 L35,80 L20,80 Z M65,20 L80,20 L80,80 L65,80 Z")'},S=e=>(e<=.5?e:1-e)*2,p={white:[255,255,255],orange:[244,96,54]},w={to:Array(c.length+1).fill(1),offset:e=>e===0?0:e===c.length?-200:-800,duration:1e3,autoPlay:!1},x=(e,r)=>{r.isFirstFrame&&y(!1),m.value=`${r.progress}`;for(let t=0;t=e.length/2?-400:400,0,i.in.wobble(2)(o)),L=a(t>=e.length/2?200:-200,0,i.out.elastic(o)),b=a(400,0,i.out.back()(o)),$=a(t%2===0?90:-90,0,i.in.wobble(6)(o)),P=a(0,1.2,i.in.wobble(4)(o));l.style.scale=`${P}`,l.style.translate=`${v}px ${L}px ${b}px`,l.style.rotate=`${$}deg`,l.style.opacity=`${o}`,l.style.filter=`blur(${a(4,0,o)}px)`,l.style.color=d(a(p.orange,p.white,o))}const s=e[e.length-1],u=s.value;if(g&&(g.style.letterSpacing=`${a(15,0,i.spring({damping:7,duration:1400})(u))}px`),s.isPlaying||s.isFinished)for(let t=0;tn.play(),500); +import{T as F}from"./router.DrYAXS1K.js";import{a as I}from"./animare.BjVW0jvP.js";import{e as i}from"./index.ChPNCYSA.js";import{l as a}from"./lerp.DBCyf5sS.js";import{v as d}from"./vecToColor.M1b1zeYo.js";const c=document.querySelectorAll(".letter"),g=document.querySelector(".title"),m=document.querySelector(".animare-slider"),h=document.querySelector(".play-pause"),f=h.querySelector(".play-svg path");document.addEventListener(F,e=>{e.to.pathname==="/animare/"&&(e.navigationType==="traverse"?location.reload():e.preventDefault())});const y=e=>{if(e){f.style.d='path("M20,20 L80,50 L20,80 L20,80 Z M65,20 L80,20 L80,20 L65,20 Z")';return}f.style.d='path("M20,20 L35,20 L35,80 L20,80 Z M65,20 L80,20 L80,80 L65,80 Z")'},S=e=>(e<=.5?e:1-e)*2,p={white:[255,255,255],orange:[244,96,54]},w={to:Array(c.length+1).fill(1),offset:e=>e===0?0:e===c.length?-200:-800,duration:1e3,autoPlay:!1},x=(e,r)=>{r.isFirstFrame&&y(!1),m.value=`${r.progress}`;for(let t=0;t=e.length/2?-400:400,0,i.in.wobble(2)(o)),L=a(t>=e.length/2?200:-200,0,i.out.elastic(o)),b=a(400,0,i.out.back()(o)),$=a(t%2===0?90:-90,0,i.in.wobble(6)(o)),P=a(0,1.2,i.in.wobble(4)(o));l.style.scale=`${P}`,l.style.translate=`${v}px ${L}px ${b}px`,l.style.rotate=`${$}deg`,l.style.opacity=`${o}`,l.style.filter=`blur(${a(4,0,o)}px)`,l.style.color=d(a(p.orange,p.white,o))}const s=e[e.length-1],u=s.value;if(g&&(g.style.letterSpacing=`${a(15,0,i.spring({damping:7,duration:1400})(u))}px`),s.isPlaying||s.isFinished)for(let t=0;tn.play(),500); diff --git a/_astro/ReuseValues.D5Gfsmtj.js b/_astro/ReuseValues.D-y4uGO7.js similarity index 84% rename from _astro/ReuseValues.D5Gfsmtj.js rename to _astro/ReuseValues.D-y4uGO7.js index adb9d840..77a50392 100644 --- a/_astro/ReuseValues.D5Gfsmtj.js +++ b/_astro/ReuseValues.D-y4uGO7.js @@ -1 +1 @@ -import{u as d,j as l}from"./useAnimare.K1gqI4ev.js";import{a as x}from"./animare.tXT0eSNG.js";import{e as u}from"./index.ChPNCYSA.js";import{l as i}from"./lerp.DE18kSxJ.js";import{r as g}from"./index.DhYZZe0J.js";import{E as h}from"./ExampleFrame.7VIRbcSD.js";import"./ExampleFrame_module.a49b6180.D0zKF7Sg.js";function $(){const a=g.useRef(null),c=d(()=>{const e=document.querySelectorAll(".reuse-values-letter"),o={to:Array(e.length).fill(1),offset:n=>n===0?0:-300,duration:500,autoPlay:!1};return x.group(o,(n,m)=>{a.current&&(a.current.value=m.progress.toString());for(let t=0;tl.jsx("span",{style:{display:"inline-block"},className:"reuse-values-letter",children:e},e+o))})})})}export{$ as default}; +import{u as d,j as l}from"./useAnimare.K1gqI4ev.js";import{a as x}from"./animare.BjVW0jvP.js";import{e as u}from"./index.ChPNCYSA.js";import{l as i}from"./lerp.DBCyf5sS.js";import{r as g}from"./index.DhYZZe0J.js";import{E as h}from"./ExampleFrame.DpkuIO5o.js";import"./ExampleFrame_module.a49b6180.D0zKF7Sg.js";function $(){const a=g.useRef(null),c=d(()=>{const e=document.querySelectorAll(".reuse-values-letter"),o={to:Array(e.length).fill(1),offset:n=>n===0?0:-300,duration:500,autoPlay:!1};return x.group(o,(n,m)=>{a.current&&(a.current.value=m.progress.toString());for(let t=0;tl.jsx("span",{style:{display:"inline-block"},className:"reuse-values-letter",children:e},e+o))})})})}export{$ as default}; diff --git a/_astro/ScrollAnimation.yjD-_gj8.js b/_astro/ScrollAnimation.yjD-_gj8.js new file mode 100644 index 00000000..9944a649 --- /dev/null +++ b/_astro/ScrollAnimation.yjD-_gj8.js @@ -0,0 +1 @@ +import{u as P,j as s}from"./useAnimare.K1gqI4ev.js";import{S as i,b as g,n as j,a as A}from"./animare.BjVW0jvP.js";import{l as m}from"./lerp.DBCyf5sS.js";import{v as H}from"./vecToColor.M1b1zeYo.js";import{r as c}from"./index.DhYZZe0J.js";import{E as R}from"./ExampleFrame.DpkuIO5o.js";import"./ExampleFrame_module.a49b6180.D0zKF7Sg.js";function w(e){const t=e.root??document,r=()=>B(e);return t.addEventListener("scroll",r,{passive:!0}),()=>t.removeEventListener("scroll",r)}function B(e){let{timeline:t,element:r,root:n=document.documentElement,axis:o=g.Vertical,start:x=i.Top,end:v=i.Bottom,startOffset:S=0,endOffset:E=0}=e;const p=o===g.Vertical,a=p?n.clientHeight:n.clientWidth,u=p?n.scrollTop:n.scrollLeft,f=h(r,n,x)+S,d=h(r,n,v)+E,y=f<=u+a,T=d1&&arguments[1]!==void 0?arguments[1]:[];c.useEffect(()=>w(e),[e.timeline,...t])}function G(){const e=c.useRef(null),t=c.useRef(null),r=c.useRef(null),n=P(()=>A.single({to:1,autoPlay:!1},o=>{e.current&&(e.current.value=o.progress.toString()),!(!t.current||!r.current)&&(t.current.style.translate=`0px ${o.value*(r.current.clientHeight/2+t.current.clientHeight/2)}px`,t.current.style.letterSpacing=m(40,0,o.value)+"px",t.current.style.scale=m(.5,1,o.value).toString(),t.current.style.color=H(m([255,255,255],[244,96,54],o.value)))}),[t.current,r.current]);return O({timeline:n,root:r.current,element:t.current,start:i.Bottom,startOffset:r.current?.clientHeight/2-t.current?.clientHeight/2}),s.jsx(R,{title:"Scroll Animation",slider:e,timeline:n,children:s.jsxs("div",{ref:r,className:"animate-color-element",style:{margin:"auto",height:200,overflow:"hidden auto"},children:[s.jsx("div",{style:{height:500}}),s.jsx("h1",{ref:t,style:{textAlign:"center",margin:0,color:"var(--secondary)",whiteSpace:"nowrap"},children:"animare"}),s.jsx("div",{style:{height:500}})]})})}export{G as default}; diff --git a/_astro/TimingExample.BM4_Jy2V.js b/_astro/TimingExample.C4G-KpKy.js similarity index 90% rename from _astro/TimingExample.BM4_Jy2V.js rename to _astro/TimingExample.C4G-KpKy.js index 4d20cccb..dadc5665 100644 --- a/_astro/TimingExample.BM4_Jy2V.js +++ b/_astro/TimingExample.C4G-KpKy.js @@ -1 +1 @@ -import{u as f,j as e}from"./useAnimare.K1gqI4ev.js";import{a as d,T as r}from"./animare.tXT0eSNG.js";import{r as u}from"./index.DhYZZe0J.js";import{E as x}from"./ExampleFrame.7VIRbcSD.js";import"./ExampleFrame_module.a49b6180.D0zKF7Sg.js";function S(){const i=u.useRef(null),s=u.useRef(null),c=f(()=>{const o=i.current.querySelectorAll("span");return d.group({to:Array(o.length).fill(100),duration:1e3,timing:[r.FromStart,r.AfterPrevious,r.AfterPrevious,r.WithPrevious,r.FromStart],autoPlay:!1},(m,p)=>{s.current&&(s.current.value=p.progress.toString());for(let n=0;n{const o=i.current.querySelectorAll("span");return d.group({to:Array(o.length).fill(100),duration:1e3,timing:[r.FromStart,r.AfterPrevious,r.AfterPrevious,r.WithPrevious,r.FromStart],autoPlay:!1},(m,p)=>{s.current&&(s.current.value=p.progress.toString());for(let n=0;n{const t=r.current.querySelector("span");return p.single({to:100,duration:1e3,direction:d.Alternate,autoPlay:!1,playCount:-1},n=>{if(a.current&&(a.current.value=n.progress.toString()),!t)return;const s=n.value;t.style.marginLeft=`${s}%`,t.style.translate=`-${s}%`})},[r]);m(i,r.current,{forcePlay:!1});const u=t=>{const o=t.target,n=parseFloat(o.value);i.updateValues({duration:n})};return e.jsx(f,{title:"Update Values",slider:a,timeline:i,children:e.jsxs("div",{ref:r,style:{paddingInline:10},children:[e.jsx("span",{style:x}),e.jsxs("div",{style:{display:"flex",justifyContent:"center",gap:10,width:"100%"},children:[e.jsx("p",{children:"Duration"}),e.jsx("input",{style:{flex:1,maxWidth:460,accentColor:"var(--secondary)"},onPointerUp:u,type:"range",min:50,max:5e3,defaultValue:1e3})]})]})})}const x={display:"block",width:100,height:100,backgroundColor:"var(--secondary)",color:"#fff",textAlign:"center",fontSize:"0.8rem",fontWeight:"bold",paddingInline:"0.5rem",borderRadius:"50%",margin:"10px 10px 10px 0%",whiteSpace:"nowrap"};export{S as default}; diff --git a/_astro/UpdateValues.IEVHaous.js b/_astro/UpdateValues.IEVHaous.js deleted file mode 100644 index fab26b42..00000000 --- a/_astro/UpdateValues.IEVHaous.js +++ /dev/null @@ -1 +0,0 @@ -import{u as c,j as e}from"./useAnimare.K1gqI4ev.js";import{a as p,D as d}from"./animare.tXT0eSNG.js";import{r as l}from"./index.DhYZZe0J.js";import{u as m}from"./useAutoPause.G7-vOaP1.js";import{E as f}from"./ExampleFrame.7VIRbcSD.js";import"./ExampleFrame_module.a49b6180.D0zKF7Sg.js";function S(){const r=l.useRef(null),a=l.useRef(null),i=c(()=>{const t=r.current.querySelector("span");return p.single({to:100,duration:1e3,direction:d.Alternate,autoPlay:!1,playCount:-1},n=>{if(a.current&&(a.current.value=n.progress.toString()),!t)return;const s=n.value;t.style.marginLeft=`${s}%`,t.style.translate=`-${s}%`})},[r]);m(i,r.current);const u=t=>{const o=t.target,n=parseFloat(o.value);i.updateValues({duration:n})};return e.jsx(f,{title:"Update Values",slider:a,timeline:i,children:e.jsxs("div",{ref:r,style:{paddingInline:10},children:[e.jsx("span",{style:x}),e.jsxs("div",{style:{display:"flex",justifyContent:"center",gap:10,width:"100%"},children:[e.jsx("p",{children:"Duration"}),e.jsx("input",{style:{flex:1,maxWidth:460,accentColor:"var(--secondary)"},onPointerUp:u,type:"range",min:50,max:5e3,defaultValue:1e3})]})]})})}const x={display:"block",width:100,height:100,backgroundColor:"var(--secondary)",color:"#fff",textAlign:"center",fontSize:"0.8rem",fontWeight:"bold",paddingInline:"0.5rem",borderRadius:"50%",margin:"10px 10px 10px 0%",whiteSpace:"nowrap"};export{S as default}; diff --git a/_astro/animare.BjVW0jvP.js b/_astro/animare.BjVW0jvP.js new file mode 100644 index 00000000..1570f5da --- /dev/null +++ b/_astro/animare.BjVW0jvP.js @@ -0,0 +1 @@ +let P=function(t){return t.Forward="forward",t.Reverse="reverse",t.Alternate="alternate",t.AlternateReverse="alternate-reverse",t}({}),g=function(t){return t.AfterPrevious="after-previous",t.WithPrevious="with-previous",t.FromStart="from-start",t}({}),p=function(t){return t.Play="play",t.Resume="resume",t.Pause="pause",t.Stop="stop",t.Complete="complete",t.Repeat="repeat",t}({}),K=function(t){return t.Vertical="y",t.Horizontal="x",t}({}),Q=function(t){return t.Top="top",t.Bottom="bottom",t.Left="left",t.Right="right",t}({});function Y(t){return t}class L{#e=Object.assign({});#n=null;#l=null;#t=null;#i=null;#r=null;#a=null;#o(n,i){return this.#e[n]?this.#e[n].delete(i):!1}on(n,i){return this.#e[n]||(this.#e[n]=new Set),this.#e[n].add(i),()=>this.#o(n,i)}once(n,i){const r=this.on(n,()=>{i(),r()});return()=>this.#o(n,i)}emit(n){if(this.#e[n]){if(this.#e[n].forEach(i=>i()),n===p.Play){this.#n?.(),this.#n=null;return}if(n===p.Resume){this.#l?.(),this.#l=null;return}if(n===p.Pause){this.#t?.(),this.#t=null;return}if(n===p.Complete){this.#r?.(),this.#r=null;return}if(n===p.Repeat){this.#a?.(),this.#a=null;return}n===p.Stop&&(this.#i?.(),this.#i=null)}}clear(){this.#e=Object.assign({})}onPlayAsync(){if(this.#n===null)return new Promise(n=>{this.#n=n})}onResumeAsync(){if(this.#l===null)return new Promise(n=>{this.#l=n})}onPauseAsync(){if(this.#t===null)return new Promise(n=>{this.#t=n})}onStopAsync(){if(this.#i===null)return new Promise(n=>{this.#i=n})}onCompleteAsync(){if(this.#r===null)return new Promise(n=>{this.#r=n})}onRepeatAsync(){if(this.#a===null)return new Promise(n=>{this.#a=n})}}function D(t){return typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t)}function M(t){const n=parseFloat(t);return D(n)?n/100:0}function I(t){return t<0?0:t>1?1:t}function q(t,n,i){return ti?i:t}function S(t){const n=t;for(var i=arguments.length,r=new Array(i>1?i-1:0),l=1;l1&&arguments[1]!==void 0?arguments[1]:.001;return Math.abs(this.#s-n)1&&arguments[1]!==void 0?arguments[1]:5;return Math.abs(this.#f-n)=this.endPoint){this.#c=!1,this.#y=!0,this.#m=this.animationRef.playCount,this.#o=this.animationRef.delayCount,this.#s=1,this.#h=1,this.#f=this.endPoint-this.#t;const i=this.animationRef.direction===P.Reverse||this.animationRef.direction===P.Alternate;this.#r=i?this.animationRef.from:this.animationRef.to;return}if(nt};function x(t){return t===P.Alternate||t===P.AlternateReverse}function U(t){return t===P.Reverse||t===P.AlternateReverse}function j(t){if(!t.name)throw new Error("Animation `name` is required");if(typeof t.to!="number")throw new Error("The `to` value is required");if(typeof t.duration=="number"&&t.duration<0)throw new Error("The `duration` value cannot be a negative value.");if(typeof t.delay=="number"&&t.delay<0)throw new Error("The `delay` value cannot be a negative value.");if(typeof t.playCount=="number"&&t.playCount<0)throw new Error("The `playCount` value cannot be a negative value.");if(typeof t.delayCount=="number"&&t.delayCount<0)throw new Error("The `delayCount` value cannot be a negative value.");if(typeof t.playCount=="number"&&typeof t.delayCount=="number"&&t.delayCount>t.playCount)throw new Error("The `delayCount` value cannot be greater than the `playCount` value.")}function $(t,n,i){const r=C=>typeof C=="function"?C(i):C,l=r(t.from)??n.from??A.from,s=r(t.duration)??n.duration??A.duration,e=r(t.delay)??n.delay??A.delay,f=r(t.offset)??n.offset??A.offset,a=r(t.playCount)??n.playCount??A.playCount,c=typeof e=="number"?r(t.delayCount)??n.delayCount??a:0,d=r(t.direction)??n.direction??A.direction,y=r(t.timing)??n.timing??A.timing;return{name:t.name,to:t.to,from:l,duration:s,delay:e,offset:f,playCount:a,delayCount:c,direction:d,timing:y,ease:t.ease??n.ease??A.ease}}function z(t,n){const i=s=>typeof s<"u",r=s=>typeof s=="function"?s(n):s,l={};return i(t.from)&&(l.from=r(t.from)),i(t.duration)&&(l.duration=r(t.duration)),i(t.delay)&&(l.delay=r(t.delay)),i(t.offset)&&(l.offset=r(t.offset)),i(t.playCount)&&(l.playCount=r(t.playCount)),i(t.delayCount)&&(l.delayCount=r(t.delayCount)),i(t.direction)&&(l.direction=r(t.direction)),i(t.timing)&&(l.timing=r(t.timing)),i(t.to)&&(l.to=t.to),i(t.ease)&&(l.ease=t.ease),l}function W(t,n){const i=[];for(let r=0;ri.endPoint));return n===1/0?Number.MAX_SAFE_INTEGER:n}function T(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=B(i),l=W(t,i),s=new L,e={__startTime:0,__pauseTime:0,__lastFrameTime:0,__animations:[],__requestAnimationId:null,__startProgress:0,progress:0,duration:0,elapsedTime:0,isPlaying:!1,isPaused:!1,isFinished:!1,isFirstFrame:!0,playCount:1,fps:60,isProgressAt(u){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.001;return Math.abs(this.progress-u)1&&arguments[1]!==void 0?arguments[1]:5;return Math.abs(this.elapsedTime-u){e.elapsedTime=u-e.__startTime+e.__startProgress*e.duration,e.progress=I(e.elapsedTime/e.duration),e.fps=Math.round(1e3/(u-e.__lastFrameTime||16.66)),e.__lastFrameTime=u;for(let h=0;h{e.__startTime=h,e.__lastFrameTime=h,e.playCount++,e.__startProgress=0,c(h)}))},d=function(u){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;if(r.timelinePlayCount===0||m===0){console.warn("[seek] Cannot seek the timeline because the `playCount` is set to 0.");return}if(r.timelinePlayCount>0&&typeof m=="number"&&m>r.timelinePlayCount){console.warn("[seek] Cannot seek the timeline because the param `playCount` is greater than the `timelinePlayCount`.");return}if(e.duration===0){console.warn("[seek] Cannot seek the timeline because the `duration` is 0.");return}if(typeof u=="number"&&(u<0&&(u=0,console.warn("[seek] The `startFrom` param cannot be a negative value.")),u>e.duration&&(u=e.duration,console.warn("[seek] The `startFrom` param cannot be greater than the duration of the timeline.")),u=q(u/e.duration,0,1)),typeof u=="string"&&(u=M(u),u<0&&(u=0,console.warn("[seek] The `startFrom` param cannot be a negative percentage.")),u>1&&(u=1,console.warn("[seek] The `startFrom` param percentage cannot be greater than 1."))),e.isPlaying){const h=performance.now();e.__startTime=h,e.__lastFrameTime=h}e.playCount=m,e.__startProgress=u},y=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;e.isPlaying&&e.__requestAnimationId!==null&&(cancelAnimationFrame(e.__requestAnimationId),e.__requestAnimationId=null),d(u,m),e.__requestAnimationId=requestAnimationFrame(h=>{e.__startTime=h,e.__lastFrameTime=h,e.progress=e.__startProgress,e.isPlaying=e.progress!==1,e.isFinished=e.progress===1,e.isPaused=!1,e.isFirstFrame=!0,f.add(),s.emit(p.Play),c(h),e.isFirstFrame=!1})},w=()=>{if(e.isPlaying&&e.__requestAnimationId!==null){console.warn("[playOneFrame] The timeline is already playing.");return}const u=performance.now();e.__startTime=u,e.__lastFrameTime=u,e.progress=e.__startProgress,e.isPlaying=!1,e.isFinished=e.progress===1,e.isPaused=!1,e.isFirstFrame=!1,c(u,!0)},C=()=>{if(!e.isPlaying){console.warn("[pause] The timeline is not playing.");return}if(e.isPaused){console.warn("[pause] The timeline is already paused.");return}if(!e.__requestAnimationId){console.error("[pause] `__requestAnimationId` is null.");return}cancelAnimationFrame(e.__requestAnimationId),e.__requestAnimationId=null,e.__pauseTime=performance.now(),e.isPaused=!0,e.isPlaying=!1,f.remove(),s.emit(p.Pause)},o=()=>{if(e.isPlaying){console.warn("[resume] The timeline is already playing.");return}if(!e.isPaused){console.warn("[resume] The timeline is not paused, playing from the start."),y();return}e.__startTime+=performance.now()-e.__pauseTime,e.__pauseTime=0,e.isPaused=!1,e.isPlaying=!0,f.add(),s.emit(p.Resume),e.__requestAnimationId=requestAnimationFrame(c)},F=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.duration,m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r.timelinePlayCount;e.isPlaying&&e.__requestAnimationId!==null&&(cancelAnimationFrame(e.__requestAnimationId),e.__requestAnimationId=null,e.isPlaying=!1),d(u,m),w(),s.emit(p.Stop)},_=u=>{for(let m=0;mE.animationRef.name===h.name);if(R===-1)throw new Error(`[updateValues] Animation with name '${h.name}' not found.`);const b=z(h,R);e.__animations[R].Set(b)}for(let m=0;m"u")throw new Error("[group] The `to` value is required");t.to=typeof t.to=="number"?[t.to]:t.to;const i=t.to.length,r=o=>typeof o=="number",l=o=>typeof o=="object"&&!Array.isArray(o),s=o=>typeof o=="object"&&!Array.isArray(o),e=o=>typeof o=="function",f=o=>new Array(i).fill(o),a={to:t.to,from:r(t.from)?f(t.from):t.from,offset:r(t.offset)?f(t.offset):t.offset,delay:r(t.delay)?f(t.delay):t.delay,delayCount:r(t.delayCount)?f(t.delayCount):t.delayCount,playCount:r(t.playCount)?f(t.playCount):t.playCount,direction:l(t.direction)?f(t.direction):t.direction,timing:s(t.timing)?f(t.timing):t.timing,duration:r(t.duration)?f(t.duration):t.duration,ease:e(t.ease)?f(t.ease):t.ease},c=new Array(i);for(let o=0;o{const F=[];for(let _=0;_n(a[0]),l),e=s.updateValues;return S(s,{updateValues:a=>e([{name:"single",...a}]),animationsInfo:s.animationsInfo[0]})}function O(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return T(t,n,i)}O.timeline=T;O.single=X;O.group=H;export{P as D,p as E,Q as S,g as T,O as a,K as b,Y as c,Z as i,I as n}; diff --git a/_astro/animare.tXT0eSNG.js b/_astro/animare.tXT0eSNG.js deleted file mode 100644 index 56bfbf33..00000000 --- a/_astro/animare.tXT0eSNG.js +++ /dev/null @@ -1 +0,0 @@ -let P=function(t){return t.Forward="forward",t.Reverse="reverse",t.Alternate="alternate",t.AlternateReverse="alternate-reverse",t}({}),g=function(t){return t.AfterPrevious="after-previous",t.WithPrevious="with-previous",t.FromStart="from-start",t}({}),p=function(t){return t.Play="play",t.Resume="resume",t.Pause="pause",t.Stop="stop",t.Complete="complete",t.Repeat="repeat",t}({});function K(t){return t}class D{#e=Object.assign({});#n=null;#l=null;#t=null;#i=null;#r=null;#a=null;#o(n,i){return this.#e[n]?this.#e[n].delete(i):!1}on(n,i){return this.#e[n]||(this.#e[n]=new Set),this.#e[n].add(i),()=>this.#o(n,i)}once(n,i){const r=this.on(n,()=>{i(),r()});return()=>this.#o(n,i)}emit(n){if(this.#e[n]){if(this.#e[n].forEach(i=>i()),n===p.Play){this.#n?.(),this.#n=null;return}if(n===p.Resume){this.#l?.(),this.#l=null;return}if(n===p.Pause){this.#t?.(),this.#t=null;return}if(n===p.Complete){this.#r?.(),this.#r=null;return}if(n===p.Repeat){this.#a?.(),this.#a=null;return}n===p.Stop&&(this.#i?.(),this.#i=null)}}clear(){this.#e=Object.assign({})}onPlayAsync(){if(this.#n===null)return new Promise(n=>{this.#n=n})}onResumeAsync(){if(this.#l===null)return new Promise(n=>{this.#l=n})}onPauseAsync(){if(this.#t===null)return new Promise(n=>{this.#t=n})}onStopAsync(){if(this.#i===null)return new Promise(n=>{this.#i=n})}onCompleteAsync(){if(this.#r===null)return new Promise(n=>{this.#r=n})}onRepeatAsync(){if(this.#a===null)return new Promise(n=>{this.#a=n})}}function L(t){return typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t)}function M(t){const n=parseFloat(t);return L(n)?n/100:0}function I(t){return t<0?0:t>1?1:t}function q(t,n,i){return ti?i:t}function S(t){const n=t;for(var i=arguments.length,r=new Array(i>1?i-1:0),l=1;l1&&arguments[1]!==void 0?arguments[1]:.001;return Math.abs(this.#s-n)1&&arguments[1]!==void 0?arguments[1]:5;return Math.abs(this.#f-n)=this.endPoint){this.#c=!1,this.#y=!0,this.#m=this.animationRef.playCount,this.#o=this.animationRef.delayCount,this.#s=1,this.#h=1,this.#f=this.endPoint-this.#t;const i=this.animationRef.direction===P.Reverse||this.animationRef.direction===P.Alternate;this.#r=i?this.animationRef.from:this.animationRef.to;return}if(nt};function x(t){return t===P.Alternate||t===P.AlternateReverse}function U(t){return t===P.Reverse||t===P.AlternateReverse}function O(t){if(!t.name)throw new Error("Animation `name` is required");if(typeof t.to!="number")throw new Error("The `to` value is required");if(typeof t.duration=="number"&&t.duration<0)throw new Error("The `duration` value cannot be a negative value.");if(typeof t.delay=="number"&&t.delay<0)throw new Error("The `delay` value cannot be a negative value.");if(typeof t.playCount=="number"&&t.playCount<0)throw new Error("The `playCount` value cannot be a negative value.");if(typeof t.delayCount=="number"&&t.delayCount<0)throw new Error("The `delayCount` value cannot be a negative value.");if(typeof t.playCount=="number"&&typeof t.delayCount=="number"&&t.delayCount>t.playCount)throw new Error("The `delayCount` value cannot be greater than the `playCount` value.")}function $(t,n,i){const r=C=>typeof C=="function"?C(i):C,l=r(t.from)??n.from??A.from,s=r(t.duration)??n.duration??A.duration,e=r(t.delay)??n.delay??A.delay,f=r(t.offset)??n.offset??A.offset,a=r(t.playCount)??n.playCount??A.playCount,c=typeof e=="number"?r(t.delayCount)??n.delayCount??a:0,d=r(t.direction)??n.direction??A.direction,y=r(t.timing)??n.timing??A.timing;return{name:t.name,to:t.to,from:l,duration:s,delay:e,offset:f,playCount:a,delayCount:c,direction:d,timing:y,ease:t.ease??n.ease??A.ease}}function W(t,n){const i=s=>typeof s<"u",r=s=>typeof s=="function"?s(n):s,l={};return i(t.from)&&(l.from=r(t.from)),i(t.duration)&&(l.duration=r(t.duration)),i(t.delay)&&(l.delay=r(t.delay)),i(t.offset)&&(l.offset=r(t.offset)),i(t.playCount)&&(l.playCount=r(t.playCount)),i(t.delayCount)&&(l.delayCount=r(t.delayCount)),i(t.direction)&&(l.direction=r(t.direction)),i(t.timing)&&(l.timing=r(t.timing)),i(t.to)&&(l.to=t.to),i(t.ease)&&(l.ease=t.ease),l}function z(t,n){const i=[];for(let r=0;ri.endPoint));return n===1/0?Number.MAX_SAFE_INTEGER:n}function T(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=G(i),l=z(t,i),s=new D,e={__startTime:0,__pauseTime:0,__lastFrameTime:0,__animations:[],__requestAnimationId:null,__startProgress:0,progress:0,duration:0,elapsedTime:0,isPlaying:!1,isPaused:!1,isFinished:!1,isFirstFrame:!0,playCount:1,fps:60,isProgressAt(u){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.001;return Math.abs(this.progress-u)1&&arguments[1]!==void 0?arguments[1]:5;return Math.abs(this.elapsedTime-u){e.elapsedTime=u-e.__startTime+e.__startProgress*e.duration,e.progress=I(e.elapsedTime/e.duration),e.fps=Math.round(1e3/(u-e.__lastFrameTime||16.66)),e.__lastFrameTime=u;for(let h=0;h{e.__startTime=h,e.__lastFrameTime=h,e.playCount++,e.__startProgress=0,c(h)}))},d=function(u){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;if(r.timelinePlayCount===0||m===0){console.warn("[seek] Cannot seek the timeline because the `playCount` is set to 0.");return}if(r.timelinePlayCount>0&&typeof m=="number"&&m>r.timelinePlayCount){console.warn("[seek] Cannot seek the timeline because the param `playCount` is greater than the `timelinePlayCount`.");return}if(e.duration===0){console.warn("[seek] Cannot seek the timeline because the `duration` is 0.");return}if(typeof u=="number"&&(u<0&&(u=0,console.warn("[seek] The `startFrom` param cannot be a negative value.")),u>e.duration&&(u=e.duration,console.warn("[seek] The `startFrom` param cannot be greater than the duration of the timeline.")),u=q(u/e.duration,0,1)),typeof u=="string"&&(u=M(u),u<0&&(u=0,console.warn("[seek] The `startFrom` param cannot be a negative percentage.")),u>1&&(u=1,console.warn("[seek] The `startFrom` param percentage cannot be greater than 1."))),e.isPlaying){const h=performance.now();e.__startTime=h,e.__lastFrameTime=h}e.playCount=m,e.__startProgress=u},y=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;e.isPlaying&&e.__requestAnimationId!==null&&(cancelAnimationFrame(e.__requestAnimationId),e.__requestAnimationId=null),d(u,m),e.__requestAnimationId=requestAnimationFrame(h=>{e.__startTime=h,e.__lastFrameTime=h,e.progress=e.__startProgress,e.isPlaying=e.progress!==1,e.isFinished=e.progress===1,e.isPaused=!1,e.isFirstFrame=!0,f.add(),s.emit(p.Play),c(h),e.isFirstFrame=!1})},w=()=>{if(e.isPlaying&&e.__requestAnimationId!==null){console.warn("[playOneFrame] The timeline is already playing.");return}const u=performance.now();e.__startTime=u,e.__lastFrameTime=u,e.progress=e.__startProgress,e.isPlaying=!1,e.isFinished=e.progress===1,e.isPaused=!1,e.isFirstFrame=!1,c(u,!0)},C=()=>{if(!e.isPlaying){console.warn("[pause] The timeline is not playing.");return}if(e.isPaused){console.warn("[pause] The timeline is already paused.");return}if(!e.__requestAnimationId){console.error("[pause] `__requestAnimationId` is null.");return}cancelAnimationFrame(e.__requestAnimationId),e.__requestAnimationId=null,e.__pauseTime=performance.now(),e.isPaused=!0,e.isPlaying=!1,f.remove(),s.emit(p.Pause)},o=()=>{if(e.isPlaying){console.warn("[resume] The timeline is already playing.");return}if(!e.isPaused){console.warn("[resume] The timeline is not paused, playing from the start."),y();return}e.__startTime+=performance.now()-e.__pauseTime,e.__pauseTime=0,e.isPaused=!1,e.isPlaying=!0,f.add(),s.emit(p.Resume),e.__requestAnimationId=requestAnimationFrame(c)},F=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.duration,m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r.timelinePlayCount;e.isPlaying&&e.__requestAnimationId!==null&&(cancelAnimationFrame(e.__requestAnimationId),e.__requestAnimationId=null,e.isPlaying=!1),d(u,m),w(),s.emit(p.Stop)},_=u=>{for(let m=0;mj.animationRef.name===h.name);if(R===-1)throw new Error(`[updateValues] Animation with name '${h.name}' not found.`);const b=W(h,R);e.__animations[R].Set(b)}for(let m=0;m"u")throw new Error("[group] The `to` value is required");t.to=typeof t.to=="number"?[t.to]:t.to;const i=t.to.length,r=o=>typeof o=="number",l=o=>typeof o=="object"&&!Array.isArray(o),s=o=>typeof o=="object"&&!Array.isArray(o),e=o=>typeof o=="function",f=o=>new Array(i).fill(o),a={to:t.to,from:r(t.from)?f(t.from):t.from,offset:r(t.offset)?f(t.offset):t.offset,delay:r(t.delay)?f(t.delay):t.delay,delayCount:r(t.delayCount)?f(t.delayCount):t.delayCount,playCount:r(t.playCount)?f(t.playCount):t.playCount,direction:l(t.direction)?f(t.direction):t.direction,timing:s(t.timing)?f(t.timing):t.timing,duration:r(t.duration)?f(t.duration):t.duration,ease:e(t.ease)?f(t.ease):t.ease},c=new Array(i);for(let o=0;o{const F=[];for(let _=0;_n(a[0]),l),e=s.updateValues;return S(s,{updateValues:a=>e([{name:"single",...a}]),animationsInfo:s.animationsInfo[0]})}function E(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return T(t,n,i)}E.timeline=T;E.single=H;E.group=B;export{P as D,p as E,g as T,E as a,K as c,Q as i}; diff --git a/_astro/hoisted.BPzT4gG8.js b/_astro/hoisted.BtS6QEO_.js similarity index 51% rename from _astro/hoisted.BPzT4gG8.js rename to _astro/hoisted.BtS6QEO_.js index 381464eb..815985b8 100644 --- a/_astro/hoisted.BPzT4gG8.js +++ b/_astro/hoisted.BtS6QEO_.js @@ -1,2 +1,2 @@ -const __vite__fileDeps=["_astro/ui-core.D9HMTVdw.js","_astro/animare.tXT0eSNG.js","_astro/index.ChPNCYSA.js","_astro/Tabs.astro_astro_type_script_index_0_lang.CCIyraCc.js","_astro/router.DrYAXS1K.js","_astro/index.CTbVEFV3.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{a as S,D as K,T as w}from"./animare.tXT0eSNG.js";import{e as g}from"./index.ChPNCYSA.js";import"./Tabs.astro_astro_type_script_index_0_lang.CCIyraCc.js";import{a as N,T as G,s as V,n as R}from"./router.DrYAXS1K.js";import{i as W}from"./index.CTbVEFV3.js";const X="modulepreload",j=function(t){return"/animare/"+t},_={},z=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),c=u?.nonce||u?.getAttribute("nonce");o=Promise.all(n.map(s=>{if(s=j(s),s in _)return;_[s]=!0;const d=s.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${f}`))return;const a=document.createElement("link");if(a.rel=d?"stylesheet":X,d||(a.as="script",a.crossOrigin=""),a.href=s,c&&a.setAttribute("nonce",c),document.head.appendChild(a),d)return new Promise((l,i)=>{a.addEventListener("load",l),a.addEventListener("error",()=>i(new Error(`Unable to preload CSS for ${s}`)))})}))}return o.then(()=>e()).catch(u=>{const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=u,window.dispatchEvent(c),!c.defaultPrevented)throw u})};class J extends HTMLElement{constructor(){super();const e=this.querySelector("button[data-open-modal]"),n=this.querySelector("button[data-close-modal]"),r=this.querySelector("dialog"),o=this.querySelector(".dialog-frame"),u=i=>{("href"in(i.target||{})||document.body.contains(i.target)&&!o.contains(i.target))&&s()},c=i=>{r.showModal(),document.body.toggleAttribute("data-search-modal-open",!0),this.querySelector("input")?.focus(),i?.stopPropagation(),window.addEventListener("click",u)},s=()=>r.close();e.addEventListener("click",c),e.disabled=!1,n.addEventListener("click",s),r.addEventListener("close",()=>{document.body.toggleAttribute("data-search-modal-open",!1),window.removeEventListener("click",u)}),window.addEventListener("keydown",i=>{const p=document.activeElement instanceof HTMLElement&&(["input","select","textarea"].includes(document.activeElement.tagName.toLowerCase())||document.activeElement.isContentEditable);(i.metaKey===!0||i.ctrlKey===!0)&&i.key==="k"?(r.open?s():c(),i.preventDefault()):i.key==="/"&&!r.open&&!p&&(c(),i.preventDefault())});let d={};try{d=JSON.parse(this.dataset.translations||"{}")}catch{}const l=this.dataset.stripTrailingSlash!==void 0?i=>i.replace(/(.)\/(#.*)?$/,"$1$2"):i=>i;window.addEventListener("DOMContentLoaded",()=>{(window.requestIdleCallback||(p=>setTimeout(p,1)))(async()=>{const{PagefindUI:p}=await z(()=>import("./ui-core.D9HMTVdw.js"),__vite__mapDeps([0,1,2,3,4,5]));new p({element:"#starlight__search",baseUrl:"/animare",bundlePath:"/animare".replace(/\/$/,"")+"/pagefind/",showImages:!1,translations:d,showSubResults:!0,processResult:h=>{h.url=l(h.url),h.sub_results=h.sub_results.map(E=>(E.url=l(E.url),E))}})})})}}customElements.define("site-search",J);class Y extends HTMLElement{constructor(){super();const e=this.querySelector("select");e&&e.addEventListener("change",n=>{n.currentTarget instanceof HTMLSelectElement&&(window.location.pathname=n.currentTarget.value)})}}customElements.define("starlight-lang-select",Y);const O=document.querySelector(".logo svg"),m=document.querySelectorAll(".logoTitle span");let C=0;const T=500,Z=S.single({from:1,to:.9,duration:500,direction:K.Alternate,ease:g.out.quart,autoPlay:!1},({value:t})=>{O.style.transform=`scale(${t})`}),Q=S.group({to:new Array(m.length).fill([0,1]).flat(),from:t=>t%2===0?40:0,duration:1200,delay:t=>T+~~(t/2)*50,ease:new Array(m.length).fill([g.out.expo,g.linear]).flat(),timing:w.FromStart,autoPlay:!1},t=>{for(let e=0;et%3===0?-40:t%3===1?0:2,delay:t=>T+~~(t/3)*50,duration:800,ease:new Array(m.length).fill([g.out.expo,g.out.expo,g.linear]).flat(),timing:w.FromStart,autoPlay:!1},t=>{for(let e=0;e1e3+t*50,delay:t=>T+t*50,ease:g.spring({mass:2,damping:12,stiffness:70,velocity:9,duration:2500}),timing:w.FromStart,autoPlay:!1},t=>m.forEach((e,n)=>e.style.transform=`scale(${t[n].value})`)),nt=S.group({to:new Array(m.length*3).fill(0),from:t=>t%3===0?.55:t%3===1?1.1:180,duration:750,delay:t=>T+~~(t/3)*50,ease:g.out.expo,timing:w.FromStart,autoPlay:!1},(t,{isFirstFrame:e,isFinished:n})=>{if(e){const r=m[0].parentElement;r.style.overflow="hidden"}for(let r=0;r{$[C%$.length].play(),Z.play(),C++};O.addEventListener("click",rt);document.documentElement.setAttribute("data-theme","dark");const ot="_top";class D extends HTMLElement{constructor(){super(),this._current=this.querySelector('a[aria-current="true"]'),this.minH=parseInt(this.dataset.minH||"2",10),this.maxH=parseInt(this.dataset.maxH||"3",10);const e=[...this.querySelectorAll("a")],n=a=>{if(a instanceof HTMLHeadingElement){if(a.id===ot)return!0;const l=a.tagName[1];if(l){const i=parseInt(l,10);if(i>=this.minH&&i<=this.maxH)return!0}}return!1},r=a=>{if(!a)return null;const l=a;for(;a;){if(n(a))return a;for(a=a.previousElementSibling;a?.lastElementChild;)a=a.lastElementChild;const i=r(a);if(i)return i}return r(l.parentElement)},o=a=>{for(const{isIntersecting:l,target:i}of a){if(!l)continue;const p=r(i);if(!p)continue;const h=e.find(E=>E.hash==="#"+encodeURIComponent(p.id));if(h){this.current=h;break}}},u=document.querySelectorAll("main [id], main [id] ~ *, main .content > *");let c;const s=()=>{c&&c.disconnect(),c=new IntersectionObserver(o,{rootMargin:this.getRootMargin()}),u.forEach(a=>c.observe(a))};s();const d=window.requestIdleCallback||(a=>setTimeout(a,1));let f;window.addEventListener("resize",()=>{c&&c.disconnect(),clearTimeout(f),f=setTimeout(()=>d(s),200)})}set current(e){e!==this._current&&(this._current&&this._current.removeAttribute("aria-current"),e.setAttribute("aria-current","true"),this._current=e)}getRootMargin(){const e=document.querySelector("header")?.getBoundingClientRect().height||0,n=this.querySelector("summary")?.getBoundingClientRect().height||0,r=e+n+32,o=r+53,u=document.documentElement.clientHeight;return`-${r}px 0% ${o-u}px`}}customElements.define("starlight-toc",D);class at extends D{set current(e){super.current=e;const n=this.querySelector(".display-current");n&&(n.textContent=e.textContent)}constructor(){super();const e=this.querySelector("details");if(!e)return;const n=()=>{e.open=!1};e.querySelectorAll("a").forEach(r=>{r.addEventListener("click",n)}),window.addEventListener("click",r=>{e.contains(r.target)||n()}),window.addEventListener("keydown",r=>{if(r.key==="Escape"&&e.open){const o=e.contains(document.activeElement);if(n(),o){const u=e.querySelector("summary");u&&u.focus()}}})}}customElements.define("mobile-starlight-toc",at);class st extends HTMLElement{constructor(){super(),this.btn=this.querySelector("button"),this.btn.addEventListener("click",()=>this.toggleExpanded());const e=this.closest("nav");e&&e.addEventListener("keyup",n=>this.closeOnEscape(n))}setExpanded(e){this.setAttribute("aria-expanded",String(e)),document.body.toggleAttribute("data-mobile-menu-expanded",e)}toggleExpanded(){this.setExpanded(this.getAttribute("aria-expanded")!=="true")}closeOnEscape(e){e.code==="Escape"&&(this.setExpanded(!1),this.btn.focus())}}customElements.define("starlight-menu-button",st);const y="data-astro-transition-persist";function it(t){for(const e of document.scripts)for(const n of t.scripts)if(!n.hasAttribute("data-astro-rerun")&&(!e.src&&e.textContent===n.textContent||e.src&&e.type===n.type&&e.src===n.src)){n.dataset.astroExec="";break}}function ct(t){const e=document.documentElement,n=[...e.attributes].filter(({name:r})=>(e.removeAttribute(r),r.startsWith("data-astro-")));[...t.documentElement.attributes,...n].forEach(({name:r,value:o})=>e.setAttribute(r,o))}function lt(t){for(const e of Array.from(document.head.children)){const n=mt(e,t);n?n.remove():e.remove()}document.head.append(...t.head.children)}function ut(t,e){e.replaceWith(t);for(const n of e.querySelectorAll(`[${y}]`)){const r=n.getAttribute(y),o=t.querySelector(`[${y}="${r}"]`);o&&(o.replaceWith(n),o.localName==="astro-island"&&ft(n)&&(n.setAttribute("ssr",""),n.setAttribute("props",o.getAttribute("props"))))}}const dt=()=>{const t=document.activeElement;if(t?.closest(`[${y}]`)){if(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement){const e=t.selectionStart,n=t.selectionEnd;return()=>L({activeElement:t,start:e,end:n})}return()=>L({activeElement:t})}else return()=>L({activeElement:null})},L=({activeElement:t,start:e,end:n})=>{t&&(t.focus(),(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)&&(typeof e=="number"&&(t.selectionStart=e),typeof n=="number"&&(t.selectionEnd=n)))},mt=(t,e)=>{const n=t.getAttribute(y),r=n&&e.head.querySelector(`[${y}="${n}"]`);if(r)return r;if(t.matches("link[rel=stylesheet]")){const o=t.getAttribute("href");return e.head.querySelector(`link[rel=stylesheet][href="${o}"]`)}return null},ft=t=>{const e=t.dataset.astroTransitionPersistProps;return e==null||e==="false"},pt="vtbot-replace-swap",ht=()=>(document.querySelector(`meta[name="${pt}"]`)?.getAttribute("content")??"").split(",").map(t=>t.trim());document.addEventListener(N,t=>{const e=t.swap;t.swap=()=>{const n=l=>{const i=l.body.querySelectorAll("[data-vtbot-replace]"),p=[...i].map(h=>h instanceof HTMLElement&&h.dataset.vtbotReplace);return{elements:[...i],names:new Set(p)}},{elements:r,names:o}=n(document),{elements:u,names:c}=n(t.newDocument),s=[...o].filter(l=>c.has(l));if(s.length===0){e();return}const d=t.newDocument;it(d);const f=ht().map(l=>({key:l,val:document.documentElement.getAttribute(l)}));ct(d),f.forEach(l=>l.val!==null&&document.documentElement.setAttribute(l.key,l.val)),lt(d);const a=dt();s.forEach(l=>{const i=r.find(h=>h.dataset.vtbotReplace===l),p=u.find(h=>h.dataset.vtbotReplace===l);i&&p&&ut(p,i)}),a(),[...document.querySelectorAll("[class*='astro-route-announcer']")].forEach(l=>l.remove())}});const q="div.main-frame",gt=`${q} main`,bt="data-mobile-menu-expanded",yt="starlight-menu-button",A="nav.sidebar",b=`${A} .sidebar-content`,I="starlight-lang-select";function Et(t){const e=c(t.href),n=e.split(""),r=document.querySelectorAll(`${b} a[href^='/']`);if(r.length===0)return null;const o=[...r],u=o.map(s=>c(new URL(s.href,location.href).href));return o[u.map(s=>s.split("").findIndex((d,f)=>d!==n[f])).map((s,d)=>s!==-1?s:Math.min(e.length,u[d].length)+(e.length===u[d].length?1:0)).reduce((s,d,f,a)=>d>a[s]?f:s,0)];function c(s){return s.replace(/\/#/,"#").replace(/\/$/,"")}}function St(){document.querySelectorAll(`${b} [aria-current="page"]`)?.forEach(t=>t.removeAttribute("aria-current"))}function At(t){St(),Et(t)?.setAttribute("aria-current","page")}function U(t,e=!0){const n=document.querySelector(`${b} [aria-current="page"]`);let r=n?.closest("details");for(;r;)r.open=!0,r=r.parentElement?.closest("details");e&&n?.scrollIntoView({block:"center",behavior:"instant"})}function P(t){t.querySelectorAll(b+" .__collapse input").forEach((e,n)=>e.setAttribute("data-vtbot-replace",`vtbot-sms-v0-${n}`)),t.querySelectorAll(b+" :is(starlight-multi-sidebar-tabs, starlight-multi-sidebar-select)").forEach((e,n)=>{e.setAttribute("data-vtbot-replace",`vtbot-sms-${n}`),[...e.children].forEach((r,o)=>{o>0&&[...r.children].forEach((u,c)=>u.setAttribute("data-astro-transition-persist",`vtbot-sms-${n}-${o}-${c}`))})})}const vt="vtbot-starlight-replace-sidebar-content",wt="vtbot-starlight-retain-current-page-marker",F=()=>({replaceSidebarContent:document.querySelector(`head meta[name="${vt}"]`),retainCurrentPageMarker:document.querySelector(`head meta[name="${wt}"]`),mainTransitionScope:document.querySelector('head meta[name="vtbot-main-transition-scope"]')?.content});let{replaceSidebarContent:k,retainCurrentPageMarker:M,mainTransitionScope:v}=F();U();B(window.document);function Tt(t){x(document),x(t.newDocument),kt(),B(t.newDocument),Mt(t),!k&&!M&&At(t.to)}function Lt(t){Rt(t.newDocument)}function qt(t){!M&&U()}function kt(){document.body.hasAttribute(bt)&&document.body.querySelector(yt)?.closest("nav")?.dispatchEvent(new KeyboardEvent("keyup",{key:"Escape",code:"Escape",charCode:27,keyCode:27,shiftKey:!1,ctrlKey:!1,altKey:!1,metaKey:!1}))}function x(t){t.body.querySelector(q)?.setAttribute("data-vtbot-replace","main")}function Mt(t){if(!v)return;e(document,v),e(t.newDocument,v);function e(n,r){const o=n.querySelector(gt);o&&(o.dataset.astroTransitionScope=r)}}function Rt(t){const e=t.querySelector(A);if(!e)document.querySelector(A)?.remove();else{const n=document.querySelector(A);if(!n)document.querySelector(q)?.insertAdjacentElement("beforebegin",e);else{const r=n.querySelector(b),o=e.querySelector(b),u=[...r?.querySelectorAll("a")??[]].map(c=>c.href).join(" ")!==[...o?.querySelectorAll("a")??[]].map(c=>c.href).join(" ");k||u?r&&o?(r.setAttribute("data-vtbot-replace","vtbot-sidebar-content"),o.setAttribute("data-vtbot-replace","vtbot-sidebar-content"),n.removeAttribute("data-vtbot-replace"),e.removeAttribute("data-vtbot-replace")):(n.setAttribute("data-vtbot-replace","vtbot-sidebar-content"),e.setAttribute("data-vtbot-replace","vtbot-sidebar-content"),r?.removeAttribute("data-vtbot-replace"),o?.removeAttribute("data-vtbot-replace")):(P(document),P(t))}}}function B(t){t.querySelectorAll(I).forEach((e,n)=>e.setAttribute("data-vtbot-replace",`vtbot-${I}-${n}`))}document.addEventListener(G,t=>{({replaceSidebarContent:k,retainCurrentPageMarker:M,mainTransitionScope:v}=F());const e=t.loader;t.loader=async()=>{await e(),Tt(t)}});document.addEventListener(N,t=>{Lt(t);const e=t.swap;t.swap=()=>{e(),qt()}});function _t(){const t=document.querySelector('[name="astro-view-transitions-fallback"]');return t?t.getAttribute("content"):"animate"}function H(t){return t.dataset.astroReload!==void 0}(V||_t()!=="none")&&(document.addEventListener("click",t=>{let e=t.target;if(t.composed&&(e=t.composedPath()[0]),e instanceof Element&&(e=e.closest("a, area")),!(e instanceof HTMLAnchorElement)&&!(e instanceof SVGAElement)&&!(e instanceof HTMLAreaElement))return;const n=e instanceof HTMLElement?e.target:e.target.baseVal,r=e instanceof HTMLElement?e.href:e.href.baseVal,o=new URL(r,location.href).origin;H(e)||e.hasAttribute("download")||!e.href||n&&n!=="_self"||o!==location.origin||t.button!==0||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey||t.defaultPrevented||(t.preventDefault(),R(r,{history:e.dataset.astroHistory==="replace"?"replace":"auto",sourceElement:e}))}),document.addEventListener("submit",t=>{let e=t.target;if(e.tagName!=="FORM"||t.defaultPrevented||H(e))return;const n=e,r=t.submitter,o=new FormData(n,r),u=typeof n.action=="string"?n.action:n.getAttribute("action"),c=typeof n.method=="string"?n.method:n.getAttribute("method");let s=r?.getAttribute("formaction")??u??location.pathname;const d=r?.getAttribute("formmethod")??c??"get";if(d==="dialog"||location.origin!==new URL(s,location.href).origin)return;const f={sourceElement:r??n};if(d==="get"){const a=new URLSearchParams(o),l=new URL(s);l.search=a.toString(),s=l.toString()}else f.formData=o;t.preventDefault(),R(s,f)}),W({prefetchAll:!0}));export{z as _}; +const __vite__fileDeps=["_astro/ui-core.B6qw-deX.js","_astro/animare.BjVW0jvP.js","_astro/index.ChPNCYSA.js","_astro/Tabs.astro_astro_type_script_index_0_lang.CCIyraCc.js","_astro/router.DrYAXS1K.js","_astro/index.CTbVEFV3.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{a as S,D as K,T as w}from"./animare.BjVW0jvP.js";import{e as g}from"./index.ChPNCYSA.js";import"./Tabs.astro_astro_type_script_index_0_lang.CCIyraCc.js";import{a as N,T as G,s as V,n as R}from"./router.DrYAXS1K.js";import{i as W}from"./index.CTbVEFV3.js";const X="_top";class O extends HTMLElement{constructor(){super(),this._current=this.querySelector('a[aria-current="true"]'),this.minH=parseInt(this.dataset.minH||"2",10),this.maxH=parseInt(this.dataset.maxH||"3",10);const e=[...this.querySelectorAll("a")],n=a=>{if(a instanceof HTMLHeadingElement){if(a.id===X)return!0;const l=a.tagName[1];if(l){const i=parseInt(l,10);if(i>=this.minH&&i<=this.maxH)return!0}}return!1},r=a=>{if(!a)return null;const l=a;for(;a;){if(n(a))return a;for(a=a.previousElementSibling;a?.lastElementChild;)a=a.lastElementChild;const i=r(a);if(i)return i}return r(l.parentElement)},o=a=>{for(const{isIntersecting:l,target:i}of a){if(!l)continue;const p=r(i);if(!p)continue;const h=e.find(E=>E.hash==="#"+encodeURIComponent(p.id));if(h){this.current=h;break}}},u=document.querySelectorAll("main [id], main [id] ~ *, main .content > *");let c;const s=()=>{c&&c.disconnect(),c=new IntersectionObserver(o,{rootMargin:this.getRootMargin()}),u.forEach(a=>c.observe(a))};s();const d=window.requestIdleCallback||(a=>setTimeout(a,1));let f;window.addEventListener("resize",()=>{c&&c.disconnect(),clearTimeout(f),f=setTimeout(()=>d(s),200)})}set current(e){e!==this._current&&(this._current&&this._current.removeAttribute("aria-current"),e.setAttribute("aria-current","true"),this._current=e)}getRootMargin(){const e=document.querySelector("header")?.getBoundingClientRect().height||0,n=this.querySelector("summary")?.getBoundingClientRect().height||0,r=e+n+32,o=r+53,u=document.documentElement.clientHeight;return`-${r}px 0% ${o-u}px`}}customElements.define("starlight-toc",O);class j extends O{set current(e){super.current=e;const n=this.querySelector(".display-current");n&&(n.textContent=e.textContent)}constructor(){super();const e=this.querySelector("details");if(!e)return;const n=()=>{e.open=!1};e.querySelectorAll("a").forEach(r=>{r.addEventListener("click",n)}),window.addEventListener("click",r=>{e.contains(r.target)||n()}),window.addEventListener("keydown",r=>{if(r.key==="Escape"&&e.open){const o=e.contains(document.activeElement);if(n(),o){const u=e.querySelector("summary");u&&u.focus()}}})}}customElements.define("mobile-starlight-toc",j);class z extends HTMLElement{constructor(){super(),this.btn=this.querySelector("button"),this.btn.addEventListener("click",()=>this.toggleExpanded());const e=this.closest("nav");e&&e.addEventListener("keyup",n=>this.closeOnEscape(n))}setExpanded(e){this.setAttribute("aria-expanded",String(e)),document.body.toggleAttribute("data-mobile-menu-expanded",e)}toggleExpanded(){this.setExpanded(this.getAttribute("aria-expanded")!=="true")}closeOnEscape(e){e.code==="Escape"&&(this.setExpanded(!1),this.btn.focus())}}customElements.define("starlight-menu-button",z);class J extends HTMLElement{constructor(){super();const e=this.querySelector("select");e&&e.addEventListener("change",n=>{n.currentTarget instanceof HTMLSelectElement&&(window.location.pathname=n.currentTarget.value)})}}customElements.define("starlight-lang-select",J);const Y="modulepreload",Z=function(t){return"/animare/"+t},_={},Q=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),c=u?.nonce||u?.getAttribute("nonce");o=Promise.all(n.map(s=>{if(s=Z(s),s in _)return;_[s]=!0;const d=s.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${f}`))return;const a=document.createElement("link");if(a.rel=d?"stylesheet":Y,d||(a.as="script",a.crossOrigin=""),a.href=s,c&&a.setAttribute("nonce",c),document.head.appendChild(a),d)return new Promise((l,i)=>{a.addEventListener("load",l),a.addEventListener("error",()=>i(new Error(`Unable to preload CSS for ${s}`)))})}))}return o.then(()=>e()).catch(u=>{const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=u,window.dispatchEvent(c),!c.defaultPrevented)throw u})};class tt extends HTMLElement{constructor(){super();const e=this.querySelector("button[data-open-modal]"),n=this.querySelector("button[data-close-modal]"),r=this.querySelector("dialog"),o=this.querySelector(".dialog-frame"),u=i=>{("href"in(i.target||{})||document.body.contains(i.target)&&!o.contains(i.target))&&s()},c=i=>{r.showModal(),document.body.toggleAttribute("data-search-modal-open",!0),this.querySelector("input")?.focus(),i?.stopPropagation(),window.addEventListener("click",u)},s=()=>r.close();e.addEventListener("click",c),e.disabled=!1,n.addEventListener("click",s),r.addEventListener("close",()=>{document.body.toggleAttribute("data-search-modal-open",!1),window.removeEventListener("click",u)}),window.addEventListener("keydown",i=>{const p=document.activeElement instanceof HTMLElement&&(["input","select","textarea"].includes(document.activeElement.tagName.toLowerCase())||document.activeElement.isContentEditable);(i.metaKey===!0||i.ctrlKey===!0)&&i.key==="k"?(r.open?s():c(),i.preventDefault()):i.key==="/"&&!r.open&&!p&&(c(),i.preventDefault())});let d={};try{d=JSON.parse(this.dataset.translations||"{}")}catch{}const l=this.dataset.stripTrailingSlash!==void 0?i=>i.replace(/(.)\/(#.*)?$/,"$1$2"):i=>i;window.addEventListener("DOMContentLoaded",()=>{(window.requestIdleCallback||(p=>setTimeout(p,1)))(async()=>{const{PagefindUI:p}=await Q(()=>import("./ui-core.B6qw-deX.js"),__vite__mapDeps([0,1,2,3,4,5]));new p({element:"#starlight__search",baseUrl:"/animare",bundlePath:"/animare".replace(/\/$/,"")+"/pagefind/",showImages:!1,translations:d,showSubResults:!0,processResult:h=>{h.url=l(h.url),h.sub_results=h.sub_results.map(E=>(E.url=l(E.url),E))}})})})}}customElements.define("site-search",tt);const D=document.querySelector(".logo svg"),m=document.querySelectorAll(".logoTitle span");let C=0;const T=500,et=S.single({from:1,to:.9,duration:500,direction:K.Alternate,ease:g.out.quart,autoPlay:!1},({value:t})=>{D.style.transform=`scale(${t})`}),nt=S.group({to:new Array(m.length).fill([0,1]).flat(),from:t=>t%2===0?40:0,duration:1200,delay:t=>T+~~(t/2)*50,ease:new Array(m.length).fill([g.out.expo,g.linear]).flat(),timing:w.FromStart,autoPlay:!1},t=>{for(let e=0;et%3===0?-40:t%3===1?0:2,delay:t=>T+~~(t/3)*50,duration:800,ease:new Array(m.length).fill([g.out.expo,g.out.expo,g.linear]).flat(),timing:w.FromStart,autoPlay:!1},t=>{for(let e=0;e1e3+t*50,delay:t=>T+t*50,ease:g.spring({mass:2,damping:12,stiffness:70,velocity:9,duration:2500}),timing:w.FromStart,autoPlay:!1},t=>m.forEach((e,n)=>e.style.transform=`scale(${t[n].value})`)),at=S.group({to:new Array(m.length*3).fill(0),from:t=>t%3===0?.55:t%3===1?1.1:180,duration:750,delay:t=>T+~~(t/3)*50,ease:g.out.expo,timing:w.FromStart,autoPlay:!1},(t,{isFirstFrame:e,isFinished:n})=>{if(e){const r=m[0].parentElement;r.style.overflow="hidden"}for(let r=0;r{$[C%$.length].play(),et.play(),C++};D.addEventListener("click",st);document.documentElement.setAttribute("data-theme","dark");const y="data-astro-transition-persist";function it(t){for(const e of document.scripts)for(const n of t.scripts)if(!n.hasAttribute("data-astro-rerun")&&(!e.src&&e.textContent===n.textContent||e.src&&e.type===n.type&&e.src===n.src)){n.dataset.astroExec="";break}}function ct(t){const e=document.documentElement,n=[...e.attributes].filter(({name:r})=>(e.removeAttribute(r),r.startsWith("data-astro-")));[...t.documentElement.attributes,...n].forEach(({name:r,value:o})=>e.setAttribute(r,o))}function lt(t){for(const e of Array.from(document.head.children)){const n=mt(e,t);n?n.remove():e.remove()}document.head.append(...t.head.children)}function ut(t,e){e.replaceWith(t);for(const n of e.querySelectorAll(`[${y}]`)){const r=n.getAttribute(y),o=t.querySelector(`[${y}="${r}"]`);o&&(o.replaceWith(n),o.localName==="astro-island"&&ft(n)&&(n.setAttribute("ssr",""),n.setAttribute("props",o.getAttribute("props"))))}}const dt=()=>{const t=document.activeElement;if(t?.closest(`[${y}]`)){if(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement){const e=t.selectionStart,n=t.selectionEnd;return()=>L({activeElement:t,start:e,end:n})}return()=>L({activeElement:t})}else return()=>L({activeElement:null})},L=({activeElement:t,start:e,end:n})=>{t&&(t.focus(),(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)&&(typeof e=="number"&&(t.selectionStart=e),typeof n=="number"&&(t.selectionEnd=n)))},mt=(t,e)=>{const n=t.getAttribute(y),r=n&&e.head.querySelector(`[${y}="${n}"]`);if(r)return r;if(t.matches("link[rel=stylesheet]")){const o=t.getAttribute("href");return e.head.querySelector(`link[rel=stylesheet][href="${o}"]`)}return null},ft=t=>{const e=t.dataset.astroTransitionPersistProps;return e==null||e==="false"},pt="vtbot-replace-swap",ht=()=>(document.querySelector(`meta[name="${pt}"]`)?.getAttribute("content")??"").split(",").map(t=>t.trim());document.addEventListener(N,t=>{const e=t.swap;t.swap=()=>{const n=l=>{const i=l.body.querySelectorAll("[data-vtbot-replace]"),p=[...i].map(h=>h instanceof HTMLElement&&h.dataset.vtbotReplace);return{elements:[...i],names:new Set(p)}},{elements:r,names:o}=n(document),{elements:u,names:c}=n(t.newDocument),s=[...o].filter(l=>c.has(l));if(s.length===0){e();return}const d=t.newDocument;it(d);const f=ht().map(l=>({key:l,val:document.documentElement.getAttribute(l)}));ct(d),f.forEach(l=>l.val!==null&&document.documentElement.setAttribute(l.key,l.val)),lt(d);const a=dt();s.forEach(l=>{const i=r.find(h=>h.dataset.vtbotReplace===l),p=u.find(h=>h.dataset.vtbotReplace===l);i&&p&&ut(p,i)}),a(),[...document.querySelectorAll("[class*='astro-route-announcer']")].forEach(l=>l.remove())}});const q="div.main-frame",gt=`${q} main`,bt="data-mobile-menu-expanded",yt="starlight-menu-button",A="nav.sidebar",b=`${A} .sidebar-content`,I="starlight-lang-select";function Et(t){const e=c(t.href),n=e.split(""),r=document.querySelectorAll(`${b} a[href^='/']`);if(r.length===0)return null;const o=[...r],u=o.map(s=>c(new URL(s.href,location.href).href));return o[u.map(s=>s.split("").findIndex((d,f)=>d!==n[f])).map((s,d)=>s!==-1?s:Math.min(e.length,u[d].length)+(e.length===u[d].length?1:0)).reduce((s,d,f,a)=>d>a[s]?f:s,0)];function c(s){return s.replace(/\/#/,"#").replace(/\/$/,"")}}function St(){document.querySelectorAll(`${b} [aria-current="page"]`)?.forEach(t=>t.removeAttribute("aria-current"))}function At(t){St(),Et(t)?.setAttribute("aria-current","page")}function U(t,e=!0){const n=document.querySelector(`${b} [aria-current="page"]`);let r=n?.closest("details");for(;r;)r.open=!0,r=r.parentElement?.closest("details");e&&n?.scrollIntoView({block:"center",behavior:"instant"})}function P(t){t.querySelectorAll(b+" .__collapse input").forEach((e,n)=>e.setAttribute("data-vtbot-replace",`vtbot-sms-v0-${n}`)),t.querySelectorAll(b+" :is(starlight-multi-sidebar-tabs, starlight-multi-sidebar-select)").forEach((e,n)=>{e.setAttribute("data-vtbot-replace",`vtbot-sms-${n}`),[...e.children].forEach((r,o)=>{o>0&&[...r.children].forEach((u,c)=>u.setAttribute("data-astro-transition-persist",`vtbot-sms-${n}-${o}-${c}`))})})}const vt="vtbot-starlight-replace-sidebar-content",wt="vtbot-starlight-retain-current-page-marker",F=()=>({replaceSidebarContent:document.querySelector(`head meta[name="${vt}"]`),retainCurrentPageMarker:document.querySelector(`head meta[name="${wt}"]`),mainTransitionScope:document.querySelector('head meta[name="vtbot-main-transition-scope"]')?.content});let{replaceSidebarContent:k,retainCurrentPageMarker:M,mainTransitionScope:v}=F();U();B(window.document);function Tt(t){x(document),x(t.newDocument),kt(),B(t.newDocument),Mt(t),!k&&!M&&At(t.to)}function Lt(t){Rt(t.newDocument)}function qt(t){!M&&U()}function kt(){document.body.hasAttribute(bt)&&document.body.querySelector(yt)?.closest("nav")?.dispatchEvent(new KeyboardEvent("keyup",{key:"Escape",code:"Escape",charCode:27,keyCode:27,shiftKey:!1,ctrlKey:!1,altKey:!1,metaKey:!1}))}function x(t){t.body.querySelector(q)?.setAttribute("data-vtbot-replace","main")}function Mt(t){if(!v)return;e(document,v),e(t.newDocument,v);function e(n,r){const o=n.querySelector(gt);o&&(o.dataset.astroTransitionScope=r)}}function Rt(t){const e=t.querySelector(A);if(!e)document.querySelector(A)?.remove();else{const n=document.querySelector(A);if(!n)document.querySelector(q)?.insertAdjacentElement("beforebegin",e);else{const r=n.querySelector(b),o=e.querySelector(b),u=[...r?.querySelectorAll("a")??[]].map(c=>c.href).join(" ")!==[...o?.querySelectorAll("a")??[]].map(c=>c.href).join(" ");k||u?r&&o?(r.setAttribute("data-vtbot-replace","vtbot-sidebar-content"),o.setAttribute("data-vtbot-replace","vtbot-sidebar-content"),n.removeAttribute("data-vtbot-replace"),e.removeAttribute("data-vtbot-replace")):(n.setAttribute("data-vtbot-replace","vtbot-sidebar-content"),e.setAttribute("data-vtbot-replace","vtbot-sidebar-content"),r?.removeAttribute("data-vtbot-replace"),o?.removeAttribute("data-vtbot-replace")):(P(document),P(t))}}}function B(t){t.querySelectorAll(I).forEach((e,n)=>e.setAttribute("data-vtbot-replace",`vtbot-${I}-${n}`))}document.addEventListener(G,t=>{({replaceSidebarContent:k,retainCurrentPageMarker:M,mainTransitionScope:v}=F());const e=t.loader;t.loader=async()=>{await e(),Tt(t)}});document.addEventListener(N,t=>{Lt(t);const e=t.swap;t.swap=()=>{e(),qt()}});function _t(){const t=document.querySelector('[name="astro-view-transitions-fallback"]');return t?t.getAttribute("content"):"animate"}function H(t){return t.dataset.astroReload!==void 0}(V||_t()!=="none")&&(document.addEventListener("click",t=>{let e=t.target;if(t.composed&&(e=t.composedPath()[0]),e instanceof Element&&(e=e.closest("a, area")),!(e instanceof HTMLAnchorElement)&&!(e instanceof SVGAElement)&&!(e instanceof HTMLAreaElement))return;const n=e instanceof HTMLElement?e.target:e.target.baseVal,r=e instanceof HTMLElement?e.href:e.href.baseVal,o=new URL(r,location.href).origin;H(e)||e.hasAttribute("download")||!e.href||n&&n!=="_self"||o!==location.origin||t.button!==0||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey||t.defaultPrevented||(t.preventDefault(),R(r,{history:e.dataset.astroHistory==="replace"?"replace":"auto",sourceElement:e}))}),document.addEventListener("submit",t=>{let e=t.target;if(e.tagName!=="FORM"||t.defaultPrevented||H(e))return;const n=e,r=t.submitter,o=new FormData(n,r),u=typeof n.action=="string"?n.action:n.getAttribute("action"),c=typeof n.method=="string"?n.method:n.getAttribute("method");let s=r?.getAttribute("formaction")??u??location.pathname;const d=r?.getAttribute("formmethod")??c??"get";if(d==="dialog"||location.origin!==new URL(s,location.href).origin)return;const f={sourceElement:r??n};if(d==="get"){const a=new URLSearchParams(o),l=new URL(s);l.search=a.toString(),s=l.toString()}else f.formData=o;t.preventDefault(),R(s,f)}),W({prefetchAll:!0}));export{Q as _}; diff --git a/_astro/lerp.DE18kSxJ.js b/_astro/lerp.DBCyf5sS.js similarity index 83% rename from _astro/lerp.DE18kSxJ.js rename to _astro/lerp.DBCyf5sS.js index f79a4d6c..b5e1a21b 100644 --- a/_astro/lerp.DE18kSxJ.js +++ b/_astro/lerp.DBCyf5sS.js @@ -1 +1 @@ -import{i as p}from"./animare.tXT0eSNG.js";function c(r,i,f){if(typeof r=="number"&&typeof i=="number")return r+f*(i-r);if(Array.isArray(r)&&Array.isArray(i))return r.map((o,n)=>o+f*(i[n]-o));if(p(r)&&p(i)){const o=Object.assign({});for(const n in r)if(n in r&&n in i){const e=n;o[e]=r[e]+f*(i[e]-r[e])}return o}throw new Error("Invalid input types for lerp function")}export{c as l}; +import{i as p}from"./animare.BjVW0jvP.js";function c(r,i,f){if(typeof r=="number"&&typeof i=="number")return r+f*(i-r);if(Array.isArray(r)&&Array.isArray(i))return r.map((o,n)=>o+f*(i[n]-o));if(p(r)&&p(i)){const o=Object.assign({});for(const n in r)if(n in r&&n in i){const e=n;o[e]=r[e]+f*(i[e]-r[e])}return o}throw new Error("Invalid input types for lerp function")}export{c as l}; diff --git a/_astro/ui-core.D9HMTVdw.js b/_astro/ui-core.B6qw-deX.js similarity index 99% rename from _astro/ui-core.D9HMTVdw.js rename to _astro/ui-core.B6qw-deX.js index 13ab64eb..0f5bceae 100644 --- a/_astro/ui-core.D9HMTVdw.js +++ b/_astro/ui-core.B6qw-deX.js @@ -1,2 +1,2 @@ -import{_ as xs}from"./hoisted.BPzT4gG8.js";import"./animare.tXT0eSNG.js";import"./index.ChPNCYSA.js";import"./Tabs.astro_astro_type_script_index_0_lang.CCIyraCc.js";import"./router.DrYAXS1K.js";import"./index.CTbVEFV3.js";var qs=Object.defineProperty,F=(e,t)=>{for(var u in t)qs(e,u,{get:t[u],enumerable:!0})};function L(){}function hu(e){return e()}function ye(){return Object.create(null)}function J(e){e.forEach(hu)}function mu(e){return typeof e=="function"}function fe(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}var oe;function ce(e,t){return oe||(oe=document.createElement("a")),oe.href=t,e===oe.href}function Vs(e){return Object.keys(e).length===0}function A(e,t){e.appendChild(t)}function T(e,t,u){e.insertBefore(t,u||null)}function v(e){e.parentNode&&e.parentNode.removeChild(e)}function ie(e,t){for(let u=0;ue.removeEventListener(t,u,r)}function g(e,t,u){u==null?e.removeAttribute(t):e.getAttribute(t)!==u&&e.setAttribute(t,u)}function Gs(e){return Array.from(e.childNodes)}function j(e,t){t=""+t,e.data!==t&&(e.data=t)}function ze(e,t){e.value=t??""}function K(e,t,u){e.classList[u?"add":"remove"](t)}var Ws=class{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,u=null){this.e||(this.is_svg?this.e=Ks(t.nodeName):this.e=p(t.nodeType===11?"TEMPLATE":t.nodeName),this.t=t.tagName!=="TEMPLATE"?t:t.content,this.c(e)),this.i(u)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;te.indexOf(r)===-1?t.push(r):u.push(r)),u.forEach(r=>r()),$=t}var _e=new Set,W;function ae(){W={r:0,c:[],p:W}}function ne(){W.r||J(W.c),W=W.p}function z(e,t){e&&e.i&&(_e.delete(e),e.i(t))}function U(e,t,u,r){if(e&&e.o){if(_e.has(e))return;_e.add(e),W.c.push(()=>{_e.delete(e),r&&(u&&e.d(1),r())}),e.o(t)}else r&&r()}function ul(e,t){U(e,1,1,()=>{t.delete(e.key)})}function tl(e,t,u,r,s,l,a,n,i,d,_,h){let m=e.length,f=l.length,c=m;const o={};for(;c--;)o[e[c].key]=c;const E=[],B=new Map,R=new Map,k=[];for(c=f;c--;){const b=h(s,l,c),D=u(b);let w=a.get(D);w?k.push(()=>w.p(b,t)):(w=d(D,b),w.c()),B.set(D,E[c]=w),D in o&&R.set(D,Math.abs(c-o[D]))}const y=new Set,q=new Set;function P(b){z(b,1),b.m(n,_),a.set(b.key,b),_=b.first,f--}for(;m&&f;){const b=E[f-1],D=e[m-1],w=b.key,x=D.key;b===D?(_=b.first,m--,f--):B.has(x)?!a.has(w)||y.has(w)?P(b):q.has(x)?m--:R.get(w)>R.get(x)?(q.add(w),P(b)):(y.add(x),m--):(i(D,a),m--)}for(;m--;){const b=e[m];B.has(b.key)||i(b,a)}for(;f;)P(E[f-1]);return J(k),E}function rl(e,t,u){const r=e.$$.props[t];r!==void 0&&(e.$$.bound[r]=u,u(e.$$.ctx[r]))}function ke(e){e&&e.c()}function Ee(e,t,u,r){const{fragment:s,after_update:l}=e.$$;s&&s.m(t,u),r||Te(()=>{const a=e.$$.on_mount.map(hu).filter(mu);e.$$.on_destroy?e.$$.on_destroy.push(...a):J(a),e.$$.on_mount=[]}),l.forEach(Te)}function de(e,t){const u=e.$$;u.fragment!==null&&(el(u.after_update),J(u.on_destroy),u.fragment&&u.fragment.d(t),u.on_destroy=u.fragment=null,u.ctx=[])}function sl(e,t){e.$$.dirty[0]===-1&&(X.push(e),Xs(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const c=f.length?f[0]:m;return d.ctx&&s(d.ctx[h],d.ctx[h]=c)&&(!d.skip_bound&&d.bound[h]&&d.bound[h](c),_&&sl(e,h)),m}):[],d.update(),_=!0,J(d.before_update),d.fragment=r?r(d.ctx):!1,t.target){if(t.hydrate){const h=Gs(t.target);d.fragment&&d.fragment.l(h),h.forEach(v)}else d.fragment&&d.fragment.c();t.intro&&z(e.$$.fragment),Ee(e,t.target,t.anchor,t.customElement),gu()}re(i)}var me=class{$destroy(){de(this,1),this.$destroy=L}$on(e,t){if(!mu(t))return L;const u=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return u.push(t),()=>{const r=u.indexOf(t);r!==-1&&u.splice(r,1)}}$set(e){this.$$set&&!Vs(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}};function O(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Q(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function V(e){return O(e)||Q(e)}var ll=["art-lojban","cel-gaulish","no-bok","no-nyn","zh-guoyu","zh-hakka","zh-min","zh-min-nan","zh-xiang"],je={"en-gb-oed":"en-GB-oxendict","i-ami":"ami","i-bnn":"bnn","i-default":null,"i-enochian":null,"i-hak":"hak","i-klingon":"tlh","i-lux":"lb","i-mingo":null,"i-navajo":"nv","i-pwn":"pwn","i-tao":"tao","i-tay":"tay","i-tsu":"tsu","sgn-be-fr":"sfb","sgn-be-nl":"vgt","sgn-ch-de":"sgg","art-lojban":"jbo","cel-gaulish":null,"no-bok":"nb","no-nyn":"nn","zh-guoyu":"cmn","zh-hakka":"hak","zh-min":null,"zh-min-nan":"nan","zh-xiang":"hsn"},al={}.hasOwnProperty;function Ru(e,t={}){const u=Oe(),r=String(e),s=r.toLowerCase();let l=0;if(e==null)throw new Error("Expected string, got `"+e+"`");if(al.call(je,s)){const n=je[s];return(t.normalize===void 0||t.normalize===null||t.normalize)&&typeof n=="string"?Ru(n):(u[ll.includes(s)?"regular":"irregular"]=r,u)}for(;O(s.charCodeAt(l))&&l<9;)l++;if(l>1&&l<9){if(u.language=r.slice(0,l),l<4){let n=0;for(;s.charCodeAt(l)===45&&O(s.charCodeAt(l+1))&&O(s.charCodeAt(l+2))&&O(s.charCodeAt(l+3))&&!O(s.charCodeAt(l+4));){if(n>2)return a(l,3,"Too many extended language subtags, expected at most 3 subtags");u.extendedLanguageSubtags.push(r.slice(l+1,l+4)),l+=4,n++}}for(s.charCodeAt(l)===45&&O(s.charCodeAt(l+1))&&O(s.charCodeAt(l+2))&&O(s.charCodeAt(l+3))&&O(s.charCodeAt(l+4))&&!O(s.charCodeAt(l+5))&&(u.script=r.slice(l+1,l+5),l+=5),s.charCodeAt(l)===45&&(O(s.charCodeAt(l+1))&&O(s.charCodeAt(l+2))&&!O(s.charCodeAt(l+3))?(u.region=r.slice(l+1,l+3),l+=3):Q(s.charCodeAt(l+1))&&Q(s.charCodeAt(l+2))&&Q(s.charCodeAt(l+3))&&!Q(s.charCodeAt(l+4))&&(u.region=r.slice(l+1,l+4),l+=4));s.charCodeAt(l)===45;){const n=l+1;let i=n;for(;V(s.charCodeAt(i));){if(i-n>7)return a(i,1,"Too long variant, expected at most 8 characters");i++}if(i-n>4||i-n>3&&Q(s.charCodeAt(n)))u.variants.push(r.slice(n,i)),l=i;else break}for(;s.charCodeAt(l)===45&&!(s.charCodeAt(l+1)===120||!V(s.charCodeAt(l+1))||s.charCodeAt(l+2)!==45||!V(s.charCodeAt(l+3)));){let n=l+2,i=0;for(;s.charCodeAt(n)===45&&V(s.charCodeAt(n+1))&&V(s.charCodeAt(n+2));){const d=n+1;for(n=d+2,i++;V(s.charCodeAt(n));){if(n-d>7)return a(n,2,"Too long extension, expected at most 8 characters");n++}}if(!i)return a(n,4,"Empty extension, extensions must have at least 2 characters of content");u.extensions.push({singleton:r.charAt(l+1),extensions:r.slice(l+3,n).split("-")}),l=n}}else l=0;if(l===0&&s.charCodeAt(l)===120||s.charCodeAt(l)===45&&s.charCodeAt(l+1)===120){l=l?l+2:1;let n=l;for(;s.charCodeAt(n)===45&&V(s.charCodeAt(n+1));){const i=l+1;for(n=i;V(s.charCodeAt(n));){if(n-i>7)return a(n,5,"Too long private-use area, expected at most 8 characters");n++}u.privateuse.push(r.slice(l+1,n)),l=n}}if(l!==r.length)return a(l,6,"Found superfluous content after tag");return u;function a(n,i,d){return t.warning&&t.warning(d,i,n),t.forgiving?u:Oe()}}function Oe(){return{language:null,extendedLanguageSubtags:[],script:null,region:null,variants:[],extensions:[],privateuse:[],irregular:null,regular:null}}function Ue(e,t,u){const r=e.slice();return r[8]=t[u][0],r[9]=t[u][1],r}function nl(e){let t,u,r,s,l,a=e[0]&&Ie();return{c(){a&&a.c(),t=M(),u=p("div"),r=p("p"),r.textContent=`${e[3](30)}`,s=M(),l=p("p"),l.textContent=`${e[3](40)}`,g(r,"class","pagefind-ui__result-title pagefind-ui__loading svelte-j9e30"),g(l,"class","pagefind-ui__result-excerpt pagefind-ui__loading svelte-j9e30"),g(u,"class","pagefind-ui__result-inner svelte-j9e30")},m(n,i){a&&a.m(n,i),T(n,t,i),T(n,u,i),A(u,r),A(u,s),A(u,l)},p(n,i){n[0]?a||(a=Ie(),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){a&&a.d(n),n&&v(t),n&&v(u)}}}function il(e){let t,u,r,s,l=e[1].meta?.title+"",a,n,i,d,_=e[1].excerpt+"",h,m=e[0]&&Le(e),f=e[2].length&&xe(e);return{c(){m&&m.c(),t=M(),u=p("div"),r=p("p"),s=p("a"),a=S(l),i=M(),d=p("p"),h=M(),f&&f.c(),g(s,"class","pagefind-ui__result-link svelte-j9e30"),g(s,"href",n=e[1].meta?.url||e[1].url),g(r,"class","pagefind-ui__result-title svelte-j9e30"),g(d,"class","pagefind-ui__result-excerpt svelte-j9e30"),g(u,"class","pagefind-ui__result-inner svelte-j9e30")},m(c,o){m&&m.m(c,o),T(c,t,o),T(c,u,o),A(u,r),A(r,s),A(s,a),A(u,i),A(u,d),d.innerHTML=_,A(u,h),f&&f.m(u,null)},p(c,o){c[0]?m?m.p(c,o):(m=Le(c),m.c(),m.m(t.parentNode,t)):m&&(m.d(1),m=null),o&2&&l!==(l=c[1].meta?.title+"")&&j(a,l),o&2&&n!==(n=c[1].meta?.url||c[1].url)&&g(s,"href",n),o&2&&_!==(_=c[1].excerpt+"")&&(d.innerHTML=_),c[2].length?f?f.p(c,o):(f=xe(c),f.c(),f.m(u,null)):f&&(f.d(1),f=null)},d(c){m&&m.d(c),c&&v(t),c&&v(u),f&&f.d()}}}function Ie(e){let t;return{c(){t=p("div"),g(t,"class","pagefind-ui__result-thumb pagefind-ui__loading svelte-j9e30")},m(u,r){T(u,t,r)},d(u){u&&v(t)}}}function Le(e){let t,u=e[1].meta.image&&Pe(e);return{c(){t=p("div"),u&&u.c(),g(t,"class","pagefind-ui__result-thumb svelte-j9e30")},m(r,s){T(r,t,s),u&&u.m(t,null)},p(r,s){r[1].meta.image?u?u.p(r,s):(u=Pe(r),u.c(),u.m(t,null)):u&&(u.d(1),u=null)},d(r){r&&v(t),u&&u.d()}}}function Pe(e){let t,u,r;return{c(){t=p("img"),g(t,"class","pagefind-ui__result-image svelte-j9e30"),ce(t.src,u=e[1].meta?.image)||g(t,"src",u),g(t,"alt",r=e[1].meta?.image_alt||e[1].meta?.title)},m(s,l){T(s,t,l)},p(s,l){l&2&&!ce(t.src,u=s[1].meta?.image)&&g(t,"src",u),l&2&&r!==(r=s[1].meta?.image_alt||s[1].meta?.title)&&g(t,"alt",r)},d(s){s&&v(t)}}}function xe(e){let t,u=e[2],r=[];for(let s=0;se.toLocaleUpperCase();function _l(e,t,u){let{show_images:r=!0}=t,{process_result:s=null}=t,{result:l={data:async()=>{}}}=t;const a=["title","image","image_alt","url"];let n,i=[];const d=async h=>{u(1,n=await h.data()),u(1,n=s?.(n)??n),u(2,i=Object.entries(n.meta).filter(([m])=>!a.includes(m)))},_=(h=30)=>". ".repeat(Math.floor(10+Math.random()*h));return e.$$set=h=>{"show_images"in h&&u(0,r=h.show_images),"process_result"in h&&u(4,s=h.process_result),"result"in h&&u(5,l=h.result)},e.$$.update=()=>{e.$$.dirty&32&&d(l)},[r,n,i,_,s,l]}var cl=class extends me{constructor(e){super(),he(this,e,_l,ol,fe,{show_images:0,process_result:4,result:5})}},fl=cl;function Ke(e,t,u){const r=e.slice();return r[11]=t[u][0],r[12]=t[u][1],r}function Ge(e,t,u){const r=e.slice();return r[15]=t[u],r}function El(e){let t,u,r,s,l,a=e[0]&&We();return{c(){a&&a.c(),t=M(),u=p("div"),r=p("p"),r.textContent=`${e[5](30)}`,s=M(),l=p("p"),l.textContent=`${e[5](40)}`,g(r,"class","pagefind-ui__result-title pagefind-ui__loading svelte-4xnkmf"),g(l,"class","pagefind-ui__result-excerpt pagefind-ui__loading svelte-4xnkmf"),g(u,"class","pagefind-ui__result-inner svelte-4xnkmf")},m(n,i){a&&a.m(n,i),T(n,t,i),T(n,u,i),A(u,r),A(u,s),A(u,l)},p(n,i){n[0]?a||(a=We(),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){a&&a.d(n),n&&v(t),n&&v(u)}}}function dl(e){let t,u,r,s,l=e[1].meta?.title+"",a,n,i,d,_,h=e[0]&&Je(e),m=e[4]&&Ye(e),f=e[3],c=[];for(let E=0;Ee.toLocaleUpperCase();function ml(e,t,u){let{show_images:r=!0}=t,{process_result:s=null}=t,{result:l={data:async()=>{}}}=t;const a=["title","image","image_alt","url"];let n,i=[],d=[],_=!1;const h=(c,o)=>{if(c.length<=o)return c;const E=[...c].sort((B,R)=>R.locations.length-B.locations.length).slice(0,3).map(B=>B.url);return c.filter(B=>E.includes(B.url))},m=async c=>{u(1,n=await c.data()),u(1,n=s?.(n)??n),u(2,i=Object.entries(n.meta).filter(([o])=>!a.includes(o))),Array.isArray(n.sub_results)&&(u(4,_=n.sub_results?.[0]?.url===(n.meta?.url||n.url)),_?u(3,d=h(n.sub_results.slice(1),3)):u(3,d=h([...n.sub_results],3)))},f=(c=30)=>". ".repeat(Math.floor(10+Math.random()*c));return e.$$set=c=>{"show_images"in c&&u(0,r=c.show_images),"process_result"in c&&u(6,s=c.process_result),"result"in c&&u(7,l=c.result)},e.$$.update=()=>{e.$$.dirty&128&&m(l)},[r,n,i,d,_,f,s,l]}var Cl=class extends me{constructor(e){super(),he(this,e,ml,hl,fe,{show_images:0,process_result:6,result:7})}},gl=Cl;function uu(e,t,u){const r=e.slice();return r[10]=t[u][0],r[11]=t[u][1],r[12]=t,r[13]=u,r}function tu(e,t,u){const r=e.slice();return r[14]=t[u][0],r[15]=t[u][1],r[16]=t,r[17]=u,r}function ru(e){let t,u,r=e[4]("filters_label",e[5],e[6])+"",s,l,a=Object.entries(e[1]),n=[];for(let i=0;ie.toLocaleUpperCase(),iu=e=>e.toLowerCase();function Bl(e,t,u){let{available_filters:r=null}=t,{show_empty_filters:s=!0}=t,{open_filters:l=[]}=t,{translate:a=()=>""}=t,{automatic_translations:n={}}=t,{translations:i={}}=t,{selected_filters:d={}}=t,_=!1,h=!1;function m(f,c){d[`${f}:${c}`]=this.checked,u(0,d)}return e.$$set=f=>{"available_filters"in f&&u(1,r=f.available_filters),"show_empty_filters"in f&&u(2,s=f.show_empty_filters),"open_filters"in f&&u(3,l=f.open_filters),"translate"in f&&u(4,a=f.translate),"automatic_translations"in f&&u(5,n=f.automatic_translations),"translations"in f&&u(6,i=f.translations),"selected_filters"in f&&u(0,d=f.selected_filters)},e.$$.update=()=>{if(e.$$.dirty&258&&r&&!_){u(8,_=!0);let f=Object.entries(r||{});f.length===1&&Object.entries(f[0][1])?.length<=6&&u(7,h=!0)}},[d,r,s,l,a,n,i,h,_,m]}var Al=class extends me{constructor(e){super(),he(this,e,Bl,Rl,fe,{available_filters:1,show_empty_filters:2,open_filters:3,translate:4,automatic_translations:5,translations:6,selected_filters:0})}},pl=Al,Bu={};F(Bu,{comments:()=>pu,default:()=>vl,direction:()=>vu,strings:()=>Tu,thanks_to:()=>Au});var Au="Jan Claasen ",pu="",vu="ltr",Tu={placeholder:"Soek",clear_search:"Opruim",load_more:"Laai nog resultate",search_label:"Soek hierdie webwerf",filters_label:"Filters",zero_results:"Geen resultate vir [SEARCH_TERM]",many_results:"[COUNT] resultate vir [SEARCH_TERM]",one_result:"[COUNT] resultate vir [SEARCH_TERM]",alt_search:"Geen resultate vir [SEARCH_TERM]. Toon resultate vir [DIFFERENT_TERM] in plaas daarvan",search_suggestion:"Geen resultate vir [SEARCH_TERM]. Probeer eerder een van die volgende terme:",searching:"Soek vir [SEARCH_TERM]"},vl={thanks_to:Au,comments:pu,direction:vu,strings:Tu},Fu={};F(Fu,{comments:()=>bu,default:()=>Tl,direction:()=>Mu,strings:()=>Su,thanks_to:()=>ku});var ku="Maruf Alom ",bu="",Mu="ltr",Su={placeholder:"অনুসন্ধান করুন",clear_search:"মুছে ফেলুন",load_more:"আরো ফলাফল দেখুন",search_label:"এই ওয়েবসাইটে অনুসন্ধান করুন",filters_label:"ফিল্টার",zero_results:"[SEARCH_TERM] এর জন্য কিছু খুঁজে পাওয়া যায়নি",many_results:"[COUNT]-টি ফলাফল পাওয়া গিয়েছে [SEARCH_TERM] এর জন্য",one_result:"[COUNT]-টি ফলাফল পাওয়া গিয়েছে [SEARCH_TERM] এর জন্য",alt_search:"কোন কিছু খুঁজে পাওয়া যায়নি [SEARCH_TERM] এর জন্য. পরিবর্তে [DIFFERENT_TERM] এর জন্য দেখানো হচ্ছে",search_suggestion:"কোন কিছু খুঁজে পাওয়া যায়নি [SEARCH_TERM] এর বিষয়ে. নিন্মের বিষয়বস্তু খুঁজে দেখুন:",searching:"অনুসন্ধান চলছে [SEARCH_TERM]..."},Tl={thanks_to:ku,comments:bu,direction:Mu,strings:Su},Du={};F(Du,{comments:()=>wu,default:()=>Fl,direction:()=>Nu,strings:()=>yu,thanks_to:()=>Hu});var Hu="Pablo Villaverde ",wu="",Nu="ltr",yu={placeholder:"Cerca",clear_search:"Netejar",load_more:"Veure mées resultats",search_label:"Cerca en aquest lloc",filters_label:"Filtres",zero_results:"No es van trobar resultats per [SEARCH_TERM]",many_results:"[COUNT] resultats trobats per [SEARCH_TERM]",one_result:"[COUNT] resultat trobat per [SEARCH_TERM]",alt_search:"No es van trobar resultats per [SEARCH_TERM]. Mostrant al seu lloc resultats per [DIFFERENT_TERM]",search_suggestion:"No es van trobar resultats per [SEARCH_TERM]. Proveu una de les cerques següents:",searching:"Cercant [SEARCH_TERM]..."},Fl={thanks_to:Hu,comments:wu,direction:Nu,strings:yu},zu={};F(zu,{comments:()=>Ou,default:()=>kl,direction:()=>Uu,strings:()=>Iu,thanks_to:()=>ju});var ju="Dalibor Hon ",Ou="",Uu="ltr",Iu={placeholder:"Hledat",clear_search:"Smazat",load_more:"Načíst další výsledky",search_label:"Prohledat tuto stránku",filters_label:"Filtry",zero_results:"Žádné výsledky pro [SEARCH_TERM]",many_results:"[COUNT] výsledků pro [SEARCH_TERM]",one_result:"[COUNT] výsledek pro [SEARCH_TERM]",alt_search:"Žádné výsledky pro [SEARCH_TERM]. Zobrazují se výsledky pro [DIFFERENT_TERM]",search_suggestion:"Žádné výsledky pro [SEARCH_TERM]. Související výsledky hledání:",searching:"Hledám [SEARCH_TERM]..."},kl={thanks_to:ju,comments:Ou,direction:Uu,strings:Iu},Lu={};F(Lu,{comments:()=>xu,default:()=>bl,direction:()=>qu,strings:()=>Vu,thanks_to:()=>Pu});var Pu="Jonas Smedegaard ",xu="",qu="ltr",Vu={placeholder:"Søg",clear_search:"Nulstil",load_more:"Indlæs flere resultater",search_label:"Søg på dette website",filters_label:"Filtre",zero_results:"Ingen resultater for [SEARCH_TERM]",many_results:"[COUNT] resultater for [SEARCH_TERM]",one_result:"[COUNT] resultat for [SEARCH_TERM]",alt_search:"Ingen resultater for [SEARCH_TERM]. Viser resultater for [DIFFERENT_TERM] i stedet",search_suggestion:"Ingen resultater for [SEARCH_TERM]. Prøv et af disse søgeord i stedet:",searching:"Søger efter [SEARCH_TERM]..."},bl={thanks_to:Pu,comments:xu,direction:qu,strings:Vu},Ku={};F(Ku,{comments:()=>Wu,default:()=>Ml,direction:()=>Ju,strings:()=>Zu,thanks_to:()=>Gu});var Gu="Jan Claasen ",Wu="",Ju="ltr",Zu={placeholder:"Suche",clear_search:"Löschen",load_more:"Mehr Ergebnisse laden",search_label:"Suche diese Seite",filters_label:"Filter",zero_results:"Keine Ergebnisse für [SEARCH_TERM]",many_results:"[COUNT] Ergebnisse für [SEARCH_TERM]",one_result:"[COUNT] Ergebnis für [SEARCH_TERM]",alt_search:"Keine Ergebnisse für [SEARCH_TERM]. Stattdessen werden Ergebnisse für [DIFFERENT_TERM] angezeigt",search_suggestion:"Keine Ergebnisse für [SEARCH_TERM]. Versuchen Sie eine der folgenden Suchen:",searching:"Suche für [SEARCH_TERM]"},Ml={thanks_to:Gu,comments:Wu,direction:Ju,strings:Zu},Yu={};F(Yu,{comments:()=>Qu,default:()=>Sl,direction:()=>$u,strings:()=>et,thanks_to:()=>Xu});var Xu="Liam Bigelow ",Qu="",$u="ltr",et={placeholder:"Search",clear_search:"Clear",load_more:"Load more results",search_label:"Search this site",filters_label:"Filters",zero_results:"No results for [SEARCH_TERM]",many_results:"[COUNT] results for [SEARCH_TERM]",one_result:"[COUNT] result for [SEARCH_TERM]",alt_search:"No results for [SEARCH_TERM]. Showing results for [DIFFERENT_TERM] instead",search_suggestion:"No results for [SEARCH_TERM]. Try one of the following searches:",searching:"Searching for [SEARCH_TERM]..."},Sl={thanks_to:Xu,comments:Qu,direction:$u,strings:et},ut={};F(ut,{comments:()=>rt,default:()=>Dl,direction:()=>st,strings:()=>lt,thanks_to:()=>tt});var tt="Pablo Villaverde ",rt="",st="ltr",lt={placeholder:"Buscar",clear_search:"Limpiar",load_more:"Ver más resultados",search_label:"Buscar en este sitio",filters_label:"Filtros",zero_results:"No se encontraron resultados para [SEARCH_TERM]",many_results:"[COUNT] resultados encontrados para [SEARCH_TERM]",one_result:"[COUNT] resultado encontrado para [SEARCH_TERM]",alt_search:"No se encontraron resultados para [SEARCH_TERM]. Mostrando en su lugar resultados para [DIFFERENT_TERM]",search_suggestion:"No se encontraron resultados para [SEARCH_TERM]. Prueba una de las siguientes búsquedas:",searching:"Buscando [SEARCH_TERM]..."},Dl={thanks_to:tt,comments:rt,direction:st,strings:lt},at={};F(at,{comments:()=>it,default:()=>Hl,direction:()=>ot,strings:()=>_t,thanks_to:()=>nt});var nt="Valtteri Laitinen ",it="",ot="ltr",_t={placeholder:"Haku",clear_search:"Tyhjennä",load_more:"Lataa lisää tuloksia",search_label:"Hae tältä sivustolta",filters_label:"Suodattimet",zero_results:"Ei tuloksia haulle [SEARCH_TERM]",many_results:"[COUNT] tulosta haulle [SEARCH_TERM]",one_result:"[COUNT] tulos haulle [SEARCH_TERM]",alt_search:"Ei tuloksia haulle [SEARCH_TERM]. Näytetään tulokset sen sijaan haulle [DIFFERENT_TERM]",search_suggestion:"Ei tuloksia haulle [SEARCH_TERM]. Kokeile jotain seuraavista:",searching:"Haetaan [SEARCH_TERM]..."},Hl={thanks_to:nt,comments:it,direction:ot,strings:_t},ct={};F(ct,{comments:()=>Et,default:()=>wl,direction:()=>dt,strings:()=>ht,thanks_to:()=>ft});var ft="Nicolas Friedli ",Et="",dt="ltr",ht={placeholder:"Rechercher",clear_search:"Nettoyer",load_more:"Charger plus de résultats",search_label:"Recherche sur ce site",filters_label:"Filtres",zero_results:"Pas de résultat pour [SEARCH_TERM]",many_results:"[COUNT] résultats pour [SEARCH_TERM]",one_result:"[COUNT] résultat pour [SEARCH_TERM]",alt_search:"Pas de résultat pour [SEARCH_TERM]. Montre les résultats pour [DIFFERENT_TERM] à la place",search_suggestion:"Pas de résultat pour [SEARCH_TERM]. Essayer une des recherches suivantes:",searching:"Recherche [SEARCH_TERM]..."},wl={thanks_to:ft,comments:Et,direction:dt,strings:ht},mt={};F(mt,{comments:()=>gt,default:()=>Nl,direction:()=>Rt,strings:()=>Bt,thanks_to:()=>Ct});var Ct="Pablo Villaverde ",gt="",Rt="ltr",Bt={placeholder:"Buscar",clear_search:"Limpar",load_more:"Ver máis resultados",search_label:"Buscar neste sitio",filters_label:"Filtros",zero_results:"Non se atoparon resultados para [SEARCH_TERM]",many_results:"[COUNT] resultados atopados para [SEARCH_TERM]",one_result:"[COUNT] resultado atopado para [SEARCH_TERM]",alt_search:"Non se atoparon resultados para [SEARCH_TERM]. Amosando no seu lugar resultados para [DIFFERENT_TERM]",search_suggestion:"Non se atoparon resultados para [SEARCH_TERM]. Probe unha das seguintes pesquisas:",searching:"Buscando [SEARCH_TERM]..."},Nl={thanks_to:Ct,comments:gt,direction:Rt,strings:Bt},At={};F(At,{comments:()=>vt,default:()=>yl,direction:()=>Tt,strings:()=>Ft,thanks_to:()=>pt});var pt="Amit Yadav ",vt="",Tt="ltr",Ft={placeholder:"खोजें",clear_search:"साफ करें",load_more:"और अधिक परिणाम लोड करें",search_label:"इस साइट में खोजें",filters_label:"फ़िल्टर",zero_results:"कोई परिणाम [SEARCH_TERM] के लिए नहीं मिला",many_results:"[COUNT] परिणाम [SEARCH_TERM] के लिए मिले",one_result:"[COUNT] परिणाम [SEARCH_TERM] के लिए मिला",alt_search:"[SEARCH_TERM] के लिए कोई परिणाम नहीं मिला। इसके बजाय [DIFFERENT_TERM] के लिए परिणाम दिखा रहा है",search_suggestion:"[SEARCH_TERM] के लिए कोई परिणाम नहीं मिला। निम्नलिखित खोजों में से कोई एक आज़माएं:",searching:"[SEARCH_TERM] की खोज की जा रही है..."},yl={thanks_to:pt,comments:vt,direction:Tt,strings:Ft},kt={};F(kt,{comments:()=>Mt,default:()=>zl,direction:()=>St,strings:()=>Dt,thanks_to:()=>bt});var bt="Diomed ",Mt="",St="ltr",Dt={placeholder:"Traži",clear_search:"Očisti",load_more:"Učitaj više rezultata",search_label:"Pretraži ovu stranicu",filters_label:"Filteri",zero_results:"Nema rezultata za [SEARCH_TERM]",many_results:"[COUNT] rezultata za [SEARCH_TERM]",one_result:"[COUNT] rezultat za [SEARCH_TERM]",alt_search:"Nema rezultata za [SEARCH_TERM]. Prikazujem rezultate za [DIFFERENT_TERM]",search_suggestion:"Nema rezultata za [SEARCH_TERM]. Pokušaj s jednom od ovih pretraga:",searching:"Pretražujem [SEARCH_TERM]..."},zl={thanks_to:bt,comments:Mt,direction:St,strings:Dt},Ht={};F(Ht,{comments:()=>Nt,default:()=>jl,direction:()=>yt,strings:()=>zt,thanks_to:()=>wt});var wt="Adam Laki ",Nt="",yt="ltr",zt={placeholder:"Keresés",clear_search:"Törlés",load_more:"További találatok betöltése",search_label:"Keresés az oldalon",filters_label:"Szűrés",zero_results:"Nincs találat a(z) [SEARCH_TERM] kifejezésre",many_results:"[COUNT] db találat a(z) [SEARCH_TERM] kifejezésre",one_result:"[COUNT] db találat a(z) [SEARCH_TERM] kifejezésre",alt_search:"Nincs találat a(z) [SEARCH_TERM] kifejezésre. Találatok mutatása inkább a(z) [DIFFERENT_TERM] kifejezésre",search_suggestion:"Nincs találat a(z) [SEARCH_TERM] kifejezésre. Próbáld meg a következő keresések egyikét:",searching:"Keresés a(z) [SEARCH_TERM] kifejezésre..."},jl={thanks_to:wt,comments:Nt,direction:yt,strings:zt},jt={};F(jt,{comments:()=>Ut,default:()=>Ol,direction:()=>It,strings:()=>Lt,thanks_to:()=>Ot});var Ot="Nixentric",Ut="",It="ltr",Lt={placeholder:"Cari",clear_search:"Bersihkan",load_more:"Muat lebih banyak hasil",search_label:"Telusuri situs ini",filters_label:"Filter",zero_results:"[SEARCH_TERM] tidak ditemukan",many_results:"Ditemukan [COUNT] hasil untuk [SEARCH_TERM]",one_result:"Ditemukan [COUNT] hasil untuk [SEARCH_TERM]",alt_search:"[SEARCH_TERM] tidak ditemukan. Menampilkan hasil [DIFFERENT_TERM] sebagai gantinya",search_suggestion:"[SEARCH_TERM] tidak ditemukan. Coba salah satu pencarian berikut ini:",searching:"Mencari [SEARCH_TERM]..."},Ol={thanks_to:Ot,comments:Ut,direction:It,strings:Lt},Pt={};F(Pt,{comments:()=>qt,default:()=>Ul,direction:()=>Vt,strings:()=>Kt,thanks_to:()=>xt});var xt="Cosette Bruhns Alonso, Andrew Janco ",qt="",Vt="ltr",Kt={placeholder:"Cerca",clear_search:"Cancella la cronologia",load_more:"Mostra più risultati",search_label:"Cerca nel sito",filters_label:"Filtri di ricerca",zero_results:"Nessun risultato per [SEARCH_TERM]",many_results:"[COUNT] risultati per [SEARCH_TERM]",one_result:"[COUNT] risultato per [SEARCH_TERM]",alt_search:"Nessun risultato per [SEARCH_TERM]. Mostrando risultati per [DIFFERENT_TERM] come alternativa.",search_suggestion:"Nessun risultato per [SEARCH_TERM]. Prova una delle seguenti ricerche:",searching:"Cercando [SEARCH_TERM]..."},Ul={thanks_to:xt,comments:qt,direction:Vt,strings:Kt},Gt={};F(Gt,{comments:()=>Jt,default:()=>Il,direction:()=>Zt,strings:()=>Yt,thanks_to:()=>Wt});var Wt="Tate",Jt="",Zt="ltr",Yt={placeholder:"検索",clear_search:"クリア",load_more:"次を読み込む",search_label:"このサイトを検索",filters_label:"フィルタ",zero_results:"[SEARCH_TERM]の検索に一致する情報はありませんでした",many_results:"[SEARCH_TERM]の[COUNT]件の検索結果",one_result:"[SEARCH_TERM]の[COUNT]件の検索結果",alt_search:"[SEARCH_TERM]の検索に一致する情報はありませんでした。[DIFFERENT_TERM]の検索結果を表示しています",search_suggestion:"[SEARCH_TERM]の検索に一致する情報はありませんでした。次のいずれかの検索を試してください",searching:"[SEARCH_TERM]を検索しています"},Il={thanks_to:Wt,comments:Jt,direction:Zt,strings:Yt},Xt={};F(Xt,{comments:()=>$t,default:()=>Ll,direction:()=>er,strings:()=>ur,thanks_to:()=>Qt});var Qt="Seokho Son ",$t="",er="ltr",ur={placeholder:"검색어",clear_search:"비우기",load_more:"검색 결과 더 보기",search_label:"사이트 검색",filters_label:"필터",zero_results:"[SEARCH_TERM]에 대한 결과 없음",many_results:"[SEARCH_TERM]에 대한 결과 [COUNT]건",one_result:"[SEARCH_TERM]에 대한 결과 [COUNT]건",alt_search:"[SEARCH_TERM]에 대한 결과 없음. [DIFFERENT_TERM]에 대한 결과",search_suggestion:"[SEARCH_TERM]에 대한 결과 없음. 추천 검색어: ",searching:"[SEARCH_TERM] 검색 중..."},Ll={thanks_to:Qt,comments:$t,direction:er,strings:ur},tr={};F(tr,{comments:()=>sr,default:()=>Pl,direction:()=>lr,strings:()=>ar,thanks_to:()=>rr});var rr="",sr="",lr="ltr",ar={placeholder:"Rapu",clear_search:"Whakakore",load_more:"Whakauta ētahi otinga kē",search_label:"Rapu",filters_label:"Tātari",zero_results:"Otinga kore ki [SEARCH_TERM]",many_results:"[COUNT] otinga ki [SEARCH_TERM]",one_result:"[COUNT] otinga ki [SEARCH_TERM]",alt_search:"Otinga kore ki [SEARCH_TERM]. Otinga kē ki [DIFFERENT_TERM]",search_suggestion:"Otinga kore ki [SEARCH_TERM]. whakamātau ki ngā mea atu:",searching:"Rapu ki [SEARCH_TERM]..."},Pl={thanks_to:rr,comments:sr,direction:lr,strings:ar},nr={};F(nr,{comments:()=>or,default:()=>xl,direction:()=>_r,strings:()=>cr,thanks_to:()=>ir});var ir="Paul van Brouwershaven",or="",_r="ltr",cr={placeholder:"Zoeken",clear_search:"Reset",load_more:"Meer resultaten laden",search_label:"Doorzoek deze site",filters_label:"Filters",zero_results:"Geen resultaten voor [SEARCH_TERM]",many_results:"[COUNT] resultaten voor [SEARCH_TERM]",one_result:"[COUNT] resultaat voor [SEARCH_TERM]",alt_search:"Geen resultaten voor [SEARCH_TERM]. In plaats daarvan worden resultaten voor [DIFFERENT_TERM] weergegeven",search_suggestion:"Geen resultaten voor [SEARCH_TERM]. Probeer een van de volgende zoekopdrachten:",searching:"Zoeken naar [SEARCH_TERM]..."},xl={thanks_to:ir,comments:or,direction:_r,strings:cr},fr={};F(fr,{comments:()=>dr,default:()=>ql,direction:()=>hr,strings:()=>mr,thanks_to:()=>Er});var Er="Christopher Wingate",dr="",hr="ltr",mr={placeholder:"Søk",clear_search:"Fjern",load_more:"Last flere resultater",search_label:"Søk på denne siden",filters_label:"Filtre",zero_results:"Ingen resultater for [SEARCH_TERM]",many_results:"[COUNT] resultater for [SEARCH_TERM]",one_result:"[COUNT] resultat for [SEARCH_TERM]",alt_search:"Ingen resultater for [SEARCH_TERM]. Viser resultater for [DIFFERENT_TERM] i stedet",search_suggestion:"Ingen resultater for [SEARCH_TERM]. Prøv en av disse søkeordene i stedet:",searching:"Søker etter [SEARCH_TERM]"},ql={thanks_to:Er,comments:dr,direction:hr,strings:mr},Cr={};F(Cr,{comments:()=>Rr,default:()=>Vl,direction:()=>Br,strings:()=>Ar,thanks_to:()=>gr});var gr="",Rr="",Br="ltr",Ar={placeholder:"Szukaj",clear_search:"Wyczyść",load_more:"Załaduj więcej",search_label:"Przeszukaj tę stronę",filters_label:"Filtry",zero_results:"Brak wyników dla [SEARCH_TERM]",many_results:"[COUNT] wyników dla [SEARCH_TERM]",one_result:"[COUNT] wynik dla [SEARCH_TERM]",alt_search:"Brak wyników dla [SEARCH_TERM]. Wyświetlam wyniki dla [DIFFERENT_TERM]",search_suggestion:"Brak wyników dla [SEARCH_TERM]. Pokrewne wyniki wyszukiwania:",searching:"Szukam [SEARCH_TERM]..."},Vl={thanks_to:gr,comments:Rr,direction:Br,strings:Ar},pr={};F(pr,{comments:()=>Tr,default:()=>Kl,direction:()=>Fr,strings:()=>kr,thanks_to:()=>vr});var vr="Jonatah",Tr="",Fr="ltr",kr={placeholder:"Pesquisar",clear_search:"Limpar",load_more:"Ver mais resultados",search_label:"Pesquisar",filters_label:"Filtros",zero_results:"Nenhum resultado encontrado para [SEARCH_TERM]",many_results:"[COUNT] resultados encontrados para [SEARCH_TERM]",one_result:"[COUNT] resultado encontrado para [SEARCH_TERM]",alt_search:"Nenhum resultado encontrado para [SEARCH_TERM]. Exibindo resultados para [DIFFERENT_TERM]",search_suggestion:"Nenhum resultado encontrado para [SEARCH_TERM]. Tente uma das seguintes pesquisas:",searching:"Pesquisando por [SEARCH_TERM]..."},Kl={thanks_to:vr,comments:Tr,direction:Fr,strings:kr},br={};F(br,{comments:()=>Sr,default:()=>Gl,direction:()=>Dr,strings:()=>Hr,thanks_to:()=>Mr});var Mr="Bogdan Mateescu ",Sr="",Dr="ltr",Hr={placeholder:"Căutare",clear_search:"Ştergeţi",load_more:"Încărcați mai multe rezultate",search_label:"Căutați în acest site",filters_label:"Filtre",zero_results:"Niciun rezultat pentru [SEARCH_TERM]",many_results:"[COUNT] rezultate pentru [SEARCH_TERM]",one_result:"[COUNT] rezultat pentru [SEARCH_TERM]",alt_search:"Niciun rezultat pentru [SEARCH_TERM]. Se afișează în schimb rezultatele pentru [DIFFERENT_TERM]",search_suggestion:"Niciun rezultat pentru [SEARCH_TERM]. Încercați una dintre următoarele căutări:",searching:"Se caută după: [SEARCH_TERM]..."},Gl={thanks_to:Mr,comments:Sr,direction:Dr,strings:Hr},wr={};F(wr,{comments:()=>yr,default:()=>Wl,direction:()=>zr,strings:()=>jr,thanks_to:()=>Nr});var Nr="Aleksandr Gordeev",yr="",zr="ltr",jr={placeholder:"Поиск",clear_search:"Очистить поле",load_more:"Загрузить еще",search_label:"Поиск по сайту",filters_label:"Фильтры",zero_results:"Ничего не найдено по запросу: [SEARCH_TERM]",many_results:"[COUNT] результатов по запросу: [SEARCH_TERM]",one_result:"[COUNT] результат по запросу: [SEARCH_TERM]",alt_search:"Ничего не найдено по запросу: [SEARCH_TERM]. Показаны результаты по запросу: [DIFFERENT_TERM]",search_suggestion:"Ничего не найдено по запросу: [SEARCH_TERM]. Попробуйте один из следующих вариантов",searching:"Поиск по запросу: [SEARCH_TERM]"},Wl={thanks_to:Nr,comments:yr,direction:zr,strings:jr},Or={};F(Or,{comments:()=>Ir,default:()=>Jl,direction:()=>Lr,strings:()=>Pr,thanks_to:()=>Ur});var Ur="Andrija Sagicc",Ir="",Lr="ltr",Pr={placeholder:"Претрага",clear_search:"Брисање",load_more:"Приказ више резултата",search_label:"Претрага сајта",filters_label:"Филтери",zero_results:"Нема резултата за [SEARCH_TERM]",many_results:"[COUNT] резултата за [SEARCH_TERM]",one_result:"[COUNT] резултата за [SEARCH_TERM]",alt_search:"Нема резултата за [SEARCH_TERM]. Приказ додатник резултата за [DIFFERENT_TERM]",search_suggestion:"Нема резултата за [SEARCH_TERM]. Покушајте са неком од следећих претрага:",searching:"Претрага термина [SEARCH_TERM]..."},Jl={thanks_to:Ur,comments:Ir,direction:Lr,strings:Pr},xr={};F(xr,{comments:()=>Vr,default:()=>Zl,direction:()=>Kr,strings:()=>Gr,thanks_to:()=>qr});var qr="Montazar Al-Jaber ",Vr="",Kr="ltr",Gr={placeholder:"Sök",clear_search:"Rensa",load_more:"Visa fler träffar",search_label:"Sök på denna sida",filters_label:"Filter",zero_results:"[SEARCH_TERM] gav inga träffar",many_results:"[SEARCH_TERM] gav [COUNT] träffar",one_result:"[SEARCH_TERM] gav [COUNT] träff",alt_search:"[SEARCH_TERM] gav inga träffar. Visar resultat för [DIFFERENT_TERM] istället",search_suggestion:"[SEARCH_TERM] gav inga träffar. Försök igen med en av följande sökord:",searching:"Söker efter [SEARCH_TERM]..."},Zl={thanks_to:qr,comments:Vr,direction:Kr,strings:Gr},Wr={};F(Wr,{comments:()=>Zr,default:()=>Yl,direction:()=>Yr,strings:()=>Xr,thanks_to:()=>Jr});var Jr="",Zr="",Yr="ltr",Xr={placeholder:"தேடுக",clear_search:"அழிக்குக",load_more:"மேலும் முடிவுகளைக் காட்டுக",search_label:"இந்த தளத்தில் தேடுக",filters_label:"வடிகட்டல்கள்",zero_results:"[SEARCH_TERM] க்கான முடிவுகள் இல்லை",many_results:"[SEARCH_TERM] க்கான [COUNT] முடிவுகள்",one_result:"[SEARCH_TERM] க்கான முடிவு",alt_search:"[SEARCH_TERM] இத்தேடலுக்கான முடிவுகள் இல்லை, இந்த தேடல்களுக்கான ஒத்த முடிவுகள் [DIFFERENT_TERM]",search_suggestion:"[SEARCH_TERM] இத் தேடலுக்கான முடிவுகள் இல்லை.இதற்கு பதிலீடான தேடல்களை தேடுக:",searching:"[SEARCH_TERM] தேடப்படுகின்றது"},Yl={thanks_to:Jr,comments:Zr,direction:Yr,strings:Xr},Qr={};F(Qr,{comments:()=>es,default:()=>Xl,direction:()=>us,strings:()=>ts,thanks_to:()=>$r});var $r="Taylan Özgür Bildik",es="",us="ltr",ts={placeholder:"Araştır",clear_search:"Temizle",load_more:"Daha fazla sonuç",search_label:"Site genelinde arama",filters_label:"Filtreler",zero_results:"[SEARCH_TERM] için sonuç yok",many_results:"[SEARCH_TERM] için [COUNT] sonuç bulundu",one_result:"[SEARCH_TERM] için [COUNT] sonuç bulundu",alt_search:"[SEARCH_TERM] için sonuç yok. Bunun yerine [DIFFERENT_TERM] için sonuçlar gösteriliyor",search_suggestion:"[SEARCH_TERM] için sonuç yok. Alternatif olarak aşağıdaki kelimelerden birini deneyebilirsiniz:",searching:"[SEARCH_TERM] araştırılıyor..."},Xl={thanks_to:$r,comments:es,direction:us,strings:ts},rs={};F(rs,{comments:()=>ls,default:()=>Ql,direction:()=>as,strings:()=>ns,thanks_to:()=>ss});var ss="Vladyslav Lyshenko ",ls="",as="ltr",ns={placeholder:"Пошук",clear_search:"Очистити поле",load_more:"Завантажити ще",search_label:"Пошук по сайту",filters_label:"Фільтри",zero_results:"Нічого не знайдено за запитом: [SEARCH_TERM]",many_results:"[COUNT] результатів на запит: [SEARCH_TERM]",one_result:"[COUNT] результат за запитом: [SEARCH_TERM]",alt_search:"Нічого не знайдено на запит: [SEARCH_TERM]. Показано результати на запит: [DIFFERENT_TERM]",search_suggestion:"Нічого не знайдено на запит: [SEARCH_TERM]. Спробуйте один із таких варіантів",searching:"Пошук за запитом: [SEARCH_TERM]"},Ql={thanks_to:ss,comments:ls,direction:as,strings:ns},is={};F(is,{comments:()=>_s,default:()=>$l,direction:()=>cs,strings:()=>fs,thanks_to:()=>os});var os="Long Nhat Nguyen",_s="",cs="ltr",fs={placeholder:"Tìm kiếm",clear_search:"Xóa",load_more:"Nhiều kết quả hơn",search_label:"Tìm kiếm trong trang này",filters_label:"Bộ lọc",zero_results:"Không tìm thấy kết quả cho [SEARCH_TERM]",many_results:"[COUNT] kết quả cho [SEARCH_TERM]",one_result:"[COUNT] kết quả cho [SEARCH_TERM]",alt_search:"Không tìm thấy kết quả cho [SEARCH_TERM]. Kiểm thị kết quả thay thế với [DIFFERENT_TERM]",search_suggestion:"Không tìm thấy kết quả cho [SEARCH_TERM]. Thử một trong các tìm kiếm:",searching:"Đang tìm kiếm cho [SEARCH_TERM]..."},$l={thanks_to:os,comments:_s,direction:cs,strings:fs},Es={};F(Es,{comments:()=>hs,default:()=>ea,direction:()=>ms,strings:()=>Cs,thanks_to:()=>ds});var ds="Amber Song",hs="",ms="ltr",Cs={placeholder:"搜索",clear_search:"清除",load_more:"加载更多结果",search_label:"站内搜索",filters_label:"筛选",zero_results:"未找到 [SEARCH_TERM] 的相关结果",many_results:"找到 [COUNT] 个 [SEARCH_TERM] 的相关结果",one_result:"找到 [COUNT] 个 [SEARCH_TERM] 的相关结果",alt_search:"未找到 [SEARCH_TERM] 的相关结果。改为显示 [DIFFERENT_TERM] 的相关结果",search_suggestion:"未找到 [SEARCH_TERM] 的相关结果。请尝试以下搜索。",searching:"正在搜索 [SEARCH_TERM]..."},ea={thanks_to:ds,comments:hs,direction:ms,strings:Cs},gs={};F(gs,{comments:()=>Bs,default:()=>ua,direction:()=>As,strings:()=>ps,thanks_to:()=>Rs});var Rs="Amber Song",Bs="",As="ltr",ps={placeholder:"搜索",clear_search:"清除",load_more:"加載更多結果",search_label:"站內搜索",filters_label:"篩選",zero_results:"未找到 [SEARCH_TERM] 的相關結果",many_results:"找到 [COUNT] 個 [SEARCH_TERM] 的相關結果",one_result:"找到 [COUNT] 個 [SEARCH_TERM] 的相關結果",alt_search:"未找到 [SEARCH_TERM] 的相關結果。改為顯示 [DIFFERENT_TERM] 的相關結果",search_suggestion:"未找到 [SEARCH_TERM] 的相關結果。請嘗試以下搜索。",searching:"正在搜索 [SEARCH_TERM]..."},ua={thanks_to:Rs,comments:Bs,direction:As,strings:ps},vs={};F(vs,{comments:()=>Fs,default:()=>ta,direction:()=>ks,strings:()=>bs,thanks_to:()=>Ts});var Ts="Amber Song",Fs="",ks="ltr",bs={placeholder:"搜索",clear_search:"清除",load_more:"加载更多结果",search_label:"站内搜索",filters_label:"筛选",zero_results:"未找到 [SEARCH_TERM] 的相关结果",many_results:"找到 [COUNT] 个 [SEARCH_TERM] 的相关结果",one_result:"找到 [COUNT] 个 [SEARCH_TERM] 的相关结果",alt_search:"未找到 [SEARCH_TERM] 的相关结果。改为显示 [DIFFERENT_TERM] 的相关结果",search_suggestion:"未找到 [SEARCH_TERM] 的相关结果。请尝试以下搜索。",searching:"正在搜索 [SEARCH_TERM]..."},ta={thanks_to:Ts,comments:Fs,direction:ks,strings:bs},ra=[Bu,Fu,Du,zu,Lu,Ku,Yu,ut,at,ct,mt,At,kt,Ht,jt,Pt,Gt,Xt,tr,nr,fr,Cr,pr,br,wr,Or,xr,Wr,Qr,rs,is,Es,gs,vs],sa=ra,la=["../../translations/af.json","../../translations/bn.json","../../translations/ca.json","../../translations/cs.json","../../translations/da.json","../../translations/de.json","../../translations/en.json","../../translations/es.json","../../translations/fi.json","../../translations/fr.json","../../translations/gl.json","../../translations/hi.json","../../translations/hr.json","../../translations/hu.json","../../translations/id.json","../../translations/it.json","../../translations/ja.json","../../translations/ko.json","../../translations/mi.json","../../translations/nl.json","../../translations/no.json","../../translations/pl.json","../../translations/pt.json","../../translations/ro.json","../../translations/ru.json","../../translations/sr.json","../../translations/sv.json","../../translations/ta.json","../../translations/tr.json","../../translations/uk.json","../../translations/vi.json","../../translations/zh-cn.json","../../translations/zh-tw.json","../../translations/zh.json"];function ou(e,t,u){const r=e.slice();return r[51]=t[u],r}function _u(e){let t,u,r;function s(a){e[37](a)}let l={show_empty_filters:e[5],open_filters:e[6],available_filters:e[18],translate:e[20],automatic_translations:e[19],translations:e[7]};return e[0]!==void 0&&(l.selected_filters=e[0]),t=new pl({props:l}),le.push(()=>rl(t,"selected_filters",s)),{c(){ke(t.$$.fragment)},m(a,n){Ee(t,a,n),r=!0},p(a,n){const i={};n[0]&32&&(i.show_empty_filters=a[5]),n[0]&64&&(i.open_filters=a[6]),n[0]&262144&&(i.available_filters=a[18]),n[0]&524288&&(i.automatic_translations=a[19]),n[0]&128&&(i.translations=a[7]),!u&&n[0]&1&&(u=!0,i.selected_filters=a[0],Qs(()=>u=!1)),t.$set(i)},i(a){r||(z(t.$$.fragment,a),r=!0)},o(a){U(t.$$.fragment,a),r=!1},d(a){de(t,a)}}}function cu(e){let t,u,r,s;const l=[na,aa],a=[];function n(i,d){return i[14]?0:1}return u=n(e),r=a[u]=l[u](e),{c(){t=p("div"),r.c(),g(t,"class","pagefind-ui__results-area svelte-e9gkc3")},m(i,d){T(i,t,d),a[u].m(t,null),s=!0},p(i,d){let _=u;u=n(i),u===_?a[u].p(i,d):(ae(),U(a[_],1,1,()=>{a[_]=null}),ne(),r=a[u],r?r.p(i,d):(r=a[u]=l[u](i),r.c()),z(r,1),r.m(t,null))},i(i){s||(z(r),s=!0)},o(i){U(r),s=!1},d(i){i&&v(t),a[u].d()}}}function aa(e){let t,u,r,s=[],l=new Map,a,n,i;function d(o,E){return o[13].results.length===0?_a:o[13].results.length===1?oa:ia}let _=d(e),h=_(e),m=e[13].results.slice(0,e[17]);const f=o=>o[51].id;for(let o=0;oe[17]&&Eu(e);return{c(){t=p("p"),h.c(),u=M(),r=p("ol");for(let o=0;oo[17]?c?c.p(o,E):(c=Eu(o),c.c(),c.m(n.parentNode,n)):c&&(c.d(1),c=null)},i(o){if(!i){for(let E=0;E{i[m]=null}),ne(),s=i[r],s?s.p(t,h):(s=i[r]=n[r](t),s.c()),z(s,1),s.m(l.parentNode,l))},i(_){a||(z(s),a=!0)},o(_){U(s),a=!1},d(_){_&&v(u),i[r].d(_),_&&v(l)}}}function Eu(e){let t,u=e[20]("load_more",e[19],e[7])+"",r,s,l;return{c(){t=p("button"),r=S(u),g(t,"type","button"),g(t,"class","pagefind-ui__button svelte-e9gkc3")},m(a,n){T(a,t,n),A(t,r),s||(l=G(t,"click",e[22]),s=!0)},p(a,n){n[0]&524416&&u!==(u=a[20]("load_more",a[19],a[7])+"")&&j(r,u)},d(a){a&&v(t),s=!1,l()}}}function du(e){let t,u=e[20]("searching",e[19],e[7]).replace(/\[SEARCH_TERM\]/,e[16])+"",r;return{c(){t=p("p"),r=S(u),g(t,"class","pagefind-ui__message svelte-e9gkc3")},m(s,l){T(s,t,l),A(t,r)},p(s,l){l[0]&589952&&u!==(u=s[20]("searching",s[19],s[7]).replace(/\[SEARCH_TERM\]/,s[16])+"")&&j(r,u)},d(s){s&&v(t)}}}function Ea(e){let t,u,r,s,l,a,n=e[20]("clear_search",e[19],e[7])+"",i,d,_,h,m,f,c,o,E=e[12]&&_u(e),B=e[15]&&cu(e);return{c(){t=p("div"),u=p("form"),r=p("input"),l=M(),a=p("button"),i=S(n),d=M(),_=p("div"),E&&E.c(),h=M(),B&&B.c(),g(r,"class","pagefind-ui__search-input svelte-e9gkc3"),g(r,"type","text"),g(r,"placeholder",s=e[20]("placeholder",e[19],e[7])),g(r,"autocapitalize","none"),g(r,"enterkeyhint","search"),r.autofocus=e[8],g(a,"class","pagefind-ui__search-clear svelte-e9gkc3"),K(a,"pagefind-ui__suppressed",!e[9]),g(_,"class","pagefind-ui__drawer svelte-e9gkc3"),K(_,"pagefind-ui__hidden",!e[15]),g(u,"class","pagefind-ui__form svelte-e9gkc3"),g(u,"role","search"),g(u,"aria-label",m=e[20]("search_label",e[19],e[7])),g(u,"action","javascript:void(0);"),g(t,"class","pagefind-ui svelte-e9gkc3"),K(t,"pagefind-ui--reset",e[1])},m(R,k){T(R,t,k),A(t,u),A(u,r),ze(r,e[9]),e[34](r),A(u,l),A(u,a),A(a,i),e[35](a),A(u,d),A(u,_),E&&E.m(_,null),A(_,h),B&&B.m(_,null),f=!0,e[8]&&r.focus(),c||(o=[G(r,"focus",e[21]),G(r,"keydown",e[32]),G(r,"input",e[33]),G(a,"click",e[36]),G(u,"submit",da)],c=!0)},p(R,k){(!f||k[0]&524416&&s!==(s=R[20]("placeholder",R[19],R[7])))&&g(r,"placeholder",s),(!f||k[0]&256)&&(r.autofocus=R[8]),k[0]&512&&r.value!==R[9]&&ze(r,R[9]),(!f||k[0]&524416)&&n!==(n=R[20]("clear_search",R[19],R[7])+"")&&j(i,n),(!f||k[0]&512)&&K(a,"pagefind-ui__suppressed",!R[9]),R[12]?E?(E.p(R,k),k[0]&4096&&z(E,1)):(E=_u(R),E.c(),z(E,1),E.m(_,h)):E&&(ae(),U(E,1,1,()=>{E=null}),ne()),R[15]?B?(B.p(R,k),k[0]&32768&&z(B,1)):(B=cu(R),B.c(),z(B,1),B.m(_,null)):B&&(ae(),U(B,1,1,()=>{B=null}),ne()),(!f||k[0]&32768)&&K(_,"pagefind-ui__hidden",!R[15]),(!f||k[0]&524416&&m!==(m=R[20]("search_label",R[19],R[7])))&&g(u,"aria-label",m),(!f||k[0]&2)&&K(t,"pagefind-ui--reset",R[1])},i(R){f||(z(E),z(B),f=!0)},o(R){U(E),U(B),f=!1},d(R){R&&v(t),e[34](null),e[35](null),E&&E.d(),B&&B.d(),c=!1,J(o)}}}var da=e=>e.preventDefault();function ha(e,t,u){const r={},s=la.map(C=>C.match(/([^\/]+)\.json$/)[1]);for(let C=0;CN[C]??H[C]??"";Js(()=>{let C=document?.querySelector?.("html")?.getAttribute?.("lang")||"en",H=Ru(C.toLocaleLowerCase());u(19,He=r[`${H.language}-${H.script}-${H.region}`]||r[`${H.language}-${H.region}`]||r[`${H.language}`]||r.en)}),Zs(()=>{D?.destroy?.(),D=null});const we=async()=>{if(!Ce&&(u(12,Ce=!0),!D)){let C;try{C=await xs(()=>import(`${l}pagefind.js`),[])}catch(N){console.error(N),console.error([`Pagefind couldn't be loaded from ${this.options.bundlePath}pagefind.js`,"You can configure this by passing a bundlePath option to PagefindUI",`[DEBUG: Loaded from ${document?.currentScript?.src??"no known script location"}]`].join(` +import{_ as xs}from"./hoisted.BtS6QEO_.js";import"./animare.BjVW0jvP.js";import"./index.ChPNCYSA.js";import"./Tabs.astro_astro_type_script_index_0_lang.CCIyraCc.js";import"./router.DrYAXS1K.js";import"./index.CTbVEFV3.js";var qs=Object.defineProperty,F=(e,t)=>{for(var u in t)qs(e,u,{get:t[u],enumerable:!0})};function L(){}function hu(e){return e()}function ye(){return Object.create(null)}function J(e){e.forEach(hu)}function mu(e){return typeof e=="function"}function fe(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}var oe;function ce(e,t){return oe||(oe=document.createElement("a")),oe.href=t,e===oe.href}function Vs(e){return Object.keys(e).length===0}function A(e,t){e.appendChild(t)}function T(e,t,u){e.insertBefore(t,u||null)}function v(e){e.parentNode&&e.parentNode.removeChild(e)}function ie(e,t){for(let u=0;ue.removeEventListener(t,u,r)}function g(e,t,u){u==null?e.removeAttribute(t):e.getAttribute(t)!==u&&e.setAttribute(t,u)}function Gs(e){return Array.from(e.childNodes)}function j(e,t){t=""+t,e.data!==t&&(e.data=t)}function ze(e,t){e.value=t??""}function K(e,t,u){e.classList[u?"add":"remove"](t)}var Ws=class{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,u=null){this.e||(this.is_svg?this.e=Ks(t.nodeName):this.e=p(t.nodeType===11?"TEMPLATE":t.nodeName),this.t=t.tagName!=="TEMPLATE"?t:t.content,this.c(e)),this.i(u)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;te.indexOf(r)===-1?t.push(r):u.push(r)),u.forEach(r=>r()),$=t}var _e=new Set,W;function ae(){W={r:0,c:[],p:W}}function ne(){W.r||J(W.c),W=W.p}function z(e,t){e&&e.i&&(_e.delete(e),e.i(t))}function U(e,t,u,r){if(e&&e.o){if(_e.has(e))return;_e.add(e),W.c.push(()=>{_e.delete(e),r&&(u&&e.d(1),r())}),e.o(t)}else r&&r()}function ul(e,t){U(e,1,1,()=>{t.delete(e.key)})}function tl(e,t,u,r,s,l,a,n,i,d,_,h){let m=e.length,f=l.length,c=m;const o={};for(;c--;)o[e[c].key]=c;const E=[],B=new Map,R=new Map,k=[];for(c=f;c--;){const b=h(s,l,c),D=u(b);let w=a.get(D);w?k.push(()=>w.p(b,t)):(w=d(D,b),w.c()),B.set(D,E[c]=w),D in o&&R.set(D,Math.abs(c-o[D]))}const y=new Set,q=new Set;function P(b){z(b,1),b.m(n,_),a.set(b.key,b),_=b.first,f--}for(;m&&f;){const b=E[f-1],D=e[m-1],w=b.key,x=D.key;b===D?(_=b.first,m--,f--):B.has(x)?!a.has(w)||y.has(w)?P(b):q.has(x)?m--:R.get(w)>R.get(x)?(q.add(w),P(b)):(y.add(x),m--):(i(D,a),m--)}for(;m--;){const b=e[m];B.has(b.key)||i(b,a)}for(;f;)P(E[f-1]);return J(k),E}function rl(e,t,u){const r=e.$$.props[t];r!==void 0&&(e.$$.bound[r]=u,u(e.$$.ctx[r]))}function ke(e){e&&e.c()}function Ee(e,t,u,r){const{fragment:s,after_update:l}=e.$$;s&&s.m(t,u),r||Te(()=>{const a=e.$$.on_mount.map(hu).filter(mu);e.$$.on_destroy?e.$$.on_destroy.push(...a):J(a),e.$$.on_mount=[]}),l.forEach(Te)}function de(e,t){const u=e.$$;u.fragment!==null&&(el(u.after_update),J(u.on_destroy),u.fragment&&u.fragment.d(t),u.on_destroy=u.fragment=null,u.ctx=[])}function sl(e,t){e.$$.dirty[0]===-1&&(X.push(e),Xs(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const c=f.length?f[0]:m;return d.ctx&&s(d.ctx[h],d.ctx[h]=c)&&(!d.skip_bound&&d.bound[h]&&d.bound[h](c),_&&sl(e,h)),m}):[],d.update(),_=!0,J(d.before_update),d.fragment=r?r(d.ctx):!1,t.target){if(t.hydrate){const h=Gs(t.target);d.fragment&&d.fragment.l(h),h.forEach(v)}else d.fragment&&d.fragment.c();t.intro&&z(e.$$.fragment),Ee(e,t.target,t.anchor,t.customElement),gu()}re(i)}var me=class{$destroy(){de(this,1),this.$destroy=L}$on(e,t){if(!mu(t))return L;const u=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return u.push(t),()=>{const r=u.indexOf(t);r!==-1&&u.splice(r,1)}}$set(e){this.$$set&&!Vs(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}};function O(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Q(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function V(e){return O(e)||Q(e)}var ll=["art-lojban","cel-gaulish","no-bok","no-nyn","zh-guoyu","zh-hakka","zh-min","zh-min-nan","zh-xiang"],je={"en-gb-oed":"en-GB-oxendict","i-ami":"ami","i-bnn":"bnn","i-default":null,"i-enochian":null,"i-hak":"hak","i-klingon":"tlh","i-lux":"lb","i-mingo":null,"i-navajo":"nv","i-pwn":"pwn","i-tao":"tao","i-tay":"tay","i-tsu":"tsu","sgn-be-fr":"sfb","sgn-be-nl":"vgt","sgn-ch-de":"sgg","art-lojban":"jbo","cel-gaulish":null,"no-bok":"nb","no-nyn":"nn","zh-guoyu":"cmn","zh-hakka":"hak","zh-min":null,"zh-min-nan":"nan","zh-xiang":"hsn"},al={}.hasOwnProperty;function Ru(e,t={}){const u=Oe(),r=String(e),s=r.toLowerCase();let l=0;if(e==null)throw new Error("Expected string, got `"+e+"`");if(al.call(je,s)){const n=je[s];return(t.normalize===void 0||t.normalize===null||t.normalize)&&typeof n=="string"?Ru(n):(u[ll.includes(s)?"regular":"irregular"]=r,u)}for(;O(s.charCodeAt(l))&&l<9;)l++;if(l>1&&l<9){if(u.language=r.slice(0,l),l<4){let n=0;for(;s.charCodeAt(l)===45&&O(s.charCodeAt(l+1))&&O(s.charCodeAt(l+2))&&O(s.charCodeAt(l+3))&&!O(s.charCodeAt(l+4));){if(n>2)return a(l,3,"Too many extended language subtags, expected at most 3 subtags");u.extendedLanguageSubtags.push(r.slice(l+1,l+4)),l+=4,n++}}for(s.charCodeAt(l)===45&&O(s.charCodeAt(l+1))&&O(s.charCodeAt(l+2))&&O(s.charCodeAt(l+3))&&O(s.charCodeAt(l+4))&&!O(s.charCodeAt(l+5))&&(u.script=r.slice(l+1,l+5),l+=5),s.charCodeAt(l)===45&&(O(s.charCodeAt(l+1))&&O(s.charCodeAt(l+2))&&!O(s.charCodeAt(l+3))?(u.region=r.slice(l+1,l+3),l+=3):Q(s.charCodeAt(l+1))&&Q(s.charCodeAt(l+2))&&Q(s.charCodeAt(l+3))&&!Q(s.charCodeAt(l+4))&&(u.region=r.slice(l+1,l+4),l+=4));s.charCodeAt(l)===45;){const n=l+1;let i=n;for(;V(s.charCodeAt(i));){if(i-n>7)return a(i,1,"Too long variant, expected at most 8 characters");i++}if(i-n>4||i-n>3&&Q(s.charCodeAt(n)))u.variants.push(r.slice(n,i)),l=i;else break}for(;s.charCodeAt(l)===45&&!(s.charCodeAt(l+1)===120||!V(s.charCodeAt(l+1))||s.charCodeAt(l+2)!==45||!V(s.charCodeAt(l+3)));){let n=l+2,i=0;for(;s.charCodeAt(n)===45&&V(s.charCodeAt(n+1))&&V(s.charCodeAt(n+2));){const d=n+1;for(n=d+2,i++;V(s.charCodeAt(n));){if(n-d>7)return a(n,2,"Too long extension, expected at most 8 characters");n++}}if(!i)return a(n,4,"Empty extension, extensions must have at least 2 characters of content");u.extensions.push({singleton:r.charAt(l+1),extensions:r.slice(l+3,n).split("-")}),l=n}}else l=0;if(l===0&&s.charCodeAt(l)===120||s.charCodeAt(l)===45&&s.charCodeAt(l+1)===120){l=l?l+2:1;let n=l;for(;s.charCodeAt(n)===45&&V(s.charCodeAt(n+1));){const i=l+1;for(n=i;V(s.charCodeAt(n));){if(n-i>7)return a(n,5,"Too long private-use area, expected at most 8 characters");n++}u.privateuse.push(r.slice(l+1,n)),l=n}}if(l!==r.length)return a(l,6,"Found superfluous content after tag");return u;function a(n,i,d){return t.warning&&t.warning(d,i,n),t.forgiving?u:Oe()}}function Oe(){return{language:null,extendedLanguageSubtags:[],script:null,region:null,variants:[],extensions:[],privateuse:[],irregular:null,regular:null}}function Ue(e,t,u){const r=e.slice();return r[8]=t[u][0],r[9]=t[u][1],r}function nl(e){let t,u,r,s,l,a=e[0]&&Ie();return{c(){a&&a.c(),t=M(),u=p("div"),r=p("p"),r.textContent=`${e[3](30)}`,s=M(),l=p("p"),l.textContent=`${e[3](40)}`,g(r,"class","pagefind-ui__result-title pagefind-ui__loading svelte-j9e30"),g(l,"class","pagefind-ui__result-excerpt pagefind-ui__loading svelte-j9e30"),g(u,"class","pagefind-ui__result-inner svelte-j9e30")},m(n,i){a&&a.m(n,i),T(n,t,i),T(n,u,i),A(u,r),A(u,s),A(u,l)},p(n,i){n[0]?a||(a=Ie(),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){a&&a.d(n),n&&v(t),n&&v(u)}}}function il(e){let t,u,r,s,l=e[1].meta?.title+"",a,n,i,d,_=e[1].excerpt+"",h,m=e[0]&&Le(e),f=e[2].length&&xe(e);return{c(){m&&m.c(),t=M(),u=p("div"),r=p("p"),s=p("a"),a=S(l),i=M(),d=p("p"),h=M(),f&&f.c(),g(s,"class","pagefind-ui__result-link svelte-j9e30"),g(s,"href",n=e[1].meta?.url||e[1].url),g(r,"class","pagefind-ui__result-title svelte-j9e30"),g(d,"class","pagefind-ui__result-excerpt svelte-j9e30"),g(u,"class","pagefind-ui__result-inner svelte-j9e30")},m(c,o){m&&m.m(c,o),T(c,t,o),T(c,u,o),A(u,r),A(r,s),A(s,a),A(u,i),A(u,d),d.innerHTML=_,A(u,h),f&&f.m(u,null)},p(c,o){c[0]?m?m.p(c,o):(m=Le(c),m.c(),m.m(t.parentNode,t)):m&&(m.d(1),m=null),o&2&&l!==(l=c[1].meta?.title+"")&&j(a,l),o&2&&n!==(n=c[1].meta?.url||c[1].url)&&g(s,"href",n),o&2&&_!==(_=c[1].excerpt+"")&&(d.innerHTML=_),c[2].length?f?f.p(c,o):(f=xe(c),f.c(),f.m(u,null)):f&&(f.d(1),f=null)},d(c){m&&m.d(c),c&&v(t),c&&v(u),f&&f.d()}}}function Ie(e){let t;return{c(){t=p("div"),g(t,"class","pagefind-ui__result-thumb pagefind-ui__loading svelte-j9e30")},m(u,r){T(u,t,r)},d(u){u&&v(t)}}}function Le(e){let t,u=e[1].meta.image&&Pe(e);return{c(){t=p("div"),u&&u.c(),g(t,"class","pagefind-ui__result-thumb svelte-j9e30")},m(r,s){T(r,t,s),u&&u.m(t,null)},p(r,s){r[1].meta.image?u?u.p(r,s):(u=Pe(r),u.c(),u.m(t,null)):u&&(u.d(1),u=null)},d(r){r&&v(t),u&&u.d()}}}function Pe(e){let t,u,r;return{c(){t=p("img"),g(t,"class","pagefind-ui__result-image svelte-j9e30"),ce(t.src,u=e[1].meta?.image)||g(t,"src",u),g(t,"alt",r=e[1].meta?.image_alt||e[1].meta?.title)},m(s,l){T(s,t,l)},p(s,l){l&2&&!ce(t.src,u=s[1].meta?.image)&&g(t,"src",u),l&2&&r!==(r=s[1].meta?.image_alt||s[1].meta?.title)&&g(t,"alt",r)},d(s){s&&v(t)}}}function xe(e){let t,u=e[2],r=[];for(let s=0;se.toLocaleUpperCase();function _l(e,t,u){let{show_images:r=!0}=t,{process_result:s=null}=t,{result:l={data:async()=>{}}}=t;const a=["title","image","image_alt","url"];let n,i=[];const d=async h=>{u(1,n=await h.data()),u(1,n=s?.(n)??n),u(2,i=Object.entries(n.meta).filter(([m])=>!a.includes(m)))},_=(h=30)=>". ".repeat(Math.floor(10+Math.random()*h));return e.$$set=h=>{"show_images"in h&&u(0,r=h.show_images),"process_result"in h&&u(4,s=h.process_result),"result"in h&&u(5,l=h.result)},e.$$.update=()=>{e.$$.dirty&32&&d(l)},[r,n,i,_,s,l]}var cl=class extends me{constructor(e){super(),he(this,e,_l,ol,fe,{show_images:0,process_result:4,result:5})}},fl=cl;function Ke(e,t,u){const r=e.slice();return r[11]=t[u][0],r[12]=t[u][1],r}function Ge(e,t,u){const r=e.slice();return r[15]=t[u],r}function El(e){let t,u,r,s,l,a=e[0]&&We();return{c(){a&&a.c(),t=M(),u=p("div"),r=p("p"),r.textContent=`${e[5](30)}`,s=M(),l=p("p"),l.textContent=`${e[5](40)}`,g(r,"class","pagefind-ui__result-title pagefind-ui__loading svelte-4xnkmf"),g(l,"class","pagefind-ui__result-excerpt pagefind-ui__loading svelte-4xnkmf"),g(u,"class","pagefind-ui__result-inner svelte-4xnkmf")},m(n,i){a&&a.m(n,i),T(n,t,i),T(n,u,i),A(u,r),A(u,s),A(u,l)},p(n,i){n[0]?a||(a=We(),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){a&&a.d(n),n&&v(t),n&&v(u)}}}function dl(e){let t,u,r,s,l=e[1].meta?.title+"",a,n,i,d,_,h=e[0]&&Je(e),m=e[4]&&Ye(e),f=e[3],c=[];for(let E=0;Ee.toLocaleUpperCase();function ml(e,t,u){let{show_images:r=!0}=t,{process_result:s=null}=t,{result:l={data:async()=>{}}}=t;const a=["title","image","image_alt","url"];let n,i=[],d=[],_=!1;const h=(c,o)=>{if(c.length<=o)return c;const E=[...c].sort((B,R)=>R.locations.length-B.locations.length).slice(0,3).map(B=>B.url);return c.filter(B=>E.includes(B.url))},m=async c=>{u(1,n=await c.data()),u(1,n=s?.(n)??n),u(2,i=Object.entries(n.meta).filter(([o])=>!a.includes(o))),Array.isArray(n.sub_results)&&(u(4,_=n.sub_results?.[0]?.url===(n.meta?.url||n.url)),_?u(3,d=h(n.sub_results.slice(1),3)):u(3,d=h([...n.sub_results],3)))},f=(c=30)=>". ".repeat(Math.floor(10+Math.random()*c));return e.$$set=c=>{"show_images"in c&&u(0,r=c.show_images),"process_result"in c&&u(6,s=c.process_result),"result"in c&&u(7,l=c.result)},e.$$.update=()=>{e.$$.dirty&128&&m(l)},[r,n,i,d,_,f,s,l]}var Cl=class extends me{constructor(e){super(),he(this,e,ml,hl,fe,{show_images:0,process_result:6,result:7})}},gl=Cl;function uu(e,t,u){const r=e.slice();return r[10]=t[u][0],r[11]=t[u][1],r[12]=t,r[13]=u,r}function tu(e,t,u){const r=e.slice();return r[14]=t[u][0],r[15]=t[u][1],r[16]=t,r[17]=u,r}function ru(e){let t,u,r=e[4]("filters_label",e[5],e[6])+"",s,l,a=Object.entries(e[1]),n=[];for(let i=0;ie.toLocaleUpperCase(),iu=e=>e.toLowerCase();function Bl(e,t,u){let{available_filters:r=null}=t,{show_empty_filters:s=!0}=t,{open_filters:l=[]}=t,{translate:a=()=>""}=t,{automatic_translations:n={}}=t,{translations:i={}}=t,{selected_filters:d={}}=t,_=!1,h=!1;function m(f,c){d[`${f}:${c}`]=this.checked,u(0,d)}return e.$$set=f=>{"available_filters"in f&&u(1,r=f.available_filters),"show_empty_filters"in f&&u(2,s=f.show_empty_filters),"open_filters"in f&&u(3,l=f.open_filters),"translate"in f&&u(4,a=f.translate),"automatic_translations"in f&&u(5,n=f.automatic_translations),"translations"in f&&u(6,i=f.translations),"selected_filters"in f&&u(0,d=f.selected_filters)},e.$$.update=()=>{if(e.$$.dirty&258&&r&&!_){u(8,_=!0);let f=Object.entries(r||{});f.length===1&&Object.entries(f[0][1])?.length<=6&&u(7,h=!0)}},[d,r,s,l,a,n,i,h,_,m]}var Al=class extends me{constructor(e){super(),he(this,e,Bl,Rl,fe,{available_filters:1,show_empty_filters:2,open_filters:3,translate:4,automatic_translations:5,translations:6,selected_filters:0})}},pl=Al,Bu={};F(Bu,{comments:()=>pu,default:()=>vl,direction:()=>vu,strings:()=>Tu,thanks_to:()=>Au});var Au="Jan Claasen ",pu="",vu="ltr",Tu={placeholder:"Soek",clear_search:"Opruim",load_more:"Laai nog resultate",search_label:"Soek hierdie webwerf",filters_label:"Filters",zero_results:"Geen resultate vir [SEARCH_TERM]",many_results:"[COUNT] resultate vir [SEARCH_TERM]",one_result:"[COUNT] resultate vir [SEARCH_TERM]",alt_search:"Geen resultate vir [SEARCH_TERM]. Toon resultate vir [DIFFERENT_TERM] in plaas daarvan",search_suggestion:"Geen resultate vir [SEARCH_TERM]. Probeer eerder een van die volgende terme:",searching:"Soek vir [SEARCH_TERM]"},vl={thanks_to:Au,comments:pu,direction:vu,strings:Tu},Fu={};F(Fu,{comments:()=>bu,default:()=>Tl,direction:()=>Mu,strings:()=>Su,thanks_to:()=>ku});var ku="Maruf Alom ",bu="",Mu="ltr",Su={placeholder:"অনুসন্ধান করুন",clear_search:"মুছে ফেলুন",load_more:"আরো ফলাফল দেখুন",search_label:"এই ওয়েবসাইটে অনুসন্ধান করুন",filters_label:"ফিল্টার",zero_results:"[SEARCH_TERM] এর জন্য কিছু খুঁজে পাওয়া যায়নি",many_results:"[COUNT]-টি ফলাফল পাওয়া গিয়েছে [SEARCH_TERM] এর জন্য",one_result:"[COUNT]-টি ফলাফল পাওয়া গিয়েছে [SEARCH_TERM] এর জন্য",alt_search:"কোন কিছু খুঁজে পাওয়া যায়নি [SEARCH_TERM] এর জন্য. পরিবর্তে [DIFFERENT_TERM] এর জন্য দেখানো হচ্ছে",search_suggestion:"কোন কিছু খুঁজে পাওয়া যায়নি [SEARCH_TERM] এর বিষয়ে. নিন্মের বিষয়বস্তু খুঁজে দেখুন:",searching:"অনুসন্ধান চলছে [SEARCH_TERM]..."},Tl={thanks_to:ku,comments:bu,direction:Mu,strings:Su},Du={};F(Du,{comments:()=>wu,default:()=>Fl,direction:()=>Nu,strings:()=>yu,thanks_to:()=>Hu});var Hu="Pablo Villaverde ",wu="",Nu="ltr",yu={placeholder:"Cerca",clear_search:"Netejar",load_more:"Veure mées resultats",search_label:"Cerca en aquest lloc",filters_label:"Filtres",zero_results:"No es van trobar resultats per [SEARCH_TERM]",many_results:"[COUNT] resultats trobats per [SEARCH_TERM]",one_result:"[COUNT] resultat trobat per [SEARCH_TERM]",alt_search:"No es van trobar resultats per [SEARCH_TERM]. Mostrant al seu lloc resultats per [DIFFERENT_TERM]",search_suggestion:"No es van trobar resultats per [SEARCH_TERM]. Proveu una de les cerques següents:",searching:"Cercant [SEARCH_TERM]..."},Fl={thanks_to:Hu,comments:wu,direction:Nu,strings:yu},zu={};F(zu,{comments:()=>Ou,default:()=>kl,direction:()=>Uu,strings:()=>Iu,thanks_to:()=>ju});var ju="Dalibor Hon ",Ou="",Uu="ltr",Iu={placeholder:"Hledat",clear_search:"Smazat",load_more:"Načíst další výsledky",search_label:"Prohledat tuto stránku",filters_label:"Filtry",zero_results:"Žádné výsledky pro [SEARCH_TERM]",many_results:"[COUNT] výsledků pro [SEARCH_TERM]",one_result:"[COUNT] výsledek pro [SEARCH_TERM]",alt_search:"Žádné výsledky pro [SEARCH_TERM]. Zobrazují se výsledky pro [DIFFERENT_TERM]",search_suggestion:"Žádné výsledky pro [SEARCH_TERM]. Související výsledky hledání:",searching:"Hledám [SEARCH_TERM]..."},kl={thanks_to:ju,comments:Ou,direction:Uu,strings:Iu},Lu={};F(Lu,{comments:()=>xu,default:()=>bl,direction:()=>qu,strings:()=>Vu,thanks_to:()=>Pu});var Pu="Jonas Smedegaard ",xu="",qu="ltr",Vu={placeholder:"Søg",clear_search:"Nulstil",load_more:"Indlæs flere resultater",search_label:"Søg på dette website",filters_label:"Filtre",zero_results:"Ingen resultater for [SEARCH_TERM]",many_results:"[COUNT] resultater for [SEARCH_TERM]",one_result:"[COUNT] resultat for [SEARCH_TERM]",alt_search:"Ingen resultater for [SEARCH_TERM]. Viser resultater for [DIFFERENT_TERM] i stedet",search_suggestion:"Ingen resultater for [SEARCH_TERM]. Prøv et af disse søgeord i stedet:",searching:"Søger efter [SEARCH_TERM]..."},bl={thanks_to:Pu,comments:xu,direction:qu,strings:Vu},Ku={};F(Ku,{comments:()=>Wu,default:()=>Ml,direction:()=>Ju,strings:()=>Zu,thanks_to:()=>Gu});var Gu="Jan Claasen ",Wu="",Ju="ltr",Zu={placeholder:"Suche",clear_search:"Löschen",load_more:"Mehr Ergebnisse laden",search_label:"Suche diese Seite",filters_label:"Filter",zero_results:"Keine Ergebnisse für [SEARCH_TERM]",many_results:"[COUNT] Ergebnisse für [SEARCH_TERM]",one_result:"[COUNT] Ergebnis für [SEARCH_TERM]",alt_search:"Keine Ergebnisse für [SEARCH_TERM]. Stattdessen werden Ergebnisse für [DIFFERENT_TERM] angezeigt",search_suggestion:"Keine Ergebnisse für [SEARCH_TERM]. Versuchen Sie eine der folgenden Suchen:",searching:"Suche für [SEARCH_TERM]"},Ml={thanks_to:Gu,comments:Wu,direction:Ju,strings:Zu},Yu={};F(Yu,{comments:()=>Qu,default:()=>Sl,direction:()=>$u,strings:()=>et,thanks_to:()=>Xu});var Xu="Liam Bigelow ",Qu="",$u="ltr",et={placeholder:"Search",clear_search:"Clear",load_more:"Load more results",search_label:"Search this site",filters_label:"Filters",zero_results:"No results for [SEARCH_TERM]",many_results:"[COUNT] results for [SEARCH_TERM]",one_result:"[COUNT] result for [SEARCH_TERM]",alt_search:"No results for [SEARCH_TERM]. Showing results for [DIFFERENT_TERM] instead",search_suggestion:"No results for [SEARCH_TERM]. Try one of the following searches:",searching:"Searching for [SEARCH_TERM]..."},Sl={thanks_to:Xu,comments:Qu,direction:$u,strings:et},ut={};F(ut,{comments:()=>rt,default:()=>Dl,direction:()=>st,strings:()=>lt,thanks_to:()=>tt});var tt="Pablo Villaverde ",rt="",st="ltr",lt={placeholder:"Buscar",clear_search:"Limpiar",load_more:"Ver más resultados",search_label:"Buscar en este sitio",filters_label:"Filtros",zero_results:"No se encontraron resultados para [SEARCH_TERM]",many_results:"[COUNT] resultados encontrados para [SEARCH_TERM]",one_result:"[COUNT] resultado encontrado para [SEARCH_TERM]",alt_search:"No se encontraron resultados para [SEARCH_TERM]. Mostrando en su lugar resultados para [DIFFERENT_TERM]",search_suggestion:"No se encontraron resultados para [SEARCH_TERM]. Prueba una de las siguientes búsquedas:",searching:"Buscando [SEARCH_TERM]..."},Dl={thanks_to:tt,comments:rt,direction:st,strings:lt},at={};F(at,{comments:()=>it,default:()=>Hl,direction:()=>ot,strings:()=>_t,thanks_to:()=>nt});var nt="Valtteri Laitinen ",it="",ot="ltr",_t={placeholder:"Haku",clear_search:"Tyhjennä",load_more:"Lataa lisää tuloksia",search_label:"Hae tältä sivustolta",filters_label:"Suodattimet",zero_results:"Ei tuloksia haulle [SEARCH_TERM]",many_results:"[COUNT] tulosta haulle [SEARCH_TERM]",one_result:"[COUNT] tulos haulle [SEARCH_TERM]",alt_search:"Ei tuloksia haulle [SEARCH_TERM]. Näytetään tulokset sen sijaan haulle [DIFFERENT_TERM]",search_suggestion:"Ei tuloksia haulle [SEARCH_TERM]. Kokeile jotain seuraavista:",searching:"Haetaan [SEARCH_TERM]..."},Hl={thanks_to:nt,comments:it,direction:ot,strings:_t},ct={};F(ct,{comments:()=>Et,default:()=>wl,direction:()=>dt,strings:()=>ht,thanks_to:()=>ft});var ft="Nicolas Friedli ",Et="",dt="ltr",ht={placeholder:"Rechercher",clear_search:"Nettoyer",load_more:"Charger plus de résultats",search_label:"Recherche sur ce site",filters_label:"Filtres",zero_results:"Pas de résultat pour [SEARCH_TERM]",many_results:"[COUNT] résultats pour [SEARCH_TERM]",one_result:"[COUNT] résultat pour [SEARCH_TERM]",alt_search:"Pas de résultat pour [SEARCH_TERM]. Montre les résultats pour [DIFFERENT_TERM] à la place",search_suggestion:"Pas de résultat pour [SEARCH_TERM]. Essayer une des recherches suivantes:",searching:"Recherche [SEARCH_TERM]..."},wl={thanks_to:ft,comments:Et,direction:dt,strings:ht},mt={};F(mt,{comments:()=>gt,default:()=>Nl,direction:()=>Rt,strings:()=>Bt,thanks_to:()=>Ct});var Ct="Pablo Villaverde ",gt="",Rt="ltr",Bt={placeholder:"Buscar",clear_search:"Limpar",load_more:"Ver máis resultados",search_label:"Buscar neste sitio",filters_label:"Filtros",zero_results:"Non se atoparon resultados para [SEARCH_TERM]",many_results:"[COUNT] resultados atopados para [SEARCH_TERM]",one_result:"[COUNT] resultado atopado para [SEARCH_TERM]",alt_search:"Non se atoparon resultados para [SEARCH_TERM]. Amosando no seu lugar resultados para [DIFFERENT_TERM]",search_suggestion:"Non se atoparon resultados para [SEARCH_TERM]. Probe unha das seguintes pesquisas:",searching:"Buscando [SEARCH_TERM]..."},Nl={thanks_to:Ct,comments:gt,direction:Rt,strings:Bt},At={};F(At,{comments:()=>vt,default:()=>yl,direction:()=>Tt,strings:()=>Ft,thanks_to:()=>pt});var pt="Amit Yadav ",vt="",Tt="ltr",Ft={placeholder:"खोजें",clear_search:"साफ करें",load_more:"और अधिक परिणाम लोड करें",search_label:"इस साइट में खोजें",filters_label:"फ़िल्टर",zero_results:"कोई परिणाम [SEARCH_TERM] के लिए नहीं मिला",many_results:"[COUNT] परिणाम [SEARCH_TERM] के लिए मिले",one_result:"[COUNT] परिणाम [SEARCH_TERM] के लिए मिला",alt_search:"[SEARCH_TERM] के लिए कोई परिणाम नहीं मिला। इसके बजाय [DIFFERENT_TERM] के लिए परिणाम दिखा रहा है",search_suggestion:"[SEARCH_TERM] के लिए कोई परिणाम नहीं मिला। निम्नलिखित खोजों में से कोई एक आज़माएं:",searching:"[SEARCH_TERM] की खोज की जा रही है..."},yl={thanks_to:pt,comments:vt,direction:Tt,strings:Ft},kt={};F(kt,{comments:()=>Mt,default:()=>zl,direction:()=>St,strings:()=>Dt,thanks_to:()=>bt});var bt="Diomed ",Mt="",St="ltr",Dt={placeholder:"Traži",clear_search:"Očisti",load_more:"Učitaj više rezultata",search_label:"Pretraži ovu stranicu",filters_label:"Filteri",zero_results:"Nema rezultata za [SEARCH_TERM]",many_results:"[COUNT] rezultata za [SEARCH_TERM]",one_result:"[COUNT] rezultat za [SEARCH_TERM]",alt_search:"Nema rezultata za [SEARCH_TERM]. Prikazujem rezultate za [DIFFERENT_TERM]",search_suggestion:"Nema rezultata za [SEARCH_TERM]. Pokušaj s jednom od ovih pretraga:",searching:"Pretražujem [SEARCH_TERM]..."},zl={thanks_to:bt,comments:Mt,direction:St,strings:Dt},Ht={};F(Ht,{comments:()=>Nt,default:()=>jl,direction:()=>yt,strings:()=>zt,thanks_to:()=>wt});var wt="Adam Laki ",Nt="",yt="ltr",zt={placeholder:"Keresés",clear_search:"Törlés",load_more:"További találatok betöltése",search_label:"Keresés az oldalon",filters_label:"Szűrés",zero_results:"Nincs találat a(z) [SEARCH_TERM] kifejezésre",many_results:"[COUNT] db találat a(z) [SEARCH_TERM] kifejezésre",one_result:"[COUNT] db találat a(z) [SEARCH_TERM] kifejezésre",alt_search:"Nincs találat a(z) [SEARCH_TERM] kifejezésre. Találatok mutatása inkább a(z) [DIFFERENT_TERM] kifejezésre",search_suggestion:"Nincs találat a(z) [SEARCH_TERM] kifejezésre. Próbáld meg a következő keresések egyikét:",searching:"Keresés a(z) [SEARCH_TERM] kifejezésre..."},jl={thanks_to:wt,comments:Nt,direction:yt,strings:zt},jt={};F(jt,{comments:()=>Ut,default:()=>Ol,direction:()=>It,strings:()=>Lt,thanks_to:()=>Ot});var Ot="Nixentric",Ut="",It="ltr",Lt={placeholder:"Cari",clear_search:"Bersihkan",load_more:"Muat lebih banyak hasil",search_label:"Telusuri situs ini",filters_label:"Filter",zero_results:"[SEARCH_TERM] tidak ditemukan",many_results:"Ditemukan [COUNT] hasil untuk [SEARCH_TERM]",one_result:"Ditemukan [COUNT] hasil untuk [SEARCH_TERM]",alt_search:"[SEARCH_TERM] tidak ditemukan. Menampilkan hasil [DIFFERENT_TERM] sebagai gantinya",search_suggestion:"[SEARCH_TERM] tidak ditemukan. Coba salah satu pencarian berikut ini:",searching:"Mencari [SEARCH_TERM]..."},Ol={thanks_to:Ot,comments:Ut,direction:It,strings:Lt},Pt={};F(Pt,{comments:()=>qt,default:()=>Ul,direction:()=>Vt,strings:()=>Kt,thanks_to:()=>xt});var xt="Cosette Bruhns Alonso, Andrew Janco ",qt="",Vt="ltr",Kt={placeholder:"Cerca",clear_search:"Cancella la cronologia",load_more:"Mostra più risultati",search_label:"Cerca nel sito",filters_label:"Filtri di ricerca",zero_results:"Nessun risultato per [SEARCH_TERM]",many_results:"[COUNT] risultati per [SEARCH_TERM]",one_result:"[COUNT] risultato per [SEARCH_TERM]",alt_search:"Nessun risultato per [SEARCH_TERM]. Mostrando risultati per [DIFFERENT_TERM] come alternativa.",search_suggestion:"Nessun risultato per [SEARCH_TERM]. Prova una delle seguenti ricerche:",searching:"Cercando [SEARCH_TERM]..."},Ul={thanks_to:xt,comments:qt,direction:Vt,strings:Kt},Gt={};F(Gt,{comments:()=>Jt,default:()=>Il,direction:()=>Zt,strings:()=>Yt,thanks_to:()=>Wt});var Wt="Tate",Jt="",Zt="ltr",Yt={placeholder:"検索",clear_search:"クリア",load_more:"次を読み込む",search_label:"このサイトを検索",filters_label:"フィルタ",zero_results:"[SEARCH_TERM]の検索に一致する情報はありませんでした",many_results:"[SEARCH_TERM]の[COUNT]件の検索結果",one_result:"[SEARCH_TERM]の[COUNT]件の検索結果",alt_search:"[SEARCH_TERM]の検索に一致する情報はありませんでした。[DIFFERENT_TERM]の検索結果を表示しています",search_suggestion:"[SEARCH_TERM]の検索に一致する情報はありませんでした。次のいずれかの検索を試してください",searching:"[SEARCH_TERM]を検索しています"},Il={thanks_to:Wt,comments:Jt,direction:Zt,strings:Yt},Xt={};F(Xt,{comments:()=>$t,default:()=>Ll,direction:()=>er,strings:()=>ur,thanks_to:()=>Qt});var Qt="Seokho Son ",$t="",er="ltr",ur={placeholder:"검색어",clear_search:"비우기",load_more:"검색 결과 더 보기",search_label:"사이트 검색",filters_label:"필터",zero_results:"[SEARCH_TERM]에 대한 결과 없음",many_results:"[SEARCH_TERM]에 대한 결과 [COUNT]건",one_result:"[SEARCH_TERM]에 대한 결과 [COUNT]건",alt_search:"[SEARCH_TERM]에 대한 결과 없음. [DIFFERENT_TERM]에 대한 결과",search_suggestion:"[SEARCH_TERM]에 대한 결과 없음. 추천 검색어: ",searching:"[SEARCH_TERM] 검색 중..."},Ll={thanks_to:Qt,comments:$t,direction:er,strings:ur},tr={};F(tr,{comments:()=>sr,default:()=>Pl,direction:()=>lr,strings:()=>ar,thanks_to:()=>rr});var rr="",sr="",lr="ltr",ar={placeholder:"Rapu",clear_search:"Whakakore",load_more:"Whakauta ētahi otinga kē",search_label:"Rapu",filters_label:"Tātari",zero_results:"Otinga kore ki [SEARCH_TERM]",many_results:"[COUNT] otinga ki [SEARCH_TERM]",one_result:"[COUNT] otinga ki [SEARCH_TERM]",alt_search:"Otinga kore ki [SEARCH_TERM]. Otinga kē ki [DIFFERENT_TERM]",search_suggestion:"Otinga kore ki [SEARCH_TERM]. whakamātau ki ngā mea atu:",searching:"Rapu ki [SEARCH_TERM]..."},Pl={thanks_to:rr,comments:sr,direction:lr,strings:ar},nr={};F(nr,{comments:()=>or,default:()=>xl,direction:()=>_r,strings:()=>cr,thanks_to:()=>ir});var ir="Paul van Brouwershaven",or="",_r="ltr",cr={placeholder:"Zoeken",clear_search:"Reset",load_more:"Meer resultaten laden",search_label:"Doorzoek deze site",filters_label:"Filters",zero_results:"Geen resultaten voor [SEARCH_TERM]",many_results:"[COUNT] resultaten voor [SEARCH_TERM]",one_result:"[COUNT] resultaat voor [SEARCH_TERM]",alt_search:"Geen resultaten voor [SEARCH_TERM]. In plaats daarvan worden resultaten voor [DIFFERENT_TERM] weergegeven",search_suggestion:"Geen resultaten voor [SEARCH_TERM]. Probeer een van de volgende zoekopdrachten:",searching:"Zoeken naar [SEARCH_TERM]..."},xl={thanks_to:ir,comments:or,direction:_r,strings:cr},fr={};F(fr,{comments:()=>dr,default:()=>ql,direction:()=>hr,strings:()=>mr,thanks_to:()=>Er});var Er="Christopher Wingate",dr="",hr="ltr",mr={placeholder:"Søk",clear_search:"Fjern",load_more:"Last flere resultater",search_label:"Søk på denne siden",filters_label:"Filtre",zero_results:"Ingen resultater for [SEARCH_TERM]",many_results:"[COUNT] resultater for [SEARCH_TERM]",one_result:"[COUNT] resultat for [SEARCH_TERM]",alt_search:"Ingen resultater for [SEARCH_TERM]. Viser resultater for [DIFFERENT_TERM] i stedet",search_suggestion:"Ingen resultater for [SEARCH_TERM]. Prøv en av disse søkeordene i stedet:",searching:"Søker etter [SEARCH_TERM]"},ql={thanks_to:Er,comments:dr,direction:hr,strings:mr},Cr={};F(Cr,{comments:()=>Rr,default:()=>Vl,direction:()=>Br,strings:()=>Ar,thanks_to:()=>gr});var gr="",Rr="",Br="ltr",Ar={placeholder:"Szukaj",clear_search:"Wyczyść",load_more:"Załaduj więcej",search_label:"Przeszukaj tę stronę",filters_label:"Filtry",zero_results:"Brak wyników dla [SEARCH_TERM]",many_results:"[COUNT] wyników dla [SEARCH_TERM]",one_result:"[COUNT] wynik dla [SEARCH_TERM]",alt_search:"Brak wyników dla [SEARCH_TERM]. Wyświetlam wyniki dla [DIFFERENT_TERM]",search_suggestion:"Brak wyników dla [SEARCH_TERM]. Pokrewne wyniki wyszukiwania:",searching:"Szukam [SEARCH_TERM]..."},Vl={thanks_to:gr,comments:Rr,direction:Br,strings:Ar},pr={};F(pr,{comments:()=>Tr,default:()=>Kl,direction:()=>Fr,strings:()=>kr,thanks_to:()=>vr});var vr="Jonatah",Tr="",Fr="ltr",kr={placeholder:"Pesquisar",clear_search:"Limpar",load_more:"Ver mais resultados",search_label:"Pesquisar",filters_label:"Filtros",zero_results:"Nenhum resultado encontrado para [SEARCH_TERM]",many_results:"[COUNT] resultados encontrados para [SEARCH_TERM]",one_result:"[COUNT] resultado encontrado para [SEARCH_TERM]",alt_search:"Nenhum resultado encontrado para [SEARCH_TERM]. Exibindo resultados para [DIFFERENT_TERM]",search_suggestion:"Nenhum resultado encontrado para [SEARCH_TERM]. Tente uma das seguintes pesquisas:",searching:"Pesquisando por [SEARCH_TERM]..."},Kl={thanks_to:vr,comments:Tr,direction:Fr,strings:kr},br={};F(br,{comments:()=>Sr,default:()=>Gl,direction:()=>Dr,strings:()=>Hr,thanks_to:()=>Mr});var Mr="Bogdan Mateescu ",Sr="",Dr="ltr",Hr={placeholder:"Căutare",clear_search:"Ştergeţi",load_more:"Încărcați mai multe rezultate",search_label:"Căutați în acest site",filters_label:"Filtre",zero_results:"Niciun rezultat pentru [SEARCH_TERM]",many_results:"[COUNT] rezultate pentru [SEARCH_TERM]",one_result:"[COUNT] rezultat pentru [SEARCH_TERM]",alt_search:"Niciun rezultat pentru [SEARCH_TERM]. Se afișează în schimb rezultatele pentru [DIFFERENT_TERM]",search_suggestion:"Niciun rezultat pentru [SEARCH_TERM]. Încercați una dintre următoarele căutări:",searching:"Se caută după: [SEARCH_TERM]..."},Gl={thanks_to:Mr,comments:Sr,direction:Dr,strings:Hr},wr={};F(wr,{comments:()=>yr,default:()=>Wl,direction:()=>zr,strings:()=>jr,thanks_to:()=>Nr});var Nr="Aleksandr Gordeev",yr="",zr="ltr",jr={placeholder:"Поиск",clear_search:"Очистить поле",load_more:"Загрузить еще",search_label:"Поиск по сайту",filters_label:"Фильтры",zero_results:"Ничего не найдено по запросу: [SEARCH_TERM]",many_results:"[COUNT] результатов по запросу: [SEARCH_TERM]",one_result:"[COUNT] результат по запросу: [SEARCH_TERM]",alt_search:"Ничего не найдено по запросу: [SEARCH_TERM]. Показаны результаты по запросу: [DIFFERENT_TERM]",search_suggestion:"Ничего не найдено по запросу: [SEARCH_TERM]. Попробуйте один из следующих вариантов",searching:"Поиск по запросу: [SEARCH_TERM]"},Wl={thanks_to:Nr,comments:yr,direction:zr,strings:jr},Or={};F(Or,{comments:()=>Ir,default:()=>Jl,direction:()=>Lr,strings:()=>Pr,thanks_to:()=>Ur});var Ur="Andrija Sagicc",Ir="",Lr="ltr",Pr={placeholder:"Претрага",clear_search:"Брисање",load_more:"Приказ више резултата",search_label:"Претрага сајта",filters_label:"Филтери",zero_results:"Нема резултата за [SEARCH_TERM]",many_results:"[COUNT] резултата за [SEARCH_TERM]",one_result:"[COUNT] резултата за [SEARCH_TERM]",alt_search:"Нема резултата за [SEARCH_TERM]. Приказ додатник резултата за [DIFFERENT_TERM]",search_suggestion:"Нема резултата за [SEARCH_TERM]. Покушајте са неком од следећих претрага:",searching:"Претрага термина [SEARCH_TERM]..."},Jl={thanks_to:Ur,comments:Ir,direction:Lr,strings:Pr},xr={};F(xr,{comments:()=>Vr,default:()=>Zl,direction:()=>Kr,strings:()=>Gr,thanks_to:()=>qr});var qr="Montazar Al-Jaber ",Vr="",Kr="ltr",Gr={placeholder:"Sök",clear_search:"Rensa",load_more:"Visa fler träffar",search_label:"Sök på denna sida",filters_label:"Filter",zero_results:"[SEARCH_TERM] gav inga träffar",many_results:"[SEARCH_TERM] gav [COUNT] träffar",one_result:"[SEARCH_TERM] gav [COUNT] träff",alt_search:"[SEARCH_TERM] gav inga träffar. Visar resultat för [DIFFERENT_TERM] istället",search_suggestion:"[SEARCH_TERM] gav inga träffar. Försök igen med en av följande sökord:",searching:"Söker efter [SEARCH_TERM]..."},Zl={thanks_to:qr,comments:Vr,direction:Kr,strings:Gr},Wr={};F(Wr,{comments:()=>Zr,default:()=>Yl,direction:()=>Yr,strings:()=>Xr,thanks_to:()=>Jr});var Jr="",Zr="",Yr="ltr",Xr={placeholder:"தேடுக",clear_search:"அழிக்குக",load_more:"மேலும் முடிவுகளைக் காட்டுக",search_label:"இந்த தளத்தில் தேடுக",filters_label:"வடிகட்டல்கள்",zero_results:"[SEARCH_TERM] க்கான முடிவுகள் இல்லை",many_results:"[SEARCH_TERM] க்கான [COUNT] முடிவுகள்",one_result:"[SEARCH_TERM] க்கான முடிவு",alt_search:"[SEARCH_TERM] இத்தேடலுக்கான முடிவுகள் இல்லை, இந்த தேடல்களுக்கான ஒத்த முடிவுகள் [DIFFERENT_TERM]",search_suggestion:"[SEARCH_TERM] இத் தேடலுக்கான முடிவுகள் இல்லை.இதற்கு பதிலீடான தேடல்களை தேடுக:",searching:"[SEARCH_TERM] தேடப்படுகின்றது"},Yl={thanks_to:Jr,comments:Zr,direction:Yr,strings:Xr},Qr={};F(Qr,{comments:()=>es,default:()=>Xl,direction:()=>us,strings:()=>ts,thanks_to:()=>$r});var $r="Taylan Özgür Bildik",es="",us="ltr",ts={placeholder:"Araştır",clear_search:"Temizle",load_more:"Daha fazla sonuç",search_label:"Site genelinde arama",filters_label:"Filtreler",zero_results:"[SEARCH_TERM] için sonuç yok",many_results:"[SEARCH_TERM] için [COUNT] sonuç bulundu",one_result:"[SEARCH_TERM] için [COUNT] sonuç bulundu",alt_search:"[SEARCH_TERM] için sonuç yok. Bunun yerine [DIFFERENT_TERM] için sonuçlar gösteriliyor",search_suggestion:"[SEARCH_TERM] için sonuç yok. Alternatif olarak aşağıdaki kelimelerden birini deneyebilirsiniz:",searching:"[SEARCH_TERM] araştırılıyor..."},Xl={thanks_to:$r,comments:es,direction:us,strings:ts},rs={};F(rs,{comments:()=>ls,default:()=>Ql,direction:()=>as,strings:()=>ns,thanks_to:()=>ss});var ss="Vladyslav Lyshenko ",ls="",as="ltr",ns={placeholder:"Пошук",clear_search:"Очистити поле",load_more:"Завантажити ще",search_label:"Пошук по сайту",filters_label:"Фільтри",zero_results:"Нічого не знайдено за запитом: [SEARCH_TERM]",many_results:"[COUNT] результатів на запит: [SEARCH_TERM]",one_result:"[COUNT] результат за запитом: [SEARCH_TERM]",alt_search:"Нічого не знайдено на запит: [SEARCH_TERM]. Показано результати на запит: [DIFFERENT_TERM]",search_suggestion:"Нічого не знайдено на запит: [SEARCH_TERM]. Спробуйте один із таких варіантів",searching:"Пошук за запитом: [SEARCH_TERM]"},Ql={thanks_to:ss,comments:ls,direction:as,strings:ns},is={};F(is,{comments:()=>_s,default:()=>$l,direction:()=>cs,strings:()=>fs,thanks_to:()=>os});var os="Long Nhat Nguyen",_s="",cs="ltr",fs={placeholder:"Tìm kiếm",clear_search:"Xóa",load_more:"Nhiều kết quả hơn",search_label:"Tìm kiếm trong trang này",filters_label:"Bộ lọc",zero_results:"Không tìm thấy kết quả cho [SEARCH_TERM]",many_results:"[COUNT] kết quả cho [SEARCH_TERM]",one_result:"[COUNT] kết quả cho [SEARCH_TERM]",alt_search:"Không tìm thấy kết quả cho [SEARCH_TERM]. Kiểm thị kết quả thay thế với [DIFFERENT_TERM]",search_suggestion:"Không tìm thấy kết quả cho [SEARCH_TERM]. Thử một trong các tìm kiếm:",searching:"Đang tìm kiếm cho [SEARCH_TERM]..."},$l={thanks_to:os,comments:_s,direction:cs,strings:fs},Es={};F(Es,{comments:()=>hs,default:()=>ea,direction:()=>ms,strings:()=>Cs,thanks_to:()=>ds});var ds="Amber Song",hs="",ms="ltr",Cs={placeholder:"搜索",clear_search:"清除",load_more:"加载更多结果",search_label:"站内搜索",filters_label:"筛选",zero_results:"未找到 [SEARCH_TERM] 的相关结果",many_results:"找到 [COUNT] 个 [SEARCH_TERM] 的相关结果",one_result:"找到 [COUNT] 个 [SEARCH_TERM] 的相关结果",alt_search:"未找到 [SEARCH_TERM] 的相关结果。改为显示 [DIFFERENT_TERM] 的相关结果",search_suggestion:"未找到 [SEARCH_TERM] 的相关结果。请尝试以下搜索。",searching:"正在搜索 [SEARCH_TERM]..."},ea={thanks_to:ds,comments:hs,direction:ms,strings:Cs},gs={};F(gs,{comments:()=>Bs,default:()=>ua,direction:()=>As,strings:()=>ps,thanks_to:()=>Rs});var Rs="Amber Song",Bs="",As="ltr",ps={placeholder:"搜索",clear_search:"清除",load_more:"加載更多結果",search_label:"站內搜索",filters_label:"篩選",zero_results:"未找到 [SEARCH_TERM] 的相關結果",many_results:"找到 [COUNT] 個 [SEARCH_TERM] 的相關結果",one_result:"找到 [COUNT] 個 [SEARCH_TERM] 的相關結果",alt_search:"未找到 [SEARCH_TERM] 的相關結果。改為顯示 [DIFFERENT_TERM] 的相關結果",search_suggestion:"未找到 [SEARCH_TERM] 的相關結果。請嘗試以下搜索。",searching:"正在搜索 [SEARCH_TERM]..."},ua={thanks_to:Rs,comments:Bs,direction:As,strings:ps},vs={};F(vs,{comments:()=>Fs,default:()=>ta,direction:()=>ks,strings:()=>bs,thanks_to:()=>Ts});var Ts="Amber Song",Fs="",ks="ltr",bs={placeholder:"搜索",clear_search:"清除",load_more:"加载更多结果",search_label:"站内搜索",filters_label:"筛选",zero_results:"未找到 [SEARCH_TERM] 的相关结果",many_results:"找到 [COUNT] 个 [SEARCH_TERM] 的相关结果",one_result:"找到 [COUNT] 个 [SEARCH_TERM] 的相关结果",alt_search:"未找到 [SEARCH_TERM] 的相关结果。改为显示 [DIFFERENT_TERM] 的相关结果",search_suggestion:"未找到 [SEARCH_TERM] 的相关结果。请尝试以下搜索。",searching:"正在搜索 [SEARCH_TERM]..."},ta={thanks_to:Ts,comments:Fs,direction:ks,strings:bs},ra=[Bu,Fu,Du,zu,Lu,Ku,Yu,ut,at,ct,mt,At,kt,Ht,jt,Pt,Gt,Xt,tr,nr,fr,Cr,pr,br,wr,Or,xr,Wr,Qr,rs,is,Es,gs,vs],sa=ra,la=["../../translations/af.json","../../translations/bn.json","../../translations/ca.json","../../translations/cs.json","../../translations/da.json","../../translations/de.json","../../translations/en.json","../../translations/es.json","../../translations/fi.json","../../translations/fr.json","../../translations/gl.json","../../translations/hi.json","../../translations/hr.json","../../translations/hu.json","../../translations/id.json","../../translations/it.json","../../translations/ja.json","../../translations/ko.json","../../translations/mi.json","../../translations/nl.json","../../translations/no.json","../../translations/pl.json","../../translations/pt.json","../../translations/ro.json","../../translations/ru.json","../../translations/sr.json","../../translations/sv.json","../../translations/ta.json","../../translations/tr.json","../../translations/uk.json","../../translations/vi.json","../../translations/zh-cn.json","../../translations/zh-tw.json","../../translations/zh.json"];function ou(e,t,u){const r=e.slice();return r[51]=t[u],r}function _u(e){let t,u,r;function s(a){e[37](a)}let l={show_empty_filters:e[5],open_filters:e[6],available_filters:e[18],translate:e[20],automatic_translations:e[19],translations:e[7]};return e[0]!==void 0&&(l.selected_filters=e[0]),t=new pl({props:l}),le.push(()=>rl(t,"selected_filters",s)),{c(){ke(t.$$.fragment)},m(a,n){Ee(t,a,n),r=!0},p(a,n){const i={};n[0]&32&&(i.show_empty_filters=a[5]),n[0]&64&&(i.open_filters=a[6]),n[0]&262144&&(i.available_filters=a[18]),n[0]&524288&&(i.automatic_translations=a[19]),n[0]&128&&(i.translations=a[7]),!u&&n[0]&1&&(u=!0,i.selected_filters=a[0],Qs(()=>u=!1)),t.$set(i)},i(a){r||(z(t.$$.fragment,a),r=!0)},o(a){U(t.$$.fragment,a),r=!1},d(a){de(t,a)}}}function cu(e){let t,u,r,s;const l=[na,aa],a=[];function n(i,d){return i[14]?0:1}return u=n(e),r=a[u]=l[u](e),{c(){t=p("div"),r.c(),g(t,"class","pagefind-ui__results-area svelte-e9gkc3")},m(i,d){T(i,t,d),a[u].m(t,null),s=!0},p(i,d){let _=u;u=n(i),u===_?a[u].p(i,d):(ae(),U(a[_],1,1,()=>{a[_]=null}),ne(),r=a[u],r?r.p(i,d):(r=a[u]=l[u](i),r.c()),z(r,1),r.m(t,null))},i(i){s||(z(r),s=!0)},o(i){U(r),s=!1},d(i){i&&v(t),a[u].d()}}}function aa(e){let t,u,r,s=[],l=new Map,a,n,i;function d(o,E){return o[13].results.length===0?_a:o[13].results.length===1?oa:ia}let _=d(e),h=_(e),m=e[13].results.slice(0,e[17]);const f=o=>o[51].id;for(let o=0;oe[17]&&Eu(e);return{c(){t=p("p"),h.c(),u=M(),r=p("ol");for(let o=0;oo[17]?c?c.p(o,E):(c=Eu(o),c.c(),c.m(n.parentNode,n)):c&&(c.d(1),c=null)},i(o){if(!i){for(let E=0;E{i[m]=null}),ne(),s=i[r],s?s.p(t,h):(s=i[r]=n[r](t),s.c()),z(s,1),s.m(l.parentNode,l))},i(_){a||(z(s),a=!0)},o(_){U(s),a=!1},d(_){_&&v(u),i[r].d(_),_&&v(l)}}}function Eu(e){let t,u=e[20]("load_more",e[19],e[7])+"",r,s,l;return{c(){t=p("button"),r=S(u),g(t,"type","button"),g(t,"class","pagefind-ui__button svelte-e9gkc3")},m(a,n){T(a,t,n),A(t,r),s||(l=G(t,"click",e[22]),s=!0)},p(a,n){n[0]&524416&&u!==(u=a[20]("load_more",a[19],a[7])+"")&&j(r,u)},d(a){a&&v(t),s=!1,l()}}}function du(e){let t,u=e[20]("searching",e[19],e[7]).replace(/\[SEARCH_TERM\]/,e[16])+"",r;return{c(){t=p("p"),r=S(u),g(t,"class","pagefind-ui__message svelte-e9gkc3")},m(s,l){T(s,t,l),A(t,r)},p(s,l){l[0]&589952&&u!==(u=s[20]("searching",s[19],s[7]).replace(/\[SEARCH_TERM\]/,s[16])+"")&&j(r,u)},d(s){s&&v(t)}}}function Ea(e){let t,u,r,s,l,a,n=e[20]("clear_search",e[19],e[7])+"",i,d,_,h,m,f,c,o,E=e[12]&&_u(e),B=e[15]&&cu(e);return{c(){t=p("div"),u=p("form"),r=p("input"),l=M(),a=p("button"),i=S(n),d=M(),_=p("div"),E&&E.c(),h=M(),B&&B.c(),g(r,"class","pagefind-ui__search-input svelte-e9gkc3"),g(r,"type","text"),g(r,"placeholder",s=e[20]("placeholder",e[19],e[7])),g(r,"autocapitalize","none"),g(r,"enterkeyhint","search"),r.autofocus=e[8],g(a,"class","pagefind-ui__search-clear svelte-e9gkc3"),K(a,"pagefind-ui__suppressed",!e[9]),g(_,"class","pagefind-ui__drawer svelte-e9gkc3"),K(_,"pagefind-ui__hidden",!e[15]),g(u,"class","pagefind-ui__form svelte-e9gkc3"),g(u,"role","search"),g(u,"aria-label",m=e[20]("search_label",e[19],e[7])),g(u,"action","javascript:void(0);"),g(t,"class","pagefind-ui svelte-e9gkc3"),K(t,"pagefind-ui--reset",e[1])},m(R,k){T(R,t,k),A(t,u),A(u,r),ze(r,e[9]),e[34](r),A(u,l),A(u,a),A(a,i),e[35](a),A(u,d),A(u,_),E&&E.m(_,null),A(_,h),B&&B.m(_,null),f=!0,e[8]&&r.focus(),c||(o=[G(r,"focus",e[21]),G(r,"keydown",e[32]),G(r,"input",e[33]),G(a,"click",e[36]),G(u,"submit",da)],c=!0)},p(R,k){(!f||k[0]&524416&&s!==(s=R[20]("placeholder",R[19],R[7])))&&g(r,"placeholder",s),(!f||k[0]&256)&&(r.autofocus=R[8]),k[0]&512&&r.value!==R[9]&&ze(r,R[9]),(!f||k[0]&524416)&&n!==(n=R[20]("clear_search",R[19],R[7])+"")&&j(i,n),(!f||k[0]&512)&&K(a,"pagefind-ui__suppressed",!R[9]),R[12]?E?(E.p(R,k),k[0]&4096&&z(E,1)):(E=_u(R),E.c(),z(E,1),E.m(_,h)):E&&(ae(),U(E,1,1,()=>{E=null}),ne()),R[15]?B?(B.p(R,k),k[0]&32768&&z(B,1)):(B=cu(R),B.c(),z(B,1),B.m(_,null)):B&&(ae(),U(B,1,1,()=>{B=null}),ne()),(!f||k[0]&32768)&&K(_,"pagefind-ui__hidden",!R[15]),(!f||k[0]&524416&&m!==(m=R[20]("search_label",R[19],R[7])))&&g(u,"aria-label",m),(!f||k[0]&2)&&K(t,"pagefind-ui--reset",R[1])},i(R){f||(z(E),z(B),f=!0)},o(R){U(E),U(B),f=!1},d(R){R&&v(t),e[34](null),e[35](null),E&&E.d(),B&&B.d(),c=!1,J(o)}}}var da=e=>e.preventDefault();function ha(e,t,u){const r={},s=la.map(C=>C.match(/([^\/]+)\.json$/)[1]);for(let C=0;CN[C]??H[C]??"";Js(()=>{let C=document?.querySelector?.("html")?.getAttribute?.("lang")||"en",H=Ru(C.toLocaleLowerCase());u(19,He=r[`${H.language}-${H.script}-${H.region}`]||r[`${H.language}-${H.region}`]||r[`${H.language}`]||r.en)}),Zs(()=>{D?.destroy?.(),D=null});const we=async()=>{if(!Ce&&(u(12,Ce=!0),!D)){let C;try{C=await xs(()=>import(`${l}pagefind.js`),[])}catch(N){console.error(N),console.error([`Pagefind couldn't be loaded from ${this.options.bundlePath}pagefind.js`,"You can configure this by passing a bundlePath option to PagefindUI",`[DEBUG: Loaded from ${document?.currentScript?.src??"no known script location"}]`].join(` `))}_||u(24,_=d?12:30);let H={...E||{},excerptLength:_};await C.options(H);for(const N of B){if(!N.bundlePath)throw new Error("mergeIndex requires a bundlePath parameter");const I=N.bundlePath;delete N.bundlePath,await C.mergeIndex(I,N)}D=C,Ds()}},Ds=async()=>{D&&(De=await D.filters(),(!ue||!Object.keys(ue).length)&&u(18,ue=De))},Hs=C=>{let H={};return Object.entries(C).filter(([,N])=>N).forEach(([N])=>{let[I,Z]=N.split(/:(.*)$/);H[I]=H[I]||[],H[I].push(Z)}),H};let te;const ws=async(C,H)=>{if(!C){u(15,Re=!1),te&&clearTimeout(te);return}const N=Hs(H),I=()=>Ns(C,N);o>0&&C?(te&&clearTimeout(te),te=setTimeout(I,o),await Ne(),D.preload(C,{filters:N})):I(),ys()},Ne=async()=>{for(;!D;)we(),await new Promise(C=>setTimeout(C,50))},Ns=async(C,H)=>{u(16,Se=C||""),typeof m=="function"&&(C=m(C)),u(14,ge=!0),u(15,Re=!0),await Ne();const N=++Me,I={filters:H};q&&typeof q=="object"&&(I.sort=q);const Z=await D.search(C,I);Me===N&&(Z.filters&&Object.keys(Z.filters)?.length&&u(18,ue=Z.filters),u(13,be=Z),u(14,ge=!1),u(17,Be=a))},ys=()=>{const C=x.offsetWidth;C!=Ms&&u(10,w.style.paddingRight=`${C+2}px`,w)},zs=C=>{C?.preventDefault(),u(17,Be+=a)},js=C=>{C.key==="Escape"&&(u(9,b=""),w.blur()),C.key==="Enter"&&C.preventDefault()};function Os(){b=this.value,u(9,b),u(23,R)}function Us(C){le[C?"unshift":"push"](()=>{w=C,u(10,w)})}function Is(C){le[C?"unshift":"push"](()=>{x=C,u(11,x)})}const Ls=()=>{u(9,b=""),w.blur()};function Ps(C){P=C,u(0,P)}return e.$$set=C=>{"base_path"in C&&u(25,l=C.base_path),"page_size"in C&&u(26,a=C.page_size),"reset_styles"in C&&u(1,n=C.reset_styles),"show_images"in C&&u(2,i=C.show_images),"show_sub_results"in C&&u(3,d=C.show_sub_results),"excerpt_length"in C&&u(24,_=C.excerpt_length),"process_result"in C&&u(4,h=C.process_result),"process_term"in C&&u(27,m=C.process_term),"show_empty_filters"in C&&u(5,f=C.show_empty_filters),"open_filters"in C&&u(6,c=C.open_filters),"debounce_timeout_ms"in C&&u(28,o=C.debounce_timeout_ms),"pagefind_options"in C&&u(29,E=C.pagefind_options),"merge_index"in C&&u(30,B=C.merge_index),"trigger_search_term"in C&&u(23,R=C.trigger_search_term),"translations"in C&&u(7,k=C.translations),"autofocus"in C&&u(8,y=C.autofocus),"sort"in C&&u(31,q=C.sort),"selected_filters"in C&&u(0,P=C.selected_filters)},e.$$.update=()=>{e.$$.dirty[0]&8388608&&R&&(u(9,b=R),u(23,R="")),e.$$.dirty[0]&513&&ws(b,P)},[P,n,i,d,h,f,c,k,y,b,w,x,Ce,be,ge,Re,Se,Be,ue,He,Ss,we,zs,R,_,l,a,m,o,E,B,q,js,Os,Us,Is,Ls,Ps]}var ma=class extends me{constructor(e){super(),he(this,e,ha,Ea,fe,{base_path:25,page_size:26,reset_styles:1,show_images:2,show_sub_results:3,excerpt_length:24,process_result:4,process_term:27,show_empty_filters:5,open_filters:6,debounce_timeout_ms:28,pagefind_options:29,merge_index:30,trigger_search_term:23,translations:7,autofocus:8,sort:31,selected_filters:0},null,[-1,-1])}},Ca=ma,Fe;try{Fe=new URL(document.currentScript.src).pathname.match(/^(.*\/)(?:pagefind-)?ui.js.*$/)[1]}catch{Fe="/pagefind/"}var Ta=class{constructor(e){this._pfs=null;let t=e.element??"[data-pagefind-ui]",u=e.bundlePath??Fe,r=e.pageSize??5,s=e.resetStyles??!0,l=e.showImages??!0,a=e.showSubResults??!1,n=e.excerptLength??0,i=e.processResult??null,d=e.processTerm??null,_=e.showEmptyFilters??!0,h=e.openFilters??[],m=e.debounceTimeoutMs??300,f=e.mergeIndex??[],c=e.translations??[],o=e.autofocus??!1,E=e.sort??null;delete e.element,delete e.bundlePath,delete e.pageSize,delete e.resetStyles,delete e.showImages,delete e.showSubResults,delete e.excerptLength,delete e.processResult,delete e.processTerm,delete e.showEmptyFilters,delete e.openFilters,delete e.debounceTimeoutMs,delete e.mergeIndex,delete e.translations,delete e.autofocus,delete e.sort;const B=t instanceof HTMLElement?t:document.querySelector(t);B?this._pfs=new Ca({target:B,props:{base_path:u,page_size:r,reset_styles:s,show_images:l,show_sub_results:a,excerpt_length:n,process_result:i,process_term:d,show_empty_filters:_,open_filters:h,debounce_timeout_ms:m,merge_index:f,translations:c,autofocus:o,sort:E,pagefind_options:e}}):console.error(`Pagefind UI couldn't find the selector ${t}`)}triggerSearch(e){this._pfs.$$set({trigger_search_term:e})}triggerFilters(e){let t={};for(let[u,r]of Object.entries(e))if(Array.isArray(r))for(let s of r)t[`${u}:${s}`]=!0;else t[`${u}:${r}`]=!0;this._pfs.$$set({selected_filters:t})}destroy(){this._pfs.$destroy()}};export{Ta as PagefindUI}; diff --git a/_astro/useAutoPause.CTsnzgmu.js b/_astro/useAutoPause.CTsnzgmu.js new file mode 100644 index 00000000..502f3ae8 --- /dev/null +++ b/_astro/useAutoPause.CTsnzgmu.js @@ -0,0 +1 @@ +import{r as i}from"./index.DhYZZe0J.js";function c(r,s,e){const u=e?.forcePlay??!0;let n=!1;const t=new IntersectionObserver(f=>{if(r)for(let a=0;at.disconnect()}function P(r,s,e){let u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];const n=Array.isArray(e)?e:u;i.useEffect(()=>{if(!r||!s)return;const t=Array.isArray(e)?{}:e;return c(r,s,t)},[r,s,...n])}export{P as u}; diff --git a/_astro/useAutoPause.G7-vOaP1.js b/_astro/useAutoPause.G7-vOaP1.js deleted file mode 100644 index 9e001c0d..00000000 --- a/_astro/useAutoPause.G7-vOaP1.js +++ /dev/null @@ -1 +0,0 @@ -import{r as f}from"./index.DhYZZe0J.js";function c(r,t,n){const e=n?.forcePlay??!0,s=new IntersectionObserver(u=>{if(r)for(let a=0;as.disconnect()}function d(r,t,n){let e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];const s=Array.isArray(n)?n:e;f.useEffect(()=>{if(!r||!t)return;const u=Array.isArray(n)?{}:n;return c(r,t,u)},[r,t,...s])}export{d as u}; diff --git a/_astro/vecToColor.CRC-QD4Q.js b/_astro/vecToColor.M1b1zeYo.js similarity index 79% rename from _astro/vecToColor.CRC-QD4Q.js rename to _astro/vecToColor.M1b1zeYo.js index 29be3113..8d4bb4c6 100644 --- a/_astro/vecToColor.CRC-QD4Q.js +++ b/_astro/vecToColor.M1b1zeYo.js @@ -1 +1 @@ -import{i as d}from"./animare.tXT0eSNG.js";function i(t){const n=d(t),o=n?t.x:t[0],r=n?t.y:t[1],u=n?t.z:t[2],a=n?"w"in t?t.w:void 0:t[3];return typeof a=="number"?`rgb(${Math.round(o)} ${Math.round(r)} ${Math.round(u)} / ${Math.round(a*100)}%)`:`rgb(${Math.round(o)} ${Math.round(r)} ${Math.round(u)})`}export{i as v}; +import{i as d}from"./animare.BjVW0jvP.js";function i(t){const n=d(t),o=n?t.x:t[0],r=n?t.y:t[1],u=n?t.z:t[2],a=n?"w"in t?t.w:void 0:t[3];return typeof a=="number"?`rgb(${Math.round(o)} ${Math.round(r)} ${Math.round(u)} / ${Math.round(a*100)}%)`:`rgb(${Math.round(o)} ${Math.round(r)} ${Math.round(u)})`}export{i as v}; diff --git a/api/animare/group/index.html b/api/animare/group/index.html index fd5c477d..99513497 100644 --- a/api/animare/group/index.html +++ b/api/animare/group/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

Group

Create a new timeline by grouping animations.

+ + Skip to content

Group

Create a new timeline by grouping animations.

syntax
function animare.timeline(
animations: AnimationGroupOptions,
onUpdateCallback: GroupOnUpdateCallback,
): GroupTimelineObject;

Usage

example
import animare, { createAnimations } from 'animare';
import { ease } from 'animare/plugins';
import type { AnimationGroupOptions, GroupOnUpdateCallback } from 'animare';
diff --git a/api/animare/loop/index.html b/api/animare/loop/index.html index fcaaf9fc..a400dd1e 100644 --- a/api/animare/loop/index.html +++ b/api/animare/loop/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

Loop

Create a game loop.

+ + Skip to content

Loop

Create a game loop.

syntax
function loop(onUpdateCallback: (delta: number) => void): () => void;

Usage

example
import animare from 'animare';
diff --git a/api/animare/single/index.html b/api/animare/single/index.html index d535c48f..6402e0bc 100644 --- a/api/animare/single/index.html +++ b/api/animare/single/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

Single

Create a single animation

+ + Skip to content

Single

Create a single animation

syntax
function animare.timeline(
animations: SingleAnimationOptions,
onUpdateCallback: SingleOnUpdateCallback,
): TimelineObject;

Usage

example
import animare from 'animare';
import type { SingleAnimationOptions, SingleOnUpdateCallback } from 'animare';
@@ -50,10 +50,9 @@

animations

See: AnimationOptions

OnUpdateCallback

-

(AnimationInfo, TimelineInfo) => void Required

+

(AnimationInfo) => void Required

This is a callback function that is called on every frame update -with CallbackInfo, and TimelineInfo as arguments.

-

CallbackInfo

+with AnimationInfo.

See: AnimationInfo

TimelineInfo

An object containing information about the timeline.

diff --git a/api/animare/timeline/index.html b/api/animare/timeline/index.html index 6e8bb7a2..9ea07e3d 100644 --- a/api/animare/timeline/index.html +++ b/api/animare/timeline/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

Timeline

Create a new timeline with multiple animations.

+ + Skip to content

Timeline

Create a new timeline with multiple animations.

syntax
function animare.timeline(
animations: AnimationOptions[],
onUpdateCallback: OnUpdateCallback,
timelineOptions?: TimelineGlobalValues,
): TimelineObject;

Usage

example
import animare, { createAnimations } from 'animare';
import { ease } from 'animare/plugins';
import type { TimelineGlobalOptions, OnUpdateCallback } from 'animare';
diff --git a/api/enums/direction/index.html b/api/enums/direction/index.html index 1ba36353..5c4dee5f 100644 --- a/api/enums/direction/index.html +++ b/api/enums/direction/index.html @@ -31,11 +31,11 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - + Skip to content

Direction

The direction in which the animation should play.

+ Skip to content

Direction

The direction in which the animation should play.

In the following example, all animations have the same from and to values but they play in different directions.

-
Direction
ForwardReverseAlternateAlternateReverse
+
Direction
ForwardReverseAlternateAlternateReverse

Forward

Direction.Forward

Play the animation in the normal direction.

diff --git a/api/enums/event/index.html b/api/enums/event/index.html index 1340ce3f..76c7af80 100644 --- a/api/enums/event/index.html +++ b/api/enums/event/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

Event

The events that can be triggered by the timeline.

+ + Skip to content

Event

The events that can be triggered by the timeline.

Play

Event.Play

Event triggered when the animation starts playing.

diff --git a/api/enums/scrollaxis/index.html b/api/enums/scrollaxis/index.html index 89336e7b..b51f3cd6 100644 --- a/api/enums/scrollaxis/index.html +++ b/api/enums/scrollaxis/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

ScrollAxis

The axis to track.

+ + Skip to content

ScrollAxis

The axis to track.

Vertical

ScrollAxis.Vertical

Track the element scroll vertically on the y axis.

diff --git a/api/enums/scrollelementedge/index.html b/api/enums/scrollelementedge/index.html index 09dac4f4..a7e81ee4 100644 --- a/api/enums/scrollelementedge/index.html +++ b/api/enums/scrollelementedge/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

ScrollElementEdge

The edge of the element to track.

+ + Skip to content

ScrollElementEdge

The edge of the element to track.

Top

ScrollElementEdge.Top

The top edge of the element.

diff --git a/api/enums/timing/index.html b/api/enums/timing/index.html index b9993906..8d36067d 100644 --- a/api/enums/timing/index.html +++ b/api/enums/timing/index.html @@ -31,10 +31,10 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - + Skip to content

Timing

For determining the position of the animation in the timeline.

-
Timing
FromStartAfterPreviousAfterPreviousWithPreviousFromStart
+ Skip to content

Timing

For determining the position of the animation in the timeline.

+
Timing
FromStartAfterPreviousAfterPreviousWithPreviousFromStart

AfterPrevious

Timing.AfterPrevious

Play the animation after the previous one finishes.

diff --git a/api/guids/animatecolor/index.html b/api/guids/animatecolor/index.html index b7512e7a..c2bf1cd6 100644 --- a/api/guids/animatecolor/index.html +++ b/api/guids/animatecolor/index.html @@ -31,14 +31,14 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - + Skip to content

Animate Color

Here’s a simple example demonstrating how to animate colors in Animare:

+ Skip to content

Animate Color

Here’s a simple example demonstrating how to animate colors in Animare:

-
Animate Color
+
Animate Color
example
import animare from 'animare';
import { lerp, vecToRGB, ease } from 'animare/plugins';
import type { Vec3Array } from 'animare';
const circle = document.querySelector<HTMLDivElement>('.circle');
const fromColor: Vec3Array = [255, 0, 0];
const toColor: Vec3Array = [0, 255, 0];
animare.single({ from: 0, to: 1, duration: 1000, ease: ease.linear }, info => {
if (!circle) return;
const mixed = lerp(fromColor, toColor, info.value);
const rgbString = vecToRGB(mixed);
circle.style.backgroundColor = rgbString;
});
\ No newline at end of file diff --git a/api/guids/reuseanimatedvalue/index.html b/api/guids/reuseanimatedvalue/index.html index d28ab385..45b16085 100644 --- a/api/guids/reuseanimatedvalue/index.html +++ b/api/guids/reuseanimatedvalue/index.html @@ -31,15 +31,15 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - + Skip to content

Reuse Animated Value

The fewer animations in the timeline, the better the performance. When animating multiple CSS properties with the same duration and start time, you don’t need to create a new animation for each property.

+ Skip to content

Reuse Animated Value

The fewer animations in the timeline, the better the performance. When animating multiple CSS properties with the same duration and start time, you don’t need to create a new animation for each property.

-
Reuse Values

animare

+
Reuse Values

animare

example
import animare from 'animare';
import { lerp, ease } from 'animare/plugins';
import type { AnimationGroupOptions } from 'animare';
const letters = document.querySelectorAll<HTMLSpanElement>('.letters');
const animations: AnimationGroupOptions = {
to: Array<number>(letters.length).fill(1), // create an animation for each element
// offset each animation except the first one to play early by 300ms
offset: i => (i === 0 ? 0 : -300),
duration: 500, // for each animation
};
@@ -48,4 +48,4 @@
// opacity
letter.style.opacity = t.toString();
// blur
const blur = lerp(3, 0, t);
letter.style.filter = `blur(${blur}px)`;
// rotate
const rotate = lerp(i % 2 === 0 ? 90 : -90, 0, ease.out.back(5)(t));
letter.style.rotate = `${rotate}deg`;
-
// scale
const scale = lerp(2, 1, ease.in.wobble(1.6)(t));
letter.style.scale = `${scale}`;
}
});
\ No newline at end of file +
// scale
const scale = lerp(2, 1, ease.in.wobble(1.6)(t));
letter.style.scale = `${scale}`;
}
});
\ No newline at end of file diff --git a/api/guids/scrollanimation/index.html b/api/guids/scrollanimation/index.html new file mode 100644 index 00000000..6dd4130e --- /dev/null +++ b/api/guids/scrollanimation/index.html @@ -0,0 +1,45 @@ + Scroll Animation | animare + + Skip to content

Scroll Animation

Here a simple Example of how to use the scrollAnimation plugin.

+
Scroll Animation

animare

+
example
import animare, { ScrollElementEdge } from 'animare';
import { lerp, vecToRGB, ease, scrollAnimation } from 'animare/plugins';
import type { Vec3Array } from 'animare';
+
// the element which has the scrollbar
const root = document.querySelector<HTMLDivElement>('.container');
const text = document.querySelector<HTMLHeadingElement>('.text');
+
const white: Vec3Array = [255, 0, 0];
const orange: Vec3Array = [244, 96, 54];
+
const animation = animare.single({ to: 1, autoPlay: false }, info => {
if (!text || !root) return;
+
// keep the text element centered while the animation is playing
text.current.style.translate = `0px ${info.value * (root.clientHeight / 2 + text.clientHeight / 2)}px`;
+
text.style.letterSpacing = lerp(40, 0, info.value) + 'px';
text.style.scale = lerp(0.5, 1, info.value).toString();
+
const interpolatedColor = lerp(white, orange, info.value);
text.style.color = vecToRGB(interpolatedColor);
});
+
scrollAnimation({
timeline: animation,
root: root,
element: text,
start: ScrollElementEdge.Bottom,
// start the animation at the center of the root element
startOffset: root.clientHeight / 2 - text.clientHeight / 2,
});
\ No newline at end of file diff --git a/api/guids/updateanimationvalues/index.html b/api/guids/updateanimationvalues/index.html index c1977ef7..166052e2 100644 --- a/api/guids/updateanimationvalues/index.html +++ b/api/guids/updateanimationvalues/index.html @@ -31,23 +31,23 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - + Skip to content

Update Animation Values

Here some examples of how to update and change the animation values after creating the timeline.

+ Skip to content

Update Animation Values

Here some examples of how to update and change the animation values after creating the timeline.

-
Update Values

Duration

+
Update Values

Duration

timeline

The name property is required to target a specific animation for updating it.

example
import animare from 'animare';
const timeline = animare.timeline(
[
{ name: 'first', to: 100 },
{ name: 'second', to: 50 },
],
info => {
// ...
},
);
-
timeline.updateValues({ name: 'first', duration: 1000 });
+
timeline.updateValues([{ name: 'first', duration: 1000 }]);

group

The index property is required to target a specific animation for updating it.

example
import animare from 'animare';
const timeline = animare.group({ to: [100, 50] }, info => {
// ...
});
-
timeline.updateValues({ index: 0, duration: 1000 });
+
timeline.updateValues([{ index: 0, duration: 1000 }]);

single

example
import animare from 'animare';
const animation = animare.single({ to: 100 }, info => {
// ...
});
-
animation.updateValues({ duration: 1000 });
\ No newline at end of file +
animation.updateValues({ duration: 1000 });
\ No newline at end of file diff --git a/api/objects/animationinfo/index.html b/api/objects/animationinfo/index.html index 49bf4a36..2fdbc6cc 100644 --- a/api/objects/animationinfo/index.html +++ b/api/objects/animationinfo/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

AnimationInfo

name

+ + Skip to content

AnimationInfo

name

name: string

The name of the animation.

index

diff --git a/api/objects/animationoptions/index.html b/api/objects/animationoptions/index.html index 3950fefb..eb872986 100644 --- a/api/objects/animationoptions/index.html +++ b/api/objects/animationoptions/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

AnimationOptions

name

+ + Skip to content

AnimationOptions

name

name: readonly string Required

The name of the animation, used to identify the animation in the timeline.

to

diff --git a/api/objects/timelineinfo/index.html b/api/objects/timelineinfo/index.html index 8364832f..fdc51304 100644 --- a/api/objects/timelineinfo/index.html +++ b/api/objects/timelineinfo/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

TimelineInfo

progress

+ + Skip to content

TimelineInfo

progress

progress: number

The current progress of the timeline, typically a value between 0 and 1.

elapsedTime

diff --git a/api/objects/timelineobject/index.html b/api/objects/timelineobject/index.html index 3eeaf64d..5adc9ec1 100644 --- a/api/objects/timelineobject/index.html +++ b/api/objects/timelineobject/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

TimelineObject

The return object when creating a new timeline.

+ + Skip to content

TimelineObject

The return object when creating a new timeline.

timelineInfo

timelineInfo: TimelineInfo

Retrieves information about the timeline. diff --git a/api/objects/timelineoptions/index.html b/api/objects/timelineoptions/index.html index a69de254..eeb2a89a 100644 --- a/api/objects/timelineoptions/index.html +++ b/api/objects/timelineoptions/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

TimelineOptions

timelinePlayCount

+ + Skip to content

TimelineOptions

timelinePlayCount

timelinePlayCount?: number Default: 1

The number of times the timeline should play. Use -1 for infinite plays.

diff --git a/api/plugins/autopause/index.html b/api/plugins/autopause/index.html index daa68eb6..50eb4672 100644 --- a/api/plugins/autopause/index.html +++ b/api/plugins/autopause/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

AutoPause

Uses the IntersectionObserver API to automatically pauses the animation when the element is not visible.

+ + Skip to content

AutoPause

Uses the IntersectionObserver API to automatically pauses the animation when the element is not visible.

Resumes the timeline when the element becomes visible, even if the timeline was not playing before.

syntax
function autoPause(timeline: TimelineObject, element: Element, options?: AutoPauseOptions): () => void;

Usage

diff --git a/api/plugins/ease/index.html b/api/plugins/ease/index.html index 4739b702..995718c4 100644 --- a/api/plugins/ease/index.html +++ b/api/plugins/ease/index.html @@ -31,93 +31,93 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - + Skip to content

Ease

animare comes with a few predefined easing functions.

+ Skip to content

Ease

animare comes with a few predefined easing functions.

example
import { ease } from 'animare/plugins';
animare.single({ to: 100, ease: ease.out.quad }, info => console.log(info.value));

Linear

ease.linear Default

Default linear easing function.

-

linear

+

linear

Sine

ease.in.sine in
ease.out.sine out
ease.inOut.sine in-out

-

in.sine

-

out.sine

-

inOut.sine

+

in.sine

+

out.sine

+

inOut.sine

Quad

ease.in.quad in
ease.out.quad out
ease.inOut.quad in-out

-

in.quad

-

out.quad

-

inOut.quad

+

in.quad

+

out.quad

+

inOut.quad

Cubic

ease.in.cubic in
ease.out.cubic out
ease.inOut.cubic in-out

-

in.cubic

-

out.cubic

-

inOut.cubic

+

in.cubic

+

out.cubic

+

inOut.cubic

Quart

ease.in.quart in
ease.out.quart out
ease.inOut.quart in-out

-

in.quart

-

out.quart

-

inOut.quart

+

in.quart

+

out.quart

+

inOut.quart

Quint

ease.in.quint in
ease.out.quint out
ease.inOut.quint in-out

-

in.quint

-

out.quint

-

inOut.quint

+

in.quint

+

out.quint

+

inOut.quint

Expo

ease.in.expo in
ease.out.expo out
ease.inOut.expo in-out

-

in.expo

-

out.expo

-

inOut.expo

+

in.expo

+

out.expo

+

inOut.expo

Circ

ease.in.circ in
ease.out.circ out
ease.inOut.circ in-out

-

in.circ

-

out.circ

-

inOut.circ

+

in.circ

+

out.circ

+

inOut.circ

Elastic

ease.in.elastic in
ease.out.elastic out
ease.inOut.elastic in-out

-

in.elastic

-

out.elastic

-

inOut.elastic

+

in.elastic

+

out.elastic

+

inOut.elastic

Bounce

ease.in.Bounce in
ease.out.Bounce out
ease.inOut.Bounce in-out

-

in.bounce

-

out.bounce

-

inOut.bounce

+

in.bounce

+

out.bounce

+

inOut.bounce

Back()

ease.in.back(c1 = 1.70158) in
ease.out.back(c1 = 1.70158) out
ease.inOut.back(c1 = 1.70158) in-out

-

in.back()

-

out.back()

-

inOut.back()

+

in.back()

+

out.back()

+

inOut.back()

Poly()

ease.in.poly(n: number) in
ease.out.poly(n: number) out
ease.inOut.poly(n: number) in-out

A power function. Position is equal to the Nth power of elapsed time.

-

in.poly(10)

-

out.poly(2)

-

inOut.poly(3)

+

in.poly(10)

+

out.poly(2)

+

inOut.poly(3)

Wobble()

ease.in.wobble(bounciness = 1) in
ease.out.wobble(bounciness = 1) out
@@ -126,33 +126,33 @@

Wobble()

The default bounciness is 1, which overshoots a little bit once. A bounciness of 0 doesn’t overshoot at all, and a bounciness of N > 1 will overshoot about N times.

-

in.wobble(0)

-

out.wobble(1)

-

inOut.wobble(6)

+

in.wobble(0)

+

out.wobble(1)

+

inOut.wobble(6)

Spring()

ease.spring({ mass = 1, stiffness = 100, damping = 10, velocity = 0, duration = 1000 })

Creates a spring easing function.

-

spring()

+

spring()

Steps()

ease.steps(steps = 10, start = true)

Creates a staircase easing function.

steps The number of steps.
start Whether to start at the beginning or at the end of each interval.

-

steps(10, false)

-

steps(20)

+

steps(10, false)

+

steps(20)

CubicBezier()

ease.cubicBezier(x1: number, y1: number, x2: number, y2: number)

Defines a cubic Bézier curve, similar to CSS’s cubic-bezier easing function.

-

cubicBezier(.25, .1, .25, 1)

+

cubicBezier(.25, .1, .25, 1)

Custom()

ease.custom(d: string)

Creates a custom easing function from an SVG path d attribute string.

pathString The SVG path d attribute.

-

custom("...")

-

custom("...")

+

custom("...")

+

custom("...")

FromPoints()

fromPoints(values: Float32List)

Creates a custom easing function from a pre-generated array of points using Animare Ease Visualizer.

diff --git a/api/plugins/lerp/index.html b/api/plugins/lerp/index.html index 432073f4..5c1e88b8 100644 --- a/api/plugins/lerp/index.html +++ b/api/plugins/lerp/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

Lerp

Linearly interpolates between two values.

+ + Skip to content

Lerp

Linearly interpolates between two values.

syntax
function lerp(start: Vec, end: Vec, progress: number): Vec;

Usage

See: VectorToColor

diff --git a/api/plugins/scrollanimation/index.html b/api/plugins/scrollanimation/index.html index 9a957c43..6f5602f6 100644 --- a/api/plugins/scrollanimation/index.html +++ b/api/plugins/scrollanimation/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

scrollAnimation

Makes the scroll progress control the timeline.

+ + Skip to content

scrollAnimation

Makes the scroll progress control the timeline.

syntax
function scrollAnimation(options: ScrollAnimationOptions): () => void;

Usage

To use with React see: useScrollAnimation

diff --git a/api/plugins/vectortocolor/index.html b/api/plugins/vectortocolor/index.html index 53889b3f..52c570f6 100644 --- a/api/plugins/vectortocolor/index.html +++ b/api/plugins/vectortocolor/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

VectorToColor

A plugin to convert a vector to a color string.

+ + Skip to content

VectorToColor

A plugin to convert a vector to a color string.

Usage

example
import { vecToRGB } from 'animare/plugins';
const red: Vec3Array = [255, 0, 0];
const rgb = vecToRGB(red); // 'rgb(255 0 0)'
diff --git a/api/react/useanimare/index.html b/api/react/useanimare/index.html index 91911184..78db8288 100644 --- a/api/react/useanimare/index.html +++ b/api/react/useanimare/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

useAnimare

A custom react hook to make it easy to create animations in React.

+ + Skip to content

useAnimare

A custom react hook to make it easy to create animations in React.

syntax
function useAnimare(callback: () => TimelineObject, deps?: React.DependencyList): TimelineObject;

Usage

example
import { useAnimare } from 'animare/react';
diff --git a/api/react/useautopause/index.html b/api/react/useautopause/index.html index 340ada17..83083137 100644 --- a/api/react/useautopause/index.html +++ b/api/react/useautopause/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

useAutoPause

A custom react hook to make it easy to create auto pause animations in React.

+ + Skip to content

useAutoPause

A custom react hook to make it easy to create auto pause animations in React.

syntax
function autoPause(timeline: TimelineObject, element: Element, options?: AutoPauseOptions, deps?: React.DependencyList): void;

Based on autoPause

Usage

diff --git a/api/react/useloop/index.html b/api/react/useloop/index.html index 69616add..dd8cd397 100644 --- a/api/react/useloop/index.html +++ b/api/react/useloop/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

useLoop

A custom react hook to make it easy to create game loops in React.

+ + Skip to content

useLoop

A custom react hook to make it easy to create game loops in React.

syntax
function useLoop(onUpdateCallback: (delta: number) => void, deps: React.DependencyList = []): void;

Based on Loop

Usage

diff --git a/api/react/usescrollanimation/index.html b/api/react/usescrollanimation/index.html index d7e2edb4..b92edf3c 100644 --- a/api/react/usescrollanimation/index.html +++ b/api/react/usescrollanimation/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

useScrollAnimation

A custom react hook to make it easy to create scroll animations in React.

+ + Skip to content

useScrollAnimation

A custom react hook to make it easy to create scroll animations in React.

Based on scrollAnimation

syntax
function useScrollAnimation(options: ScrollAnimationOptions, deps: React.DependencyList = []): void;

See: ScrollElementEdge, ScrollAxis

diff --git a/index.html b/index.html index c3aeb1ef..ff7dc455 100644 --- a/index.html +++ b/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - + Skip to content

Welcome to animare

Welcome to

animare

+ Skip to content

Welcome to animare

Welcome to

animare

Light

Advanced animation library for modern JavaScript.

Modern

Based on `requestAnimationFrame`
\ No newline at end of file diff --git a/installation/index.html b/installation/index.html index cf7ee378..20c69a8a 100644 --- a/installation/index.html +++ b/installation/index.html @@ -31,8 +31,8 @@ svg:where(.astro-c6vsoqas){color:var(--sl-icon-color);font-size:var(--sl-icon-size, 1em);width:1em;height:1em} starlight-tabs:where(.astro-esqgolmp){display:block}.tablist-wrapper:where(.astro-esqgolmp){overflow-x:auto}:where(.astro-esqgolmp)[role=tablist]{display:flex;list-style:none;border-bottom:2px solid var(--sl-color-gray-5);padding:0}.tab:where(.astro-esqgolmp){margin-bottom:-2px}.tab:where(.astro-esqgolmp)>:where(.astro-esqgolmp)[role=tab]{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem;text-decoration:none;border-bottom:2px solid var(--sl-color-gray-5);color:var(--sl-color-gray-3);outline-offset:var(--sl-outline-offset-inside);overflow-wrap:initial}.tab:where(.astro-esqgolmp) :where(.astro-esqgolmp)[role=tab][aria-selected=true]{color:var(--sl-color-white);border-color:var(--sl-color-text-accent);font-weight:600}.tablist-wrapper:where(.astro-esqgolmp)~[role=tabpanel]{margin-top:1rem} .sl-steps{--bullet-size: calc(var(--sl-line-height) * 1rem);--bullet-margin: .375rem;list-style:none;padding-inline-start:0}.sl-steps>li{position:relative;padding-inline-start:calc(var(--bullet-size) + 1rem);padding-bottom:1px;min-height:calc(var(--bullet-size) + var(--bullet-margin))}.sl-steps>li+li{margin-top:0}.sl-steps>li:before{content:counter(list-item);position:absolute;top:0;inset-inline-start:0;width:var(--bullet-size);height:var(--bullet-size);line-height:var(--bullet-size);font-size:var(--sl-text-xs);font-weight:600;text-align:center;color:var(--sl-color-white);background-color:var(--sl-color-gray-6);border-radius:99rem;box-shadow:inset 0 0 0 1px var(--sl-color-gray-5)}.sl-steps>li:not(:last-of-type):after{--guide-width: 1px;content:"";position:absolute;top:calc(var(--bullet-size) + var(--bullet-margin));bottom:var(--bullet-margin);inset-inline-start:calc((var(--bullet-size) - var(--guide-width)) / 2);width:var(--guide-width);background-color:var(--sl-color-hairline-light)}.sl-steps>li>:first-child{--lh: calc(1em * var(--sl-line-height));--shift-y: calc(.5 * (var(--bullet-size) - var(--lh)));transform:translateY(var(--shift-y));margin-bottom:var(--shift-y)}.sl-steps>li>:first-child:where(h1,h2,h3,h4,h5,h6){--lh: calc(1em * var(--sl-line-height-headings))}@supports (--prop: 1lh){.sl-steps>li>:first-child{--lh: 1lh}} - - Skip to content

Installation

Install using your package manager of choice to add animare to your project:

+ + Skip to content \ No newline at end of file diff --git a/pagefind/fragment/en_1a8d5db.pf_fragment b/pagefind/fragment/en_1a8d5db.pf_fragment new file mode 100644 index 00000000..b2348861 Binary files /dev/null and b/pagefind/fragment/en_1a8d5db.pf_fragment differ diff --git a/pagefind/fragment/en_806721e.pf_fragment b/pagefind/fragment/en_806721e.pf_fragment new file mode 100644 index 00000000..e9e3f11e Binary files /dev/null and b/pagefind/fragment/en_806721e.pf_fragment differ diff --git a/pagefind/fragment/en_8b8b835.pf_fragment b/pagefind/fragment/en_8b8b835.pf_fragment deleted file mode 100644 index b06c2287..00000000 Binary files a/pagefind/fragment/en_8b8b835.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_9991a6f.pf_fragment b/pagefind/fragment/en_9991a6f.pf_fragment deleted file mode 100644 index 827b100b..00000000 Binary files a/pagefind/fragment/en_9991a6f.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_b8c2b1d.pf_fragment b/pagefind/fragment/en_b8c2b1d.pf_fragment new file mode 100644 index 00000000..5e9f1a0f Binary files /dev/null and b/pagefind/fragment/en_b8c2b1d.pf_fragment differ diff --git a/pagefind/fragment/en_c5f0707.pf_fragment b/pagefind/fragment/en_c5f0707.pf_fragment new file mode 100644 index 00000000..0b85e97a Binary files /dev/null and b/pagefind/fragment/en_c5f0707.pf_fragment differ diff --git a/pagefind/fragment/en_d6d1ce1.pf_fragment b/pagefind/fragment/en_d6d1ce1.pf_fragment deleted file mode 100644 index 255d115d..00000000 Binary files a/pagefind/fragment/en_d6d1ce1.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_e1d95ee.pf_fragment b/pagefind/fragment/en_e1d95ee.pf_fragment deleted file mode 100644 index 0de921d7..00000000 Binary files a/pagefind/fragment/en_e1d95ee.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_f15f728.pf_fragment b/pagefind/fragment/en_f15f728.pf_fragment new file mode 100644 index 00000000..1bdfed73 Binary files /dev/null and b/pagefind/fragment/en_f15f728.pf_fragment differ diff --git a/pagefind/index/en_34c9204.pf_index b/pagefind/index/en_34c9204.pf_index deleted file mode 100644 index d50a6c03..00000000 Binary files a/pagefind/index/en_34c9204.pf_index and /dev/null differ diff --git a/pagefind/index/en_aac81ea.pf_index b/pagefind/index/en_aac81ea.pf_index new file mode 100644 index 00000000..3fba31fa Binary files /dev/null and b/pagefind/index/en_aac81ea.pf_index differ diff --git a/pagefind/pagefind-entry.json b/pagefind/pagefind-entry.json index 79cbd091..c7aaa6ec 100644 --- a/pagefind/pagefind-entry.json +++ b/pagefind/pagefind-entry.json @@ -1 +1 @@ -{"version":"1.1.0","languages":{"en":{"hash":"en_3dc89a3572","wasm":"en","page_count":27}}} \ No newline at end of file +{"version":"1.1.0","languages":{"en":{"hash":"en_ce9033bcac","wasm":"en","page_count":28}}} \ No newline at end of file diff --git a/pagefind/pagefind.en_3dc89a3572.pf_meta b/pagefind/pagefind.en_3dc89a3572.pf_meta deleted file mode 100644 index 984c2b59..00000000 Binary files a/pagefind/pagefind.en_3dc89a3572.pf_meta and /dev/null differ diff --git a/pagefind/pagefind.en_ce9033bcac.pf_meta b/pagefind/pagefind.en_ce9033bcac.pf_meta new file mode 100644 index 00000000..e555964f Binary files /dev/null and b/pagefind/pagefind.en_ce9033bcac.pf_meta differ diff --git a/sitemap-0.xml b/sitemap-0.xml index 9e6b0c69..575a30ee 100644 --- a/sitemap-0.xml +++ b/sitemap-0.xml @@ -1 +1 @@ -https://alabsi91.github.io/animare/https://alabsi91.github.io/animare/api/animare/group/https://alabsi91.github.io/animare/api/animare/loop/https://alabsi91.github.io/animare/api/animare/single/https://alabsi91.github.io/animare/api/animare/timeline/https://alabsi91.github.io/animare/api/enums/direction/https://alabsi91.github.io/animare/api/enums/event/https://alabsi91.github.io/animare/api/enums/scrollaxis/https://alabsi91.github.io/animare/api/enums/scrollelementedge/https://alabsi91.github.io/animare/api/enums/timing/https://alabsi91.github.io/animare/api/guids/animatecolor/https://alabsi91.github.io/animare/api/guids/reuseanimatedvalue/https://alabsi91.github.io/animare/api/guids/updateanimationvalues/https://alabsi91.github.io/animare/api/objects/animationinfo/https://alabsi91.github.io/animare/api/objects/animationoptions/https://alabsi91.github.io/animare/api/objects/timelineinfo/https://alabsi91.github.io/animare/api/objects/timelineobject/https://alabsi91.github.io/animare/api/objects/timelineoptions/https://alabsi91.github.io/animare/api/plugins/autopause/https://alabsi91.github.io/animare/api/plugins/ease/https://alabsi91.github.io/animare/api/plugins/lerp/https://alabsi91.github.io/animare/api/plugins/scrollanimation/https://alabsi91.github.io/animare/api/plugins/vectortocolor/https://alabsi91.github.io/animare/api/react/useanimare/https://alabsi91.github.io/animare/api/react/useautopause/https://alabsi91.github.io/animare/api/react/useloop/https://alabsi91.github.io/animare/api/react/usescrollanimation/https://alabsi91.github.io/animare/installation/ \ No newline at end of file +https://alabsi91.github.io/animare/https://alabsi91.github.io/animare/api/animare/group/https://alabsi91.github.io/animare/api/animare/loop/https://alabsi91.github.io/animare/api/animare/single/https://alabsi91.github.io/animare/api/animare/timeline/https://alabsi91.github.io/animare/api/enums/direction/https://alabsi91.github.io/animare/api/enums/event/https://alabsi91.github.io/animare/api/enums/scrollaxis/https://alabsi91.github.io/animare/api/enums/scrollelementedge/https://alabsi91.github.io/animare/api/enums/timing/https://alabsi91.github.io/animare/api/guids/animatecolor/https://alabsi91.github.io/animare/api/guids/reuseanimatedvalue/https://alabsi91.github.io/animare/api/guids/scrollanimation/https://alabsi91.github.io/animare/api/guids/updateanimationvalues/https://alabsi91.github.io/animare/api/objects/animationinfo/https://alabsi91.github.io/animare/api/objects/animationoptions/https://alabsi91.github.io/animare/api/objects/timelineinfo/https://alabsi91.github.io/animare/api/objects/timelineobject/https://alabsi91.github.io/animare/api/objects/timelineoptions/https://alabsi91.github.io/animare/api/plugins/autopause/https://alabsi91.github.io/animare/api/plugins/ease/https://alabsi91.github.io/animare/api/plugins/lerp/https://alabsi91.github.io/animare/api/plugins/scrollanimation/https://alabsi91.github.io/animare/api/plugins/vectortocolor/https://alabsi91.github.io/animare/api/react/useanimare/https://alabsi91.github.io/animare/api/react/useautopause/https://alabsi91.github.io/animare/api/react/useloop/https://alabsi91.github.io/animare/api/react/usescrollanimation/https://alabsi91.github.io/animare/installation/ \ No newline at end of file