diff --git a/dist/_astro/hoisted.BGYTpQwn.js b/dist/_astro/hoisted.BGYTpQwn.js new file mode 100644 index 000000000..31688ace1 --- /dev/null +++ b/dist/_astro/hoisted.BGYTpQwn.js @@ -0,0 +1 @@ +function L(r,t){if("captureStackTrace"in Error)Error.captureStackTrace(r,t);else{const e=new Error().stack;r.stack=e||""}}class u extends Error{constructor(){super("nullValue"),L(this,u)}}class T extends Error{constructor(){super("NaNValue"),L(this,T)}}function l(r){if(r==null||r==null)throw new u;return r}function f(r){const t=Number.parseInt(r);if(isNaN(t))throw T;return t}function c(r,t,e){if(t<0||t>=r.length)throw new Error("Index out of bounds");const i=r.slice(0,t),n=r.slice(t+1);return i+e+n}function w(r,t,e=1){const i=[];if(e===0)throw new Error("Step cannot be zero.");if(e>0)for(let n=r;nt;n+=e)i.push(n);return i}class p extends HTMLElement{initialTime=f(l(this.dataset.initialtime))*1e3;hover=l(this.dataset.hover);completeTime=f(l(this.dataset.completetime))*1e3;animationType=l(this.dataset.animationtype);animations={};getLength(t){return Object.keys(t).length}randomHide(t,e,i,n){const h=t.innerText.length,o=w(0,h);for(let s=0;s{const a=Math.floor(Math.random()*o.length),m=o[a];o.splice(a,1),t.innerText=c(t.innerText,m,"_"),delete this.animations[e].hide[s]},n+i*s)}normalHide(t,e,i,n,d){const h=t.innerText.length-1;for(let o=0;o{console.debug("start"),t.innerText=c(t.innerText,i?h-o:o,"_"),delete this.animations[e].hide[o]},d+n*o)}randomShow(t,e,i,n,d){const o=t.innerText.length,s=w(0,o);for(let a=0;a{console.log(`length: ${s}`);const m=Math.floor(Math.random()*s.length),g=s[m];s.splice(m,1),t.innerText=c(t.innerText,g,i[g]),delete this.animations[e].show[a]},d+n*a)}normalShow(t,e,i,n,d,h){const o=t.innerText.length-1;for(let s=0;s{console.debug("end"),t.innerText=c(t.innerText,n?o-s:s,i[n?o-s:s]),delete this.animations[e].show[s]},h+d*s)}connectedCallback(){for(let t=0;t{this.getLength(this.animations[t].show)>0||this.getLength(this.animations[t].hide)>0||(this.normalHide(e,t,this.animationType=="rewind",n/2,0),this.normalShow(e,t,i,this.animationType=="rewind",n/2,n*(e.innerText.length/2)))}),document.addEventListener("DOMContentLoaded",()=>{this.normalHide(e,t,this.animationType=="rewind",n/2,this.initialTime),this.normalShow(e,t,i,this.animationType=="rewind",n/2,this.initialTime+n*(e.innerText.length/2))})):(e.addEventListener("mouseover",()=>{this.getLength(this.animations[t].show)>0||this.getLength(this.animations[t].hide)>0||(this.randomHide(e,t,n/2,0),this.randomShow(e,t,i,n/2,n*(e.innerText.length/2)))}),document.addEventListener("DOMContentLoaded",()=>{this.randomHide(e,t,n/2,this.initialTime),this.randomShow(e,t,i,n/2,this.initialTime+n*(e.innerText.length/2))})):this.hover=="hide"?this.animationType=="normal"||this.animationType=="rewind"?(e.addEventListener("mouseover",()=>{this.getLength(this.animations[t].hide)>0||this.normalHide(e,t,this.animationType=="rewind",n,0)}),e.addEventListener("mouseout",()=>{this.getLength(this.animations[t].show)>0||this.normalShow(e,t,i,this.animationType=="rewind",n,0)})):(e.addEventListener("mouseover",()=>{this.getLength(this.animations[t].hide)>0||this.randomHide(e,t,n,0)}),e.addEventListener("mouseout",()=>{this.getLength(this.animations[t].show)>0||this.randomShow(e,t,i,n,0)})):this.hover=="show"&&(this.animationType=="normal"||this.animationType=="rewind"?(e.addEventListener("mouseover",()=>{this.getLength(this.animations[t].show)>0||this.normalShow(e,t,i,this.animationType=="rewind",n,0)}),document.addEventListener("DOMContentLoaded",()=>{this.normalHide(e,t,this.animationType=="rewind",n,this.initialTime)}),e.addEventListener("mouseout",()=>{this.getLength(this.animations[t].hide)>0||this.normalHide(e,t,this.animationType=="rewind",n,0)})):(e.addEventListener("mouseover",()=>{this.getLength(this.animations[t].show)>0||this.randomShow(e,t,i,n,0)}),document.addEventListener("DOMContentLoaded",()=>{this.randomHide(e,t,n,this.initialTime)}),e.addEventListener("mouseout",()=>{this.getLength(this.animations[t].hide)>0||this.randomHide(e,t,n,0)})))}}}customElements.define("astro-animation",p); diff --git a/dist/_astro/index.Bvy4v-8v.css b/dist/_astro/index.DGLPyVyY.css similarity index 78% rename from dist/_astro/index.Bvy4v-8v.css rename to dist/_astro/index.DGLPyVyY.css index caf45ad99..408942b8e 100644 --- a/dist/_astro/index.Bvy4v-8v.css +++ b/dist/_astro/index.DGLPyVyY.css @@ -1 +1 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.end-1{inset-inline-end:.25rem}.flex{display:flex}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.bg-gray{--tw-bg-opacity: 1;background-color:rgb(91 98 113 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(252 247 255 / var(--tw-bg-opacity))}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-6xl{font-size:3.75rem;line-height:1}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-thin{font-weight:100}.text-black{--tw-text-opacity: 1;color:rgb(42 45 52 / var(--tw-text-opacity))}.text-blue{--tw-text-opacity: 1;color:rgb(84 101 255 / var(--tw-text-opacity))}.text-gray{--tw-text-opacity: 1;color:rgb(91 98 113 / var(--tw-text-opacity))}.text-red{--tw-text-opacity: 1;color:rgb(238 66 102 / var(--tw-text-opacity))}@font-face{font-family:JetbrainsMono;src:url(/fonts/JetBrainsMono-Regular.woff2) format("Woff")}*{font-family:JetbrainsMono}p,span{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content} +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.flex{display:flex}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.bg-gray{--tw-bg-opacity: 1;background-color:rgb(91 98 113 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(252 247 255 / var(--tw-bg-opacity))}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-6xl{font-size:3.75rem;line-height:1}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-thin{font-weight:100}.text-black{--tw-text-opacity: 1;color:rgb(42 45 52 / var(--tw-text-opacity))}.text-blue{--tw-text-opacity: 1;color:rgb(84 101 255 / var(--tw-text-opacity))}.text-gray{--tw-text-opacity: 1;color:rgb(91 98 113 / var(--tw-text-opacity))}.text-red{--tw-text-opacity: 1;color:rgb(238 66 102 / var(--tw-text-opacity))}@font-face{font-family:JetbrainsMono;src:url(/fonts/JetBrainsMono-Regular.woff2) format("Woff")}*{font-family:JetbrainsMono}p,span{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content} diff --git a/dist/index.html b/dist/index.html index b161b0e0c..28bfc20c2 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,2 +1 @@ - Animatified Minimalism

Animatified Minimalism

Beyond  Minimalism

The next-generation of Minimalism

\ No newline at end of file + Animatified Minimalism

Animatified Minimalism

Beyond  Minimalism

The next-generation of Minimalism

\ No newline at end of file