@d0rich/esprit-design 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1 @@
1
- (function(B,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],l):(B=typeof globalThis<"u"?globalThis:B||self,l(B.EspritDesign={},B.Vue))})(this,function(B,l){"use strict";const ts={name:"DChip"},Ke=(r,t)=>{const e=r.__vccOpts||r;for(const[n,i]of t)e[n]=i;return e},es={class:"d-chip"};function ns(r,t,e,n,i,s){return l.openBlock(),l.createElementBlock("span",es,[l.renderSlot(r.$slots,"default")])}const is=Ke(ts,[["render",ns]]),se=/^[a-z0-9]+(-[a-z0-9]+)*$/,Pe=(r,t,e,n="")=>{const i=r.split(":");if(r.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;n=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const a=i.pop(),c=i.pop(),f={provider:i.length>0?i[0]:n,prefix:c,name:a};return t&&!Ee(f)?null:f}const s=i[0],o=s.split("-");if(o.length>1){const a={provider:n,prefix:o.shift(),name:o.join("-")};return t&&!Ee(a)?null:a}if(e&&n===""){const a={provider:n,prefix:"",name:s};return t&&!Ee(a,e)?null:a}return null},Ee=(r,t)=>r?!!((r.provider===""||r.provider.match(se))&&(t&&r.prefix===""||r.prefix.match(se))&&r.name.match(se)):!1,ii=Object.freeze({left:0,top:0,width:16,height:16}),Be=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),De=Object.freeze({...ii,...Be}),Qe=Object.freeze({...De,body:"",hidden:!1});function rs(r,t){const e={};!r.hFlip!=!t.hFlip&&(e.hFlip=!0),!r.vFlip!=!t.vFlip&&(e.vFlip=!0);const n=((r.rotate||0)+(t.rotate||0))%4;return n&&(e.rotate=n),e}function ri(r,t){const e=rs(r,t);for(const n in Qe)n in Be?n in r&&!(n in e)&&(e[n]=Be[n]):n in t?e[n]=t[n]:n in r&&(e[n]=r[n]);return e}function ss(r,t){const e=r.icons,n=r.aliases||Object.create(null),i=Object.create(null);function s(o){if(e[o])return i[o]=[];if(!(o in i)){i[o]=null;const a=n[o]&&n[o].parent,c=a&&s(a);c&&(i[o]=[a].concat(c))}return i[o]}return Object.keys(e).concat(Object.keys(n)).forEach(s),i}function os(r,t,e){const n=r.icons,i=r.aliases||Object.create(null);let s={};function o(a){s=ri(n[a]||i[a],s)}return o(t),e.forEach(o),ri(r,s)}function si(r,t){const e=[];if(typeof r!="object"||typeof r.icons!="object")return e;r.not_found instanceof Array&&r.not_found.forEach(i=>{t(i,null),e.push(i)});const n=ss(r);for(const i in n){const s=n[i];s&&(t(i,os(r,i,s)),e.push(i))}return e}const as={provider:"",aliases:{},not_found:{},...ii};function Ze(r,t){for(const e in t)if(e in r&&typeof r[e]!=typeof t[e])return!1;return!0}function oi(r){if(typeof r!="object"||r===null)return null;const t=r;if(typeof t.prefix!="string"||!r.icons||typeof r.icons!="object"||!Ze(r,as))return null;const e=t.icons;for(const i in e){const s=e[i];if(!i.match(se)||typeof s.body!="string"||!Ze(s,Qe))return null}const n=t.aliases||Object.create(null);for(const i in n){const s=n[i],o=s.parent;if(!i.match(se)||typeof o!="string"||!e[o]&&!n[o]||!Ze(s,Qe))return null}return t}const ai=Object.create(null);function ls(r,t){return{provider:r,prefix:t,icons:Object.create(null),missing:new Set}}function Nt(r,t){const e=ai[r]||(ai[r]=Object.create(null));return e[t]||(e[t]=ls(r,t))}function Je(r,t){return oi(t)?si(t,(e,n)=>{n?r.icons[e]=n:r.missing.add(e)}):[]}function cs(r,t,e){try{if(typeof e.body=="string")return r.icons[t]={...e},!0}catch{}return!1}let oe=!1;function li(r){return typeof r=="boolean"&&(oe=r),oe}function fs(r){const t=typeof r=="string"?Pe(r,!0,oe):r;if(t){const e=Nt(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function us(r,t){const e=Pe(r,!0,oe);if(!e)return!1;const n=Nt(e.provider,e.prefix);return cs(n,e.name,t)}function hs(r,t){if(typeof r!="object")return!1;if(typeof t!="string"&&(t=r.provider||""),oe&&!t&&!r.prefix){let i=!1;return oi(r)&&(r.prefix="",si(r,(s,o)=>{o&&us(s,o)&&(i=!0)})),i}const e=r.prefix;if(!Ee({provider:t,prefix:e,name:"a"}))return!1;const n=Nt(t,e);return!!Je(n,r)}const ci=Object.freeze({width:null,height:null}),fi=Object.freeze({...ci,...Be}),ds=/(-?[0-9.]*[0-9]+[0-9.]*)/g,_s=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ui(r,t,e){if(t===1)return r;if(e=e||100,typeof r=="number")return Math.ceil(r*t*e)/e;if(typeof r!="string")return r;const n=r.split(ds);if(n===null||!n.length)return r;const i=[];let s=n.shift(),o=_s.test(s);for(;;){if(o){const a=parseFloat(s);isNaN(a)?i.push(s):i.push(Math.ceil(a*t*e)/e)}else i.push(s);if(s=n.shift(),s===void 0)return i.join("");o=!o}}function ps(r,t="defs"){let e="";const n=r.indexOf("<"+t);for(;n>=0;){const i=r.indexOf(">",n),s=r.indexOf("</"+t);if(i===-1||s===-1)break;const o=r.indexOf(">",s);if(o===-1)break;e+=r.slice(i+1,s).trim(),r=r.slice(0,n).trim()+r.slice(o+1)}return{defs:e,content:r}}function ms(r,t){return r?"<defs>"+r+"</defs>"+t:t}function gs(r,t,e){const n=ps(r);return ms(n.defs,t+n.content+e)}const ys=r=>r==="unset"||r==="undefined"||r==="none";function xs(r,t){const e={...De,...r},n={...fi,...t},i={left:e.left,top:e.top,width:e.width,height:e.height};let s=e.body;[e,n].forEach(h=>{const p=[],b=h.hFlip,y=h.vFlip;let x=h.rotate;b?y?x+=2:(p.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),p.push("scale(-1 1)"),i.top=i.left=0):y&&(p.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),p.push("scale(1 -1)"),i.top=i.left=0);let k;switch(x<0&&(x-=Math.floor(x/4)*4),x=x%4,x){case 1:k=i.height/2+i.top,p.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:p.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:k=i.width/2+i.left,p.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}x%2===1&&(i.left!==i.top&&(k=i.left,i.left=i.top,i.top=k),i.width!==i.height&&(k=i.width,i.width=i.height,i.height=k)),p.length&&(s=gs(s,'<g transform="'+p.join(" ")+'">',"</g>"))});const o=n.width,a=n.height,c=i.width,f=i.height;let u,d;o===null?(d=a===null?"1em":a==="auto"?f:a,u=ui(d,c/f)):(u=o==="auto"?c:o,d=a===null?ui(u,f/c):a==="auto"?f:a);const _={},m=(h,p)=>{ys(p)||(_[h]=p.toString())};m("width",u),m("height",d);const g=[i.left,i.top,c,f];return _.viewBox=g.join(" "),{attributes:_,viewBox:g,body:s}}const bs=/\sid="(\S+)"/g,ks="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ws=0;function Ss(r,t=ks){const e=[];let n;for(;n=bs.exec(r);)e.push(n[1]);if(!e.length)return r;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return e.forEach(s=>{const o=typeof t=="function"?t(s):t+(ws++).toString(),a=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");r=r.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+o+i+"$3")}),r=r.replace(new RegExp(i,"g"),""),r}const tn=Object.create(null);function Ts(r,t){tn[r]=t}function en(r){return tn[r]||tn[""]}function nn(r){let t;if(typeof r.resources=="string")t=[r.resources];else if(t=r.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:r.path||"/",maxURL:r.maxURL||500,rotate:r.rotate||750,timeout:r.timeout||5e3,random:r.random===!0,index:r.index||0,dataAfterTimeout:r.dataAfterTimeout!==!1}}const rn=Object.create(null),ae=["https://api.simplesvg.com","https://api.unisvg.com"],ve=[];for(;ae.length>0;)ae.length===1||Math.random()>.5?ve.push(ae.shift()):ve.push(ae.pop());rn[""]=nn({resources:["https://api.iconify.design"].concat(ve)});function Cs(r,t){const e=nn(t);return e===null?!1:(rn[r]=e,!0)}function sn(r){return rn[r]}let hi=(()=>{let r;try{if(r=fetch,typeof r=="function")return r}catch{}})();function Ps(r,t){const e=sn(r);if(!e)return 0;let n;if(!e.maxURL)n=0;else{let i=0;e.resources.forEach(o=>{i=Math.max(i,o.length)});const s=t+".json?icons=";n=e.maxURL-i-e.path.length-s.length}return n}function Es(r){return r===404}const Bs=(r,t,e)=>{const n=[],i=Ps(r,t),s="icons";let o={type:s,provider:r,prefix:t,icons:[]},a=0;return e.forEach((c,f)=>{a+=c.length+1,a>=i&&f>0&&(n.push(o),o={type:s,provider:r,prefix:t,icons:[]},a=c.length),o.icons.push(c)}),n.push(o),n};function Ds(r){if(typeof r=="string"){const t=sn(r);if(t)return t.path}return"/"}const vs={prepare:Bs,send:(r,t,e)=>{if(!hi){e("abort",424);return}let n=Ds(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});n+=s+".json?"+c.toString();break}case"custom":{const s=t.uri;n+=s.slice(0,1)==="/"?s.slice(1):s;break}default:e("abort",400);return}let i=503;hi(r+n).then(s=>{const o=s.status;if(o!==200){setTimeout(()=>{e(Es(o)?"abort":"next",o)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?e("abort",s):e("next",i)});return}setTimeout(()=>{e("success",s)})}).catch(()=>{e("next",i)})}};function Os(r){const t={loaded:[],missing:[],pending:[]},e=Object.create(null);r.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let n={provider:"",prefix:"",name:""};return r.forEach(i=>{if(n.name===i.name&&n.prefix===i.prefix&&n.provider===i.provider)return;n=i;const s=i.provider,o=i.prefix,a=i.name,c=e[s]||(e[s]=Object.create(null)),f=c[o]||(c[o]=Nt(s,o));let u;a in f.icons?u=t.loaded:o===""||f.missing.has(a)?u=t.missing:u=t.pending;const d={provider:s,prefix:o,name:a};u.push(d)}),t}function di(r,t){r.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(i=>i.id!==t))})}function Ms(r){r.pendingCallbacksFlag||(r.pendingCallbacksFlag=!0,setTimeout(()=>{r.pendingCallbacksFlag=!1;const t=r.loaderCallbacks?r.loaderCallbacks.slice(0):[];if(!t.length)return;let e=!1;const n=r.provider,i=r.prefix;t.forEach(s=>{const o=s.icons,a=o.pending.length;o.pending=o.pending.filter(c=>{if(c.prefix!==i)return!0;const f=c.name;if(r.icons[f])o.loaded.push({provider:n,prefix:i,name:f});else if(r.missing.has(f))o.missing.push({provider:n,prefix:i,name:f});else return e=!0,!0;return!1}),o.pending.length!==a&&(e||di([r],s.id),s.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),s.abort))})}))}let Ns=0;function Vs(r,t,e){const n=Ns++,i=di.bind(null,e,n);if(!t.pending.length)return i;const s={id:n,icons:t,callback:r,abort:i};return e.forEach(o=>{(o.loaderCallbacks||(o.loaderCallbacks=[])).push(s)}),i}function As(r,t=!0,e=!1){const n=[];return r.forEach(i=>{const s=typeof i=="string"?Pe(i,t,e):i;s&&n.push(s)}),n}var $s={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Fs(r,t,e,n){const i=r.resources.length,s=r.random?Math.floor(Math.random()*i):r.index;let o;if(r.random){let S=r.resources.slice(0);for(o=[];S.length>1;){const C=Math.floor(Math.random()*S.length);o.push(S[C]),S=S.slice(0,C).concat(S.slice(C+1))}o=o.concat(S)}else o=r.resources.slice(s).concat(r.resources.slice(0,s));const a=Date.now();let c="pending",f=0,u,d=null,_=[],m=[];typeof n=="function"&&m.push(n);function g(){d&&(clearTimeout(d),d=null)}function h(){c==="pending"&&(c="aborted"),g(),_.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),_=[]}function p(S,C){C&&(m=[]),typeof S=="function"&&m.push(S)}function b(){return{startTime:a,payload:t,status:c,queriesSent:f,queriesPending:_.length,subscribe:p,abort:h}}function y(){c="failed",m.forEach(S=>{S(void 0,u)})}function x(){_.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),_=[]}function k(S,C,P){const T=C!=="success";switch(_=_.filter(E=>E!==S),c){case"pending":break;case"failed":if(T||!r.dataAfterTimeout)return;break;default:return}if(C==="abort"){u=P,y();return}if(T){u=P,_.length||(o.length?w():y());return}if(g(),x(),!r.random){const E=r.resources.indexOf(S.resource);E!==-1&&E!==r.index&&(r.index=E)}c="completed",m.forEach(E=>{E(P)})}function w(){if(c!=="pending")return;g();const S=o.shift();if(S===void 0){if(_.length){d=setTimeout(()=>{g(),c==="pending"&&(x(),y())},r.timeout);return}y();return}const C={status:"pending",resource:S,callback:(P,T)=>{k(C,P,T)}};_.push(C),f++,d=setTimeout(w,r.rotate),e(S,t,C.callback)}return setTimeout(w),b}function _i(r){const t={...$s,...r};let e=[];function n(){e=e.filter(a=>a().status==="pending")}function i(a,c,f){const u=Fs(t,a,c,(d,_)=>{n(),f&&f(d,_)});return e.push(u),u}function s(a){return e.find(c=>a(c))||null}return{query:i,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:n}}function pi(){}const on=Object.create(null);function Is(r){if(!on[r]){const t=sn(r);if(!t)return;const e=_i(t),n={config:t,redundancy:e};on[r]=n}return on[r]}function Ls(r,t,e){let n,i;if(typeof r=="string"){const s=en(r);if(!s)return e(void 0,424),pi;i=s.send;const o=Is(r);o&&(n=o.redundancy)}else{const s=nn(r);if(s){n=_i(s);const o=r.resources?r.resources[0]:"",a=en(o);a&&(i=a.send)}}return!n||!i?(e(void 0,424),pi):n.query(t,i,e)().abort}const mi="iconify2",le="iconify",gi=le+"-count",yi=le+"-version",xi=36e5,Rs=168,zs=50;function an(r,t){try{return r.getItem(t)}catch{}}function ln(r,t,e){try{return r.setItem(t,e),!0}catch{}}function bi(r,t){try{r.removeItem(t)}catch{}}function cn(r,t){return ln(r,gi,t.toString())}function fn(r){return parseInt(an(r,gi))||0}const Oe={local:!0,session:!0},ki={local:new Set,session:new Set};let un=!1;function js(r){un=r}let Me=typeof window>"u"?{}:window;function wi(r){const t=r+"Storage";try{if(Me&&Me[t]&&typeof Me[t].length=="number")return Me[t]}catch{}Oe[r]=!1}function Si(r,t){const e=wi(r);if(!e)return;const n=an(e,yi);if(n!==mi){if(n){const a=fn(e);for(let c=0;c<a;c++)bi(e,le+c.toString())}ln(e,yi,mi),cn(e,0);return}const i=Math.floor(Date.now()/xi)-Rs,s=a=>{const c=le+a.toString(),f=an(e,c);if(typeof f=="string"){try{const u=JSON.parse(f);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,a))return!0}catch{}bi(e,c)}};let o=fn(e);for(let a=o-1;a>=0;a--)s(a)||(a===o-1?(o--,cn(e,o)):ki[r].add(a))}function Ti(){if(!un){js(!0);for(const r in Oe)Si(r,t=>{const e=t.data,n=t.provider,i=e.prefix,s=Nt(n,i);if(!Je(s,e).length)return!1;const o=e.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,o):o,!0})}}function Us(r,t){const e=r.lastModifiedCached;if(e&&e>=t)return e===t;if(r.lastModifiedCached=t,e)for(const n in Oe)Si(n,i=>{const s=i.data;return i.provider!==r.provider||s.prefix!==r.prefix||s.lastModified===t});return!0}function qs(r,t){un||Ti();function e(n){let i;if(!Oe[n]||!(i=wi(n)))return;const s=ki[n];let o;if(s.size)s.delete(o=Array.from(s).shift());else if(o=fn(i),o>=zs||!cn(i,o+1))return;const a={cached:Math.floor(Date.now()/xi),provider:r.provider,data:t};return ln(i,le+o.toString(),JSON.stringify(a))}t.lastModified&&!Us(r,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),e("local")||e("session"))}function Ci(){}function Ws(r){r.iconsLoaderFlag||(r.iconsLoaderFlag=!0,setTimeout(()=>{r.iconsLoaderFlag=!1,Ms(r)}))}function Ys(r,t){r.iconsToLoad?r.iconsToLoad=r.iconsToLoad.concat(t).sort():r.iconsToLoad=t,r.iconsQueueFlag||(r.iconsQueueFlag=!0,setTimeout(()=>{r.iconsQueueFlag=!1;const{provider:e,prefix:n}=r,i=r.iconsToLoad;delete r.iconsToLoad;let s;if(!i||!(s=en(e)))return;s.prepare(e,n,i).forEach(a=>{Ls(e,a,c=>{if(typeof c!="object")a.icons.forEach(f=>{r.missing.add(f)});else try{const f=Je(r,c);if(!f.length)return;const u=r.pendingIcons;u&&f.forEach(d=>{u.delete(d)}),qs(r,c)}catch(f){console.error(f)}Ws(r)})})}))}const Gs=(r,t)=>{const e=As(r,!0,li()),n=Os(e);if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,Ci)}),()=>{c=!1}}const i=Object.create(null),s=[];let o,a;return n.pending.forEach(c=>{const{provider:f,prefix:u}=c;if(u===a&&f===o)return;o=f,a=u,s.push(Nt(f,u));const d=i[f]||(i[f]=Object.create(null));d[u]||(d[u]=[])}),n.pending.forEach(c=>{const{provider:f,prefix:u,name:d}=c,_=Nt(f,u),m=_.pendingIcons||(_.pendingIcons=new Set);m.has(d)||(m.add(d),i[f][u].push(d))}),s.forEach(c=>{const{provider:f,prefix:u}=c;i[f][u].length&&Ys(c,i[f][u])}),t?Vs(t,n,s):Ci};function Xs(r,t){const e={...r};for(const n in t){const i=t[n],s=typeof i;n in ci?(i===null||i&&(s==="string"||s==="number"))&&(e[n]=i):s===typeof e[n]&&(e[n]=n==="rotate"?i%4:i)}return e}const Hs=/[\s,]+/;function Ks(r,t){t.split(Hs).forEach(e=>{switch(e.trim()){case"horizontal":r.hFlip=!0;break;case"vertical":r.vFlip=!0;break}})}function Qs(r,t=0){const e=r.replace(/^-?[0-9.]*/,"");function n(i){for(;i<0;)i+=4;return i%4}if(e===""){const i=parseInt(r);return isNaN(i)?0:n(i)}else if(e!==r){let i=0;switch(e){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(r.slice(0,r.length-e.length));return isNaN(s)?0:(s=s/i,s%1===0?n(s):0)}}return t}function Zs(r,t){let e=r.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)e+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+e+">"+r+"</svg>"}function Js(r){return r.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function to(r){return"data:image/svg+xml,"+Js(r)}function eo(r){return'url("'+to(r)+'")'}const Pi={...fi,inline:!1},no={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},io={display:"inline-block"},hn={backgroundColor:"currentColor"},Ei={backgroundColor:"transparent"},Bi={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Di={webkitMask:hn,mask:hn,background:Ei};for(const r in Di){const t=Di[r];for(const e in Bi)t[r+e]=Bi[e]}const Ne={};["horizontal","vertical"].forEach(r=>{const t=r.slice(0,1)+"Flip";Ne[r+"-flip"]=t,Ne[r.slice(0,1)+"-flip"]=t,Ne[r+"Flip"]=t});function vi(r){return r+(r.match(/^[-0-9.]+$/)?"px":"")}const Oi=(r,t)=>{const e=Xs(Pi,t),n={...no},i=t.mode||"svg",s={},o=t.style,a=typeof o=="object"&&!(o instanceof Array)?o:{};for(let h in t){const p=t[h];if(p!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":e[h]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&Ks(e,p);break;case"color":s.color=p;break;case"rotate":typeof p=="string"?e[h]=Qs(p):typeof p=="number"&&(e[h]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete n["aria-hidden"];break;default:{const b=Ne[h];b?(p===!0||p==="true"||p===1)&&(e[b]=!0):Pi[h]===void 0&&(n[h]=p)}}}const c=xs(r,e),f=c.attributes;if(e.inline&&(s.verticalAlign="-0.125em"),i==="svg"){n.style={...s,...a},Object.assign(n,f);let h=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),n.innerHTML=Ss(c.body,p?()=>p+"ID"+h++:"iconifyVue"),l.h("svg",n)}const{body:u,width:d,height:_}=r,m=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),g=Zs(u,{...f,width:d+"",height:_+""});return n.style={...s,"--svg":eo(g),width:vi(f.width),height:vi(f.height),...io,...m?hn:Ei,...a},l.h("span",n)};if(li(!0),Ts("",vs),typeof document<"u"&&typeof window<"u"){Ti();const r=window;if(r.IconifyPreload!==void 0){const t=r.IconifyPreload,e="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!hs(n))&&console.error(e)}catch{console.error(e)}})}if(r.IconifyProviders!==void 0){const t=r.IconifyProviders;if(typeof t=="object"&&t!==null)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const i=t[e];if(typeof i!="object"||!i||i.resources===void 0)continue;Cs(e,i)||console.error(n)}catch{console.error(n)}}}}const ro={...De,body:""},Gt=l.defineComponent({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(r,t){if(typeof r=="object"&&r!==null&&typeof r.body=="string")return this._name="",this.abortLoading(),{data:r};let e;if(typeof r!="string"||(e=Pe(r,!1,!0))===null)return this.abortLoading(),null;const n=fs(e);if(!n)return(!this._loadingIcon||this._loadingIcon.name!==r)&&(this.abortLoading(),this._name="",n!==null&&(this._loadingIcon={name:r,abort:Gs([e],()=>{this.counter++})})),null;this.abortLoading(),this._name!==r&&(this._name=r,t&&t(r));const i=["iconify"];return e.prefix!==""&&i.push("iconify--"+e.prefix),e.provider!==""&&i.push("iconify--"+e.provider),{data:n,classes:i}}},render(){this.counter;const r=this.$attrs,t=this.iconMounted||r.ssr?this.getIcon(r.icon,r.onLoad):null;if(!t)return Oi(ro,r);let e=r;return t.classes&&(e={...r,class:(typeof r.class=="string"?r.class+" ":"")+t.classes.join(" ")}),Oi({...De,...t.data},e)}});function Mi(r,t){return t===1?r:`${r}/${t}`}const Ni=()=>({getLinkToPaginatedPage:Mi}),so={class:"d-shape"},oo={class:"d-shape__bg-wrapper"},ao={name:"DWrapShape"},at=l.defineComponent({...ao,props:{shapeClass:{},shapeStyle:{},filterClass:{},filterStyle:{},tag:{}},setup(r){return(t,e)=>(l.openBlock(),l.createBlock(l.resolveDynamicComponent(t.tag??"div"),null,{default:l.withCtx(()=>[l.createElementVNode("div",so,[l.createElementVNode("div",{class:l.normalizeClass(["d-shape__bg-filter",t.filterClass]),style:l.normalizeStyle(t.filterStyle)},[l.createElementVNode("div",oo,[l.createElementVNode("div",{class:l.normalizeClass(["d-shape__bg",t.shapeClass]),style:l.normalizeStyle(t.shapeStyle)},[l.renderSlot(t.$slots,"shape-content")],6),l.renderSlot(t.$slots,"bg-overlay")])],6),l.renderSlot(t.$slots,"default")])]),_:3}))}}),lo={key:0,class:"d-focus-hl__hl--negative-tile"},co={key:2,class:"d-focus-hl__hl--negative-list-item"},fo=l.createElementVNode("div",{class:"d-focus-hl__hl--negative-list-item"},null,-1),uo={name:"DWrapFocusHighlight",components:{DWrapShape:at}},ce=l.defineComponent({...uo,props:{linkExact:Boolean,noPassiveLink:Boolean,active:Boolean,variant:{type:String,default:"negative-tile"},tag:{type:String,default:"div"},colorClass:{type:[String,Object],default:"d-focus-hl--default-color"}},setup(r){const t=r,e=l.computed(()=>t.to||t.href?resolveComponent("NuxtLink"):t.tag);return(n,i)=>(l.openBlock(),l.createBlock(at,null,{default:l.withCtx(()=>[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(e.value),l.mergeProps(t,{class:["d-focus-hl",{"d-focus-hl--exact":r.linkExact,"d-focus-hl--not-exact":!r.linkExact,"d-focus-hl--no-passive-link":r.noPassiveLink,"d-focus-hl--active":r.active}]}),{default:l.withCtx(()=>[r.variant==="negative-tile"?(l.openBlock(),l.createElementBlock("div",lo)):r.variant==="list-item"?(l.openBlock(),l.createElementBlock("div",{key:1,class:l.normalizeClass(["d-focus-hl__hl--list-item",r.colorClass])},null,2)):r.variant==="negative-list-item"?(l.openBlock(),l.createElementBlock("div",co)):r.variant==="composite-list-item"?(l.openBlock(),l.createElementBlock(l.Fragment,{key:3},[l.createElementVNode("div",{class:l.normalizeClass(["d-focus-hl__hl--list-item",r.colorClass])},null,2),fo],64)):l.createCommentVNode("",!0),l.renderSlot(n.$slots,"default")]),_:3},16,["class"]))]),_:3}))}});function Vi(r){const t=l.resolveDynamicComponent("RouterLink"),e=typeof defineNuxtLink=="function"?defineNuxtLink({componentName:"DNuxtLink"}):void 0,n=l.computed(()=>!!(r.href||r.to)),i=l.computed(()=>{if(!r.href)return!1;const o=r.href;return o.startsWith("http")||o.startsWith("mailto:")||o.startsWith("tel:")||o.startsWith("#")}),s=l.computed(()=>{const o={...r};return r.href&&r.to?delete o.href:r.href?delete o.to:r.to&&delete o.href,o});return n.value?typeof e<"u"?{isLink:n,isExternalLink:i,linkComponent:e,propsToProvide:s}:typeof t!="string"?{isLink:n,isExternalLink:i,linkComponent:t,propsToProvide:s}:{isLink:n,isExternalLink:i,linkComponent:"a",propsToProvide:s}:{isLink:n,isExternalLink:i,linkComponent:r.tag||"span",propsToProvide:s}}const ho={name:"DBtn",components:{DWrapFocusHighlight:ce}},yt=l.defineComponent({...ho,props:{to:{type:String,default:""},href:{type:String,default:void 0},exact:Boolean,noPassiveHighlight:Boolean,active:Boolean,noRotate:Boolean,tag:{type:String,default:"button"},highlight:{type:String,default:void 0},colorClass:{type:[String,Object],default:""},textTransform:{type:String,default:"uppercase"}},setup(r){const t=r,{linkComponent:e,isLink:n,isExternalLink:i,propsToProvide:s}=Vi(t);return(o,a)=>(l.openBlock(),l.createBlock(l.resolveDynamicComponent(l.unref(e)),l.mergeProps({class:["d-btn",{"d-btn--rotated":!r.noRotate,"d-btn--uppercase":r.textTransform==="uppercase","d-btn--capitalize":r.textTransform==="capitalize","d-btn--lowercase":r.textTransform==="lowercase"}]},l.unref(s)),{default:l.withCtx(()=>[l.createVNode(ce,{variant:r.highlight,"link-exact":r.exact,"no-passive-link":r.noPassiveHighlight||!l.unref(n)||l.unref(i),"color-class":r.colorClass,active:r.active},{default:l.withCtx(()=>[l.renderSlot(o.$slots,"default")]),_:3},8,["variant","link-exact","no-passive-link","color-class","active"])]),_:3},16,["class"]))}}),_o={class:"w-fit text-2xl font-bold"},po={key:2,class:"mx-1"},mo={key:3,class:"mx-1"},go={name:"DPagination",components:{DBtn:yt,Icon:Gt}},yo=l.defineComponent({...go,props:{currentPage:{type:Number,default:1},allPages:{type:Number,required:!0},baseLink:{type:String,required:!0}},setup(r){const t=r,{getLinkToPaginatedPage:e}=Ni();function n(s){return e(t.baseLink,s)}const i=l.computed(()=>Array.from({length:7},(s,o)=>o-3+t.currentPage).filter(s=>s>=1&&s<=t.allPages));return(s,o)=>(l.openBlock(),l.createElementBlock("nav",_o,[r.currentPage>1?(l.openBlock(),l.createBlock(yt,{key:0,class:"inline-block mx-1",to:n(r.currentPage-1),"aria-label":"Previous page"},{default:l.withCtx(()=>[l.createVNode(l.unref(Gt),{icon:"ic:baseline-arrow-back-ios"})]),_:1},8,["to"])):l.createCommentVNode("",!0),i.value.includes(1)?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(yt,{key:1,class:"inline-block mx-1",to:n(1),"aria-label":"First page"},{default:l.withCtx(()=>[l.createTextVNode(" 1 ")]),_:1},8,["to"])),i.value.includes(1)?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("span",po," ... ")),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(i.value,a=>(l.openBlock(),l.createBlock(yt,{key:a,class:"inline-block mx-1",to:n(a),"aria-label":`Page ${a}`},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(a),1)]),_:2},1032,["to","aria-label"]))),128)),i.value.includes(r.allPages)?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("span",mo," ... ")),i.value.includes(r.allPages)?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(yt,{key:4,class:"inline-block mx-1",to:n(r.allPages),"aria-label":`Last page (${r.allPages})`},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(r.allPages),1)]),_:1},8,["to","aria-label"])),r.currentPage<r.allPages?(l.openBlock(),l.createBlock(yt,{key:5,class:"inline-block mx-1",to:n(r.currentPage+1),"aria-label":"Next page"},{default:l.withCtx(()=>[l.createVNode(l.unref(Gt),{icon:"ic:baseline-arrow-forward-ios"})]),_:1},8,["to"])):l.createCommentVNode("",!0)]))}}),xo={class:"max-w-full"},bo={class:"stats__print-value"},ko={class:"stats__print-value__group-title"},wo={class:"stats__print-value--small"},So={class:"stats"},To={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg"},Co=l.createElementVNode("polygon",{points:"100,-350 1500,-500 1000,1350 -500,1500",class:"stats__bg"},null,-1),Po=["points"],Eo=["points"],Bo={class:"stats__single-stat"},Do=["points"],vo=["points"],Oo={class:"stats__single-stat"},Mo=["points"],No=["points"],Vo={class:"stats__single-stat"},Ao=["points"],$o=["points"],Fo={class:"stats__single-stat"},Io=["points"],Lo=["points"],Ro={class:"stats__single-stat"},zo=["points"],jo=["points"],Uo={class:"stats__images"},qo={class:"stats__image"},Wo={class:"stats__image"},Yo={class:"stats__image"},Go={class:"stats__image"},Xo={class:"stats__image"},Ho={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg",class:"stats_titles-layer"},Ko={x:"-500",y:"-300",class:"stats__group-title"},Qo=["x","y","transform-origin"],Zo={class:"stats__title__value"},Jo=["x","y","transform-origin"],ta={class:"stats__title__value"},ea=["x","y","transform-origin"],na={class:"stats__title__value"},ia=["x","y","transform-origin"],ra={class:"stats__title__value"},sa=["x","y","transform-origin"],oa={class:"stats__title__value"},aa={name:"DStats",components:{Icon:Gt}},la=l.defineComponent({...aa,props:{groupTitle:{},titles:{},values:{}},setup(r){const t=r,e=l.ref([[500,0],[630,330],[980,350],[700,590],[790,910],[500,720],[210,910],[300,590],[20,350],[370,330]]),n=l.ref([1,.8,.6,.4,.27]),i={1:0,"1-2":1,2:2,"2-3":3,3:4,"3-4":5,4:6,"4-5":7,5:8,"5-1":9},s=[500,500];function o(p){return p.map(b=>b.join(",")).join(" ")}function a(p,b,y=500,x=500){return p.map(k=>[k[0]-(k[0]-y)*(1-b),k[1]-(k[1]-x)*(1-b)])}const c=l.computed(()=>n.value.map(p=>a(e.value,p)));function f(p){return c.value[5-p]}function u(p){return{value:t.values?t.values[p]??1:1,title:t.titles?t.titles[p]??"":""}}const d=l.computed(()=>u(0)),_=l.computed(()=>u(1)),m=l.computed(()=>u(2)),g=l.computed(()=>u(3)),h=l.computed(()=>u(4));return(p,b)=>(l.openBlock(),l.createElementBlock("figure",xo,[l.createElementVNode("div",bo,[l.createElementVNode("div",ko,l.toDisplayString(p.groupTitle),1),l.createElementVNode("div",null,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(p.titles,(y,x)=>(l.openBlock(),l.createElementBlock("div",{key:y,class:"stats__print-value__skill"},[l.createElementVNode("div",null,l.toDisplayString(y),1),l.createElementVNode("div",null,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(p.values[x],k=>(l.openBlock(),l.createBlock(l.unref(Gt),{key:k,icon:"ic:sharp-star"}))),128)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(5-p.values[x],k=>(l.openBlock(),l.createBlock(l.unref(Gt),{key:k,icon:"ic:sharp-star-border"}))),128))])]))),128))])]),l.createElementVNode("div",wo,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(p.titles,(y,x)=>(l.openBlock(),l.createElementBlock("span",{key:y,class:l.normalizeClass(["stats__print-value--small__skill",{"stats__print-value--small__skill--hidden":p.values[x]<3,"stats__print-value--small__skill--3":p.values[x]===3,"stats__print-value--small__skill--4":p.values[x]===4,"stats__print-value--small__skill--5":p.values[x]===5}])},l.toDisplayString(y),3))),128))]),l.createElementVNode("div",So,[(l.openBlock(),l.createElementBlock("svg",To,[Co,l.createElementVNode("polygon",{points:o(a(e.value,2)),class:"stats__bg-star--odd"},null,8,Po),l.createElementVNode("g",null,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(c.value,(y,x)=>(l.openBlock(),l.createElementBlock("polygon",{key:x,points:o(y),class:l.normalizeClass({"stats__bg-star--odd":x%2,"stats__bg-star--even":!(x%2)})},null,10,Eo))),128))]),l.createElementVNode("g",null,[l.createElementVNode("g",Bo,[l.createElementVNode("polygon",{points:o([f(d.value.value)[i[1]],f(Math.min(d.value.value,h.value.value))[i["5-1"]],s]),class:"stats__star--dark"},null,8,Do),l.createElementVNode("polygon",{points:o([f(d.value.value)[i[1]],f(Math.min(d.value.value,_.value.value))[i["1-2"]],s]),class:"stats__star--light"},null,8,vo)]),l.createElementVNode("g",Oo,[l.createElementVNode("polygon",{points:o([f(_.value.value)[i[2]],f(Math.min(d.value.value,_.value.value))[i["1-2"]],s]),class:"stats__star--light"},null,8,Mo),l.createElementVNode("polygon",{points:o([f(_.value.value)[i[2]],f(Math.min(m.value.value,_.value.value))[i["2-3"]],s]),class:"stats__star--dark"},null,8,No)]),l.createElementVNode("g",Vo,[l.createElementVNode("polygon",{points:o([f(m.value.value)[i[3]],f(Math.min(_.value.value,m.value.value))[i["2-3"]],s]),class:"stats__star--light"},null,8,Ao),l.createElementVNode("polygon",{points:o([f(m.value.value)[i[3]],f(Math.min(m.value.value,g.value.value))[i["3-4"]],s]),class:"stats__star--dark"},null,8,$o)]),l.createElementVNode("g",Fo,[l.createElementVNode("polygon",{points:o([f(g.value.value)[i[4]],f(Math.min(m.value.value,g.value.value))[i["3-4"]],s]),class:"stats__star--light"},null,8,Io),l.createElementVNode("polygon",{points:o([f(g.value.value)[i[4]],f(Math.min(g.value.value,h.value.value))[i["4-5"]],s]),class:"stats__star--dark"},null,8,Lo)]),l.createElementVNode("g",Ro,[l.createElementVNode("polygon",{points:o([f(h.value.value)[i[5]],f(Math.min(g.value.value,h.value.value))[i["4-5"]],s]),class:"stats__star--dark"},null,8,zo),l.createElementVNode("polygon",{points:o([f(h.value.value)[i[5]],f(Math.min(h.value.value,d.value.value))[i["5-1"]],s]),class:"stats__star--light"},null,8,jo)])])])),l.createElementVNode("div",Uo,[l.createElementVNode("div",qo,[l.renderSlot(p.$slots,"icon-1")]),l.createElementVNode("div",Wo,[l.renderSlot(p.$slots,"icon-2")]),l.createElementVNode("div",Yo,[l.renderSlot(p.$slots,"icon-3")]),l.createElementVNode("div",Go,[l.renderSlot(p.$slots,"icon-4")]),l.createElementVNode("div",Xo,[l.renderSlot(p.$slots,"icon-5")])]),(l.openBlock(),l.createElementBlock("svg",Ho,[l.createElementVNode("text",Ko,l.toDisplayString(p.groupTitle),1),l.createElementVNode("g",null,[l.createElementVNode("text",{x:e.value[i[1]][0],y:e.value[i[1]][1]-100,"transform-origin":`${e.value[i[1]][0]} ${e.value[i[1]][1]-100}`,class:"stats__title"},[l.createTextVNode(l.toDisplayString(d.value.title)+" ",1),l.createElementVNode("tspan",Zo,l.toDisplayString(d.value.value),1)],8,Qo),l.createElementVNode("text",{x:e.value[i[2]][0]+100,y:e.value[i[2]][1]-100,"transform-origin":`${e.value[i[2]][0]+100} ${e.value[i[2]][1]-100}`,class:"stats__title"},[l.createTextVNode(l.toDisplayString(_.value.title)+" ",1),l.createElementVNode("tspan",ta,l.toDisplayString(_.value.value),1)],8,Jo),l.createElementVNode("text",{"dominant-baseline":"hanging",x:e.value[i[3]][0]+150,y:e.value[i[3]][1]+150,"transform-origin":`${e.value[i[3]][0]+150} ${e.value[i[3]][1]+150}`,class:"stats__title"},[l.createTextVNode(l.toDisplayString(m.value.title)+" ",1),l.createElementVNode("tspan",na,l.toDisplayString(m.value.value),1)],8,ea),l.createElementVNode("text",{"dominant-baseline":"hanging",x:e.value[i[4]][0]-150,y:e.value[i[4]][1]+150,"transform-origin":`${e.value[i[4]][0]-150} ${e.value[i[4]][1]+150}`,class:"stats__title"},[l.createTextVNode(l.toDisplayString(g.value.title)+" ",1),l.createElementVNode("tspan",ra,l.toDisplayString(g.value.value),1)],8,ia),l.createElementVNode("text",{x:e.value[i[5]][0]-100,y:e.value[i[5]][1]-100,"transform-origin":`${e.value[i[5]][0]-100} ${e.value[i[5]][1]-100}`,class:"stats__title"},[l.createTextVNode(l.toDisplayString(h.value.title)+" ",1),l.createElementVNode("tspan",oa,l.toDisplayString(h.value.value),1)],8,sa)])]))])]))}}),ca={name:"DAnimationDefLetterD"},fa={d:"M200.242,139.244l137.207,-0c66.136,-0 112.859,17.192 140.169,51.576c27.31,34.384 33.562,84.973 18.755,151.767c-22.045,98.711 -85.878,148.066 -191.498,148.066l-179.16,-0l74.527,-351.409Zm184.588,179.159c12.175,-57.581 -7.732,-86.372 -59.72,-86.372l-33.068,0l-35.042,165.834l44.42,0c23.69,0 42.034,-6.169 55.031,-18.508c12.997,-12.339 22.457,-32.657 28.379,-60.954Z"};function ua(r,t,e,n,i,s){return l.openBlock(),l.createElementBlock("path",fa)}const Tt=Ke(ca,[["render",ua]]),ha=l.createElementVNode("use",{id:"d-accordion-section",href:"#d-letter",transform:"scale(0.33)"},null,-1),da=l.createStaticVNode('<use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use>',6),_a={name:"DAnimationAccordion",components:{DAnimationDefLetterD:Tt}},pa=l.defineComponent({..._a,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(r){return(t,e)=>(l.openBlock(),l.createElementBlock("svg",{viewBox:"0 0 630 210",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-accordion",style:l.normalizeStyle({"--d-accordion-wiggle-period":r.wigglePeriod+"s","--d-accordion-delay":r.delay+"s"})},[l.createElementVNode("defs",null,[l.createVNode(Tt,{id:"d-letter"}),ha]),da],4))}}),ma={name:"DAnimationFloatingLetter",components:{DAnimationDefLetterD:Tt}},ga=l.defineComponent({...ma,props:{floatPeriod:{type:Number,default:5},pathClass:{type:[String,Object],default:""}},setup(r){return(t,e)=>(l.openBlock(),l.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:l.normalizeStyle({"--d-floating-letter-float-period":r.floatPeriod+"s"})},[l.createVNode(Tt,{class:l.normalizeClass(["d-animation-floating-letter",r.pathClass])},null,8,["class"])],4))}}),ya=l.createElementVNode("use",{id:"d-hypnosis-section",href:"#d-letter"},null,-1),xa=l.createStaticVNode('<use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use>',6),ba={name:"DAnimationHypnosis",components:{DAnimationDefLetterD:Tt}},ka=l.defineComponent({...ba,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(r){return(t,e)=>(l.openBlock(),l.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-hypnosis",style:l.normalizeStyle({"--d-hypnosis-wiggle-period":r.wigglePeriod+"s","--d-hypnosis-delay":r.delay+"s"})},[l.createElementVNode("defs",null,[l.createVNode(Tt,{id:"d-letter"}),ya]),xa],4))}}),wa={name:"DAnimationSpinner",components:{DAnimationDefLetterD:Tt}},Sa=l.defineComponent({...wa,props:{spinPeriod:{type:Number,default:10},bladeWigglePeriod:{type:Number,default:5}},setup(r){const t="315 315";return(e,n)=>(l.openBlock(),l.createElementBlock("svg",{class:"spinner",viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:l.normalizeStyle({"--d-spinner-spin-period":r.spinPeriod+"s","--d-spinner-blade-wiggle-period":r.bladeWigglePeriod+"s"})},[l.createElementVNode("defs",null,[l.createVNode(Tt,{id:"d-letter"}),l.createElementVNode("use",{id:"d-spinner-blade",href:"#d-letter",class:"d-animation-spinner__blade","transform-origin":t}),l.createElementVNode("g",{id:"spinner",class:"d-animation-spinner__spinner","transform-origin":t},[l.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(0)","transform-origin":t}),l.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(120)","transform-origin":t}),l.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(240)","transform-origin":t})])]),l.createElementVNode("use",{href:"#spinner",transform:"translate( -20 20 )",class:"d-animation-spinner__background","transform-origin":t}),l.createElementVNode("use",{href:"#spinner",class:"d-animation-spinner__foreground","transform-origin":t})],4))}});function xt(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Ai(r,t){r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.__proto__=t}/*!
2
- * GSAP 3.12.5
3
- * https://gsap.com
4
- *
5
- * @license Copyright 2008-2024, GreenSock. All rights reserved.
6
- * Subject to the terms at https://gsap.com/standard-license or for
7
- * Club GSAP members, the agreement issued with that membership.
8
- * @author: Jack Doyle, jack@greensock.com
9
- */var nt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Xt={duration:.5,overwrite:!1,delay:0},dn,G,V,lt=1e8,O=1/lt,_n=Math.PI*2,Ta=_n/4,Ca=0,$i=Math.sqrt,Pa=Math.cos,Ea=Math.sin,j=function(t){return typeof t=="string"},I=function(t){return typeof t=="function"},bt=function(t){return typeof t=="number"},pn=function(t){return typeof t>"u"},dt=function(t){return typeof t=="object"},Q=function(t){return t!==!1},mn=function(){return typeof window<"u"},Ve=function(t){return I(t)||j(t)},Fi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},X=Array.isArray,gn=/(?:-?\.?\d|\.)+/gi,Ii=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ht=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,yn=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Li=/[+-]=-?[.\d]+/,Ri=/[^,'"\[\]\s]+/gi,Ba=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,$,_t,xn,bn,it={},Ae={},zi,ji=function(t){return(Ae=At(t,it))&&tt},kn=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},fe=function(t,e){return!e&&console.warn(t)},Ui=function(t,e){return t&&(it[t]=e)&&Ae&&(Ae[t]=e)||it},ue=function(){return 0},Da={suppressEvents:!0,isStart:!0,kill:!1},$e={suppressEvents:!0,kill:!1},va={suppressEvents:!0},wn={},Ct=[],Sn={},qi,rt={},Tn={},Wi=30,Fe=[],Cn="",Pn=function(t){var e=t[0],n,i;if(dt(e)||I(e)||(t=[t]),!(n=(e._gsap||{}).harness)){for(i=Fe.length;i--&&!Fe[i].targetTest(e););n=Fe[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new br(t[i],n)))||t.splice(i,1);return t},Vt=function(t){return t._gsap||Pn(ut(t))[0]._gsap},Yi=function(t,e,n){return(n=t[e])&&I(n)?t[e]():pn(n)&&t.getAttribute&&t.getAttribute(e)||n},Z=function(t,e){return(t=t.split(",")).forEach(e)||t},L=function(t){return Math.round(t*1e5)/1e5||0},U=function(t){return Math.round(t*1e7)/1e7||0},Kt=function(t,e){var n=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),n==="+"?t+i:n==="-"?t-i:n==="*"?t*i:t/i},Oa=function(t,e){for(var n=e.length,i=0;t.indexOf(e[i])<0&&++i<n;);return i<n},Ie=function(){var t=Ct.length,e=Ct.slice(0),n,i;for(Sn={},Ct.length=0,n=0;n<t;n++)i=e[n],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Gi=function(t,e,n,i){Ct.length&&!G&&Ie(),t.render(e,n,G&&e<0&&(t._initted||t._startAt)),Ct.length&&!G&&Ie()},Xi=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(Ri).length<2?e:j(t)?t.trim():t},Hi=function(t){return t},ct=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},Ma=function(t){return function(e,n){for(var i in n)i in e||i==="duration"&&t||i==="ease"||(e[i]=n[i])}},At=function(t,e){for(var n in e)t[n]=e[n];return t},Ki=function r(t,e){for(var n in e)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(t[n]=dt(e[n])?r(t[n]||(t[n]={}),e[n]):e[n]);return t},Le=function(t,e){var n={},i;for(i in t)i in e||(n[i]=t[i]);return n},he=function(t){var e=t.parent||$,n=t.keyframes?Ma(X(t.keyframes)):ct;if(Q(t.inherit))for(;e;)n(t,e.vars.defaults),e=e.parent||e._dp;return t},Na=function(t,e){for(var n=t.length,i=n===e.length;i&&n--&&t[n]===e[n];);return n<0},Qi=function(t,e,n,i,s){var o=t[i],a;if(s)for(a=e[s];o&&o[s]>a;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[i]=e,e._prev=o,e.parent=e._dp=t,e},Re=function(t,e,n,i){n===void 0&&(n="_first"),i===void 0&&(i="_last");var s=e._prev,o=e._next;s?s._next=o:t[n]===e&&(t[n]=o),o?o._prev=s:t[i]===e&&(t[i]=s),e._next=e._prev=e.parent=null},Pt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},$t=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},Va=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},En=function(t,e,n,i){return t._startAt&&(G?t._startAt.revert($e):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},Aa=function r(t){return!t||t._ts&&r(t.parent)},Zi=function(t){return t._repeat?Qt(t._tTime,t=t.duration()+t._rDelay)*t:0},Qt=function(t,e){var n=Math.floor(t/=e);return t&&n===t?n-1:n},ze=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},je=function(t){return t._end=U(t._start+(t._tDur/Math.abs(t._ts||t._rts||O)||0))},Ue=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=U(n._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),je(t),n._dirty||$t(n,t)),t},Ji=function(t,e){var n;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(n=ze(t.rawTime(),e),(!e._dur||_e(0,e.totalDuration(),n)-e._tTime>O)&&e.render(n,!0)),$t(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-O}},pt=function(t,e,n,i){return e.parent&&Pt(e),e._start=U((bt(n)?n:n||t!==$?ft(t,n,e):t._time)+e._delay),e._end=U(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Qi(t,e,"_first","_last",t._sort?"_start":0),Bn(e)||(t._recent=e),i||Ji(t,e),t._ts<0&&Ue(t,t._tTime),t},tr=function(t,e){return(it.ScrollTrigger||kn("scrollTrigger",e))&&it.ScrollTrigger.create(e,t)},er=function(t,e,n,i,s){if(Fn(t,e,s),!t._initted)return 1;if(!n&&t._pt&&!G&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&qi!==ot.frame)return Ct.push(t),t._lazy=[s,i],1},$a=function r(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||r(e))},Bn=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},Fa=function(t,e,n,i){var s=t.ratio,o=e<0||!e&&(!t._start&&$a(t)&&!(!t._initted&&Bn(t))||(t._ts<0||t._dp._ts<0)&&!Bn(t))?0:1,a=t._rDelay,c=0,f,u,d;if(a&&t._repeat&&(c=_e(0,t._tDur,e),u=Qt(c,a),t._yoyo&&u&1&&(o=1-o),u!==Qt(t._tTime,a)&&(s=1-o,t.vars.repeatRefresh&&t._initted&&t.invalidate())),o!==s||G||i||t._zTime===O||!e&&t._zTime){if(!t._initted&&er(t,e,i,n,c))return;for(d=t._zTime,t._zTime=e||(n?O:0),n||(n=e&&!d),t.ratio=o,t._from&&(o=1-o),t._time=0,t._tTime=c,f=t._pt;f;)f.r(o,f.d),f=f._next;e<0&&En(t,e,n,!0),t._onUpdate&&!n&&st(t,"onUpdate"),c&&t._repeat&&!n&&t.parent&&st(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===o&&(o&&Pt(t,1),!n&&!G&&(st(t,o?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},Ia=function(t,e,n){var i;if(n>e)for(i=t._first;i&&i._start<=n;){if(i.data==="isPause"&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=n;){if(i.data==="isPause"&&i._start<e)return i;i=i._prev}},Zt=function(t,e,n,i){var s=t._repeat,o=U(e)||0,a=t._tTime/t._tDur;return a&&!i&&(t._time*=o/t._dur),t._dur=o,t._tDur=s?s<0?1e10:U(o*(s+1)+t._rDelay*s):o,a>0&&!i&&Ue(t,t._tTime=t._tDur*a),t.parent&&je(t),n||$t(t.parent,t),t},nr=function(t){return t instanceof K?$t(t):Zt(t,t._dur)},La={_start:0,endTime:ue,totalDuration:ue},ft=function r(t,e,n){var i=t.labels,s=t._recent||La,o=t.duration()>=lt?s.endTime(!1):t._dur,a,c,f;return j(e)&&(isNaN(e)||e in i)?(c=e.charAt(0),f=e.substr(-1)==="%",a=e.indexOf("="),c==="<"||c===">"?(a>=0&&(e=e.replace(/=/,"")),(c==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(e.substr(1))||0)*(f?(a<0?s:n).totalDuration()/100:1)):a<0?(e in i||(i[e]=o),i[e]):(c=parseFloat(e.charAt(a-1)+e.substr(a+1)),f&&n&&(c=c/100*(X(n)?n[0]:n).totalDuration()),a>1?r(t,e.substr(0,a-1),n)+c:o+c)):e==null?o:+e},de=function(t,e,n){var i=bt(e[1]),s=(i?2:1)+(t<2?0:1),o=e[s],a,c;if(i&&(o.duration=e[1]),o.parent=n,t){for(a=o,c=n;c&&!("immediateRender"in a);)a=c.vars.defaults||{},c=Q(c.vars.inherit)&&c.parent;o.immediateRender=Q(a.immediateRender),t<2?o.runBackwards=1:o.startAt=e[s-1]}return new R(e[0],o,e[s+1])},Et=function(t,e){return t||t===0?e(t):e},_e=function(t,e,n){return n<t?t:n>e?e:n},H=function(t,e){return!j(t)||!(e=Ba.exec(t))?"":e[1]},Ra=function(t,e,n){return Et(n,function(i){return _e(t,e,i)})},Dn=[].slice,ir=function(t,e){return t&&dt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&dt(t[0]))&&!t.nodeType&&t!==_t},za=function(t,e,n){return n===void 0&&(n=[]),t.forEach(function(i){var s;return j(i)&&!e||ir(i,1)?(s=n).push.apply(s,ut(i)):n.push(i)})||n},ut=function(t,e,n){return V&&!e&&V.selector?V.selector(t):j(t)&&!n&&(xn||!te())?Dn.call((e||bn).querySelectorAll(t),0):X(t)?za(t,n):ir(t)?Dn.call(t,0):t?[t]:[]},vn=function(t){return t=ut(t)[0]||fe("Invalid scope")||{},function(e){var n=t.current||t.nativeElement||t;return ut(e,n.querySelectorAll?n:n===t?fe("Invalid scope")||bn.createElement("div"):t)}},rr=function(t){return t.sort(function(){return .5-Math.random()})},sr=function(t){if(I(t))return t;var e=dt(t)?t:{each:t},n=Ft(e.ease),i=e.from||0,s=parseFloat(e.base)||0,o={},a=i>0&&i<1,c=isNaN(i)||a,f=e.axis,u=i,d=i;return j(i)?u=d={center:.5,edges:.5,end:1}[i]||0:!a&&c&&(u=i[0],d=i[1]),function(_,m,g){var h=(g||e).length,p=o[h],b,y,x,k,w,S,C,P,T;if(!p){if(T=e.grid==="auto"?0:(e.grid||[1,lt])[1],!T){for(C=-lt;C<(C=g[T++].getBoundingClientRect().left)&&T<h;);T<h&&T--}for(p=o[h]=[],b=c?Math.min(T,h)*u-.5:i%T,y=T===lt?0:c?h*d/T-.5:i/T|0,C=0,P=lt,S=0;S<h;S++)x=S%T-b,k=y-(S/T|0),p[S]=w=f?Math.abs(f==="y"?k:x):$i(x*x+k*k),w>C&&(C=w),w<P&&(P=w);i==="random"&&rr(p),p.max=C-P,p.min=P,p.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(T>h?h-1:f?f==="y"?h/T:T:Math.max(T,h/T))||0)*(i==="edges"?-1:1),p.b=h<0?s-h:s,p.u=H(e.amount||e.each)||0,n=n&&h<0?gr(n):n}return h=(p[_]-p.min)/p.max||0,U(p.b+(n?n(h):h)*p.v)+p.u}},On=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var i=U(Math.round(parseFloat(n)/t)*t*e);return(i-i%1)/e+(bt(n)?0:H(n))}},or=function(t,e){var n=X(t),i,s;return!n&&dt(t)&&(i=n=t.radius||lt,t.values?(t=ut(t.values),(s=!bt(t[0]))&&(i*=i)):t=On(t.increment)),Et(e,n?I(t)?function(o){return s=t(o),Math.abs(s-o)<=i?s:o}:function(o){for(var a=parseFloat(s?o.x:o),c=parseFloat(s?o.y:0),f=lt,u=0,d=t.length,_,m;d--;)s?(_=t[d].x-a,m=t[d].y-c,_=_*_+m*m):_=Math.abs(t[d]-a),_<f&&(f=_,u=d);return u=!i||f<=i?t[u]:o,s||u===o||bt(o)?u:u+H(o)}:On(t))},ar=function(t,e,n,i){return Et(X(t)?!e:n===!0?!!(n=0):!i,function(){return X(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(e-t+n*.99))/n)*n*i)/i})},ja=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(i){return e.reduce(function(s,o){return o(s)},i)}},Ua=function(t,e){return function(n){return t(parseFloat(n))+(e||H(n))}},qa=function(t,e,n){return cr(t,e,0,1,n)},lr=function(t,e,n){return Et(n,function(i){return t[~~e(i)]})},Wa=function r(t,e,n){var i=e-t;return X(t)?lr(t,r(0,t.length),e):Et(n,function(s){return(i+(s-t)%i)%i+t})},Ya=function r(t,e,n){var i=e-t,s=i*2;return X(t)?lr(t,r(0,t.length-1),e):Et(n,function(o){return o=(s+(o-t)%s)%s||0,t+(o>i?s-o:o)})},pe=function(t){for(var e=0,n="",i,s,o,a;~(i=t.indexOf("random(",e));)o=t.indexOf(")",i),a=t.charAt(i+7)==="[",s=t.substr(i+7,o-i-7).match(a?Ri:gn),n+=t.substr(e,i-e)+ar(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),e=o+1;return n+t.substr(e,t.length-e)},cr=function(t,e,n,i,s){var o=e-t,a=i-n;return Et(s,function(c){return n+((c-t)/o*a||0)})},Ga=function r(t,e,n,i){var s=isNaN(t+e)?0:function(m){return(1-m)*t+m*e};if(!s){var o=j(t),a={},c,f,u,d,_;if(n===!0&&(i=1)&&(n=null),o)t={p:t},e={p:e};else if(X(t)&&!X(e)){for(u=[],d=t.length,_=d-2,f=1;f<d;f++)u.push(r(t[f-1],t[f]));d--,s=function(g){g*=d;var h=Math.min(_,~~g);return u[h](g-h)},n=e}else i||(t=At(X(t)?[]:{},t));if(!u){for(c in e)An.call(a,t,c,"get",e[c]);s=function(g){return Rn(g,a)||(o?t.p:t)}}}return Et(n,s)},fr=function(t,e,n){var i=t.labels,s=lt,o,a,c;for(o in i)a=i[o]-e,a<0==!!n&&a&&s>(a=Math.abs(a))&&(c=o,s=a);return c},st=function(t,e,n){var i=t.vars,s=i[e],o=V,a=t._ctx,c,f,u;if(s)return c=i[e+"Params"],f=i.callbackScope||t,n&&Ct.length&&Ie(),a&&(V=a),u=c?s.apply(f,c):s.call(f),V=o,u},me=function(t){return Pt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!G),t.progress()<1&&st(t,"onInterrupt"),t},Jt,ur=[],hr=function(t){if(t)if(t=!t.name&&t.default||t,mn()||t.headless){var e=t.name,n=I(t),i=e&&!n&&t.init?function(){this._props=[]}:t,s={init:ue,render:Rn,add:An,kill:cl,modifier:ll,rawVars:0},o={targetTest:0,get:0,getSetter:Ln,aliases:{},register:0};if(te(),t!==i){if(rt[e])return;ct(i,ct(Le(t,s),o)),At(i.prototype,At(s,Le(t,o))),rt[i.prop=e]=i,t.targetTest&&(Fe.push(i),wn[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Ui(e,i),t.register&&t.register(tt,i,J)}else ur.push(t)},v=255,ge={aqua:[0,v,v],lime:[0,v,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,v],navy:[0,0,128],white:[v,v,v],olive:[128,128,0],yellow:[v,v,0],orange:[v,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[v,0,0],pink:[v,192,203],cyan:[0,v,v],transparent:[v,v,v,0]},Mn=function(t,e,n){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(n-e)*t*6:t<.5?n:t*3<2?e+(n-e)*(2/3-t)*6:e)*v+.5|0},dr=function(t,e,n){var i=t?bt(t)?[t>>16,t>>8&v,t&v]:0:ge.black,s,o,a,c,f,u,d,_,m,g;if(!i){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),ge[t])i=ge[t];else if(t.charAt(0)==="#"){if(t.length<6&&(s=t.charAt(1),o=t.charAt(2),a=t.charAt(3),t="#"+s+s+o+o+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return i=parseInt(t.substr(1,6),16),[i>>16,i>>8&v,i&v,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),i=[t>>16,t>>8&v,t&v]}else if(t.substr(0,3)==="hsl"){if(i=g=t.match(gn),!e)c=+i[0]%360/360,f=+i[1]/100,u=+i[2]/100,o=u<=.5?u*(f+1):u+f-u*f,s=u*2-o,i.length>3&&(i[3]*=1),i[0]=Mn(c+1/3,s,o),i[1]=Mn(c,s,o),i[2]=Mn(c-1/3,s,o);else if(~t.indexOf("="))return i=t.match(Ii),n&&i.length<4&&(i[3]=1),i}else i=t.match(gn)||ge.transparent;i=i.map(Number)}return e&&!g&&(s=i[0]/v,o=i[1]/v,a=i[2]/v,d=Math.max(s,o,a),_=Math.min(s,o,a),u=(d+_)/2,d===_?c=f=0:(m=d-_,f=u>.5?m/(2-d-_):m/(d+_),c=d===s?(o-a)/m+(o<a?6:0):d===o?(a-s)/m+2:(s-o)/m+4,c*=60),i[0]=~~(c+.5),i[1]=~~(f*100+.5),i[2]=~~(u*100+.5)),n&&i.length<4&&(i[3]=1),i},_r=function(t){var e=[],n=[],i=-1;return t.split(Bt).forEach(function(s){var o=s.match(Ht)||[];e.push.apply(e,o),n.push(i+=o.length+1)}),e.c=n,e},pr=function(t,e,n){var i="",s=(t+i).match(Bt),o=e?"hsla(":"rgba(",a=0,c,f,u,d;if(!s)return t;if(s=s.map(function(_){return(_=dr(_,e,1))&&o+(e?_[0]+","+_[1]+"%,"+_[2]+"%,"+_[3]:_.join(","))+")"}),n&&(u=_r(t),c=n.c,c.join(i)!==u.c.join(i)))for(f=t.replace(Bt,"1").split(Ht),d=f.length-1;a<d;a++)i+=f[a]+(~c.indexOf(a)?s.shift()||o+"0,0,0,0)":(u.length?u:s.length?s:n).shift());if(!f)for(f=t.split(Bt),d=f.length-1;a<d;a++)i+=f[a]+s[a];return i+f[d]},Bt=function(){var r="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in ge)r+="|"+t+"\\b";return new RegExp(r+")","gi")}(),Xa=/hsl[a]?\(/,mr=function(t){var e=t.join(" "),n;if(Bt.lastIndex=0,Bt.test(e))return n=Xa.test(e),t[1]=pr(t[1],n),t[0]=pr(t[0],n,_r(t[1])),!0},ye,ot=function(){var r=Date.now,t=500,e=33,n=r(),i=n,s=1e3/240,o=s,a=[],c,f,u,d,_,m,g=function h(p){var b=r()-i,y=p===!0,x,k,w,S;if((b>t||b<0)&&(n+=b-e),i+=b,w=i-n,x=w-o,(x>0||y)&&(S=++d.frame,_=w-d.time*1e3,d.time=w=w/1e3,o+=x+(x>=s?4:s-x),k=1),y||(c=f(h)),k)for(m=0;m<a.length;m++)a[m](w,_,S,p)};return d={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(p){return _/(1e3/(p||60))},wake:function(){zi&&(!xn&&mn()&&(_t=xn=window,bn=_t.document||{},it.gsap=tt,(_t.gsapVersions||(_t.gsapVersions=[])).push(tt.version),ji(Ae||_t.GreenSockGlobals||!_t.gsap&&_t||{}),ur.forEach(hr)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&d.sleep(),f=u||function(p){return setTimeout(p,o-d.time*1e3+1|0)},ye=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),ye=0,f=ue},lagSmoothing:function(p,b){t=p||1/0,e=Math.min(b||33,t)},fps:function(p){s=1e3/(p||240),o=d.time*1e3+s},add:function(p,b,y){var x=b?function(k,w,S,C){p(k,w,S,C),d.remove(x)}:p;return d.remove(p),a[y?"unshift":"push"](x),te(),x},remove:function(p,b){~(b=a.indexOf(p))&&a.splice(b,1)&&m>=b&&m--},_listeners:a},d}(),te=function(){return!ye&&ot.wake()},D={},Ha=/^[\d.\-M][\d.\-,\s]/,Ka=/["']/g,Qa=function(t){for(var e={},n=t.substr(1,t.length-3).split(":"),i=n[0],s=1,o=n.length,a,c,f;s<o;s++)c=n[s],a=s!==o-1?c.lastIndexOf(","):c.length,f=c.substr(0,a),e[i]=isNaN(f)?f.replace(Ka,"").trim():+f,i=c.substr(a+1).trim();return e},Za=function(t){var e=t.indexOf("(")+1,n=t.indexOf(")"),i=t.indexOf("(",e);return t.substring(e,~i&&i<n?t.indexOf(")",n+1):n)},Ja=function(t){var e=(t+"").split("("),n=D[e[0]];return n&&e.length>1&&n.config?n.config.apply(null,~t.indexOf("{")?[Qa(e[1])]:Za(t).split(",").map(Xi)):D._CE&&Ha.test(t)?D._CE("",t):n},gr=function(t){return function(e){return 1-t(1-e)}},yr=function r(t,e){for(var n=t._first,i;n;)n instanceof K?r(n,e):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==e&&(n.timeline?r(n.timeline,e):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=e)),n=n._next},Ft=function(t,e){return t&&(I(t)?t:D[t]||Ja(t))||e},It=function(t,e,n,i){n===void 0&&(n=function(c){return 1-e(1-c)}),i===void 0&&(i=function(c){return c<.5?e(c*2)/2:1-e((1-c)*2)/2});var s={easeIn:e,easeOut:n,easeInOut:i},o;return Z(t,function(a){D[a]=it[a]=s,D[o=a.toLowerCase()]=n;for(var c in s)D[o+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=D[a+"."+c]=s[c]}),s},xr=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},Nn=function r(t,e,n){var i=e>=1?e:1,s=(n||(t?.3:.45))/(e<1?e:1),o=s/_n*(Math.asin(1/i)||0),a=function(u){return u===1?1:i*Math.pow(2,-10*u)*Ea((u-o)*s)+1},c=t==="out"?a:t==="in"?function(f){return 1-a(1-f)}:xr(a);return s=_n/s,c.config=function(f,u){return r(t,f,u)},c},Vn=function r(t,e){e===void 0&&(e=1.70158);var n=function(o){return o?--o*o*((e+1)*o+e)+1:0},i=t==="out"?n:t==="in"?function(s){return 1-n(1-s)}:xr(n);return i.config=function(s){return r(t,s)},i};Z("Linear,Quad,Cubic,Quart,Quint,Strong",function(r,t){var e=t<5?t+1:t;It(r+",Power"+(e-1),t?function(n){return Math.pow(n,e)}:function(n){return n},function(n){return 1-Math.pow(1-n,e)},function(n){return n<.5?Math.pow(n*2,e)/2:1-Math.pow((1-n)*2,e)/2})}),D.Linear.easeNone=D.none=D.Linear.easeIn,It("Elastic",Nn("in"),Nn("out"),Nn()),function(r,t){var e=1/t,n=2*e,i=2.5*e,s=function(a){return a<e?r*a*a:a<n?r*Math.pow(a-1.5/t,2)+.75:a<i?r*(a-=2.25/t)*a+.9375:r*Math.pow(a-2.625/t,2)+.984375};It("Bounce",function(o){return 1-s(1-o)},s)}(7.5625,2.75),It("Expo",function(r){return r?Math.pow(2,10*(r-1)):0}),It("Circ",function(r){return-($i(1-r*r)-1)}),It("Sine",function(r){return r===1?1:-Pa(r*Ta)+1}),It("Back",Vn("in"),Vn("out"),Vn()),D.SteppedEase=D.steps=it.SteppedEase={config:function(t,e){t===void 0&&(t=1);var n=1/t,i=t+(e?0:1),s=e?1:0,o=1-O;return function(a){return((i*_e(0,o,a)|0)+s)*n}}},Xt.ease=D["quad.out"],Z("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(r){return Cn+=r+","+r+"Params,"});var br=function(t,e){this.id=Ca++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Yi,this.set=e?e.getSetter:Ln},xe=function(){function r(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Zt(this,+e.duration,1,1),this.data=e.data,V&&(this._ctx=V,V.data.push(this)),ye||ot.wake()}var t=r.prototype;return t.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},t.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},t.totalDuration=function(n){return arguments.length?(this._dirty=0,Zt(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(n,i){if(te(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Ue(this,n),!s._dp||s.parent||Ji(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&pt(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===O||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),Gi(this,n,i)),this},t.time=function(n,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+Zi(this))%(this._dur+this._rDelay)||(n?this._dur:0),i):this._time},t.totalProgress=function(n,i){return arguments.length?this.totalTime(this.totalDuration()*n,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},t.progress=function(n,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+Zi(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(n,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*s,i):this._repeat?Qt(this._tTime,s)+1:1},t.timeScale=function(n,i){if(!arguments.length)return this._rts===-O?0:this._rts;if(this._rts===n)return this;var s=this.parent&&this._ts?ze(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-O?0:this._rts,this.totalTime(_e(-Math.abs(this._delay),this._tDur,s),i!==!1),je(this),Va(this)},t.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(te(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==O&&(this._tTime-=O)))),this):this._ps},t.startTime=function(n){if(arguments.length){this._start=n;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&pt(i,this,n-this._delay),this}return this._start},t.endTime=function(n){return this._start+(Q(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(n){var i=this.parent||this._dp;return i?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?ze(i.rawTime(n),this):this._tTime:this._tTime},t.revert=function(n){n===void 0&&(n=va);var i=G;return G=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),G=i,this},t.globalTime=function(n){for(var i=this,s=arguments.length?n:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(n):s},t.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,nr(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(n){if(arguments.length){var i=this._time;return this._rDelay=n,nr(this),i?this.time(i):this}return this._rDelay},t.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},t.seek=function(n,i){return this.totalTime(ft(this,n),Q(i))},t.restart=function(n,i){return this.play().totalTime(n?-this._delay:0,Q(i))},t.play=function(n,i){return n!=null&&this.seek(n,i),this.reversed(!1).paused(!1)},t.reverse=function(n,i){return n!=null&&this.seek(n||this.totalDuration(),i),this.reversed(!0).paused(!1)},t.pause=function(n,i){return n!=null&&this.seek(n,i),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-O:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-O,this},t.isActive=function(){var n=this.parent||this._dp,i=this._start,s;return!!(!n||this._ts&&this._initted&&n.isActive()&&(s=n.rawTime(!0))>=i&&s<this.endTime(!0)-O)},t.eventCallback=function(n,i,s){var o=this.vars;return arguments.length>1?(i?(o[n]=i,s&&(o[n+"Params"]=s),n==="onUpdate"&&(this._onUpdate=i)):delete o[n],this):o[n]},t.then=function(n){var i=this;return new Promise(function(s){var o=I(n)?n:Hi,a=function(){var f=i.then;i.then=null,I(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=f),s(o),i.then=f};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},t.kill=function(){me(this)},r}();ct(xe.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-O,_prom:0,_ps:!1,_rts:1});var K=function(r){Ai(t,r);function t(n,i){var s;return n===void 0&&(n={}),s=r.call(this,n)||this,s.labels={},s.smoothChildTiming=!!n.smoothChildTiming,s.autoRemoveChildren=!!n.autoRemoveChildren,s._sort=Q(n.sortChildren),$&&pt(n.parent||$,xt(s),i),n.reversed&&s.reverse(),n.paused&&s.paused(!0),n.scrollTrigger&&tr(xt(s),n.scrollTrigger),s}var e=t.prototype;return e.to=function(i,s,o){return de(0,arguments,this),this},e.from=function(i,s,o){return de(1,arguments,this),this},e.fromTo=function(i,s,o,a){return de(2,arguments,this),this},e.set=function(i,s,o){return s.duration=0,s.parent=this,he(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new R(i,s,ft(this,o),1),this},e.call=function(i,s,o){return pt(this,R.delayedCall(0,i,s),o)},e.staggerTo=function(i,s,o,a,c,f,u){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=f,o.onCompleteParams=u,o.parent=this,new R(i,o,ft(this,c)),this},e.staggerFrom=function(i,s,o,a,c,f,u){return o.runBackwards=1,he(o).immediateRender=Q(o.immediateRender),this.staggerTo(i,s,o,a,c,f,u)},e.staggerFromTo=function(i,s,o,a,c,f,u,d){return a.startAt=o,he(a).immediateRender=Q(a.immediateRender),this.staggerTo(i,s,a,c,f,u,d)},e.render=function(i,s,o){var a=this._time,c=this._dirty?this.totalDuration():this._tDur,f=this._dur,u=i<=0?0:U(i),d=this._zTime<0!=i<0&&(this._initted||!f),_,m,g,h,p,b,y,x,k,w,S,C;if(this!==$&&u>c&&i>=0&&(u=c),u!==this._tTime||o||d){if(a!==this._time&&f&&(u+=this._time-a,i+=this._time-a),_=u,k=this._start,x=this._ts,b=!x,d&&(f||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(S=this._yoyo,p=f+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(p*100+i,s,o);if(_=U(u%p),u===c?(h=this._repeat,_=f):(h=~~(u/p),h&&h===u/p&&(_=f,h--),_>f&&(_=f)),w=Qt(this._tTime,p),!a&&this._tTime&&w!==h&&this._tTime-w*p-this._dur<=0&&(w=h),S&&h&1&&(_=f-_,C=1),h!==w&&!this._lock){var P=S&&w&1,T=P===(S&&h&1);if(h<w&&(P=!P),a=P?0:u%f?f:u,this._lock=1,this.render(a||(C?0:U(h*p)),s,!f)._lock=0,this._tTime=u,!s&&this.parent&&st(this,"onRepeat"),this.vars.repeatRefresh&&!C&&(this.invalidate()._lock=1),a&&a!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(f=this._dur,c=this._tDur,T&&(this._lock=2,a=P?f:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!C&&this.invalidate()),this._lock=0,!this._ts&&!b)return this;yr(this,C)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(y=Ia(this,U(a),U(_)),y&&(u-=_-(_=y._start))),this._tTime=u,this._time=_,this._act=!x,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&_&&!s&&!h&&(st(this,"onStart"),this._tTime!==u))return this;if(_>=a&&i>=0)for(m=this._first;m;){if(g=m._next,(m._act||_>=m._start)&&m._ts&&y!==m){if(m.parent!==this)return this.render(i,s,o);if(m.render(m._ts>0?(_-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(_-m._start)*m._ts,s,o),_!==this._time||!this._ts&&!b){y=0,g&&(u+=this._zTime=-O);break}}m=g}else{m=this._last;for(var E=i<0?i:_;m;){if(g=m._prev,(m._act||E<=m._end)&&m._ts&&y!==m){if(m.parent!==this)return this.render(i,s,o);if(m.render(m._ts>0?(E-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(E-m._start)*m._ts,s,o||G&&(m._initted||m._startAt)),_!==this._time||!this._ts&&!b){y=0,g&&(u+=this._zTime=E?-O:O);break}}m=g}}if(y&&!s&&(this.pause(),y.render(_>=a?0:-O)._zTime=_>=a?1:-1,this._ts))return this._start=k,je(this),this.render(i,s,o);this._onUpdate&&!s&&st(this,"onUpdate",!0),(u===c&&this._tTime>=this.totalDuration()||!u&&a)&&(k===this._start||Math.abs(x)!==Math.abs(this._ts))&&(this._lock||((i||!f)&&(u===c&&this._ts>0||!u&&this._ts<0)&&Pt(this,1),!s&&!(i<0&&!a)&&(u||a||!c)&&(st(this,u===c&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<c&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(i,s){var o=this;if(bt(s)||(s=ft(this,s,i)),!(i instanceof xe)){if(X(i))return i.forEach(function(a){return o.add(a,s)}),this;if(j(i))return this.addLabel(i,s);if(I(i))i=R.delayedCall(0,i);else return this}return this!==i?pt(this,i,s):this},e.getChildren=function(i,s,o,a){i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-lt);for(var c=[],f=this._first;f;)f._start>=a&&(f instanceof R?s&&c.push(f):(o&&c.push(f),i&&c.push.apply(c,f.getChildren(!0,s,o)))),f=f._next;return c},e.getById=function(i){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===i)return s[o]},e.remove=function(i){return j(i)?this.removeLabel(i):I(i)?this.killTweensOf(i):(Re(this,i),i===this._recent&&(this._recent=this._last),$t(this))},e.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=U(ot.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),r.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},e.addLabel=function(i,s){return this.labels[i]=ft(this,s),this},e.removeLabel=function(i){return delete this.labels[i],this},e.addPause=function(i,s,o){var a=R.delayedCall(0,s||ue,o);return a.data="isPause",this._hasPause=1,pt(this,a,ft(this,i))},e.removePause=function(i){var s=this._first;for(i=ft(this,i);s;)s._start===i&&s.data==="isPause"&&Pt(s),s=s._next},e.killTweensOf=function(i,s,o){for(var a=this.getTweensOf(i,o),c=a.length;c--;)Dt!==a[c]&&a[c].kill(i,s);return this},e.getTweensOf=function(i,s){for(var o=[],a=ut(i),c=this._first,f=bt(s),u;c;)c instanceof R?Oa(c._targets,a)&&(f?(!Dt||c._initted&&c._ts)&&c.globalTime(0)<=s&&c.globalTime(c.totalDuration())>s:!s||c.isActive())&&o.push(c):(u=c.getTweensOf(a,s)).length&&o.push.apply(o,u),c=c._next;return o},e.tweenTo=function(i,s){s=s||{};var o=this,a=ft(o,i),c=s,f=c.startAt,u=c.onStart,d=c.onStartParams,_=c.immediateRender,m,g=R.to(o,ct({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(f&&"time"in f?f.time:o._time))/o.timeScale())||O,onStart:function(){if(o.pause(),!m){var p=s.duration||Math.abs((a-(f&&"time"in f?f.time:o._time))/o.timeScale());g._dur!==p&&Zt(g,p,0,1).render(g._time,!0,!0),m=1}u&&u.apply(g,d||[])}},s));return _?g.render(0):g},e.tweenFromTo=function(i,s,o){return this.tweenTo(s,ct({startAt:{time:ft(this,i)}},o))},e.recent=function(){return this._recent},e.nextLabel=function(i){return i===void 0&&(i=this._time),fr(this,ft(this,i))},e.previousLabel=function(i){return i===void 0&&(i=this._time),fr(this,ft(this,i),1)},e.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+O)},e.shiftChildren=function(i,s,o){o===void 0&&(o=0);for(var a=this._first,c=this.labels,f;a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(f in c)c[f]>=o&&(c[f]+=i);return $t(this)},e.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return r.prototype.invalidate.call(this,i)},e.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),$t(this)},e.totalDuration=function(i){var s=0,o=this,a=o._last,c=lt,f,u,d;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(d=o.parent;a;)f=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>c&&o._sort&&a._ts&&!o._lock?(o._lock=1,pt(o,a,u-a._delay,1)._lock=0):c=u,u<0&&a._ts&&(s-=u,(!d&&!o._dp||d&&d.smoothChildTiming)&&(o._start+=u/o._ts,o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),c=0),a._end>s&&a._ts&&(s=a._end),a=f;Zt(o,o===$&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},t.updateRoot=function(i){if($._ts&&(Gi($,ze(i,$)),qi=ot.frame),ot.frame>=Wi){Wi+=nt.autoSleep||120;var s=$._first;if((!s||!s._ts)&&nt.autoSleep&&ot._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||ot.sleep()}}},t}(xe);ct(K.prototype,{_lock:0,_hasPause:0,_forcing:0});var tl=function(t,e,n,i,s,o,a){var c=new J(this._pt,t,e,0,1,Pr,null,s),f=0,u=0,d,_,m,g,h,p,b,y;for(c.b=n,c.e=i,n+="",i+="",(b=~i.indexOf("random("))&&(i=pe(i)),o&&(y=[n,i],o(y,t,e),n=y[0],i=y[1]),_=n.match(yn)||[];d=yn.exec(i);)g=d[0],h=i.substring(f,d.index),m?m=(m+1)%5:h.substr(-5)==="rgba("&&(m=1),g!==_[u++]&&(p=parseFloat(_[u-1])||0,c._pt={_next:c._pt,p:h||u===1?h:",",s:p,c:g.charAt(1)==="="?Kt(p,g)-p:parseFloat(g)-p,m:m&&m<4?Math.round:0},f=yn.lastIndex);return c.c=f<i.length?i.substring(f,i.length):"",c.fp=a,(Li.test(i)||b)&&(c.e=0),this._pt=c,c},An=function(t,e,n,i,s,o,a,c,f,u){I(i)&&(i=i(s||0,t,o));var d=t[e],_=n!=="get"?n:I(d)?f?t[e.indexOf("set")||!I(t["get"+e.substr(3)])?e:"get"+e.substr(3)](f):t[e]():d,m=I(d)?f?sl:Tr:In,g;if(j(i)&&(~i.indexOf("random(")&&(i=pe(i)),i.charAt(1)==="="&&(g=Kt(_,i)+(H(_)||0),(g||g===0)&&(i=g))),!u||_!==i||$n)return!isNaN(_*i)&&i!==""?(g=new J(this._pt,t,e,+_||0,i-(_||0),typeof d=="boolean"?al:Cr,0,m),f&&(g.fp=f),a&&g.modifier(a,this,t),this._pt=g):(!d&&!(e in t)&&kn(e,i),tl.call(this,t,e,_,i,m,c||nt.stringFilter,f))},el=function(t,e,n,i,s){if(I(t)&&(t=be(t,s,e,n,i)),!dt(t)||t.style&&t.nodeType||X(t)||Fi(t))return j(t)?be(t,s,e,n,i):t;var o={},a;for(a in t)o[a]=be(t[a],s,e,n,i);return o},kr=function(t,e,n,i,s,o){var a,c,f,u;if(rt[t]&&(a=new rt[t]).init(s,a.rawVars?e[t]:el(e[t],i,s,o,n),n,i,o)!==!1&&(n._pt=c=new J(n._pt,s,t,0,1,a.render,a,0,a.priority),n!==Jt))for(f=n._ptLookup[n._targets.indexOf(s)],u=a._props.length;u--;)f[a._props[u]]=c;return a},Dt,$n,Fn=function r(t,e,n){var i=t.vars,s=i.ease,o=i.startAt,a=i.immediateRender,c=i.lazy,f=i.onUpdate,u=i.runBackwards,d=i.yoyoEase,_=i.keyframes,m=i.autoRevert,g=t._dur,h=t._startAt,p=t._targets,b=t.parent,y=b&&b.data==="nested"?b.vars.targets:p,x=t._overwrite==="auto"&&!dn,k=t.timeline,w,S,C,P,T,E,A,M,N,Y,q,z,W;if(k&&(!_||!s)&&(s="none"),t._ease=Ft(s,Xt.ease),t._yEase=d?gr(Ft(d===!0?s:d,Xt.ease)):0,d&&t._yoyo&&!t._repeat&&(d=t._yEase,t._yEase=t._ease,t._ease=d),t._from=!k&&!!i.runBackwards,!k||_&&!i.stagger){if(M=p[0]?Vt(p[0]).harness:0,z=M&&i[M.prop],w=Le(i,wn),h&&(h._zTime<0&&h.progress(1),e<0&&u&&a&&!m?h.render(-1,!0):h.revert(u&&g?$e:Da),h._lazy=0),o){if(Pt(t._startAt=R.set(p,ct({data:"isStart",overwrite:!1,parent:b,immediateRender:!0,lazy:!h&&Q(c),startAt:null,delay:0,onUpdate:f&&function(){return st(t,"onUpdate")},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(G||!a&&!m)&&t._startAt.revert($e),a&&g&&e<=0&&n<=0){e&&(t._zTime=e);return}}else if(u&&g&&!h){if(e&&(a=!1),C=ct({overwrite:!1,data:"isFromStart",lazy:a&&!h&&Q(c),immediateRender:a,stagger:0,parent:b},w),z&&(C[M.prop]=z),Pt(t._startAt=R.set(p,C)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(G?t._startAt.revert($e):t._startAt.render(-1,!0)),t._zTime=e,!a)r(t._startAt,O,O);else if(!e)return}for(t._pt=t._ptCache=0,c=g&&Q(c)||c&&!g,S=0;S<p.length;S++){if(T=p[S],A=T._gsap||Pn(p)[S]._gsap,t._ptLookup[S]=Y={},Sn[A.id]&&Ct.length&&Ie(),q=y===p?S:y.indexOf(T),M&&(N=new M).init(T,z||w,t,q,y)!==!1&&(t._pt=P=new J(t._pt,T,N.name,0,1,N.render,N,0,N.priority),N._props.forEach(function(ht){Y[ht]=P}),N.priority&&(E=1)),!M||z)for(C in w)rt[C]&&(N=kr(C,w,t,q,T,y))?N.priority&&(E=1):Y[C]=P=An.call(t,T,C,"get",w[C],q,y,0,i.stringFilter);t._op&&t._op[S]&&t.kill(T,t._op[S]),x&&t._pt&&(Dt=t,$.killTweensOf(T,Y,t.globalTime(e)),W=!t.parent,Dt=0),t._pt&&c&&(Sn[A.id]=1)}E&&Er(t),t._onInit&&t._onInit(t)}t._onUpdate=f,t._initted=(!t._op||t._pt)&&!W,_&&e<=0&&k.render(lt,!0,!0)},nl=function(t,e,n,i,s,o,a,c){var f=(t._pt&&t._ptCache||(t._ptCache={}))[e],u,d,_,m;if(!f)for(f=t._ptCache[e]=[],_=t._ptLookup,m=t._targets.length;m--;){if(u=_[m][e],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return $n=1,t.vars[e]="+=0",Fn(t,a),$n=0,c?fe(e+" not eligible for reset"):1;f.push(u)}for(m=f.length;m--;)d=f[m],u=d._pt||d,u.s=(i||i===0)&&!s?i:u.s+(i||0)+o*u.c,u.c=n-u.s,d.e&&(d.e=L(n)+H(d.e)),d.b&&(d.b=u.s+H(d.b))},il=function(t,e){var n=t[0]?Vt(t[0]).harness:0,i=n&&n.aliases,s,o,a,c;if(!i)return e;s=At({},e);for(o in i)if(o in s)for(c=i[o].split(","),a=c.length;a--;)s[c[a]]=s[o];return s},rl=function(t,e,n,i){var s=e.ease||i||"power1.inOut",o,a;if(X(e))a=n[t]||(n[t]=[]),e.forEach(function(c,f){return a.push({t:f/(e.length-1)*100,v:c,e:s})});else for(o in e)a=n[o]||(n[o]=[]),o==="ease"||a.push({t:parseFloat(t),v:e[o],e:s})},be=function(t,e,n,i,s){return I(t)?t.call(e,n,i,s):j(t)&&~t.indexOf("random(")?pe(t):t},wr=Cn+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Sr={};Z(wr+",id,stagger,delay,duration,paused,scrollTrigger",function(r){return Sr[r]=1});var R=function(r){Ai(t,r);function t(n,i,s,o){var a;typeof i=="number"&&(s.duration=i,i=s,s=null),a=r.call(this,o?i:he(i))||this;var c=a.vars,f=c.duration,u=c.delay,d=c.immediateRender,_=c.stagger,m=c.overwrite,g=c.keyframes,h=c.defaults,p=c.scrollTrigger,b=c.yoyoEase,y=i.parent||$,x=(X(n)||Fi(n)?bt(n[0]):"length"in i)?[n]:ut(n),k,w,S,C,P,T,E,A;if(a._targets=x.length?Pn(x):fe("GSAP target "+n+" not found. https://gsap.com",!nt.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=m,g||_||Ve(f)||Ve(u)){if(i=a.vars,k=a.timeline=new K({data:"nested",defaults:h||{},targets:y&&y.data==="nested"?y.vars.targets:x}),k.kill(),k.parent=k._dp=xt(a),k._start=0,_||Ve(f)||Ve(u)){if(C=x.length,E=_&&sr(_),dt(_))for(P in _)~wr.indexOf(P)&&(A||(A={}),A[P]=_[P]);for(w=0;w<C;w++)S=Le(i,Sr),S.stagger=0,b&&(S.yoyoEase=b),A&&At(S,A),T=x[w],S.duration=+be(f,xt(a),w,T,x),S.delay=(+be(u,xt(a),w,T,x)||0)-a._delay,!_&&C===1&&S.delay&&(a._delay=u=S.delay,a._start+=u,S.delay=0),k.to(T,S,E?E(w,T,x):0),k._ease=D.none;k.duration()?f=u=0:a.timeline=0}else if(g){he(ct(k.vars.defaults,{ease:"none"})),k._ease=Ft(g.ease||i.ease||"none");var M=0,N,Y,q;if(X(g))g.forEach(function(z){return k.to(x,z,">")}),k.duration();else{S={};for(P in g)P==="ease"||P==="easeEach"||rl(P,g[P],S,g.easeEach);for(P in S)for(N=S[P].sort(function(z,W){return z.t-W.t}),M=0,w=0;w<N.length;w++)Y=N[w],q={ease:Y.e,duration:(Y.t-(w?N[w-1].t:0))/100*f},q[P]=Y.v,k.to(x,q,M),M+=q.duration;k.duration()<f&&k.to({},{duration:f-k.duration()})}}f||a.duration(f=k.duration())}else a.timeline=0;return m===!0&&!dn&&(Dt=xt(a),$.killTweensOf(x),Dt=0),pt(y,xt(a),s),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(d||!f&&!g&&a._start===U(y._time)&&Q(d)&&Aa(xt(a))&&y.data!=="nested")&&(a._tTime=-O,a.render(Math.max(0,-u)||0)),p&&tr(xt(a),p),a}var e=t.prototype;return e.render=function(i,s,o){var a=this._time,c=this._tDur,f=this._dur,u=i<0,d=i>c-O&&!u?c:i<O?0:i,_,m,g,h,p,b,y,x,k;if(!f)Fa(this,i,s,o);else if(d!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(_=d,x=this.timeline,this._repeat){if(h=f+this._rDelay,this._repeat<-1&&u)return this.totalTime(h*100+i,s,o);if(_=U(d%h),d===c?(g=this._repeat,_=f):(g=~~(d/h),g&&g===U(d/h)&&(_=f,g--),_>f&&(_=f)),b=this._yoyo&&g&1,b&&(k=this._yEase,_=f-_),p=Qt(this._tTime,h),_===a&&!o&&this._initted&&g===p)return this._tTime=d,this;g!==p&&(x&&this._yEase&&yr(x,b),this.vars.repeatRefresh&&!b&&!this._lock&&this._time!==h&&this._initted&&(this._lock=o=1,this.render(U(h*g),!0).invalidate()._lock=0))}if(!this._initted){if(er(this,u?i:_,o,s,d))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&g!==p))return this;if(f!==this._dur)return this.render(i,s,o)}if(this._tTime=d,this._time=_,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=y=(k||this._ease)(_/f),this._from&&(this.ratio=y=1-y),_&&!a&&!s&&!g&&(st(this,"onStart"),this._tTime!==d))return this;for(m=this._pt;m;)m.r(y,m.d),m=m._next;x&&x.render(i<0?i:x._dur*x._ease(_/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(u&&En(this,i,s,o),st(this,"onUpdate")),this._repeat&&g!==p&&this.vars.onRepeat&&!s&&this.parent&&st(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(u&&!this._onUpdate&&En(this,i,!0,!0),(i||!f)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&Pt(this,1),!s&&!(u&&!a)&&(d||a||b)&&(st(this,d===c?"onComplete":"onReverseComplete",!0),this._prom&&!(d<c&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),r.prototype.invalidate.call(this,i)},e.resetTo=function(i,s,o,a,c){ye||ot.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Fn(this,f),u=this._ease(f/this._dur),nl(this,i,s,o,a,u,f,c)?this.resetTo(i,s,o,a,1):(Ue(this,0),this.parent||Qi(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?me(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,Dt&&Dt.vars.overwrite!==!0)._first||me(this),this.parent&&o!==this.timeline.totalDuration()&&Zt(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,c=i?ut(i):a,f=this._ptLookup,u=this._pt,d,_,m,g,h,p,b;if((!s||s==="all")&&Na(a,c))return s==="all"&&(this._pt=0),me(this);for(d=this._op=this._op||[],s!=="all"&&(j(s)&&(h={},Z(s,function(y){return h[y]=1}),s=h),s=il(a,s)),b=a.length;b--;)if(~c.indexOf(a[b])){_=f[b],s==="all"?(d[b]=s,g=_,m={}):(m=d[b]=d[b]||{},g=s);for(h in g)p=_&&_[h],p&&((!("kill"in p.d)||p.d.kill(h)===!0)&&Re(this,p,"_pt"),delete _[h]),m!=="all"&&(m[h]=1)}return this._initted&&!this._pt&&u&&me(this),this},t.to=function(i,s){return new t(i,s,arguments[2])},t.from=function(i,s){return de(1,arguments)},t.delayedCall=function(i,s,o,a){return new t(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},t.fromTo=function(i,s,o){return de(2,arguments)},t.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new t(i,s)},t.killTweensOf=function(i,s,o){return $.killTweensOf(i,s,o)},t}(xe);ct(R.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Z("staggerTo,staggerFrom,staggerFromTo",function(r){R[r]=function(){var t=new K,e=Dn.call(arguments,0);return e.splice(r==="staggerFromTo"?5:4,0,0),t[r].apply(t,e)}});var In=function(t,e,n){return t[e]=n},Tr=function(t,e,n){return t[e](n)},sl=function(t,e,n,i){return t[e](i.fp,n)},ol=function(t,e,n){return t.setAttribute(e,n)},Ln=function(t,e){return I(t[e])?Tr:pn(t[e])&&t.setAttribute?ol:In},Cr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},al=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Pr=function(t,e){var n=e._pt,i="";if(!t&&e.b)i=e.b;else if(t===1&&e.e)i=e.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*t):Math.round((n.s+n.c*t)*1e4)/1e4)+i,n=n._next;i+=e.c}e.set(e.t,e.p,i,e)},Rn=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},ll=function(t,e,n,i){for(var s=this._pt,o;s;)o=s._next,s.p===i&&s.modifier(t,e,n),s=o},cl=function(t){for(var e=this._pt,n,i;e;)i=e._next,e.p===t&&!e.op||e.op===t?Re(this,e,"_pt"):e.dep||(n=1),e=i;return!n},fl=function(t,e,n,i){i.mSet(t,e,i.m.call(i.tween,n,i.mt),i)},Er=function(t){for(var e=t._pt,n,i,s,o;e;){for(n=e._next,i=s;i&&i.pr>e.pr;)i=i._next;(e._prev=i?i._prev:o)?e._prev._next=e:s=e,(e._next=i)?i._prev=e:o=e,e=n}t._pt=s},J=function(){function r(e,n,i,s,o,a,c,f,u){this.t=n,this.s=s,this.c=o,this.p=i,this.r=a||Cr,this.d=c||this,this.set=f||In,this.pr=u||0,this._next=e,e&&(e._prev=this)}var t=r.prototype;return t.modifier=function(n,i,s){this.mSet=this.mSet||this.set,this.set=fl,this.m=n,this.mt=s,this.tween=i},r}();Z(Cn+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(r){return wn[r]=1}),it.TweenMax=it.TweenLite=R,it.TimelineLite=it.TimelineMax=K,$=new K({sortChildren:!1,defaults:Xt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),nt.stringFilter=mr;var Lt=[],qe={},ul=[],Br=0,hl=0,zn=function(t){return(qe[t]||ul).map(function(e){return e()})},jn=function(){var t=Date.now(),e=[];t-Br>2&&(zn("matchMediaInit"),Lt.forEach(function(n){var i=n.queries,s=n.conditions,o,a,c,f;for(a in i)o=_t.matchMedia(i[a]).matches,o&&(c=1),o!==s[a]&&(s[a]=o,f=1);f&&(n.revert(),c&&e.push(n))}),zn("matchMediaRevert"),e.forEach(function(n){return n.onMatch(n,function(i){return n.add(null,i)})}),Br=t,zn("matchMedia"))},Dr=function(){function r(e,n){this.selector=n&&vn(n),this.data=[],this._r=[],this.isReverted=!1,this.id=hl++,e&&this.add(e)}var t=r.prototype;return t.add=function(n,i,s){I(n)&&(s=i,i=n,n=I);var o=this,a=function(){var f=V,u=o.selector,d;return f&&f!==o&&f.data.push(o),s&&(o.selector=vn(s)),V=o,d=i.apply(o,arguments),I(d)&&o._r.push(d),V=f,o.selector=u,o.isReverted=!1,d};return o.last=a,n===I?a(o,function(c){return o.add(null,c)}):n?o[n]=a:a},t.ignore=function(n){var i=V;V=null,n(this),V=i},t.getTweens=function(){var n=[];return this.data.forEach(function(i){return i instanceof r?n.push.apply(n,i.getTweens()):i instanceof R&&!(i.parent&&i.parent.data==="nested")&&n.push(i)}),n},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(n,i){var s=this;if(n?function(){for(var a=s.getTweens(),c=s.data.length,f;c--;)f=s.data[c],f.data==="isFlip"&&(f.revert(),f.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,d){return d.g-u.g||-1/0}).forEach(function(u){return u.t.revert(n)}),c=s.data.length;c--;)f=s.data[c],f instanceof K?f.data!=="nested"&&(f.scrollTrigger&&f.scrollTrigger.revert(),f.kill()):!(f instanceof R)&&f.revert&&f.revert(n);s._r.forEach(function(u){return u(n,s)}),s.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var o=Lt.length;o--;)Lt[o].id===this.id&&Lt.splice(o,1)},t.revert=function(n){this.kill(n||{})},r}(),dl=function(){function r(e){this.contexts=[],this.scope=e,V&&V.data.push(this)}var t=r.prototype;return t.add=function(n,i,s){dt(n)||(n={matches:n});var o=new Dr(0,s||this.scope),a=o.conditions={},c,f,u;V&&!o.selector&&(o.selector=V.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=n;for(f in n)f==="all"?u=1:(c=_t.matchMedia(n[f]),c&&(Lt.indexOf(o)<0&&Lt.push(o),(a[f]=c.matches)&&(u=1),c.addListener?c.addListener(jn):c.addEventListener("change",jn)));return u&&i(o,function(d){return o.add(null,d)}),this},t.revert=function(n){this.kill(n||{})},t.kill=function(n){this.contexts.forEach(function(i){return i.kill(n,!0)})},r}(),We={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach(function(i){return hr(i)})},timeline:function(t){return new K(t)},getTweensOf:function(t,e){return $.getTweensOf(t,e)},getProperty:function(t,e,n,i){j(t)&&(t=ut(t)[0]);var s=Vt(t||{}).get,o=n?Hi:Xi;return n==="native"&&(n=""),t&&(e?o((rt[e]&&rt[e].get||s)(t,e,n,i)):function(a,c,f){return o((rt[a]&&rt[a].get||s)(t,a,c,f))})},quickSetter:function(t,e,n){if(t=ut(t),t.length>1){var i=t.map(function(u){return tt.quickSetter(u,e,n)}),s=i.length;return function(u){for(var d=s;d--;)i[d](u)}}t=t[0]||{};var o=rt[e],a=Vt(t),c=a.harness&&(a.harness.aliases||{})[e]||e,f=o?function(u){var d=new o;Jt._pt=0,d.init(t,n?u+n:u,Jt,0,[t]),d.render(1,d),Jt._pt&&Rn(1,Jt)}:a.set(t,c);return o?f:function(u){return f(t,c,n?u+n:u,a,1)}},quickTo:function(t,e,n){var i,s=tt.to(t,At((i={},i[e]="+=0.1",i.paused=!0,i),n||{})),o=function(c,f,u){return s.resetTo(e,c,f,u)};return o.tween=s,o},isTweening:function(t){return $.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Ft(t.ease,Xt.ease)),Ki(Xt,t||{})},config:function(t){return Ki(nt,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,i=t.plugins,s=t.defaults,o=t.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!rt[a]&&!it[a]&&fe(e+" effect requires "+a+" plugin.")}),Tn[e]=function(a,c,f){return n(ut(a),ct(c||{},s),f)},o&&(K.prototype[e]=function(a,c,f){return this.add(Tn[e](a,dt(c)?c:(f=c)&&{},this),f)})},registerEase:function(t,e){D[t]=Ft(e)},parseEase:function(t,e){return arguments.length?Ft(t,e):D},getById:function(t){return $.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var n=new K(t),i,s;for(n.smoothChildTiming=Q(t.smoothChildTiming),$.remove(n),n._dp=0,n._time=n._tTime=$._time,i=$._first;i;)s=i._next,(e||!(!i._dur&&i instanceof R&&i.vars.onComplete===i._targets[0]))&&pt(n,i,i._start-i._delay),i=s;return pt($,n,0),n},context:function(t,e){return t?new Dr(t,e):V},matchMedia:function(t){return new dl(t)},matchMediaRefresh:function(){return Lt.forEach(function(t){var e=t.conditions,n,i;for(i in e)e[i]&&(e[i]=!1,n=1);n&&t.revert()})||jn()},addEventListener:function(t,e){var n=qe[t]||(qe[t]=[]);~n.indexOf(e)||n.push(e)},removeEventListener:function(t,e){var n=qe[t],i=n&&n.indexOf(e);i>=0&&n.splice(i,1)},utils:{wrap:Wa,wrapYoyo:Ya,distribute:sr,random:ar,snap:or,normalize:qa,getUnit:H,clamp:Ra,splitColor:dr,toArray:ut,selector:vn,mapRange:cr,pipe:ja,unitize:Ua,interpolate:Ga,shuffle:rr},install:ji,effects:Tn,ticker:ot,updateRoot:K.updateRoot,plugins:rt,globalTimeline:$,core:{PropTween:J,globals:Ui,Tween:R,Timeline:K,Animation:xe,getCache:Vt,_removeLinkedListItem:Re,reverting:function(){return G},context:function(t){return t&&V&&(V.data.push(t),t._ctx=V),V},suppressOverwrites:function(t){return dn=t}}};Z("to,from,fromTo,delayedCall,set,killTweensOf",function(r){return We[r]=R[r]}),ot.add(K.updateRoot),Jt=We.to({},{duration:0});var _l=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n},pl=function(t,e){var n=t._targets,i,s,o;for(i in e)for(s=n.length;s--;)o=t._ptLookup[s][i],o&&(o=o.d)&&(o._pt&&(o=_l(o,i)),o&&o.modifier&&o.modifier(e[i],t,n[s],i))},Un=function(t,e){return{name:t,rawVars:1,init:function(i,s,o){o._onInit=function(a){var c,f;if(j(s)&&(c={},Z(s,function(u){return c[u]=1}),s=c),e){c={};for(f in s)c[f]=e(s[f]);s=c}pl(a,s)}}}},tt=We.registerPlugin({name:"attr",init:function(t,e,n,i,s){var o,a,c;this.tween=n;for(o in e)c=t.getAttribute(o)||"",a=this.add(t,"setAttribute",(c||0)+"",e[o],i,s,0,0,o),a.op=o,a.b=c,this._props.push(o)},render:function(t,e){for(var n=e._pt;n;)G?n.set(n.t,n.p,n.b,n):n.r(t,n.d),n=n._next}},{name:"endArray",init:function(t,e){for(var n=e.length;n--;)this.add(t,n,t[n]||0,e[n],0,0,0,0,0,1)}},Un("roundProps",On),Un("modifiers"),Un("snap",or))||We;R.version=K.version=tt.version="3.12.5",zi=1,mn()&&te(),D.Power0,D.Power1,D.Power2,D.Power3,D.Power4,D.Linear,D.Quad,D.Cubic,D.Quart,D.Quint,D.Strong,D.Elastic,D.Back,D.SteppedEase,D.Bounce,D.Sine,D.Expo,D.Circ;/*!
10
- * CSSPlugin 3.12.5
11
- * https://gsap.com
12
- *
13
- * Copyright 2008-2024, GreenSock. All rights reserved.
14
- * Subject to the terms at https://gsap.com/standard-license or for
15
- * Club GSAP members, the agreement issued with that membership.
16
- * @author: Jack Doyle, jack@greensock.com
17
- */var vr,vt,ee,qn,Rt,Or,Wn,ml=function(){return typeof window<"u"},kt={},zt=180/Math.PI,ne=Math.PI/180,ie=Math.atan2,Mr=1e8,Yn=/([A-Z])/g,gl=/(left|right|width|margin|padding|x)/i,yl=/[\s,\(]\S/,mt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Gn=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},xl=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},bl=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},kl=function(t,e){var n=e.s+e.c*t;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},Nr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Vr=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},wl=function(t,e,n){return t.style[e]=n},Sl=function(t,e,n){return t.style.setProperty(e,n)},Tl=function(t,e,n){return t._gsap[e]=n},Cl=function(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n},Pl=function(t,e,n,i,s){var o=t._gsap;o.scaleX=o.scaleY=n,o.renderTransform(s,o)},El=function(t,e,n,i,s){var o=t._gsap;o[e]=n,o.renderTransform(s,o)},F="transform",et=F+"Origin",Bl=function r(t,e){var n=this,i=this.target,s=i.style,o=i._gsap;if(t in kt&&s){if(this.tfm=this.tfm||{},t!=="transform")t=mt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return n.tfm[a]=wt(i,a)}):this.tfm[t]=o.x?o[t]:wt(i,t),t===et&&(this.tfm.zOrigin=o.zOrigin);else return mt.transform.split(",").forEach(function(a){return r.call(n,a,e)});if(this.props.indexOf(F)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(et,e,"")),t=F}(s||e)&&this.props.push(t,e,s[t])},Ar=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Dl=function(){var t=this.props,e=this.target,n=e.style,i=e._gsap,s,o;for(s=0;s<t.length;s+=3)t[s+1]?e[t[s]]=t[s+2]:t[s+2]?n[t[s]]=t[s+2]:n.removeProperty(t[s].substr(0,2)==="--"?t[s]:t[s].replace(Yn,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),s=Wn(),(!s||!s.isStart)&&!n[F]&&(Ar(n),i.zOrigin&&n[et]&&(n[et]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},$r=function(t,e){var n={target:t,props:[],revert:Dl,save:Bl};return t._gsap||tt.core.getCache(t),e&&e.split(",").forEach(function(i){return n.save(i)}),n},Fr,Xn=function(t,e){var n=vt.createElementNS?vt.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):vt.createElement(t);return n&&n.style?n:vt.createElement(t)},gt=function r(t,e,n){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(Yn,"-$1").toLowerCase())||i.getPropertyValue(e)||!n&&r(t,re(e)||e,1)||""},Ir="O,Moz,ms,Ms,Webkit".split(","),re=function(t,e,n){var i=e||Rt,s=i.style,o=5;if(t in s&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);o--&&!(Ir[o]+t in s););return o<0?null:(o===3?"ms":o>=0?Ir[o]:"")+t},Hn=function(){ml()&&window.document&&(vr=window,vt=vr.document,ee=vt.documentElement,Rt=Xn("div")||{style:{}},Xn("div"),F=re(F),et=F+"Origin",Rt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Fr=!!re("perspective"),Wn=tt.core.reverting,qn=1)},Kn=function r(t){var e=Xn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,i=this.nextSibling,s=this.style.cssText,o;if(ee.appendChild(e),e.appendChild(this),this.style.display="block",t)try{o=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=r}catch{}else this._gsapBBox&&(o=this._gsapBBox());return n&&(i?n.insertBefore(this,i):n.appendChild(this)),ee.removeChild(e),this.style.cssText=s,o},Lr=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},Rr=function(t){var e;try{e=t.getBBox()}catch{e=Kn.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Kn||(e=Kn.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+Lr(t,["x","cx","x1"])||0,y:+Lr(t,["y","cy","y1"])||0,width:0,height:0}:e},zr=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Rr(t))},jt=function(t,e){if(e){var n=t.style,i;e in kt&&e!==et&&(e=F),n.removeProperty?(i=e.substr(0,2),(i==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),n.removeProperty(i==="--"?e:e.replace(Yn,"-$1").toLowerCase())):n.removeAttribute(e)}},Ot=function(t,e,n,i,s,o){var a=new J(t._pt,e,n,0,1,o?Vr:Nr);return t._pt=a,a.b=i,a.e=s,t._props.push(n),a},jr={deg:1,rad:1,turn:1},vl={grid:1,flex:1},Mt=function r(t,e,n,i){var s=parseFloat(n)||0,o=(n+"").trim().substr((s+"").length)||"px",a=Rt.style,c=gl.test(e),f=t.tagName.toLowerCase()==="svg",u=(f?"client":"offset")+(c?"Width":"Height"),d=100,_=i==="px",m=i==="%",g,h,p,b;if(i===o||!s||jr[i]||jr[o])return s;if(o!=="px"&&!_&&(s=r(t,e,n,"px")),b=t.getCTM&&zr(t),(m||o==="%")&&(kt[e]||~e.indexOf("adius")))return g=b?t.getBBox()[c?"width":"height"]:t[u],L(m?s/g*d:s/100*g);if(a[c?"width":"height"]=d+(_?o:i),h=~e.indexOf("adius")||i==="em"&&t.appendChild&&!f?t:t.parentNode,b&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===vt||!h.appendChild)&&(h=vt.body),p=h._gsap,p&&m&&p.width&&c&&p.time===ot.time&&!p.uncache)return L(s/p.width*d);if(m&&(e==="height"||e==="width")){var y=t.style[e];t.style[e]=d+i,g=t[u],y?t.style[e]=y:jt(t,e)}else(m||o==="%")&&!vl[gt(h,"display")]&&(a.position=gt(t,"position")),h===t&&(a.position="static"),h.appendChild(Rt),g=Rt[u],h.removeChild(Rt),a.position="absolute";return c&&m&&(p=Vt(h),p.time=ot.time,p.width=h[u]),L(_?g*s/d:g&&s?d/g*s:0)},wt=function(t,e,n,i){var s;return qn||Hn(),e in mt&&e!=="transform"&&(e=mt[e],~e.indexOf(",")&&(e=e.split(",")[0])),kt[e]&&e!=="transform"?(s=we(t,i),s=e!=="transformOrigin"?s[e]:s.svg?s.origin:Ge(gt(t,et))+" "+s.zOrigin+"px"):(s=t.style[e],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=Ye[e]&&Ye[e](t,e,n)||gt(t,e)||Yi(t,e)||(e==="opacity"?1:0))),n&&!~(s+"").trim().indexOf(" ")?Mt(t,e,s,n)+n:s},Ol=function(t,e,n,i){if(!n||n==="none"){var s=re(e,t,1),o=s&&gt(t,s,1);o&&o!==n?(e=s,n=o):e==="borderColor"&&(n=gt(t,"borderTopColor"))}var a=new J(this._pt,t.style,e,0,1,Pr),c=0,f=0,u,d,_,m,g,h,p,b,y,x,k,w;if(a.b=n,a.e=i,n+="",i+="",i==="auto"&&(h=t.style[e],t.style[e]=i,i=gt(t,e)||i,h?t.style[e]=h:jt(t,e)),u=[n,i],mr(u),n=u[0],i=u[1],_=n.match(Ht)||[],w=i.match(Ht)||[],w.length){for(;d=Ht.exec(i);)p=d[0],y=i.substring(c,d.index),g?g=(g+1)%5:(y.substr(-5)==="rgba("||y.substr(-5)==="hsla(")&&(g=1),p!==(h=_[f++]||"")&&(m=parseFloat(h)||0,k=h.substr((m+"").length),p.charAt(1)==="="&&(p=Kt(m,p)+k),b=parseFloat(p),x=p.substr((b+"").length),c=Ht.lastIndex-x.length,x||(x=x||nt.units[e]||k,c===i.length&&(i+=x,a.e+=x)),k!==x&&(m=Mt(t,e,h,x)||0),a._pt={_next:a._pt,p:y||f===1?y:",",s:m,c:b-m,m:g&&g<4||e==="zIndex"?Math.round:0});a.c=c<i.length?i.substring(c,i.length):""}else a.r=e==="display"&&i==="none"?Vr:Nr;return Li.test(i)&&(a.e=0),this._pt=a,a},Ur={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ml=function(t){var e=t.split(" "),n=e[0],i=e[1]||"50%";return(n==="top"||n==="bottom"||i==="left"||i==="right")&&(t=n,n=i,i=t),e[0]=Ur[n]||n,e[1]=Ur[i]||i,e.join(" ")},Nl=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var n=e.t,i=n.style,s=e.u,o=n._gsap,a,c,f;if(s==="all"||s===!0)i.cssText="",c=1;else for(s=s.split(","),f=s.length;--f>-1;)a=s[f],kt[a]&&(c=1,a=a==="transformOrigin"?et:F),jt(n,a);c&&(jt(n,F),o&&(o.svg&&n.removeAttribute("transform"),we(n,1),o.uncache=1,Ar(i)))}},Ye={clearProps:function(t,e,n,i,s){if(s.data!=="isFromStart"){var o=t._pt=new J(t._pt,e,n,0,0,Nl);return o.u=i,o.pr=-10,o.tween=s,t._props.push(n),1}}},ke=[1,0,0,1,0,0],qr={},Wr=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Yr=function(t){var e=gt(t,F);return Wr(e)?ke:e.substr(7).match(Ii).map(L)},Qn=function(t,e){var n=t._gsap||Vt(t),i=t.style,s=Yr(t),o,a,c,f;return n.svg&&t.getAttribute("transform")?(c=t.transform.baseVal.consolidate().matrix,s=[c.a,c.b,c.c,c.d,c.e,c.f],s.join(",")==="1,0,0,1,0,0"?ke:s):(s===ke&&!t.offsetParent&&t!==ee&&!n.svg&&(c=i.display,i.display="block",o=t.parentNode,(!o||!t.offsetParent)&&(f=1,a=t.nextElementSibling,ee.appendChild(t)),s=Yr(t),c?i.display=c:jt(t,"display"),f&&(a?o.insertBefore(t,a):o?o.appendChild(t):ee.removeChild(t))),e&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Zn=function(t,e,n,i,s,o){var a=t._gsap,c=s||Qn(t,!0),f=a.xOrigin||0,u=a.yOrigin||0,d=a.xOffset||0,_=a.yOffset||0,m=c[0],g=c[1],h=c[2],p=c[3],b=c[4],y=c[5],x=e.split(" "),k=parseFloat(x[0])||0,w=parseFloat(x[1])||0,S,C,P,T;n?c!==ke&&(C=m*p-g*h)&&(P=k*(p/C)+w*(-h/C)+(h*y-p*b)/C,T=k*(-g/C)+w*(m/C)-(m*y-g*b)/C,k=P,w=T):(S=Rr(t),k=S.x+(~x[0].indexOf("%")?k/100*S.width:k),w=S.y+(~(x[1]||x[0]).indexOf("%")?w/100*S.height:w)),i||i!==!1&&a.smooth?(b=k-f,y=w-u,a.xOffset=d+(b*m+y*h)-b,a.yOffset=_+(b*g+y*p)-y):a.xOffset=a.yOffset=0,a.xOrigin=k,a.yOrigin=w,a.smooth=!!i,a.origin=e,a.originIsAbsolute=!!n,t.style[et]="0px 0px",o&&(Ot(o,a,"xOrigin",f,k),Ot(o,a,"yOrigin",u,w),Ot(o,a,"xOffset",d,a.xOffset),Ot(o,a,"yOffset",_,a.yOffset)),t.setAttribute("data-svg-origin",k+" "+w)},we=function(t,e){var n=t._gsap||new br(t);if("x"in n&&!e&&!n.uncache)return n;var i=t.style,s=n.scaleX<0,o="px",a="deg",c=getComputedStyle(t),f=gt(t,et)||"0",u,d,_,m,g,h,p,b,y,x,k,w,S,C,P,T,E,A,M,N,Y,q,z,W,ht,He,Te,Ce,Wt,Jr,St,Yt;return u=d=_=h=p=b=y=x=k=0,m=g=1,n.svg=!!(t.getCTM&&zr(t)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(i[F]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[F]!=="none"?c[F]:"")),i.scale=i.rotate=i.translate="none"),C=Qn(t,n.svg),n.svg&&(n.uncache?(ht=t.getBBox(),f=n.xOrigin-ht.x+"px "+(n.yOrigin-ht.y)+"px",W=""):W=!e&&t.getAttribute("data-svg-origin"),Zn(t,W||f,!!W||n.originIsAbsolute,n.smooth!==!1,C)),w=n.xOrigin||0,S=n.yOrigin||0,C!==ke&&(A=C[0],M=C[1],N=C[2],Y=C[3],u=q=C[4],d=z=C[5],C.length===6?(m=Math.sqrt(A*A+M*M),g=Math.sqrt(Y*Y+N*N),h=A||M?ie(M,A)*zt:0,y=N||Y?ie(N,Y)*zt+h:0,y&&(g*=Math.abs(Math.cos(y*ne))),n.svg&&(u-=w-(w*A+S*N),d-=S-(w*M+S*Y))):(Yt=C[6],Jr=C[7],Te=C[8],Ce=C[9],Wt=C[10],St=C[11],u=C[12],d=C[13],_=C[14],P=ie(Yt,Wt),p=P*zt,P&&(T=Math.cos(-P),E=Math.sin(-P),W=q*T+Te*E,ht=z*T+Ce*E,He=Yt*T+Wt*E,Te=q*-E+Te*T,Ce=z*-E+Ce*T,Wt=Yt*-E+Wt*T,St=Jr*-E+St*T,q=W,z=ht,Yt=He),P=ie(-N,Wt),b=P*zt,P&&(T=Math.cos(-P),E=Math.sin(-P),W=A*T-Te*E,ht=M*T-Ce*E,He=N*T-Wt*E,St=Y*E+St*T,A=W,M=ht,N=He),P=ie(M,A),h=P*zt,P&&(T=Math.cos(P),E=Math.sin(P),W=A*T+M*E,ht=q*T+z*E,M=M*T-A*E,z=z*T-q*E,A=W,q=ht),p&&Math.abs(p)+Math.abs(h)>359.9&&(p=h=0,b=180-b),m=L(Math.sqrt(A*A+M*M+N*N)),g=L(Math.sqrt(z*z+Yt*Yt)),P=ie(q,z),y=Math.abs(P)>2e-4?P*zt:0,k=St?1/(St<0?-St:St):0),n.svg&&(W=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!Wr(gt(t,F)),W&&t.setAttribute("transform",W))),Math.abs(y)>90&&Math.abs(y)<270&&(s?(m*=-1,y+=h<=0?180:-180,h+=h<=0?180:-180):(g*=-1,y+=y<=0?180:-180)),e=e||n.uncache,n.x=u-((n.xPercent=u&&(!e&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-u)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+o,n.y=d-((n.yPercent=d&&(!e&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-d)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+o,n.z=_+o,n.scaleX=L(m),n.scaleY=L(g),n.rotation=L(h)+a,n.rotationX=L(p)+a,n.rotationY=L(b)+a,n.skewX=y+a,n.skewY=x+a,n.transformPerspective=k+o,(n.zOrigin=parseFloat(f.split(" ")[2])||!e&&n.zOrigin||0)&&(i[et]=Ge(f)),n.xOffset=n.yOffset=0,n.force3D=nt.force3D,n.renderTransform=n.svg?Al:Fr?Gr:Vl,n.uncache=0,n},Ge=function(t){return(t=t.split(" "))[0]+" "+t[1]},Jn=function(t,e,n){var i=H(e);return L(parseFloat(e)+parseFloat(Mt(t,"x",n+"px",i)))+i},Vl=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Gr(t,e)},Ut="0deg",Se="0px",qt=") ",Gr=function(t,e){var n=e||this,i=n.xPercent,s=n.yPercent,o=n.x,a=n.y,c=n.z,f=n.rotation,u=n.rotationY,d=n.rotationX,_=n.skewX,m=n.skewY,g=n.scaleX,h=n.scaleY,p=n.transformPerspective,b=n.force3D,y=n.target,x=n.zOrigin,k="",w=b==="auto"&&t&&t!==1||b===!0;if(x&&(d!==Ut||u!==Ut)){var S=parseFloat(u)*ne,C=Math.sin(S),P=Math.cos(S),T;S=parseFloat(d)*ne,T=Math.cos(S),o=Jn(y,o,C*T*-x),a=Jn(y,a,-Math.sin(S)*-x),c=Jn(y,c,P*T*-x+x)}p!==Se&&(k+="perspective("+p+qt),(i||s)&&(k+="translate("+i+"%, "+s+"%) "),(w||o!==Se||a!==Se||c!==Se)&&(k+=c!==Se||w?"translate3d("+o+", "+a+", "+c+") ":"translate("+o+", "+a+qt),f!==Ut&&(k+="rotate("+f+qt),u!==Ut&&(k+="rotateY("+u+qt),d!==Ut&&(k+="rotateX("+d+qt),(_!==Ut||m!==Ut)&&(k+="skew("+_+", "+m+qt),(g!==1||h!==1)&&(k+="scale("+g+", "+h+qt),y.style[F]=k||"translate(0, 0)"},Al=function(t,e){var n=e||this,i=n.xPercent,s=n.yPercent,o=n.x,a=n.y,c=n.rotation,f=n.skewX,u=n.skewY,d=n.scaleX,_=n.scaleY,m=n.target,g=n.xOrigin,h=n.yOrigin,p=n.xOffset,b=n.yOffset,y=n.forceCSS,x=parseFloat(o),k=parseFloat(a),w,S,C,P,T;c=parseFloat(c),f=parseFloat(f),u=parseFloat(u),u&&(u=parseFloat(u),f+=u,c+=u),c||f?(c*=ne,f*=ne,w=Math.cos(c)*d,S=Math.sin(c)*d,C=Math.sin(c-f)*-_,P=Math.cos(c-f)*_,f&&(u*=ne,T=Math.tan(f-u),T=Math.sqrt(1+T*T),C*=T,P*=T,u&&(T=Math.tan(u),T=Math.sqrt(1+T*T),w*=T,S*=T)),w=L(w),S=L(S),C=L(C),P=L(P)):(w=d,P=_,S=C=0),(x&&!~(o+"").indexOf("px")||k&&!~(a+"").indexOf("px"))&&(x=Mt(m,"x",o,"px"),k=Mt(m,"y",a,"px")),(g||h||p||b)&&(x=L(x+g-(g*w+h*C)+p),k=L(k+h-(g*S+h*P)+b)),(i||s)&&(T=m.getBBox(),x=L(x+i/100*T.width),k=L(k+s/100*T.height)),T="matrix("+w+","+S+","+C+","+P+","+x+","+k+")",m.setAttribute("transform",T),y&&(m.style[F]=T)},$l=function(t,e,n,i,s){var o=360,a=j(s),c=parseFloat(s)*(a&&~s.indexOf("rad")?zt:1),f=c-i,u=i+f+"deg",d,_;return a&&(d=s.split("_")[1],d==="short"&&(f%=o,f!==f%(o/2)&&(f+=f<0?o:-o)),d==="cw"&&f<0?f=(f+o*Mr)%o-~~(f/o)*o:d==="ccw"&&f>0&&(f=(f-o*Mr)%o-~~(f/o)*o)),t._pt=_=new J(t._pt,e,n,i,f,xl),_.e=u,_.u="deg",t._props.push(n),_},Xr=function(t,e){for(var n in e)t[n]=e[n];return t},Fl=function(t,e,n){var i=Xr({},n._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=n.style,a,c,f,u,d,_,m,g;i.svg?(f=n.getAttribute("transform"),n.setAttribute("transform",""),o[F]=e,a=we(n,1),jt(n,F),n.setAttribute("transform",f)):(f=getComputedStyle(n)[F],o[F]=e,a=we(n,1),o[F]=f);for(c in kt)f=i[c],u=a[c],f!==u&&s.indexOf(c)<0&&(m=H(f),g=H(u),d=m!==g?Mt(n,c,f,g):parseFloat(f),_=parseFloat(u),t._pt=new J(t._pt,a,c,d,_-d,Gn),t._pt.u=g||0,t._props.push(c));Xr(a,i)};Z("padding,margin,Width,Radius",function(r,t){var e="Top",n="Right",i="Bottom",s="Left",o=(t<3?[e,n,i,s]:[e+s,e+n,i+n,i+s]).map(function(a){return t<2?r+a:"border"+a+r});Ye[t>1?"border"+r:r]=function(a,c,f,u,d){var _,m;if(arguments.length<4)return _=o.map(function(g){return wt(a,g,f)}),m=_.join(" "),m.split(_[0]).length===5?_[0]:m;_=(u+"").split(" "),m={},o.forEach(function(g,h){return m[g]=_[h]=_[h]||_[(h-1)/2|0]}),a.init(c,m,d)}});var Hr={name:"css",register:Hn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,i,s){var o=this._props,a=t.style,c=n.vars.startAt,f,u,d,_,m,g,h,p,b,y,x,k,w,S,C,P;qn||Hn(),this.styles=this.styles||$r(t),P=this.styles.props,this.tween=n;for(h in e)if(h!=="autoRound"&&(u=e[h],!(rt[h]&&kr(h,e,n,i,t,s)))){if(m=typeof u,g=Ye[h],m==="function"&&(u=u.call(n,i,t,s),m=typeof u),m==="string"&&~u.indexOf("random(")&&(u=pe(u)),g)g(this,t,h,u,n)&&(C=1);else if(h.substr(0,2)==="--")f=(getComputedStyle(t).getPropertyValue(h)+"").trim(),u+="",Bt.lastIndex=0,Bt.test(f)||(p=H(f),b=H(u)),b?p!==b&&(f=Mt(t,h,f,b)+b):p&&(u+=p),this.add(a,"setProperty",f,u,i,s,0,0,h),o.push(h),P.push(h,0,a[h]);else if(m!=="undefined"){if(c&&h in c?(f=typeof c[h]=="function"?c[h].call(n,i,t,s):c[h],j(f)&&~f.indexOf("random(")&&(f=pe(f)),H(f+"")||f==="auto"||(f+=nt.units[h]||H(wt(t,h))||""),(f+"").charAt(1)==="="&&(f=wt(t,h))):f=wt(t,h),_=parseFloat(f),y=m==="string"&&u.charAt(1)==="="&&u.substr(0,2),y&&(u=u.substr(2)),d=parseFloat(u),h in mt&&(h==="autoAlpha"&&(_===1&&wt(t,"visibility")==="hidden"&&d&&(_=0),P.push("visibility",0,a.visibility),Ot(this,a,"visibility",_?"inherit":"hidden",d?"inherit":"hidden",!d)),h!=="scale"&&h!=="transform"&&(h=mt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),x=h in kt,x){if(this.styles.save(h),k||(w=t._gsap,w.renderTransform&&!e.parseTransform||we(t,e.parseTransform),S=e.smoothOrigin!==!1&&w.smooth,k=this._pt=new J(this._pt,a,F,0,1,w.renderTransform,w,0,-1),k.dep=1),h==="scale")this._pt=new J(this._pt,w,"scaleY",w.scaleY,(y?Kt(w.scaleY,y+d):d)-w.scaleY||0,Gn),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){P.push(et,0,a[et]),u=Ml(u),w.svg?Zn(t,u,0,S,0,this):(b=parseFloat(u.split(" ")[2])||0,b!==w.zOrigin&&Ot(this,w,"zOrigin",w.zOrigin,b),Ot(this,a,h,Ge(f),Ge(u)));continue}else if(h==="svgOrigin"){Zn(t,u,1,S,0,this);continue}else if(h in qr){$l(this,w,h,_,y?Kt(_,y+u):u);continue}else if(h==="smoothOrigin"){Ot(this,w,"smooth",w.smooth,u);continue}else if(h==="force3D"){w[h]=u;continue}else if(h==="transform"){Fl(this,u,t);continue}}else h in a||(h=re(h)||h);if(x||(d||d===0)&&(_||_===0)&&!yl.test(u)&&h in a)p=(f+"").substr((_+"").length),d||(d=0),b=H(u)||(h in nt.units?nt.units[h]:p),p!==b&&(_=Mt(t,h,f,b)),this._pt=new J(this._pt,x?w:a,h,_,(y?Kt(_,y+d):d)-_,!x&&(b==="px"||h==="zIndex")&&e.autoRound!==!1?kl:Gn),this._pt.u=b||0,p!==b&&b!=="%"&&(this._pt.b=f,this._pt.r=bl);else if(h in a)Ol.call(this,t,h,f,y?y+u:u);else if(h in t)this.add(t,h,f||t[h],y?y+u:u,i,s);else if(h!=="parseTransform"){kn(h,u);continue}x||(h in a?P.push(h,0,a[h]):P.push(h,1,f||t[h])),o.push(h)}}C&&Er(this)},render:function(t,e){if(e.tween._time||!Wn())for(var n=e._pt;n;)n.r(t,n.d),n=n._next;else e.styles.revert()},get:wt,aliases:mt,getSetter:function(t,e,n){var i=mt[e];return i&&i.indexOf(",")<0&&(e=i),e in kt&&e!==et&&(t._gsap.x||wt(t,"x"))?n&&Or===n?e==="scale"?Cl:Tl:(Or=n||{})&&(e==="scale"?Pl:El):t.style&&!pn(t.style[e])?wl:~e.indexOf("-")?Sl:Ln(t,e)},core:{_removeProperty:jt,_getMatrix:Qn}};tt.utils.checkPrefix=re,tt.core.getStyleSaver=$r,function(r,t,e,n){var i=Z(r+","+t+","+e,function(s){kt[s]=1});Z(t,function(s){nt.units[s]="deg",qr[s]=1}),mt[i[13]]=r+","+t,Z(n,function(s){var o=s.split(":");mt[o[1]]=i[o[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),Z("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(r){nt.units[r]="px"}),tt.registerPlugin(Hr);var Xe=tt.registerPlugin(Hr)||tt;Xe.core.Tween;const Il=l.ref(""),ti=()=>({text:Il}),Ll={id:"big-bang-button-animation"},Rl=["i","textContent"],zl={name:"DBigBangButtonAnimation"},jl=l.defineComponent({...zl,setup(r){const t={first:"M 0 0 C -489.471 -116.5 -526.692 -193.268 -563.913 -311.911",last:"M 0 0 C 317.761 171.963 466.645 199.879 680.666 171.963",intermediate:["M 0 0 C 36.277 125.437 19.992 358.068 -49.797 413.9","M 0 0 C 52.561 -69.974 71.171 -118.827 64.192 -446.837","M 0 0 C -3.271 137.068 -26.534 395.289 33.95 439.489"]},{text:e}=ti(),n=l.computed(()=>e.value.split(""));let i;l.watch(e,c=>{clearTimeout(i),c&&(i=setTimeout(()=>e.value="",1500))});function s(c){return c===0?t.first:c===n.value.length-1?t.last:t.intermediate[Math.floor(Math.random()*t.intermediate.length)]}function o(c,f){Xe.fromTo(c,{opacity:0,rotateX:-90},{opacity:1,rotateX:0,rotate:-12+Math.random()*24,delay:Math.random()*.3,duration:.2,onComplete:f})}function a(c,f){const u=+Xe.getProperty(c,"i");Xe.to(c,{motionPath:{path:s(u)},opacity:0,rotate:-180+Math.random()*360,duration:.2,onComplete:f})}return(c,f)=>(l.openBlock(),l.createElementBlock("div",Ll,[l.createVNode(l.TransitionGroup,{tag:"div",class:"bbb__text-container",onEnter:o,onLeave:a},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.value,(u,d)=>(l.openBlock(),l.createElementBlock("span",{key:d,i:d,textContent:l.toDisplayString(u)},null,8,Rl))),128))]),_:1})]))}}),Ul=["textContent"],ql={name:"DBigBangButton"},Wl=l.defineComponent({...ql,props:{text:{type:String,required:!0},tag:{type:String,default:"button"},to:{type:String,default:""}},emits:["click"],setup(r,{emit:t}){const e=t,n=r,{text:i}=ti(),{linkComponent:s}=Vi(n),o=l.computed(()=>n.text.split(""));function a(c){i.value=n.text,e("click",c)}return(c,f)=>(l.openBlock(),l.createBlock(l.resolveDynamicComponent(l.unref(s)),{to:r.to,class:"big-bang-button",onClick:a},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(o.value,(u,d)=>(l.openBlock(),l.createElementBlock("span",{key:d,textContent:l.toDisplayString(u)},null,8,Ul))),128))]),_:1},8,["to"]))}}),Yl={name:"DCard",components:{DWrapShape:at}},Gl=l.defineComponent({...Yl,props:{mode:{type:String,default:"default"},dense:Boolean},setup(r){return(t,e)=>(l.openBlock(),l.createBlock(at,{"shape-class":{card__bg:!r.dense,"card__bg--dense":r.dense},class:l.normalizeClass({"card--homepage-story force-light":r.mode==="homepage-story","card--homepage-skills force-light":r.mode==="homepage-skills",card:r.mode==="default"})},{default:l.withCtx(()=>[l.createElementVNode("div",{class:l.normalizeClass({card__content:!r.dense,"card__content--dense":r.dense})},[l.renderSlot(t.$slots,"default")],2)]),_:3},8,["shape-class","class"]))}}),Xl={name:"DCardTitle",components:{DWrapShape:at}},Hl={class:"card__title"},Kl={class:"card__title__content__text"},Ql={class:"ml-2 print:text-neutral-600"};function Zl(r,t,e,n,i,s){const o=l.resolveComponent("DWrapShape");return l.openBlock(),l.createElementBlock("div",Hl,[l.createVNode(o,{class:"card__title__content","shape-class":"card__title__content__shape"},{default:l.withCtx(()=>[l.createElementVNode("h3",Kl,[l.renderSlot(r.$slots,"default")])]),_:3}),l.createElementVNode("span",Ql,[l.renderSlot(r.$slots,"extra")])])}const Jl=Ke(Xl,[["render",Zl]]),tc=l.createElementVNode("div",{class:"d-alert__outline"},null,-1),ec={class:"d-alert__body"},nc={viewBox:"0 0 1067 1067",xmlns:"http://www.w3.org/2000/svg",class:"d-alert__sign"},ic={key:0},rc=[l.createElementVNode("path",{d:"M202.481,1025.68l427.138,-769.216l171.992,106.943l-461.057,689.584l-138.073,-27.311Z"},null,-1),l.createElementVNode("path",{d:"M832.695,310.003l-170.011,-113.247l92.566,-170.289l218.937,122.443l-141.492,161.093Z"},null,-1)],sc={key:1},oc=[l.createElementVNode("path",{d:"M289.17,836.982l100.67,63.007l-27.42,149.27l-200.047,-83.328l126.797,-128.949Z"},null,-1),l.createElementVNode("path",{d:"M335.818,766.179l95.499,91.347l134.944,-217.987l249.128,-6.228l174.389,-139.096l14.533,-236.672l-170.237,-224.215l-170.238,-8.304l-242.9,124.564l114.184,64.358l178.542,-41.522l161.933,130.793l-68.51,205.53l-203.455,-53.978l-178.542,70.587l-89.27,240.823Z"},null,-1)],ac={key:2},lc=[l.createElementVNode("path",{d:"M304.988,722.034l335.792,-712.747l299.877,30.543l-514.204,743.146l-121.465,-60.942Z"},null,-1),l.createElementVNode("path",{d:"M253.974,839.059l148.42,40.169l-118.767,182.487l-131.537,-66.719l101.884,-155.937Z"},null,-1)],cc=l.defineComponent({__name:"DAlert",props:{type:{type:String,default:"info"}},setup(r){return(t,e)=>(l.openBlock(),l.createBlock(at,{class:l.normalizeClass(["d-alert",{"d-alert--info":r.type==="info","d-alert--question":r.type==="question","d-alert--warning":r.type==="warning"}]),"shape-class":"d-alert__shape"},{"bg-overlay":l.withCtx(()=>[tc]),default:l.withCtx(()=>[l.createElementVNode("div",ec,[l.renderSlot(t.$slots,"default"),(l.openBlock(),l.createElementBlock("svg",nc,[r.type==="info"?(l.openBlock(),l.createElementBlock("g",ic,rc)):l.createCommentVNode("",!0),r.type==="question"?(l.openBlock(),l.createElementBlock("g",sc,oc)):l.createCommentVNode("",!0),r.type==="warning"?(l.openBlock(),l.createElementBlock("g",ac,lc)):l.createCommentVNode("",!0)]))])]),_:3},8,["class"]))}}),fc=l.createElementVNode("div",{class:"d-blockquote__outline"},null,-1),uc={class:"d-blockquote__body"},hc=l.defineComponent({__name:"DQuote",props:{direction:{type:String,default:"right"}},setup(r){return(t,e)=>(l.openBlock(),l.createBlock(at,{tag:"blockquote",class:l.normalizeClass(["d-blockquote",{"d-blockquote--left":r.direction==="left","d-blockquote--right":r.direction==="right"}]),"shape-class":"d-blockquote__shape"},{"bg-overlay":l.withCtx(()=>[fc]),default:l.withCtx(()=>[l.createElementVNode("div",uc,[l.renderSlot(t.$slots,"default")])]),_:3},8,["class"]))}}),dc={name:"DActionsFan",components:{DWrapShape:at,DBtn:yt}},_c=l.defineComponent({...dc,props:{actions:{type:Array,default:()=>[]},side:{type:String,default:"left"},filterClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(r){return(t,e)=>(l.openBlock(),l.createBlock(l.TransitionGroup,{name:"actions",tag:"ul",style:l.normalizeStyle({padding:`${Math.min(r.actions.length*2,15)}rem 0 ${Math.min(r.actions.length*3,15)}rem`})},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(r.actions,(n,i)=>(l.openBlock(),l.createBlock(at,{key:n.title,tag:"li",class:l.normalizeClass(["d-actions-fan__list-item",{[n.class??""]:!0,"d-actions-fan--right__list-item":r.side==="right","d-actions-fan--left__list-item":r.side==="left"}]),"filter-class":r.filterClass,style:l.normalizeStyle({...n.style,"--tw-rotate":`${r.side==="left"?12-i*18:-12+i*18}deg`}),"shape-class":{"d-actions-fan__list-item__shape":!0,[n.shapeClass??""]:!0,"d-actions-fan--right__list-item__shape":r.side==="right","d-actions-fan--left__list-item__shape":r.side==="left"},"shape-style":n.shapeStyle},{default:l.withCtx(()=>[l.createElementVNode("div",{class:l.normalizeClass(["d-actions-fan__list-item__body",{"d-actions-fan--right__list-item__body":r.side==="right"}])},[l.createVNode(yt,l.mergeProps({ref_for:!0},n.attrs,{tag:"button","no-passive-highlight":"",onClick:s=>t.$emit("actionChoose",n.emit),onMouseenter:s=>t.$emit("actionFocus",n.emit),onTouchstart:s=>t.$emit("actionFocus",n.emit),onFocusin:s=>t.$emit("actionFocus",n.emit),onMouseleave:s=>t.$emit("actionUnfocus",n.emit),onTouchend:s=>t.$emit("actionUnfocus",n.emit),onFocusout:s=>t.$emit("actionUnfocus",n.emit)}),{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(n.title),1)]),_:2},1040,["onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])],2)]),_:2},1032,["filter-class","class","style","shape-class","shape-style"]))),128))]),_:1},8,["style"]))}}),pc={class:"d-actions-list__body"},mc={class:"d-actions-list__header"},gc={name:"DActionsList",components:{DWrapFocusHighlight:ce,DWrapShape:at}},yc=l.defineComponent({...gc,props:{actions:{type:Array,default:()=>[]},listClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(r){function t(e){var n;return(n=e.attrs)!=null&&n.highlightVariant?e.attrs.highlightVariant:"negative-list-item"}return(e,n)=>(l.openBlock(),l.createBlock(at,{"shape-class":"d-actions-list__shape"},{default:l.withCtx(()=>[l.createElementVNode("div",pc,[l.createElementVNode("div",mc,[l.renderSlot(e.$slots,"header")]),l.createVNode(l.TransitionGroup,{name:"actions",tag:"ul",class:l.normalizeClass(["d-actions-list__list",r.listClass])},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(r.actions,i=>(l.openBlock(),l.createElementBlock("li",{key:i.title},[l.createVNode(ce,l.mergeProps({ref_for:!0},i.attrs,{tag:"button",variant:t(i),"no-passive-link":"",onClick:s=>e.$emit("actionChoose",i.emit),onMouseenter:s=>e.$emit("actionFocus",i.emit),onTouchstart:s=>e.$emit("actionFocus",i.emit),onFocusin:s=>e.$emit("actionFocus",i.emit),onMouseleave:s=>e.$emit("actionUnfocus",i.emit),onTouchend:s=>e.$emit("actionUnfocus",i.emit),onFocusout:s=>e.$emit("actionUnfocus",i.emit)}),{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(i.title),1)]),_:2},1040,["variant","onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])]))),128))]),_:1},8,["class"])])]),_:3}))}}),xc={class:"mbg__relative-container"},bc={class:"mbg__layer"},kc={class:"mbg__content"},wc={name:"DWrapBackground"},Sc=l.defineComponent({...wc,props:{overlayClass:{type:[String,Object],default:""},overlayStyle:{type:Object,default:()=>{}},dotsClass:{type:[String,Object],default:""},dotsStyle:{type:Object,default:()=>{}},dots:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(r){return(t,e)=>(l.openBlock(),l.createBlock(l.resolveDynamicComponent(r.tag),{class:"mbg__main-container"},{default:l.withCtx(()=>[l.createElementVNode("div",xc,[l.createElementVNode("div",{class:l.normalizeClass(["mbg__layer",r.overlayClass]),style:l.normalizeStyle(r.overlayStyle)},null,6),l.createElementVNode("div",bc,[l.renderSlot(t.$slots,"svg")]),r.dots?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(["mbg__layer mbg__dots",r.dotsClass]),style:l.normalizeStyle(r.dotsStyle)},null,6)):l.createCommentVNode("",!0),l.createElementVNode("div",kc,[l.renderSlot(t.$slots,"default")])])]),_:3}))}});function Kr(r,t={}){return{top:()=>{var e;return(((e=r.value)==null?void 0:e.getBoundingClientRect().top)??0)+window.scrollY+(t.y?t.y():0)},bottom:()=>{var e;return(((e=r.value)==null?void 0:e.getBoundingClientRect().bottom)??0)+window.scrollY+(t.y?t.y():0)},right:()=>{var e;return(((e=r.value)==null?void 0:e.getBoundingClientRect().right)??0)+window.scrollX+(t.x?t.x():0)},left:()=>{var e;return(((e=r.value)==null?void 0:e.getBoundingClientRect().left)??0)+window.scrollX+(t.x?t.x():0)}}}function Tc(r){const t=Kr(r);return{top:t.top(),bottom:t.bottom(),right:t.right(),left:t.left()}}function ei(r){return r.map((t,e,n)=>{const i=n.reduce((o,a,c)=>(c>e?o.push(o.at(-1)):o.push(a.left),o),[]);return[...n.reduce((o,a,c)=>(c>e?o.push(o.at(-1)):o.push(a.right),o),[]),...i.reverse()]})}function Qr(r){const t=ei(r),e=t.length,n=t[0].length,i=[];for(let s=0;s<n;s++){const o=[];for(let a=0;a<e;a++)o.push(t[a][s]);i.push(o)}return i}function Cc(r,t,e,n){const i=Qr(r);for(const s of i){const o=t.createSVGPoint();e.points.appendItem(o),n(o,s)}}function Pc(r,t,e){const n=ei(r).at(-1);if(n)for(const i of n){const s=t.createSVGPoint();s.x=i.x,s.y=i.y,e.points.appendItem(s)}}function ni(r){if(r.length!==2)throw new Error("Array should contain 2 numbers in order to be translated into coords");return{x:r[0],y:r[1]}}function Zr(r){if(r.length!==2)throw new Error("Array should contain 2 elements in order to be translated into LineEdge");return{left:ni(r[0]),right:ni(r[1])}}function Ec(r){return r.map(Zr)}B.DActionsFan=_c,B.DActionsList=yc,B.DAlert=cc,B.DAnimationAccordion=pa,B.DAnimationFloatingLetter=ga,B.DAnimationHypnosis=ka,B.DAnimationSpinner=Sa,B.DBigBangButton=Wl,B.DBigBangButtonAnimation=jl,B.DBtn=yt,B.DCard=Gl,B.DCardTitle=Jl,B.DChip=is,B.DPagination=yo,B.DQuote=hc,B.DStats=la,B.DWrapBackground=Sc,B.DWrapFocusHighlight=ce,B.DWrapShape=at,B.applyLinePerPointAnimation=Cc,B.applyStaticPoints=Pc,B.createCoordsFromArray=ni,B.createLineEdgeFromArray=Zr,B.createLineFromArray=Ec,B.generatePolygonLineKeyframes=ei,B.generatePolygonPointsKeyframes=Qr,B.getAbsoluteBoundings=Tc,B.getAbsoluteBoundingsGetters=Kr,B.getLinkToPaginatedPage=Mi,B.useDBigBangButtonUtils=ti,B.useDPaginationUtils=Ni,Object.defineProperty(B,Symbol.toStringTag,{value:"Module"})});
1
+ (function(h,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("gsap")):typeof define=="function"&&define.amd?define(["exports","vue","gsap"],e):(h=typeof globalThis<"u"?globalThis:h||self,e(h.EspritDesign={},h.Vue,h.gsap))})(this,function(h,e,G){"use strict";const Qt={name:"DChip"},K=(t,n)=>{const o=t.__vccOpts||t;for(const[i,s]of n)o[i]=s;return o},Zt={class:"d-chip"};function Xt(t,n,o,i,s,r){return e.openBlock(),e.createElementBlock("span",Zt,[e.renderSlot(t.$slots,"default")])}const Jt=K(Qt,[["render",Xt]]),D=/^[a-z0-9]+(-[a-z0-9]+)*$/,A=(t,n,o,i="")=>{const s=t.split(":");if(t.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;i=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const l=s.pop(),c=s.pop(),d={provider:s.length>0?s[0]:i,prefix:c,name:l};return n&&!j(d)?null:d}const r=s[0],a=r.split("-");if(a.length>1){const l={provider:i,prefix:a.shift(),name:a.join("-")};return n&&!j(l)?null:l}if(o&&i===""){const l={provider:i,prefix:"",name:r};return n&&!j(l,o)?null:l}return null},j=(t,n)=>t?!!((t.provider===""||t.provider.match(D))&&(n&&t.prefix===""||t.prefix.match(D))&&t.name.match(D)):!1,mt=Object.freeze({left:0,top:0,width:16,height:16}),O=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),z=Object.freeze({...mt,...O}),Q=Object.freeze({...z,body:"",hidden:!1});function Yt(t,n){const o={};!t.hFlip!=!n.hFlip&&(o.hFlip=!0),!t.vFlip!=!n.vFlip&&(o.vFlip=!0);const i=((t.rotate||0)+(n.rotate||0))%4;return i&&(o.rotate=i),o}function ht(t,n){const o=Yt(t,n);for(const i in Q)i in O?i in t&&!(i in o)&&(o[i]=O[i]):i in n?o[i]=n[i]:i in t&&(o[i]=t[i]);return o}function vt(t,n){const o=t.icons,i=t.aliases||Object.create(null),s=Object.create(null);function r(a){if(o[a])return s[a]=[];if(!(a in s)){s[a]=null;const l=i[a]&&i[a].parent,c=l&&r(l);c&&(s[a]=[l].concat(c))}return s[a]}return Object.keys(o).concat(Object.keys(i)).forEach(r),s}function te(t,n,o){const i=t.icons,s=t.aliases||Object.create(null);let r={};function a(l){r=ht(i[l]||s[l],r)}return a(n),o.forEach(a),ht(t,r)}function pt(t,n){const o=[];if(typeof t!="object"||typeof t.icons!="object")return o;t.not_found instanceof Array&&t.not_found.forEach(s=>{n(s,null),o.push(s)});const i=vt(t);for(const s in i){const r=i[s];r&&(n(s,te(t,s,r)),o.push(s))}return o}const ee={provider:"",aliases:{},not_found:{},...mt};function Z(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function gt(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!Z(t,ee))return null;const o=n.icons;for(const s in o){const r=o[s];if(!s.match(D)||typeof r.body!="string"||!Z(r,Q))return null}const i=n.aliases||Object.create(null);for(const s in i){const r=i[s],a=r.parent;if(!s.match(D)||typeof a!="string"||!o[a]&&!i[a]||!Z(r,Q))return null}return n}const _t=Object.create(null);function ne(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function N(t,n){const o=_t[t]||(_t[t]=Object.create(null));return o[n]||(o[n]=ne(t,n))}function X(t,n){return gt(n)?pt(n,(o,i)=>{i?t.icons[o]=i:t.missing.add(o)}):[]}function oe(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let T=!1;function yt(t){return typeof t=="boolean"&&(T=t),T}function se(t){const n=typeof t=="string"?A(t,!0,T):t;if(n){const o=N(n.provider,n.prefix),i=n.name;return o.icons[i]||(o.missing.has(i)?null:void 0)}}function ie(t,n){const o=A(t,!0,T);if(!o)return!1;const i=N(o.provider,o.prefix);return oe(i,o.name,n)}function re(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),T&&!n&&!t.prefix){let s=!1;return gt(t)&&(t.prefix="",pt(t,(r,a)=>{a&&ie(r,a)&&(s=!0)})),s}const o=t.prefix;if(!j({provider:n,prefix:o,name:"a"}))return!1;const i=N(n,o);return!!X(i,t)}const kt=Object.freeze({width:null,height:null}),bt=Object.freeze({...kt,...O}),ae=/(-?[0-9.]*[0-9]+[0-9.]*)/g,le=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ct(t,n,o){if(n===1)return t;if(o=o||100,typeof t=="number")return Math.ceil(t*n*o)/o;if(typeof t!="string")return t;const i=t.split(ae);if(i===null||!i.length)return t;const s=[];let r=i.shift(),a=le.test(r);for(;;){if(a){const l=parseFloat(r);isNaN(l)?s.push(r):s.push(Math.ceil(l*n*o)/o)}else s.push(r);if(r=i.shift(),r===void 0)return s.join("");a=!a}}function ce(t,n="defs"){let o="";const i=t.indexOf("<"+n);for(;i>=0;){const s=t.indexOf(">",i),r=t.indexOf("</"+n);if(s===-1||r===-1)break;const a=t.indexOf(">",r);if(a===-1)break;o+=t.slice(s+1,r).trim(),t=t.slice(0,i).trim()+t.slice(a+1)}return{defs:o,content:t}}function de(t,n){return t?"<defs>"+t+"</defs>"+n:n}function fe(t,n,o){const i=ce(t);return de(i.defs,n+i.content+o)}const ue=t=>t==="unset"||t==="undefined"||t==="none";function me(t,n){const o={...z,...t},i={...bt,...n},s={left:o.left,top:o.top,width:o.width,height:o.height};let r=o.body;[o,i].forEach(g=>{const f=[],B=g.hFlip,w=g.vFlip;let _=g.rotate;B?w?_+=2:(f.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),f.push("scale(-1 1)"),s.top=s.left=0):w&&(f.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),f.push("scale(1 -1)"),s.top=s.left=0);let b;switch(_<0&&(_-=Math.floor(_/4)*4),_=_%4,_){case 1:b=s.height/2+s.top,f.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:f.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:b=s.width/2+s.left,f.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}_%2===1&&(s.left!==s.top&&(b=s.left,s.left=s.top,s.top=b),s.width!==s.height&&(b=s.width,s.width=s.height,s.height=b)),f.length&&(r=fe(r,'<g transform="'+f.join(" ")+'">',"</g>"))});const a=i.width,l=i.height,c=s.width,d=s.height;let u,m;a===null?(m=l===null?"1em":l==="auto"?d:l,u=Ct(m,c/d)):(u=a==="auto"?c:a,m=l===null?Ct(u,d/c):l==="auto"?d:l);const p={},k=(g,f)=>{ue(f)||(p[g]=f.toString())};k("width",u),k("height",m);const C=[s.left,s.top,c,d];return p.viewBox=C.join(" "),{attributes:p,viewBox:C,body:r}}const he=/\sid="(\S+)"/g,pe="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ge=0;function _e(t,n=pe){const o=[];let i;for(;i=he.exec(t);)o.push(i[1]);if(!o.length)return t;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(r=>{const a=typeof n=="function"?n(r):n+(ge++).toString(),l=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+a+s+"$3")}),t=t.replace(new RegExp(s,"g"),""),t}const J=Object.create(null);function ye(t,n){J[t]=n}function Y(t){return J[t]||J[""]}function v(t){let n;if(typeof t.resources=="string")n=[t.resources];else if(n=t.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const tt=Object.create(null),I=["https://api.simplesvg.com","https://api.unisvg.com"],q=[];for(;I.length>0;)I.length===1||Math.random()>.5?q.push(I.shift()):q.push(I.pop());tt[""]=v({resources:["https://api.iconify.design"].concat(q)});function ke(t,n){const o=v(n);return o===null?!1:(tt[t]=o,!0)}function et(t){return tt[t]}let wt=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function be(t,n){const o=et(t);if(!o)return 0;let i;if(!o.maxURL)i=0;else{let s=0;o.resources.forEach(a=>{s=Math.max(s,a.length)});const r=n+".json?icons=";i=o.maxURL-s-o.path.length-r.length}return i}function Ce(t){return t===404}const we=(t,n,o)=>{const i=[],s=be(t,n),r="icons";let a={type:r,provider:t,prefix:n,icons:[]},l=0;return o.forEach((c,d)=>{l+=c.length+1,l>=s&&d>0&&(i.push(a),a={type:r,provider:t,prefix:n,icons:[]},l=c.length),a.icons.push(c)}),i.push(a),i};function Se(t){if(typeof t=="string"){const n=et(t);if(n)return n.path}return"/"}const Be={prepare:we,send:(t,n,o)=>{if(!wt){o("abort",424);return}let i=Se(n.provider);switch(n.type){case"icons":{const r=n.prefix,l=n.icons.join(","),c=new URLSearchParams({icons:l});i+=r+".json?"+c.toString();break}case"custom":{const r=n.uri;i+=r.slice(0,1)==="/"?r.slice(1):r;break}default:o("abort",400);return}let s=503;wt(t+i).then(r=>{const a=r.status;if(a!==200){setTimeout(()=>{o(Ce(a)?"abort":"next",a)});return}return s=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?o("abort",r):o("next",s)});return}setTimeout(()=>{o("success",r)})}).catch(()=>{o("next",s)})}};function Ee(t){const n={loaded:[],missing:[],pending:[]},o=Object.create(null);t.sort((s,r)=>s.provider!==r.provider?s.provider.localeCompare(r.provider):s.prefix!==r.prefix?s.prefix.localeCompare(r.prefix):s.name.localeCompare(r.name));let i={provider:"",prefix:"",name:""};return t.forEach(s=>{if(i.name===s.name&&i.prefix===s.prefix&&i.provider===s.provider)return;i=s;const r=s.provider,a=s.prefix,l=s.name,c=o[r]||(o[r]=Object.create(null)),d=c[a]||(c[a]=N(r,a));let u;l in d.icons?u=n.loaded:a===""||d.missing.has(l)?u=n.missing:u=n.pending;const m={provider:r,prefix:a,name:l};u.push(m)}),n}function St(t,n){t.forEach(o=>{const i=o.loaderCallbacks;i&&(o.loaderCallbacks=i.filter(s=>s.id!==n))})}function $e(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const n=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!n.length)return;let o=!1;const i=t.provider,s=t.prefix;n.forEach(r=>{const a=r.icons,l=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==s)return!0;const d=c.name;if(t.icons[d])a.loaded.push({provider:i,prefix:s,name:d});else if(t.missing.has(d))a.missing.push({provider:i,prefix:s,name:d});else return o=!0,!0;return!1}),a.pending.length!==l&&(o||St([t],r.id),r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort))})}))}let xe=0;function Ne(t,n,o){const i=xe++,s=St.bind(null,o,i);if(!n.pending.length)return s;const r={id:i,icons:n,callback:t,abort:s};return o.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(r)}),s}function Ve(t,n=!0,o=!1){const i=[];return t.forEach(s=>{const r=typeof s=="string"?A(s,n,o):s;r&&i.push(r)}),i}var Pe={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function De(t,n,o,i){const s=t.resources.length,r=t.random?Math.floor(Math.random()*s):t.index;let a;if(t.random){let y=t.resources.slice(0);for(a=[];y.length>1;){const E=Math.floor(Math.random()*y.length);a.push(y[E]),y=y.slice(0,E).concat(y.slice(E+1))}a=a.concat(y)}else a=t.resources.slice(r).concat(t.resources.slice(0,r));const l=Date.now();let c="pending",d=0,u,m=null,p=[],k=[];typeof i=="function"&&k.push(i);function C(){m&&(clearTimeout(m),m=null)}function g(){c==="pending"&&(c="aborted"),C(),p.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),p=[]}function f(y,E){E&&(k=[]),typeof y=="function"&&k.push(y)}function B(){return{startTime:l,payload:n,status:c,queriesSent:d,queriesPending:p.length,subscribe:f,abort:g}}function w(){c="failed",k.forEach(y=>{y(void 0,u)})}function _(){p.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),p=[]}function b(y,E,M){const H=E!=="success";switch(p=p.filter(V=>V!==y),c){case"pending":break;case"failed":if(H||!t.dataAfterTimeout)return;break;default:return}if(E==="abort"){u=M,w();return}if(H){u=M,p.length||(a.length?ut():w());return}if(C(),_(),!t.random){const V=t.resources.indexOf(y.resource);V!==-1&&V!==t.index&&(t.index=V)}c="completed",k.forEach(V=>{V(M)})}function ut(){if(c!=="pending")return;C();const y=a.shift();if(y===void 0){if(p.length){m=setTimeout(()=>{C(),c==="pending"&&(_(),w())},t.timeout);return}w();return}const E={status:"pending",resource:y,callback:(M,H)=>{b(E,M,H)}};p.push(E),d++,m=setTimeout(ut,t.rotate),o(y,n,E.callback)}return setTimeout(ut),B}function Bt(t){const n={...Pe,...t};let o=[];function i(){o=o.filter(l=>l().status==="pending")}function s(l,c,d){const u=De(n,l,c,(m,p)=>{i(),d&&d(m,p)});return o.push(u),u}function r(l){return o.find(c=>l(c))||null}return{query:s,find:r,setIndex:l=>{n.index=l},getIndex:()=>n.index,cleanup:i}}function Et(){}const nt=Object.create(null);function Te(t){if(!nt[t]){const n=et(t);if(!n)return;const o=Bt(n),i={config:n,redundancy:o};nt[t]=i}return nt[t]}function Ie(t,n,o){let i,s;if(typeof t=="string"){const r=Y(t);if(!r)return o(void 0,424),Et;s=r.send;const a=Te(t);a&&(i=a.redundancy)}else{const r=v(t);if(r){i=Bt(r);const a=t.resources?t.resources[0]:"",l=Y(a);l&&(s=l.send)}}return!i||!s?(o(void 0,424),Et):i.query(n,s,o)().abort}const $t="iconify2",L="iconify",xt=L+"-count",Nt=L+"-version",Vt=36e5,Le=168,Fe=50;function ot(t,n){try{return t.getItem(n)}catch{}}function st(t,n,o){try{return t.setItem(n,o),!0}catch{}}function Pt(t,n){try{t.removeItem(n)}catch{}}function it(t,n){return st(t,xt,n.toString())}function rt(t){return parseInt(ot(t,xt))||0}const W={local:!0,session:!0},Dt={local:new Set,session:new Set};let at=!1;function Me(t){at=t}let R=typeof window>"u"?{}:window;function Tt(t){const n=t+"Storage";try{if(R&&R[n]&&typeof R[n].length=="number")return R[n]}catch{}W[t]=!1}function It(t,n){const o=Tt(t);if(!o)return;const i=ot(o,Nt);if(i!==$t){if(i){const l=rt(o);for(let c=0;c<l;c++)Pt(o,L+c.toString())}st(o,Nt,$t),it(o,0);return}const s=Math.floor(Date.now()/Vt)-Le,r=l=>{const c=L+l.toString(),d=ot(o,c);if(typeof d=="string"){try{const u=JSON.parse(d);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>s&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&n(u,l))return!0}catch{}Pt(o,c)}};let a=rt(o);for(let l=a-1;l>=0;l--)r(l)||(l===a-1?(a--,it(o,a)):Dt[t].add(l))}function Lt(){if(!at){Me(!0);for(const t in W)It(t,n=>{const o=n.data,i=n.provider,s=o.prefix,r=N(i,s);if(!X(r,o).length)return!1;const a=o.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,a):a,!0})}}function Ae(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const i in W)It(i,s=>{const r=s.data;return s.provider!==t.provider||r.prefix!==t.prefix||r.lastModified===n});return!0}function je(t,n){at||Lt();function o(i){let s;if(!W[i]||!(s=Tt(i)))return;const r=Dt[i];let a;if(r.size)r.delete(a=Array.from(r).shift());else if(a=rt(s),a>=Fe||!it(s,a+1))return;const l={cached:Math.floor(Date.now()/Vt),provider:t.provider,data:n};return st(s,L+a.toString(),JSON.stringify(l))}n.lastModified&&!Ae(t,n.lastModified)||Object.keys(n.icons).length&&(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function Ft(){}function Oe(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,$e(t)}))}function ze(t,n){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(n).sort():t.iconsToLoad=n,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:o,prefix:i}=t,s=t.iconsToLoad;delete t.iconsToLoad;let r;if(!s||!(r=Y(o)))return;r.prepare(o,i,s).forEach(l=>{Ie(o,l,c=>{if(typeof c!="object")l.icons.forEach(d=>{t.missing.add(d)});else try{const d=X(t,c);if(!d.length)return;const u=t.pendingIcons;u&&d.forEach(m=>{u.delete(m)}),je(t,c)}catch(d){console.error(d)}Oe(t)})})}))}const qe=(t,n)=>{const o=Ve(t,!0,yt()),i=Ee(o);if(!i.pending.length){let c=!0;return n&&setTimeout(()=>{c&&n(i.loaded,i.missing,i.pending,Ft)}),()=>{c=!1}}const s=Object.create(null),r=[];let a,l;return i.pending.forEach(c=>{const{provider:d,prefix:u}=c;if(u===l&&d===a)return;a=d,l=u,r.push(N(d,u));const m=s[d]||(s[d]=Object.create(null));m[u]||(m[u]=[])}),i.pending.forEach(c=>{const{provider:d,prefix:u,name:m}=c,p=N(d,u),k=p.pendingIcons||(p.pendingIcons=new Set);k.has(m)||(k.add(m),s[d][u].push(m))}),r.forEach(c=>{const{provider:d,prefix:u}=c;s[d][u].length&&ze(c,s[d][u])}),n?Ne(n,i,r):Ft};function We(t,n){const o={...t};for(const i in n){const s=n[i],r=typeof s;i in kt?(s===null||s&&(r==="string"||r==="number"))&&(o[i]=s):r===typeof o[i]&&(o[i]=i==="rotate"?s%4:s)}return o}const Re=/[\s,]+/;function Ue(t,n){n.split(Re).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function He(t,n=0){const o=t.replace(/^-?[0-9.]*/,"");function i(s){for(;s<0;)s+=4;return s%4}if(o===""){const s=parseInt(t);return isNaN(s)?0:i(s)}else if(o!==t){let s=0;switch(o){case"%":s=25;break;case"deg":s=90}if(s){let r=parseFloat(t.slice(0,t.length-o.length));return isNaN(r)?0:(r=r/s,r%1===0?i(r):0)}}return n}function Ge(t,n){let o=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in n)o+=" "+i+'="'+n[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+t+"</svg>"}function Ke(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Qe(t){return"data:image/svg+xml,"+Ke(t)}function Ze(t){return'url("'+Qe(t)+'")'}const Mt={...bt,inline:!1},Xe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Je={display:"inline-block"},lt={backgroundColor:"currentColor"},At={backgroundColor:"transparent"},jt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ot={webkitMask:lt,mask:lt,background:At};for(const t in Ot){const n=Ot[t];for(const o in jt)n[t+o]=jt[o]}const U={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";U[t+"-flip"]=n,U[t.slice(0,1)+"-flip"]=n,U[t+"Flip"]=n});function zt(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const qt=(t,n)=>{const o=We(Mt,n),i={...Xe},s=n.mode||"svg",r={},a=n.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let g in n){const f=n[g];if(f!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":o[g]=f===!0||f==="true"||f===1;break;case"flip":typeof f=="string"&&Ue(o,f);break;case"color":r.color=f;break;case"rotate":typeof f=="string"?o[g]=He(f):typeof f=="number"&&(o[g]=f);break;case"ariaHidden":case"aria-hidden":f!==!0&&f!=="true"&&delete i["aria-hidden"];break;default:{const B=U[g];B?(f===!0||f==="true"||f===1)&&(o[B]=!0):Mt[g]===void 0&&(i[g]=f)}}}const c=me(t,o),d=c.attributes;if(o.inline&&(r.verticalAlign="-0.125em"),s==="svg"){i.style={...r,...l},Object.assign(i,d);let g=0,f=n.id;return typeof f=="string"&&(f=f.replace(/-/g,"_")),i.innerHTML=_e(c.body,f?()=>f+"ID"+g++:"iconifyVue"),e.h("svg",i)}const{body:u,width:m,height:p}=t,k=s==="mask"||(s==="bg"?!1:u.indexOf("currentColor")!==-1),C=Ge(u,{...d,width:m+"",height:p+""});return i.style={...r,"--svg":Ze(C),width:zt(d.width),height:zt(d.height),...Je,...k?lt:At,...l},e.h("span",i)};if(yt(!0),ye("",Be),typeof document<"u"&&typeof window<"u"){Lt();const t=window;if(t.IconifyPreload!==void 0){const n=t.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!re(i))&&console.error(o)}catch{console.error(o)}})}if(t.IconifyProviders!==void 0){const n=t.IconifyProviders;if(typeof n=="object"&&n!==null)for(let o in n){const i="IconifyProviders["+o+"] is invalid.";try{const s=n[o];if(typeof s!="object"||!s||s.resources===void 0)continue;ke(o,s)||console.error(i)}catch{console.error(i)}}}}const Ye={...z,body:""},P=e.defineComponent({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,n){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let o;if(typeof t!="string"||(o=A(t,!1,!0))===null)return this.abortLoading(),null;const i=se(o);if(!i)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",i!==null&&(this._loadingIcon={name:t,abort:qe([o],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,n&&n(t));const s=["iconify"];return o.prefix!==""&&s.push("iconify--"+o.prefix),o.provider!==""&&s.push("iconify--"+o.provider),{data:i,classes:s}}},render(){this.counter;const t=this.$attrs,n=this.iconMounted||t.ssr?this.getIcon(t.icon,t.onLoad):null;if(!n)return qt(Ye,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),qt({...z,...n.data},o)}});function Wt(t,n){return n===1?t:`${t}/${n}`}const Rt=()=>({getLinkToPaginatedPage:Wt}),ve={class:"d-shape"},tn={class:"d-shape__bg-wrapper"},en={name:"DWrapShape"},S=e.defineComponent({...en,props:{shapeClass:{},shapeStyle:{},filterClass:{},filterStyle:{},tag:{}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.tag??"div"),null,{default:e.withCtx(()=>[e.createElementVNode("div",ve,[e.createElementVNode("div",{class:e.normalizeClass(["d-shape__bg-filter",n.filterClass]),style:e.normalizeStyle(n.filterStyle)},[e.createElementVNode("div",tn,[e.createElementVNode("div",{class:e.normalizeClass(["d-shape__bg",n.shapeClass]),style:e.normalizeStyle(n.shapeStyle)},[e.renderSlot(n.$slots,"shape-content")],6),e.renderSlot(n.$slots,"bg-overlay")])],6),e.renderSlot(n.$slots,"default")])]),_:3}))}}),nn={key:0,class:"d-focus-hl__hl--negative-tile"},on={key:2,class:"d-focus-hl__hl--negative-list-item"},sn=e.createElementVNode("div",{class:"d-focus-hl__hl--negative-list-item"},null,-1),rn={name:"DWrapFocusHighlight",components:{DWrapShape:S}},F=e.defineComponent({...rn,props:{linkExact:Boolean,noPassiveLink:Boolean,active:Boolean,variant:{type:String,default:"negative-tile"},tag:{type:String,default:"div"},colorClass:{type:[String,Object],default:"d-focus-hl--default-color"}},setup(t){const n=t,o=e.computed(()=>n.to||n.href?resolveComponent("NuxtLink"):n.tag);return(i,s)=>(e.openBlock(),e.createBlock(S,null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),e.mergeProps(n,{class:["d-focus-hl",{"d-focus-hl--exact":t.linkExact,"d-focus-hl--not-exact":!t.linkExact,"d-focus-hl--no-passive-link":t.noPassiveLink,"d-focus-hl--active":t.active}]}),{default:e.withCtx(()=>[t.variant==="negative-tile"?(e.openBlock(),e.createElementBlock("div",nn)):t.variant==="list-item"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-focus-hl__hl--list-item",t.colorClass])},null,2)):t.variant==="negative-list-item"?(e.openBlock(),e.createElementBlock("div",on)):t.variant==="composite-list-item"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("div",{class:e.normalizeClass(["d-focus-hl__hl--list-item",t.colorClass])},null,2),sn],64)):e.createCommentVNode("",!0),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))]),_:3}))}});function Ut(t){const n=e.resolveDynamicComponent("RouterLink"),o=typeof defineNuxtLink=="function"?defineNuxtLink({componentName:"DNuxtLink"}):void 0,i=e.computed(()=>!!(t.href||t.to)),s=e.computed(()=>{if(!t.href)return!1;const a=t.href;return a.startsWith("http")||a.startsWith("mailto:")||a.startsWith("tel:")||a.startsWith("#")}),r=e.computed(()=>{const a={...t};return t.href&&t.to?delete a.href:t.href?delete a.to:t.to&&delete a.href,a});return i.value?typeof o<"u"?{isLink:i,isExternalLink:s,linkComponent:o,propsToProvide:r}:typeof n!="string"?{isLink:i,isExternalLink:s,linkComponent:n,propsToProvide:r}:{isLink:i,isExternalLink:s,linkComponent:"a",propsToProvide:r}:{isLink:i,isExternalLink:s,linkComponent:t.tag||"span",propsToProvide:r}}const an={name:"DBtn",components:{DWrapFocusHighlight:F}},$=e.defineComponent({...an,props:{to:{type:[String,Object],default:""},href:{type:String,default:void 0},exact:Boolean,noPassiveHighlight:Boolean,active:Boolean,noRotate:Boolean,tag:{type:String,default:"button"},highlight:{type:String,default:void 0},colorClass:{type:[String,Object],default:""},textTransform:{type:String,default:"uppercase"}},setup(t){const n=t,{linkComponent:o,isLink:i,isExternalLink:s,propsToProvide:r}=Ut(n);return(a,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o)),e.mergeProps({class:["d-btn",{"d-btn--rotated":!t.noRotate,"d-btn--uppercase":t.textTransform==="uppercase","d-btn--capitalize":t.textTransform==="capitalize","d-btn--lowercase":t.textTransform==="lowercase"}]},e.unref(r)),{default:e.withCtx(()=>[e.createVNode(F,{variant:t.highlight,"link-exact":t.exact,"no-passive-link":t.noPassiveHighlight||!e.unref(i)||e.unref(s),"color-class":t.colorClass,active:t.active},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},8,["variant","link-exact","no-passive-link","color-class","active"])]),_:3},16,["class"]))}}),ln={class:"w-fit text-2xl font-bold"},cn={key:2,class:"mx-1"},dn={key:3,class:"mx-1"},fn={name:"DPagination",components:{DBtn:$,Icon:P}},un=e.defineComponent({...fn,props:{currentPage:{type:Number,default:1},allPages:{type:Number,required:!0},baseLink:{type:String,required:!0}},setup(t){const n=t,{getLinkToPaginatedPage:o}=Rt();function i(r){return o(n.baseLink,r)}const s=e.computed(()=>Array.from({length:7},(r,a)=>a-3+n.currentPage).filter(r=>r>=1&&r<=n.allPages));return(r,a)=>(e.openBlock(),e.createElementBlock("nav",ln,[t.currentPage>1?(e.openBlock(),e.createBlock($,{key:0,class:"inline-block mx-1",to:i(t.currentPage-1),"aria-label":"Previous page"},{default:e.withCtx(()=>[e.createVNode(e.unref(P),{icon:"ic:baseline-arrow-back-ios"})]),_:1},8,["to"])):e.createCommentVNode("",!0),s.value.includes(1)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,{key:1,class:"inline-block mx-1",to:i(1),"aria-label":"First page"},{default:e.withCtx(()=>[e.createTextVNode(" 1 ")]),_:1},8,["to"])),s.value.includes(1)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",cn," ... ")),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,l=>(e.openBlock(),e.createBlock($,{key:l,class:"inline-block mx-1",to:i(l),"aria-label":`Page ${l}`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l),1)]),_:2},1032,["to","aria-label"]))),128)),s.value.includes(t.allPages)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",dn," ... ")),s.value.includes(t.allPages)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,{key:4,class:"inline-block mx-1",to:i(t.allPages),"aria-label":`Last page (${t.allPages})`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.allPages),1)]),_:1},8,["to","aria-label"])),t.currentPage<t.allPages?(e.openBlock(),e.createBlock($,{key:5,class:"inline-block mx-1",to:i(t.currentPage+1),"aria-label":"Next page"},{default:e.withCtx(()=>[e.createVNode(e.unref(P),{icon:"ic:baseline-arrow-forward-ios"})]),_:1},8,["to"])):e.createCommentVNode("",!0)]))}}),mn={class:"max-w-full"},hn={class:"stats__print-value"},pn={class:"stats__print-value__group-title"},gn={class:"stats__print-value--small"},_n={class:"stats"},yn={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg"},kn=e.createElementVNode("polygon",{points:"100,-350 1500,-500 1000,1350 -500,1500",class:"stats__bg"},null,-1),bn=["points"],Cn=["points"],wn={class:"stats__single-stat"},Sn=["points"],Bn=["points"],En={class:"stats__single-stat"},$n=["points"],xn=["points"],Nn={class:"stats__single-stat"},Vn=["points"],Pn=["points"],Dn={class:"stats__single-stat"},Tn=["points"],In=["points"],Ln={class:"stats__single-stat"},Fn=["points"],Mn=["points"],An={class:"stats__images"},jn={class:"stats__image"},On={class:"stats__image"},zn={class:"stats__image"},qn={class:"stats__image"},Wn={class:"stats__image"},Rn={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg",class:"stats_titles-layer"},Un={x:"-500",y:"-300",class:"stats__group-title"},Hn=["x","y","transform-origin"],Gn={class:"stats__title__value"},Kn=["x","y","transform-origin"],Qn={class:"stats__title__value"},Zn=["x","y","transform-origin"],Xn={class:"stats__title__value"},Jn=["x","y","transform-origin"],Yn={class:"stats__title__value"},vn=["x","y","transform-origin"],to={class:"stats__title__value"},eo={name:"DStats",components:{Icon:P}},no=e.defineComponent({...eo,props:{groupTitle:{},titles:{},values:{}},setup(t){const n=t,o=e.ref([[500,0],[630,330],[980,350],[700,590],[790,910],[500,720],[210,910],[300,590],[20,350],[370,330]]),i=e.ref([1,.8,.6,.4,.27]),s={1:0,"1-2":1,2:2,"2-3":3,3:4,"3-4":5,4:6,"4-5":7,5:8,"5-1":9},r=[500,500];function a(f){return f.map(B=>B.join(",")).join(" ")}function l(f,B,w=500,_=500){return f.map(b=>[b[0]-(b[0]-w)*(1-B),b[1]-(b[1]-_)*(1-B)])}const c=e.computed(()=>i.value.map(f=>l(o.value,f)));function d(f){return c.value[5-f]}function u(f){return{value:n.values?n.values[f]??1:1,title:n.titles?n.titles[f]??"":""}}const m=e.computed(()=>u(0)),p=e.computed(()=>u(1)),k=e.computed(()=>u(2)),C=e.computed(()=>u(3)),g=e.computed(()=>u(4));return(f,B)=>(e.openBlock(),e.createElementBlock("figure",mn,[e.createElementVNode("div",hn,[e.createElementVNode("div",pn,e.toDisplayString(f.groupTitle),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.titles,(w,_)=>(e.openBlock(),e.createElementBlock("div",{key:w,class:"stats__print-value__skill"},[e.createElementVNode("div",null,e.toDisplayString(w),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.values[_],b=>(e.openBlock(),e.createBlock(e.unref(P),{key:b,icon:"ic:sharp-star"}))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(5-f.values[_],b=>(e.openBlock(),e.createBlock(e.unref(P),{key:b,icon:"ic:sharp-star-border"}))),128))])]))),128))])]),e.createElementVNode("div",gn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.titles,(w,_)=>(e.openBlock(),e.createElementBlock("span",{key:w,class:e.normalizeClass(["stats__print-value--small__skill",{"stats__print-value--small__skill--hidden":f.values[_]<3,"stats__print-value--small__skill--3":f.values[_]===3,"stats__print-value--small__skill--4":f.values[_]===4,"stats__print-value--small__skill--5":f.values[_]===5}])},e.toDisplayString(w),3))),128))]),e.createElementVNode("div",_n,[(e.openBlock(),e.createElementBlock("svg",yn,[kn,e.createElementVNode("polygon",{points:a(l(o.value,2)),class:"stats__bg-star--odd"},null,8,bn),e.createElementVNode("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(w,_)=>(e.openBlock(),e.createElementBlock("polygon",{key:_,points:a(w),class:e.normalizeClass({"stats__bg-star--odd":_%2,"stats__bg-star--even":!(_%2)})},null,10,Cn))),128))]),e.createElementVNode("g",null,[e.createElementVNode("g",wn,[e.createElementVNode("polygon",{points:a([d(m.value.value)[s[1]],d(Math.min(m.value.value,g.value.value))[s["5-1"]],r]),class:"stats__star--dark"},null,8,Sn),e.createElementVNode("polygon",{points:a([d(m.value.value)[s[1]],d(Math.min(m.value.value,p.value.value))[s["1-2"]],r]),class:"stats__star--light"},null,8,Bn)]),e.createElementVNode("g",En,[e.createElementVNode("polygon",{points:a([d(p.value.value)[s[2]],d(Math.min(m.value.value,p.value.value))[s["1-2"]],r]),class:"stats__star--light"},null,8,$n),e.createElementVNode("polygon",{points:a([d(p.value.value)[s[2]],d(Math.min(k.value.value,p.value.value))[s["2-3"]],r]),class:"stats__star--dark"},null,8,xn)]),e.createElementVNode("g",Nn,[e.createElementVNode("polygon",{points:a([d(k.value.value)[s[3]],d(Math.min(p.value.value,k.value.value))[s["2-3"]],r]),class:"stats__star--light"},null,8,Vn),e.createElementVNode("polygon",{points:a([d(k.value.value)[s[3]],d(Math.min(k.value.value,C.value.value))[s["3-4"]],r]),class:"stats__star--dark"},null,8,Pn)]),e.createElementVNode("g",Dn,[e.createElementVNode("polygon",{points:a([d(C.value.value)[s[4]],d(Math.min(k.value.value,C.value.value))[s["3-4"]],r]),class:"stats__star--light"},null,8,Tn),e.createElementVNode("polygon",{points:a([d(C.value.value)[s[4]],d(Math.min(C.value.value,g.value.value))[s["4-5"]],r]),class:"stats__star--dark"},null,8,In)]),e.createElementVNode("g",Ln,[e.createElementVNode("polygon",{points:a([d(g.value.value)[s[5]],d(Math.min(C.value.value,g.value.value))[s["4-5"]],r]),class:"stats__star--dark"},null,8,Fn),e.createElementVNode("polygon",{points:a([d(g.value.value)[s[5]],d(Math.min(g.value.value,m.value.value))[s["5-1"]],r]),class:"stats__star--light"},null,8,Mn)])])])),e.createElementVNode("div",An,[e.createElementVNode("div",jn,[e.renderSlot(f.$slots,"icon-1")]),e.createElementVNode("div",On,[e.renderSlot(f.$slots,"icon-2")]),e.createElementVNode("div",zn,[e.renderSlot(f.$slots,"icon-3")]),e.createElementVNode("div",qn,[e.renderSlot(f.$slots,"icon-4")]),e.createElementVNode("div",Wn,[e.renderSlot(f.$slots,"icon-5")])]),(e.openBlock(),e.createElementBlock("svg",Rn,[e.createElementVNode("text",Un,e.toDisplayString(f.groupTitle),1),e.createElementVNode("g",null,[e.createElementVNode("text",{x:o.value[s[1]][0],y:o.value[s[1]][1]-100,"transform-origin":`${o.value[s[1]][0]} ${o.value[s[1]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(m.value.title)+" ",1),e.createElementVNode("tspan",Gn,e.toDisplayString(m.value.value),1)],8,Hn),e.createElementVNode("text",{x:o.value[s[2]][0]+100,y:o.value[s[2]][1]-100,"transform-origin":`${o.value[s[2]][0]+100} ${o.value[s[2]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(p.value.title)+" ",1),e.createElementVNode("tspan",Qn,e.toDisplayString(p.value.value),1)],8,Kn),e.createElementVNode("text",{"dominant-baseline":"hanging",x:o.value[s[3]][0]+150,y:o.value[s[3]][1]+150,"transform-origin":`${o.value[s[3]][0]+150} ${o.value[s[3]][1]+150}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(k.value.title)+" ",1),e.createElementVNode("tspan",Xn,e.toDisplayString(k.value.value),1)],8,Zn),e.createElementVNode("text",{"dominant-baseline":"hanging",x:o.value[s[4]][0]-150,y:o.value[s[4]][1]+150,"transform-origin":`${o.value[s[4]][0]-150} ${o.value[s[4]][1]+150}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(C.value.title)+" ",1),e.createElementVNode("tspan",Yn,e.toDisplayString(C.value.value),1)],8,Jn),e.createElementVNode("text",{x:o.value[s[5]][0]-100,y:o.value[s[5]][1]-100,"transform-origin":`${o.value[s[5]][0]-100} ${o.value[s[5]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(g.value.title)+" ",1),e.createElementVNode("tspan",to,e.toDisplayString(g.value.value),1)],8,vn)])]))])]))}}),oo={name:"DAnimationDefLetterD"},so={d:"M200.242,139.244l137.207,-0c66.136,-0 112.859,17.192 140.169,51.576c27.31,34.384 33.562,84.973 18.755,151.767c-22.045,98.711 -85.878,148.066 -191.498,148.066l-179.16,-0l74.527,-351.409Zm184.588,179.159c12.175,-57.581 -7.732,-86.372 -59.72,-86.372l-33.068,0l-35.042,165.834l44.42,0c23.69,0 42.034,-6.169 55.031,-18.508c12.997,-12.339 22.457,-32.657 28.379,-60.954Z"};function io(t,n,o,i,s,r){return e.openBlock(),e.createElementBlock("path",so)}const x=K(oo,[["render",io]]),ro=e.createElementVNode("use",{id:"d-accordion-section",href:"#d-letter",transform:"scale(0.33)"},null,-1),ao=e.createStaticVNode('<use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use>',6),lo={name:"DAnimationAccordion",components:{DAnimationDefLetterD:x}},co=e.defineComponent({...lo,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 210",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-accordion",style:e.normalizeStyle({"--d-accordion-wiggle-period":t.wigglePeriod+"s","--d-accordion-delay":t.delay+"s"})},[e.createElementVNode("defs",null,[e.createVNode(x,{id:"d-letter"}),ro]),ao],4))}}),fo={name:"DAnimationFloatingLetter",components:{DAnimationDefLetterD:x}},uo=e.defineComponent({...fo,props:{floatPeriod:{type:Number,default:5},pathClass:{type:[String,Object],default:""}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:e.normalizeStyle({"--d-floating-letter-float-period":t.floatPeriod+"s"})},[e.createVNode(x,{class:e.normalizeClass(["d-animation-floating-letter",t.pathClass])},null,8,["class"])],4))}}),mo=e.createElementVNode("use",{id:"d-hypnosis-section",href:"#d-letter"},null,-1),ho=e.createStaticVNode('<use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use>',6),po={name:"DAnimationHypnosis",components:{DAnimationDefLetterD:x}},go=e.defineComponent({...po,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-hypnosis",style:e.normalizeStyle({"--d-hypnosis-wiggle-period":t.wigglePeriod+"s","--d-hypnosis-delay":t.delay+"s"})},[e.createElementVNode("defs",null,[e.createVNode(x,{id:"d-letter"}),mo]),ho],4))}}),_o={name:"DAnimationSpinner",components:{DAnimationDefLetterD:x}},yo=e.defineComponent({..._o,props:{spinPeriod:{type:Number,default:10},bladeWigglePeriod:{type:Number,default:5}},setup(t){const n="315 315";return(o,i)=>(e.openBlock(),e.createElementBlock("svg",{class:"spinner",viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:e.normalizeStyle({"--d-spinner-spin-period":t.spinPeriod+"s","--d-spinner-blade-wiggle-period":t.bladeWigglePeriod+"s"})},[e.createElementVNode("defs",null,[e.createVNode(x,{id:"d-letter"}),e.createElementVNode("use",{id:"d-spinner-blade",href:"#d-letter",class:"d-animation-spinner__blade","transform-origin":n}),e.createElementVNode("g",{id:"spinner",class:"d-animation-spinner__spinner","transform-origin":n},[e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(0)","transform-origin":n}),e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(120)","transform-origin":n}),e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(240)","transform-origin":n})])]),e.createElementVNode("use",{href:"#spinner",transform:"translate( -20 20 )",class:"d-animation-spinner__background","transform-origin":n}),e.createElementVNode("use",{href:"#spinner",class:"d-animation-spinner__foreground","transform-origin":n})],4))}}),ko=e.ref(""),ct=()=>({text:ko}),bo={id:"big-bang-button-animation"},Co=["i","textContent"],wo={name:"DBigBangButtonAnimation"},So=e.defineComponent({...wo,setup(t){const n={first:"M 0 0 C -489.471 -116.5 -526.692 -193.268 -563.913 -311.911",last:"M 0 0 C 317.761 171.963 466.645 199.879 680.666 171.963",intermediate:["M 0 0 C 36.277 125.437 19.992 358.068 -49.797 413.9","M 0 0 C 52.561 -69.974 71.171 -118.827 64.192 -446.837","M 0 0 C -3.271 137.068 -26.534 395.289 33.95 439.489"]},{text:o}=ct(),i=e.computed(()=>o.value.split(""));let s;e.watch(o,c=>{clearTimeout(s),c&&(s=setTimeout(()=>o.value="",1500))});function r(c){return c===0?n.first:c===i.value.length-1?n.last:n.intermediate[Math.floor(Math.random()*n.intermediate.length)]}function a(c,d){G.fromTo(c,{opacity:0,rotateX:-90},{opacity:1,rotateX:0,rotate:-12+Math.random()*24,delay:Math.random()*.3,duration:.2,onComplete:d})}function l(c,d){const u=+G.getProperty(c,"i");G.to(c,{motionPath:{path:r(u)},opacity:0,rotate:-180+Math.random()*360,duration:.2,onComplete:d})}return(c,d)=>(e.openBlock(),e.createElementBlock("div",bo,[e.createVNode(e.TransitionGroup,{tag:"div",class:"bbb__text-container",onEnter:a,onLeave:l},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(u,m)=>(e.openBlock(),e.createElementBlock("span",{key:m,i:m,textContent:e.toDisplayString(u)},null,8,Co))),128))]),_:1})]))}}),Bo=["textContent"],Eo={name:"DBigBangButton"},$o=e.defineComponent({...Eo,props:{text:{type:String,required:!0},tag:{type:String,default:"button"},to:{type:[String,Object],default:""}},emits:["click"],setup(t,{emit:n}){const o=n,i=t,{text:s}=ct(),{linkComponent:r}=Ut(i),a=e.computed(()=>i.text.split(""));function l(c){s.value=i.text,o("click",c)}return(c,d)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r)),{to:t.to,class:"big-bang-button",onClick:l},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(u,m)=>(e.openBlock(),e.createElementBlock("span",{key:m,textContent:e.toDisplayString(u)},null,8,Bo))),128))]),_:1},8,["to"]))}}),xo={name:"DCard",components:{DWrapShape:S}},No=e.defineComponent({...xo,props:{mode:{type:String,default:"default"},dense:Boolean},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(S,{"shape-class":{card__bg:!t.dense,"card__bg--dense":t.dense},class:e.normalizeClass({"card--homepage-story force-light":t.mode==="homepage-story","card--homepage-skills force-light":t.mode==="homepage-skills",card:t.mode==="default"})},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass({card__content:!t.dense,"card__content--dense":t.dense})},[e.renderSlot(n.$slots,"default")],2)]),_:3},8,["shape-class","class"]))}}),Vo={name:"DCardTitle",components:{DWrapShape:S}},Po={class:"card__title"},Do={class:"card__title__content__text"},To={class:"ml-2 print:text-neutral-600"};function Io(t,n,o,i,s,r){const a=e.resolveComponent("DWrapShape");return e.openBlock(),e.createElementBlock("div",Po,[e.createVNode(a,{class:"card__title__content","shape-class":"card__title__content__shape"},{default:e.withCtx(()=>[e.createElementVNode("h3",Do,[e.renderSlot(t.$slots,"default")])]),_:3}),e.createElementVNode("span",To,[e.renderSlot(t.$slots,"extra")])])}const Lo=K(Vo,[["render",Io]]),Fo=e.createElementVNode("div",{class:"d-alert__outline"},null,-1),Mo={class:"d-alert__body"},Ao={viewBox:"0 0 1067 1067",xmlns:"http://www.w3.org/2000/svg",class:"d-alert__sign"},jo={key:0},Oo=[e.createElementVNode("path",{d:"M202.481,1025.68l427.138,-769.216l171.992,106.943l-461.057,689.584l-138.073,-27.311Z"},null,-1),e.createElementVNode("path",{d:"M832.695,310.003l-170.011,-113.247l92.566,-170.289l218.937,122.443l-141.492,161.093Z"},null,-1)],zo={key:1},qo=[e.createElementVNode("path",{d:"M289.17,836.982l100.67,63.007l-27.42,149.27l-200.047,-83.328l126.797,-128.949Z"},null,-1),e.createElementVNode("path",{d:"M335.818,766.179l95.499,91.347l134.944,-217.987l249.128,-6.228l174.389,-139.096l14.533,-236.672l-170.237,-224.215l-170.238,-8.304l-242.9,124.564l114.184,64.358l178.542,-41.522l161.933,130.793l-68.51,205.53l-203.455,-53.978l-178.542,70.587l-89.27,240.823Z"},null,-1)],Wo={key:2},Ro=[e.createElementVNode("path",{d:"M304.988,722.034l335.792,-712.747l299.877,30.543l-514.204,743.146l-121.465,-60.942Z"},null,-1),e.createElementVNode("path",{d:"M253.974,839.059l148.42,40.169l-118.767,182.487l-131.537,-66.719l101.884,-155.937Z"},null,-1)],Uo=e.defineComponent({__name:"DAlert",props:{type:{type:String,default:"info"}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(S,{class:e.normalizeClass(["d-alert",{"d-alert--info":t.type==="info","d-alert--question":t.type==="question","d-alert--warning":t.type==="warning"}]),"shape-class":"d-alert__shape"},{"bg-overlay":e.withCtx(()=>[Fo]),default:e.withCtx(()=>[e.createElementVNode("div",Mo,[e.renderSlot(n.$slots,"default"),(e.openBlock(),e.createElementBlock("svg",Ao,[t.type==="info"?(e.openBlock(),e.createElementBlock("g",jo,Oo)):e.createCommentVNode("",!0),t.type==="question"?(e.openBlock(),e.createElementBlock("g",zo,qo)):e.createCommentVNode("",!0),t.type==="warning"?(e.openBlock(),e.createElementBlock("g",Wo,Ro)):e.createCommentVNode("",!0)]))])]),_:3},8,["class"]))}}),Ho=e.createElementVNode("div",{class:"d-blockquote__outline"},null,-1),Go={class:"d-blockquote__body"},Ko=e.defineComponent({__name:"DQuote",props:{direction:{type:String,default:"right"}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(S,{tag:"blockquote",class:e.normalizeClass(["d-blockquote",{"d-blockquote--left":t.direction==="left","d-blockquote--right":t.direction==="right"}]),"shape-class":"d-blockquote__shape"},{"bg-overlay":e.withCtx(()=>[Ho]),default:e.withCtx(()=>[e.createElementVNode("div",Go,[e.renderSlot(n.$slots,"default")])]),_:3},8,["class"]))}}),Qo={name:"DActionsFan",components:{DWrapShape:S,DBtn:$}},Zo=e.defineComponent({...Qo,props:{actions:{type:Array,default:()=>[]},side:{type:String,default:"left"},filterClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{name:"actions",tag:"ul",style:e.normalizeStyle({padding:`${Math.min(t.actions.length*2,15)}rem 0 ${Math.min(t.actions.length*3,15)}rem`})},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,(i,s)=>(e.openBlock(),e.createBlock(S,{key:i.title,tag:"li",class:e.normalizeClass(["d-actions-fan__list-item",{[i.class??""]:!0,"d-actions-fan--right__list-item":t.side==="right","d-actions-fan--left__list-item":t.side==="left"}]),"filter-class":t.filterClass,style:e.normalizeStyle({...i.style,"--tw-rotate":`${t.side==="left"?12-s*18:-12+s*18}deg`}),"shape-class":{"d-actions-fan__list-item__shape":!0,[i.shapeClass??""]:!0,"d-actions-fan--right__list-item__shape":t.side==="right","d-actions-fan--left__list-item__shape":t.side==="left"},"shape-style":i.shapeStyle},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["d-actions-fan__list-item__body",{"d-actions-fan--right__list-item__body":t.side==="right"}])},[e.createVNode($,e.mergeProps({ref_for:!0},i.attrs,{tag:"button","no-passive-highlight":"",onClick:r=>n.$emit("actionChoose",i.emit),onMouseenter:r=>n.$emit("actionFocus",i.emit),onTouchstart:r=>n.$emit("actionFocus",i.emit),onFocusin:r=>n.$emit("actionFocus",i.emit),onMouseleave:r=>n.$emit("actionUnfocus",i.emit),onTouchend:r=>n.$emit("actionUnfocus",i.emit),onFocusout:r=>n.$emit("actionUnfocus",i.emit)}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.title),1)]),_:2},1040,["onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])],2)]),_:2},1032,["filter-class","class","style","shape-class","shape-style"]))),128))]),_:1},8,["style"]))}}),Xo={class:"d-actions-list__body"},Jo={class:"d-actions-list__header"},Yo={name:"DActionsList",components:{DWrapFocusHighlight:F,DWrapShape:S}},vo=e.defineComponent({...Yo,props:{actions:{type:Array,default:()=>[]},listClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(t){function n(o){var i;return(i=o.attrs)!=null&&i.highlightVariant?o.attrs.highlightVariant:"negative-list-item"}return(o,i)=>(e.openBlock(),e.createBlock(S,{"shape-class":"d-actions-list__shape"},{default:e.withCtx(()=>[e.createElementVNode("div",Xo,[e.createElementVNode("div",Jo,[e.renderSlot(o.$slots,"header")]),e.createVNode(e.TransitionGroup,{name:"actions",tag:"ul",class:e.normalizeClass(["d-actions-list__list",t.listClass])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,s=>(e.openBlock(),e.createElementBlock("li",{key:s.title},[e.createVNode(F,e.mergeProps({ref_for:!0},s.attrs,{tag:"button",variant:n(s),"no-passive-link":"",onClick:r=>o.$emit("actionChoose",s.emit),onMouseenter:r=>o.$emit("actionFocus",s.emit),onTouchstart:r=>o.$emit("actionFocus",s.emit),onFocusin:r=>o.$emit("actionFocus",s.emit),onMouseleave:r=>o.$emit("actionUnfocus",s.emit),onTouchend:r=>o.$emit("actionUnfocus",s.emit),onFocusout:r=>o.$emit("actionUnfocus",s.emit)}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.title),1)]),_:2},1040,["variant","onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])]))),128))]),_:1},8,["class"])])]),_:3}))}}),ts={class:"mbg__relative-container"},es={class:"mbg__layer"},ns={class:"mbg__content"},os={name:"DWrapBackground"},ss=e.defineComponent({...os,props:{overlayClass:{type:[String,Object],default:""},overlayStyle:{type:Object,default:()=>{}},dotsClass:{type:[String,Object],default:""},dotsStyle:{type:Object,default:()=>{}},dots:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"mbg__main-container"},{default:e.withCtx(()=>[e.createElementVNode("div",ts,[e.createElementVNode("div",{class:e.normalizeClass(["mbg__layer",t.overlayClass]),style:e.normalizeStyle(t.overlayStyle)},null,6),e.createElementVNode("div",es,[e.renderSlot(n.$slots,"svg")]),t.dots?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["mbg__layer mbg__dots",t.dotsClass]),style:e.normalizeStyle(t.dotsStyle)},null,6)):e.createCommentVNode("",!0),e.createElementVNode("div",ns,[e.renderSlot(n.$slots,"default")])])]),_:3}))}});function Ht(t,n={}){return{top:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().top)??0)+window.scrollY+(n.y?n.y():0)},bottom:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().bottom)??0)+window.scrollY+(n.y?n.y():0)},right:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().right)??0)+window.scrollX+(n.x?n.x():0)},left:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().left)??0)+window.scrollX+(n.x?n.x():0)}}}function is(t){const n=Ht(t);return{top:n.top(),bottom:n.bottom(),right:n.right(),left:n.left()}}function dt(t){return t.map((n,o,i)=>{const s=i.reduce((a,l,c)=>(c>o?a.push(a.at(-1)):a.push(l.left),a),[]);return[...i.reduce((a,l,c)=>(c>o?a.push(a.at(-1)):a.push(l.right),a),[]),...s.reverse()]})}function Gt(t){const n=dt(t),o=n.length,i=n[0].length,s=[];for(let r=0;r<i;r++){const a=[];for(let l=0;l<o;l++)a.push(n[l][r]);s.push(a)}return s}function rs(t,n,o,i){const s=Gt(t);for(const r of s){const a=n.createSVGPoint();o.points.appendItem(a),i(a,r)}}function as(t,n,o){const i=dt(t).at(-1);if(i)for(const s of i){const r=n.createSVGPoint();r.x=s.x,r.y=s.y,o.points.appendItem(r)}}function ft(t){if(t.length!==2)throw new Error("Array should contain 2 numbers in order to be translated into coords");return{x:t[0],y:t[1]}}function Kt(t){if(t.length!==2)throw new Error("Array should contain 2 elements in order to be translated into LineEdge");return{left:ft(t[0]),right:ft(t[1])}}function ls(t){return t.map(Kt)}h.DActionsFan=Zo,h.DActionsList=vo,h.DAlert=Uo,h.DAnimationAccordion=co,h.DAnimationFloatingLetter=uo,h.DAnimationHypnosis=go,h.DAnimationSpinner=yo,h.DBigBangButton=$o,h.DBigBangButtonAnimation=So,h.DBtn=$,h.DCard=No,h.DCardTitle=Lo,h.DChip=Jt,h.DPagination=un,h.DQuote=Ko,h.DStats=no,h.DWrapBackground=ss,h.DWrapFocusHighlight=F,h.DWrapShape=S,h.applyLinePerPointAnimation=rs,h.applyStaticPoints=as,h.createCoordsFromArray=ft,h.createLineEdgeFromArray=Kt,h.createLineFromArray=ls,h.generatePolygonLineKeyframes=dt,h.generatePolygonPointsKeyframes=Gt,h.getAbsoluteBoundings=is,h.getAbsoluteBoundingsGetters=Ht,h.getLinkToPaginatedPage=Wt,h.useDBigBangButtonUtils=ct,h.useDPaginationUtils=Rt,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d0rich/esprit-design",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -2,6 +2,7 @@
2
2
  import { computed } from 'vue'
3
3
  import { useDBigBangButtonUtils } from '../../composables/big-bang-button-utils'
4
4
  import { useLink } from '../../composables/router'
5
+ import type { RouteLocationRaw } from 'vue-router'
5
6
 
6
7
  export default {
7
8
  name: 'DBigBangButton'
@@ -20,7 +21,7 @@ const props = defineProps({
20
21
  default: 'button'
21
22
  },
22
23
  to: {
23
- type: String,
24
+ type: [String, Object as () => RouteLocationRaw],
24
25
  default: ''
25
26
  }
26
27
  })
@@ -1,4 +1,5 @@
1
1
  <script lang="ts">
2
+ import type { RouteLocationRaw } from 'vue-router'
2
3
  import type { HighlightVariant } from '../utils/index'
3
4
  import DWrapFocusHighlight from '../utils/DWrapFocusHighlight.vue'
4
5
  import { useLink } from '../../composables/router'
@@ -14,7 +15,7 @@ export default {
14
15
  <script setup lang="ts">
15
16
  const props = defineProps({
16
17
  to: {
17
- type: String,
18
+ type: [String, Object as () => RouteLocationRaw],
18
19
  default: ''
19
20
  },
20
21
  href: {
package/vite.config.ts CHANGED
@@ -22,7 +22,7 @@ export default defineConfig({
22
22
  rollupOptions: {
23
23
  // make sure to externalize deps that shouldn't be bundled
24
24
  // into your library
25
- external: ['vue'],
25
+ external: ['vue', 'gsap'],
26
26
  output: {
27
27
  // Provide global variables to use in the UMD build
28
28
  // for externalized deps