@d0rich/esprit-design 0.3.5 → 0.3.6
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 +6 -0
- package/dist/components/buttons/DBtn.vue.d.ts +2 -2
- package/dist/components/utils/DWrapFocusHighlight.vue.d.ts +1 -1
- package/dist/esprit-design.js +407 -402
- package/dist/esprit-design.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/buttons/DBtn.vue +1 -1
- package/src/components/utils/DWrapFocusHighlight.vue +36 -15
|
@@ -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]]),P=/^[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(P))&&(n&&t.prefix===""||t.prefix.match(P))&&t.name.match(P)):!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(P)||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(P)||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=[],w=g.hFlip,S=g.vFlip;let _=g.rotate;w?S?_+=2:(f.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),f.push("scale(-1 1)"),s.top=s.left=0):S&&(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"],W=[];for(;I.length>0;)I.length===1||Math.random()>.5?W.push(I.shift()):W.push(I.pop());tt[""]=v({resources:["https://api.iconify.design"].concat(W)});function ke(t,n){const o=v(n);return o===null?!1:(tt[t]=o,!0)}function et(t){return tt[t]}let St=(()=>{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 Se=(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 Be(t){if(typeof t=="string"){const n=et(t);if(n)return n.path}return"/"}const we={prepare:Se,send:(t,n,o)=>{if(!St){o("abort",424);return}let i=Be(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;St(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 Bt(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||Bt([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=Bt.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 De={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Pe(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 w(){return{startTime:l,payload:n,status:c,queriesSent:d,queriesPending:p.length,subscribe:f,abort:g}}function S(){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,S();return}if(H){u=M,p.length||(a.length?ut():S());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"&&(_(),S())},t.timeout);return}S();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),w}function wt(t){const n={...De,...t};let o=[];function i(){o=o.filter(l=>l().status==="pending")}function s(l,c,d){const u=Pe(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=wt(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=wt(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 Dt(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 q={local:!0,session:!0},Pt={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{}q[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++)Dt(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{}Dt(o,c)}};let a=rt(o);for(let l=a-1;l>=0;l--)r(l)||(l===a-1?(a--,it(o,a)):Pt[t].add(l))}function Lt(){if(!at){Me(!0);for(const t in q)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 q)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(!q[i]||!(s=Tt(i)))return;const r=Pt[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 We=(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 qe(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 Wt=(t,n)=>{const o=qe(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 w=U[g];w?(f===!0||f==="true"||f===1)&&(o[w]=!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("",we),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:""},D=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:We([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 Wt(Ye,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),Wt({...z,...n.data},o)}});function qt(t,n){return n===1?t:`${t}/${n}`}const Rt=()=>({getLinkToPaginatedPage:qt}),ve={class:"d-shape"},tn={key:0,class:"d-shape__bg-wrapper"},B=e.defineComponent({name:"DWrapShape",__name:"DWrapShape",props:{shapeClass:{},shapeStyle:{},filterClass:{},filterStyle:{},tag:{}},setup(t){const n=t,o=e.useSlots();function i(l){return l?typeof l=="string"?!l.trim():Object.keys(l).length===0:!0}function s(l){return typeof l=="string"?!l.trim():Array.isArray(l)?l.length===0:l===null||l===void 0?!0:Object.keys(l).length===0}const r=e.computed(()=>o["shape-content"]||!i(n.shapeClass)?!0:!s(n.shapeStyle)),a=e.computed(()=>i(n.filterClass)?!s(n.filterStyle):!0);return(l,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.tag??"div"),null,{default:e.withCtx(()=>[e.createElementVNode("div",ve,[r.value||e.unref(o)["bg-overlay"]||a.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["d-shape__bg-filter",l.filterClass]),style:e.normalizeStyle(l.filterStyle)},[r.value||e.unref(o)["bg-overlay"]?(e.openBlock(),e.createElementBlock("div",tn,[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["d-shape__bg",l.shapeClass]),style:e.normalizeStyle(l.shapeStyle)},[e.renderSlot(l.$slots,"shape-content")],6)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"bg-overlay")])):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"default")])]),_:3}))}}),en={key:0,class:"d-focus-hl__hl--negative-tile"},nn={key:2,class:"d-focus-hl__hl--negative-list-item"},on=e.createElementVNode("div",{class:"d-focus-hl__hl--negative-list-item"},null,-1),sn={name:"DWrapFocusHighlight",components:{DWrapShape:B}},F=e.defineComponent({...sn,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(B,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",en)):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",nn)):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),on],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 rn={name:"DBtn",components:{DWrapFocusHighlight:F}},$=e.defineComponent({...rn,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"]))}}),an={class:"w-fit text-2xl font-bold"},ln={key:2,class:"mx-1"},cn={key:3,class:"mx-1"},dn={name:"DPagination",components:{DBtn:$,Icon:D}},fn=e.defineComponent({...dn,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",an,[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(D),{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",ln," ... ")),(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",cn," ... ")),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(D),{icon:"ic:baseline-arrow-forward-ios"})]),_:1},8,["to"])):e.createCommentVNode("",!0)]))}}),un={class:"max-w-full"},mn={class:"stats__print-value"},hn={class:"stats__print-value__group-title"},pn={class:"stats__print-value--small"},gn={class:"stats"},_n={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg"},yn=e.createElementVNode("polygon",{points:"100,-350 1500,-500 1000,1350 -500,1500",class:"stats__bg"},null,-1),kn=["points"],bn=["points"],Cn={class:"stats__single-stat"},Sn=["points"],Bn=["points"],wn={class:"stats__single-stat"},En=["points"],$n=["points"],xn={class:"stats__single-stat"},Nn=["points"],Vn=["points"],Dn={class:"stats__single-stat"},Pn=["points"],Tn=["points"],In={class:"stats__single-stat"},Ln=["points"],Fn=["points"],Mn={class:"stats__images"},An={class:"stats__image"},jn={class:"stats__image"},On={class:"stats__image"},zn={class:"stats__image"},Wn={class:"stats__image"},qn={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg",class:"stats_titles-layer"},Rn={x:"-500",y:"-300",class:"stats__group-title"},Un=["x","y","transform-origin"],Hn={class:"stats__title__value"},Gn=["x","y","transform-origin"],Kn={class:"stats__title__value"},Qn=["x","y","transform-origin"],Zn={class:"stats__title__value"},Xn=["x","y","transform-origin"],Jn={class:"stats__title__value"},Yn=["x","y","transform-origin"],vn={class:"stats__title__value"},to={name:"DStats",components:{Icon:D}},eo=e.defineComponent({...to,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(w=>w.join(",")).join(" ")}function l(f,w,S=500,_=500){return f.map(b=>[b[0]-(b[0]-S)*(1-w),b[1]-(b[1]-_)*(1-w)])}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,w)=>(e.openBlock(),e.createElementBlock("figure",un,[e.createElementVNode("div",mn,[e.createElementVNode("div",hn,e.toDisplayString(f.groupTitle),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.titles,(S,_)=>(e.openBlock(),e.createElementBlock("div",{key:S,class:"stats__print-value__skill"},[e.createElementVNode("div",null,e.toDisplayString(S),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.values[_],b=>(e.openBlock(),e.createBlock(e.unref(D),{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(D),{key:b,icon:"ic:sharp-star-border"}))),128))])]))),128))])]),e.createElementVNode("div",pn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.titles,(S,_)=>(e.openBlock(),e.createElementBlock("span",{key:S,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(S),3))),128))]),e.createElementVNode("div",gn,[(e.openBlock(),e.createElementBlock("svg",_n,[yn,e.createElementVNode("polygon",{points:a(l(o.value,2)),class:"stats__bg-star--odd"},null,8,kn),e.createElementVNode("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(S,_)=>(e.openBlock(),e.createElementBlock("polygon",{key:_,points:a(S),class:e.normalizeClass({"stats__bg-star--odd":_%2,"stats__bg-star--even":!(_%2)})},null,10,bn))),128))]),e.createElementVNode("g",null,[e.createElementVNode("g",Cn,[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",wn,[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,En),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,$n)]),e.createElementVNode("g",xn,[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,Nn),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,Vn)]),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,Pn),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,Tn)]),e.createElementVNode("g",In,[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,Ln),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,Fn)])])])),e.createElementVNode("div",Mn,[e.createElementVNode("div",An,[e.renderSlot(f.$slots,"icon-1")]),e.createElementVNode("div",jn,[e.renderSlot(f.$slots,"icon-2")]),e.createElementVNode("div",On,[e.renderSlot(f.$slots,"icon-3")]),e.createElementVNode("div",zn,[e.renderSlot(f.$slots,"icon-4")]),e.createElementVNode("div",Wn,[e.renderSlot(f.$slots,"icon-5")])]),(e.openBlock(),e.createElementBlock("svg",qn,[e.createElementVNode("text",Rn,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",Hn,e.toDisplayString(m.value.value),1)],8,Un),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",Kn,e.toDisplayString(p.value.value),1)],8,Gn),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",Zn,e.toDisplayString(k.value.value),1)],8,Qn),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",Jn,e.toDisplayString(C.value.value),1)],8,Xn),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",vn,e.toDisplayString(g.value.value),1)],8,Yn)])]))])]))}}),no={name:"DAnimationDefLetterD"},oo={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 so(t,n,o,i,s,r){return e.openBlock(),e.createElementBlock("path",oo)}const x=K(no,[["render",so]]),io=e.createElementVNode("use",{id:"d-accordion-section",href:"#d-letter",transform:"scale(0.33)"},null,-1),ro=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),ao={name:"DAnimationAccordion",components:{DAnimationDefLetterD:x}},lo=e.defineComponent({...ao,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"}),io]),ro],4))}}),co={name:"DAnimationFloatingLetter",components:{DAnimationDefLetterD:x}},fo=e.defineComponent({...co,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))}}),uo=e.createElementVNode("use",{id:"d-hypnosis-section",href:"#d-letter"},null,-1),mo=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),ho={name:"DAnimationHypnosis",components:{DAnimationDefLetterD:x}},po=e.defineComponent({...ho,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"}),uo]),mo],4))}}),go={name:"DAnimationSpinner",components:{DAnimationDefLetterD:x}},_o=e.defineComponent({...go,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))}}),yo=e.ref(""),ct=()=>({text:yo}),ko={id:"big-bang-button-animation"},bo=["i","textContent"],Co={name:"DBigBangButtonAnimation"},So=e.defineComponent({...Co,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",ko,[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,bo))),128))]),_:1})]))}}),Bo=["textContent"],wo={name:"DBigBangButton"},Eo=e.defineComponent({...wo,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"]))}}),$o={name:"DCard",components:{DWrapShape:B}},xo=e.defineComponent({...$o,props:{mode:{type:String,default:"default"},dense:Boolean},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(B,{"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"]))}}),No={name:"DCardTitle",components:{DWrapShape:B}},Vo={class:"card__title"},Do={class:"card__title__content__text"},Po={class:"ml-2 print:text-neutral-600"};function To(t,n,o,i,s,r){const a=e.resolveComponent("DWrapShape");return e.openBlock(),e.createElementBlock("div",Vo,[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",Po,[e.renderSlot(t.$slots,"extra")])])}const Io=K(No,[["render",To]]),Lo=e.createElementVNode("div",{class:"d-alert__outline"},null,-1),Fo={class:"d-alert__body"},Mo={viewBox:"0 0 1067 1067",xmlns:"http://www.w3.org/2000/svg",class:"d-alert__sign"},Ao={key:0},jo=[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)],Oo={key:1},zo=[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},qo=[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)],Ro=e.defineComponent({__name:"DAlert",props:{type:{type:String,default:"info"}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(B,{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(()=>[Lo]),default:e.withCtx(()=>[e.createElementVNode("div",Fo,[e.renderSlot(n.$slots,"default"),(e.openBlock(),e.createElementBlock("svg",Mo,[t.type==="info"?(e.openBlock(),e.createElementBlock("g",Ao,jo)):e.createCommentVNode("",!0),t.type==="question"?(e.openBlock(),e.createElementBlock("g",Oo,zo)):e.createCommentVNode("",!0),t.type==="warning"?(e.openBlock(),e.createElementBlock("g",Wo,qo)):e.createCommentVNode("",!0)]))])]),_:3},8,["class"]))}}),Uo=e.createElementVNode("div",{class:"d-blockquote__outline"},null,-1),Ho={class:"d-blockquote__body"},Go=e.defineComponent({__name:"DQuote",props:{direction:{type:String,default:"right"}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(B,{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(()=>[Uo]),default:e.withCtx(()=>[e.createElementVNode("div",Ho,[e.renderSlot(n.$slots,"default")])]),_:3},8,["class"]))}}),Ko={name:"DActionsFan",components:{DWrapShape:B,DBtn:$}},Qo=e.defineComponent({...Ko,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(B,{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"]))}}),Zo={class:"d-actions-list__body"},Xo={key:0,class:"d-actions-list__header"},Jo=e.defineComponent({name:"DActionsList",components:{DWrapFocusHighlight:F,DWrapShape:B},__name:"DActionsList",props:{actions:{type:Array,default:()=>[]},listClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(t){function n(i){var s;return(s=i.attrs)!=null&&s.highlightVariant?i.attrs.highlightVariant:"negative-list-item"}const o=e.useSlots();return(i,s)=>(e.openBlock(),e.createBlock(B,{"shape-class":"d-actions-list__shape"},{default:e.withCtx(()=>[e.createElementVNode("div",Zo,[e.unref(o).header?(e.openBlock(),e.createElementBlock("div",Xo,[e.renderSlot(i.$slots,"header")])):e.createCommentVNode("",!0),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,r=>(e.openBlock(),e.createElementBlock("li",{key:r.title},[e.createVNode(F,e.mergeProps({ref_for:!0},r.attrs,{tag:"button",variant:n(r),"no-passive-link":"",onClick:a=>i.$emit("actionChoose",r.emit),onMouseenter:a=>i.$emit("actionFocus",r.emit),onTouchstart:a=>i.$emit("actionFocus",r.emit),onFocusin:a=>i.$emit("actionFocus",r.emit),onMouseleave:a=>i.$emit("actionUnfocus",r.emit),onTouchend:a=>i.$emit("actionUnfocus",r.emit),onFocusout:a=>i.$emit("actionUnfocus",r.emit)}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1040,["variant","onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])]))),128))]),_:1},8,["class"])])]),_:3}))}}),Yo={key:0,class:"mbg__relative-container"},vo={key:1,class:"mbg__layer"},ts={key:3,class:"mbg__content"},es=e.defineComponent({name:"DWrapBackground",__name:"DWrapBackground",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){const n=t,o=e.useSlots(),i=e.computed(()=>typeof n.overlayStyle=="string"?!n.overlayStyle.trim():Array.isArray(n.overlayStyle)?n.overlayStyle.length===0:n.overlayStyle===null||n.overlayStyle===void 0?!0:Object.keys(n.overlayStyle).length===0);return(s,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"mbg__main-container"},{default:e.withCtx(()=>[t.overlayClass||!i.value||e.unref(o).svg||e.unref(o).default?(e.openBlock(),e.createElementBlock("div",Yo,[t.overlayClass||!i.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["mbg__layer",t.overlayClass]),style:e.normalizeStyle(t.overlayStyle)},null,6)):e.createCommentVNode("",!0),e.unref(o).svg?(e.openBlock(),e.createElementBlock("div",vo,[e.renderSlot(s.$slots,"svg")])):e.createCommentVNode("",!0),t.dots?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["mbg__layer mbg__dots",t.dotsClass]),style:e.normalizeStyle(t.dotsStyle)},null,6)):e.createCommentVNode("",!0),e.unref(o).default?(e.openBlock(),e.createElementBlock("div",ts,[e.renderSlot(s.$slots,"default")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_: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 ns(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 os(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 ss(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 is(t){return t.map(Kt)}h.DActionsFan=Qo,h.DActionsList=Jo,h.DAlert=Ro,h.DAnimationAccordion=lo,h.DAnimationFloatingLetter=fo,h.DAnimationHypnosis=po,h.DAnimationSpinner=_o,h.DBigBangButton=Eo,h.DBigBangButtonAnimation=So,h.DBtn=$,h.DCard=xo,h.DCardTitle=Io,h.DChip=Jt,h.DPagination=fn,h.DQuote=Go,h.DStats=eo,h.DWrapBackground=es,h.DWrapFocusHighlight=F,h.DWrapShape=B,h.applyLinePerPointAnimation=os,h.applyStaticPoints=ss,h.createCoordsFromArray=ft,h.createLineEdgeFromArray=Kt,h.createLineFromArray=is,h.generatePolygonLineKeyframes=dt,h.generatePolygonPointsKeyframes=Gt,h.getAbsoluteBoundings=ns,h.getAbsoluteBoundingsGetters=Ht,h.getLinkToPaginatedPage=qt,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]]),P=/^[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(P))&&(n&&t.prefix===""||t.prefix.match(P))&&t.name.match(P)):!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(P)||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(P)||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=[],w=g.hFlip,S=g.vFlip;let _=g.rotate;w?S?_+=2:(f.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),f.push("scale(-1 1)"),s.top=s.left=0):S&&(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"],W=[];for(;I.length>0;)I.length===1||Math.random()>.5?W.push(I.shift()):W.push(I.pop());tt[""]=v({resources:["https://api.iconify.design"].concat(W)});function ke(t,n){const o=v(n);return o===null?!1:(tt[t]=o,!0)}function et(t){return tt[t]}let St=(()=>{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 Se=(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 Be(t){if(typeof t=="string"){const n=et(t);if(n)return n.path}return"/"}const we={prepare:Se,send:(t,n,o)=>{if(!St){o("abort",424);return}let i=Be(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;St(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 Bt(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||Bt([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=Bt.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 De={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Pe(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 w(){return{startTime:l,payload:n,status:c,queriesSent:d,queriesPending:p.length,subscribe:f,abort:g}}function S(){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,S();return}if(H){u=M,p.length||(a.length?ut():S());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"&&(_(),S())},t.timeout);return}S();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),w}function wt(t){const n={...De,...t};let o=[];function i(){o=o.filter(l=>l().status==="pending")}function s(l,c,d){const u=Pe(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=wt(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=wt(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 Dt(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 q={local:!0,session:!0},Pt={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{}q[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++)Dt(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{}Dt(o,c)}};let a=rt(o);for(let l=a-1;l>=0;l--)r(l)||(l===a-1?(a--,it(o,a)):Pt[t].add(l))}function Lt(){if(!at){Me(!0);for(const t in q)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 q)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(!q[i]||!(s=Tt(i)))return;const r=Pt[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 We=(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 qe(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 Wt=(t,n)=>{const o=qe(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 w=U[g];w?(f===!0||f==="true"||f===1)&&(o[w]=!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("",we),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:""},D=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:We([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 Wt(Ye,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),Wt({...z,...n.data},o)}});function qt(t,n){return n===1?t:`${t}/${n}`}const Rt=()=>({getLinkToPaginatedPage:qt}),ve={class:"d-shape"},tn={key:0,class:"d-shape__bg-wrapper"},B=e.defineComponent({name:"DWrapShape",__name:"DWrapShape",props:{shapeClass:{},shapeStyle:{},filterClass:{},filterStyle:{},tag:{}},setup(t){const n=t,o=e.useSlots();function i(l){return l?typeof l=="string"?!l.trim():Object.keys(l).length===0:!0}function s(l){return typeof l=="string"?!l.trim():Array.isArray(l)?l.length===0:l===null||l===void 0?!0:Object.keys(l).length===0}const r=e.computed(()=>o["shape-content"]||!i(n.shapeClass)?!0:!s(n.shapeStyle)),a=e.computed(()=>i(n.filterClass)?!s(n.filterStyle):!0);return(l,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.tag??"div"),null,{default:e.withCtx(()=>[e.createElementVNode("div",ve,[r.value||e.unref(o)["bg-overlay"]||a.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["d-shape__bg-filter",l.filterClass]),style:e.normalizeStyle(l.filterStyle)},[r.value||e.unref(o)["bg-overlay"]?(e.openBlock(),e.createElementBlock("div",tn,[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["d-shape__bg",l.shapeClass]),style:e.normalizeStyle(l.shapeStyle)},[e.renderSlot(l.$slots,"shape-content")],6)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"bg-overlay")])):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"default")])]),_:3}))}}),en={key:0,class:"d-focus-hl__hl--negative-tile"},nn={key:2,class:"d-focus-hl__hl--negative-list-item"},on={key:4,class:"d-focus-hl__hl--negative-tile"},sn={key:5,class:"d-focus-hl__hl--negative-list-item"},rn={name:"DWrapFocusHighlight",components:{DWrapShape:B}},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(B,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",en)):t.variant==="tile"||t.variant==="composite-tile"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-focus-hl__hl--tile",t.colorClass])},null,2)):t.variant==="negative-list-item"?(e.openBlock(),e.createElementBlock("div",nn)):t.variant==="list-item"||t.variant==="composite-list-item"?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["d-focus-hl__hl--list-item",t.colorClass])},null,2)):e.createCommentVNode("",!0),e.renderSlot(i.$slots,"default"),t.variant==="composite-tile"?(e.openBlock(),e.createElementBlock("div",on)):t.variant==="composite-list-item"?(e.openBlock(),e.createElementBlock("div",sn)):e.createCommentVNode("",!0)]),_: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:void 0},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:D}},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(D),{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(D),{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"],Sn={class:"stats__single-stat"},Bn=["points"],wn=["points"],En={class:"stats__single-stat"},$n=["points"],xn=["points"],Nn={class:"stats__single-stat"},Vn=["points"],Dn=["points"],Pn={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"},Wn={class:"stats__image"},qn={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:D}},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(w=>w.join(",")).join(" ")}function l(f,w,S=500,_=500){return f.map(b=>[b[0]-(b[0]-S)*(1-w),b[1]-(b[1]-_)*(1-w)])}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,w)=>(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,(S,_)=>(e.openBlock(),e.createElementBlock("div",{key:S,class:"stats__print-value__skill"},[e.createElementVNode("div",null,e.toDisplayString(S),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.values[_],b=>(e.openBlock(),e.createBlock(e.unref(D),{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(D),{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,(S,_)=>(e.openBlock(),e.createElementBlock("span",{key:S,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(S),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,(S,_)=>(e.openBlock(),e.createElementBlock("polygon",{key:_,points:a(S),class:e.normalizeClass({"stats__bg-star--odd":_%2,"stats__bg-star--even":!(_%2)})},null,10,Cn))),128))]),e.createElementVNode("g",null,[e.createElementVNode("g",Sn,[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,Bn),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,wn)]),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,Dn)]),e.createElementVNode("g",Pn,[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",Wn,[e.renderSlot(f.$slots,"icon-4")]),e.createElementVNode("div",qn,[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"],So={name:"DBigBangButtonAnimation"},Bo=e.defineComponent({...So,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})]))}}),wo=["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,wo))),128))]),_:1},8,["to"]))}}),xo={name:"DCard",components:{DWrapShape:B}},No=e.defineComponent({...xo,props:{mode:{type:String,default:"default"},dense:Boolean},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(B,{"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:B}},Do={class:"card__title"},Po={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",Do,[e.createVNode(a,{class:"card__title__content","shape-class":"card__title__content__shape"},{default:e.withCtx(()=>[e.createElementVNode("h3",Po,[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},Wo=[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)],qo={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(B,{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,Wo)):e.createCommentVNode("",!0),t.type==="warning"?(e.openBlock(),e.createElementBlock("g",qo,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(B,{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:B,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(B,{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={key:0,class:"d-actions-list__header"},Yo=e.defineComponent({name:"DActionsList",components:{DWrapFocusHighlight:F,DWrapShape:B},__name:"DActionsList",props:{actions:{type:Array,default:()=>[]},listClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(t){function n(i){var s;return(s=i.attrs)!=null&&s.highlightVariant?i.attrs.highlightVariant:"negative-list-item"}const o=e.useSlots();return(i,s)=>(e.openBlock(),e.createBlock(B,{"shape-class":"d-actions-list__shape"},{default:e.withCtx(()=>[e.createElementVNode("div",Xo,[e.unref(o).header?(e.openBlock(),e.createElementBlock("div",Jo,[e.renderSlot(i.$slots,"header")])):e.createCommentVNode("",!0),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,r=>(e.openBlock(),e.createElementBlock("li",{key:r.title},[e.createVNode(F,e.mergeProps({ref_for:!0},r.attrs,{tag:"button",variant:n(r),"no-passive-link":"",onClick:a=>i.$emit("actionChoose",r.emit),onMouseenter:a=>i.$emit("actionFocus",r.emit),onTouchstart:a=>i.$emit("actionFocus",r.emit),onFocusin:a=>i.$emit("actionFocus",r.emit),onMouseleave:a=>i.$emit("actionUnfocus",r.emit),onTouchend:a=>i.$emit("actionUnfocus",r.emit),onFocusout:a=>i.$emit("actionUnfocus",r.emit)}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1040,["variant","onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])]))),128))]),_:1},8,["class"])])]),_:3}))}}),vo={key:0,class:"mbg__relative-container"},ts={key:1,class:"mbg__layer"},es={key:3,class:"mbg__content"},ns=e.defineComponent({name:"DWrapBackground",__name:"DWrapBackground",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){const n=t,o=e.useSlots(),i=e.computed(()=>typeof n.overlayStyle=="string"?!n.overlayStyle.trim():Array.isArray(n.overlayStyle)?n.overlayStyle.length===0:n.overlayStyle===null||n.overlayStyle===void 0?!0:Object.keys(n.overlayStyle).length===0);return(s,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"mbg__main-container"},{default:e.withCtx(()=>[t.overlayClass||!i.value||e.unref(o).svg||e.unref(o).default?(e.openBlock(),e.createElementBlock("div",vo,[t.overlayClass||!i.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["mbg__layer",t.overlayClass]),style:e.normalizeStyle(t.overlayStyle)},null,6)):e.createCommentVNode("",!0),e.unref(o).svg?(e.openBlock(),e.createElementBlock("div",ts,[e.renderSlot(s.$slots,"svg")])):e.createCommentVNode("",!0),t.dots?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["mbg__layer mbg__dots",t.dotsClass]),style:e.normalizeStyle(t.dotsStyle)},null,6)):e.createCommentVNode("",!0),e.unref(o).default?(e.openBlock(),e.createElementBlock("div",es,[e.renderSlot(s.$slots,"default")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_: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 os(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 ss(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 is(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 rs(t){return t.map(Kt)}h.DActionsFan=Zo,h.DActionsList=Yo,h.DAlert=Uo,h.DAnimationAccordion=co,h.DAnimationFloatingLetter=uo,h.DAnimationHypnosis=go,h.DAnimationSpinner=yo,h.DBigBangButton=$o,h.DBigBangButtonAnimation=Bo,h.DBtn=$,h.DCard=No,h.DCardTitle=Lo,h.DChip=Jt,h.DPagination=un,h.DQuote=Ko,h.DStats=no,h.DWrapBackground=ns,h.DWrapFocusHighlight=F,h.DWrapShape=B,h.applyLinePerPointAnimation=ss,h.applyStaticPoints=is,h.createCoordsFromArray=ft,h.createLineEdgeFromArray=Kt,h.createLineFromArray=rs,h.generatePolygonLineKeyframes=dt,h.generatePolygonPointsKeyframes=Gt,h.getAbsoluteBoundings=os,h.getAbsoluteBoundingsGetters=Ht,h.getLinkToPaginatedPage=qt,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,.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];}
|
|
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 isolate;}.d-focus-hl--default-color{@apply bg-red-600;}.d-focus-hl:has(.d-focus-hl__hl--negative-tile,.d-focus-hl__hl--tile){@apply w-fit;}.d-focus-hl>:is(.d-focus-hl__hl--negative-tile,.d-focus-hl__hl--tile){width:0%;height:0%;top:50%;left:50%;content:"";opacity:0;pointer-events:none;@apply absolute transition-all;}.d-focus-hl>.d-focus-hl__hl--negative-tile{@apply backdrop-invert;}.d-focus-hl>.d-focus-hl__hl--tile{@apply -z-10;}.d-focus-hl:hover>:is(.d-focus-hl__hl--negative-tile,.d-focus-hl__hl--tile),.d-focusable:focus :is(.d-focus-hl__hl--negative-tile,.d-focus-hl__hl--tile){opacity:1;animation:hl--negative-tile-animation linear 1s infinite}.d-focus-hl:hover>:is(.d-focus-hl__hl--negative-tile,.d-focus-hl__hl--tile){width:110%;height:130%;top:-15%;left:-5%}.d-focusable:focus :is(.d-focus-hl__hl--negative-tile,.d-focus-hl__hl--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,.d-focus-hl__hl--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
|
@@ -12,7 +12,9 @@ export default {
|
|
|
12
12
|
|
|
13
13
|
<script setup lang="ts">
|
|
14
14
|
export type HighlightVariant =
|
|
15
|
+
| 'tile'
|
|
15
16
|
| 'negative-tile'
|
|
17
|
+
| 'composite-tile'
|
|
16
18
|
| 'list-item'
|
|
17
19
|
| 'negative-list-item'
|
|
18
20
|
| 'composite-list-item'
|
|
@@ -69,19 +71,30 @@ const currentComponent = computed(() => {
|
|
|
69
71
|
class="d-focus-hl__hl--negative-tile"
|
|
70
72
|
/>
|
|
71
73
|
<div
|
|
72
|
-
v-else-if="variant === '
|
|
73
|
-
class="d-focus-hl__hl--
|
|
74
|
+
v-else-if="variant === 'tile' || variant === 'composite-tile'"
|
|
75
|
+
class="d-focus-hl__hl--tile"
|
|
74
76
|
:class="colorClass"
|
|
75
77
|
/>
|
|
76
78
|
<div
|
|
77
79
|
v-else-if="variant === 'negative-list-item'"
|
|
78
80
|
class="d-focus-hl__hl--negative-list-item"
|
|
79
81
|
/>
|
|
80
|
-
<
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
<div
|
|
83
|
+
v-else-if="variant === 'list-item' || variant === 'composite-list-item'"
|
|
84
|
+
class="d-focus-hl__hl--list-item"
|
|
85
|
+
:class="colorClass"
|
|
86
|
+
/>
|
|
87
|
+
|
|
84
88
|
<slot />
|
|
89
|
+
|
|
90
|
+
<div
|
|
91
|
+
v-if="variant === 'composite-tile'"
|
|
92
|
+
class="d-focus-hl__hl--negative-tile"
|
|
93
|
+
/>
|
|
94
|
+
<div
|
|
95
|
+
v-else-if="variant === 'composite-list-item'"
|
|
96
|
+
class="d-focus-hl__hl--negative-list-item"
|
|
97
|
+
/>
|
|
85
98
|
</Component>
|
|
86
99
|
</DWrapShape>
|
|
87
100
|
</template>
|
|
@@ -89,7 +102,7 @@ const currentComponent = computed(() => {
|
|
|
89
102
|
<!-- common -->
|
|
90
103
|
<style>
|
|
91
104
|
.d-focus-hl {
|
|
92
|
-
@apply relative;
|
|
105
|
+
@apply relative isolate;
|
|
93
106
|
}
|
|
94
107
|
.d-focus-hl--default-color {
|
|
95
108
|
@apply bg-red-600;
|
|
@@ -98,11 +111,11 @@ const currentComponent = computed(() => {
|
|
|
98
111
|
|
|
99
112
|
<!-- negative-tile -->
|
|
100
113
|
<style>
|
|
101
|
-
.d-focus-hl:has(.d-focus-hl__hl--negative-tile) {
|
|
114
|
+
.d-focus-hl:has(.d-focus-hl__hl--negative-tile, .d-focus-hl__hl--tile) {
|
|
102
115
|
@apply w-fit;
|
|
103
116
|
}
|
|
104
117
|
|
|
105
|
-
.d-focus-hl > .d-focus-hl__hl--negative-tile {
|
|
118
|
+
.d-focus-hl > :is(.d-focus-hl__hl--negative-tile, .d-focus-hl__hl--tile) {
|
|
106
119
|
width: 0%;
|
|
107
120
|
height: 0%;
|
|
108
121
|
top: 50%;
|
|
@@ -110,23 +123,31 @@ const currentComponent = computed(() => {
|
|
|
110
123
|
content: '';
|
|
111
124
|
opacity: 0;
|
|
112
125
|
pointer-events: none;
|
|
113
|
-
@apply absolute
|
|
126
|
+
@apply absolute transition-all;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.d-focus-hl > .d-focus-hl__hl--negative-tile {
|
|
130
|
+
@apply backdrop-invert;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.d-focus-hl > .d-focus-hl__hl--tile {
|
|
134
|
+
@apply -z-10;
|
|
114
135
|
}
|
|
115
136
|
|
|
116
|
-
.d-focus-hl:hover > .d-focus-hl__hl--negative-tile,
|
|
117
|
-
.d-focusable:focus .d-focus-hl__hl--negative-tile {
|
|
137
|
+
.d-focus-hl:hover > :is(.d-focus-hl__hl--negative-tile, .d-focus-hl__hl--tile),
|
|
138
|
+
.d-focusable:focus :is(.d-focus-hl__hl--negative-tile, .d-focus-hl__hl--tile) {
|
|
118
139
|
opacity: 1;
|
|
119
140
|
animation: hl--negative-tile-animation linear 1s infinite;
|
|
120
141
|
}
|
|
121
142
|
|
|
122
|
-
.d-focus-hl:hover > .d-focus-hl__hl--negative-tile {
|
|
143
|
+
.d-focus-hl:hover > :is(.d-focus-hl__hl--negative-tile, .d-focus-hl__hl--tile) {
|
|
123
144
|
width: 110%;
|
|
124
145
|
height: 130%;
|
|
125
146
|
top: -15%;
|
|
126
147
|
left: -5%;
|
|
127
148
|
}
|
|
128
149
|
|
|
129
|
-
.d-focusable:focus .d-focus-hl__hl--negative-tile {
|
|
150
|
+
.d-focusable:focus :is(.d-focus-hl__hl--negative-tile, .d-focus-hl__hl--tile) {
|
|
130
151
|
width: 140% !important;
|
|
131
152
|
height: 200% !important;
|
|
132
153
|
top: -50% !important;
|
|
@@ -142,7 +163,7 @@ const currentComponent = computed(() => {
|
|
|
142
163
|
),
|
|
143
164
|
.d-focus-hl--active
|
|
144
165
|
)
|
|
145
|
-
:is(.d-focus-hl__hl--negative-tile) {
|
|
166
|
+
:is(.d-focus-hl__hl--negative-tile, .d-focus-hl__hl--tile) {
|
|
146
167
|
opacity: 1;
|
|
147
168
|
width: 120% !important;
|
|
148
169
|
height: 120% !important;
|