const t=t=>[].concat(...t),e=t=>"object"==typeof t&&!Array.isArray(t)&&"function"!=typeof t,i=t=>{for(let e in t)return!1;return!0},s=(t,e)=>{let i,s,a=Object.keys(t),n={};for(let r=0,o=a.length;r""+t,n=t=>{let e=parseFloat(t);return a(t).replace(a(e),"")},r=t=>a(t).trim(),o=t=>Array.isArray(t)||"string"==typeof t?("string"==typeof t&&(t=t.split(/\s+/)),t):[t],l=t=>Array.isArray(t)||"string"==typeof t?Boolean(t.length):null!=t&&null!=t&&!Number.isNaN(t),u=t=>"-"==(t=t.replace(/([A-Z])/g,(t=>`-${t.toLowerCase()}`))).charAt(0)?t.substr(1):t,h=t=>t.includes("--")?t:`${t}`.replace(/-([a-z])/g,((t,e)=>e.toUpperCase())),c=(t,e)=>{let i=[...t],s={...e};for(;i.length;){let{[i.pop()]:t,...e}=s;s=e}return s},m=(t,e)=>{let i=[...t],s={};for(let t of i)l(e[t])&&(s[t]=e[t]);return s},p=(...t)=>{let e=0,i=[],s=(t=t.map((t=>{let i=o(t),s=i.length;return s>e&&(e=s),i}))).length;for(let a=0;a1&&s--,n=6*s<1?e+6*(i-e)*s:2*s<1?i:3*s<2?e+(i-e)*(2/3-s)*6:e,a[u]=255*n;return a}};var d={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};const y=t=>{var e,i,s=[],a=1;if("string"==typeof t)if(g[t])s=g[t].slice(),i="rgb";else if("transparent"===t)a=0,i="rgb",s=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(t)){var n=t.slice(1);a=1,(l=n.length)<=4?(s=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],4===l&&(a=parseInt(n[3]+n[3],16)/255)):(s=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],8===l&&(a=parseInt(n[6]+n[7],16)/255)),s[0]||(s[0]=0),s[1]||(s[1]=0),s[2]||(s[2]=0),i="rgb"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(t)){var r=e[1],o="rgb"===r;i=n=r.replace(/a$/,"");var l="cmyk"===n?4:"gray"===n?1:3;s=e[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(t,e){if(/%$/.test(t))return e===l?parseFloat(t)/100:"rgb"===n?255*parseFloat(t)/100:parseFloat(t);if("h"===n[e]){if(/deg$/.test(t))return parseFloat(t);if(void 0!==d[t])return d[t]}return parseFloat(t)})),r===n&&s.push(1),a=o||void 0===s[l]?1:s[l],s=s.slice(0,l)}else t.length>10&&/[0-9](?:\s|\/)/.test(t)&&(s=t.match(/([0-9]+)/g).map((function(t){return parseFloat(t)})),i=t.match(/([a-z])/gi).join("").toLowerCase());else Number.isNaN(t)?Array.isArray(t)||t.length?(s=[t[0],t[1],t[2]],i="rgb",a=4===t.length?t[3]:1):t instanceof Object&&(null!=t.r||null!=t.red||null!=t.R?(i="rgb",s=[t.r||t.red||t.R||0,t.g||t.green||t.G||0,t.b||t.blue||t.B||0]):(i="hsl",s=[t.h||t.hue||t.H||0,t.s||t.saturation||t.S||0,t.l||t.lightness||t.L||t.b||t.brightness]),a=t.a||t.alpha||t.opacity||1,null!=t.opacity&&(a/=100)):(i="rgb",s=[t>>>16,(65280&t)>>>8,255&t]);return{space:i,values:s,alpha:a}},b=t=>{Array.isArray(t)&&t.raw&&(t=String.raw(...arguments));var e,i=y(t);return i.space?((e=Array(3))[0]=Math.min(Math.max(i.values[0],0),255),e[1]=Math.min(Math.max(i.values[1],0),255),e[2]=Math.min(Math.max(i.values[2],0),255),"h"===i.space[0]&&(e=f.rgb(e)),e.push(Math.min(Math.max(i.alpha,0),1)),e):[]},S=()=>({document:"document"in globalThis?globalThis.document:{},CSS:"CSS"in globalThis?globalThis.CSS:{}}),k=()=>S().document,E=()=>S().CSS,A=t=>"string"==typeof t?t.includes("%")?parseFloat(t)/100:"from"==t?0:"to"==t?1:parseFloat(t):t,w=t=>{let e=new Set,i=Object.keys(t),s=i.length;for(let a=0;at.offset-e.offset))},O={};class v{constructor(t){this.map=new Map(t)}getMap(){return this.map}get(t){return this.map.get(t)}keys(){return Array.from(this.map.keys())}values(){return Array.from(this.map.values())}set(t,e){return this.map.set(t,e),this}add(t){let e=this.size;return this.set(e,t),this}get size(){return this.map.size}get length(){return this.map.size}last(t=1){let e=this.keys()[this.size-t];return this.get(e)}delete(t){return this.map.delete(t)}remove(t){return this.map.delete(t),this}clear(){return this.map.clear(),this}has(t){return this.map.has(t)}entries(){return this.map.entries()}forEach(t,e){return this.map.forEach(t,e),this}[Symbol.iterator](){return this.entries()}}const I=(t="")=>e=>"string"==typeof e?e:`${e}${t}`,D=I(),x=I("px"),M=I("deg"),C=t=>e=>l(e)?o(e).map((e=>{if("number"!=typeof e&&"string"!=typeof e)return e;let i=Number(e),s=Number.isNaN(i)?"string"==typeof e?e.trim():e:i;return t(s)})):[],P=(t,e)=>o(t).map(C(e)),N=C(D),T=C(x),F=C(M),j=new v,q=(t="transparent")=>{let e;if(t=t.trim(),j.has(t))return j.get(t);if(i(E())&&(e=b(t)),!i(k())){if(!E()?.supports("background-color",t))return t;let i=k()?.createElement("div");i.style.backgroundColor=t,k()?.body.appendChild(i);let{backgroundColor:s}=globalThis?.getComputedStyle?.(i);i.remove();let a=/\(([^)]+)\)?/.exec(s)?.[1].split(",");e=(3==a.length?[...a,"1"]:a).map((t=>parseFloat(t)))}return j.set(t,e),e},z={translate3d:["--translate3d0","--translate3d1","--translate3d2"],translate:["--translate0","--translate1"],translateX:"--translateX",translateY:"--translateY",translateZ:"--translateZ",rotate3d:["--rotate3d0","--rotate3d1","--rotate3d2","--rotate3d3"],rotate:"--rotate",rotateX:"--rotateX",rotateY:"--rotateY",rotateZ:"--rotateZ",scale3d:["--scale3d0","--scale3d1","--scale3d2"],scale:["--scale0","--scale1"],scaleX:"--scaleX",scaleY:"--scaleY",scaleZ:"--scaleZ",skew:["--skew0","--skew1"],skewX:"--skewX",skewY:"--skewY",perspective:"--perspective"},R="registerProperty"in E(),L=Object.keys(z),_=(t={})=>Object.keys(t).filter((t=>L.includes(t))).map((t=>{if(!R)return"";let e=[].concat(z[t]);return e.forEach((t=>{if(globalThis.RegisteredCSSVars?.[t])return;let e={name:t,inherits:!1};/translate|perspective/i.test(t)?E()?.registerProperty?.({...e,syntax:"",initialValue:"0px"}):/rotate3d3|skew/i.test(t)?E()?.registerProperty?.({...e,syntax:"",initialValue:"0deg"}):/scale|rotate3d/i.test(t)?E()?.registerProperty?.({...e,syntax:"",initialValue:/rotate3d/i.test(t)?0:1}):/rotate/i.test(t)&&E()?.registerProperty?.({...e,syntax:"",initialValue:"0deg"}),globalThis.RegisteredCSSVars??={},globalThis.RegisteredCSSVars[t]=!0})),`${t}(${e.map((t=>`var(${t})`))})`})).join(" "),V=(t={})=>{let e={};return L.forEach((i=>{if(!(i in t))return;let s=[].concat(t[i]).filter((t=>l(t))).map((t=>"string"==typeof t&&/\s/.test(t.trim())?t.split(/\s+/):t));if(0==s.length)return;let a=[].concat(z[i]),n=s.every((t=>Array.isArray(t))),r=1==s.length&&"scale"==i;a.forEach(((t,i)=>{let a=r?0:i,o=n?p(...s)[a]:s;if(l(o)){let i=t;/translate|perspective/i.test(i)?o=T(o):/rotate3d3|skew/i.test(i)?o=F(o):/scale|rotate3d/i.test(i)||/rotate/i.test(i)&&(o=F(o)),e[t]=o}}))})),e},U="function"==typeof Float32Array,Y=(t,e)=>1-3*e+3*t,K=(t,e)=>3*e-6*t,X=t=>3*t,$=(t,e,i)=>((Y(e,i)*t+K(e,i))*t+X(e))*t,G=(t,e,i)=>3*Y(e,i)*t*t+2*K(e,i)*t+X(e),Z=(t,e,i,s)=>{if(!(0<=t&&t<=1&&0<=i&&i<=1))throw new Error("bezier x values must be in [0, 1] range");if(t===e&&i===s)return t=>t;for(var a=U?new Float32Array(11):new Array(11),n=0;n<11;++n)a[n]=$(.1*n,t,i);const r=e=>{let s=0,n=1;for(;10!==n&&a[n]<=e;++n)s+=.1;--n;let r=s+.1*((e-a[n])/(a[n+1]-a[n])),o=G(r,t,i);return o>=.001?((t,e,i,s)=>{for(var a=0;a<4;++a){let a=G(e,i,s);if(0===a)return e;e-=($(e,i,s)-t)/a}return e})(e,r,t,i):0===o?r:((t,e,i,s,a)=>{let n,r,o=0;do{r=e+(i-e)/2,n=$(r,s,a)-t,n>0?i=r:e=r}while(Math.abs(n)>1e-7&&++o<10);return r})(e,s,s+.1,t,i)};return t=>0===t||1===t?t:$(r(t),e,s)},B=(t,e,i)=>Math.min(Math.max(t,e),i),Q=t=>Math.pow(t,2),H=t=>Math.pow(t,3),W=t=>Math.pow(t,4),J=t=>Math.pow(t,5),tt=t=>Math.pow(t,6),et=t=>1-Math.cos(t*Math.PI/2),it=t=>1-Math.sqrt(1-t*t),st=t=>t*t*(3*t-2),at=t=>{let e,i=4;for(;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)},nt=(t,e=[])=>{let[i=1,s=.5]=e;const a=B(i,1,10),n=B(s,.1,2);return 0===t||1===t?t:-a*Math.pow(2,10*(t-1))*Math.sin((t-1-n/(2*Math.PI)*Math.asin(1/a))*(2*Math.PI)/n)},rt=(t,e=[],i)=>{let[s=1,a=100,n=10,r=0]=e;s=B(s,.1,1e3),a=B(a,.1,1e3),n=B(n,.1,1e3),r=B(r,.1,1e3);const o=Math.sqrt(a/s),l=n/(2*Math.sqrt(a*s)),u=l<1?o*Math.sqrt(1-l*l):0,h=l<1?(l*o-r)/u:-r+o;let c=i?i*t/1e3:t;return c=l<1?Math.exp(-c*l*o)*(1*Math.cos(u*c)+h*Math.sin(u*c)):(1+h*c)*Math.exp(-c*o),0===t||1===t?t:1-c},ot=new Map,lt=1e4,ut=(t="spring")=>{if(ot.has(t))return ot.get(t);const e="function"==typeof t?t:Et(t),i="function"==typeof t?[]:At(t),s=1/6;let a=0,n=0,r=0;for(;++r<1e4;)if(a+=s,1===e(a,i,null)){if(n++,n>=16)break}else n=0;const o=a*s*1e3;return ot.set(t,o),o},ht=(t,e=[])=>{let[i=10,s]=e;return("start"==s?Math.ceil:Math.floor)(B(t,0,1)*i)/i},ct=(t,e=[])=>{let[i,s,a,n]=e;return Z(i,s,a,n)(t)},mt=Z(.42,0,1,1),pt=t=>(e,i=[],s)=>1-t(1-e,i,s),gt=t=>(e,i=[],s)=>e<.5?t(2*e,i,s)/2:1-t(-2*e+2,i,s)/2,ft=t=>(e,i=[],s)=>e<.5?(1-t(1-2*e,i,s))/2:(t(2*e-1,i,s)+1)/2,dt={steps:ht,"step-start":t=>ht(t,[1,"start"]),"step-end":t=>ht(t,[1,"end"]),linear:t=>t,"cubic-bezier":ct,ease:t=>ct(t,[.25,.1,.25,1]),in:mt,out:pt(mt),"in-out":gt(mt),"out-in":ft(mt),"in-quad":Q,"out-quad":pt(Q),"in-out-quad":gt(Q),"out-in-quad":ft(Q),"in-cubic":H,"out-cubic":pt(H),"in-out-cubic":gt(H),"out-in-cubic":ft(H),"in-quart":W,"out-quart":pt(W),"in-out-quart":gt(W),"out-in-quart":ft(W),"in-quint":J,"out-quint":pt(J),"in-out-quint":gt(J),"out-in-quint":ft(J),"in-expo":tt,"out-expo":pt(tt),"in-out-expo":gt(tt),"out-in-expo":ft(tt),"in-sine":et,"out-sine":pt(et),"in-out-sine":gt(et),"out-in-sine":ft(et),"in-circ":it,"out-circ":pt(it),"in-out-circ":gt(it),"out-in-circ":ft(it),"in-back":st,"out-back":pt(st),"in-out-back":gt(st),"out-in-back":ft(st),"in-bounce":at,"out-bounce":pt(at),"in-out-bounce":gt(at),"out-in-bounce":ft(at),"in-elastic":nt,"out-elastic":pt(nt),"in-out-elastic":gt(nt),"out-in-elastic":ft(nt),spring:rt,"spring-in":rt,"spring-out":pt(rt),"spring-in-out":gt(rt),"spring-out-in":ft(rt)};let yt=Object.keys(dt);const bt=(t,e)=>{Object.assign(dt,{[t]:e}),yt=Object.keys(dt)},St=(...t)=>{Object.assign(dt,...t),yt=Object.keys(dt)},kt=t=>u(t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim(),Et=t=>{let e=kt(a(t));return yt.includes(e)?dt[e]:null},At=t=>{const e=/(\(|\s)([^)]+)\)?/.exec(a(t));return e?e[2].split(",").map((t=>{let e=parseFloat(t);return Number.isNaN(e)?t.trim():e})):[]},wt=(t,e,i)=>e+(i-e)*t,Ot=(t,e)=>Math.round(t*10**e)/10**e,vt=(t,e,i=3)=>{let s=e.length-1,a=B(Math.floor(t*s),0,s-1),n=e[a],r=e[a+1];return Ot(wt((t-a/s)*s,n,r),i)},It=t=>{let e=parseFloat(t);return"number"==typeof e&&!Number.isNaN(e)},Dt=(t,e)=>{t=B(t,0,1);let i=e.length-1;return e[Math.round(t*i)]},xt=(t,e,i=3)=>{let s="";return It(e[0])&&(s=n(e[0])),vt(t,e.map((t=>"number"==typeof t?t:parseFloat(t))),i)+s},Mt=(t,e,i=3)=>p(...e.map((t=>q(t)))).map(((e,s)=>{let a=vt(t,e);return s<3?Math.round(a):Ot(a,i)})),Ct=t=>r(t).replace(/(\d|\)|\w)\s/g,(t=>t[0]+"__")).split("__").map(r).filter(l),Pt=(t,e,s=3)=>e.every((t=>"number"==typeof t))?vt(t,e,s):e.every((t=>i(E())?l(b(t??null)):E()?.supports?.("color",a(t))))?`rgba(${Mt(t,e,s)})`:e.some((t=>"string"==typeof t))?e.some((t=>/(\d|\)|\w)\s/.test(r(t))))?p(...e.map(Ct)).map((e=>Pt(t,e,s))).join(" "):e.every((t=>It(t)))?xt(t,e,s):Dt(t,e):void 0,Nt=(t={})=>{let e="string"==typeof t||"function"==typeof t,{easing:i="spring(1, 100, 10, 0)",numPoints:s=100,decimal:a=3,duration:n}=e?{easing:t}:t;return{easing:i,numPoints:s,decimal:a,duration:n}},Tt=new Map,Ft=({easing:t,numPoints:e,duration:i}={})=>{const s=[],a=`${t}${e}`;if(Tt.has(a))return Tt.get(a);const n="function"==typeof t?t:Et(t),r="function"==typeof t?[]:At(t);for(let t=0;t{if("string"==typeof t.easing){let e=kt(t.easing);/(spring|spring-in)$/i.test(e)&&(t.duration=ut(t.easing))}},qt=(t,e={})=>{let i=Nt(e);return jt(i),Ft(i).map((e=>Pt(e,t,i.decimal)))},zt=(t,e={})=>{let i=Nt(e),{duration:s}=i;return jt(i),[qt(t,i),l(s)?s:i.duration]},Rt=(t={})=>{let{easing:e,numPoints:i,decimal:a,duration:n,...r}=t,o={easing:e,numPoints:i,decimal:a,duration:n};jt(o);let u=s(r,(t=>qt(t,o))),h={};return l(n)?h={duration:n}:l(o.duration)&&(h={duration:o.duration}),Object.assign({},u,h)},Lt={translate:t=>P(t,x),translate3d:t=>P(t,x),translateX:t=>T(t),translateY:t=>T(t),translateZ:t=>T(t),rotate:t=>P(t,M),rotate3d:t=>P(t,D),rotateX:t=>F(t),rotateY:t=>F(t),rotateZ:t=>F(t),scale:t=>P(t,D),scale3d:t=>P(t,D),scaleX:t=>N(t),scaleY:t=>N(t),scaleZ:t=>N(t),skew:t=>P(t,M),skewX:t=>F(t),skewY:t=>F(t),perspective:t=>T(t)},_t=Object.keys(Lt),Vt=t=>{let e,i,s=Object.keys(t),a={};for(let n=0,r=s.length;n{let i="",s=t.length;for(let a=0;a(e=e??Math.max(...t.map((t=>t.length))),t.map((t=>{let i=t.length;return t.every((t=>Array.isArray(t)))?p(...Kt(p(...t),e)):i!==e?Array.from(Array(e),((s,a)=>{let n=1==i?Array(2).fill(t[0]):t;return xt(a/(e-1),n)})):t}))),Xt=(t,e=!1)=>{let n,o,h=Vt(t);if(R&&e)n=Object.assign({},c(L,h),V(h));else{let t=Object.keys(h).filter((t=>_t.includes(t))),e=t.map((t=>Lt[t](h[t])));e=Kt(e),o=p(...e).filter(l).map((e=>Ut(t,e))),n=c(_t,h)}return n=s(n,((t,e)=>{let s;if(!/color|shadow/i.test(e)){let a=/rotate/i.test(e),n=new RegExp(Yt,"i").test(e)||!i(E())&&E()?.supports?.(u(e),"1px");if(a||n)return a?s=F:n&&(s=T),s(t).map((t=>{let e=r(t).split(/\s+/);return s(e).join(" ")}))}return[].concat(t).map(a)})),Object.assign({},l(o)?{transform:o}:null,n)},$t=(t,e=!1)=>t.map((t=>{let i=Vt(t);if(R&&e)return{rest:Object.assign({},V(i),c(L,i)),transformFunctions:null};let{translate:s,translate3d:a,translateX:n,translateY:r,translateZ:o,rotate:l,rotate3d:u,rotateX:h,rotateY:m,rotateZ:p,scale:g,scale3d:f,scaleX:d,scaleY:y,scaleZ:b,skew:S,skewX:k,skewY:E,perspective:A,...w}=i;return s=T(s),a=T(a),n=T(n)[0],r=T(r)[0],o=T(o)[0],l=F(l),u=N(u),h=F(h)[0],m=F(m)[0],p=F(p)[0],g=N(g),f=N(f),d=N(d)[0],y=N(y)[0],b=N(b)[0],S=F(S),k=F(k)[0],E=F(E)[0],A=T(A)[0],{rest:w,transformFunctions:[a,s,n,r,o,u,l,h,m,p,f,g,d,y,b,S,k,E,A]}})).map((({rest:t,transformFunctions:e})=>{let i=R?null:Ut(_t,e);return t=s(t,((t,e)=>{let i;if(t=a(t),!/color|shadow/i.test(e)){let s=/rotate/i.test(e),a=new RegExp(Yt,"i").test(e);if(s||a)return s?i=F:a&&(i=T),i(t).join(" ")}return t})),Object.assign({},l(i)?{transform:i}:null,t)})),Gt=({callback:t=(()=>{}),scope:e=null,name:i="event"})=>({callback:t,scope:e,name:i});class Zt extends v{constructor(t="event"){super(),this.name=t}}const Bt=t=>"object"==typeof t&&!Array.isArray(t)&&"function"!=typeof t;class Qt extends v{constructor(){super()}getEvent(t){let e=this.get(t);return e instanceof Zt?e:(this.set(t,new Zt(t)),this.get(t))}newListener(t,e,i){let s=this.getEvent(t);return s.add(Gt({name:t,callback:e,scope:i})),s}on(t,e,i){if(null==t||null==t)return this;"string"==typeof t&&(t=t.trim().split(/\s+/));let s,a,n=Bt(t),r=n?e:i;return n||(a=e),Object.keys(t).forEach((e=>{s=n?e:t[e],n&&(a=t[e]),this.newListener(s,a,r)}),this),this}removeListener(t,e,i){let s=this.get(t);if(s instanceof Zt&&e){let a=Gt({name:t,callback:e,scope:i});s.forEach(((t,e)=>{if(t.callback===a.callback&&t.scope===a.scope)return s.remove(e)}))}return s}off(t,e,i){if(null==t||null==t)return this;"string"==typeof t&&(t=t.trim().split(/\s+/));let s,a,n=Bt(t),r=n?e:i;return n||(a=e),Object.keys(t).forEach((e=>{s=n?e:t[e],n&&(a=t[e]),"function"==typeof a?this.removeListener(s,a,r):this.remove(s)}),this),this}once(t,e,i){if(null==t||null==t)return this;"string"==typeof t&&(t=t.trim().split(/\s+/));let s=Bt(t);return Object.keys(t).forEach((a=>{let n=s?a:t[a],r=s?t[a]:e,o=s?e:i,l=(...t)=>{r.apply(o,t),this.removeListener(n,l,o)};this.newListener(n,l,o)}),this),this}emit(t,...e){return null==t||null==t||("string"==typeof t&&(t=t.trim().split(/\s+/)),t.forEach((t=>{let i=this.get(t);i instanceof Zt&&i.forEach((t=>{let{callback:i,scope:s}=t;i.apply(s,e)}))}),this)),this}clear(){return((t,e,...i)=>{t.forEach((t=>{t[e](...i)}))})(this,"clear"),super.clear(),this}}const Ht=t=>"string"==typeof t?Array.from(k()?.querySelectorAll?.(t)):[t],Wt=e=>Array.isArray(e)?t(e.map(Wt)):"string"==typeof e||e instanceof Node?Ht(e):e instanceof NodeList||e instanceof HTMLCollection?Array.from(e):[],Jt=(t,e,i)=>"function"==typeof t?t.apply(i,e):t,te=(t,e,i)=>s(t,(t=>Jt(t,e,i))),ee={in:"ease-in",out:"ease-out","in-out":"ease-in-out","in-sine":"cubic-bezier(0.47, 0, 0.745, 0.715)","out-sine":"cubic-bezier(0.39, 0.575, 0.565, 1)","in-out-sine":"cubic-bezier(0.445, 0.05, 0.55, 0.95)","in-quad":"cubic-bezier(0.55, 0.085, 0.68, 0.53)","out-quad":"cubic-bezier(0.25, 0.46, 0.45, 0.94)","in-out-quad":"cubic-bezier(0.455, 0.03, 0.515, 0.955)","in-cubic":"cubic-bezier(0.55, 0.055, 0.675, 0.19)","out-cubic":"cubic-bezier(0.215, 0.61, 0.355, 1)","in-out-cubic":"cubic-bezier(0.645, 0.045, 0.355, 1)","in-quart":"cubic-bezier(0.895, 0.03, 0.685, 0.22)","out-quart":"cubic-bezier(0.165, 0.84, 0.44, 1)","in-out-quart":"cubic-bezier(0.77, 0, 0.175, 1)","in-quint":"cubic-bezier(0.755, 0.05, 0.855, 0.06)","out-quint":"cubic-bezier(0.23, 1, 0.32, 1)","in-out-quint":"cubic-bezier(0.86, 0, 0.07, 1)","in-expo":"cubic-bezier(0.95, 0.05, 0.795, 0.035)","out-expo":"cubic-bezier(0.19, 1, 0.22, 1)","in-out-expo":"cubic-bezier(1, 0, 0, 1)","in-circ":"cubic-bezier(0.6, 0.04, 0.98, 0.335)","out-circ":"cubic-bezier(0.075, 0.82, 0.165, 1)","in-out-circ":"cubic-bezier(0.785, 0.135, 0.15, 0.86)","in-back":"cubic-bezier(0.6, -0.28, 0.735, 0.045)","out-back":"cubic-bezier(0.175, 0.885, 0.32, 1.275)","in-out-back":"cubic-bezier(0.68, -0.55, 0.265, 1.55)"},ie=Object.keys(ee),se=(t="ease")=>{let e=u(t).replace(/^ease-/,"");return ie.includes(e)?ee[e]:t},ae={keyframes:[],offset:[],loop:1,delay:0,speed:1,endDelay:0,easing:"ease",timelineOffset:0,autoplay:!0,duration:1e3,persist:!0,fillMode:"none",direction:"normal",padEndDelay:!1,timeline:k()?.timeline,extend:{}},ne=t=>{let{options:e,...i}=t,s=e instanceof he?e.options:Array.isArray(e)?e?.[0]?.options:e;return Object.assign({},s,i)},re=["easing","loop","endDelay","duration","speed","delay","timelineOffset","direction","extend","fillMode","composite"],oe=["keyframes","padEndDelay","persist","onfinish","oncancel","autoplay","target","targets","timeline"],le=[...re,...oe],ue=class{constructor(t={}){this.options={},this.initialOptions={},this.properties={},this.totalDuration=0,this.totalDurationOptions={},this.maxDuration=0,this.minDelay=1/0,this.maxSpeed=1/0,this.maxEndDelay=0,this.timelineOffset=0,this.emitter=new Qt,this.targets=new v,this.targetIndexes=new WeakMap,this.keyframeEffects=new WeakMap,this.computedOptions=new WeakMap,this.animations=new WeakMap,this.computedKeyframes=new WeakMap,this.loop=this.loop.bind(this),this.onVisibilityChange=this.onVisibilityChange.bind(this),this.on("error",console.error),this.updateOptions(t),this.mainAnimation&&(this.visibilityPlayState=this.getPlayState(),ue.pauseOnPageHidden&&k()?.addEventListener("visibilitychange",this.onVisibilityChange,!1)),this.newPromise()}static requestFrame(t=0){let e=1e3/ue.FRAME_RATE,i=t-ue.FRAME_START_TIME;i>e&&(ue.FRAME_START_TIME=t-i%e,ue.RUNNING.forEach((t=>{t.emitter.getEvent("update").length<=0?t.stopLoop():t.loop()}))),ue.RUNNING.size>0?ue.animationFrame=window.requestAnimationFrame(ue.requestFrame):ue.cancelFrame()}static cancelFrame(){window.cancelAnimationFrame(ue.animationFrame),ue.animationFrame=null}loop(){return this.emit("update",this.getProgress(),this),this}stopLoop(){return ue.RUNNING.delete(this),this}onVisibilityChange(){k()?.hidden?(this.visibilityPlayState=this.getPlayState(),this.is("running")&&(this.loop(),this.pause())):"running"==this.visibilityPlayState&&this.is("paused")&&this.play()}newPromise(){return this.promise=new Promise(((t,e)=>{this.emitter?.once?.("finish",(()=>t([this]))),this.emitter?.once?.("error",(t=>e(t)))})),this.promise}then(t,e){return t=t?.bind(this),e=e?.bind(this),this.promise?.then?.(t,e),this}catch(t){return t=t?.bind(this),this.promise?.catch?.(t),this}finally(t){return t=t?.bind(this),this.promise?.finally?.(t),this}allAnimations(t){return this.targets.forEach((e=>{let i=this.keyframeEffects.get(e),s=this.animations.get(i);return t(s,e)})),this}all(t){return this.mainAnimation&&t(this.mainAnimation,this.mainElement),this.allAnimations(t),this}beginEvent(){0==this.getProgress()&&this.emit("begin",this)}play(){let t=this.getPlayState();return this.beginEvent(),this.all((t=>t.play())),this.emit("play",t,this),this.emit("playstate-change",t,this),this.loop(),ue.RUNNING.add(this),ue.requestFrame(),this}pause(){let t=this.getPlayState();return this.all((t=>t.pause())),this.emit("pause",t,this),this.emit("playstate-change",t,this),this.stopLoop(),this}reverse(){return this.all((t=>t.reverse())),this}reset(){return this.setProgress(0),this.options.autoplay?this.play():this.pause(),this}commitStyles(){return this.all((t=>t?.commitStyles())),this}persist(){return this.targets.forEach((t=>{let e=this.computedKeyframes.get(t);Array.isArray(e)&&e.length?s(e[e.length-1],((e,i)=>{t.style.setProperty(i,e)})):s(e,((e,i)=>{!e.length||"offset"==i||t.style.setProperty(i,e[e.length-1])}))})),this}cancel(){return this.all((t=>t.cancel())),this}finish(){return this.all((t=>t.finish())),this}stop(){this.cancel(),this.stopLoop(),k()?.removeEventListener("visibilitychange",this.onVisibilityChange,!1),this.targets.forEach((t=>this.removeTarget(t))),this.emit("stop"),this.emitter.clear(),this.mainkeyframeEffect=null,this.mainAnimation=null,this.mainElement?.remove?.(),this.mainElement=null,this.promise=null,this.computedOptions=null,this.animations=null,this.keyframeEffects=null,this.emitter=null,this.targets=null,this.options=null,this.properties=null}getAnimation(t){let e=this.keyframeEffects.get(t);return this.animations.get(e)}getTiming(t){return{...this.computedOptions.get(t)??{},...this.keyframeEffects.get(t).getTiming?.()??{}}}getCurrentTime(){return this.mainAnimation.currentTime}getProgress(){return this.getCurrentTime()/this.totalDuration*100}getSpeed(){return this.mainAnimation.playbackRate}getPlayState(){return this.mainAnimation.playState}is(t){return this.getPlayState()==t}setCurrentTime(t){return this.all((e=>e.currentTime=t)),this.emit("update",this.getProgress()),this}setProgress(t){let e=t/100*this.totalDuration;return this.setCurrentTime(e),this}setSpeed(t=1){return"string"==typeof t&&(t=Number(t)),this.maxSpeed=t,this.all((e=>{e.updatePlaybackRate?e.updatePlaybackRate(t):e.playbackRate=t})),this}createArrayOfComputedOptions(t,e){let i=[],s=t=>Object.assign({easing:t("easing"),iterations:t("loop"),direction:t("direction"),endDelay:t("endDelay"),duration:t("duration"),speed:t("speed"),delay:t("delay"),timelineOffset:t("timelineOffset"),keyframes:t("keyframes"),fill:t("fillMode"),composite:t("composite")},t("extend")??{});if(0==this.targets.size){let{delay:e,duration:i,iterations:a,endDelay:n,speed:r,timelineOffset:o}=s((e=>{let i=t[e]??this.options[e]??ae[e];return"function"!=typeof i?i:ae[e]}));o=Number(o),a=Number(a),i=Number(i),n=Number(n),r=Number(r),e=Number(e),this.timelineOffset=o,this.minDelay=e,this.maxSpeed=r,this.maxDuration=i,this.maxEndDelay=n,this.totalDuration=e+o+i*a+n,this.totalDurationOptions={delay:e,duration:i,iterations:a,endDelay:n,speed:r,timelineOffset:o,totalDuration:this.totalDuration}}return this.targets.forEach(((a,n)=>{let r=this.computedOptions.get(a)??{},o=s((e=>{let i=e;return"loop"==e&&(i="iterations"),"fillMode"==e&&(i="fill"),t[e]??r[i]??this.options[e]??ae[e]})),l=te(o,[n,e,a],this);if("string"==typeof l.easing||Array.isArray(l.easing)){let{easing:t}=l;l.easing=Array.isArray(t)?t.map((t=>se(t))):se(t)}!0===l.iterations&&(l.iterations=1/0);let{timelineOffset:u,speed:h,endDelay:c,delay:m,duration:p,iterations:g,...f}=l;u=Number(u),g=Number(g),p=Number(p),c=Number(c),h=Number(h),m=Number(m)+u,this.timelineOffset=u??this.timelineOffset,this.minDelay>m&&(this.minDelay=m),this.maxSpeed>h&&(this.maxSpeed=h),this.maxDuration{let g,{speed:f,keyframes:d,tempDurations:y,timelineOffset:b,...S}=a[p];n&&0==S.endDelay&&Math.abs(S.iterations)!=Math.abs(1/0)&&(S.endDelay=this.totalDuration-y);let k,E,O=d;e(O)&&(O=w(O));let v,I,D=this.computedKeyframes.get(t)??{},x="transform"in this.properties?D:c(["transform"],D),M=Object.assign({},r,x),C=s(M,((t,e)=>this.properties[e]??t));if(E=l(O)?O:C,Array.isArray(E))k=E.map((t=>{let{easing:e,offset:i,...s}=c(["speed","loop"],t);return Object.assign({},s,"string"==typeof e?{easing:se(e)}:null,"string"==typeof i||"number"==typeof i?{offset:A(i)}:null)})),g=_(z),k=$t(k,ue.USE_CSS_VARS);else{let e=c(["keyframes"],E),{offset:s,...a}=te(e,[p,i,t],this);g=_(Vt(a));let n=Xt(a,ue.USE_CSS_VARS),r=s;k=Object.assign({},n,l(r)?{offset:r.map((t=>A(t)))}:null)}this.keyframeEffects.has(t)?(I=this.keyframeEffects.get(t),v=this.animations.get(I),I?.setKeyframes?.(k),I?.updateTiming?.(S)):(I=new KeyframeEffect(t,k,S),v=new Animation(I,m),this.keyframeEffects.set(t,I),this.animations.set(I,v)),"string"==typeof f&&(f=Number(f)),v.updatePlaybackRate?v.updatePlaybackRate(f):v.playbackRate=f,v.onfinish=()=>{h&&(Array.isArray(k)&&k.length?s(k[k.length-1],((e,i)=>{t.style.setProperty(i,e)})):s(k,((e,i)=>{!e.length||"offset"==i||t.style.setProperty(i,e[e.length-1])}))),"function"==typeof o&&o.call(this,t,p,i,v)},v.oncancel=()=>{"function"==typeof u&&u.call(this,t,p,i,v)},R&&ue.USE_CSS_VARS&&Object.assign(t?.style,{transform:g}),this.computedOptions.set(t,S),this.computedKeyframes.set(t,k)}))}updateOptions(t={}){try{let e=ne(t);this.initialOptions=e,this.options=Object.assign({},ae,this.options,e);let{padEndDelay:i,autoplay:s,target:a,targets:n,timeline:r,persist:o,onfinish:l,oncancel:u,...h}=c(re,this.options);this.properties=c(le,e);let m=this.targets.values(),p=[...new Set([...m,...Wt(n),...Wt(a)])];this.targets.clear(),p.forEach(((t,e)=>{this.targets.set(e,t),this.targetIndexes.set(t,e)}));let g=this.targets.size,f=this.createArrayOfComputedOptions(e,g);if(this.createAnimations({arrOfComputedOptions:f,padEndDelay:i,oldCSSProperties:h,onfinish:l,oncancel:u,persist:o,timeline:r},g),this.mainAnimation?(this.mainkeyframeEffect?.updateTiming?.({duration:this.totalDuration}),(!this.mainkeyframeEffect.setKeyframes||!this.mainkeyframeEffect.updateTiming)&&console.warn("[Animate - @okikio/animate] `KeyframeEffect.setKeyframes` and/or `KeyframeEffect.updateTiming` are not supported in this browser.")):(this.mainkeyframeEffect=new KeyframeEffect(this.mainElement,null,{duration:this.totalDuration}),this.mainAnimation=new Animation(this.mainkeyframeEffect,r)),this.mainAnimation.updatePlaybackRate?this.mainAnimation.updatePlaybackRate(this.maxSpeed):this.mainAnimation.playbackRate=this.maxSpeed,this.mainAnimation.onfinish=()=>{if(this.mainAnimation){let t=this.getPlayState();this.emit("playstate-change",t,this),this.loop(),this.stopLoop()}this.emit("finish",this)},this.mainAnimation.oncancel=()=>{if(this.mainAnimation){let t=this.getPlayState();this.emit("playstate-change",t,this),this.loop(),this.stopLoop()}this.emit("cancel",this)},s){let t=window.setTimeout((()=>{this.emit("begin",this);let e=this.getPlayState();this.emit("playstate-change",e,this),t=window.clearTimeout(t)}),0);this.play()}else this.pause()}catch(t){this.emit("error",t)}}add(t){let e=this.getProgress(),i=this.is("running"),s=this.is("paused");return this.updateOptions({target:t}),this.setProgress(e),i?this.play():s&&this.pause(),this}removeTarget(t){let e=this.keyframeEffects.get(t);this.animations.delete(e),e=null,this.computedKeyframes.delete(t),this.computedOptions.delete(t),this.keyframeEffects.delete(t);let i=this.targetIndexes.get(t);return this.targets.delete(i),this.targetIndexes.delete(t),this}remove(t){this.removeTarget(t);let e=new Set([].concat(this.targets.values()));this.options.target=[...e],this.options.targets=[],e.clear(),e=null;let i=this.getProgress(),s=this.is("running"),a=this.is("paused");return this.updateOptions(),s?this.play():a&&this.pause(),this.setProgress(i),this}on(t,e,i){return i=i??this,this.emitter?.on?.(t,e??i,i),this.emitter.getEvent("update").length>0&&(ue.RUNNING.add(this),null==ue.animationFrame&&ue.requestFrame()),this}off(t,e,i){return i=i??this,this.emitter?.off?.(t,e??i,i),this}emit(t,...e){return this.emitter?.emit?.(t,...e),this}toJSON(){return this.options}get[Symbol.toStringTag](){return"Animate"}};let he=ue;he.RUNNING=new Set,he.FRAME_RATE=60,he.FRAME_START_TIME=0,he.pauseOnPageHidden=!0,he.USE_CSS_VARS=!1;const ce=(t={})=>new he(t);let me=0;const pe=k()?.createElement?.("div"),ge=()=>{l(pe.id)||(pe.id="empty-tween-el-container",pe.style.setProperty("display","none"),pe.style.setProperty("contain","paint layout size"),k()?.body?.appendChild(pe));let t=k()?.createElement?.("div");return t.id="empty-animate-el-"+me++,t.style.setProperty("display","none"),pe.appendChild(t),t};class fe extends he{stop(){this.targets.forEach((t=>t?.remove?.())),super.stop()}}const de=(t={})=>{let{easing:e,decimal:i,numPoints:s,opacity:a,...n}=ne(t),r=m(le,n),o=e;if("string"==typeof e){let t=kt(e);o=ie.includes(t)||["linear","steps","step-start","step-end"].includes(t)?se(e):yt.includes(t)?Et(e):e}return{..."function"==typeof o?Rt({opacity:[0,1],easing:e,decimal:i,numPoints:s}):{opacity:[0,1],easing:e},...r}};class ye extends fe{constructor(){super(...arguments),this.updateListeners=new v}updateOptions(t={}){let e=ne(t),i=this.targets.size>1?null:{target:ge()},a=Object.assign({},de(c(["target","targets"],e)),i);super.updateOptions(a);let n=c(le,e);try{this.updateListeners=this.updateListeners??new v,this.updateListeners.forEach(((t,e)=>{this.off("update",t),this.updateListeners.remove(e)}),this);let{target:t,targets:i}=e,a=[...new Set([...Wt(i),...Wt(t)])],r=a.length,o=this.targets.get(0),l=window.getComputedStyle(o);a.forEach(((t,i)=>{s(n,((s,a)=>{let n,o=t.getAttribute(a);this.on("update",n=()=>{let n,u=Number(l.getPropertyValue("opacity"));n="function"==typeof s?s(u,i,r,t):Pt(u,Array.isArray(s)?s:[o,s],e.decimal),t.setAttribute(a,""+n)}),this.updateListeners.add(n)}))}),this)}catch(t){this?.stopLoop(),this?.emit?.("error",t)}return this}}const be=(t={})=>new ye(t),Se=(t,e={})=>{const{grid:i,axis:s,from:a=0,easing:r,direction:o="normal"}=e,l=Array.isArray(t),u=l?t.length-1:null,h=parseFloat(l?t[0]:t),c=l?parseFloat(t[u]):0,{start:m=(l?h:0)}=e,p=n(l?t[u]:t)||0,g="function"==typeof r?r:Et(r),f="function"==typeof r?[]:At(r);let d,y=[],b=0,S=a;return/from/i.test(a)&&(S=0),(t,e)=>{if(/center/i.test(a)&&(S=(e-1)/2),/last/i.test(a)&&(S=e-1),0==y.length){for(let t=0;tg(t/b,f)*b))),/reverse/i.test(o)&&y.reverse()}return m+d*(Math.round(100*y[t])/100)+p}},ke=(t,e={})=>{let i=e.stagger??{};return(s,a)=>{let n=t.map(((e,n)=>{let r=t[Math.max(0,n-1)];return Se([r,e],i)(s,a)}));return qt(n,e)}},Ee=(t,e)=>Math.floor(Math.random()*(e-t+1))+t,Ae=(t,e)=>"string"==typeof t?/^\=/.test(t)?parseFloat(t.replace("=","")):parseFloat(t)+e:t+e;class we{constructor(t={}){this.animateInstances=new v,this.initialOptions={},this.mainInstance=new he({duration:0}),this.initialOptions=Object.assign({},ae,ne(t)),this.totalDuration=0,this.maxDuration=0}get totalDuration(){return this.mainInstance.totalDuration}set totalDuration(t){this.mainInstance.totalDuration=t}get maxDuration(){return this.mainInstance.maxDuration}set maxDuration(t){this.mainInstance.maxDuration=t}get minDelay(){return this.mainInstance.minDelay}set minDelay(t){this.mainInstance.minDelay=t}get maxSpeed(){return this.mainInstance.maxSpeed}set maxSpeed(t){this.mainInstance.maxSpeed=t}get maxEndDelay(){return this.mainInstance.maxEndDelay}set maxEndDelay(t){this.mainInstance.maxEndDelay=t}get timelineOffset(){return this.mainInstance.timelineOffset}set timelineOffset(t){this.mainInstance.timelineOffset=t}get options(){return this.mainInstance.options}set options(t){this.mainInstance.options=ne(t)}get emitter(){return this.mainInstance.emitter}get promise(){return this.mainInstance.promise}add(t={},e=0){let i,s=Object.assign({},ae,this.initialOptions,t instanceof he?t.initialOptions:ne(t));if(Math.abs(this.totalDuration)!==1/0){let t=""+e;if(/^\^/.test(t)){let e=this.animateInstances.last()?.totalDuration??0;Math.abs(e)!==1/0&&(s.timelineOffset=Ae("^"==t.trim()?0:t.replace(/^\^/,""),this.totalDuration-e))}else s.timelineOffset=Ae(e,this.totalDuration)}return s.autoplay=this.initialOptions.autoplay,t instanceof he?(i=t,i.updateOptions(s)):i=new he(s),this.animateInstances.add(i),this.updateTiming(),this}updateTiming(){let t=this.animateInstances.values(),e=Math.max(...t.map((t=>t.totalDuration)));return Math.abs(e)==1/0?(console.warn('[Queue - @okikio/animate] individual Animate instances that are part of a Queue can\'t have Infinite totalDuration. You can\'t queue animations one after the other if one of the animations last for literally infinity. This issue may come from setting the "loop, duration, endDelay, delay, etc..." animation options to either Infinity (or for the loop option only, "true").'),this):(this.mainInstance.updateOptions({autoplay:this.initialOptions.autoplay,duration:e,delay:Math.max(...t.map((t=>t.minDelay))),endDelay:e-Math.max(...t.map((t=>t.totalDuration-t.maxEndDelay)))}),this)}remove(t){let e=this.animateInstances.size;if(this.animateInstances.has(t)){let i=this.animateInstances.get(t),{totalDuration:s,timelineOffset:a}=i.totalDurationOptions,n=Number(s)-Number(a);for(let i=t;it.play())),this}pause(){return this.all((t=>t.pause())),this}reverse(){return this.all((t=>t.reverse())),this}reset(){return this.all((t=>t.reset())),this}cancel(){return this.all((t=>t.cancel())),this}finish(){return this.all((t=>t.finish())),this}stop(){this.all((t=>t.stop())),this.animateInstances.clear(),this.mainInstance=null,this.animateInstances=null}getCurrentTime(){return this.mainInstance.getCurrentTime()}getProgress(){return this.mainInstance.getProgress()}getPlayState(){return this.mainInstance.getPlayState()}is(t){return this.mainInstance.is(t)}setCurrentTime(t){return this.all((e=>e.setCurrentTime(t))),this}setProgress(t){return this.all((e=>e.setProgress(t))),this}setSpeed(t=1){return this.all((e=>e.setSpeed(t))),this}on(t,e,i){return i=i??this,this.mainInstance?.on?.(t,e??i,i),this}off(t,e,i){return i=i??this,this.mainInstance?.off?.(t,e??i,i),this}emit(t,...e){return this.mainInstance?.emit?.(t,...e),this}toJSON(){return this.options}get[Symbol.toStringTag](){return"Queue"}}const Oe=(t={})=>new we(t);export{le as ALL_ANIMATION_CONFIG_KEYS,he as Animate,ye as AnimateAttributes,Rt as ApplyCustomEasing,st as Back,ct as Bezier,at as Bounce,P as CSSArrValue,Vt as CSSCamelCase,Yt as CSSPXDataType,C as CSSValue,R as CSSVarSupport,j as CSS_CACHE,it as Circ,kt as ComplexEasingSyntax,Ct as ComplexStrtoArr,H as Cubic,qt as CustomEasing,Nt as CustomEasingOptions,ae as DefaultAnimationOptions,fe as DestroyableAnimate,ee as EASINGS,O as EFFECTS,gt as EaseInOut,pt as EaseOut,ft as EaseOutIn,ot as EasingDurationCache,yt as EasingFunctionKeys,dt as EasingFunctions,ie as EasingKeys,Ft as EasingPts,nt as Elastic,pe as EmptyTweenElContainer,tt as Expo,re as FUNCTION_SUPPORTED_ANIMATION_CONFIG_KEYS,se as GetEase,Et as GetEasingFunction,lt as INTINITE_LOOP_LIMIT,w as KeyframeParse,oe as NON_FUNCTION_SUPPORTED_ANIMATION_CONFIG_KEYS,$t as ParseTransformableCSSKeyframes,Xt as ParseTransformableCSSProperties,Q as Quad,W as Quart,we as Queue,J as Quint,et as Sine,rt as Spring,zt as SpringEasing,ke as StaggerCustomEasing,ht as Steps,_t as TransformFunctionNames,Lt as TransformFunctions,Tt as TweenCache,me as UIDCount,M as UnitDEG,F as UnitDEGCSSValue,D as UnitLess,N as UnitLessCSSValue,x as UnitPX,T as UnitPXCSSValue,I as addCSSUnit,ce as animate,Kt as arrFill,h as camelCase,Jt as computeOption,u as convertToDash,ge as createEmptyEl,Ut as createTransformProperty,_ as createTransformValue,de as createTweenOptions,mt as easein,t as flatten,S as getBrowserObject,E as getCSS,k as getDocument,ut as getEasingDuration,Ht as getElements,Wt as getTargets,n as getUnit,f as hsl,Mt as interpolateColor,Pt as interpolateComplex,vt as interpolateNumber,xt as interpolateString,Dt as interpolateUsingIndex,i as isEmpty,It as isNumberLike,e as isObject,l as isValid,B as limit,te as mapAnimationOptions,s as mapObject,c as omit,y as parse,At as parseEasingParameters,A as parseOffset,ne as parseOptions,m as pick,Oe as queue,Ee as random,bt as registerEasingFunction,St as registerEasingFunctions,Ae as relativeTo,b as rgba,wt as scale,Se as stagger,o as toArr,V as toCSSVars,Ot as toFixed,q as toRGBAArr,a as toStr,z as transformCSSVars,L as transformProperyNames,p as transpose,r as trim,be as tweenAttr};