@d0rich/esprit-design 0.3.2 → 0.3.4
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.
- package/CHANGELOG.md +12 -0
- package/dist/components/buttons/DBigBangButton.vue.d.ts +5 -3
- package/dist/components/buttons/DBtn.vue.d.ts +4 -3
- package/dist/esprit-design.js +4 -4
- package/dist/esprit-design.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/buttons/DBigBangButton.vue +2 -1
- package/src/components/buttons/DBtn.vue +3 -2
- package/src/components/utils/DWrapFocusHighlight.vue +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { RouteLocationRaw } from 'vue-router';
|
|
2
|
+
|
|
1
3
|
declare const _default: import('vue').DefineComponent<{
|
|
2
4
|
text: {
|
|
3
5
|
type: StringConstructor;
|
|
@@ -8,7 +10,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
8
10
|
default: string;
|
|
9
11
|
};
|
|
10
12
|
to: {
|
|
11
|
-
type: StringConstructor;
|
|
13
|
+
type: (StringConstructor | (() => RouteLocationRaw))[];
|
|
12
14
|
default: string;
|
|
13
15
|
};
|
|
14
16
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -23,13 +25,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
23
25
|
default: string;
|
|
24
26
|
};
|
|
25
27
|
to: {
|
|
26
|
-
type: StringConstructor;
|
|
28
|
+
type: (StringConstructor | (() => RouteLocationRaw))[];
|
|
27
29
|
default: string;
|
|
28
30
|
};
|
|
29
31
|
}>> & {
|
|
30
32
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
31
33
|
}, {
|
|
32
34
|
tag: string;
|
|
33
|
-
to:
|
|
35
|
+
to: RouteLocationRaw;
|
|
34
36
|
}, {}>;
|
|
35
37
|
export default _default;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { RouteLocationRaw } from 'vue-router';
|
|
1
2
|
import { HighlightVariant } from '../utils/index';
|
|
2
3
|
|
|
3
4
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
5
|
to: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
+
type: (StringConstructor | (() => RouteLocationRaw))[];
|
|
6
7
|
default: string;
|
|
7
8
|
};
|
|
8
9
|
href: {
|
|
@@ -40,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
40
41
|
};
|
|
41
42
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
42
43
|
to: {
|
|
43
|
-
type: StringConstructor;
|
|
44
|
+
type: (StringConstructor | (() => RouteLocationRaw))[];
|
|
44
45
|
default: string;
|
|
45
46
|
};
|
|
46
47
|
href: {
|
|
@@ -80,7 +81,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
80
81
|
tag: string;
|
|
81
82
|
active: boolean;
|
|
82
83
|
colorClass: string | Record<string, boolean>;
|
|
83
|
-
to:
|
|
84
|
+
to: RouteLocationRaw;
|
|
84
85
|
href: string;
|
|
85
86
|
exact: boolean;
|
|
86
87
|
noPassiveHighlight: boolean;
|
package/dist/esprit-design.js
CHANGED
|
@@ -1329,7 +1329,7 @@ const bn = () => ({
|
|
|
1329
1329
|
return (o, s) => (d(), S(A, null, {
|
|
1330
1330
|
default: b(() => [
|
|
1331
1331
|
(d(), S(z(n.value), ot(e, {
|
|
1332
|
-
class: ["d-focus-hl", {
|
|
1332
|
+
class: ["d-focus-hl d-focusable", {
|
|
1333
1333
|
"d-focus-hl--exact": t.linkExact,
|
|
1334
1334
|
"d-focus-hl--not-exact": !t.linkExact,
|
|
1335
1335
|
"d-focus-hl--no-passive-link": t.noPassiveLink,
|
|
@@ -1403,7 +1403,7 @@ const In = {
|
|
|
1403
1403
|
...In,
|
|
1404
1404
|
props: {
|
|
1405
1405
|
to: {
|
|
1406
|
-
type: String,
|
|
1406
|
+
type: [String, Object],
|
|
1407
1407
|
default: ""
|
|
1408
1408
|
},
|
|
1409
1409
|
href: {
|
|
@@ -1448,7 +1448,7 @@ const In = {
|
|
|
1448
1448
|
propsToProvide: i
|
|
1449
1449
|
} = re(e);
|
|
1450
1450
|
return (a, r) => (d(), S(z(W(n)), ot({
|
|
1451
|
-
class: ["d-btn", {
|
|
1451
|
+
class: ["d-btn d-focusable", {
|
|
1452
1452
|
"d-btn--rotated": !t.noRotate,
|
|
1453
1453
|
"d-btn--uppercase": t.textTransform === "uppercase",
|
|
1454
1454
|
"d-btn--capitalize": t.textTransform === "capitalize",
|
|
@@ -2129,7 +2129,7 @@ const q = /* @__PURE__ */ $t($s, [["render", ks]]), Ss = /* @__PURE__ */ l("use"
|
|
|
2129
2129
|
default: "button"
|
|
2130
2130
|
},
|
|
2131
2131
|
to: {
|
|
2132
|
-
type: String,
|
|
2132
|
+
type: [String, Object],
|
|
2133
2133
|
default: ""
|
|
2134
2134
|
}
|
|
2135
2135
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(h,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("gsap")):typeof define=="function"&&define.amd?define(["exports","vue","gsap"],e):(h=typeof globalThis<"u"?globalThis:h||self,e(h.EspritDesign={},h.Vue,h.gsap))})(this,function(h,e,G){"use strict";const Qt={name:"DChip"},K=(t,n)=>{const o=t.__vccOpts||t;for(const[i,s]of n)o[i]=s;return o},Zt={class:"d-chip"};function Xt(t,n,o,i,s,r){return e.openBlock(),e.createElementBlock("span",Zt,[e.renderSlot(t.$slots,"default")])}const Jt=K(Qt,[["render",Xt]]),D=/^[a-z0-9]+(-[a-z0-9]+)*$/,A=(t,n,o,i="")=>{const s=t.split(":");if(t.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;i=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const l=s.pop(),c=s.pop(),d={provider:s.length>0?s[0]:i,prefix:c,name:l};return n&&!j(d)?null:d}const r=s[0],a=r.split("-");if(a.length>1){const l={provider:i,prefix:a.shift(),name:a.join("-")};return n&&!j(l)?null:l}if(o&&i===""){const l={provider:i,prefix:"",name:r};return n&&!j(l,o)?null:l}return null},j=(t,n)=>t?!!((t.provider===""||t.provider.match(D))&&(n&&t.prefix===""||t.prefix.match(D))&&t.name.match(D)):!1,mt=Object.freeze({left:0,top:0,width:16,height:16}),O=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),z=Object.freeze({...mt,...O}),Q=Object.freeze({...z,body:"",hidden:!1});function Yt(t,n){const o={};!t.hFlip!=!n.hFlip&&(o.hFlip=!0),!t.vFlip!=!n.vFlip&&(o.vFlip=!0);const i=((t.rotate||0)+(n.rotate||0))%4;return i&&(o.rotate=i),o}function ht(t,n){const o=Yt(t,n);for(const i in Q)i in O?i in t&&!(i in o)&&(o[i]=O[i]):i in n?o[i]=n[i]:i in t&&(o[i]=t[i]);return o}function vt(t,n){const o=t.icons,i=t.aliases||Object.create(null),s=Object.create(null);function r(a){if(o[a])return s[a]=[];if(!(a in s)){s[a]=null;const l=i[a]&&i[a].parent,c=l&&r(l);c&&(s[a]=[l].concat(c))}return s[a]}return Object.keys(o).concat(Object.keys(i)).forEach(r),s}function te(t,n,o){const i=t.icons,s=t.aliases||Object.create(null);let r={};function a(l){r=ht(i[l]||s[l],r)}return a(n),o.forEach(a),ht(t,r)}function pt(t,n){const o=[];if(typeof t!="object"||typeof t.icons!="object")return o;t.not_found instanceof Array&&t.not_found.forEach(s=>{n(s,null),o.push(s)});const i=vt(t);for(const s in i){const r=i[s];r&&(n(s,te(t,s,r)),o.push(s))}return o}const ee={provider:"",aliases:{},not_found:{},...mt};function Z(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function gt(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!Z(t,ee))return null;const o=n.icons;for(const s in o){const r=o[s];if(!s.match(D)||typeof r.body!="string"||!Z(r,Q))return null}const i=n.aliases||Object.create(null);for(const s in i){const r=i[s],a=r.parent;if(!s.match(D)||typeof a!="string"||!o[a]&&!i[a]||!Z(r,Q))return null}return n}const _t=Object.create(null);function ne(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function N(t,n){const o=_t[t]||(_t[t]=Object.create(null));return o[n]||(o[n]=ne(t,n))}function X(t,n){return gt(n)?pt(n,(o,i)=>{i?t.icons[o]=i:t.missing.add(o)}):[]}function oe(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let T=!1;function yt(t){return typeof t=="boolean"&&(T=t),T}function se(t){const n=typeof t=="string"?A(t,!0,T):t;if(n){const o=N(n.provider,n.prefix),i=n.name;return o.icons[i]||(o.missing.has(i)?null:void 0)}}function ie(t,n){const o=A(t,!0,T);if(!o)return!1;const i=N(o.provider,o.prefix);return oe(i,o.name,n)}function re(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),T&&!n&&!t.prefix){let s=!1;return gt(t)&&(t.prefix="",pt(t,(r,a)=>{a&&ie(r,a)&&(s=!0)})),s}const o=t.prefix;if(!j({provider:n,prefix:o,name:"a"}))return!1;const i=N(n,o);return!!X(i,t)}const kt=Object.freeze({width:null,height:null}),bt=Object.freeze({...kt,...O}),ae=/(-?[0-9.]*[0-9]+[0-9.]*)/g,le=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ct(t,n,o){if(n===1)return t;if(o=o||100,typeof t=="number")return Math.ceil(t*n*o)/o;if(typeof t!="string")return t;const i=t.split(ae);if(i===null||!i.length)return t;const s=[];let r=i.shift(),a=le.test(r);for(;;){if(a){const l=parseFloat(r);isNaN(l)?s.push(r):s.push(Math.ceil(l*n*o)/o)}else s.push(r);if(r=i.shift(),r===void 0)return s.join("");a=!a}}function ce(t,n="defs"){let o="";const i=t.indexOf("<"+n);for(;i>=0;){const s=t.indexOf(">",i),r=t.indexOf("</"+n);if(s===-1||r===-1)break;const a=t.indexOf(">",r);if(a===-1)break;o+=t.slice(s+1,r).trim(),t=t.slice(0,i).trim()+t.slice(a+1)}return{defs:o,content:t}}function de(t,n){return t?"<defs>"+t+"</defs>"+n:n}function fe(t,n,o){const i=ce(t);return de(i.defs,n+i.content+o)}const ue=t=>t==="unset"||t==="undefined"||t==="none";function me(t,n){const o={...z,...t},i={...bt,...n},s={left:o.left,top:o.top,width:o.width,height:o.height};let r=o.body;[o,i].forEach(g=>{const f=[],B=g.hFlip,w=g.vFlip;let _=g.rotate;B?w?_+=2:(f.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),f.push("scale(-1 1)"),s.top=s.left=0):w&&(f.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),f.push("scale(1 -1)"),s.top=s.left=0);let b;switch(_<0&&(_-=Math.floor(_/4)*4),_=_%4,_){case 1:b=s.height/2+s.top,f.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:f.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:b=s.width/2+s.left,f.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}_%2===1&&(s.left!==s.top&&(b=s.left,s.left=s.top,s.top=b),s.width!==s.height&&(b=s.width,s.width=s.height,s.height=b)),f.length&&(r=fe(r,'<g transform="'+f.join(" ")+'">',"</g>"))});const a=i.width,l=i.height,c=s.width,d=s.height;let u,m;a===null?(m=l===null?"1em":l==="auto"?d:l,u=Ct(m,c/d)):(u=a==="auto"?c:a,m=l===null?Ct(u,d/c):l==="auto"?d:l);const p={},k=(g,f)=>{ue(f)||(p[g]=f.toString())};k("width",u),k("height",m);const C=[s.left,s.top,c,d];return p.viewBox=C.join(" "),{attributes:p,viewBox:C,body:r}}const he=/\sid="(\S+)"/g,pe="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ge=0;function _e(t,n=pe){const o=[];let i;for(;i=he.exec(t);)o.push(i[1]);if(!o.length)return t;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(r=>{const a=typeof n=="function"?n(r):n+(ge++).toString(),l=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+a+s+"$3")}),t=t.replace(new RegExp(s,"g"),""),t}const J=Object.create(null);function ye(t,n){J[t]=n}function Y(t){return J[t]||J[""]}function v(t){let n;if(typeof t.resources=="string")n=[t.resources];else if(n=t.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const tt=Object.create(null),I=["https://api.simplesvg.com","https://api.unisvg.com"],q=[];for(;I.length>0;)I.length===1||Math.random()>.5?q.push(I.shift()):q.push(I.pop());tt[""]=v({resources:["https://api.iconify.design"].concat(q)});function ke(t,n){const o=v(n);return o===null?!1:(tt[t]=o,!0)}function et(t){return tt[t]}let wt=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function be(t,n){const o=et(t);if(!o)return 0;let i;if(!o.maxURL)i=0;else{let s=0;o.resources.forEach(a=>{s=Math.max(s,a.length)});const r=n+".json?icons=";i=o.maxURL-s-o.path.length-r.length}return i}function Ce(t){return t===404}const we=(t,n,o)=>{const i=[],s=be(t,n),r="icons";let a={type:r,provider:t,prefix:n,icons:[]},l=0;return o.forEach((c,d)=>{l+=c.length+1,l>=s&&d>0&&(i.push(a),a={type:r,provider:t,prefix:n,icons:[]},l=c.length),a.icons.push(c)}),i.push(a),i};function Se(t){if(typeof t=="string"){const n=et(t);if(n)return n.path}return"/"}const Be={prepare:we,send:(t,n,o)=>{if(!wt){o("abort",424);return}let i=Se(n.provider);switch(n.type){case"icons":{const r=n.prefix,l=n.icons.join(","),c=new URLSearchParams({icons:l});i+=r+".json?"+c.toString();break}case"custom":{const r=n.uri;i+=r.slice(0,1)==="/"?r.slice(1):r;break}default:o("abort",400);return}let s=503;wt(t+i).then(r=>{const a=r.status;if(a!==200){setTimeout(()=>{o(Ce(a)?"abort":"next",a)});return}return s=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?o("abort",r):o("next",s)});return}setTimeout(()=>{o("success",r)})}).catch(()=>{o("next",s)})}};function Ee(t){const n={loaded:[],missing:[],pending:[]},o=Object.create(null);t.sort((s,r)=>s.provider!==r.provider?s.provider.localeCompare(r.provider):s.prefix!==r.prefix?s.prefix.localeCompare(r.prefix):s.name.localeCompare(r.name));let i={provider:"",prefix:"",name:""};return t.forEach(s=>{if(i.name===s.name&&i.prefix===s.prefix&&i.provider===s.provider)return;i=s;const r=s.provider,a=s.prefix,l=s.name,c=o[r]||(o[r]=Object.create(null)),d=c[a]||(c[a]=N(r,a));let u;l in d.icons?u=n.loaded:a===""||d.missing.has(l)?u=n.missing:u=n.pending;const m={provider:r,prefix:a,name:l};u.push(m)}),n}function St(t,n){t.forEach(o=>{const i=o.loaderCallbacks;i&&(o.loaderCallbacks=i.filter(s=>s.id!==n))})}function $e(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const n=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!n.length)return;let o=!1;const i=t.provider,s=t.prefix;n.forEach(r=>{const a=r.icons,l=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==s)return!0;const d=c.name;if(t.icons[d])a.loaded.push({provider:i,prefix:s,name:d});else if(t.missing.has(d))a.missing.push({provider:i,prefix:s,name:d});else return o=!0,!0;return!1}),a.pending.length!==l&&(o||St([t],r.id),r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort))})}))}let xe=0;function Ne(t,n,o){const i=xe++,s=St.bind(null,o,i);if(!n.pending.length)return s;const r={id:i,icons:n,callback:t,abort:s};return o.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(r)}),s}function Ve(t,n=!0,o=!1){const i=[];return t.forEach(s=>{const r=typeof s=="string"?A(s,n,o):s;r&&i.push(r)}),i}var Pe={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function De(t,n,o,i){const s=t.resources.length,r=t.random?Math.floor(Math.random()*s):t.index;let a;if(t.random){let y=t.resources.slice(0);for(a=[];y.length>1;){const E=Math.floor(Math.random()*y.length);a.push(y[E]),y=y.slice(0,E).concat(y.slice(E+1))}a=a.concat(y)}else a=t.resources.slice(r).concat(t.resources.slice(0,r));const l=Date.now();let c="pending",d=0,u,m=null,p=[],k=[];typeof i=="function"&&k.push(i);function C(){m&&(clearTimeout(m),m=null)}function g(){c==="pending"&&(c="aborted"),C(),p.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),p=[]}function f(y,E){E&&(k=[]),typeof y=="function"&&k.push(y)}function B(){return{startTime:l,payload:n,status:c,queriesSent:d,queriesPending:p.length,subscribe:f,abort:g}}function w(){c="failed",k.forEach(y=>{y(void 0,u)})}function _(){p.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),p=[]}function b(y,E,M){const H=E!=="success";switch(p=p.filter(V=>V!==y),c){case"pending":break;case"failed":if(H||!t.dataAfterTimeout)return;break;default:return}if(E==="abort"){u=M,w();return}if(H){u=M,p.length||(a.length?ut():w());return}if(C(),_(),!t.random){const V=t.resources.indexOf(y.resource);V!==-1&&V!==t.index&&(t.index=V)}c="completed",k.forEach(V=>{V(M)})}function ut(){if(c!=="pending")return;C();const y=a.shift();if(y===void 0){if(p.length){m=setTimeout(()=>{C(),c==="pending"&&(_(),w())},t.timeout);return}w();return}const E={status:"pending",resource:y,callback:(M,H)=>{b(E,M,H)}};p.push(E),d++,m=setTimeout(ut,t.rotate),o(y,n,E.callback)}return setTimeout(ut),B}function Bt(t){const n={...Pe,...t};let o=[];function i(){o=o.filter(l=>l().status==="pending")}function s(l,c,d){const u=De(n,l,c,(m,p)=>{i(),d&&d(m,p)});return o.push(u),u}function r(l){return o.find(c=>l(c))||null}return{query:s,find:r,setIndex:l=>{n.index=l},getIndex:()=>n.index,cleanup:i}}function Et(){}const nt=Object.create(null);function Te(t){if(!nt[t]){const n=et(t);if(!n)return;const o=Bt(n),i={config:n,redundancy:o};nt[t]=i}return nt[t]}function Ie(t,n,o){let i,s;if(typeof t=="string"){const r=Y(t);if(!r)return o(void 0,424),Et;s=r.send;const a=Te(t);a&&(i=a.redundancy)}else{const r=v(t);if(r){i=Bt(r);const a=t.resources?t.resources[0]:"",l=Y(a);l&&(s=l.send)}}return!i||!s?(o(void 0,424),Et):i.query(n,s,o)().abort}const $t="iconify2",L="iconify",xt=L+"-count",Nt=L+"-version",Vt=36e5,Le=168,Fe=50;function ot(t,n){try{return t.getItem(n)}catch{}}function st(t,n,o){try{return t.setItem(n,o),!0}catch{}}function Pt(t,n){try{t.removeItem(n)}catch{}}function it(t,n){return st(t,xt,n.toString())}function rt(t){return parseInt(ot(t,xt))||0}const W={local:!0,session:!0},Dt={local:new Set,session:new Set};let at=!1;function Me(t){at=t}let R=typeof window>"u"?{}:window;function Tt(t){const n=t+"Storage";try{if(R&&R[n]&&typeof R[n].length=="number")return R[n]}catch{}W[t]=!1}function It(t,n){const o=Tt(t);if(!o)return;const i=ot(o,Nt);if(i!==$t){if(i){const l=rt(o);for(let c=0;c<l;c++)Pt(o,L+c.toString())}st(o,Nt,$t),it(o,0);return}const s=Math.floor(Date.now()/Vt)-Le,r=l=>{const c=L+l.toString(),d=ot(o,c);if(typeof d=="string"){try{const u=JSON.parse(d);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>s&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&n(u,l))return!0}catch{}Pt(o,c)}};let a=rt(o);for(let l=a-1;l>=0;l--)r(l)||(l===a-1?(a--,it(o,a)):Dt[t].add(l))}function Lt(){if(!at){Me(!0);for(const t in W)It(t,n=>{const o=n.data,i=n.provider,s=o.prefix,r=N(i,s);if(!X(r,o).length)return!1;const a=o.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,a):a,!0})}}function Ae(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const i in W)It(i,s=>{const r=s.data;return s.provider!==t.provider||r.prefix!==t.prefix||r.lastModified===n});return!0}function je(t,n){at||Lt();function o(i){let s;if(!W[i]||!(s=Tt(i)))return;const r=Dt[i];let a;if(r.size)r.delete(a=Array.from(r).shift());else if(a=rt(s),a>=Fe||!it(s,a+1))return;const l={cached:Math.floor(Date.now()/Vt),provider:t.provider,data:n};return st(s,L+a.toString(),JSON.stringify(l))}n.lastModified&&!Ae(t,n.lastModified)||Object.keys(n.icons).length&&(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function Ft(){}function Oe(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,$e(t)}))}function ze(t,n){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(n).sort():t.iconsToLoad=n,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:o,prefix:i}=t,s=t.iconsToLoad;delete t.iconsToLoad;let r;if(!s||!(r=Y(o)))return;r.prepare(o,i,s).forEach(l=>{Ie(o,l,c=>{if(typeof c!="object")l.icons.forEach(d=>{t.missing.add(d)});else try{const d=X(t,c);if(!d.length)return;const u=t.pendingIcons;u&&d.forEach(m=>{u.delete(m)}),je(t,c)}catch(d){console.error(d)}Oe(t)})})}))}const qe=(t,n)=>{const o=Ve(t,!0,yt()),i=Ee(o);if(!i.pending.length){let c=!0;return n&&setTimeout(()=>{c&&n(i.loaded,i.missing,i.pending,Ft)}),()=>{c=!1}}const s=Object.create(null),r=[];let a,l;return i.pending.forEach(c=>{const{provider:d,prefix:u}=c;if(u===l&&d===a)return;a=d,l=u,r.push(N(d,u));const m=s[d]||(s[d]=Object.create(null));m[u]||(m[u]=[])}),i.pending.forEach(c=>{const{provider:d,prefix:u,name:m}=c,p=N(d,u),k=p.pendingIcons||(p.pendingIcons=new Set);k.has(m)||(k.add(m),s[d][u].push(m))}),r.forEach(c=>{const{provider:d,prefix:u}=c;s[d][u].length&&ze(c,s[d][u])}),n?Ne(n,i,r):Ft};function We(t,n){const o={...t};for(const i in n){const s=n[i],r=typeof s;i in kt?(s===null||s&&(r==="string"||r==="number"))&&(o[i]=s):r===typeof o[i]&&(o[i]=i==="rotate"?s%4:s)}return o}const Re=/[\s,]+/;function Ue(t,n){n.split(Re).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function He(t,n=0){const o=t.replace(/^-?[0-9.]*/,"");function i(s){for(;s<0;)s+=4;return s%4}if(o===""){const s=parseInt(t);return isNaN(s)?0:i(s)}else if(o!==t){let s=0;switch(o){case"%":s=25;break;case"deg":s=90}if(s){let r=parseFloat(t.slice(0,t.length-o.length));return isNaN(r)?0:(r=r/s,r%1===0?i(r):0)}}return n}function Ge(t,n){let o=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in n)o+=" "+i+'="'+n[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+t+"</svg>"}function Ke(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Qe(t){return"data:image/svg+xml,"+Ke(t)}function Ze(t){return'url("'+Qe(t)+'")'}const Mt={...bt,inline:!1},Xe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Je={display:"inline-block"},lt={backgroundColor:"currentColor"},At={backgroundColor:"transparent"},jt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ot={webkitMask:lt,mask:lt,background:At};for(const t in Ot){const n=Ot[t];for(const o in jt)n[t+o]=jt[o]}const U={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";U[t+"-flip"]=n,U[t.slice(0,1)+"-flip"]=n,U[t+"Flip"]=n});function zt(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const qt=(t,n)=>{const o=We(Mt,n),i={...Xe},s=n.mode||"svg",r={},a=n.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let g in n){const f=n[g];if(f!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":o[g]=f===!0||f==="true"||f===1;break;case"flip":typeof f=="string"&&Ue(o,f);break;case"color":r.color=f;break;case"rotate":typeof f=="string"?o[g]=He(f):typeof f=="number"&&(o[g]=f);break;case"ariaHidden":case"aria-hidden":f!==!0&&f!=="true"&&delete i["aria-hidden"];break;default:{const B=U[g];B?(f===!0||f==="true"||f===1)&&(o[B]=!0):Mt[g]===void 0&&(i[g]=f)}}}const c=me(t,o),d=c.attributes;if(o.inline&&(r.verticalAlign="-0.125em"),s==="svg"){i.style={...r,...l},Object.assign(i,d);let g=0,f=n.id;return typeof f=="string"&&(f=f.replace(/-/g,"_")),i.innerHTML=_e(c.body,f?()=>f+"ID"+g++:"iconifyVue"),e.h("svg",i)}const{body:u,width:m,height:p}=t,k=s==="mask"||(s==="bg"?!1:u.indexOf("currentColor")!==-1),C=Ge(u,{...d,width:m+"",height:p+""});return i.style={...r,"--svg":Ze(C),width:zt(d.width),height:zt(d.height),...Je,...k?lt:At,...l},e.h("span",i)};if(yt(!0),ye("",Be),typeof document<"u"&&typeof window<"u"){Lt();const t=window;if(t.IconifyPreload!==void 0){const n=t.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!re(i))&&console.error(o)}catch{console.error(o)}})}if(t.IconifyProviders!==void 0){const n=t.IconifyProviders;if(typeof n=="object"&&n!==null)for(let o in n){const i="IconifyProviders["+o+"] is invalid.";try{const s=n[o];if(typeof s!="object"||!s||s.resources===void 0)continue;ke(o,s)||console.error(i)}catch{console.error(i)}}}}const Ye={...z,body:""},P=e.defineComponent({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,n){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let o;if(typeof t!="string"||(o=A(t,!1,!0))===null)return this.abortLoading(),null;const i=se(o);if(!i)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",i!==null&&(this._loadingIcon={name:t,abort:qe([o],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,n&&n(t));const s=["iconify"];return o.prefix!==""&&s.push("iconify--"+o.prefix),o.provider!==""&&s.push("iconify--"+o.provider),{data:i,classes:s}}},render(){this.counter;const t=this.$attrs,n=this.iconMounted||t.ssr?this.getIcon(t.icon,t.onLoad):null;if(!n)return qt(Ye,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),qt({...z,...n.data},o)}});function Wt(t,n){return n===1?t:`${t}/${n}`}const Rt=()=>({getLinkToPaginatedPage:Wt}),ve={class:"d-shape"},tn={class:"d-shape__bg-wrapper"},en={name:"DWrapShape"},S=e.defineComponent({...en,props:{shapeClass:{},shapeStyle:{},filterClass:{},filterStyle:{},tag:{}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.tag??"div"),null,{default:e.withCtx(()=>[e.createElementVNode("div",ve,[e.createElementVNode("div",{class:e.normalizeClass(["d-shape__bg-filter",n.filterClass]),style:e.normalizeStyle(n.filterStyle)},[e.createElementVNode("div",tn,[e.createElementVNode("div",{class:e.normalizeClass(["d-shape__bg",n.shapeClass]),style:e.normalizeStyle(n.shapeStyle)},[e.renderSlot(n.$slots,"shape-content")],6),e.renderSlot(n.$slots,"bg-overlay")])],6),e.renderSlot(n.$slots,"default")])]),_:3}))}}),nn={key:0,class:"d-focus-hl__hl--negative-tile"},on={key:2,class:"d-focus-hl__hl--negative-list-item"},sn=e.createElementVNode("div",{class:"d-focus-hl__hl--negative-list-item"},null,-1),rn={name:"DWrapFocusHighlight",components:{DWrapShape:S}},F=e.defineComponent({...rn,props:{linkExact:Boolean,noPassiveLink:Boolean,active:Boolean,variant:{type:String,default:"negative-tile"},tag:{type:String,default:"div"},colorClass:{type:[String,Object],default:"d-focus-hl--default-color"}},setup(t){const n=t,o=e.computed(()=>n.to||n.href?resolveComponent("NuxtLink"):n.tag);return(i,s)=>(e.openBlock(),e.createBlock(S,null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),e.mergeProps(n,{class:["d-focus-hl",{"d-focus-hl--exact":t.linkExact,"d-focus-hl--not-exact":!t.linkExact,"d-focus-hl--no-passive-link":t.noPassiveLink,"d-focus-hl--active":t.active}]}),{default:e.withCtx(()=>[t.variant==="negative-tile"?(e.openBlock(),e.createElementBlock("div",nn)):t.variant==="list-item"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-focus-hl__hl--list-item",t.colorClass])},null,2)):t.variant==="negative-list-item"?(e.openBlock(),e.createElementBlock("div",on)):t.variant==="composite-list-item"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("div",{class:e.normalizeClass(["d-focus-hl__hl--list-item",t.colorClass])},null,2),sn],64)):e.createCommentVNode("",!0),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))]),_:3}))}});function Ut(t){const n=e.resolveDynamicComponent("RouterLink"),o=typeof defineNuxtLink=="function"?defineNuxtLink({componentName:"DNuxtLink"}):void 0,i=e.computed(()=>!!(t.href||t.to)),s=e.computed(()=>{if(!t.href)return!1;const a=t.href;return a.startsWith("http")||a.startsWith("mailto:")||a.startsWith("tel:")||a.startsWith("#")}),r=e.computed(()=>{const a={...t};return t.href&&t.to?delete a.href:t.href?delete a.to:t.to&&delete a.href,a});return i.value?typeof o<"u"?{isLink:i,isExternalLink:s,linkComponent:o,propsToProvide:r}:typeof n!="string"?{isLink:i,isExternalLink:s,linkComponent:n,propsToProvide:r}:{isLink:i,isExternalLink:s,linkComponent:"a",propsToProvide:r}:{isLink:i,isExternalLink:s,linkComponent:t.tag||"span",propsToProvide:r}}const an={name:"DBtn",components:{DWrapFocusHighlight:F}},$=e.defineComponent({...an,props:{to:{type:String,default:""},href:{type:String,default:void 0},exact:Boolean,noPassiveHighlight:Boolean,active:Boolean,noRotate:Boolean,tag:{type:String,default:"button"},highlight:{type:String,default:void 0},colorClass:{type:[String,Object],default:""},textTransform:{type:String,default:"uppercase"}},setup(t){const n=t,{linkComponent:o,isLink:i,isExternalLink:s,propsToProvide:r}=Ut(n);return(a,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o)),e.mergeProps({class:["d-btn",{"d-btn--rotated":!t.noRotate,"d-btn--uppercase":t.textTransform==="uppercase","d-btn--capitalize":t.textTransform==="capitalize","d-btn--lowercase":t.textTransform==="lowercase"}]},e.unref(r)),{default:e.withCtx(()=>[e.createVNode(F,{variant:t.highlight,"link-exact":t.exact,"no-passive-link":t.noPassiveHighlight||!e.unref(i)||e.unref(s),"color-class":t.colorClass,active:t.active},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},8,["variant","link-exact","no-passive-link","color-class","active"])]),_:3},16,["class"]))}}),ln={class:"w-fit text-2xl font-bold"},cn={key:2,class:"mx-1"},dn={key:3,class:"mx-1"},fn={name:"DPagination",components:{DBtn:$,Icon:P}},un=e.defineComponent({...fn,props:{currentPage:{type:Number,default:1},allPages:{type:Number,required:!0},baseLink:{type:String,required:!0}},setup(t){const n=t,{getLinkToPaginatedPage:o}=Rt();function i(r){return o(n.baseLink,r)}const s=e.computed(()=>Array.from({length:7},(r,a)=>a-3+n.currentPage).filter(r=>r>=1&&r<=n.allPages));return(r,a)=>(e.openBlock(),e.createElementBlock("nav",ln,[t.currentPage>1?(e.openBlock(),e.createBlock($,{key:0,class:"inline-block mx-1",to:i(t.currentPage-1),"aria-label":"Previous page"},{default:e.withCtx(()=>[e.createVNode(e.unref(P),{icon:"ic:baseline-arrow-back-ios"})]),_:1},8,["to"])):e.createCommentVNode("",!0),s.value.includes(1)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,{key:1,class:"inline-block mx-1",to:i(1),"aria-label":"First page"},{default:e.withCtx(()=>[e.createTextVNode(" 1 ")]),_:1},8,["to"])),s.value.includes(1)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",cn," ... ")),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,l=>(e.openBlock(),e.createBlock($,{key:l,class:"inline-block mx-1",to:i(l),"aria-label":`Page ${l}`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l),1)]),_:2},1032,["to","aria-label"]))),128)),s.value.includes(t.allPages)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",dn," ... ")),s.value.includes(t.allPages)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,{key:4,class:"inline-block mx-1",to:i(t.allPages),"aria-label":`Last page (${t.allPages})`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.allPages),1)]),_:1},8,["to","aria-label"])),t.currentPage<t.allPages?(e.openBlock(),e.createBlock($,{key:5,class:"inline-block mx-1",to:i(t.currentPage+1),"aria-label":"Next page"},{default:e.withCtx(()=>[e.createVNode(e.unref(P),{icon:"ic:baseline-arrow-forward-ios"})]),_:1},8,["to"])):e.createCommentVNode("",!0)]))}}),mn={class:"max-w-full"},hn={class:"stats__print-value"},pn={class:"stats__print-value__group-title"},gn={class:"stats__print-value--small"},_n={class:"stats"},yn={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg"},kn=e.createElementVNode("polygon",{points:"100,-350 1500,-500 1000,1350 -500,1500",class:"stats__bg"},null,-1),bn=["points"],Cn=["points"],wn={class:"stats__single-stat"},Sn=["points"],Bn=["points"],En={class:"stats__single-stat"},$n=["points"],xn=["points"],Nn={class:"stats__single-stat"},Vn=["points"],Pn=["points"],Dn={class:"stats__single-stat"},Tn=["points"],In=["points"],Ln={class:"stats__single-stat"},Fn=["points"],Mn=["points"],An={class:"stats__images"},jn={class:"stats__image"},On={class:"stats__image"},zn={class:"stats__image"},qn={class:"stats__image"},Wn={class:"stats__image"},Rn={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg",class:"stats_titles-layer"},Un={x:"-500",y:"-300",class:"stats__group-title"},Hn=["x","y","transform-origin"],Gn={class:"stats__title__value"},Kn=["x","y","transform-origin"],Qn={class:"stats__title__value"},Zn=["x","y","transform-origin"],Xn={class:"stats__title__value"},Jn=["x","y","transform-origin"],Yn={class:"stats__title__value"},vn=["x","y","transform-origin"],to={class:"stats__title__value"},eo={name:"DStats",components:{Icon:P}},no=e.defineComponent({...eo,props:{groupTitle:{},titles:{},values:{}},setup(t){const n=t,o=e.ref([[500,0],[630,330],[980,350],[700,590],[790,910],[500,720],[210,910],[300,590],[20,350],[370,330]]),i=e.ref([1,.8,.6,.4,.27]),s={1:0,"1-2":1,2:2,"2-3":3,3:4,"3-4":5,4:6,"4-5":7,5:8,"5-1":9},r=[500,500];function a(f){return f.map(B=>B.join(",")).join(" ")}function l(f,B,w=500,_=500){return f.map(b=>[b[0]-(b[0]-w)*(1-B),b[1]-(b[1]-_)*(1-B)])}const c=e.computed(()=>i.value.map(f=>l(o.value,f)));function d(f){return c.value[5-f]}function u(f){return{value:n.values?n.values[f]??1:1,title:n.titles?n.titles[f]??"":""}}const m=e.computed(()=>u(0)),p=e.computed(()=>u(1)),k=e.computed(()=>u(2)),C=e.computed(()=>u(3)),g=e.computed(()=>u(4));return(f,B)=>(e.openBlock(),e.createElementBlock("figure",mn,[e.createElementVNode("div",hn,[e.createElementVNode("div",pn,e.toDisplayString(f.groupTitle),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.titles,(w,_)=>(e.openBlock(),e.createElementBlock("div",{key:w,class:"stats__print-value__skill"},[e.createElementVNode("div",null,e.toDisplayString(w),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.values[_],b=>(e.openBlock(),e.createBlock(e.unref(P),{key:b,icon:"ic:sharp-star"}))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(5-f.values[_],b=>(e.openBlock(),e.createBlock(e.unref(P),{key:b,icon:"ic:sharp-star-border"}))),128))])]))),128))])]),e.createElementVNode("div",gn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.titles,(w,_)=>(e.openBlock(),e.createElementBlock("span",{key:w,class:e.normalizeClass(["stats__print-value--small__skill",{"stats__print-value--small__skill--hidden":f.values[_]<3,"stats__print-value--small__skill--3":f.values[_]===3,"stats__print-value--small__skill--4":f.values[_]===4,"stats__print-value--small__skill--5":f.values[_]===5}])},e.toDisplayString(w),3))),128))]),e.createElementVNode("div",_n,[(e.openBlock(),e.createElementBlock("svg",yn,[kn,e.createElementVNode("polygon",{points:a(l(o.value,2)),class:"stats__bg-star--odd"},null,8,bn),e.createElementVNode("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(w,_)=>(e.openBlock(),e.createElementBlock("polygon",{key:_,points:a(w),class:e.normalizeClass({"stats__bg-star--odd":_%2,"stats__bg-star--even":!(_%2)})},null,10,Cn))),128))]),e.createElementVNode("g",null,[e.createElementVNode("g",wn,[e.createElementVNode("polygon",{points:a([d(m.value.value)[s[1]],d(Math.min(m.value.value,g.value.value))[s["5-1"]],r]),class:"stats__star--dark"},null,8,Sn),e.createElementVNode("polygon",{points:a([d(m.value.value)[s[1]],d(Math.min(m.value.value,p.value.value))[s["1-2"]],r]),class:"stats__star--light"},null,8,Bn)]),e.createElementVNode("g",En,[e.createElementVNode("polygon",{points:a([d(p.value.value)[s[2]],d(Math.min(m.value.value,p.value.value))[s["1-2"]],r]),class:"stats__star--light"},null,8,$n),e.createElementVNode("polygon",{points:a([d(p.value.value)[s[2]],d(Math.min(k.value.value,p.value.value))[s["2-3"]],r]),class:"stats__star--dark"},null,8,xn)]),e.createElementVNode("g",Nn,[e.createElementVNode("polygon",{points:a([d(k.value.value)[s[3]],d(Math.min(p.value.value,k.value.value))[s["2-3"]],r]),class:"stats__star--light"},null,8,Vn),e.createElementVNode("polygon",{points:a([d(k.value.value)[s[3]],d(Math.min(k.value.value,C.value.value))[s["3-4"]],r]),class:"stats__star--dark"},null,8,Pn)]),e.createElementVNode("g",Dn,[e.createElementVNode("polygon",{points:a([d(C.value.value)[s[4]],d(Math.min(k.value.value,C.value.value))[s["3-4"]],r]),class:"stats__star--light"},null,8,Tn),e.createElementVNode("polygon",{points:a([d(C.value.value)[s[4]],d(Math.min(C.value.value,g.value.value))[s["4-5"]],r]),class:"stats__star--dark"},null,8,In)]),e.createElementVNode("g",Ln,[e.createElementVNode("polygon",{points:a([d(g.value.value)[s[5]],d(Math.min(C.value.value,g.value.value))[s["4-5"]],r]),class:"stats__star--dark"},null,8,Fn),e.createElementVNode("polygon",{points:a([d(g.value.value)[s[5]],d(Math.min(g.value.value,m.value.value))[s["5-1"]],r]),class:"stats__star--light"},null,8,Mn)])])])),e.createElementVNode("div",An,[e.createElementVNode("div",jn,[e.renderSlot(f.$slots,"icon-1")]),e.createElementVNode("div",On,[e.renderSlot(f.$slots,"icon-2")]),e.createElementVNode("div",zn,[e.renderSlot(f.$slots,"icon-3")]),e.createElementVNode("div",qn,[e.renderSlot(f.$slots,"icon-4")]),e.createElementVNode("div",Wn,[e.renderSlot(f.$slots,"icon-5")])]),(e.openBlock(),e.createElementBlock("svg",Rn,[e.createElementVNode("text",Un,e.toDisplayString(f.groupTitle),1),e.createElementVNode("g",null,[e.createElementVNode("text",{x:o.value[s[1]][0],y:o.value[s[1]][1]-100,"transform-origin":`${o.value[s[1]][0]} ${o.value[s[1]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(m.value.title)+" ",1),e.createElementVNode("tspan",Gn,e.toDisplayString(m.value.value),1)],8,Hn),e.createElementVNode("text",{x:o.value[s[2]][0]+100,y:o.value[s[2]][1]-100,"transform-origin":`${o.value[s[2]][0]+100} ${o.value[s[2]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(p.value.title)+" ",1),e.createElementVNode("tspan",Qn,e.toDisplayString(p.value.value),1)],8,Kn),e.createElementVNode("text",{"dominant-baseline":"hanging",x:o.value[s[3]][0]+150,y:o.value[s[3]][1]+150,"transform-origin":`${o.value[s[3]][0]+150} ${o.value[s[3]][1]+150}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(k.value.title)+" ",1),e.createElementVNode("tspan",Xn,e.toDisplayString(k.value.value),1)],8,Zn),e.createElementVNode("text",{"dominant-baseline":"hanging",x:o.value[s[4]][0]-150,y:o.value[s[4]][1]+150,"transform-origin":`${o.value[s[4]][0]-150} ${o.value[s[4]][1]+150}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(C.value.title)+" ",1),e.createElementVNode("tspan",Yn,e.toDisplayString(C.value.value),1)],8,Jn),e.createElementVNode("text",{x:o.value[s[5]][0]-100,y:o.value[s[5]][1]-100,"transform-origin":`${o.value[s[5]][0]-100} ${o.value[s[5]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(g.value.title)+" ",1),e.createElementVNode("tspan",to,e.toDisplayString(g.value.value),1)],8,vn)])]))])]))}}),oo={name:"DAnimationDefLetterD"},so={d:"M200.242,139.244l137.207,-0c66.136,-0 112.859,17.192 140.169,51.576c27.31,34.384 33.562,84.973 18.755,151.767c-22.045,98.711 -85.878,148.066 -191.498,148.066l-179.16,-0l74.527,-351.409Zm184.588,179.159c12.175,-57.581 -7.732,-86.372 -59.72,-86.372l-33.068,0l-35.042,165.834l44.42,0c23.69,0 42.034,-6.169 55.031,-18.508c12.997,-12.339 22.457,-32.657 28.379,-60.954Z"};function io(t,n,o,i,s,r){return e.openBlock(),e.createElementBlock("path",so)}const x=K(oo,[["render",io]]),ro=e.createElementVNode("use",{id:"d-accordion-section",href:"#d-letter",transform:"scale(0.33)"},null,-1),ao=e.createStaticVNode('<use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use>',6),lo={name:"DAnimationAccordion",components:{DAnimationDefLetterD:x}},co=e.defineComponent({...lo,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 210",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-accordion",style:e.normalizeStyle({"--d-accordion-wiggle-period":t.wigglePeriod+"s","--d-accordion-delay":t.delay+"s"})},[e.createElementVNode("defs",null,[e.createVNode(x,{id:"d-letter"}),ro]),ao],4))}}),fo={name:"DAnimationFloatingLetter",components:{DAnimationDefLetterD:x}},uo=e.defineComponent({...fo,props:{floatPeriod:{type:Number,default:5},pathClass:{type:[String,Object],default:""}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:e.normalizeStyle({"--d-floating-letter-float-period":t.floatPeriod+"s"})},[e.createVNode(x,{class:e.normalizeClass(["d-animation-floating-letter",t.pathClass])},null,8,["class"])],4))}}),mo=e.createElementVNode("use",{id:"d-hypnosis-section",href:"#d-letter"},null,-1),ho=e.createStaticVNode('<use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use>',6),po={name:"DAnimationHypnosis",components:{DAnimationDefLetterD:x}},go=e.defineComponent({...po,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-hypnosis",style:e.normalizeStyle({"--d-hypnosis-wiggle-period":t.wigglePeriod+"s","--d-hypnosis-delay":t.delay+"s"})},[e.createElementVNode("defs",null,[e.createVNode(x,{id:"d-letter"}),mo]),ho],4))}}),_o={name:"DAnimationSpinner",components:{DAnimationDefLetterD:x}},yo=e.defineComponent({..._o,props:{spinPeriod:{type:Number,default:10},bladeWigglePeriod:{type:Number,default:5}},setup(t){const n="315 315";return(o,i)=>(e.openBlock(),e.createElementBlock("svg",{class:"spinner",viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:e.normalizeStyle({"--d-spinner-spin-period":t.spinPeriod+"s","--d-spinner-blade-wiggle-period":t.bladeWigglePeriod+"s"})},[e.createElementVNode("defs",null,[e.createVNode(x,{id:"d-letter"}),e.createElementVNode("use",{id:"d-spinner-blade",href:"#d-letter",class:"d-animation-spinner__blade","transform-origin":n}),e.createElementVNode("g",{id:"spinner",class:"d-animation-spinner__spinner","transform-origin":n},[e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(0)","transform-origin":n}),e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(120)","transform-origin":n}),e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(240)","transform-origin":n})])]),e.createElementVNode("use",{href:"#spinner",transform:"translate( -20 20 )",class:"d-animation-spinner__background","transform-origin":n}),e.createElementVNode("use",{href:"#spinner",class:"d-animation-spinner__foreground","transform-origin":n})],4))}}),ko=e.ref(""),ct=()=>({text:ko}),bo={id:"big-bang-button-animation"},Co=["i","textContent"],wo={name:"DBigBangButtonAnimation"},So=e.defineComponent({...wo,setup(t){const n={first:"M 0 0 C -489.471 -116.5 -526.692 -193.268 -563.913 -311.911",last:"M 0 0 C 317.761 171.963 466.645 199.879 680.666 171.963",intermediate:["M 0 0 C 36.277 125.437 19.992 358.068 -49.797 413.9","M 0 0 C 52.561 -69.974 71.171 -118.827 64.192 -446.837","M 0 0 C -3.271 137.068 -26.534 395.289 33.95 439.489"]},{text:o}=ct(),i=e.computed(()=>o.value.split(""));let s;e.watch(o,c=>{clearTimeout(s),c&&(s=setTimeout(()=>o.value="",1500))});function r(c){return c===0?n.first:c===i.value.length-1?n.last:n.intermediate[Math.floor(Math.random()*n.intermediate.length)]}function a(c,d){G.fromTo(c,{opacity:0,rotateX:-90},{opacity:1,rotateX:0,rotate:-12+Math.random()*24,delay:Math.random()*.3,duration:.2,onComplete:d})}function l(c,d){const u=+G.getProperty(c,"i");G.to(c,{motionPath:{path:r(u)},opacity:0,rotate:-180+Math.random()*360,duration:.2,onComplete:d})}return(c,d)=>(e.openBlock(),e.createElementBlock("div",bo,[e.createVNode(e.TransitionGroup,{tag:"div",class:"bbb__text-container",onEnter:a,onLeave:l},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(u,m)=>(e.openBlock(),e.createElementBlock("span",{key:m,i:m,textContent:e.toDisplayString(u)},null,8,Co))),128))]),_:1})]))}}),Bo=["textContent"],Eo={name:"DBigBangButton"},$o=e.defineComponent({...Eo,props:{text:{type:String,required:!0},tag:{type:String,default:"button"},to:{type:String,default:""}},emits:["click"],setup(t,{emit:n}){const o=n,i=t,{text:s}=ct(),{linkComponent:r}=Ut(i),a=e.computed(()=>i.text.split(""));function l(c){s.value=i.text,o("click",c)}return(c,d)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r)),{to:t.to,class:"big-bang-button",onClick:l},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(u,m)=>(e.openBlock(),e.createElementBlock("span",{key:m,textContent:e.toDisplayString(u)},null,8,Bo))),128))]),_:1},8,["to"]))}}),xo={name:"DCard",components:{DWrapShape:S}},No=e.defineComponent({...xo,props:{mode:{type:String,default:"default"},dense:Boolean},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(S,{"shape-class":{card__bg:!t.dense,"card__bg--dense":t.dense},class:e.normalizeClass({"card--homepage-story force-light":t.mode==="homepage-story","card--homepage-skills force-light":t.mode==="homepage-skills",card:t.mode==="default"})},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass({card__content:!t.dense,"card__content--dense":t.dense})},[e.renderSlot(n.$slots,"default")],2)]),_:3},8,["shape-class","class"]))}}),Vo={name:"DCardTitle",components:{DWrapShape:S}},Po={class:"card__title"},Do={class:"card__title__content__text"},To={class:"ml-2 print:text-neutral-600"};function Io(t,n,o,i,s,r){const a=e.resolveComponent("DWrapShape");return e.openBlock(),e.createElementBlock("div",Po,[e.createVNode(a,{class:"card__title__content","shape-class":"card__title__content__shape"},{default:e.withCtx(()=>[e.createElementVNode("h3",Do,[e.renderSlot(t.$slots,"default")])]),_:3}),e.createElementVNode("span",To,[e.renderSlot(t.$slots,"extra")])])}const Lo=K(Vo,[["render",Io]]),Fo=e.createElementVNode("div",{class:"d-alert__outline"},null,-1),Mo={class:"d-alert__body"},Ao={viewBox:"0 0 1067 1067",xmlns:"http://www.w3.org/2000/svg",class:"d-alert__sign"},jo={key:0},Oo=[e.createElementVNode("path",{d:"M202.481,1025.68l427.138,-769.216l171.992,106.943l-461.057,689.584l-138.073,-27.311Z"},null,-1),e.createElementVNode("path",{d:"M832.695,310.003l-170.011,-113.247l92.566,-170.289l218.937,122.443l-141.492,161.093Z"},null,-1)],zo={key:1},qo=[e.createElementVNode("path",{d:"M289.17,836.982l100.67,63.007l-27.42,149.27l-200.047,-83.328l126.797,-128.949Z"},null,-1),e.createElementVNode("path",{d:"M335.818,766.179l95.499,91.347l134.944,-217.987l249.128,-6.228l174.389,-139.096l14.533,-236.672l-170.237,-224.215l-170.238,-8.304l-242.9,124.564l114.184,64.358l178.542,-41.522l161.933,130.793l-68.51,205.53l-203.455,-53.978l-178.542,70.587l-89.27,240.823Z"},null,-1)],Wo={key:2},Ro=[e.createElementVNode("path",{d:"M304.988,722.034l335.792,-712.747l299.877,30.543l-514.204,743.146l-121.465,-60.942Z"},null,-1),e.createElementVNode("path",{d:"M253.974,839.059l148.42,40.169l-118.767,182.487l-131.537,-66.719l101.884,-155.937Z"},null,-1)],Uo=e.defineComponent({__name:"DAlert",props:{type:{type:String,default:"info"}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(S,{class:e.normalizeClass(["d-alert",{"d-alert--info":t.type==="info","d-alert--question":t.type==="question","d-alert--warning":t.type==="warning"}]),"shape-class":"d-alert__shape"},{"bg-overlay":e.withCtx(()=>[Fo]),default:e.withCtx(()=>[e.createElementVNode("div",Mo,[e.renderSlot(n.$slots,"default"),(e.openBlock(),e.createElementBlock("svg",Ao,[t.type==="info"?(e.openBlock(),e.createElementBlock("g",jo,Oo)):e.createCommentVNode("",!0),t.type==="question"?(e.openBlock(),e.createElementBlock("g",zo,qo)):e.createCommentVNode("",!0),t.type==="warning"?(e.openBlock(),e.createElementBlock("g",Wo,Ro)):e.createCommentVNode("",!0)]))])]),_:3},8,["class"]))}}),Ho=e.createElementVNode("div",{class:"d-blockquote__outline"},null,-1),Go={class:"d-blockquote__body"},Ko=e.defineComponent({__name:"DQuote",props:{direction:{type:String,default:"right"}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(S,{tag:"blockquote",class:e.normalizeClass(["d-blockquote",{"d-blockquote--left":t.direction==="left","d-blockquote--right":t.direction==="right"}]),"shape-class":"d-blockquote__shape"},{"bg-overlay":e.withCtx(()=>[Ho]),default:e.withCtx(()=>[e.createElementVNode("div",Go,[e.renderSlot(n.$slots,"default")])]),_:3},8,["class"]))}}),Qo={name:"DActionsFan",components:{DWrapShape:S,DBtn:$}},Zo=e.defineComponent({...Qo,props:{actions:{type:Array,default:()=>[]},side:{type:String,default:"left"},filterClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{name:"actions",tag:"ul",style:e.normalizeStyle({padding:`${Math.min(t.actions.length*2,15)}rem 0 ${Math.min(t.actions.length*3,15)}rem`})},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,(i,s)=>(e.openBlock(),e.createBlock(S,{key:i.title,tag:"li",class:e.normalizeClass(["d-actions-fan__list-item",{[i.class??""]:!0,"d-actions-fan--right__list-item":t.side==="right","d-actions-fan--left__list-item":t.side==="left"}]),"filter-class":t.filterClass,style:e.normalizeStyle({...i.style,"--tw-rotate":`${t.side==="left"?12-s*18:-12+s*18}deg`}),"shape-class":{"d-actions-fan__list-item__shape":!0,[i.shapeClass??""]:!0,"d-actions-fan--right__list-item__shape":t.side==="right","d-actions-fan--left__list-item__shape":t.side==="left"},"shape-style":i.shapeStyle},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["d-actions-fan__list-item__body",{"d-actions-fan--right__list-item__body":t.side==="right"}])},[e.createVNode($,e.mergeProps({ref_for:!0},i.attrs,{tag:"button","no-passive-highlight":"",onClick:r=>n.$emit("actionChoose",i.emit),onMouseenter:r=>n.$emit("actionFocus",i.emit),onTouchstart:r=>n.$emit("actionFocus",i.emit),onFocusin:r=>n.$emit("actionFocus",i.emit),onMouseleave:r=>n.$emit("actionUnfocus",i.emit),onTouchend:r=>n.$emit("actionUnfocus",i.emit),onFocusout:r=>n.$emit("actionUnfocus",i.emit)}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.title),1)]),_:2},1040,["onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])],2)]),_:2},1032,["filter-class","class","style","shape-class","shape-style"]))),128))]),_:1},8,["style"]))}}),Xo={class:"d-actions-list__body"},Jo={class:"d-actions-list__header"},Yo={name:"DActionsList",components:{DWrapFocusHighlight:F,DWrapShape:S}},vo=e.defineComponent({...Yo,props:{actions:{type:Array,default:()=>[]},listClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(t){function n(o){var i;return(i=o.attrs)!=null&&i.highlightVariant?o.attrs.highlightVariant:"negative-list-item"}return(o,i)=>(e.openBlock(),e.createBlock(S,{"shape-class":"d-actions-list__shape"},{default:e.withCtx(()=>[e.createElementVNode("div",Xo,[e.createElementVNode("div",Jo,[e.renderSlot(o.$slots,"header")]),e.createVNode(e.TransitionGroup,{name:"actions",tag:"ul",class:e.normalizeClass(["d-actions-list__list",t.listClass])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,s=>(e.openBlock(),e.createElementBlock("li",{key:s.title},[e.createVNode(F,e.mergeProps({ref_for:!0},s.attrs,{tag:"button",variant:n(s),"no-passive-link":"",onClick:r=>o.$emit("actionChoose",s.emit),onMouseenter:r=>o.$emit("actionFocus",s.emit),onTouchstart:r=>o.$emit("actionFocus",s.emit),onFocusin:r=>o.$emit("actionFocus",s.emit),onMouseleave:r=>o.$emit("actionUnfocus",s.emit),onTouchend:r=>o.$emit("actionUnfocus",s.emit),onFocusout:r=>o.$emit("actionUnfocus",s.emit)}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.title),1)]),_:2},1040,["variant","onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])]))),128))]),_:1},8,["class"])])]),_:3}))}}),ts={class:"mbg__relative-container"},es={class:"mbg__layer"},ns={class:"mbg__content"},os={name:"DWrapBackground"},ss=e.defineComponent({...os,props:{overlayClass:{type:[String,Object],default:""},overlayStyle:{type:Object,default:()=>{}},dotsClass:{type:[String,Object],default:""},dotsStyle:{type:Object,default:()=>{}},dots:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"mbg__main-container"},{default:e.withCtx(()=>[e.createElementVNode("div",ts,[e.createElementVNode("div",{class:e.normalizeClass(["mbg__layer",t.overlayClass]),style:e.normalizeStyle(t.overlayStyle)},null,6),e.createElementVNode("div",es,[e.renderSlot(n.$slots,"svg")]),t.dots?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["mbg__layer mbg__dots",t.dotsClass]),style:e.normalizeStyle(t.dotsStyle)},null,6)):e.createCommentVNode("",!0),e.createElementVNode("div",ns,[e.renderSlot(n.$slots,"default")])])]),_:3}))}});function Ht(t,n={}){return{top:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().top)??0)+window.scrollY+(n.y?n.y():0)},bottom:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().bottom)??0)+window.scrollY+(n.y?n.y():0)},right:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().right)??0)+window.scrollX+(n.x?n.x():0)},left:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().left)??0)+window.scrollX+(n.x?n.x():0)}}}function is(t){const n=Ht(t);return{top:n.top(),bottom:n.bottom(),right:n.right(),left:n.left()}}function dt(t){return t.map((n,o,i)=>{const s=i.reduce((a,l,c)=>(c>o?a.push(a.at(-1)):a.push(l.left),a),[]);return[...i.reduce((a,l,c)=>(c>o?a.push(a.at(-1)):a.push(l.right),a),[]),...s.reverse()]})}function Gt(t){const n=dt(t),o=n.length,i=n[0].length,s=[];for(let r=0;r<i;r++){const a=[];for(let l=0;l<o;l++)a.push(n[l][r]);s.push(a)}return s}function rs(t,n,o,i){const s=Gt(t);for(const r of s){const a=n.createSVGPoint();o.points.appendItem(a),i(a,r)}}function as(t,n,o){const i=dt(t).at(-1);if(i)for(const s of i){const r=n.createSVGPoint();r.x=s.x,r.y=s.y,o.points.appendItem(r)}}function ft(t){if(t.length!==2)throw new Error("Array should contain 2 numbers in order to be translated into coords");return{x:t[0],y:t[1]}}function Kt(t){if(t.length!==2)throw new Error("Array should contain 2 elements in order to be translated into LineEdge");return{left:ft(t[0]),right:ft(t[1])}}function ls(t){return t.map(Kt)}h.DActionsFan=Zo,h.DActionsList=vo,h.DAlert=Uo,h.DAnimationAccordion=co,h.DAnimationFloatingLetter=uo,h.DAnimationHypnosis=go,h.DAnimationSpinner=yo,h.DBigBangButton=$o,h.DBigBangButtonAnimation=So,h.DBtn=$,h.DCard=No,h.DCardTitle=Lo,h.DChip=Jt,h.DPagination=un,h.DQuote=Ko,h.DStats=no,h.DWrapBackground=ss,h.DWrapFocusHighlight=F,h.DWrapShape=S,h.applyLinePerPointAnimation=rs,h.applyStaticPoints=as,h.createCoordsFromArray=ft,h.createLineEdgeFromArray=Kt,h.createLineFromArray=ls,h.generatePolygonLineKeyframes=dt,h.generatePolygonPointsKeyframes=Gt,h.getAbsoluteBoundings=is,h.getAbsoluteBoundingsGetters=Ht,h.getLinkToPaginatedPage=Wt,h.useDBigBangButtonUtils=ct,h.useDPaginationUtils=Rt,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(h,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("gsap")):typeof define=="function"&&define.amd?define(["exports","vue","gsap"],e):(h=typeof globalThis<"u"?globalThis:h||self,e(h.EspritDesign={},h.Vue,h.gsap))})(this,function(h,e,G){"use strict";const Qt={name:"DChip"},K=(t,n)=>{const o=t.__vccOpts||t;for(const[i,s]of n)o[i]=s;return o},Zt={class:"d-chip"};function Xt(t,n,o,i,s,r){return e.openBlock(),e.createElementBlock("span",Zt,[e.renderSlot(t.$slots,"default")])}const Jt=K(Qt,[["render",Xt]]),D=/^[a-z0-9]+(-[a-z0-9]+)*$/,A=(t,n,o,i="")=>{const s=t.split(":");if(t.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;i=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const l=s.pop(),c=s.pop(),d={provider:s.length>0?s[0]:i,prefix:c,name:l};return n&&!j(d)?null:d}const r=s[0],a=r.split("-");if(a.length>1){const l={provider:i,prefix:a.shift(),name:a.join("-")};return n&&!j(l)?null:l}if(o&&i===""){const l={provider:i,prefix:"",name:r};return n&&!j(l,o)?null:l}return null},j=(t,n)=>t?!!((t.provider===""||t.provider.match(D))&&(n&&t.prefix===""||t.prefix.match(D))&&t.name.match(D)):!1,mt=Object.freeze({left:0,top:0,width:16,height:16}),O=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),z=Object.freeze({...mt,...O}),Q=Object.freeze({...z,body:"",hidden:!1});function Yt(t,n){const o={};!t.hFlip!=!n.hFlip&&(o.hFlip=!0),!t.vFlip!=!n.vFlip&&(o.vFlip=!0);const i=((t.rotate||0)+(n.rotate||0))%4;return i&&(o.rotate=i),o}function ht(t,n){const o=Yt(t,n);for(const i in Q)i in O?i in t&&!(i in o)&&(o[i]=O[i]):i in n?o[i]=n[i]:i in t&&(o[i]=t[i]);return o}function vt(t,n){const o=t.icons,i=t.aliases||Object.create(null),s=Object.create(null);function r(a){if(o[a])return s[a]=[];if(!(a in s)){s[a]=null;const l=i[a]&&i[a].parent,c=l&&r(l);c&&(s[a]=[l].concat(c))}return s[a]}return Object.keys(o).concat(Object.keys(i)).forEach(r),s}function te(t,n,o){const i=t.icons,s=t.aliases||Object.create(null);let r={};function a(l){r=ht(i[l]||s[l],r)}return a(n),o.forEach(a),ht(t,r)}function pt(t,n){const o=[];if(typeof t!="object"||typeof t.icons!="object")return o;t.not_found instanceof Array&&t.not_found.forEach(s=>{n(s,null),o.push(s)});const i=vt(t);for(const s in i){const r=i[s];r&&(n(s,te(t,s,r)),o.push(s))}return o}const ee={provider:"",aliases:{},not_found:{},...mt};function Z(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function gt(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!Z(t,ee))return null;const o=n.icons;for(const s in o){const r=o[s];if(!s.match(D)||typeof r.body!="string"||!Z(r,Q))return null}const i=n.aliases||Object.create(null);for(const s in i){const r=i[s],a=r.parent;if(!s.match(D)||typeof a!="string"||!o[a]&&!i[a]||!Z(r,Q))return null}return n}const _t=Object.create(null);function ne(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function N(t,n){const o=_t[t]||(_t[t]=Object.create(null));return o[n]||(o[n]=ne(t,n))}function X(t,n){return gt(n)?pt(n,(o,i)=>{i?t.icons[o]=i:t.missing.add(o)}):[]}function oe(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let T=!1;function yt(t){return typeof t=="boolean"&&(T=t),T}function se(t){const n=typeof t=="string"?A(t,!0,T):t;if(n){const o=N(n.provider,n.prefix),i=n.name;return o.icons[i]||(o.missing.has(i)?null:void 0)}}function ie(t,n){const o=A(t,!0,T);if(!o)return!1;const i=N(o.provider,o.prefix);return oe(i,o.name,n)}function re(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),T&&!n&&!t.prefix){let s=!1;return gt(t)&&(t.prefix="",pt(t,(r,a)=>{a&&ie(r,a)&&(s=!0)})),s}const o=t.prefix;if(!j({provider:n,prefix:o,name:"a"}))return!1;const i=N(n,o);return!!X(i,t)}const kt=Object.freeze({width:null,height:null}),bt=Object.freeze({...kt,...O}),ae=/(-?[0-9.]*[0-9]+[0-9.]*)/g,le=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ct(t,n,o){if(n===1)return t;if(o=o||100,typeof t=="number")return Math.ceil(t*n*o)/o;if(typeof t!="string")return t;const i=t.split(ae);if(i===null||!i.length)return t;const s=[];let r=i.shift(),a=le.test(r);for(;;){if(a){const l=parseFloat(r);isNaN(l)?s.push(r):s.push(Math.ceil(l*n*o)/o)}else s.push(r);if(r=i.shift(),r===void 0)return s.join("");a=!a}}function ce(t,n="defs"){let o="";const i=t.indexOf("<"+n);for(;i>=0;){const s=t.indexOf(">",i),r=t.indexOf("</"+n);if(s===-1||r===-1)break;const a=t.indexOf(">",r);if(a===-1)break;o+=t.slice(s+1,r).trim(),t=t.slice(0,i).trim()+t.slice(a+1)}return{defs:o,content:t}}function de(t,n){return t?"<defs>"+t+"</defs>"+n:n}function fe(t,n,o){const i=ce(t);return de(i.defs,n+i.content+o)}const ue=t=>t==="unset"||t==="undefined"||t==="none";function me(t,n){const o={...z,...t},i={...bt,...n},s={left:o.left,top:o.top,width:o.width,height:o.height};let r=o.body;[o,i].forEach(g=>{const f=[],B=g.hFlip,w=g.vFlip;let _=g.rotate;B?w?_+=2:(f.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),f.push("scale(-1 1)"),s.top=s.left=0):w&&(f.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),f.push("scale(1 -1)"),s.top=s.left=0);let b;switch(_<0&&(_-=Math.floor(_/4)*4),_=_%4,_){case 1:b=s.height/2+s.top,f.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:f.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:b=s.width/2+s.left,f.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}_%2===1&&(s.left!==s.top&&(b=s.left,s.left=s.top,s.top=b),s.width!==s.height&&(b=s.width,s.width=s.height,s.height=b)),f.length&&(r=fe(r,'<g transform="'+f.join(" ")+'">',"</g>"))});const a=i.width,l=i.height,c=s.width,d=s.height;let u,m;a===null?(m=l===null?"1em":l==="auto"?d:l,u=Ct(m,c/d)):(u=a==="auto"?c:a,m=l===null?Ct(u,d/c):l==="auto"?d:l);const p={},k=(g,f)=>{ue(f)||(p[g]=f.toString())};k("width",u),k("height",m);const C=[s.left,s.top,c,d];return p.viewBox=C.join(" "),{attributes:p,viewBox:C,body:r}}const he=/\sid="(\S+)"/g,pe="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ge=0;function _e(t,n=pe){const o=[];let i;for(;i=he.exec(t);)o.push(i[1]);if(!o.length)return t;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(r=>{const a=typeof n=="function"?n(r):n+(ge++).toString(),l=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+a+s+"$3")}),t=t.replace(new RegExp(s,"g"),""),t}const J=Object.create(null);function ye(t,n){J[t]=n}function Y(t){return J[t]||J[""]}function v(t){let n;if(typeof t.resources=="string")n=[t.resources];else if(n=t.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const tt=Object.create(null),I=["https://api.simplesvg.com","https://api.unisvg.com"],q=[];for(;I.length>0;)I.length===1||Math.random()>.5?q.push(I.shift()):q.push(I.pop());tt[""]=v({resources:["https://api.iconify.design"].concat(q)});function ke(t,n){const o=v(n);return o===null?!1:(tt[t]=o,!0)}function et(t){return tt[t]}let wt=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function be(t,n){const o=et(t);if(!o)return 0;let i;if(!o.maxURL)i=0;else{let s=0;o.resources.forEach(a=>{s=Math.max(s,a.length)});const r=n+".json?icons=";i=o.maxURL-s-o.path.length-r.length}return i}function Ce(t){return t===404}const we=(t,n,o)=>{const i=[],s=be(t,n),r="icons";let a={type:r,provider:t,prefix:n,icons:[]},l=0;return o.forEach((c,d)=>{l+=c.length+1,l>=s&&d>0&&(i.push(a),a={type:r,provider:t,prefix:n,icons:[]},l=c.length),a.icons.push(c)}),i.push(a),i};function Se(t){if(typeof t=="string"){const n=et(t);if(n)return n.path}return"/"}const Be={prepare:we,send:(t,n,o)=>{if(!wt){o("abort",424);return}let i=Se(n.provider);switch(n.type){case"icons":{const r=n.prefix,l=n.icons.join(","),c=new URLSearchParams({icons:l});i+=r+".json?"+c.toString();break}case"custom":{const r=n.uri;i+=r.slice(0,1)==="/"?r.slice(1):r;break}default:o("abort",400);return}let s=503;wt(t+i).then(r=>{const a=r.status;if(a!==200){setTimeout(()=>{o(Ce(a)?"abort":"next",a)});return}return s=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?o("abort",r):o("next",s)});return}setTimeout(()=>{o("success",r)})}).catch(()=>{o("next",s)})}};function Ee(t){const n={loaded:[],missing:[],pending:[]},o=Object.create(null);t.sort((s,r)=>s.provider!==r.provider?s.provider.localeCompare(r.provider):s.prefix!==r.prefix?s.prefix.localeCompare(r.prefix):s.name.localeCompare(r.name));let i={provider:"",prefix:"",name:""};return t.forEach(s=>{if(i.name===s.name&&i.prefix===s.prefix&&i.provider===s.provider)return;i=s;const r=s.provider,a=s.prefix,l=s.name,c=o[r]||(o[r]=Object.create(null)),d=c[a]||(c[a]=N(r,a));let u;l in d.icons?u=n.loaded:a===""||d.missing.has(l)?u=n.missing:u=n.pending;const m={provider:r,prefix:a,name:l};u.push(m)}),n}function St(t,n){t.forEach(o=>{const i=o.loaderCallbacks;i&&(o.loaderCallbacks=i.filter(s=>s.id!==n))})}function $e(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const n=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!n.length)return;let o=!1;const i=t.provider,s=t.prefix;n.forEach(r=>{const a=r.icons,l=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==s)return!0;const d=c.name;if(t.icons[d])a.loaded.push({provider:i,prefix:s,name:d});else if(t.missing.has(d))a.missing.push({provider:i,prefix:s,name:d});else return o=!0,!0;return!1}),a.pending.length!==l&&(o||St([t],r.id),r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort))})}))}let xe=0;function Ne(t,n,o){const i=xe++,s=St.bind(null,o,i);if(!n.pending.length)return s;const r={id:i,icons:n,callback:t,abort:s};return o.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(r)}),s}function Ve(t,n=!0,o=!1){const i=[];return t.forEach(s=>{const r=typeof s=="string"?A(s,n,o):s;r&&i.push(r)}),i}var Pe={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function De(t,n,o,i){const s=t.resources.length,r=t.random?Math.floor(Math.random()*s):t.index;let a;if(t.random){let y=t.resources.slice(0);for(a=[];y.length>1;){const E=Math.floor(Math.random()*y.length);a.push(y[E]),y=y.slice(0,E).concat(y.slice(E+1))}a=a.concat(y)}else a=t.resources.slice(r).concat(t.resources.slice(0,r));const l=Date.now();let c="pending",d=0,u,m=null,p=[],k=[];typeof i=="function"&&k.push(i);function C(){m&&(clearTimeout(m),m=null)}function g(){c==="pending"&&(c="aborted"),C(),p.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),p=[]}function f(y,E){E&&(k=[]),typeof y=="function"&&k.push(y)}function B(){return{startTime:l,payload:n,status:c,queriesSent:d,queriesPending:p.length,subscribe:f,abort:g}}function w(){c="failed",k.forEach(y=>{y(void 0,u)})}function _(){p.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),p=[]}function b(y,E,M){const H=E!=="success";switch(p=p.filter(V=>V!==y),c){case"pending":break;case"failed":if(H||!t.dataAfterTimeout)return;break;default:return}if(E==="abort"){u=M,w();return}if(H){u=M,p.length||(a.length?ut():w());return}if(C(),_(),!t.random){const V=t.resources.indexOf(y.resource);V!==-1&&V!==t.index&&(t.index=V)}c="completed",k.forEach(V=>{V(M)})}function ut(){if(c!=="pending")return;C();const y=a.shift();if(y===void 0){if(p.length){m=setTimeout(()=>{C(),c==="pending"&&(_(),w())},t.timeout);return}w();return}const E={status:"pending",resource:y,callback:(M,H)=>{b(E,M,H)}};p.push(E),d++,m=setTimeout(ut,t.rotate),o(y,n,E.callback)}return setTimeout(ut),B}function Bt(t){const n={...Pe,...t};let o=[];function i(){o=o.filter(l=>l().status==="pending")}function s(l,c,d){const u=De(n,l,c,(m,p)=>{i(),d&&d(m,p)});return o.push(u),u}function r(l){return o.find(c=>l(c))||null}return{query:s,find:r,setIndex:l=>{n.index=l},getIndex:()=>n.index,cleanup:i}}function Et(){}const nt=Object.create(null);function Te(t){if(!nt[t]){const n=et(t);if(!n)return;const o=Bt(n),i={config:n,redundancy:o};nt[t]=i}return nt[t]}function Ie(t,n,o){let i,s;if(typeof t=="string"){const r=Y(t);if(!r)return o(void 0,424),Et;s=r.send;const a=Te(t);a&&(i=a.redundancy)}else{const r=v(t);if(r){i=Bt(r);const a=t.resources?t.resources[0]:"",l=Y(a);l&&(s=l.send)}}return!i||!s?(o(void 0,424),Et):i.query(n,s,o)().abort}const $t="iconify2",L="iconify",xt=L+"-count",Nt=L+"-version",Vt=36e5,Le=168,Fe=50;function ot(t,n){try{return t.getItem(n)}catch{}}function st(t,n,o){try{return t.setItem(n,o),!0}catch{}}function Pt(t,n){try{t.removeItem(n)}catch{}}function it(t,n){return st(t,xt,n.toString())}function rt(t){return parseInt(ot(t,xt))||0}const W={local:!0,session:!0},Dt={local:new Set,session:new Set};let at=!1;function Me(t){at=t}let R=typeof window>"u"?{}:window;function Tt(t){const n=t+"Storage";try{if(R&&R[n]&&typeof R[n].length=="number")return R[n]}catch{}W[t]=!1}function It(t,n){const o=Tt(t);if(!o)return;const i=ot(o,Nt);if(i!==$t){if(i){const l=rt(o);for(let c=0;c<l;c++)Pt(o,L+c.toString())}st(o,Nt,$t),it(o,0);return}const s=Math.floor(Date.now()/Vt)-Le,r=l=>{const c=L+l.toString(),d=ot(o,c);if(typeof d=="string"){try{const u=JSON.parse(d);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>s&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&n(u,l))return!0}catch{}Pt(o,c)}};let a=rt(o);for(let l=a-1;l>=0;l--)r(l)||(l===a-1?(a--,it(o,a)):Dt[t].add(l))}function Lt(){if(!at){Me(!0);for(const t in W)It(t,n=>{const o=n.data,i=n.provider,s=o.prefix,r=N(i,s);if(!X(r,o).length)return!1;const a=o.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,a):a,!0})}}function Ae(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const i in W)It(i,s=>{const r=s.data;return s.provider!==t.provider||r.prefix!==t.prefix||r.lastModified===n});return!0}function je(t,n){at||Lt();function o(i){let s;if(!W[i]||!(s=Tt(i)))return;const r=Dt[i];let a;if(r.size)r.delete(a=Array.from(r).shift());else if(a=rt(s),a>=Fe||!it(s,a+1))return;const l={cached:Math.floor(Date.now()/Vt),provider:t.provider,data:n};return st(s,L+a.toString(),JSON.stringify(l))}n.lastModified&&!Ae(t,n.lastModified)||Object.keys(n.icons).length&&(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function Ft(){}function Oe(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,$e(t)}))}function ze(t,n){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(n).sort():t.iconsToLoad=n,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:o,prefix:i}=t,s=t.iconsToLoad;delete t.iconsToLoad;let r;if(!s||!(r=Y(o)))return;r.prepare(o,i,s).forEach(l=>{Ie(o,l,c=>{if(typeof c!="object")l.icons.forEach(d=>{t.missing.add(d)});else try{const d=X(t,c);if(!d.length)return;const u=t.pendingIcons;u&&d.forEach(m=>{u.delete(m)}),je(t,c)}catch(d){console.error(d)}Oe(t)})})}))}const qe=(t,n)=>{const o=Ve(t,!0,yt()),i=Ee(o);if(!i.pending.length){let c=!0;return n&&setTimeout(()=>{c&&n(i.loaded,i.missing,i.pending,Ft)}),()=>{c=!1}}const s=Object.create(null),r=[];let a,l;return i.pending.forEach(c=>{const{provider:d,prefix:u}=c;if(u===l&&d===a)return;a=d,l=u,r.push(N(d,u));const m=s[d]||(s[d]=Object.create(null));m[u]||(m[u]=[])}),i.pending.forEach(c=>{const{provider:d,prefix:u,name:m}=c,p=N(d,u),k=p.pendingIcons||(p.pendingIcons=new Set);k.has(m)||(k.add(m),s[d][u].push(m))}),r.forEach(c=>{const{provider:d,prefix:u}=c;s[d][u].length&&ze(c,s[d][u])}),n?Ne(n,i,r):Ft};function We(t,n){const o={...t};for(const i in n){const s=n[i],r=typeof s;i in kt?(s===null||s&&(r==="string"||r==="number"))&&(o[i]=s):r===typeof o[i]&&(o[i]=i==="rotate"?s%4:s)}return o}const Re=/[\s,]+/;function Ue(t,n){n.split(Re).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function He(t,n=0){const o=t.replace(/^-?[0-9.]*/,"");function i(s){for(;s<0;)s+=4;return s%4}if(o===""){const s=parseInt(t);return isNaN(s)?0:i(s)}else if(o!==t){let s=0;switch(o){case"%":s=25;break;case"deg":s=90}if(s){let r=parseFloat(t.slice(0,t.length-o.length));return isNaN(r)?0:(r=r/s,r%1===0?i(r):0)}}return n}function Ge(t,n){let o=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in n)o+=" "+i+'="'+n[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+t+"</svg>"}function Ke(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Qe(t){return"data:image/svg+xml,"+Ke(t)}function Ze(t){return'url("'+Qe(t)+'")'}const Mt={...bt,inline:!1},Xe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Je={display:"inline-block"},lt={backgroundColor:"currentColor"},At={backgroundColor:"transparent"},jt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ot={webkitMask:lt,mask:lt,background:At};for(const t in Ot){const n=Ot[t];for(const o in jt)n[t+o]=jt[o]}const U={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";U[t+"-flip"]=n,U[t.slice(0,1)+"-flip"]=n,U[t+"Flip"]=n});function zt(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const qt=(t,n)=>{const o=We(Mt,n),i={...Xe},s=n.mode||"svg",r={},a=n.style,l=typeof a=="object"&&!(a instanceof Array)?a:{};for(let g in n){const f=n[g];if(f!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":o[g]=f===!0||f==="true"||f===1;break;case"flip":typeof f=="string"&&Ue(o,f);break;case"color":r.color=f;break;case"rotate":typeof f=="string"?o[g]=He(f):typeof f=="number"&&(o[g]=f);break;case"ariaHidden":case"aria-hidden":f!==!0&&f!=="true"&&delete i["aria-hidden"];break;default:{const B=U[g];B?(f===!0||f==="true"||f===1)&&(o[B]=!0):Mt[g]===void 0&&(i[g]=f)}}}const c=me(t,o),d=c.attributes;if(o.inline&&(r.verticalAlign="-0.125em"),s==="svg"){i.style={...r,...l},Object.assign(i,d);let g=0,f=n.id;return typeof f=="string"&&(f=f.replace(/-/g,"_")),i.innerHTML=_e(c.body,f?()=>f+"ID"+g++:"iconifyVue"),e.h("svg",i)}const{body:u,width:m,height:p}=t,k=s==="mask"||(s==="bg"?!1:u.indexOf("currentColor")!==-1),C=Ge(u,{...d,width:m+"",height:p+""});return i.style={...r,"--svg":Ze(C),width:zt(d.width),height:zt(d.height),...Je,...k?lt:At,...l},e.h("span",i)};if(yt(!0),ye("",Be),typeof document<"u"&&typeof window<"u"){Lt();const t=window;if(t.IconifyPreload!==void 0){const n=t.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!re(i))&&console.error(o)}catch{console.error(o)}})}if(t.IconifyProviders!==void 0){const n=t.IconifyProviders;if(typeof n=="object"&&n!==null)for(let o in n){const i="IconifyProviders["+o+"] is invalid.";try{const s=n[o];if(typeof s!="object"||!s||s.resources===void 0)continue;ke(o,s)||console.error(i)}catch{console.error(i)}}}}const Ye={...z,body:""},P=e.defineComponent({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,n){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let o;if(typeof t!="string"||(o=A(t,!1,!0))===null)return this.abortLoading(),null;const i=se(o);if(!i)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",i!==null&&(this._loadingIcon={name:t,abort:qe([o],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,n&&n(t));const s=["iconify"];return o.prefix!==""&&s.push("iconify--"+o.prefix),o.provider!==""&&s.push("iconify--"+o.provider),{data:i,classes:s}}},render(){this.counter;const t=this.$attrs,n=this.iconMounted||t.ssr?this.getIcon(t.icon,t.onLoad):null;if(!n)return qt(Ye,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),qt({...z,...n.data},o)}});function Wt(t,n){return n===1?t:`${t}/${n}`}const Rt=()=>({getLinkToPaginatedPage:Wt}),ve={class:"d-shape"},tn={class:"d-shape__bg-wrapper"},en={name:"DWrapShape"},S=e.defineComponent({...en,props:{shapeClass:{},shapeStyle:{},filterClass:{},filterStyle:{},tag:{}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.tag??"div"),null,{default:e.withCtx(()=>[e.createElementVNode("div",ve,[e.createElementVNode("div",{class:e.normalizeClass(["d-shape__bg-filter",n.filterClass]),style:e.normalizeStyle(n.filterStyle)},[e.createElementVNode("div",tn,[e.createElementVNode("div",{class:e.normalizeClass(["d-shape__bg",n.shapeClass]),style:e.normalizeStyle(n.shapeStyle)},[e.renderSlot(n.$slots,"shape-content")],6),e.renderSlot(n.$slots,"bg-overlay")])],6),e.renderSlot(n.$slots,"default")])]),_:3}))}}),nn={key:0,class:"d-focus-hl__hl--negative-tile"},on={key:2,class:"d-focus-hl__hl--negative-list-item"},sn=e.createElementVNode("div",{class:"d-focus-hl__hl--negative-list-item"},null,-1),rn={name:"DWrapFocusHighlight",components:{DWrapShape:S}},F=e.defineComponent({...rn,props:{linkExact:Boolean,noPassiveLink:Boolean,active:Boolean,variant:{type:String,default:"negative-tile"},tag:{type:String,default:"div"},colorClass:{type:[String,Object],default:"d-focus-hl--default-color"}},setup(t){const n=t,o=e.computed(()=>n.to||n.href?resolveComponent("NuxtLink"):n.tag);return(i,s)=>(e.openBlock(),e.createBlock(S,null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),e.mergeProps(n,{class:["d-focus-hl d-focusable",{"d-focus-hl--exact":t.linkExact,"d-focus-hl--not-exact":!t.linkExact,"d-focus-hl--no-passive-link":t.noPassiveLink,"d-focus-hl--active":t.active}]}),{default:e.withCtx(()=>[t.variant==="negative-tile"?(e.openBlock(),e.createElementBlock("div",nn)):t.variant==="list-item"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-focus-hl__hl--list-item",t.colorClass])},null,2)):t.variant==="negative-list-item"?(e.openBlock(),e.createElementBlock("div",on)):t.variant==="composite-list-item"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("div",{class:e.normalizeClass(["d-focus-hl__hl--list-item",t.colorClass])},null,2),sn],64)):e.createCommentVNode("",!0),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))]),_:3}))}});function Ut(t){const n=e.resolveDynamicComponent("RouterLink"),o=typeof defineNuxtLink=="function"?defineNuxtLink({componentName:"DNuxtLink"}):void 0,i=e.computed(()=>!!(t.href||t.to)),s=e.computed(()=>{if(!t.href)return!1;const a=t.href;return a.startsWith("http")||a.startsWith("mailto:")||a.startsWith("tel:")||a.startsWith("#")}),r=e.computed(()=>{const a={...t};return t.href&&t.to?delete a.href:t.href?delete a.to:t.to&&delete a.href,a});return i.value?typeof o<"u"?{isLink:i,isExternalLink:s,linkComponent:o,propsToProvide:r}:typeof n!="string"?{isLink:i,isExternalLink:s,linkComponent:n,propsToProvide:r}:{isLink:i,isExternalLink:s,linkComponent:"a",propsToProvide:r}:{isLink:i,isExternalLink:s,linkComponent:t.tag||"span",propsToProvide:r}}const an={name:"DBtn",components:{DWrapFocusHighlight:F}},$=e.defineComponent({...an,props:{to:{type:[String,Object],default:""},href:{type:String,default:void 0},exact:Boolean,noPassiveHighlight:Boolean,active:Boolean,noRotate:Boolean,tag:{type:String,default:"button"},highlight:{type:String,default:void 0},colorClass:{type:[String,Object],default:""},textTransform:{type:String,default:"uppercase"}},setup(t){const n=t,{linkComponent:o,isLink:i,isExternalLink:s,propsToProvide:r}=Ut(n);return(a,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o)),e.mergeProps({class:["d-btn d-focusable",{"d-btn--rotated":!t.noRotate,"d-btn--uppercase":t.textTransform==="uppercase","d-btn--capitalize":t.textTransform==="capitalize","d-btn--lowercase":t.textTransform==="lowercase"}]},e.unref(r)),{default:e.withCtx(()=>[e.createVNode(F,{variant:t.highlight,"link-exact":t.exact,"no-passive-link":t.noPassiveHighlight||!e.unref(i)||e.unref(s),"color-class":t.colorClass,active:t.active},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},8,["variant","link-exact","no-passive-link","color-class","active"])]),_:3},16,["class"]))}}),ln={class:"w-fit text-2xl font-bold"},cn={key:2,class:"mx-1"},dn={key:3,class:"mx-1"},fn={name:"DPagination",components:{DBtn:$,Icon:P}},un=e.defineComponent({...fn,props:{currentPage:{type:Number,default:1},allPages:{type:Number,required:!0},baseLink:{type:String,required:!0}},setup(t){const n=t,{getLinkToPaginatedPage:o}=Rt();function i(r){return o(n.baseLink,r)}const s=e.computed(()=>Array.from({length:7},(r,a)=>a-3+n.currentPage).filter(r=>r>=1&&r<=n.allPages));return(r,a)=>(e.openBlock(),e.createElementBlock("nav",ln,[t.currentPage>1?(e.openBlock(),e.createBlock($,{key:0,class:"inline-block mx-1",to:i(t.currentPage-1),"aria-label":"Previous page"},{default:e.withCtx(()=>[e.createVNode(e.unref(P),{icon:"ic:baseline-arrow-back-ios"})]),_:1},8,["to"])):e.createCommentVNode("",!0),s.value.includes(1)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,{key:1,class:"inline-block mx-1",to:i(1),"aria-label":"First page"},{default:e.withCtx(()=>[e.createTextVNode(" 1 ")]),_:1},8,["to"])),s.value.includes(1)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",cn," ... ")),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,l=>(e.openBlock(),e.createBlock($,{key:l,class:"inline-block mx-1",to:i(l),"aria-label":`Page ${l}`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l),1)]),_:2},1032,["to","aria-label"]))),128)),s.value.includes(t.allPages)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",dn," ... ")),s.value.includes(t.allPages)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,{key:4,class:"inline-block mx-1",to:i(t.allPages),"aria-label":`Last page (${t.allPages})`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.allPages),1)]),_:1},8,["to","aria-label"])),t.currentPage<t.allPages?(e.openBlock(),e.createBlock($,{key:5,class:"inline-block mx-1",to:i(t.currentPage+1),"aria-label":"Next page"},{default:e.withCtx(()=>[e.createVNode(e.unref(P),{icon:"ic:baseline-arrow-forward-ios"})]),_:1},8,["to"])):e.createCommentVNode("",!0)]))}}),mn={class:"max-w-full"},hn={class:"stats__print-value"},pn={class:"stats__print-value__group-title"},gn={class:"stats__print-value--small"},_n={class:"stats"},yn={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg"},kn=e.createElementVNode("polygon",{points:"100,-350 1500,-500 1000,1350 -500,1500",class:"stats__bg"},null,-1),bn=["points"],Cn=["points"],wn={class:"stats__single-stat"},Sn=["points"],Bn=["points"],En={class:"stats__single-stat"},$n=["points"],xn=["points"],Nn={class:"stats__single-stat"},Vn=["points"],Pn=["points"],Dn={class:"stats__single-stat"},Tn=["points"],In=["points"],Ln={class:"stats__single-stat"},Fn=["points"],Mn=["points"],An={class:"stats__images"},jn={class:"stats__image"},On={class:"stats__image"},zn={class:"stats__image"},qn={class:"stats__image"},Wn={class:"stats__image"},Rn={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg",class:"stats_titles-layer"},Un={x:"-500",y:"-300",class:"stats__group-title"},Hn=["x","y","transform-origin"],Gn={class:"stats__title__value"},Kn=["x","y","transform-origin"],Qn={class:"stats__title__value"},Zn=["x","y","transform-origin"],Xn={class:"stats__title__value"},Jn=["x","y","transform-origin"],Yn={class:"stats__title__value"},vn=["x","y","transform-origin"],to={class:"stats__title__value"},eo={name:"DStats",components:{Icon:P}},no=e.defineComponent({...eo,props:{groupTitle:{},titles:{},values:{}},setup(t){const n=t,o=e.ref([[500,0],[630,330],[980,350],[700,590],[790,910],[500,720],[210,910],[300,590],[20,350],[370,330]]),i=e.ref([1,.8,.6,.4,.27]),s={1:0,"1-2":1,2:2,"2-3":3,3:4,"3-4":5,4:6,"4-5":7,5:8,"5-1":9},r=[500,500];function a(f){return f.map(B=>B.join(",")).join(" ")}function l(f,B,w=500,_=500){return f.map(b=>[b[0]-(b[0]-w)*(1-B),b[1]-(b[1]-_)*(1-B)])}const c=e.computed(()=>i.value.map(f=>l(o.value,f)));function d(f){return c.value[5-f]}function u(f){return{value:n.values?n.values[f]??1:1,title:n.titles?n.titles[f]??"":""}}const m=e.computed(()=>u(0)),p=e.computed(()=>u(1)),k=e.computed(()=>u(2)),C=e.computed(()=>u(3)),g=e.computed(()=>u(4));return(f,B)=>(e.openBlock(),e.createElementBlock("figure",mn,[e.createElementVNode("div",hn,[e.createElementVNode("div",pn,e.toDisplayString(f.groupTitle),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.titles,(w,_)=>(e.openBlock(),e.createElementBlock("div",{key:w,class:"stats__print-value__skill"},[e.createElementVNode("div",null,e.toDisplayString(w),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.values[_],b=>(e.openBlock(),e.createBlock(e.unref(P),{key:b,icon:"ic:sharp-star"}))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(5-f.values[_],b=>(e.openBlock(),e.createBlock(e.unref(P),{key:b,icon:"ic:sharp-star-border"}))),128))])]))),128))])]),e.createElementVNode("div",gn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.titles,(w,_)=>(e.openBlock(),e.createElementBlock("span",{key:w,class:e.normalizeClass(["stats__print-value--small__skill",{"stats__print-value--small__skill--hidden":f.values[_]<3,"stats__print-value--small__skill--3":f.values[_]===3,"stats__print-value--small__skill--4":f.values[_]===4,"stats__print-value--small__skill--5":f.values[_]===5}])},e.toDisplayString(w),3))),128))]),e.createElementVNode("div",_n,[(e.openBlock(),e.createElementBlock("svg",yn,[kn,e.createElementVNode("polygon",{points:a(l(o.value,2)),class:"stats__bg-star--odd"},null,8,bn),e.createElementVNode("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(w,_)=>(e.openBlock(),e.createElementBlock("polygon",{key:_,points:a(w),class:e.normalizeClass({"stats__bg-star--odd":_%2,"stats__bg-star--even":!(_%2)})},null,10,Cn))),128))]),e.createElementVNode("g",null,[e.createElementVNode("g",wn,[e.createElementVNode("polygon",{points:a([d(m.value.value)[s[1]],d(Math.min(m.value.value,g.value.value))[s["5-1"]],r]),class:"stats__star--dark"},null,8,Sn),e.createElementVNode("polygon",{points:a([d(m.value.value)[s[1]],d(Math.min(m.value.value,p.value.value))[s["1-2"]],r]),class:"stats__star--light"},null,8,Bn)]),e.createElementVNode("g",En,[e.createElementVNode("polygon",{points:a([d(p.value.value)[s[2]],d(Math.min(m.value.value,p.value.value))[s["1-2"]],r]),class:"stats__star--light"},null,8,$n),e.createElementVNode("polygon",{points:a([d(p.value.value)[s[2]],d(Math.min(k.value.value,p.value.value))[s["2-3"]],r]),class:"stats__star--dark"},null,8,xn)]),e.createElementVNode("g",Nn,[e.createElementVNode("polygon",{points:a([d(k.value.value)[s[3]],d(Math.min(p.value.value,k.value.value))[s["2-3"]],r]),class:"stats__star--light"},null,8,Vn),e.createElementVNode("polygon",{points:a([d(k.value.value)[s[3]],d(Math.min(k.value.value,C.value.value))[s["3-4"]],r]),class:"stats__star--dark"},null,8,Pn)]),e.createElementVNode("g",Dn,[e.createElementVNode("polygon",{points:a([d(C.value.value)[s[4]],d(Math.min(k.value.value,C.value.value))[s["3-4"]],r]),class:"stats__star--light"},null,8,Tn),e.createElementVNode("polygon",{points:a([d(C.value.value)[s[4]],d(Math.min(C.value.value,g.value.value))[s["4-5"]],r]),class:"stats__star--dark"},null,8,In)]),e.createElementVNode("g",Ln,[e.createElementVNode("polygon",{points:a([d(g.value.value)[s[5]],d(Math.min(C.value.value,g.value.value))[s["4-5"]],r]),class:"stats__star--dark"},null,8,Fn),e.createElementVNode("polygon",{points:a([d(g.value.value)[s[5]],d(Math.min(g.value.value,m.value.value))[s["5-1"]],r]),class:"stats__star--light"},null,8,Mn)])])])),e.createElementVNode("div",An,[e.createElementVNode("div",jn,[e.renderSlot(f.$slots,"icon-1")]),e.createElementVNode("div",On,[e.renderSlot(f.$slots,"icon-2")]),e.createElementVNode("div",zn,[e.renderSlot(f.$slots,"icon-3")]),e.createElementVNode("div",qn,[e.renderSlot(f.$slots,"icon-4")]),e.createElementVNode("div",Wn,[e.renderSlot(f.$slots,"icon-5")])]),(e.openBlock(),e.createElementBlock("svg",Rn,[e.createElementVNode("text",Un,e.toDisplayString(f.groupTitle),1),e.createElementVNode("g",null,[e.createElementVNode("text",{x:o.value[s[1]][0],y:o.value[s[1]][1]-100,"transform-origin":`${o.value[s[1]][0]} ${o.value[s[1]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(m.value.title)+" ",1),e.createElementVNode("tspan",Gn,e.toDisplayString(m.value.value),1)],8,Hn),e.createElementVNode("text",{x:o.value[s[2]][0]+100,y:o.value[s[2]][1]-100,"transform-origin":`${o.value[s[2]][0]+100} ${o.value[s[2]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(p.value.title)+" ",1),e.createElementVNode("tspan",Qn,e.toDisplayString(p.value.value),1)],8,Kn),e.createElementVNode("text",{"dominant-baseline":"hanging",x:o.value[s[3]][0]+150,y:o.value[s[3]][1]+150,"transform-origin":`${o.value[s[3]][0]+150} ${o.value[s[3]][1]+150}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(k.value.title)+" ",1),e.createElementVNode("tspan",Xn,e.toDisplayString(k.value.value),1)],8,Zn),e.createElementVNode("text",{"dominant-baseline":"hanging",x:o.value[s[4]][0]-150,y:o.value[s[4]][1]+150,"transform-origin":`${o.value[s[4]][0]-150} ${o.value[s[4]][1]+150}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(C.value.title)+" ",1),e.createElementVNode("tspan",Yn,e.toDisplayString(C.value.value),1)],8,Jn),e.createElementVNode("text",{x:o.value[s[5]][0]-100,y:o.value[s[5]][1]-100,"transform-origin":`${o.value[s[5]][0]-100} ${o.value[s[5]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(g.value.title)+" ",1),e.createElementVNode("tspan",to,e.toDisplayString(g.value.value),1)],8,vn)])]))])]))}}),oo={name:"DAnimationDefLetterD"},so={d:"M200.242,139.244l137.207,-0c66.136,-0 112.859,17.192 140.169,51.576c27.31,34.384 33.562,84.973 18.755,151.767c-22.045,98.711 -85.878,148.066 -191.498,148.066l-179.16,-0l74.527,-351.409Zm184.588,179.159c12.175,-57.581 -7.732,-86.372 -59.72,-86.372l-33.068,0l-35.042,165.834l44.42,0c23.69,0 42.034,-6.169 55.031,-18.508c12.997,-12.339 22.457,-32.657 28.379,-60.954Z"};function io(t,n,o,i,s,r){return e.openBlock(),e.createElementBlock("path",so)}const x=K(oo,[["render",io]]),ro=e.createElementVNode("use",{id:"d-accordion-section",href:"#d-letter",transform:"scale(0.33)"},null,-1),ao=e.createStaticVNode('<use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use>',6),lo={name:"DAnimationAccordion",components:{DAnimationDefLetterD:x}},co=e.defineComponent({...lo,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 210",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-accordion",style:e.normalizeStyle({"--d-accordion-wiggle-period":t.wigglePeriod+"s","--d-accordion-delay":t.delay+"s"})},[e.createElementVNode("defs",null,[e.createVNode(x,{id:"d-letter"}),ro]),ao],4))}}),fo={name:"DAnimationFloatingLetter",components:{DAnimationDefLetterD:x}},uo=e.defineComponent({...fo,props:{floatPeriod:{type:Number,default:5},pathClass:{type:[String,Object],default:""}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:e.normalizeStyle({"--d-floating-letter-float-period":t.floatPeriod+"s"})},[e.createVNode(x,{class:e.normalizeClass(["d-animation-floating-letter",t.pathClass])},null,8,["class"])],4))}}),mo=e.createElementVNode("use",{id:"d-hypnosis-section",href:"#d-letter"},null,-1),ho=e.createStaticVNode('<use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use>',6),po={name:"DAnimationHypnosis",components:{DAnimationDefLetterD:x}},go=e.defineComponent({...po,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-hypnosis",style:e.normalizeStyle({"--d-hypnosis-wiggle-period":t.wigglePeriod+"s","--d-hypnosis-delay":t.delay+"s"})},[e.createElementVNode("defs",null,[e.createVNode(x,{id:"d-letter"}),mo]),ho],4))}}),_o={name:"DAnimationSpinner",components:{DAnimationDefLetterD:x}},yo=e.defineComponent({..._o,props:{spinPeriod:{type:Number,default:10},bladeWigglePeriod:{type:Number,default:5}},setup(t){const n="315 315";return(o,i)=>(e.openBlock(),e.createElementBlock("svg",{class:"spinner",viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:e.normalizeStyle({"--d-spinner-spin-period":t.spinPeriod+"s","--d-spinner-blade-wiggle-period":t.bladeWigglePeriod+"s"})},[e.createElementVNode("defs",null,[e.createVNode(x,{id:"d-letter"}),e.createElementVNode("use",{id:"d-spinner-blade",href:"#d-letter",class:"d-animation-spinner__blade","transform-origin":n}),e.createElementVNode("g",{id:"spinner",class:"d-animation-spinner__spinner","transform-origin":n},[e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(0)","transform-origin":n}),e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(120)","transform-origin":n}),e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(240)","transform-origin":n})])]),e.createElementVNode("use",{href:"#spinner",transform:"translate( -20 20 )",class:"d-animation-spinner__background","transform-origin":n}),e.createElementVNode("use",{href:"#spinner",class:"d-animation-spinner__foreground","transform-origin":n})],4))}}),ko=e.ref(""),ct=()=>({text:ko}),bo={id:"big-bang-button-animation"},Co=["i","textContent"],wo={name:"DBigBangButtonAnimation"},So=e.defineComponent({...wo,setup(t){const n={first:"M 0 0 C -489.471 -116.5 -526.692 -193.268 -563.913 -311.911",last:"M 0 0 C 317.761 171.963 466.645 199.879 680.666 171.963",intermediate:["M 0 0 C 36.277 125.437 19.992 358.068 -49.797 413.9","M 0 0 C 52.561 -69.974 71.171 -118.827 64.192 -446.837","M 0 0 C -3.271 137.068 -26.534 395.289 33.95 439.489"]},{text:o}=ct(),i=e.computed(()=>o.value.split(""));let s;e.watch(o,c=>{clearTimeout(s),c&&(s=setTimeout(()=>o.value="",1500))});function r(c){return c===0?n.first:c===i.value.length-1?n.last:n.intermediate[Math.floor(Math.random()*n.intermediate.length)]}function a(c,d){G.fromTo(c,{opacity:0,rotateX:-90},{opacity:1,rotateX:0,rotate:-12+Math.random()*24,delay:Math.random()*.3,duration:.2,onComplete:d})}function l(c,d){const u=+G.getProperty(c,"i");G.to(c,{motionPath:{path:r(u)},opacity:0,rotate:-180+Math.random()*360,duration:.2,onComplete:d})}return(c,d)=>(e.openBlock(),e.createElementBlock("div",bo,[e.createVNode(e.TransitionGroup,{tag:"div",class:"bbb__text-container",onEnter:a,onLeave:l},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(u,m)=>(e.openBlock(),e.createElementBlock("span",{key:m,i:m,textContent:e.toDisplayString(u)},null,8,Co))),128))]),_:1})]))}}),Bo=["textContent"],Eo={name:"DBigBangButton"},$o=e.defineComponent({...Eo,props:{text:{type:String,required:!0},tag:{type:String,default:"button"},to:{type:[String,Object],default:""}},emits:["click"],setup(t,{emit:n}){const o=n,i=t,{text:s}=ct(),{linkComponent:r}=Ut(i),a=e.computed(()=>i.text.split(""));function l(c){s.value=i.text,o("click",c)}return(c,d)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r)),{to:t.to,class:"big-bang-button",onClick:l},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(u,m)=>(e.openBlock(),e.createElementBlock("span",{key:m,textContent:e.toDisplayString(u)},null,8,Bo))),128))]),_:1},8,["to"]))}}),xo={name:"DCard",components:{DWrapShape:S}},No=e.defineComponent({...xo,props:{mode:{type:String,default:"default"},dense:Boolean},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(S,{"shape-class":{card__bg:!t.dense,"card__bg--dense":t.dense},class:e.normalizeClass({"card--homepage-story force-light":t.mode==="homepage-story","card--homepage-skills force-light":t.mode==="homepage-skills",card:t.mode==="default"})},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass({card__content:!t.dense,"card__content--dense":t.dense})},[e.renderSlot(n.$slots,"default")],2)]),_:3},8,["shape-class","class"]))}}),Vo={name:"DCardTitle",components:{DWrapShape:S}},Po={class:"card__title"},Do={class:"card__title__content__text"},To={class:"ml-2 print:text-neutral-600"};function Io(t,n,o,i,s,r){const a=e.resolveComponent("DWrapShape");return e.openBlock(),e.createElementBlock("div",Po,[e.createVNode(a,{class:"card__title__content","shape-class":"card__title__content__shape"},{default:e.withCtx(()=>[e.createElementVNode("h3",Do,[e.renderSlot(t.$slots,"default")])]),_:3}),e.createElementVNode("span",To,[e.renderSlot(t.$slots,"extra")])])}const Lo=K(Vo,[["render",Io]]),Fo=e.createElementVNode("div",{class:"d-alert__outline"},null,-1),Mo={class:"d-alert__body"},Ao={viewBox:"0 0 1067 1067",xmlns:"http://www.w3.org/2000/svg",class:"d-alert__sign"},jo={key:0},Oo=[e.createElementVNode("path",{d:"M202.481,1025.68l427.138,-769.216l171.992,106.943l-461.057,689.584l-138.073,-27.311Z"},null,-1),e.createElementVNode("path",{d:"M832.695,310.003l-170.011,-113.247l92.566,-170.289l218.937,122.443l-141.492,161.093Z"},null,-1)],zo={key:1},qo=[e.createElementVNode("path",{d:"M289.17,836.982l100.67,63.007l-27.42,149.27l-200.047,-83.328l126.797,-128.949Z"},null,-1),e.createElementVNode("path",{d:"M335.818,766.179l95.499,91.347l134.944,-217.987l249.128,-6.228l174.389,-139.096l14.533,-236.672l-170.237,-224.215l-170.238,-8.304l-242.9,124.564l114.184,64.358l178.542,-41.522l161.933,130.793l-68.51,205.53l-203.455,-53.978l-178.542,70.587l-89.27,240.823Z"},null,-1)],Wo={key:2},Ro=[e.createElementVNode("path",{d:"M304.988,722.034l335.792,-712.747l299.877,30.543l-514.204,743.146l-121.465,-60.942Z"},null,-1),e.createElementVNode("path",{d:"M253.974,839.059l148.42,40.169l-118.767,182.487l-131.537,-66.719l101.884,-155.937Z"},null,-1)],Uo=e.defineComponent({__name:"DAlert",props:{type:{type:String,default:"info"}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(S,{class:e.normalizeClass(["d-alert",{"d-alert--info":t.type==="info","d-alert--question":t.type==="question","d-alert--warning":t.type==="warning"}]),"shape-class":"d-alert__shape"},{"bg-overlay":e.withCtx(()=>[Fo]),default:e.withCtx(()=>[e.createElementVNode("div",Mo,[e.renderSlot(n.$slots,"default"),(e.openBlock(),e.createElementBlock("svg",Ao,[t.type==="info"?(e.openBlock(),e.createElementBlock("g",jo,Oo)):e.createCommentVNode("",!0),t.type==="question"?(e.openBlock(),e.createElementBlock("g",zo,qo)):e.createCommentVNode("",!0),t.type==="warning"?(e.openBlock(),e.createElementBlock("g",Wo,Ro)):e.createCommentVNode("",!0)]))])]),_:3},8,["class"]))}}),Ho=e.createElementVNode("div",{class:"d-blockquote__outline"},null,-1),Go={class:"d-blockquote__body"},Ko=e.defineComponent({__name:"DQuote",props:{direction:{type:String,default:"right"}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(S,{tag:"blockquote",class:e.normalizeClass(["d-blockquote",{"d-blockquote--left":t.direction==="left","d-blockquote--right":t.direction==="right"}]),"shape-class":"d-blockquote__shape"},{"bg-overlay":e.withCtx(()=>[Ho]),default:e.withCtx(()=>[e.createElementVNode("div",Go,[e.renderSlot(n.$slots,"default")])]),_:3},8,["class"]))}}),Qo={name:"DActionsFan",components:{DWrapShape:S,DBtn:$}},Zo=e.defineComponent({...Qo,props:{actions:{type:Array,default:()=>[]},side:{type:String,default:"left"},filterClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{name:"actions",tag:"ul",style:e.normalizeStyle({padding:`${Math.min(t.actions.length*2,15)}rem 0 ${Math.min(t.actions.length*3,15)}rem`})},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,(i,s)=>(e.openBlock(),e.createBlock(S,{key:i.title,tag:"li",class:e.normalizeClass(["d-actions-fan__list-item",{[i.class??""]:!0,"d-actions-fan--right__list-item":t.side==="right","d-actions-fan--left__list-item":t.side==="left"}]),"filter-class":t.filterClass,style:e.normalizeStyle({...i.style,"--tw-rotate":`${t.side==="left"?12-s*18:-12+s*18}deg`}),"shape-class":{"d-actions-fan__list-item__shape":!0,[i.shapeClass??""]:!0,"d-actions-fan--right__list-item__shape":t.side==="right","d-actions-fan--left__list-item__shape":t.side==="left"},"shape-style":i.shapeStyle},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["d-actions-fan__list-item__body",{"d-actions-fan--right__list-item__body":t.side==="right"}])},[e.createVNode($,e.mergeProps({ref_for:!0},i.attrs,{tag:"button","no-passive-highlight":"",onClick:r=>n.$emit("actionChoose",i.emit),onMouseenter:r=>n.$emit("actionFocus",i.emit),onTouchstart:r=>n.$emit("actionFocus",i.emit),onFocusin:r=>n.$emit("actionFocus",i.emit),onMouseleave:r=>n.$emit("actionUnfocus",i.emit),onTouchend:r=>n.$emit("actionUnfocus",i.emit),onFocusout:r=>n.$emit("actionUnfocus",i.emit)}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.title),1)]),_:2},1040,["onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])],2)]),_:2},1032,["filter-class","class","style","shape-class","shape-style"]))),128))]),_:1},8,["style"]))}}),Xo={class:"d-actions-list__body"},Jo={class:"d-actions-list__header"},Yo={name:"DActionsList",components:{DWrapFocusHighlight:F,DWrapShape:S}},vo=e.defineComponent({...Yo,props:{actions:{type:Array,default:()=>[]},listClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(t){function n(o){var i;return(i=o.attrs)!=null&&i.highlightVariant?o.attrs.highlightVariant:"negative-list-item"}return(o,i)=>(e.openBlock(),e.createBlock(S,{"shape-class":"d-actions-list__shape"},{default:e.withCtx(()=>[e.createElementVNode("div",Xo,[e.createElementVNode("div",Jo,[e.renderSlot(o.$slots,"header")]),e.createVNode(e.TransitionGroup,{name:"actions",tag:"ul",class:e.normalizeClass(["d-actions-list__list",t.listClass])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,s=>(e.openBlock(),e.createElementBlock("li",{key:s.title},[e.createVNode(F,e.mergeProps({ref_for:!0},s.attrs,{tag:"button",variant:n(s),"no-passive-link":"",onClick:r=>o.$emit("actionChoose",s.emit),onMouseenter:r=>o.$emit("actionFocus",s.emit),onTouchstart:r=>o.$emit("actionFocus",s.emit),onFocusin:r=>o.$emit("actionFocus",s.emit),onMouseleave:r=>o.$emit("actionUnfocus",s.emit),onTouchend:r=>o.$emit("actionUnfocus",s.emit),onFocusout:r=>o.$emit("actionUnfocus",s.emit)}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.title),1)]),_:2},1040,["variant","onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])]))),128))]),_:1},8,["class"])])]),_:3}))}}),ts={class:"mbg__relative-container"},es={class:"mbg__layer"},ns={class:"mbg__content"},os={name:"DWrapBackground"},ss=e.defineComponent({...os,props:{overlayClass:{type:[String,Object],default:""},overlayStyle:{type:Object,default:()=>{}},dotsClass:{type:[String,Object],default:""},dotsStyle:{type:Object,default:()=>{}},dots:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"mbg__main-container"},{default:e.withCtx(()=>[e.createElementVNode("div",ts,[e.createElementVNode("div",{class:e.normalizeClass(["mbg__layer",t.overlayClass]),style:e.normalizeStyle(t.overlayStyle)},null,6),e.createElementVNode("div",es,[e.renderSlot(n.$slots,"svg")]),t.dots?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["mbg__layer mbg__dots",t.dotsClass]),style:e.normalizeStyle(t.dotsStyle)},null,6)):e.createCommentVNode("",!0),e.createElementVNode("div",ns,[e.renderSlot(n.$slots,"default")])])]),_:3}))}});function Ht(t,n={}){return{top:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().top)??0)+window.scrollY+(n.y?n.y():0)},bottom:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().bottom)??0)+window.scrollY+(n.y?n.y():0)},right:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().right)??0)+window.scrollX+(n.x?n.x():0)},left:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().left)??0)+window.scrollX+(n.x?n.x():0)}}}function is(t){const n=Ht(t);return{top:n.top(),bottom:n.bottom(),right:n.right(),left:n.left()}}function dt(t){return t.map((n,o,i)=>{const s=i.reduce((a,l,c)=>(c>o?a.push(a.at(-1)):a.push(l.left),a),[]);return[...i.reduce((a,l,c)=>(c>o?a.push(a.at(-1)):a.push(l.right),a),[]),...s.reverse()]})}function Gt(t){const n=dt(t),o=n.length,i=n[0].length,s=[];for(let r=0;r<i;r++){const a=[];for(let l=0;l<o;l++)a.push(n[l][r]);s.push(a)}return s}function rs(t,n,o,i){const s=Gt(t);for(const r of s){const a=n.createSVGPoint();o.points.appendItem(a),i(a,r)}}function as(t,n,o){const i=dt(t).at(-1);if(i)for(const s of i){const r=n.createSVGPoint();r.x=s.x,r.y=s.y,o.points.appendItem(r)}}function ft(t){if(t.length!==2)throw new Error("Array should contain 2 numbers in order to be translated into coords");return{x:t[0],y:t[1]}}function Kt(t){if(t.length!==2)throw new Error("Array should contain 2 elements in order to be translated into LineEdge");return{left:ft(t[0]),right:ft(t[1])}}function ls(t){return t.map(Kt)}h.DActionsFan=Zo,h.DActionsList=vo,h.DAlert=Uo,h.DAnimationAccordion=co,h.DAnimationFloatingLetter=uo,h.DAnimationHypnosis=go,h.DAnimationSpinner=yo,h.DBigBangButton=$o,h.DBigBangButtonAnimation=So,h.DBtn=$,h.DCard=No,h.DCardTitle=Lo,h.DChip=Jt,h.DPagination=un,h.DQuote=Ko,h.DStats=no,h.DWrapBackground=ss,h.DWrapFocusHighlight=F,h.DWrapShape=S,h.applyLinePerPointAnimation=rs,h.applyStaticPoints=as,h.createCoordsFromArray=ft,h.createLineEdgeFromArray=Kt,h.createLineFromArray=ls,h.generatePolygonLineKeyframes=dt,h.generatePolygonPointsKeyframes=Gt,h.getAbsoluteBoundings=is,h.getAbsoluteBoundingsGetters=Ht,h.getLinkToPaginatedPage=Wt,h.useDBigBangButtonUtils=ct,h.useDPaginationUtils=Rt,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
|
package/dist/style.css
CHANGED
|
@@ -1 +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];}
|
|
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,.d-focusable: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%}.d-focusable: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,.d-focusable: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%}.d-focusable: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];}
|
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { computed } from 'vue'
|
|
3
3
|
import { useDBigBangButtonUtils } from '../../composables/big-bang-button-utils'
|
|
4
4
|
import { useLink } from '../../composables/router'
|
|
5
|
+
import type { RouteLocationRaw } from 'vue-router'
|
|
5
6
|
|
|
6
7
|
export default {
|
|
7
8
|
name: 'DBigBangButton'
|
|
@@ -20,7 +21,7 @@ const props = defineProps({
|
|
|
20
21
|
default: 'button'
|
|
21
22
|
},
|
|
22
23
|
to: {
|
|
23
|
-
type: String,
|
|
24
|
+
type: [String, Object as () => RouteLocationRaw],
|
|
24
25
|
default: ''
|
|
25
26
|
}
|
|
26
27
|
})
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
+
import type { RouteLocationRaw } from 'vue-router'
|
|
2
3
|
import type { HighlightVariant } from '../utils/index'
|
|
3
4
|
import DWrapFocusHighlight from '../utils/DWrapFocusHighlight.vue'
|
|
4
5
|
import { useLink } from '../../composables/router'
|
|
@@ -14,7 +15,7 @@ export default {
|
|
|
14
15
|
<script setup lang="ts">
|
|
15
16
|
const props = defineProps({
|
|
16
17
|
to: {
|
|
17
|
-
type: String,
|
|
18
|
+
type: [String, Object as () => RouteLocationRaw],
|
|
18
19
|
default: ''
|
|
19
20
|
},
|
|
20
21
|
href: {
|
|
@@ -63,7 +64,7 @@ const {
|
|
|
63
64
|
<template>
|
|
64
65
|
<Component
|
|
65
66
|
:is="currentComponent"
|
|
66
|
-
class="d-btn"
|
|
67
|
+
class="d-btn d-focusable"
|
|
67
68
|
:class="{
|
|
68
69
|
'd-btn--rotated': !noRotate,
|
|
69
70
|
'd-btn--uppercase': textTransform === 'uppercase',
|
|
@@ -56,7 +56,7 @@ const currentComponent = computed(() => {
|
|
|
56
56
|
<Component
|
|
57
57
|
v-bind="props"
|
|
58
58
|
:is="currentComponent"
|
|
59
|
-
class="d-focus-hl"
|
|
59
|
+
class="d-focus-hl d-focusable"
|
|
60
60
|
:class="{
|
|
61
61
|
'd-focus-hl--exact': linkExact,
|
|
62
62
|
'd-focus-hl--not-exact': !linkExact,
|
|
@@ -114,7 +114,7 @@ const currentComponent = computed(() => {
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.d-focus-hl:hover > .d-focus-hl__hl--negative-tile,
|
|
117
|
-
|
|
117
|
+
.d-focusable:focus .d-focus-hl__hl--negative-tile {
|
|
118
118
|
opacity: 1;
|
|
119
119
|
animation: hl--negative-tile-animation linear 1s infinite;
|
|
120
120
|
}
|
|
@@ -126,7 +126,7 @@ const currentComponent = computed(() => {
|
|
|
126
126
|
left: -5%;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
|
|
129
|
+
.d-focusable:focus .d-focus-hl__hl--negative-tile {
|
|
130
130
|
width: 140% !important;
|
|
131
131
|
height: 200% !important;
|
|
132
132
|
top: -50% !important;
|
|
@@ -191,7 +191,7 @@ const currentComponent = computed(() => {
|
|
|
191
191
|
@apply -z-10;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
:is(.d-focus-hl:hover,
|
|
194
|
+
:is(.d-focus-hl:hover, .d-focusable:focus)
|
|
195
195
|
:is(.d-focus-hl__hl--list-item, .d-focus-hl__hl--negative-list-item) {
|
|
196
196
|
opacity: 1;
|
|
197
197
|
animation: hl--list-item-animation 0.3s infinite;
|
|
@@ -205,7 +205,8 @@ const currentComponent = computed(() => {
|
|
|
205
205
|
left: -5%;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
|
|
208
|
+
.d-focusable:focus
|
|
209
|
+
:is(.d-focus-hl__hl--list-item, .d-focus-hl__hl--negative-list-item) {
|
|
209
210
|
width: 220% !important;
|
|
210
211
|
height: 200% !important;
|
|
211
212
|
top: -50% !important;
|