@d0rich/esprit-design 0.2.1 → 0.2.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.
Files changed (85) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/components/DChip.vue.d.ts +2 -0
  3. package/dist/components/DPagination.vue.d.ts +30 -0
  4. package/dist/components/DStats.vue.d.ts +27 -0
  5. package/dist/components/animations/DAnimationAccordion.vue.d.ts +23 -0
  6. package/dist/components/animations/DAnimationDefLetterD.vue.d.ts +2 -0
  7. package/dist/components/animations/DAnimationFloatingLetter.vue.d.ts +23 -0
  8. package/dist/components/animations/DAnimationHypnosis.vue.d.ts +23 -0
  9. package/dist/components/animations/DAnimationSpinner.vue.d.ts +23 -0
  10. package/dist/components/animations/index.d.ts +5 -0
  11. package/dist/components/buttons/DBigBangButton.vue.d.ts +35 -0
  12. package/dist/components/buttons/DBigBangButtonAnimation.vue.d.ts +2 -0
  13. package/dist/components/buttons/DBtn.vue.d.ts +97 -0
  14. package/dist/components/buttons/index.d.ts +4 -0
  15. package/dist/components/cards/DCard.vue.d.ts +24 -0
  16. package/dist/components/cards/DCardTitle.vue.d.ts +2 -0
  17. package/dist/components/cards/index.d.ts +3 -0
  18. package/dist/components/content/DAlert.vue.d.ts +21 -0
  19. package/dist/components/content/DQuote.vue.d.ts +21 -0
  20. package/dist/components/content/index.d.ts +3 -0
  21. package/dist/components/index.d.ts +10 -0
  22. package/dist/components/lists/DActionsFan.vue.d.ts +55 -0
  23. package/dist/components/lists/DActionsList.vue.d.ts +50 -0
  24. package/dist/components/lists/index.d.ts +3 -0
  25. package/dist/components/utils/DWrapBackground.vue.d.ts +68 -0
  26. package/dist/components/utils/DWrapFocusHighlight.vue.d.ts +67 -0
  27. package/dist/components/utils/DWrapShape.vue.d.ts +33 -0
  28. package/dist/components/utils/index.d.ts +4 -0
  29. package/dist/composables/big-bang-button-utils.d.ts +3 -0
  30. package/dist/composables/index.d.ts +2 -0
  31. package/dist/composables/router.d.ts +17 -0
  32. package/dist/composables/utils.d.ts +4 -0
  33. package/dist/esprit-design.js +4595 -0
  34. package/dist/esprit-design.umd.cjs +17 -0
  35. package/dist/index.d.ts +3 -0
  36. package/dist/style.css +1 -0
  37. package/dist/utils/boundings.d.ts +16 -0
  38. package/dist/utils/index.d.ts +3 -0
  39. package/dist/utils/pagination.d.ts +1 -0
  40. package/dist/utils/polygon-animation.d.ts +53 -0
  41. package/index.html +13 -0
  42. package/package.json +1 -4
  43. package/plugins/shadows.js +87 -0
  44. package/src/components/DChip.vue +32 -0
  45. package/src/components/DPagination.vue +91 -0
  46. package/src/components/DStats.vue +502 -0
  47. package/src/components/animations/DAnimationAccordion.vue +103 -0
  48. package/src/components/animations/DAnimationDefLetterD.vue +11 -0
  49. package/src/components/animations/DAnimationFloatingLetter.vue +58 -0
  50. package/src/components/animations/DAnimationHypnosis.vue +102 -0
  51. package/src/components/animations/DAnimationSpinner.vue +114 -0
  52. package/src/components/animations/index.ts +11 -0
  53. package/src/components/buttons/DBigBangButton.vue +70 -0
  54. package/src/components/buttons/DBigBangButtonAnimation.vue +117 -0
  55. package/src/components/buttons/DBtn.vue +106 -0
  56. package/src/components/buttons/index.ts +5 -0
  57. package/src/components/cards/DCard.vue +98 -0
  58. package/src/components/cards/DCardTitle.vue +67 -0
  59. package/src/components/cards/index.ts +4 -0
  60. package/src/components/content/DAlert.vue +112 -0
  61. package/src/components/content/DQuote.vue +71 -0
  62. package/src/components/content/index.ts +4 -0
  63. package/src/components/index.ts +12 -0
  64. package/src/components/lists/DActionsFan.vue +153 -0
  65. package/src/components/lists/DActionsList.vue +100 -0
  66. package/src/components/lists/index.ts +4 -0
  67. package/src/components/utils/DWrapBackground.vue +76 -0
  68. package/src/components/utils/DWrapFocusHighlight.vue +241 -0
  69. package/src/components/utils/DWrapShape.vue +170 -0
  70. package/src/components/utils/index.ts +7 -0
  71. package/src/composables/big-bang-button-utils.ts +7 -0
  72. package/src/composables/index.ts +2 -0
  73. package/src/composables/router.ts +66 -0
  74. package/src/composables/utils.ts +5 -0
  75. package/src/index.ts +3 -0
  76. package/src/style.css +3 -0
  77. package/src/utils/boundings.ts +35 -0
  78. package/src/utils/index.ts +3 -0
  79. package/src/utils/pagination.ts +4 -0
  80. package/src/utils/polygon-animation.ts +139 -0
  81. package/src/vite-env.d.ts +1 -0
  82. package/tailwind.config.js +22 -0
  83. package/tsconfig.json +25 -0
  84. package/tsconfig.node.json +10 -0
  85. package/vite.config.ts +35 -0
@@ -0,0 +1,17 @@
1
+ (function(E,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],c):(E=typeof globalThis<"u"?globalThis:E||self,c(E.EspritDesign={},E.Vue))})(this,function(E,c){"use strict";const ts={name:"DChip"},Cc="",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 c.openBlock(),c.createElementBlock("span",es,[c.renderSlot(r.$slots,"default")])}const is=Ke(ts,[["render",ns]]),oe=/^[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(),l=i.pop(),u={provider:i.length>0?i[0]:n,prefix:l,name:a};return t&&!ve(u)?null:u}const s=i[0],o=s.split("-");if(o.length>1){const a={provider:n,prefix:o.shift(),name:o.join("-")};return t&&!ve(a)?null:a}if(e&&n===""){const a={provider:n,prefix:"",name:s};return t&&!ve(a,e)?null:a}return null},ve=(r,t)=>r?!!((r.provider===""||r.provider.match(oe))&&(t&&r.prefix===""||r.prefix.match(oe))&&r.name.match(oe)):!1,ii=Object.freeze({left:0,top:0,width:16,height:16}),Ee=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),De=Object.freeze({...ii,...Ee}),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 Ee?n in r&&!(n in e)&&(e[n]=Ee[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,l=a&&s(a);l&&(i[o]=[a].concat(l))}return i[o]}return(t||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(oe)||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(oe)||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 ae=!1;function li(r){return typeof r=="boolean"&&(ae=r),ae}function us(r){const t=typeof r=="string"?Pe(r,!0,ae):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 fs(r,t){const e=Pe(r,!0,ae);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||""),ae&&!t&&!r.prefix){let i=!1;return oi(r)&&(r.prefix="",si(r,(s,o)=>{o&&fs(s,o)&&(i=!0)})),i}const e=r.prefix;if(!ve({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}),ui=Object.freeze({...ci,...Ee}),ds=/(-?[0-9.]*[0-9]+[0-9.]*)/g,_s=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function fi(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}}const ps=r=>r==="unset"||r==="undefined"||r==="none";function ms(r,t){const e={...De,...r},n={...ui,...t},i={left:e.left,top:e.top,width:e.width,height:e.height};let s=e.body;[e,n].forEach(g=>{const h=[],m=g.hFlip,b=g.vFlip;let y=g.rotate;m?b?y+=2:(h.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),h.push("scale(-1 1)"),i.top=i.left=0):b&&(h.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),h.push("scale(1 -1)"),i.top=i.left=0);let x;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:x=i.height/2+i.top,h.unshift("rotate(90 "+x.toString()+" "+x.toString()+")");break;case 2:h.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:x=i.width/2+i.left,h.unshift("rotate(-90 "+x.toString()+" "+x.toString()+")");break}y%2===1&&(i.left!==i.top&&(x=i.left,i.left=i.top,i.top=x),i.width!==i.height&&(x=i.width,i.width=i.height,i.height=x)),h.length&&(s='<g transform="'+h.join(" ")+'">'+s+"</g>")});const o=n.width,a=n.height,l=i.width,u=i.height;let f,d;o===null?(d=a===null?"1em":a==="auto"?u:a,f=fi(d,l/u)):(f=o==="auto"?l:o,d=a===null?fi(f,u/l):a==="auto"?u:a);const _={},p=(g,h)=>{ps(h)||(_[g]=h.toString())};return p("width",f),p("height",d),_.viewBox=i.left.toString()+" "+i.top.toString()+" "+l.toString()+" "+u.toString(),{attributes:_,body:s}}const gs=/\sid="(\S+)"/g,ys="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let xs=0;function bs(r,t=ys){const e=[];let n;for(;n=gs.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+(xs++).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 ks(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),le=["https://api.simplesvg.com","https://api.unisvg.com"],Be=[];for(;le.length>0;)le.length===1||Math.random()>.5?Be.push(le.shift()):Be.push(le.pop());rn[""]=nn({resources:["https://api.iconify.design"].concat(Be)});function ws(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 Ss(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 Cs(r){return r===404}const Ts=(r,t,e)=>{const n=[],i=Ss(r,t),s="icons";let o={type:s,provider:r,prefix:t,icons:[]},a=0;return e.forEach((l,u)=>{a+=l.length+1,a>=i&&u>0&&(n.push(o),o={type:s,provider:r,prefix:t,icons:[]},a=l.length),o.icons.push(l)}),n.push(o),n};function Ps(r){if(typeof r=="string"){const t=sn(r);if(t)return t.path}return"/"}const vs={prepare:Ts,send:(r,t,e)=>{if(!hi){e("abort",424);return}let n=Ps(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});n+=s+".json?"+l.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(Cs(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 Es(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,l=e[s]||(e[s]=Object.create(null)),u=l[o]||(l[o]=Nt(s,o));let f;a in u.icons?f=t.loaded:o===""||u.missing.has(a)?f=t.missing:f=t.pending;const d={provider:s,prefix:o,name:a};f.push(d)}),t}function di(r,t){r.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(i=>i.id!==t))})}function Ds(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(l=>{if(l.prefix!==i)return!0;const u=l.name;if(r.icons[u])o.loaded.push({provider:n,prefix:i,name:u});else if(r.missing.has(u))o.missing.push({provider:n,prefix:i,name:u});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 Bs=0;function Ms(r,t,e){const n=Bs++,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 Os(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 Ns={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function As(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 T=Math.floor(Math.random()*S.length);o.push(S[T]),S=S.slice(0,T).concat(S.slice(T+1))}o=o.concat(S)}else o=r.resources.slice(s).concat(r.resources.slice(0,s));const a=Date.now();let l="pending",u=0,f,d=null,_=[],p=[];typeof n=="function"&&p.push(n);function g(){d&&(clearTimeout(d),d=null)}function h(){l==="pending"&&(l="aborted"),g(),_.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),_=[]}function m(S,T){T&&(p=[]),typeof S=="function"&&p.push(S)}function b(){return{startTime:a,payload:t,status:l,queriesSent:u,queriesPending:_.length,subscribe:m,abort:h}}function y(){l="failed",p.forEach(S=>{S(void 0,f)})}function x(){_.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),_=[]}function k(S,T,P){const C=T!=="success";switch(_=_.filter(v=>v!==S),l){case"pending":break;case"failed":if(C||!r.dataAfterTimeout)return;break;default:return}if(T==="abort"){f=P,y();return}if(C){f=P,_.length||(o.length?w():y());return}if(g(),x(),!r.random){const v=r.resources.indexOf(S.resource);v!==-1&&v!==r.index&&(r.index=v)}l="completed",p.forEach(v=>{v(P)})}function w(){if(l!=="pending")return;g();const S=o.shift();if(S===void 0){if(_.length){d=setTimeout(()=>{g(),l==="pending"&&(x(),y())},r.timeout);return}y();return}const T={status:"pending",resource:S,callback:(P,C)=>{k(T,P,C)}};_.push(T),u++,d=setTimeout(w,r.rotate),e(S,t,T.callback)}return setTimeout(w),b}function _i(r){const t={...Ns,...r};let e=[];function n(){e=e.filter(a=>a().status==="pending")}function i(a,l,u){const f=As(t,a,l,(d,_)=>{n(),u&&u(d,_)});return e.push(f),f}function s(a){return e.find(l=>a(l))||null}return{query:i,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:n}}function pi(){}const on=Object.create(null);function Vs(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 $s(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=Vs(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",ce="iconify",gi=ce+"-count",yi=ce+"-version",xi=36e5,Fs=168;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 un(r){return parseInt(an(r,gi))||0}const Me={local:!0,session:!0},ki={local:new Set,session:new Set};let fn=!1;function Is(r){fn=r}let Oe=typeof window>"u"?{}:window;function wi(r){const t=r+"Storage";try{if(Oe&&Oe[t]&&typeof Oe[t].length=="number")return Oe[t]}catch{}Me[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=un(e);for(let l=0;l<a;l++)bi(e,ce+l.toString())}ln(e,yi,mi),cn(e,0);return}const i=Math.floor(Date.now()/xi)-Fs,s=a=>{const l=ce+a.toString(),u=an(e,l);if(typeof u=="string"){try{const f=JSON.parse(u);if(typeof f=="object"&&typeof f.cached=="number"&&f.cached>i&&typeof f.provider=="string"&&typeof f.data=="object"&&typeof f.data.prefix=="string"&&t(f,a))return!0}catch{}bi(e,l)}};let o=un(e);for(let a=o-1;a>=0;a--)s(a)||(a===o-1?(o--,cn(e,o)):ki[r].add(a))}function Ci(){if(!fn){Is(!0);for(const r in Me)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 Ls(r,t){const e=r.lastModifiedCached;if(e&&e>=t)return e===t;if(r.lastModifiedCached=t,e)for(const n in Me)Si(n,i=>{const s=i.data;return i.provider!==r.provider||s.prefix!==r.prefix||s.lastModified===t});return!0}function Rs(r,t){fn||Ci();function e(n){let i;if(!Me[n]||!(i=wi(n)))return;const s=ki[n];let o;if(s.size)s.delete(o=Array.from(s).shift());else if(o=un(i),!cn(i,o+1))return;const a={cached:Math.floor(Date.now()/xi),provider:r.provider,data:t};return ln(i,ce+o.toString(),JSON.stringify(a))}t.lastModified&&!Ls(r,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),e("local")||e("session"))}function Ti(){}function zs(r){r.iconsLoaderFlag||(r.iconsLoaderFlag=!0,setTimeout(()=>{r.iconsLoaderFlag=!1,Ds(r)}))}function Us(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=>{$s(e,a,l=>{if(typeof l!="object")a.icons.forEach(u=>{r.missing.add(u)});else try{const u=Je(r,l);if(!u.length)return;const f=r.pendingIcons;f&&u.forEach(d=>{f.delete(d)}),Rs(r,l)}catch(u){console.error(u)}zs(r)})})}))}const js=(r,t)=>{const e=Os(r,!0,li()),n=Es(e);if(!n.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(n.loaded,n.missing,n.pending,Ti)}),()=>{l=!1}}const i=Object.create(null),s=[];let o,a;return n.pending.forEach(l=>{const{provider:u,prefix:f}=l;if(f===a&&u===o)return;o=u,a=f,s.push(Nt(u,f));const d=i[u]||(i[u]=Object.create(null));d[f]||(d[f]=[])}),n.pending.forEach(l=>{const{provider:u,prefix:f,name:d}=l,_=Nt(u,f),p=_.pendingIcons||(_.pendingIcons=new Set);p.has(d)||(p.add(d),i[u][f].push(d))}),s.forEach(l=>{const{provider:u,prefix:f}=l;i[u][f].length&&Us(l,i[u][f])}),t?Ms(t,n,s):Ti};function Ws(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 qs=/[\s,]+/;function Ys(r,t){t.split(qs).forEach(e=>{switch(e.trim()){case"horizontal":r.hFlip=!0;break;case"vertical":r.vFlip=!0;break}})}function Xs(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 Gs(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 Hs(r){return r.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Ks(r){return"data:image/svg+xml,"+Hs(r)}function Qs(r){return'url("'+Ks(r)+'")'}const Pi={...ui,inline:!1},Zs={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Js={display:"inline-block"},hn={backgroundColor:"currentColor"},vi={backgroundColor:"transparent"},Ei={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Di={webkitMask:hn,mask:hn,background:vi};for(const r in Di){const t=Di[r];for(const e in Ei)t[r+e]=Ei[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 Bi(r){return r+(r.match(/^[-0-9.]+$/)?"px":"")}const Mi=(r,t)=>{const e=Ws(Pi,t),n={...Zs},i=t.mode||"svg",s={},o=t.style,a=typeof o=="object"&&!(o instanceof Array)?o:{};for(let h in t){const m=t[h];if(m!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":e[h]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&Ys(e,m);break;case"color":s.color=m;break;case"rotate":typeof m=="string"?e[h]=Xs(m):typeof m=="number"&&(e[h]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete n["aria-hidden"];break;default:{const b=Ne[h];b?(m===!0||m==="true"||m===1)&&(e[b]=!0):Pi[h]===void 0&&(n[h]=m)}}}const l=ms(r,e),u=l.attributes;if(e.inline&&(s.verticalAlign="-0.125em"),i==="svg"){n.style={...s,...a},Object.assign(n,u);let h=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),n.innerHTML=bs(l.body,m?()=>m+"ID"+h++:"iconifyVue"),c.h("svg",n)}const{body:f,width:d,height:_}=r,p=i==="mask"||(i==="bg"?!1:f.indexOf("currentColor")!==-1),g=Gs(f,{...u,width:d+"",height:_+""});return n.style={...s,"--svg":Qs(g),width:Bi(u.width),height:Bi(u.height),...Js,...p?hn:vi,...a},c.h("span",n)};if(li(!0),ks("",vs),typeof document<"u"&&typeof window<"u"){Ci();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;ws(e,i)||console.error(n)}catch{console.error(n)}}}}const to={...De,body:""},Gt=c.defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,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=us(e);if(!n)return(!this._loadingIcon||this._loadingIcon.name!==r)&&(this.abortLoading(),this._name="",n!==null&&(this._loadingIcon={name:r,abort:js([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?this.getIcon(r.icon,r.onLoad):null;if(!t)return Mi(to,r);let e=r;return t.classes&&(e={...r,class:(typeof r.class=="string"?r.class+" ":"")+t.classes.join(" ")}),Mi({...De,...t.data},e)}});function Oi(r,t){return t===1?r:`${r}/${t}`}const Ni=()=>({getLinkToPaginatedPage:Oi}),eo={class:"d-shape"},no={class:"d-shape__bg-wrapper"},io={name:"DWrapShape"},ot=c.defineComponent({...io,props:{shapeClass:{},shapeStyle:{},filterClass:{},filterStyle:{},tag:{}},setup(r){return(t,e)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.tag??"div"),null,{default:c.withCtx(()=>[c.createElementVNode("div",eo,[c.createElementVNode("div",{class:c.normalizeClass(["d-shape__bg-filter",t.filterClass]),style:c.normalizeStyle(t.filterStyle)},[c.createElementVNode("div",no,[c.createElementVNode("div",{class:c.normalizeClass(["d-shape__bg",t.shapeClass]),style:c.normalizeStyle(t.shapeStyle)},[c.renderSlot(t.$slots,"shape-content")],6),c.renderSlot(t.$slots,"bg-overlay")])],6),c.renderSlot(t.$slots,"default")])]),_:3}))}}),vc="",Ec="",ro={key:0,class:"d-focus-hl__hl--negative-tile"},so={key:2,class:"d-focus-hl__hl--negative-list-item"},oo=c.createElementVNode("div",{class:"d-focus-hl__hl--negative-list-item"},null,-1),ao={name:"DWrapFocusHighlight",components:{DWrapShape:ot}},ue=c.defineComponent({...ao,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=c.computed(()=>t.to||t.href?resolveComponent("NuxtLink"):t.tag);return(n,i)=>(c.openBlock(),c.createBlock(ot,null,{default:c.withCtx(()=>[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.value),c.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:c.withCtx(()=>[r.variant==="negative-tile"?(c.openBlock(),c.createElementBlock("div",ro)):r.variant==="list-item"?(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(["d-focus-hl__hl--list-item",r.colorClass])},null,2)):r.variant==="negative-list-item"?(c.openBlock(),c.createElementBlock("div",so)):r.variant==="composite-list-item"?(c.openBlock(),c.createElementBlock(c.Fragment,{key:3},[c.createElementVNode("div",{class:c.normalizeClass(["d-focus-hl__hl--list-item",r.colorClass])},null,2),oo],64)):c.createCommentVNode("",!0),c.renderSlot(n.$slots,"default")]),_:3},16,["class"]))]),_:3}))}}),Dc="",Bc="",Mc="";function Ai(r){const t=c.resolveDynamicComponent("RouterLink"),e=typeof defineNuxtLink=="function"?defineNuxtLink({componentName:"DNuxtLink"}):void 0,n=c.computed(()=>!!(r.href||r.to)),i=c.computed(()=>{if(!r.href)return!1;const s=r.href;return s.startsWith("http")||s.startsWith("mailto:")||s.startsWith("tel:")||s.startsWith("#")});return n.value?typeof e<"u"?{isLink:n,isExternalLink:i,linkComponent:e}:typeof t!="string"?{isLink:n,isExternalLink:i,linkComponent:t}:{isLink:n,isExternalLink:i,linkComponent:"a"}:{isLink:n,isExternalLink:i,linkComponent:r.tag||"span"}}const lo={name:"DBtn",components:{DWrapFocusHighlight:ue}},yt=c.defineComponent({...lo,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}=Ai(t);return(s,o)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(c.unref(e)),c.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"}]},t),{default:c.withCtx(()=>[c.createVNode(ue,{variant:r.highlight,"link-exact":r.exact,"no-passive-link":r.noPassiveHighlight||!c.unref(n)||c.unref(i),"color-class":r.colorClass,active:r.active},{default:c.withCtx(()=>[c.renderSlot(s.$slots,"default")]),_:3},8,["variant","link-exact","no-passive-link","color-class","active"])]),_:3},16,["class"]))}}),Oc="",co={class:"w-fit text-2xl font-bold"},uo={key:2,class:"mx-1"},fo={key:3,class:"mx-1"},ho={name:"DPagination",components:{DBtn:yt,Icon:Gt}},_o=c.defineComponent({...ho,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=c.computed(()=>Array.from({length:7},(s,o)=>o-3+t.currentPage).filter(s=>s>=1&&s<=t.allPages));return(s,o)=>(c.openBlock(),c.createElementBlock("nav",co,[r.currentPage>1?(c.openBlock(),c.createBlock(yt,{key:0,class:"inline-block mx-1",to:n(r.currentPage-1),"aria-label":"Previous page"},{default:c.withCtx(()=>[c.createVNode(c.unref(Gt),{icon:"ic:baseline-arrow-back-ios"})]),_:1},8,["to"])):c.createCommentVNode("",!0),i.value.includes(1)?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(yt,{key:1,class:"inline-block mx-1",to:n(1),"aria-label":"First page"},{default:c.withCtx(()=>[c.createTextVNode(" 1 ")]),_:1},8,["to"])),i.value.includes(1)?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("span",uo," ... ")),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(i.value,a=>(c.openBlock(),c.createBlock(yt,{key:a,class:"inline-block mx-1",to:n(a),"aria-label":`Page ${a}`},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(a),1)]),_:2},1032,["to","aria-label"]))),128)),i.value.includes(r.allPages)?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("span",fo," ... ")),i.value.includes(r.allPages)?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(yt,{key:4,class:"inline-block mx-1",to:n(r.allPages),"aria-label":`Last page (${r.allPages})`},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(r.allPages),1)]),_:1},8,["to","aria-label"])),r.currentPage<r.allPages?(c.openBlock(),c.createBlock(yt,{key:5,class:"inline-block mx-1",to:n(r.currentPage+1),"aria-label":"Next page"},{default:c.withCtx(()=>[c.createVNode(c.unref(Gt),{icon:"ic:baseline-arrow-forward-ios"})]),_:1},8,["to"])):c.createCommentVNode("",!0)]))}}),po={class:"max-w-full"},mo={class:"stats__print-value"},go={class:"stats__print-value__group-title"},yo={class:"stats__print-value--small"},xo={class:"stats"},bo={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg"},ko=c.createElementVNode("polygon",{points:"100,-350 1500,-500 1000,1350 -500,1500",class:"stats__bg"},null,-1),wo=["points"],So=["points"],Co={class:"stats__single-stat"},To=["points"],Po=["points"],vo={class:"stats__single-stat"},Eo=["points"],Do=["points"],Bo={class:"stats__single-stat"},Mo=["points"],Oo=["points"],No={class:"stats__single-stat"},Ao=["points"],Vo=["points"],$o={class:"stats__single-stat"},Fo=["points"],Io=["points"],Lo={class:"stats__images"},Ro={class:"stats__image"},zo={class:"stats__image"},Uo={class:"stats__image"},jo={class:"stats__image"},Wo={class:"stats__image"},qo={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg",class:"stats_titles-layer"},Yo={x:"-500",y:"-300",class:"stats__group-title"},Xo=["x","y","transform-origin"],Go={class:"stats__title__value"},Ho=["x","y","transform-origin"],Ko={class:"stats__title__value"},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={name:"DStats",components:{Icon:Gt}},ra=c.defineComponent({...ia,props:{groupTitle:{},titles:{},values:{}},setup(r){const t=r,e=c.ref([[500,0],[630,330],[980,350],[700,590],[790,910],[500,720],[210,910],[300,590],[20,350],[370,330]]),n=c.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(m){return m.map(b=>b.join(",")).join(" ")}function a(m,b,y=500,x=500){return m.map(k=>[k[0]-(k[0]-y)*(1-b),k[1]-(k[1]-x)*(1-b)])}const l=c.computed(()=>n.value.map(m=>a(e.value,m)));function u(m){return l.value[5-m]}function f(m){return{value:t.values?t.values[m]??1:1,title:t.titles?t.titles[m]??"":""}}const d=c.computed(()=>f(0)),_=c.computed(()=>f(1)),p=c.computed(()=>f(2)),g=c.computed(()=>f(3)),h=c.computed(()=>f(4));return(m,b)=>(c.openBlock(),c.createElementBlock("figure",po,[c.createElementVNode("div",mo,[c.createElementVNode("div",go,c.toDisplayString(m.groupTitle),1),c.createElementVNode("div",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(m.titles,(y,x)=>(c.openBlock(),c.createElementBlock("div",{key:y,class:"stats__print-value__skill"},[c.createElementVNode("div",null,c.toDisplayString(y),1),c.createElementVNode("div",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(m.values[x],k=>(c.openBlock(),c.createBlock(c.unref(Gt),{key:k,icon:"ic:sharp-star"}))),128)),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(5-m.values[x],k=>(c.openBlock(),c.createBlock(c.unref(Gt),{key:k,icon:"ic:sharp-star-border"}))),128))])]))),128))])]),c.createElementVNode("div",yo,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(m.titles,(y,x)=>(c.openBlock(),c.createElementBlock("span",{key:y,class:c.normalizeClass(["stats__print-value--small__skill",{"stats__print-value--small__skill--hidden":m.values[x]<3,"stats__print-value--small__skill--3":m.values[x]===3,"stats__print-value--small__skill--4":m.values[x]===4,"stats__print-value--small__skill--5":m.values[x]===5}])},c.toDisplayString(y),3))),128))]),c.createElementVNode("div",xo,[(c.openBlock(),c.createElementBlock("svg",bo,[ko,c.createElementVNode("polygon",{points:o(a(e.value,2)),class:"stats__bg-star--odd"},null,8,wo),c.createElementVNode("g",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(l.value,(y,x)=>(c.openBlock(),c.createElementBlock("polygon",{key:x,points:o(y),class:c.normalizeClass({"stats__bg-star--odd":x%2,"stats__bg-star--even":!(x%2)})},null,10,So))),128))]),c.createElementVNode("g",null,[c.createElementVNode("g",Co,[c.createElementVNode("polygon",{points:o([u(d.value.value)[i[1]],u(Math.min(d.value.value,h.value.value))[i["5-1"]],s]),class:"stats__star--dark"},null,8,To),c.createElementVNode("polygon",{points:o([u(d.value.value)[i[1]],u(Math.min(d.value.value,_.value.value))[i["1-2"]],s]),class:"stats__star--light"},null,8,Po)]),c.createElementVNode("g",vo,[c.createElementVNode("polygon",{points:o([u(_.value.value)[i[2]],u(Math.min(d.value.value,_.value.value))[i["1-2"]],s]),class:"stats__star--light"},null,8,Eo),c.createElementVNode("polygon",{points:o([u(_.value.value)[i[2]],u(Math.min(p.value.value,_.value.value))[i["2-3"]],s]),class:"stats__star--dark"},null,8,Do)]),c.createElementVNode("g",Bo,[c.createElementVNode("polygon",{points:o([u(p.value.value)[i[3]],u(Math.min(_.value.value,p.value.value))[i["2-3"]],s]),class:"stats__star--light"},null,8,Mo),c.createElementVNode("polygon",{points:o([u(p.value.value)[i[3]],u(Math.min(p.value.value,g.value.value))[i["3-4"]],s]),class:"stats__star--dark"},null,8,Oo)]),c.createElementVNode("g",No,[c.createElementVNode("polygon",{points:o([u(g.value.value)[i[4]],u(Math.min(p.value.value,g.value.value))[i["3-4"]],s]),class:"stats__star--light"},null,8,Ao),c.createElementVNode("polygon",{points:o([u(g.value.value)[i[4]],u(Math.min(g.value.value,h.value.value))[i["4-5"]],s]),class:"stats__star--dark"},null,8,Vo)]),c.createElementVNode("g",$o,[c.createElementVNode("polygon",{points:o([u(h.value.value)[i[5]],u(Math.min(g.value.value,h.value.value))[i["4-5"]],s]),class:"stats__star--dark"},null,8,Fo),c.createElementVNode("polygon",{points:o([u(h.value.value)[i[5]],u(Math.min(h.value.value,d.value.value))[i["5-1"]],s]),class:"stats__star--light"},null,8,Io)])])])),c.createElementVNode("div",Lo,[c.createElementVNode("div",Ro,[c.renderSlot(m.$slots,"icon-1")]),c.createElementVNode("div",zo,[c.renderSlot(m.$slots,"icon-2")]),c.createElementVNode("div",Uo,[c.renderSlot(m.$slots,"icon-3")]),c.createElementVNode("div",jo,[c.renderSlot(m.$slots,"icon-4")]),c.createElementVNode("div",Wo,[c.renderSlot(m.$slots,"icon-5")])]),(c.openBlock(),c.createElementBlock("svg",qo,[c.createElementVNode("text",Yo,c.toDisplayString(m.groupTitle),1),c.createElementVNode("g",null,[c.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"},[c.createTextVNode(c.toDisplayString(d.value.title)+" ",1),c.createElementVNode("tspan",Go,c.toDisplayString(d.value.value),1)],8,Xo),c.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"},[c.createTextVNode(c.toDisplayString(_.value.title)+" ",1),c.createElementVNode("tspan",Ko,c.toDisplayString(_.value.value),1)],8,Ho),c.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"},[c.createTextVNode(c.toDisplayString(p.value.title)+" ",1),c.createElementVNode("tspan",Zo,c.toDisplayString(p.value.value),1)],8,Qo),c.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"},[c.createTextVNode(c.toDisplayString(g.value.title)+" ",1),c.createElementVNode("tspan",ta,c.toDisplayString(g.value.value),1)],8,Jo),c.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"},[c.createTextVNode(c.toDisplayString(h.value.title)+" ",1),c.createElementVNode("tspan",na,c.toDisplayString(h.value.value),1)],8,ea)])]))])]))}}),Nc="",Ac="",sa={name:"DAnimationDefLetterD"},oa={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 aa(r,t,e,n,i,s){return c.openBlock(),c.createElementBlock("path",oa)}const Ct=Ke(sa,[["render",aa]]),la=c.createElementVNode("use",{id:"d-accordion-section",href:"#d-letter",transform:"scale(0.33)"},null,-1),ca=c.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),ua={name:"DAnimationAccordion",components:{DAnimationDefLetterD:Ct}},fa=c.defineComponent({...ua,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(r){return(t,e)=>(c.openBlock(),c.createElementBlock("svg",{viewBox:"0 0 630 210",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-accordion",style:c.normalizeStyle({"--d-accordion-wiggle-period":r.wigglePeriod+"s","--d-accordion-delay":r.delay+"s"})},[c.createElementVNode("defs",null,[c.createVNode(Ct,{id:"d-letter"}),la]),ca],4))}}),Vc="",ha={name:"DAnimationFloatingLetter",components:{DAnimationDefLetterD:Ct}},da=c.defineComponent({...ha,props:{floatPeriod:{type:Number,default:5},pathClass:{type:[String,Object],default:""}},setup(r){return(t,e)=>(c.openBlock(),c.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:c.normalizeStyle({"--d-floating-letter-float-period":r.floatPeriod+"s"})},[c.createVNode(Ct,{class:c.normalizeClass(["d-animation-floating-letter",r.pathClass])},null,8,["class"])],4))}}),$c="",_a=c.createElementVNode("use",{id:"d-hypnosis-section",href:"#d-letter"},null,-1),pa=c.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),ma={name:"DAnimationHypnosis",components:{DAnimationDefLetterD:Ct}},ga=c.defineComponent({...ma,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(r){return(t,e)=>(c.openBlock(),c.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-hypnosis",style:c.normalizeStyle({"--d-hypnosis-wiggle-period":r.wigglePeriod+"s","--d-hypnosis-delay":r.delay+"s"})},[c.createElementVNode("defs",null,[c.createVNode(Ct,{id:"d-letter"}),_a]),pa],4))}}),Fc="",ya={name:"DAnimationSpinner",components:{DAnimationDefLetterD:Ct}},xa=c.defineComponent({...ya,props:{spinPeriod:{type:Number,default:10},bladeWigglePeriod:{type:Number,default:5}},setup(r){const t="315 315";return(e,n)=>(c.openBlock(),c.createElementBlock("svg",{class:"spinner",viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:c.normalizeStyle({"--d-spinner-spin-period":r.spinPeriod+"s","--d-spinner-blade-wiggle-period":r.bladeWigglePeriod+"s"})},[c.createElementVNode("defs",null,[c.createVNode(Ct,{id:"d-letter"}),c.createElementVNode("use",{id:"d-spinner-blade",href:"#d-letter",class:"d-animation-spinner__blade","transform-origin":t}),c.createElementVNode("g",{id:"spinner",class:"d-animation-spinner__spinner","transform-origin":t},[c.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(0)","transform-origin":t}),c.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(120)","transform-origin":t}),c.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(240)","transform-origin":t})])]),c.createElementVNode("use",{href:"#spinner",transform:"translate( -20 20 )",class:"d-animation-spinner__background","transform-origin":t}),c.createElementVNode("use",{href:"#spinner",class:"d-animation-spinner__foreground","transform-origin":t})],4))}}),Ic="";function xt(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Vi(r,t){r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.__proto__=t}/*!
2
+ * GSAP 3.12.2
3
+ * https://greensock.com
4
+ *
5
+ * @license Copyright 2008-2023, GreenSock. All rights reserved.
6
+ * Subject to the terms at https://greensock.com/standard-license or for
7
+ * Club GreenSock 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:""}},Ht={duration:.5,overwrite:!1,delay:0},dn,X,$,at=1e8,M=1/at,_n=Math.PI*2,ba=_n/4,ka=0,$i=Math.sqrt,wa=Math.cos,Sa=Math.sin,q=function(t){return typeof t=="string"},F=function(t){return typeof t=="function"},bt=function(t){return typeof t=="number"},pn=function(t){return typeof t>"u"},_t=function(t){return typeof t=="object"},Q=function(t){return t!==!1},mn=function(){return typeof window<"u"},Ae=function(t){return F(t)||q(t)},Fi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},G=Array.isArray,gn=/(?:-?\.?\d|\.)+/gi,Ii=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Kt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,yn=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Li=/[+-]=-?[.\d]+/,Ri=/[^,'"\[\]\s]+/gi,Ca=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,N,lt,xn,bn,it={},Ve={},zi,Ui=function(t){return(Ve=Vt(t,it))&&et},kn=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},$e=function(t,e){return!e&&console.warn(t)},ji=function(t,e){return t&&(it[t]=e)&&Ve&&(Ve[t]=e)||it},fe=function(){return 0},Ta={suppressEvents:!0,isStart:!0,kill:!1},Fe={suppressEvents:!0,kill:!1},Pa={suppressEvents:!0},wn={},Tt=[],Sn={},Wi,rt={},Cn={},qi=30,Ie=[],Tn="",Pn=function(t){var e=t[0],n,i;if(_t(e)||F(e)||(t=[t]),!(n=(e._gsap||{}).harness)){for(i=Ie.length;i--&&!Ie[i].targetTest(e););n=Ie[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},At=function(t){return t._gsap||Pn(ft(t))[0]._gsap},Yi=function(t,e,n){return(n=t[e])&&F(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},Y=function(t){return Math.round(t*1e7)/1e7||0},Qt=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},va=function(t,e){for(var n=e.length,i=0;t.indexOf(e[i])<0&&++i<n;);return i<n},Le=function(){var t=Tt.length,e=Tt.slice(0),n,i;for(Sn={},Tt.length=0,n=0;n<t;n++)i=e[n],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Xi=function(t,e,n,i){Tt.length&&!X&&Le(),t.render(e,n,i||X&&e<0&&(t._initted||t._startAt)),Tt.length&&!X&&Le()},Gi=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(Ri).length<2?e:q(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},Ea=function(t){return function(e,n){for(var i in n)i in e||i==="duration"&&t||i==="ease"||(e[i]=n[i])}},Vt=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]=_t(e[n])?r(t[n]||(t[n]={}),e[n]):e[n]);return t},Re=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,n=t.keyframes?Ea(G(t.keyframes)):ct;if(Q(t.inherit))for(;e;)n(t,e.vars.defaults),e=e.parent||e._dp;return t},Da=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){n===void 0&&(n="_first"),i===void 0&&(i="_last");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},ze=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},Ba=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},vn=function(t,e,n,i){return t._startAt&&(X?t._startAt.revert(Fe):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},Ma=function r(t){return!t||t._ts&&r(t.parent)},Zi=function(t){return t._repeat?Zt(t._tTime,t=t.duration()+t._rDelay)*t:0},Zt=function(t,e){var n=Math.floor(t/=e);return t&&n===t?n-1:n},Ue=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=Y(t._start+(t._tDur/Math.abs(t._ts||t._rts||M)||0))},We=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=Y(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=Ue(t.rawTime(),e),(!e._dur||_e(0,e.totalDuration(),n)-e._tTime>M)&&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=-M}},pt=function(t,e,n,i){return e.parent&&Pt(e),e._start=Y((bt(n)?n:n||t!==N?ut(t,n,e):t._time)+e._delay),e._end=Y(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Qi(t,e,"_first","_last",t._sort?"_start":0),En(e)||(t._recent=e),i||Ji(t,e),t._ts<0&&We(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&&!X&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&Wi!==st.frame)return Tt.push(t),t._lazy=[s,i],1},Oa=function r(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||r(e))},En=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},Na=function(t,e,n,i){var s=t.ratio,o=e<0||!e&&(!t._start&&Oa(t)&&!(!t._initted&&En(t))||(t._ts<0||t._dp._ts<0)&&!En(t))?0:1,a=t._rDelay,l=0,u,f,d;if(a&&t._repeat&&(l=_e(0,t._tDur,e),f=Zt(l,a),t._yoyo&&f&1&&(o=1-o),f!==Zt(t._tTime,a)&&(s=1-o,t.vars.repeatRefresh&&t._initted&&t.invalidate())),o!==s||X||i||t._zTime===M||!e&&t._zTime){if(!t._initted&&er(t,e,i,n,l))return;for(d=t._zTime,t._zTime=e||(n?M:0),n||(n=e&&!d),t.ratio=o,t._from&&(o=1-o),t._time=0,t._tTime=l,u=t._pt;u;)u.r(o,u.d),u=u._next;e<0&&vn(t,e,n,!0),t._onUpdate&&!n&&ht(t,"onUpdate"),l&&t._repeat&&!n&&t.parent&&ht(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===o&&(o&&Pt(t,1),!n&&!X&&(ht(t,o?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},Aa=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}},Jt=function(t,e,n,i){var s=t._repeat,o=Y(e)||0,a=t._tTime/t._tDur;return a&&!i&&(t._time*=o/t._dur),t._dur=o,t._tDur=s?s<0?1e10:Y(o*(s+1)+t._rDelay*s):o,a>0&&!i&&We(t,t._tTime=t._tDur*a),t.parent&&je(t),n||$t(t.parent,t),t},nr=function(t){return t instanceof J?$t(t):Jt(t,t._dur)},Va={_start:0,endTime:fe,totalDuration:fe},ut=function r(t,e,n){var i=t.labels,s=t._recent||Va,o=t.duration()>=at?s.endTime(!1):t._dur,a,l,u;return q(e)&&(isNaN(e)||e in i)?(l=e.charAt(0),u=e.substr(-1)==="%",a=e.indexOf("="),l==="<"||l===">"?(a>=0&&(e=e.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(e.substr(1))||0)*(u?(a<0?s:n).totalDuration()/100:1)):a<0?(e in i||(i[e]=o),i[e]):(l=parseFloat(e.charAt(a-1)+e.substr(a+1)),u&&n&&(l=l/100*(G(n)?n[0]:n).totalDuration()),a>1?r(t,e.substr(0,a-1),n)+l:o+l)):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,l;if(i&&(o.duration=e[1]),o.parent=n,t){for(a=o,l=n;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=Q(l.vars.inherit)&&l.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])},vt=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!q(t)||!(e=Ca.exec(t))?"":e[1]},$a=function(t,e,n){return vt(n,function(i){return _e(t,e,i)})},Dn=[].slice,ir=function(t,e){return t&&_t(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&_t(t[0]))&&!t.nodeType&&t!==lt},Fa=function(t,e,n){return n===void 0&&(n=[]),t.forEach(function(i){var s;return q(i)&&!e||ir(i,1)?(s=n).push.apply(s,ft(i)):n.push(i)})||n},ft=function(t,e,n){return $&&!e&&$.selector?$.selector(t):q(t)&&!n&&(xn||!ee())?Dn.call((e||bn).querySelectorAll(t),0):G(t)?Fa(t,n):ir(t)?Dn.call(t,0):t?[t]:[]},Bn=function(t){return t=ft(t)[0]||$e("Invalid scope")||{},function(e){var n=t.current||t.nativeElement||t;return ft(e,n.querySelectorAll?n:n===t?$e("Invalid scope")||bn.createElement("div"):t)}},rr=function(t){return t.sort(function(){return .5-Math.random()})},sr=function(t){if(F(t))return t;var e=_t(t)?t:{each:t},n=Ft(e.ease),i=e.from||0,s=parseFloat(e.base)||0,o={},a=i>0&&i<1,l=isNaN(i)||a,u=e.axis,f=i,d=i;return q(i)?f=d={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(f=i[0],d=i[1]),function(_,p,g){var h=(g||e).length,m=o[h],b,y,x,k,w,S,T,P,C;if(!m){if(C=e.grid==="auto"?0:(e.grid||[1,at])[1],!C){for(T=-at;T<(T=g[C++].getBoundingClientRect().left)&&C<h;);C--}for(m=o[h]=[],b=l?Math.min(C,h)*f-.5:i%C,y=C===at?0:l?h*d/C-.5:i/C|0,T=0,P=at,S=0;S<h;S++)x=S%C-b,k=y-(S/C|0),m[S]=w=u?Math.abs(u==="y"?k:x):$i(x*x+k*k),w>T&&(T=w),w<P&&(P=w);i==="random"&&rr(m),m.max=T-P,m.min=P,m.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(C>h?h-1:u?u==="y"?h/C:C:Math.max(C,h/C))||0)*(i==="edges"?-1:1),m.b=h<0?s-h:s,m.u=H(e.amount||e.each)||0,n=n&&h<0?gr(n):n}return h=(m[_]-m.min)/m.max||0,Y(m.b+(n?n(h):h)*m.v)+m.u}},Mn=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var i=Y(Math.round(parseFloat(n)/t)*t*e);return(i-i%1)/e+(bt(n)?0:H(n))}},or=function(t,e){var n=G(t),i,s;return!n&&_t(t)&&(i=n=t.radius||at,t.values?(t=ft(t.values),(s=!bt(t[0]))&&(i*=i)):t=Mn(t.increment)),vt(e,n?F(t)?function(o){return s=t(o),Math.abs(s-o)<=i?s:o}:function(o){for(var a=parseFloat(s?o.x:o),l=parseFloat(s?o.y:0),u=at,f=0,d=t.length,_,p;d--;)s?(_=t[d].x-a,p=t[d].y-l,_=_*_+p*p):_=Math.abs(t[d]-a),_<u&&(u=_,f=d);return f=!i||u<=i?t[f]:o,s||f===o||bt(o)?f:f+H(o)}:Mn(t))},ar=function(t,e,n,i){return vt(G(t)?!e:n===!0?!!(n=0):!i,function(){return G(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})},Ia=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)}},La=function(t,e){return function(n){return t(parseFloat(n))+(e||H(n))}},Ra=function(t,e,n){return cr(t,e,0,1,n)},lr=function(t,e,n){return vt(n,function(i){return t[~~e(i)]})},za=function r(t,e,n){var i=e-t;return G(t)?lr(t,r(0,t.length),e):vt(n,function(s){return(i+(s-t)%i)%i+t})},Ua=function r(t,e,n){var i=e-t,s=i*2;return G(t)?lr(t,r(0,t.length-1),e):vt(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 vt(s,function(l){return n+((l-t)/o*a||0)})},ja=function r(t,e,n,i){var s=isNaN(t+e)?0:function(p){return(1-p)*t+p*e};if(!s){var o=q(t),a={},l,u,f,d,_;if(n===!0&&(i=1)&&(n=null),o)t={p:t},e={p:e};else if(G(t)&&!G(e)){for(f=[],d=t.length,_=d-2,u=1;u<d;u++)f.push(r(t[u-1],t[u]));d--,s=function(g){g*=d;var h=Math.min(_,~~g);return f[h](g-h)},n=e}else i||(t=Vt(G(t)?[]:{},t));if(!f){for(l in e)Vn.call(a,t,l,"get",e[l]);s=function(g){return Rn(g,a)||(o?t.p:t)}}}return vt(n,s)},ur=function(t,e,n){var i=t.labels,s=at,o,a,l;for(o in i)a=i[o]-e,a<0==!!n&&a&&s>(a=Math.abs(a))&&(l=o,s=a);return l},ht=function(t,e,n){var i=t.vars,s=i[e],o=$,a=t._ctx,l,u,f;if(s)return l=i[e+"Params"],u=i.callbackScope||t,n&&Tt.length&&Le(),a&&($=a),f=l?s.apply(u,l):s.call(u),$=o,f},me=function(t){return Pt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!X),t.progress()<1&&ht(t,"onInterrupt"),t},te,fr=[],hr=function(t){if(mn()&&t){t=!t.name&&t.default||t;var e=t.name,n=F(t),i=e&&!n&&t.init?function(){this._props=[]}:t,s={init:fe,render:Rn,add:Vn,kill:sl,modifier:rl,rawVars:0},o={targetTest:0,get:0,getSetter:Ln,aliases:{},register:0};if(ee(),t!==i){if(rt[e])return;ct(i,ct(Re(t,s),o)),Vt(i.prototype,Vt(s,Re(t,o))),rt[i.prop=e]=i,t.targetTest&&(Ie.push(i),wn[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ji(e,i),t.register&&t.register(et,i,tt)}else t&&fr.push(t)},O=255,ge={aqua:[0,O,O],lime:[0,O,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,O],navy:[0,0,128],white:[O,O,O],olive:[128,128,0],yellow:[O,O,0],orange:[O,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[O,0,0],pink:[O,192,203],cyan:[0,O,O],transparent:[O,O,O,0]},On=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)*O+.5|0},dr=function(t,e,n){var i=t?bt(t)?[t>>16,t>>8&O,t&O]:0:ge.black,s,o,a,l,u,f,d,_,p,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&O,i&O,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),i=[t>>16,t>>8&O,t&O]}else if(t.substr(0,3)==="hsl"){if(i=g=t.match(gn),!e)l=+i[0]%360/360,u=+i[1]/100,f=+i[2]/100,o=f<=.5?f*(u+1):f+u-f*u,s=f*2-o,i.length>3&&(i[3]*=1),i[0]=On(l+1/3,s,o),i[1]=On(l,s,o),i[2]=On(l-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]/O,o=i[1]/O,a=i[2]/O,d=Math.max(s,o,a),_=Math.min(s,o,a),f=(d+_)/2,d===_?l=u=0:(p=d-_,u=f>.5?p/(2-d-_):p/(d+_),l=d===s?(o-a)/p+(o<a?6:0):d===o?(a-s)/p+2:(s-o)/p+4,l*=60),i[0]=~~(l+.5),i[1]=~~(u*100+.5),i[2]=~~(f*100+.5)),n&&i.length<4&&(i[3]=1),i},_r=function(t){var e=[],n=[],i=-1;return t.split(Et).forEach(function(s){var o=s.match(Kt)||[];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(Et),o=e?"hsla(":"rgba(",a=0,l,u,f,d;if(!s)return t;if(s=s.map(function(_){return(_=dr(_,e,1))&&o+(e?_[0]+","+_[1]+"%,"+_[2]+"%,"+_[3]:_.join(","))+")"}),n&&(f=_r(t),l=n.c,l.join(i)!==f.c.join(i)))for(u=t.replace(Et,"1").split(Kt),d=u.length-1;a<d;a++)i+=u[a]+(~l.indexOf(a)?s.shift()||o+"0,0,0,0)":(f.length?f:s.length?s:n).shift());if(!u)for(u=t.split(Et),d=u.length-1;a<d;a++)i+=u[a]+s[a];return i+u[d]},Et=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")}(),Wa=/hsl[a]?\(/,mr=function(t){var e=t.join(" "),n;if(Et.lastIndex=0,Et.test(e))return n=Wa.test(e),t[1]=pr(t[1],n),t[0]=pr(t[0],n,_r(t[1])),!0},ye,st=function(){var r=Date.now,t=500,e=33,n=r(),i=n,s=1e3/240,o=s,a=[],l,u,f,d,_,p,g=function h(m){var b=r()-i,y=m===!0,x,k,w,S;if(b>t&&(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||(l=u(h)),k)for(p=0;p<a.length;p++)a[p](w,_,S,m)};return d={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(m){return _/(1e3/(m||60))},wake:function(){zi&&(!xn&&mn()&&(lt=xn=window,bn=lt.document||{},it.gsap=et,(lt.gsapVersions||(lt.gsapVersions=[])).push(et.version),Ui(Ve||lt.GreenSockGlobals||!lt.gsap&&lt||{}),f=lt.requestAnimationFrame,fr.forEach(hr)),l&&d.sleep(),u=f||function(m){return setTimeout(m,o-d.time*1e3+1|0)},ye=1,g(2))},sleep:function(){(f?lt.cancelAnimationFrame:clearTimeout)(l),ye=0,u=fe},lagSmoothing:function(m,b){t=m||1/0,e=Math.min(b||33,t)},fps:function(m){s=1e3/(m||240),o=d.time*1e3+s},add:function(m,b,y){var x=b?function(k,w,S,T){m(k,w,S,T),d.remove(x)}:m;return d.remove(m),a[y?"unshift":"push"](x),ee(),x},remove:function(m,b){~(b=a.indexOf(m))&&a.splice(b,1)&&p>=b&&p--},_listeners:a},d}(),ee=function(){return!ye&&st.wake()},D={},qa=/^[\d.\-M][\d.\-,\s]/,Ya=/["']/g,Xa=function(t){for(var e={},n=t.substr(1,t.length-3).split(":"),i=n[0],s=1,o=n.length,a,l,u;s<o;s++)l=n[s],a=s!==o-1?l.lastIndexOf(","):l.length,u=l.substr(0,a),e[i]=isNaN(u)?u.replace(Ya,"").trim():+u,i=l.substr(a+1).trim();return e},Ga=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)},Ha=function(t){var e=(t+"").split("("),n=D[e[0]];return n&&e.length>1&&n.config?n.config.apply(null,~t.indexOf("{")?[Xa(e[1])]:Ga(t).split(",").map(Gi)):D._CE&&qa.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 J?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&&(F(t)?t:D[t]||Ha(t))||e},It=function(t,e,n,i){n===void 0&&(n=function(l){return 1-e(1-l)}),i===void 0&&(i=function(l){return l<.5?e(l*2)/2:1-e((1-l)*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 l in s)D[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=D[a+"."+l]=s[l]}),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(f){return f===1?1:i*Math.pow(2,-10*f)*Sa((f-o)*s)+1},l=t==="out"?a:t==="in"?function(u){return 1-a(1-u)}:xr(a);return s=_n/s,l.config=function(u,f){return r(t,u,f)},l},An=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:-wa(r*ba)+1}),It("Back",An("in"),An("out"),An()),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-M;return function(a){return((i*_e(0,o,a)|0)+s)*n}}},Ht.ease=D["quad.out"],Z("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(r){return Tn+=r+","+r+"Params,"});var br=function(t,e){this.id=ka++,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,Jt(this,+e.duration,1,1),this.data=e.data,$&&(this._ctx=$,$.data.push(this)),ye||st.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,Jt(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(n,i){if(ee(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(We(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)===M||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),Xi(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.ratio},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.ratio},t.iteration=function(n,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*s,i):this._repeat?Zt(this._tTime,s)+1:1},t.timeScale=function(n){if(!arguments.length)return this._rts===-M?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?Ue(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-M?0:this._rts,this.totalTime(_e(-Math.abs(this._delay),this._tDur,i),!0),je(this),Ba(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):(ee(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==M&&(this._tTime-=M)))),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?Ue(i.rawTime(n),this):this._tTime:this._tTime},t.revert=function(n){n===void 0&&(n=Pa);var i=X;return X=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),X=i,this},t.globalTime=function(n){for(var i=this,s=arguments.length?n:i.rawTime();i;)s=i._start+s/(i._ts||1),i=i._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0: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(ut(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?-M:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-M,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)-M)},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=F(n)?n:Hi,a=function(){var u=i.then;i.then=null,F(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=u),s(o),i.then=u};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:-M,_prom:0,_ps:!1,_rts:1});var J=function(r){Vi(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),N&&pt(n.parent||N,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,ut(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,l,u,f){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=u,o.onCompleteParams=f,o.parent=this,new R(i,o,ut(this,l)),this},e.staggerFrom=function(i,s,o,a,l,u,f){return o.runBackwards=1,he(o).immediateRender=Q(o.immediateRender),this.staggerTo(i,s,o,a,l,u,f)},e.staggerFromTo=function(i,s,o,a,l,u,f,d){return a.startAt=o,he(a).immediateRender=Q(a.immediateRender),this.staggerTo(i,s,a,l,u,f,d)},e.render=function(i,s,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,f=i<=0?0:Y(i),d=this._zTime<0!=i<0&&(this._initted||!u),_,p,g,h,m,b,y,x,k,w,S,T;if(this!==N&&f>l&&i>=0&&(f=l),f!==this._tTime||o||d){if(a!==this._time&&u&&(f+=this._time-a,i+=this._time-a),_=f,k=this._start,x=this._ts,b=!x,d&&(u||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(S=this._yoyo,m=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,s,o);if(_=Y(f%m),f===l?(h=this._repeat,_=u):(h=~~(f/m),h&&h===f/m&&(_=u,h--),_>u&&(_=u)),w=Zt(this._tTime,m),!a&&this._tTime&&w!==h&&this._tTime-w*m-this._dur<=0&&(w=h),S&&h&1&&(_=u-_,T=1),h!==w&&!this._lock){var P=S&&w&1,C=P===(S&&h&1);if(h<w&&(P=!P),a=P?0:f%u?u:f,this._lock=1,this.render(a||(T?0:Y(h*m)),s,!u)._lock=0,this._tTime=f,!s&&this.parent&&ht(this,"onRepeat"),this.vars.repeatRefresh&&!T&&(this.invalidate()._lock=1),a&&a!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,C&&(this._lock=2,a=P?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!T&&this.invalidate()),this._lock=0,!this._ts&&!b)return this;yr(this,T)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(y=Aa(this,Y(a),Y(_)),y&&(f-=_-(_=y._start))),this._tTime=f,this._time=_,this._act=!x,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&_&&!s&&!h&&(ht(this,"onStart"),this._tTime!==f))return this;if(_>=a&&i>=0)for(p=this._first;p;){if(g=p._next,(p._act||_>=p._start)&&p._ts&&y!==p){if(p.parent!==this)return this.render(i,s,o);if(p.render(p._ts>0?(_-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(_-p._start)*p._ts,s,o),_!==this._time||!this._ts&&!b){y=0,g&&(f+=this._zTime=-M);break}}p=g}else{p=this._last;for(var v=i<0?i:_;p;){if(g=p._prev,(p._act||v<=p._end)&&p._ts&&y!==p){if(p.parent!==this)return this.render(i,s,o);if(p.render(p._ts>0?(v-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(v-p._start)*p._ts,s,o||X&&(p._initted||p._startAt)),_!==this._time||!this._ts&&!b){y=0,g&&(f+=this._zTime=v?-M:M);break}}p=g}}if(y&&!s&&(this.pause(),y.render(_>=a?0:-M)._zTime=_>=a?1:-1,this._ts))return this._start=k,je(this),this.render(i,s,o);this._onUpdate&&!s&&ht(this,"onUpdate",!0),(f===l&&this._tTime>=this.totalDuration()||!f&&a)&&(k===this._start||Math.abs(x)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(f===l&&this._ts>0||!f&&this._ts<0)&&Pt(this,1),!s&&!(i<0&&!a)&&(f||a||!l)&&(ht(this,f===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(i,s){var o=this;if(bt(s)||(s=ut(this,s,i)),!(i instanceof xe)){if(G(i))return i.forEach(function(a){return o.add(a,s)}),this;if(q(i))return this.addLabel(i,s);if(F(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=-at);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof R?s&&l.push(u):(o&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,s,o)))),u=u._next;return l},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 q(i)?this.removeLabel(i):F(i)?this.killTweensOf(i):(ze(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=Y(st.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]=ut(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||fe,o);return a.data="isPause",this._hasPause=1,pt(this,a,ut(this,i))},e.removePause=function(i){var s=this._first;for(i=ut(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),l=a.length;l--;)Dt!==a[l]&&a[l].kill(i,s);return this},e.getTweensOf=function(i,s){for(var o=[],a=ft(i),l=this._first,u=bt(s),f;l;)l instanceof R?va(l._targets,a)&&(u?(!Dt||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&o.push(l):(f=l.getTweensOf(a,s)).length&&o.push.apply(o,f),l=l._next;return o},e.tweenTo=function(i,s){s=s||{};var o=this,a=ut(o,i),l=s,u=l.startAt,f=l.onStart,d=l.onStartParams,_=l.immediateRender,p,g=R.to(o,ct({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale())||M,onStart:function(){if(o.pause(),!p){var m=s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale());g._dur!==m&&Jt(g,m,0,1).render(g._time,!0,!0),p=1}f&&f.apply(g,d||[])}},s));return _?g.render(0):g},e.tweenFromTo=function(i,s,o){return this.tweenTo(s,ct({startAt:{time:ut(this,i)}},o))},e.recent=function(){return this._recent},e.nextLabel=function(i){return i===void 0&&(i=this._time),ur(this,ut(this,i))},e.previousLabel=function(i){return i===void 0&&(i=this._time),ur(this,ut(this,i),1)},e.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+M)},e.shiftChildren=function(i,s,o){o===void 0&&(o=0);for(var a=this._first,l=this.labels,u;a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(u in l)l[u]>=o&&(l[u]+=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,l=at,u,f,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;)u=a._prev,a._dirty&&a.totalDuration(),f=a._start,f>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,pt(o,a,f-a._delay,1)._lock=0):l=f,f<0&&a._ts&&(s-=f,(!d&&!o._dp||d&&d.smoothChildTiming)&&(o._start+=f/o._ts,o._time-=f,o._tTime-=f),o.shiftChildren(-f,!1,-1/0),l=0),a._end>s&&a._ts&&(s=a._end),a=u;Jt(o,o===N&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},t.updateRoot=function(i){if(N._ts&&(Xi(N,Ue(i,N)),Wi=st.frame),st.frame>=qi){qi+=nt.autoSleep||120;var s=N._first;if((!s||!s._ts)&&nt.autoSleep&&st._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||st.sleep()}}},t}(xe);ct(J.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ka=function(t,e,n,i,s,o,a){var l=new tt(this._pt,t,e,0,1,Pr,null,s),u=0,f=0,d,_,p,g,h,m,b,y;for(l.b=n,l.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(u,d.index),p?p=(p+1)%5:h.substr(-5)==="rgba("&&(p=1),g!==_[f++]&&(m=parseFloat(_[f-1])||0,l._pt={_next:l._pt,p:h||f===1?h:",",s:m,c:g.charAt(1)==="="?Qt(m,g)-m:parseFloat(g)-m,m:p&&p<4?Math.round:0},u=yn.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=a,(Li.test(i)||b)&&(l.e=0),this._pt=l,l},Vn=function(t,e,n,i,s,o,a,l,u,f){F(i)&&(i=i(s||0,t,o));var d=t[e],_=n!=="get"?n:F(d)?u?t[e.indexOf("set")||!F(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():d,p=F(d)?u?el:Cr:In,g;if(q(i)&&(~i.indexOf("random(")&&(i=pe(i)),i.charAt(1)==="="&&(g=Qt(_,i)+(H(_)||0),(g||g===0)&&(i=g))),!f||_!==i||$n)return!isNaN(_*i)&&i!==""?(g=new tt(this._pt,t,e,+_||0,i-(_||0),typeof d=="boolean"?il:Tr,0,p),u&&(g.fp=u),a&&g.modifier(a,this,t),this._pt=g):(!d&&!(e in t)&&kn(e,i),Ka.call(this,t,e,_,i,p,l||nt.stringFilter,u))},Qa=function(t,e,n,i,s){if(F(t)&&(t=be(t,s,e,n,i)),!_t(t)||t.style&&t.nodeType||G(t)||Fi(t))return q(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,l,u,f;if(rt[t]&&(a=new rt[t]).init(s,a.rawVars?e[t]:Qa(e[t],i,s,o,n),n,i,o)!==!1&&(n._pt=l=new tt(n._pt,s,t,0,1,a.render,a,0,a.priority),n!==te))for(u=n._ptLookup[n._targets.indexOf(s)],f=a._props.length;f--;)u[a._props[f]]=l;return a},Dt,$n,Fn=function r(t,e,n){var i=t.vars,s=i.ease,o=i.startAt,a=i.immediateRender,l=i.lazy,u=i.onUpdate,f=i.onUpdateParams,d=i.callbackScope,_=i.runBackwards,p=i.yoyoEase,g=i.keyframes,h=i.autoRevert,m=t._dur,b=t._startAt,y=t._targets,x=t.parent,k=x&&x.data==="nested"?x.vars.targets:y,w=t._overwrite==="auto"&&!dn,S=t.timeline,T,P,C,v,B,I,z,U,V,W,j,K,Wt;if(S&&(!g||!s)&&(s="none"),t._ease=Ft(s,Ht.ease),t._yEase=p?gr(Ft(p===!0?s:p,Ht.ease)):0,p&&t._yoyo&&!t._repeat&&(p=t._yEase,t._yEase=t._ease,t._ease=p),t._from=!S&&!!i.runBackwards,!S||g&&!i.stagger){if(U=y[0]?At(y[0]).harness:0,K=U&&i[U.prop],T=Re(i,wn),b&&(b._zTime<0&&b.progress(1),e<0&&_&&a&&!h?b.render(-1,!0):b.revert(_&&m?Fe:Ta),b._lazy=0),o){if(Pt(t._startAt=R.set(y,ct({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!b&&Q(l),startAt:null,delay:0,onUpdate:u,onUpdateParams:f,callbackScope:d,stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(X||!a&&!h)&&t._startAt.revert(Fe),a&&m&&e<=0&&n<=0){e&&(t._zTime=e);return}}else if(_&&m&&!b){if(e&&(a=!1),C=ct({overwrite:!1,data:"isFromStart",lazy:a&&!b&&Q(l),immediateRender:a,stagger:0,parent:x},T),K&&(C[U.prop]=K),Pt(t._startAt=R.set(y,C)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(X?t._startAt.revert(Fe):t._startAt.render(-1,!0)),t._zTime=e,!a)r(t._startAt,M,M);else if(!e)return}for(t._pt=t._ptCache=0,l=m&&Q(l)||l&&!m,P=0;P<y.length;P++){if(B=y[P],z=B._gsap||Pn(y)[P]._gsap,t._ptLookup[P]=W={},Sn[z.id]&&Tt.length&&Le(),j=k===y?P:k.indexOf(B),U&&(V=new U).init(B,K||T,t,j,k)!==!1&&(t._pt=v=new tt(t._pt,B,V.name,0,1,V.render,V,0,V.priority),V._props.forEach(function(qt){W[qt]=v}),V.priority&&(I=1)),!U||K)for(C in T)rt[C]&&(V=kr(C,T,t,j,B,k))?V.priority&&(I=1):W[C]=v=Vn.call(t,B,C,"get",T[C],j,k,0,i.stringFilter);t._op&&t._op[P]&&t.kill(B,t._op[P]),w&&t._pt&&(Dt=t,N.killTweensOf(B,W,t.globalTime(e)),Wt=!t.parent,Dt=0),t._pt&&l&&(Sn[z.id]=1)}I&&vr(t),t._onInit&&t._onInit(t)}t._onUpdate=u,t._initted=(!t._op||t._pt)&&!Wt,g&&e<=0&&S.render(at,!0,!0)},Za=function(t,e,n,i,s,o,a){var l=(t._pt&&t._ptCache||(t._ptCache={}))[e],u,f,d,_;if(!l)for(l=t._ptCache[e]=[],d=t._ptLookup,_=t._targets.length;_--;){if(u=d[_][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,1;l.push(u)}for(_=l.length;_--;)f=l[_],u=f._pt||f,u.s=(i||i===0)&&!s?i:u.s+(i||0)+o*u.c,u.c=n-u.s,f.e&&(f.e=L(n)+H(f.e)),f.b&&(f.b=u.s+H(f.b))},Ja=function(t,e){var n=t[0]?At(t[0]).harness:0,i=n&&n.aliases,s,o,a,l;if(!i)return e;s=Vt({},e);for(o in i)if(o in s)for(l=i[o].split(","),a=l.length;a--;)s[l[a]]=s[o];return s},tl=function(t,e,n,i){var s=e.ease||i||"power1.inOut",o,a;if(G(e))a=n[t]||(n[t]=[]),e.forEach(function(l,u){return a.push({t:u/(e.length-1)*100,v:l,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 F(t)?t.call(e,n,i,s):q(t)&&~t.indexOf("random(")?pe(t):t},wr=Tn+"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){Vi(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 l=a.vars,u=l.duration,f=l.delay,d=l.immediateRender,_=l.stagger,p=l.overwrite,g=l.keyframes,h=l.defaults,m=l.scrollTrigger,b=l.yoyoEase,y=i.parent||N,x=(G(n)||Fi(n)?bt(n[0]):"length"in i)?[n]:ft(n),k,w,S,T,P,C,v,B;if(a._targets=x.length?Pn(x):$e("GSAP target "+n+" not found. https://greensock.com",!nt.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=p,g||_||Ae(u)||Ae(f)){if(i=a.vars,k=a.timeline=new J({data:"nested",defaults:h||{},targets:y&&y.data==="nested"?y.vars.targets:x}),k.kill(),k.parent=k._dp=xt(a),k._start=0,_||Ae(u)||Ae(f)){if(T=x.length,v=_&&sr(_),_t(_))for(P in _)~wr.indexOf(P)&&(B||(B={}),B[P]=_[P]);for(w=0;w<T;w++)S=Re(i,Sr),S.stagger=0,b&&(S.yoyoEase=b),B&&Vt(S,B),C=x[w],S.duration=+be(u,xt(a),w,C,x),S.delay=(+be(f,xt(a),w,C,x)||0)-a._delay,!_&&T===1&&S.delay&&(a._delay=f=S.delay,a._start+=f,S.delay=0),k.to(C,S,v?v(w,C,x):0),k._ease=D.none;k.duration()?u=f=0:a.timeline=0}else if(g){he(ct(k.vars.defaults,{ease:"none"})),k._ease=Ft(g.ease||i.ease||"none");var I=0,z,U,V;if(G(g))g.forEach(function(W){return k.to(x,W,">")}),k.duration();else{S={};for(P in g)P==="ease"||P==="easeEach"||tl(P,g[P],S,g.easeEach);for(P in S)for(z=S[P].sort(function(W,j){return W.t-j.t}),I=0,w=0;w<z.length;w++)U=z[w],V={ease:U.e,duration:(U.t-(w?z[w-1].t:0))/100*u},V[P]=U.v,k.to(x,V,I),I+=V.duration;k.duration()<u&&k.to({},{duration:u-k.duration()})}}u||a.duration(u=k.duration())}else a.timeline=0;return p===!0&&!dn&&(Dt=xt(a),N.killTweensOf(x),Dt=0),pt(y,xt(a),s),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(d||!u&&!g&&a._start===Y(y._time)&&Q(d)&&Ma(xt(a))&&y.data!=="nested")&&(a._tTime=-M,a.render(Math.max(0,-f)||0)),m&&tr(xt(a),m),a}var e=t.prototype;return e.render=function(i,s,o){var a=this._time,l=this._tDur,u=this._dur,f=i<0,d=i>l-M&&!f?l:i<M?0:i,_,p,g,h,m,b,y,x,k;if(!u)Na(this,i,s,o);else if(d!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f){if(_=d,x=this.timeline,this._repeat){if(h=u+this._rDelay,this._repeat<-1&&f)return this.totalTime(h*100+i,s,o);if(_=Y(d%h),d===l?(g=this._repeat,_=u):(g=~~(d/h),g&&g===d/h&&(_=u,g--),_>u&&(_=u)),b=this._yoyo&&g&1,b&&(k=this._yEase,_=u-_),m=Zt(this._tTime,h),_===a&&!o&&this._initted)return this._tTime=d,this;g!==m&&(x&&this._yEase&&yr(x,b),this.vars.repeatRefresh&&!b&&!this._lock&&(this._lock=o=1,this.render(Y(h*g),!0).invalidate()._lock=0))}if(!this._initted){if(er(this,f?i:_,o,s,d))return this._tTime=0,this;if(a!==this._time)return this;if(u!==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)(_/u),this._from&&(this.ratio=y=1-y),_&&!a&&!s&&!g&&(ht(this,"onStart"),this._tTime!==d))return this;for(p=this._pt;p;)p.r(y,p.d),p=p._next;x&&x.render(i<0?i:!_&&b?-M:x._dur*x._ease(_/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(f&&vn(this,i,s,o),ht(this,"onUpdate")),this._repeat&&g!==m&&this.vars.onRepeat&&!s&&this.parent&&ht(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(f&&!this._onUpdate&&vn(this,i,!0,!0),(i||!u)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&Pt(this,1),!s&&!(f&&!a)&&(d||a||b)&&(ht(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d<l&&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){ye||st.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Fn(this,l),u=this._ease(l/this._dur),Za(this,i,s,o,a,u,l)?this.resetTo(i,s,o,a):(We(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()&&Jt(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,l=i?ft(i):a,u=this._ptLookup,f=this._pt,d,_,p,g,h,m,b;if((!s||s==="all")&&Da(a,l))return s==="all"&&(this._pt=0),me(this);for(d=this._op=this._op||[],s!=="all"&&(q(s)&&(h={},Z(s,function(y){return h[y]=1}),s=h),s=Ja(a,s)),b=a.length;b--;)if(~l.indexOf(a[b])){_=u[b],s==="all"?(d[b]=s,g=_,p={}):(p=d[b]=d[b]||{},g=s);for(h in g)m=_&&_[h],m&&((!("kill"in m.d)||m.d.kill(h)===!0)&&ze(this,m,"_pt"),delete _[h]),p!=="all"&&(p[h]=1)}return this._initted&&!this._pt&&f&&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 N.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 J,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},Cr=function(t,e,n){return t[e](n)},el=function(t,e,n,i){return t[e](i.fp,n)},nl=function(t,e,n){return t.setAttribute(e,n)},Ln=function(t,e){return F(t[e])?Cr:pn(t[e])&&t.setAttribute?nl:In},Tr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},il=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},rl=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},sl=function(t){for(var e=this._pt,n,i;e;)i=e._next,e.p===t&&!e.op||e.op===t?ze(this,e,"_pt"):e.dep||(n=1),e=i;return!n},ol=function(t,e,n,i){i.mSet(t,e,i.m.call(i.tween,n,i.mt),i)},vr=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},tt=function(){function r(e,n,i,s,o,a,l,u,f){this.t=n,this.s=s,this.c=o,this.p=i,this.r=a||Tr,this.d=l||this,this.set=u||In,this.pr=f||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=ol,this.m=n,this.mt=s,this.tween=i},r}();Z(Tn+"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=J,N=new J({sortChildren:!1,defaults:Ht,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),nt.stringFilter=mr;var Lt=[],qe={},al=[],Er=0,ll=0,zn=function(t){return(qe[t]||al).map(function(e){return e()})},Un=function(){var t=Date.now(),e=[];t-Er>2&&(zn("matchMediaInit"),Lt.forEach(function(n){var i=n.queries,s=n.conditions,o,a,l,u;for(a in i)o=lt.matchMedia(i[a]).matches,o&&(l=1),o!==s[a]&&(s[a]=o,u=1);u&&(n.revert(),l&&e.push(n))}),zn("matchMediaRevert"),e.forEach(function(n){return n.onMatch(n)}),Er=t,zn("matchMedia"))},Dr=function(){function r(e,n){this.selector=n&&Bn(n),this.data=[],this._r=[],this.isReverted=!1,this.id=ll++,e&&this.add(e)}var t=r.prototype;return t.add=function(n,i,s){F(n)&&(s=i,i=n,n=F);var o=this,a=function(){var u=$,f=o.selector,d;return u&&u!==o&&u.data.push(o),s&&(o.selector=Bn(s)),$=o,d=i.apply(o,arguments),F(d)&&o._r.push(d),$=u,o.selector=f,o.isReverted=!1,d};return o.last=a,n===F?a(o):n?o[n]=a:a},t.ignore=function(n){var i=$;$=null,n(this),$=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){var o=this.getTweens();this.data.forEach(function(l){l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(u){return o.splice(o.indexOf(u),1)}))}),o.map(function(l){return{g:l.globalTime(0),t:l}}).sort(function(l,u){return u.g-l.g||-1/0}).forEach(function(l){return l.t.revert(n)}),this.data.forEach(function(l){return!(l instanceof R)&&l.revert&&l.revert(n)}),this._r.forEach(function(l){return l(n,s)}),this.isReverted=!0}else this.data.forEach(function(l){return l.kill&&l.kill()});if(this.clear(),i)for(var a=Lt.length;a--;)Lt[a].id===this.id&&Lt.splice(a,1)},t.revert=function(n){this.kill(n||{})},r}(),cl=function(){function r(e){this.contexts=[],this.scope=e}var t=r.prototype;return t.add=function(n,i,s){_t(n)||(n={matches:n});var o=new Dr(0,s||this.scope),a=o.conditions={},l,u,f;$&&!o.selector&&(o.selector=$.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=n;for(u in n)u==="all"?f=1:(l=lt.matchMedia(n[u]),l&&(Lt.indexOf(o)<0&&Lt.push(o),(a[u]=l.matches)&&(f=1),l.addListener?l.addListener(Un):l.addEventListener("change",Un)));return f&&i(o),this},t.revert=function(n){this.kill(n||{})},t.kill=function(n){this.contexts.forEach(function(i){return i.kill(n,!0)})},r}(),Ye={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 J(t)},getTweensOf:function(t,e){return N.getTweensOf(t,e)},getProperty:function(t,e,n,i){q(t)&&(t=ft(t)[0]);var s=At(t||{}).get,o=n?Hi:Gi;return n==="native"&&(n=""),t&&(e?o((rt[e]&&rt[e].get||s)(t,e,n,i)):function(a,l,u){return o((rt[a]&&rt[a].get||s)(t,a,l,u))})},quickSetter:function(t,e,n){if(t=ft(t),t.length>1){var i=t.map(function(f){return et.quickSetter(f,e,n)}),s=i.length;return function(f){for(var d=s;d--;)i[d](f)}}t=t[0]||{};var o=rt[e],a=At(t),l=a.harness&&(a.harness.aliases||{})[e]||e,u=o?function(f){var d=new o;te._pt=0,d.init(t,n?f+n:f,te,0,[t]),d.render(1,d),te._pt&&Rn(1,te)}:a.set(t,l);return o?u:function(f){return u(t,l,n?f+n:f,a,1)}},quickTo:function(t,e,n){var i,s=et.to(t,Vt((i={},i[e]="+=0.1",i.paused=!0,i),n||{})),o=function(l,u,f){return s.resetTo(e,l,u,f)};return o.tween=s,o},isTweening:function(t){return N.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Ft(t.ease,Ht.ease)),Ki(Ht,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]&&$e(e+" effect requires "+a+" plugin.")}),Cn[e]=function(a,l,u){return n(ft(a),ct(l||{},s),u)},o&&(J.prototype[e]=function(a,l,u){return this.add(Cn[e](a,_t(l)?l:(u=l)&&{},this),u)})},registerEase:function(t,e){D[t]=Ft(e)},parseEase:function(t,e){return arguments.length?Ft(t,e):D},getById:function(t){return N.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var n=new J(t),i,s;for(n.smoothChildTiming=Q(t.smoothChildTiming),N.remove(n),n._dp=0,n._time=n._tTime=N._time,i=N._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,n,0),n},context:function(t,e){return t?new Dr(t,e):$},matchMedia:function(t){return new cl(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()})||Un()},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:za,wrapYoyo:Ua,distribute:sr,random:ar,snap:or,normalize:Ra,getUnit:H,clamp:$a,splitColor:dr,toArray:ft,selector:Bn,mapRange:cr,pipe:Ia,unitize:La,interpolate:ja,shuffle:rr},install:Ui,effects:Cn,ticker:st,updateRoot:J.updateRoot,plugins:rt,globalTimeline:N,core:{PropTween:tt,globals:ji,Tween:R,Timeline:J,Animation:xe,getCache:At,_removeLinkedListItem:ze,reverting:function(){return X},context:function(t){return t&&$&&($.data.push(t),t._ctx=$),$},suppressOverwrites:function(t){return dn=t}}};Z("to,from,fromTo,delayedCall,set,killTweensOf",function(r){return Ye[r]=R[r]}),st.add(J.updateRoot),te=Ye.to({},{duration:0});var ul=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n},fl=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=ul(o,i)),o&&o.modifier&&o.modifier(e[i],t,n[s],i))},jn=function(t,e){return{name:t,rawVars:1,init:function(i,s,o){o._onInit=function(a){var l,u;if(q(s)&&(l={},Z(s,function(f){return l[f]=1}),s=l),e){l={};for(u in s)l[u]=e(s[u]);s=l}fl(a,s)}}}},et=Ye.registerPlugin({name:"attr",init:function(t,e,n,i,s){var o,a,l;this.tween=n;for(o in e)l=t.getAttribute(o)||"",a=this.add(t,"setAttribute",(l||0)+"",e[o],i,s,0,0,o),a.op=o,a.b=l,this._props.push(o)},render:function(t,e){for(var n=e._pt;n;)X?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)}},jn("roundProps",Mn),jn("modifiers"),jn("snap",or))||Ye;R.version=J.version=et.version="3.12.2",zi=1,mn()&&ee(),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.2
11
+ * https://greensock.com
12
+ *
13
+ * Copyright 2008-2023, GreenSock. All rights reserved.
14
+ * Subject to the terms at https://greensock.com/standard-license or for
15
+ * Club GreenSock members, the agreement issued with that membership.
16
+ * @author: Jack Doyle, jack@greensock.com
17
+ */var Br,Bt,ne,Wn,Rt,Mr,qn,hl=function(){return typeof window<"u"},kt={},zt=180/Math.PI,ie=Math.PI/180,re=Math.atan2,Or=1e8,Yn=/([A-Z])/g,dl=/(left|right|width|margin|padding|x)/i,_l=/[\s,\(]\S/,mt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Xn=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},pl=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)},ml=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)},gl=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)},Ar=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},yl=function(t,e,n){return t.style[e]=n},xl=function(t,e,n){return t.style.setProperty(e,n)},bl=function(t,e,n){return t._gsap[e]=n},kl=function(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n},wl=function(t,e,n,i,s){var o=t._gsap;o.scaleX=o.scaleY=n,o.renderTransform(s,o)},Sl=function(t,e,n,i,s){var o=t._gsap;o[e]=n,o.renderTransform(s,o)},A="transform",dt=A+"Origin",Cl=function r(t,e){var n=this,i=this.target,s=i.style;if(t in kt&&s){if(this.tfm=this.tfm||{},t!=="transform")t=mt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(o){return n.tfm[o]=wt(i,o)}):this.tfm[t]=i._gsap.x?i._gsap[t]:wt(i,t);else return mt.transform.split(",").forEach(function(o){return r.call(n,o,e)});if(this.props.indexOf(A)>=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(dt,e,"")),t=A}(s||e)&&this.props.push(t,e,s[t])},Vr=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Tl=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=qn(),(!s||!s.isStart)&&!n[A]&&(Vr(n),i.uncache=1)}},$r=function(t,e){var n={target:t,props:[],revert:Tl,save:Cl};return t._gsap||et.core.getCache(t),e&&e.split(",").forEach(function(i){return n.save(i)}),n},Fr,Gn=function(t,e){var n=Bt.createElementNS?Bt.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Bt.createElement(t);return n.style?n:Bt.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,se(e)||e,1)||""},Ir="O,Moz,ms,Ms,Webkit".split(","),se=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(){hl()&&window.document&&(Br=window,Bt=Br.document,ne=Bt.documentElement,Rt=Gn("div")||{style:{}},Gn("div"),A=se(A),dt=A+"Origin",Rt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Fr=!!se("perspective"),qn=et.core.reverting,Wn=1)},Kn=function r(t){var e=Gn("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(ne.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)),ne.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))},ke=function(t,e){if(e){var n=t.style;e in kt&&e!==dt&&(e=A),n.removeProperty?((e.substr(0,2)==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),n.removeProperty(e.replace(Yn,"-$1").toLowerCase())):n.removeAttribute(e)}},Mt=function(t,e,n,i,s,o){var a=new tt(t._pt,e,n,0,1,o?Ar:Nr);return t._pt=a,a.b=i,a.e=s,t._props.push(n),a},Ur={deg:1,rad:1,turn:1},Pl={grid:1,flex:1},Ot=function r(t,e,n,i){var s=parseFloat(n)||0,o=(n+"").trim().substr((s+"").length)||"px",a=Rt.style,l=dl.test(e),u=t.tagName.toLowerCase()==="svg",f=(u?"client":"offset")+(l?"Width":"Height"),d=100,_=i==="px",p=i==="%",g,h,m,b;return i===o||!s||Ur[i]||Ur[o]?s:(o!=="px"&&!_&&(s=r(t,e,n,"px")),b=t.getCTM&&zr(t),(p||o==="%")&&(kt[e]||~e.indexOf("adius"))?(g=b?t.getBBox()[l?"width":"height"]:t[f],L(p?s/g*d:s/100*g)):(a[l?"width":"height"]=d+(_?o:i),h=~e.indexOf("adius")||i==="em"&&t.appendChild&&!u?t:t.parentNode,b&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Bt||!h.appendChild)&&(h=Bt.body),m=h._gsap,m&&p&&m.width&&l&&m.time===st.time&&!m.uncache?L(s/m.width*d):((p||o==="%")&&!Pl[gt(h,"display")]&&(a.position=gt(t,"position")),h===t&&(a.position="static"),h.appendChild(Rt),g=Rt[f],h.removeChild(Rt),a.position="absolute",l&&p&&(m=At(h),m.time=st.time,m.width=h[f]),L(_?g*s/d:g&&s?d/g*s:0))))},wt=function(t,e,n,i){var s;return Wn||Hn(),e in mt&&e!=="transform"&&(e=mt[e],~e.indexOf(",")&&(e=e.split(",")[0])),kt[e]&&e!=="transform"?(s=Se(t,i),s=e!=="transformOrigin"?s[e]:s.svg?s.origin:Ge(gt(t,dt))+" "+s.zOrigin+"px"):(s=t.style[e],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=Xe[e]&&Xe[e](t,e,n)||gt(t,e)||Yi(t,e)||(e==="opacity"?1:0))),n&&!~(s+"").trim().indexOf(" ")?Ot(t,e,s,n)+n:s},vl=function(t,e,n,i){if(!n||n==="none"){var s=se(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 tt(this._pt,t.style,e,0,1,Pr),l=0,u=0,f,d,_,p,g,h,m,b,y,x,k,w;if(a.b=n,a.e=i,n+="",i+="",i==="auto"&&(t.style[e]=i,i=gt(t,e)||i,t.style[e]=n),f=[n,i],mr(f),n=f[0],i=f[1],_=n.match(Kt)||[],w=i.match(Kt)||[],w.length){for(;d=Kt.exec(i);)m=d[0],y=i.substring(l,d.index),g?g=(g+1)%5:(y.substr(-5)==="rgba("||y.substr(-5)==="hsla(")&&(g=1),m!==(h=_[u++]||"")&&(p=parseFloat(h)||0,k=h.substr((p+"").length),m.charAt(1)==="="&&(m=Qt(p,m)+k),b=parseFloat(m),x=m.substr((b+"").length),l=Kt.lastIndex-x.length,x||(x=x||nt.units[e]||k,l===i.length&&(i+=x,a.e+=x)),k!==x&&(p=Ot(t,e,h,x)||0),a._pt={_next:a._pt,p:y||u===1?y:",",s:p,c:b-p,m:g&&g<4||e==="zIndex"?Math.round:0});a.c=l<i.length?i.substring(l,i.length):""}else a.r=e==="display"&&i==="none"?Ar:Nr;return Li.test(i)&&(a.e=0),this._pt=a,a},jr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},El=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]=jr[n]||n,e[1]=jr[i]||i,e.join(" ")},Dl=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,l,u;if(s==="all"||s===!0)i.cssText="",l=1;else for(s=s.split(","),u=s.length;--u>-1;)a=s[u],kt[a]&&(l=1,a=a==="transformOrigin"?dt:A),ke(n,a);l&&(ke(n,A),o&&(o.svg&&n.removeAttribute("transform"),Se(n,1),o.uncache=1,Vr(i)))}},Xe={clearProps:function(t,e,n,i,s){if(s.data!=="isFromStart"){var o=t._pt=new tt(t._pt,e,n,0,0,Dl);return o.u=i,o.pr=-10,o.tween=s,t._props.push(n),1}}},we=[1,0,0,1,0,0],Wr={},qr=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Yr=function(t){var e=gt(t,A);return qr(e)?we:e.substr(7).match(Ii).map(L)},Qn=function(t,e){var n=t._gsap||At(t),i=t.style,s=Yr(t),o,a,l,u;return n.svg&&t.getAttribute("transform")?(l=t.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?we:s):(s===we&&!t.offsetParent&&t!==ne&&!n.svg&&(l=i.display,i.display="block",o=t.parentNode,(!o||!t.offsetParent)&&(u=1,a=t.nextElementSibling,ne.appendChild(t)),s=Yr(t),l?i.display=l:ke(t,"display"),u&&(a?o.insertBefore(t,a):o?o.appendChild(t):ne.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,l=s||Qn(t,!0),u=a.xOrigin||0,f=a.yOrigin||0,d=a.xOffset||0,_=a.yOffset||0,p=l[0],g=l[1],h=l[2],m=l[3],b=l[4],y=l[5],x=e.split(" "),k=parseFloat(x[0])||0,w=parseFloat(x[1])||0,S,T,P,C;n?l!==we&&(T=p*m-g*h)&&(P=k*(m/T)+w*(-h/T)+(h*y-m*b)/T,C=k*(-g/T)+w*(p/T)-(p*y-g*b)/T,k=P,w=C):(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-u,y=w-f,a.xOffset=d+(b*p+y*h)-b,a.yOffset=_+(b*g+y*m)-y):a.xOffset=a.yOffset=0,a.xOrigin=k,a.yOrigin=w,a.smooth=!!i,a.origin=e,a.originIsAbsolute=!!n,t.style[dt]="0px 0px",o&&(Mt(o,a,"xOrigin",u,k),Mt(o,a,"yOrigin",f,w),Mt(o,a,"xOffset",d,a.xOffset),Mt(o,a,"yOffset",_,a.yOffset)),t.setAttribute("data-svg-origin",k+" "+w)},Se=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",l=getComputedStyle(t),u=gt(t,dt)||"0",f,d,_,p,g,h,m,b,y,x,k,w,S,T,P,C,v,B,I,z,U,V,W,j,K,Wt,qt,Te,Yt,Jr,St,Xt;return f=d=_=h=m=b=y=x=k=0,p=g=1,n.svg=!!(t.getCTM&&zr(t)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[A]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[A]!=="none"?l[A]:"")),i.scale=i.rotate=i.translate="none"),T=Qn(t,n.svg),n.svg&&(n.uncache?(K=t.getBBox(),u=n.xOrigin-K.x+"px "+(n.yOrigin-K.y)+"px",j=""):j=!e&&t.getAttribute("data-svg-origin"),Zn(t,j||u,!!j||n.originIsAbsolute,n.smooth!==!1,T)),w=n.xOrigin||0,S=n.yOrigin||0,T!==we&&(B=T[0],I=T[1],z=T[2],U=T[3],f=V=T[4],d=W=T[5],T.length===6?(p=Math.sqrt(B*B+I*I),g=Math.sqrt(U*U+z*z),h=B||I?re(I,B)*zt:0,y=z||U?re(z,U)*zt+h:0,y&&(g*=Math.abs(Math.cos(y*ie))),n.svg&&(f-=w-(w*B+S*z),d-=S-(w*I+S*U))):(Xt=T[6],Jr=T[7],qt=T[8],Te=T[9],Yt=T[10],St=T[11],f=T[12],d=T[13],_=T[14],P=re(Xt,Yt),m=P*zt,P&&(C=Math.cos(-P),v=Math.sin(-P),j=V*C+qt*v,K=W*C+Te*v,Wt=Xt*C+Yt*v,qt=V*-v+qt*C,Te=W*-v+Te*C,Yt=Xt*-v+Yt*C,St=Jr*-v+St*C,V=j,W=K,Xt=Wt),P=re(-z,Yt),b=P*zt,P&&(C=Math.cos(-P),v=Math.sin(-P),j=B*C-qt*v,K=I*C-Te*v,Wt=z*C-Yt*v,St=U*v+St*C,B=j,I=K,z=Wt),P=re(I,B),h=P*zt,P&&(C=Math.cos(P),v=Math.sin(P),j=B*C+I*v,K=V*C+W*v,I=I*C-B*v,W=W*C-V*v,B=j,V=K),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,b=180-b),p=L(Math.sqrt(B*B+I*I+z*z)),g=L(Math.sqrt(W*W+Xt*Xt)),P=re(V,W),y=Math.abs(P)>2e-4?P*zt:0,k=St?1/(St<0?-St:St):0),n.svg&&(j=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!qr(gt(t,A)),j&&t.setAttribute("transform",j))),Math.abs(y)>90&&Math.abs(y)<270&&(s?(p*=-1,y+=h<=0?180:-180,h+=h<=0?180:-180):(g*=-1,y+=y<=0?180:-180)),e=e||n.uncache,n.x=f-((n.xPercent=f&&(!e&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-f)?-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(p),n.scaleY=L(g),n.rotation=L(h)+a,n.rotationX=L(m)+a,n.rotationY=L(b)+a,n.skewX=y+a,n.skewY=x+a,n.transformPerspective=k+o,(n.zOrigin=parseFloat(u.split(" ")[2])||0)&&(i[dt]=Ge(u)),n.xOffset=n.yOffset=0,n.force3D=nt.force3D,n.renderTransform=n.svg?Ml:Fr?Xr:Bl,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(Ot(t,"x",n+"px",i)))+i},Bl=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Xr(t,e)},Ut="0deg",Ce="0px",jt=") ",Xr=function(t,e){var n=e||this,i=n.xPercent,s=n.yPercent,o=n.x,a=n.y,l=n.z,u=n.rotation,f=n.rotationY,d=n.rotationX,_=n.skewX,p=n.skewY,g=n.scaleX,h=n.scaleY,m=n.transformPerspective,b=n.force3D,y=n.target,x=n.zOrigin,k="",w=b==="auto"&&t&&t!==1||b===!0;if(x&&(d!==Ut||f!==Ut)){var S=parseFloat(f)*ie,T=Math.sin(S),P=Math.cos(S),C;S=parseFloat(d)*ie,C=Math.cos(S),o=Jn(y,o,T*C*-x),a=Jn(y,a,-Math.sin(S)*-x),l=Jn(y,l,P*C*-x+x)}m!==Ce&&(k+="perspective("+m+jt),(i||s)&&(k+="translate("+i+"%, "+s+"%) "),(w||o!==Ce||a!==Ce||l!==Ce)&&(k+=l!==Ce||w?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+jt),u!==Ut&&(k+="rotate("+u+jt),f!==Ut&&(k+="rotateY("+f+jt),d!==Ut&&(k+="rotateX("+d+jt),(_!==Ut||p!==Ut)&&(k+="skew("+_+", "+p+jt),(g!==1||h!==1)&&(k+="scale("+g+", "+h+jt),y.style[A]=k||"translate(0, 0)"},Ml=function(t,e){var n=e||this,i=n.xPercent,s=n.yPercent,o=n.x,a=n.y,l=n.rotation,u=n.skewX,f=n.skewY,d=n.scaleX,_=n.scaleY,p=n.target,g=n.xOrigin,h=n.yOrigin,m=n.xOffset,b=n.yOffset,y=n.forceCSS,x=parseFloat(o),k=parseFloat(a),w,S,T,P,C;l=parseFloat(l),u=parseFloat(u),f=parseFloat(f),f&&(f=parseFloat(f),u+=f,l+=f),l||u?(l*=ie,u*=ie,w=Math.cos(l)*d,S=Math.sin(l)*d,T=Math.sin(l-u)*-_,P=Math.cos(l-u)*_,u&&(f*=ie,C=Math.tan(u-f),C=Math.sqrt(1+C*C),T*=C,P*=C,f&&(C=Math.tan(f),C=Math.sqrt(1+C*C),w*=C,S*=C)),w=L(w),S=L(S),T=L(T),P=L(P)):(w=d,P=_,S=T=0),(x&&!~(o+"").indexOf("px")||k&&!~(a+"").indexOf("px"))&&(x=Ot(p,"x",o,"px"),k=Ot(p,"y",a,"px")),(g||h||m||b)&&(x=L(x+g-(g*w+h*T)+m),k=L(k+h-(g*S+h*P)+b)),(i||s)&&(C=p.getBBox(),x=L(x+i/100*C.width),k=L(k+s/100*C.height)),C="matrix("+w+","+S+","+T+","+P+","+x+","+k+")",p.setAttribute("transform",C),y&&(p.style[A]=C)},Ol=function(t,e,n,i,s){var o=360,a=q(s),l=parseFloat(s)*(a&&~s.indexOf("rad")?zt:1),u=l-i,f=i+u+"deg",d,_;return a&&(d=s.split("_")[1],d==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-o)),d==="cw"&&u<0?u=(u+o*Or)%o-~~(u/o)*o:d==="ccw"&&u>0&&(u=(u-o*Or)%o-~~(u/o)*o)),t._pt=_=new tt(t._pt,e,n,i,u,pl),_.e=f,_.u="deg",t._props.push(n),_},Gr=function(t,e){for(var n in e)t[n]=e[n];return t},Nl=function(t,e,n){var i=Gr({},n._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=n.style,a,l,u,f,d,_,p,g;i.svg?(u=n.getAttribute("transform"),n.setAttribute("transform",""),o[A]=e,a=Se(n,1),ke(n,A),n.setAttribute("transform",u)):(u=getComputedStyle(n)[A],o[A]=e,a=Se(n,1),o[A]=u);for(l in kt)u=i[l],f=a[l],u!==f&&s.indexOf(l)<0&&(p=H(u),g=H(f),d=p!==g?Ot(n,l,u,g):parseFloat(u),_=parseFloat(f),t._pt=new tt(t._pt,a,l,d,_-d,Xn),t._pt.u=g||0,t._props.push(l));Gr(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});Xe[t>1?"border"+r:r]=function(a,l,u,f,d){var _,p;if(arguments.length<4)return _=o.map(function(g){return wt(a,g,u)}),p=_.join(" "),p.split(_[0]).length===5?_[0]:p;_=(f+"").split(" "),p={},o.forEach(function(g,h){return p[g]=_[h]=_[h]||_[(h-1)/2|0]}),a.init(l,p,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,l=n.vars.startAt,u,f,d,_,p,g,h,m,b,y,x,k,w,S,T,P;Wn||Hn(),this.styles=this.styles||$r(t),P=this.styles.props,this.tween=n;for(h in e)if(h!=="autoRound"&&(f=e[h],!(rt[h]&&kr(h,e,n,i,t,s)))){if(p=typeof f,g=Xe[h],p==="function"&&(f=f.call(n,i,t,s),p=typeof f),p==="string"&&~f.indexOf("random(")&&(f=pe(f)),g)g(this,t,h,f,n)&&(T=1);else if(h.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(h)+"").trim(),f+="",Et.lastIndex=0,Et.test(u)||(m=H(u),b=H(f)),b?m!==b&&(u=Ot(t,h,u,b)+b):m&&(f+=m),this.add(a,"setProperty",u,f,i,s,0,0,h),o.push(h),P.push(h,0,a[h]);else if(p!=="undefined"){if(l&&h in l?(u=typeof l[h]=="function"?l[h].call(n,i,t,s):l[h],q(u)&&~u.indexOf("random(")&&(u=pe(u)),H(u+"")||(u+=nt.units[h]||H(wt(t,h))||""),(u+"").charAt(1)==="="&&(u=wt(t,h))):u=wt(t,h),_=parseFloat(u),y=p==="string"&&f.charAt(1)==="="&&f.substr(0,2),y&&(f=f.substr(2)),d=parseFloat(f),h in mt&&(h==="autoAlpha"&&(_===1&&wt(t,"visibility")==="hidden"&&d&&(_=0),P.push("visibility",0,a.visibility),Mt(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||Se(t,e.parseTransform),S=e.smoothOrigin!==!1&&w.smooth,k=this._pt=new tt(this._pt,a,A,0,1,w.renderTransform,w,0,-1),k.dep=1),h==="scale")this._pt=new tt(this._pt,w,"scaleY",w.scaleY,(y?Qt(w.scaleY,y+d):d)-w.scaleY||0,Xn),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){P.push(dt,0,a[dt]),f=El(f),w.svg?Zn(t,f,0,S,0,this):(b=parseFloat(f.split(" ")[2])||0,b!==w.zOrigin&&Mt(this,w,"zOrigin",w.zOrigin,b),Mt(this,a,h,Ge(u),Ge(f)));continue}else if(h==="svgOrigin"){Zn(t,f,1,S,0,this);continue}else if(h in Wr){Ol(this,w,h,_,y?Qt(_,y+f):f);continue}else if(h==="smoothOrigin"){Mt(this,w,"smooth",w.smooth,f);continue}else if(h==="force3D"){w[h]=f;continue}else if(h==="transform"){Nl(this,f,t);continue}}else h in a||(h=se(h)||h);if(x||(d||d===0)&&(_||_===0)&&!_l.test(f)&&h in a)m=(u+"").substr((_+"").length),d||(d=0),b=H(f)||(h in nt.units?nt.units[h]:m),m!==b&&(_=Ot(t,h,u,b)),this._pt=new tt(this._pt,x?w:a,h,_,(y?Qt(_,y+d):d)-_,!x&&(b==="px"||h==="zIndex")&&e.autoRound!==!1?gl:Xn),this._pt.u=b||0,m!==b&&b!=="%"&&(this._pt.b=u,this._pt.r=ml);else if(h in a)vl.call(this,t,h,u,y?y+f:f);else if(h in t)this.add(t,h,u||t[h],y?y+f:f,i,s);else if(h!=="parseTransform"){kn(h,f);continue}x||(h in a?P.push(h,0,a[h]):P.push(h,1,u||t[h])),o.push(h)}}T&&vr(this)},render:function(t,e){if(e.tween._time||!qn())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!==dt&&(t._gsap.x||wt(t,"x"))?n&&Mr===n?e==="scale"?kl:bl:(Mr=n||{})&&(e==="scale"?wl:Sl):t.style&&!pn(t.style[e])?yl:~e.indexOf("-")?xl:Ln(t,e)},core:{_removeProperty:ke,_getMatrix:Qn}};et.utils.checkPrefix=se,et.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",Wr[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"}),et.registerPlugin(Hr);var He=et.registerPlugin(Hr)||et;He.core.Tween;const Al=c.ref(""),ti=()=>({text:Al}),Vl={id:"big-bang-button-animation"},$l=["i","textContent"],Fl={name:"DBigBangButtonAnimation"},Il=c.defineComponent({...Fl,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=c.computed(()=>e.value.split(""));let i;c.watch(e,l=>{clearTimeout(i),l&&(i=setTimeout(()=>e.value="",1500))});function s(l){return l===0?t.first:l===n.value.length-1?t.last:t.intermediate[Math.floor(Math.random()*t.intermediate.length)]}function o(l,u){He.fromTo(l,{opacity:0,rotateX:-90},{opacity:1,rotateX:0,rotate:-12+Math.random()*24,delay:Math.random()*.3,duration:.2,onComplete:u})}function a(l,u){const f=+He.getProperty(l,"i");He.to(l,{motionPath:{path:s(f)},opacity:0,rotate:-180+Math.random()*360,duration:.2,onComplete:u})}return(l,u)=>(c.openBlock(),c.createElementBlock("div",Vl,[c.createVNode(c.TransitionGroup,{tag:"div",class:"bbb__text-container",onEnter:o,onLeave:a},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.value,(f,d)=>(c.openBlock(),c.createElementBlock("span",{key:d,i:d,textContent:c.toDisplayString(f)},null,8,$l))),128))]),_:1})]))}}),Lc="",Ll=["textContent"],Rl={name:"DBigBangButton"},zl=c.defineComponent({...Rl,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}=Ai(n),o=c.computed(()=>n.text.split(""));function a(l){i.value=n.text,e("click",l)}return(l,u)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(c.unref(s)),{to:r.to,class:"big-bang-button",onClick:a},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.value,(f,d)=>(c.openBlock(),c.createElementBlock("span",{key:d,textContent:c.toDisplayString(f)},null,8,Ll))),128))]),_:1},8,["to"]))}}),Rc="",Ul={name:"DCard",components:{DWrapShape:ot}},jl=c.defineComponent({...Ul,props:{mode:{type:String,default:"default"},dense:Boolean},setup(r){return(t,e)=>(c.openBlock(),c.createBlock(ot,{"shape-class":{card__bg:!r.dense,"card__bg--dense":r.dense},class:c.normalizeClass({"card--homepage-story force-light":r.mode==="homepage-story","card--homepage-skills force-light":r.mode==="homepage-skills",card:r.mode==="default"})},{default:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass({card__content:!r.dense,"card__content--dense":r.dense})},[c.renderSlot(t.$slots,"default")],2)]),_:3},8,["shape-class","class"]))}}),zc="",Wl={name:"DCardTitle",components:{DWrapShape:ot}},Uc="",ql={class:"card__title"},Yl={class:"card__title__content__text"},Xl={class:"ml-2 print:text-neutral-600"};function Gl(r,t,e,n,i,s){const o=c.resolveComponent("DWrapShape");return c.openBlock(),c.createElementBlock("div",ql,[c.createVNode(o,{class:"card__title__content","shape-class":"card__title__content__shape"},{default:c.withCtx(()=>[c.createElementVNode("h3",Yl,[c.renderSlot(r.$slots,"default")])]),_:3}),c.createElementVNode("span",Xl,[c.renderSlot(r.$slots,"extra")])])}const Hl=Ke(Wl,[["render",Gl]]),Kl=c.createElementVNode("div",{class:"d-alert__outline"},null,-1),Ql={class:"d-alert__body"},Zl={viewBox:"0 0 1067 1067",xmlns:"http://www.w3.org/2000/svg",class:"d-alert__sign"},Jl={key:0},tc=[c.createElementVNode("path",{d:"M202.481,1025.68l427.138,-769.216l171.992,106.943l-461.057,689.584l-138.073,-27.311Z"},null,-1),c.createElementVNode("path",{d:"M832.695,310.003l-170.011,-113.247l92.566,-170.289l218.937,122.443l-141.492,161.093Z"},null,-1)],ec={key:1},nc=[c.createElementVNode("path",{d:"M289.17,836.982l100.67,63.007l-27.42,149.27l-200.047,-83.328l126.797,-128.949Z"},null,-1),c.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)],ic={key:2},rc=[c.createElementVNode("path",{d:"M304.988,722.034l335.792,-712.747l299.877,30.543l-514.204,743.146l-121.465,-60.942Z"},null,-1),c.createElementVNode("path",{d:"M253.974,839.059l148.42,40.169l-118.767,182.487l-131.537,-66.719l101.884,-155.937Z"},null,-1)],sc=c.defineComponent({__name:"DAlert",props:{type:{type:String,default:"info"}},setup(r){return(t,e)=>(c.openBlock(),c.createBlock(ot,{class:c.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":c.withCtx(()=>[Kl]),default:c.withCtx(()=>[c.createElementVNode("div",Ql,[c.renderSlot(t.$slots,"default"),(c.openBlock(),c.createElementBlock("svg",Zl,[r.type==="info"?(c.openBlock(),c.createElementBlock("g",Jl,tc)):c.createCommentVNode("",!0),r.type==="question"?(c.openBlock(),c.createElementBlock("g",ec,nc)):c.createCommentVNode("",!0),r.type==="warning"?(c.openBlock(),c.createElementBlock("g",ic,rc)):c.createCommentVNode("",!0)]))])]),_:3},8,["class"]))}}),Hc="",oc=c.createElementVNode("div",{class:"d-blockquote__outline"},null,-1),ac={class:"d-blockquote__body"},lc=c.defineComponent({__name:"DQuote",props:{direction:{type:String,default:"right"}},setup(r){return(t,e)=>(c.openBlock(),c.createBlock(ot,{tag:"blockquote",class:c.normalizeClass(["d-blockquote",{"d-blockquote--left":r.direction==="left","d-blockquote--right":r.direction==="right"}]),"shape-class":"d-blockquote__shape"},{"bg-overlay":c.withCtx(()=>[oc]),default:c.withCtx(()=>[c.createElementVNode("div",ac,[c.renderSlot(t.$slots,"default")])]),_:3},8,["class"]))}}),Kc="",cc={name:"DActionsFan",components:{DWrapShape:ot,DBtn:yt}},uc=c.defineComponent({...cc,props:{actions:{type:Array,default:()=>[]},side:{type:String,default:"left"},filterClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(r){return(t,e)=>(c.openBlock(),c.createBlock(c.TransitionGroup,{name:"actions",tag:"ul",style:c.normalizeStyle({padding:`${Math.min(r.actions.length*2,15)}rem 0 ${Math.min(r.actions.length*3,15)}rem`})},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.actions,(n,i)=>(c.openBlock(),c.createBlock(ot,{key:n.title,tag:"li",class:c.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:c.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:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass(["d-actions-fan__list-item__body",{"d-actions-fan--right__list-item__body":r.side==="right"}])},[c.createVNode(yt,c.mergeProps(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:c.withCtx(()=>[c.createTextVNode(c.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"]))}}),Qc="",Zc="",fc={class:"d-actions-list__body"},hc={class:"d-actions-list__header"},dc={name:"DActionsList",components:{DWrapFocusHighlight:ue,DWrapShape:ot}},_c=c.defineComponent({...dc,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)=>(c.openBlock(),c.createBlock(ot,{"shape-class":"d-actions-list__shape"},{default:c.withCtx(()=>[c.createElementVNode("div",fc,[c.createElementVNode("div",hc,[c.renderSlot(e.$slots,"header")]),c.createVNode(c.TransitionGroup,{name:"actions",tag:"ul",class:c.normalizeClass(["d-actions-list__list",r.listClass])},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.actions,i=>(c.openBlock(),c.createElementBlock("li",{key:i.title},[c.createVNode(ue,c.mergeProps(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:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(i.title),1)]),_:2},1040,["variant","onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])]))),128))]),_:1},8,["class"])])]),_:3}))}}),Jc="",pc={class:"mbg__relative-container"},mc={class:"mbg__layer"},gc={class:"mbg__content"},yc={name:"DWrapBackground"},xc=c.defineComponent({...yc,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)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(r.tag),{class:"mbg__main-container"},{default:c.withCtx(()=>[c.createElementVNode("div",pc,[c.createElementVNode("div",{class:c.normalizeClass(["mbg__layer",r.overlayClass]),style:c.normalizeStyle(r.overlayStyle)},null,6),c.createElementVNode("div",mc,[c.renderSlot(t.$slots,"svg")]),r.dots?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(["mbg__layer mbg__dots",r.dotsClass]),style:c.normalizeStyle(r.dotsStyle)},null,6)):c.createCommentVNode("",!0),c.createElementVNode("div",gc,[c.renderSlot(t.$slots,"default")])])]),_:3}))}}),tu="";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 bc(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,l)=>(l>e?o.push(o.at(-1)):o.push(a.left),o),[]);return[...n.reduce((o,a,l)=>(l>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 kc(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 wc(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 Sc(r){return r.map(Zr)}E.DActionsFan=uc,E.DActionsList=_c,E.DAlert=sc,E.DAnimationAccordion=fa,E.DAnimationFloatingLetter=da,E.DAnimationHypnosis=ga,E.DAnimationSpinner=xa,E.DBigBangButton=zl,E.DBigBangButtonAnimation=Il,E.DBtn=yt,E.DCard=jl,E.DCardTitle=Hl,E.DChip=is,E.DPagination=_o,E.DQuote=lc,E.DStats=ra,E.DWrapBackground=xc,E.DWrapFocusHighlight=ue,E.DWrapShape=ot,E.applyLinePerPointAnimation=kc,E.applyStaticPoints=wc,E.createCoordsFromArray=ni,E.createLineEdgeFromArray=Zr,E.createLineFromArray=Sc,E.generatePolygonLineKeyframes=ei,E.generatePolygonPointsKeyframes=Qr,E.getAbsoluteBoundings=bc,E.getAbsoluteBoundingsGetters=Kr,E.getLinkToPaginatedPage=Oi,E.useDBigBangButtonUtils=ti,E.useDPaginationUtils=Ni,Object.defineProperty(E,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,3 @@
1
+ export * from './components';
2
+ export * from './composables';
3
+ export * from './utils';
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ .d-chip{display:inline-block;clip-path:polygon(0 0,100% .2em,calc(100% - .3em) 100%,.2em calc(100% - .3em));padding:.4em}@media print{.d-chip{clip-path:none;padding:0;background:unset!important}}.d-shape,.d-shape>*{@apply relative;}.d-shape__bg-filter{@apply absolute top-0 left-0 w-full h-full;}.d-shape__bg-wrapper{@apply relative w-full h-full;}.d-shape__bg{@apply absolute w-full h-full;}:root{--shape-bubble--right: polygon( 0 calc(100% - 20px), 20px calc(100% - 10px), 25px calc(100% - 15px), 45px calc(100% - 5px), 70px calc(100% - 10px), 100% 100%, calc(100% - 40px) 0, 45px 30px, 40px calc(100% - 30px), 20px calc(100% - 45px), 18px calc(100% - 25px) );--shape-bubble--right__outline: polygon( 0 calc(100% - 20px), 5px calc(100% - 20px), 20px calc(100% - 10px), 25px calc(100% - 15px), 45px calc(100% - 5px), 70px calc(100% - 10px), calc(100% - 20px) calc(100% - 10px), calc(100% - 50px) 7px, 45px 30px, 40px calc(100% - 30px), 20px calc(100% - 45px), 18px calc(100% - 25px), 5px calc(100% - 20px), 0 calc(100% - 20px), 16px calc(100% - 28px), 17px calc(100% - 53px), 39px calc(100% - 40px), 38px 23px, calc(100% - 40px) 0, 100% 100%, 70px calc(100% - 7px), 45px 100%, 25px calc(100% - 11px), 19px calc(100% - 7px), 0 calc(100% - 20px) );--shape-bubble--right__padding: 35px 45px 15px 50px}:root{--shape-bubble--left: polygon( 100% calc(100% - 20px), calc(100% - 20px) calc(100% - 10px), calc(100% - 25px) calc(100% - 15px), calc(100% - 45px) calc(100% - 5px), calc(100% - 70px) calc(100% - 10px), 0 100%, 40px 0, calc(100% - 45px) 30px, calc(100% - 40px) calc(100% - 30px), calc(100% - 20px) calc(100% - 45px), calc(100% - 18px) calc(100% - 25px) );--shape-bubble--left__outline: polygon( 100% calc(100% - 20px), calc(100% - 5px) calc(100% - 20px), calc(100% - 20px) calc(100% - 10px), calc(100% - 25px) calc(100% - 15px), calc(100% - 45px) calc(100% - 5px), calc(100% - 70px) calc(100% - 10px), 20px calc(100% - 10px), 50px 7px, calc(100% - 45px) 30px, calc(100% - 40px) calc(100% - 30px), calc(100% - 20px) calc(100% - 45px), calc(100% - 18px) calc(100% - 25px), calc(100% - 5px) calc(100% - 20px), 100% calc(100% - 20px), calc(100% - 16px) calc(100% - 28px), calc(100% - 17px) calc(100% - 53px), calc(100% - 39px) calc(100% - 40px), calc(100% - 38px) 23px, 40px 0, 0 100%, calc(100% - 70px) calc(100% - 7px), calc(100% - 45px) 100%, calc(100% - 25px) calc(100% - 11px), calc(100% - 19px) calc(100% - 7px), 100% calc(100% - 20px) );--shape-bubble--left__padding: 35px 50px 15px 45px}:root{--shape-card: polygon(2em 0, 0% 100%, 100% calc(100% - 5em), 100% 4em);--shape-card-padding: 4.5em .5em 5.5em 2.5em}:root{--shape-card--dense: polygon( .5em 0, 0% 100%, 100% calc(100% - 2em), 100% 1.5em );--shape-card--dense__outline: polygon( .5em 0, .8em .3em, .4em calc(100% - .7em), calc(100% - .3em) calc(100% - 2em), calc(100% - .4em) 1.5em, .8em .3em, .5em 0, 100% 1em, 100% calc(100% - 1.8em), 0% 100% );--shape-card--dense__padding: 2em .5em 2.5em 1em}.d-focus-hl{@apply relative;}.d-focus-hl--default-color{@apply bg-red-600;}.d-focus-hl:has(.d-focus-hl__hl--negative-tile){@apply w-fit;}.d-focus-hl>.d-focus-hl__hl--negative-tile{width:0%;height:0%;top:50%;left:50%;content:"";opacity:0;pointer-events:none;@apply absolute backdrop-invert transition-all;}.d-focus-hl:hover>.d-focus-hl__hl--negative-tile,*:focus .d-focus-hl__hl--negative-tile{opacity:1;animation:hl--negative-tile-animation linear 1s infinite}.d-focus-hl:hover>.d-focus-hl__hl--negative-tile{width:110%;height:130%;top:-15%;left:-5%}*:focus .d-focus-hl__hl--negative-tile{width:140%!important;height:200%!important;top:-50%!important;left:-20%!important}:is(:is(.router-link-active .d-focus-hl--not-exact:not(.d-focus-hl--no-passive-link),.router-link-exact-active .d-focus-hl--exact:not(.d-focus-hl--no-passive-link)),.d-focus-hl--active) :is(.d-focus-hl__hl--negative-tile){opacity:1;width:120%!important;height:120%!important;top:-10%!important;left:-10%!important}@keyframes hl--negative-tile-animation{0%,to{transform:skew(0) rotate(6deg)}50%{transform:skew(-40deg) rotate(-6deg) scaleX(.8)}}.d-focus-hl:has(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){@apply w-full;}.d-focus-hl>:is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){width:0%;height:200%;top:-50%;left:0;content:"";margin-left:-1.2em;pointer-events:none;clip-path:polygon(1rem 0,0% 100%,90% 50%);@apply absolute transition-all;}.d-focus-hl>.d-focus-hl__hl--negative-list-item{@apply backdrop-invert;}.d-focus-hl>.d-focus-hl__hl--list-item{@apply -z-10;}:is(.d-focus-hl:hover,*:focus) :is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){opacity:1;animation:hl--list-item-animation .3s infinite}.d-focus-hl:hover>:is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){width:200%;height:130%;top:-15%;left:-5%}*:focus :is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){width:220%!important;height:200%!important;top:-50%!important;left:-5%!important}:is(:is(.router-link-active .d-focus-hl--not-exact:not(.d-focus-hl--no-passive-link),.router-link-exact-active .d-focus-hl--exact:not(.d-focus-hl--no-passive-link)),.d-focus-hl--active) :is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){opacity:1;width:220%!important;height:130%!important;top:-15%!important;left:-5%!important}@keyframes hl--list-item-animation{0%,to{clip-path:polygon(1em 0,0% 100%,100% 50%)}50%{clip-path:polygon(1em 10%,0% 90%,100% 50%)}}.d-btn{@apply font-extrabold select-none relative inline-block cursor-pointer;}.d-btn--rotated{@apply -rotate-6;}.d-btn--uppercase{@apply uppercase;}.d-btn--capitalize{@apply capitalize;}.d-btn--lowercase{@apply lowercase;}.stats{@apply relative print:hidden;}.stats__bg{@apply fill-neutral-900;}.stats__bg-star--odd{@apply fill-neutral-500;}.stats__bg-star--even{@apply fill-neutral-800;}.stats__single-stat:hover{animation:single-stat-hover 1.5s ease-in-out infinite}.stats__star--light{@apply fill-yellow-400;}.stats__star--dark{@apply fill-yellow-600;}@keyframes single-stat-hover{0%{filter:brightness(1)}50%{filter:brightness(1.35)}to{filter:brightness(1)}}.stats__images{@apply absolute inset-0 pointer-events-none;}.stats__image{width:20%;height:20%;@apply absolute;}.stats__image:nth-child(1){top:2%;left:50%}.stats__image:nth-child(2){top:20%;right:6%}.stats__image:nth-child(3){bottom:8%;right:30%}.stats__image:nth-child(4){bottom:4%;left:10%}.stats__image:nth-child(5){top:30%;left:6%}.stats_titles-layer{@apply absolute inset-0 pointer-events-none;}.stats__group-title{font-size:150px;paint-order:stroke;text-anchor:start;dominant-baseline:text-bottom;font-weight:900;stroke-width:20;@apply fill-black font-sans stroke-yellow-500;}.stats__title{font-size:100px;paint-order:stroke;text-anchor:middle;dominant-baseline:text-top;font-weight:900;stroke-width:20;rotate:5deg;@apply fill-black font-sans stroke-yellow-500;}.stats__title__value{font-size:80px;stroke-width:20;stroke-linejoin:round}.stats__print-value{@apply hidden print:block;}.stats__print-value__group-title{@apply text-lg font-bold;}.stats__print-value__skill{@apply grid grid-cols-[1fr_auto] items-center gap-x-4 gap-y-1;}.stats__print-value--small{@apply hidden flex-wrap gap-2 items-center;}.stats__print-value--small__skill{@apply rounded text-white p-[.3em];}.stats__print-value--small__skill--hidden{@apply hidden;}.stats__print-value--small__skill--3{@apply bg-blue-500 text-xs;}.stats__print-value--small__skill--4{@apply bg-blue-600 text-sm;}.stats__print-value--small__skill--5{@apply bg-blue-700 text-base;}.small-print-stats .stats__print-value{@apply print:hidden;}.small-print-stats .stats__print-value--small{@apply print:flex;}.d-animation-accordion>.d-animation-accordion__section{--accordion-section-min-posion: translate( calc(var(--accordion-section-count) * 50px), 0 );--accordion-section-max-posion: translate( calc(var(--accordion-section-count) * 70px), 0 );transform:var(--accordion-section-min-posion);animation:d-animation-accordion-section-wiggle var(--d-accordion-wiggle-period) ease-in-out infinite alternate calc((var(--accordion-section-count) - 1) * var(--d-accordion-delay))}.d-animation-accordion>.d-animation-accordion__section:nth-child(odd){@apply fill-white;}.d-animation-accordion>.d-animation-accordion__section:nth-child(2){--accordion-section-count: 1}.d-animation-accordion>.d-animation-accordion__section:nth-child(3){--accordion-section-count: 2}.d-animation-accordion>.d-animation-accordion__section:nth-child(4){--accordion-section-count: 3}.d-animation-accordion>.d-animation-accordion__section:nth-child(5){--accordion-section-count: 4}.d-animation-accordion>.d-animation-accordion__section:nth-child(6){--accordion-section-count: 5}.d-animation-accordion>.d-animation-accordion__section:nth-child(7){--accordion-section-count: 6}@keyframes d-animation-accordion-section-wiggle{0%{transform:var(--accordion-section-min-posion)}50%{transform:var(--accordion-section-max-posion)}to{transform:var(--accordion-section-min-posion)}}.d-animation-floating-letter{animation:d-animation-floating-letter-float var(--d-floating-letter-float-period) ease-in-out infinite;transform-origin:315px 315px}@keyframes d-animation-floating-letter-float{0%{transform:translate(0)}50%{transform:translateY(40px)}to{transform:translate(0)}}.d-animation-hypnosis>.d-animation-hypnosis__section{--hypnosis-section-min-posion: scale( calc(var(--hypnosis-section-count) / 12) );--hypnosis-section-max-posion: translate( calc(var(--hypnosis-section-count) / 6) );transform:var(--hypnosis-section-min-posion);transform-origin:315px 315px;animation:d-animation-hypnosis-section-wiggle var(--d-hypnosis-wiggle-period) ease-in-out infinite alternate calc((var(--hypnosis-section-count) - 6) * -1 * var(--d-hypnosis-delay))}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(odd){@apply fill-white;}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(2){--hypnosis-section-count: 1}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(3){--hypnosis-section-count: 2}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(4){--hypnosis-section-count: 3}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(5){--hypnosis-section-count: 4}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(6){--hypnosis-section-count: 5}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(7){--hypnosis-section-count: 6}@keyframes d-animation-hypnosis-section-wiggle{0%{transform:var(--hypnosis-section-min-posion)}50%{transform:var(--hypnosis-section-max-posion)}to{transform:var(--hypnosis-section-min-posion)}}.d-animation-spinner__foreground{@apply fill-white;}.d-animation-spinner__background{@apply fill-black;}.d-animation-spinner__blade{--transform-static: scale(.5) rotate(220deg);animation:d-spinner-blade-wiggle var(--d-spinner-blade-wiggle-period) ease-in-out infinite}@keyframes d-spinner-blade-wiggle{0%{transform:translateY(-150px) var(--transform-static)}50%{transform:translateY(-120px) var(--transform-static)}to{transform:translateY(-150px) var(--transform-static)}}.d-animation-spinner__spinner{animation:d-spinner-spin var(--d-spinner-spin-period) linear infinite}@keyframes d-spinner-spin{0%{transform:rotate(0)}to{transform:rotate(-360deg)}}#big-bang-button-animation{overflow:hidden;pointer-events:none;@apply fixed w-full h-full top-0 left-0 text-center uppercase text-7xl md:text-9xl font-extrabold;}#big-bang-button-animation>.bbb__text-container{width:fit-content;margin-left:auto;margin-right:.5em;perspective:200px;transform-origin:right top;transform:rotateY(35deg) rotate(-12deg)}#big-bang-button-animation span{@apply inline-block mx-2;}#big-bang-button-animation span:nth-of-type(3n+1){@apply text-neutral-900 bg-neutral-50;}#big-bang-button-animation span:nth-of-type(4n+3){@apply bg-neutral-900 text-neutral-50;}.big-bang-button{@apply text-3xl font-bold uppercase cursor-pointer;}.big-bang-button:hover>span{@apply inline-block transition-all;}.big-bang-button:hover>span:nth-of-type(4n+1){@apply rotate-12 translate-x-1 -translate-y-2;}.big-bang-button:hover>span:nth-of-type(4n+2){@apply -rotate-6 translate-y-3;}.big-bang-button:hover>span:nth-of-type(4n+3){@apply -rotate-12 translate-x-1 -translate-y-2;}.big-bang-button:hover>span:nth-of-type(4n+4){@apply -rotate-6 translate-x-1 -translate-y-1;}.big-bang-button:hover>span:first{@apply rotate-12 -translate-x-2 -translate-y-2;}.card__content,.card__content--dense{@apply md:text-lg;}.card__content{padding:var(--shape-card-padding);@apply print:p-0;}.card__content--dense{padding:var(--shape-card--dense__padding);@apply print:p-0;}.card--homepage-story .card__content,.card--homepage-skills .card__content{@apply text-black;}.force-light :is(.card__bg,.card__bg--dense){@apply !bg-white dark:bg-white;}.card--homepage-story :is(.card__bg,.card__bg--dense){background:var(--d-card-x-ray--idle__color)}.card--homepage-skills :is(.card__bg,.card__bg--dense){background:var(--d-card-x-ray--action__color)}.card__bg,.card__bg--dense{@apply bg-white dark:bg-neutral-700 print:bg-none;}.card__bg{clip-path:var(--shape-card)}.card__bg--dense{clip-path:var(--shape-card--dense)}@media print{.card__bg{clip-path:none!important;background:none!important}}.card__title{@apply text-2xl md:text-3xl font-semibold -mt-5 mb-3 print:text-base print:ml-0 print:mb-0;}.card__title__content{@apply inline-block -ml-10 print:ml-0;}.card__title__content__text{@apply p-5 text-white dark:text-black print:p-0 print:text-inherit;}.card__title__content__shape{clip-path:polygon(.4em .4em,100% 0%,calc(100% - .4em) calc(100% - .4em),0% 100%);@apply bg-black dark:bg-white print:bg-transparent;}.force-light .card__title__content__text{@apply dark:text-white;}.force-light .card__title__content__shape{@apply dark:bg-black;}@media print{.card__title__content__shape{clip-path:none}}.d-alert{@apply font-dialog text-black dark:text-white mb-6 mt-12;}.d-alert__shape{@apply bg-white dark:bg-black opacity-80;clip-path:var(--shape-card--dense)}.d-alert__outline{@apply absolute inset-0 bg-black dark:bg-white;clip-path:var(--shape-card--dense__outline)}.d-alert--info .d-alert__outline{@apply bg-cyan-500;}.d-alert--question .d-alert__outline{@apply bg-yellow-500;}.d-alert--warning .d-alert__outline{@apply bg-red-500;}.d-alert__body{padding:var(--shape-card--dense__padding)}.d-alert__sign{@apply absolute w-[5em] -top-[1.5em] -left-[1.5em] pointer-events-none sharp-shadow ss-white ss-r-1;}.d-alert--info .d-alert__sign{@apply fill-cyan-500;}.d-alert--question .d-alert__sign{@apply fill-yellow-500;}.d-alert--warning .d-alert__sign{@apply fill-red-500;}.d-blockquote{@apply font-dialog text-black dark:text-white my-6;}.d-blockquote__outline{@apply absolute inset-0 bg-black dark:bg-white;}.d-blockquote__shape{@apply bg-white dark:bg-black opacity-80;}.d-blockquote--right .d-blockquote__body{padding:var(--shape-bubble--right__padding)}.d-blockquote--right .d-blockquote__outline{clip-path:var(--shape-bubble--right__outline)}.d-blockquote--right .d-blockquote__shape{clip-path:var(--shape-bubble--right)}.d-blockquote--left .d-blockquote__body{padding:var(--shape-bubble--left__padding)}.d-blockquote--left .d-blockquote__outline{clip-path:var(--shape-bubble--left__outline)}.d-blockquote--left .d-blockquote__shape{clip-path:var(--shape-bubble--left)}.d-actions-fan__list-item__shape{@apply dark:bg-neutral-900;}.d-actions-fan--right__list-item__shape{clip-path:polygon(calc(100% - 10px) 0,100% 100%,0 40%)}.d-actions-fan--left__list-item__shape{clip-path:polygon(10px 0,0 100%,100% 40%)}.d-actions-fan__list-item{@apply w-full transform -my-8;}.d-actions-fan--right__list-item{@apply origin-left;}.d-actions-fan--left__list-item{@apply origin-right;}.d-actions-fan__list-item__body{@apply px-3 py-2;}.d-actions-fan--right__list-item__body{@apply flex justify-end;}.actions-enter-active,.actions-leave-active{@apply transition-all;}.actions-enter-from{--tw-rotate: -90deg !important;@apply opacity-0;}.actions-leave-to{--tw-rotate: 90deg !important;@apply opacity-0;}.d-actions-list__shape{@apply dark:bg-neutral-900 dark:bg-opacity-80 backdrop-blur;clip-path:polygon(10px 0,0 100%,100% calc(100% - 10px),100% 13px)}.d-actions-list__body{@apply p-7;}.d-actions-list__header{@apply mb-4 font-serif text-lg;}.d-actions-list__list{@apply relative [&_button]:font-sans [&_button]:font-bold [&_button]:text-left font-sans font-bold;}.mbg__main-container{isolation:isolate}.mbg__relative-container{@apply relative w-full h-full;}.mbg__layer{top:0;right:0;bottom:0;left:0;@apply absolute;}.mbg__dots{background:url('data:image/svg+xml;utf8,<svg width="100" height="100" transform="rotate(0)" opacity="0.2" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="%23250E17"><circle cx="25" cy="25" r="12.5"/><circle cx="75" cy="75" r="12.5"/><circle cx="75" cy="25" r="12.5"/><circle cx="25" cy="75" r="12.5"/></g></svg>');background-size:2rem}.mbg__content{@apply relative z-[1];}
@@ -0,0 +1,16 @@
1
+ import type { Ref } from 'vue';
2
+ export declare function getAbsoluteBoundingsGetters(el: Ref<Element | null>, correlations?: {
3
+ x?: () => number;
4
+ y?: () => number;
5
+ }): {
6
+ top: () => number;
7
+ bottom: () => number;
8
+ right: () => number;
9
+ left: () => number;
10
+ };
11
+ export declare function getAbsoluteBoundings(el: Ref<Element | null>): {
12
+ top: number;
13
+ bottom: number;
14
+ right: number;
15
+ left: number;
16
+ };
@@ -0,0 +1,3 @@
1
+ export * from './boundings';
2
+ export * from './pagination';
3
+ export * from './polygon-animation';
@@ -0,0 +1 @@
1
+ export declare function getLinkToPaginatedPage(baseLink: string, page: number): string;
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Representation of point coordinates.
3
+ */
4
+ export type Coords = {
5
+ x: number;
6
+ y: number;
7
+ };
8
+ /**
9
+ * Representation of line edge, where right and left points
10
+ * are on the opposite sides of the same corner.
11
+ */
12
+ export type LineEdge = {
13
+ right: Coords;
14
+ left: Coords;
15
+ };
16
+ /**
17
+ *
18
+ * Generate sets of keyframes for each point on line polygon
19
+ *
20
+ * @param line
21
+ * @returns Sets of keyframes for each polygon point
22
+ */
23
+ export declare function generatePolygonLineKeyframes(line: LineEdge[]): Coords[][];
24
+ /**
25
+ *
26
+ * Generate 1 set of keyframes for the whole line polygon.
27
+ *
28
+ * @param line
29
+ * @returns Set of keyframes for the whole line polygon
30
+ */
31
+ export declare function generatePolygonPointsKeyframes(line: LineEdge[]): Coords[][];
32
+ /**
33
+ *
34
+ * Apply animation to each point of line.
35
+ *
36
+ * @param line Declarative line description
37
+ * @param svgContainer <svg> element which line all figures
38
+ * @param svgPolygon <polygon> element in svg image which will be animated line
39
+ * @param animationCallback apply keyframes to specific points inside callback
40
+ */
41
+ export declare function applyLinePerPointAnimation(line: LineEdge[], svgContainer: SVGSVGElement, svgPolygon: SVGPolygonElement, animationCallback: (point: DOMPoint, keyframes: Coords[]) => void): void;
42
+ /**
43
+ *
44
+ * Apply last state to polygon.
45
+ *
46
+ * @param line Declarative line description
47
+ * @param svgContainer <svg> element which line all figures
48
+ * @param svgPolygon <polygon> element in svg image which will be line
49
+ */
50
+ export declare function applyStaticPoints(line: LineEdge[], svgContainer: SVGSVGElement, svgPolygon: SVGPolygonElement): void;
51
+ export declare function createCoordsFromArray(coordsAsArray: number[]): Coords;
52
+ export declare function createLineEdgeFromArray(edgeAsArray: number[][]): LineEdge;
53
+ export declare function createLineFromArray(lineAsArray: number[][][]): LineEdge[];
package/index.html ADDED
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>Vite + Vue + TS</title>
8
+ </head>
9
+ <body>
10
+ <div id="app"></div>
11
+ <script type="module" src="/src/main.ts"></script>
12
+ </body>
13
+ </html>
package/package.json CHANGED
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "name": "@d0rich/esprit-design",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "type": "module",
8
- "files": [
9
- "dist"
10
- ],
11
8
  "main": "./dist/esprit-design.umd.cjs",
12
9
  "module": "./dist/esprit-design.js",
13
10
  "types": "./dist/index.d.ts",
@@ -0,0 +1,87 @@
1
+ /* eslint-disable @typescript-eslint/no-var-requires */
2
+ /** @type {import('tailwindcss/plugin')} */
3
+ const plugin = require('tailwindcss/plugin')
4
+ /** @type {import('tailwindcss/colors')} */
5
+ const colors = require('tailwindcss/colors')
6
+
7
+ const X_OFFSET_VAR = '--tw-ss-x-offset'
8
+ const Y_OFFSET_VAR = '--tw-ss-y-offset'
9
+ const COLOR_VAR = '--tw-ss-color'
10
+
11
+ const defaultStyle = {
12
+ [X_OFFSET_VAR]: '0px',
13
+ [Y_OFFSET_VAR]: '0px',
14
+ // [COLOR_VAR]: 'white',
15
+ '--tw-drop-shadow': `drop-shadow(var(${X_OFFSET_VAR}) var(${Y_OFFSET_VAR}) 0px var(${COLOR_VAR}))`,
16
+ filter:
17
+ 'var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)'
18
+ }
19
+
20
+ function direction2vector(direction) {
21
+ let x = 0
22
+ let y = 0
23
+ if (direction.includes('t')) y = -4
24
+ if (direction.includes('b')) y = 4
25
+ if (direction.includes('l')) x = -4
26
+ if (direction.includes('r')) x = 4
27
+ return { x, y }
28
+ }
29
+
30
+ function generateDirections() {
31
+ const directions = ['t', 'tr', 'tl', 'b', 'bl', 'br', 'r', 'l']
32
+ const offsets = [0, 1, 2, 3, 4, 5]
33
+ const result = {}
34
+ for (const dir of directions) {
35
+ const { x, y } = direction2vector(dir)
36
+ for (const offset of offsets) {
37
+ const newVariant = {
38
+ [X_OFFSET_VAR]: x * offset + 'px',
39
+ [Y_OFFSET_VAR]: y * offset + 'px'
40
+ }
41
+ if (x === 0) delete newVariant[X_OFFSET_VAR]
42
+ if (y === 0) delete newVariant[Y_OFFSET_VAR]
43
+ result[`.ss-${dir}-${offset}`] = newVariant
44
+ }
45
+ }
46
+ return result
47
+ }
48
+
49
+ function generateColors() {
50
+ const result = {}
51
+ for (const colorKey in colors) {
52
+ if (
53
+ [
54
+ 'inherit',
55
+ 'current',
56
+ 'transparent',
57
+ 'warmGray',
58
+ 'trueGray',
59
+ 'coolGray',
60
+ 'blueGray',
61
+ 'lightBlue'
62
+ ].includes(colorKey)
63
+ ) {
64
+ continue
65
+ }
66
+ if (typeof colors[colorKey] === 'string') {
67
+ result[`.ss-${colorKey}`] = {
68
+ [COLOR_VAR]: colors[colorKey]
69
+ }
70
+ } else if (typeof colors[colorKey] === 'object') {
71
+ for (const colorVariantKey in colors[colorKey]) {
72
+ result[`.ss-${colorKey}-${colorVariantKey}`] = {
73
+ [COLOR_VAR]: colors[colorKey][colorVariantKey]
74
+ }
75
+ }
76
+ }
77
+ }
78
+ return result
79
+ }
80
+
81
+ module.exports = plugin(function ({ addUtilities }) {
82
+ addUtilities({
83
+ '.sharp-shadow': defaultStyle,
84
+ ...generateDirections(),
85
+ ...generateColors()
86
+ })
87
+ })
@@ -0,0 +1,32 @@
1
+ <script lang="ts">
2
+ export default {
3
+ name: 'DChip'
4
+ }
5
+ </script>
6
+
7
+ <template>
8
+ <span class="d-chip">
9
+ <slot />
10
+ </span>
11
+ </template>
12
+
13
+ <style>
14
+ .d-chip {
15
+ display: inline-block;
16
+ clip-path: polygon(
17
+ 0 0,
18
+ 100% 0.2em,
19
+ calc(100% - 0.3em) 100%,
20
+ 0.2em calc(100% - 0.3em)
21
+ );
22
+ padding: 0.4em;
23
+ }
24
+
25
+ @media print {
26
+ .d-chip {
27
+ clip-path: none;
28
+ padding: 0;
29
+ background: unset !important;
30
+ }
31
+ }
32
+ </style>