From 9626fdc7a288b2b8e6ab0356d734c2480dc0f9b2 Mon Sep 17 00:00:00 2001 From: ViktorSvertoka Date: Thu, 14 Dec 2023 11:29:36 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20ViktorSv?= =?UTF-8?q?ertoka/your-energy@eb1bf07ded6d6d8b89fc7984267f1779e6cc26f6=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/main-4a3b1b06.css | 1 - assets/main-78119179.js | 76 --------------------------------------- assets/main-b2f91040.css | 1 + assets/main-f1e45de2.js | 77 ++++++++++++++++++++++++++++++++++++++++ favorites.html | 4 +-- index.html | 14 ++++---- 6 files changed, 88 insertions(+), 85 deletions(-) delete mode 100644 assets/main-4a3b1b06.css delete mode 100644 assets/main-78119179.js create mode 100644 assets/main-b2f91040.css create mode 100644 assets/main-f1e45de2.js diff --git a/assets/main-4a3b1b06.css b/assets/main-4a3b1b06.css deleted file mode 100644 index c8e4796..0000000 --- a/assets/main-4a3b1b06.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:DM Sans;src:url(/your-energy/assets/DMSans-Regular-f857de78.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:DM Sans;src:url(/your-energy/assets/DMSans-Medium-e9902403.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:DM Sans;src:url(/your-energy/assets/DMSans-Italic-79f2bc50.woff2) format("woff2");font-style:italic;font-display:swap}.custom-font{font-family:DM Sans,Arial,Helvetica,sans-serif}:root{--color-black: #242424;--color-white: #f4f4f4;--color-white-secondary: #ffffff;--color-light-grey: #d4d4d4;--color-light-grey-secondary: #c6cdd1;--color-yellow: #eea10c;--color-valid: #4dc274;--color-invalid: #ee323d;--transition-dur-and-func: .75s cubic-bezier(.4, 0, .2, 1)}body{font-family:DM Sans,sans-serif;font-style:normal;background-color:var(--color-white)}.section{padding-bottom:80px}@media screen and (min-width: 768px){.section{padding-bottom:100px}}@media screen and (min-width: 1440px){.section{padding-bottom:150px}}.container{width:100%;padding:0 20px;margin:0 auto}@media screen and (min-width: 375px){.container{width:375px}}@media screen and (min-width: 768px){.container{width:768px;padding:0 32px}}@media screen and (min-width: 1440px){.container{width:1440px}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;white-space:nowrap;clip-path:inset(100%);clip:rect(0 0 0 0);overflow:hidden}.text__element{position:relative}.text__element:after{position:absolute;bottom:3px;left:0;content:"";z-index:-1;width:100%;height:12px;border-radius:8px;background-color:var(--color-green-pseudo)}@media screen and (min-width: 768px){.text__element:after{height:20px}}h1,h2,h3,h4,h5,h6,p{margin:0}p:last-child{margin-bottom:0}ul,ol{margin:0;padding:0;list-style:none}a{color:currentColor;text-decoration:none}button{cursor:pointer}img{display:block;max-width:100%;height:auto}.header{background-color:#f4f4f4;color:#fff;padding:32px 0;display:flex;justify-content:space-between;align-items:center}.logo{cursor:pointer;align-self:center}.social-media{list-style:none;display:flex;gap:12px;color:#242424}@media screen and (max-width: 767px){.social-media{display:none}}@media screen and (min-width: 768px){.social-media svg{width:44px;height:44px;fill:#242424;cursor:pointer;gap:12px}}.toggle-buttons{width:233px;height:52px;font-size:16px;background-color:#242424;border-radius:60px;display:flex;align-items:center;justify-content:center;padding:0 14px;gap:18px}@media screen and (min-width: 768px){.toggle-buttons{width:265px;height:52px}}.toggle-buttons button{width:74px;height:36px;background-color:#f4f4f4;border-radius:30px;font-family:DM Sans,sans-serif;font-size:16px;color:#242424;border:none;cursor:pointer}@media screen and (max-width: 767px){.toggle-buttons{display:none}}.toggle-buttons button.active{background-color:#242424;color:#f4f4f4}.icon{color:#242424;top:20px;right:20px;font-size:24px;z-index:1000;display:block}@media screen and (min-width: 768px){.icon{display:none}}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000c;display:none;justify-content:center;align-items:center;z-index:1000}.modal-content{background-color:#fff;padding:20px;border-radius:10px;text-align:center}.section{padding-bottom:40px}@media screen and (min-width: 768px){.section{padding-bottom:64px}}.hero{position:relative}.hero__pic{display:none}@media screen and (min-width: 1440px){.hero__pic{position:absolute;display:inline-flex;top:12px;right:0;width:168px;height:100px;border-radius:20px}}.hero__icon-title{position:relative;display:flex;align-items:flex-start}.hero__icon{position:absolute;top:5px}@media screen and (min-width: 768px){.hero__icon{position:absolute;top:6px;width:59px;height:59px}}.hero__title{text-indent:50px;width:100%;font-family:DMSans-Regular;color:var(--color-black);font-size:38px;font-weight:400;line-height:1.16;letter-spacing:-.76px;margin-bottom:20px}@media screen and (min-width: 768px){.hero__title{text-indent:75px;font-size:74px;line-height:1;letter-spacing:-1.48px}}.hero__title-part{font-style:italic}.hero__subtitle{width:100%;font-family:DMSans-Regular;color:var(--color-black);font-size:14px;font-weight:400;line-height:1.29;letter-spacing:-.28px;margin-bottom:20px}@media screen and (min-width: 375px){.hero__subtitle{width:335px}}@media screen and (min-width: 768px){.hero__subtitle{width:500px;font-size:18px;line-height:1.33;letter-spacing:-.36px;margin-bottom:32px}}@media screen and (min-width: 1440px){.hero__subtitle{width:500px;font-size:18px;line-height:1.33;letter-spacing:-.36px;margin-bottom:32px}}.hero__image img{border-radius:30px;width:100%;display:inline-flex;flex-direction:column;justify-content:flex-end;align-items:center;margin-bottom:20px}@media screen and (min-width: 768px){.hero__image img{width:704px;height:550px;border-radius:60px;margin-bottom:20px}}@media screen and (min-width: 1440px){.hero__image img{display:flex;width:100%;height:350px;border-radius:60px;justify-content:center;margin-bottom:0}}.hero__hashtags{display:inline-flex;align-items:flex-start;gap:8px;flex-wrap:wrap}@media screen and (min-width: 768px){.hero__hashtags{display:flex;justify-content:flex-end;align-items:flex-start}}@media screen and (min-width: 1440px){.hero__hashtags{position:absolute;top:144px;right:0;display:flex;width:197px;justify-content:flex-end;align-items:flex-start;align-content:flex-start;gap:8px;flex-wrap:wrap}}.hero__hashtag{display:flex;justify-content:center;align-items:center}.hero__hashtag-text{color:var(--color-black);font-family:DMSans-Regular;font-size:14px;line-height:1.28;padding:4px 12px;letter-spacing:-.1px;border-radius:30px;border:1px solid var(--color-black)}@media screen and (min-width: 768px){.hero__hashtag-text{padding:4px 16px;line-height:1.5}}@media screen and (min-width: 1440px){.hero__hashtag-text{padding:4px 16px}}.hero__hashtags a:hover{background:rgba(36,36,36,.8);color:var(--color-white)}.exersices__container{display:flex;flex-direction:column;row-gap:20px;margin-bottom:20px}@media screen and (min-width: 768px){.exersices__container{row-gap:32px;margin-bottom:32px}}@media screen and (min-width: 1440px){.exersices__container{flex-direction:row;row-gap:0;justify-content:space-between}}.exersices__list{display:flex;gap:20px;align-items:center}.exersices__title{font-family:DMSans-Regular;font-style:normal;font-weight:400;font-size:28px;line-height:1.3em;letter-spacing:-.56px;color:var(--color-black)}@media screen and (min-width: 768px){.exersices__title{font-size:44px;line-height:1.1em;letter-spacing:-.88px}}.exercises__btn.active{position:relative;padding:0 0 4px;font-family:DMSans-Regular;font-style:normal;font-weight:400;font-size:14px;line-height:1.4em;border:none;background-color:transparent;color:var(--color-black)}@media screen and (min-width: 768px){.exercises__btn.active{font-size:16px;line-height:1.5em}}.exercises__btn.active:after{content:"";position:absolute;width:100%;height:4px;left:0;bottom:-3px;border-radius:2px;background-color:var(--color-black)}.exercises__btn:not(.active){font-family:DMSans-Regular;font-style:normal;font-weight:400;font-size:14px;line-height:1.4em;padding:0 0 4px;border:none;background-color:transparent;color:#24242499}@media screen and (min-width: 768px){.exercises__btn:not(.active){font-size:16px;line-height:24px}}.quote-filters__container{display:flex;flex-direction:column}.quote-filters__container .quote__container{order:2}.quote-filters__container .filters__container{order:1}@media screen and (min-width: 1440px){.quote-filters__container{flex-direction:row;justify-content:space-between}.quote-filters__container .quote__container{order:1}.quote-filters__container .filters__container{order:2}}.filters__list{display:flex;flex-direction:column;row-gap:20px;padding-bottom:20px}@media screen and (min-width: 768px){.filters__list{flex-direction:row;flex-wrap:wrap;row-gap:32px;justify-content:space-between;padding-bottom:32px}}@media screen and (min-width: 1440px){.filters__list{width:900px}}.filters__item{width:100%;position:relative}@media screen and (min-width: 768px){.filters__item{width:calc((100% - 2 * 15px) / 3)}}.filters__img-first{width:100%;filter:brightness(.5);border-radius:12px}.filters__wrapper-first{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.filters__title-first{font-family:DMSans-Regular;font-style:normal;font-weight:400;font-size:20px;line-height:1em;text-align:center;color:var(--color-white)}@media screen and (min-width: 768px){.filters__title-first{font-size:24px;line-height:24px}}.filters__text-first{font-family:DMSans-Regular;font-style:normal;font-weight:400;font-size:12px;line-height:1.5em;text-align:center;color:#f4f4f466}.quote__container{width:100%;border:1px solid red}@media screen and (min-width: 1440px){.quote__container{width:444px}}.footer__background{background-color:#000}.footer__container{padding-top:40px;padding-bottom:10px}@media screen and (min-width: 768px){.footer__container{display:flex;flex-wrap:wrap;padding-top:64px;padding-bottom:16px}}.footer__logo{fill:var(--color-white)}.socials__list{display:flex;gap:12px;margin-top:20px}@media screen and (min-width: 768px){.socials__list{margin-top:32px}}.socials__link{display:flex;justify-content:center;align-items:center;width:40px;height:40px;padding:8px;outline:1px solid rgba(244,244,244,.1);border-radius:10px}@media screen and (min-width: 768px){.socials__link{width:44px;height:44px}}.socials__icon-footer{fill:var(--color-white)}@media screen and (min-width: 768px){.footer__right-wrap{width:434px;margin-left:114px}}@media screen and (min-width: 1440px){.footer__right-wrap{display:flex;width:1062px;gap:115px}}.footer__title{margin-top:40px;color:var(--color-white);font-size:38px;font-weight:400;line-height:1.15;letter-spacing:-.76px}@media screen and (min-width: 768px){.footer__title{margin-top:0;font-size:56px;line-height:1.07;letter-spacing:-1.12px}}@media screen and (min-width: 1440px){.footer__title{width:595px}}.accent-text{font-style:italic}.subscribe__form{display:flex;width:100%;flex-direction:column;gap:20px;margin-top:20px;font-size:14px;font-weight:400;line-height:1.28px}@media screen and (min-width: 375px){.subscribe__form{width:335px}}@media screen and (min-width: 768px){.subscribe__form{margin-top:40px;width:352px;font-size:16px;line-height:1.5px}}@media screen and (min-width: 1440px){.subscribe__form{margin-top:0}}.subscribe__form-title{margin-top:20px;color:var(--color-white);font-size:14px;font-weight:400;line-height:1.28}@media screen and (min-width: 768px){.subscribe__form-title{margin-top:0;font-size:18px;line-height:1.33}}@media screen and (min-width: 1440px){.subscribe__form-title{margin-top:0}}.subscribe__form-input{width:100%;padding:12px 14px;border-radius:30px;border:1px solid var(--color-white);background-color:var(--color-black);color:#f4f4f499}@media screen and (min-width: 768px){.subscribe__form-input{height:48px}}.subscribe__form-btn{display:flex;justify-content:center;align-items:center;width:100%;height:42px;padding:12px 0;border-radius:30px;background-color:var(--color-white);border:none;font-size:14px;line-height:1.28px;color:var(--color-black)}@media screen and (min-width: 768px){.subscribe__form-btn{height:48px;font-size:16px;line-height:1.5px}}.footer__text{font-size:14px;line-height:1.28;letter-spacing:-.28px;color:var(--color-light-grey-secondary);opacity:.9}.footer__text-outer-wrap{margin-top:120px}@media screen and (min-width: 768px){.footer__text-outer-wrap{display:flex;width:704px;gap:78px;margin-top:64px}}@media screen and (min-width: 1440px){.footer__text-outer-wrap{width:1068px;gap:122px;margin-top:70px}}.footer__text-inner-wrap{display:flex;justify-content:space-between;margin-top:10px}@media screen and (min-width: 768px){.footer__text-inner-wrap{margin-top:0;gap:178px}}@media screen and (min-width: 1440px){.footer__text-inner-wrap{gap:498px}}.privacy-policy__text{display:flex;gap:8px}.overlay{position:fixed;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background:rgba(4,4,4,.4);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:1}.hidden{display:none}.modal-exercises{position:relative;z-index:100;overflow-y:auto;max-width:100%;max-height:100%;padding:40px 20px;border-radius:20px;background-color:#242424}.modal-exercises__btn-close{position:absolute;top:14px;right:14px;display:flex;align-items:center;justify-content:center;padding:0;stroke:#f4f4f4;background-color:#0000;border:none}.modal-exercises__img{width:100%;margin-bottom:20px;border-radius:12px;background:linear-gradient(0deg,rgba(4,4,4,.2) 0%,rgba(4,4,4,.2) 100%),url(),lightgray -2px -6.558px / 105.185% 109.653% no-repeat}.modal-exercises__name{margin-bottom:10px;font-size:20px;font-weight:500;line-height:1;color:#f4f4f4}.modal-exercises__block{margin-bottom:40px}.modal-exercises__list{position:relative;display:flex;flex-wrap:wrap;gap:20px;margin-bottom:30px}.modal-exercises__list:before,.modal-exercises__list:after{position:absolute;height:2px;width:100%;background-color:#f4f4f433;content:""}.modal-exercises__list:before{top:-10px;left:0}.modal-exercises__list:after{bottom:-10px;left:0}.modal-exercises__subtitle{margin-bottom:4px;font-size:12px;font-weight:400;line-height:1.5;color:#f4f4f466}.modal-exercises__text{font-size:14px;font-weight:500;color:#f4f4f4}.modal-exercises__description{font-size:14px;line-height:1.28;color:#f4f4f499}.modal-exercises__btn-container{display:flex;justify-content:space-between}.modal-exercises__btn{font-family:DM Sans,sans-serif;font-size:14px;line-height:1.28;padding:12px 19px;border-radius:30px}.modal-exercises__btn-favorites{display:inline-flex;justify-content:center;align-items:center;border:none;background-color:#f4f4f4;color:#242424}.btn-favorites__icon{stroke:#242424;fill:#f4f4f4;padding-left:8px}.modal-exercises__btn-rating{border:1px solid #f4f4f4;background-color:transparent;color:#f4f4f4}.team__backdrop{position:fixed;top:0;left:0;width:100%;height:100%;overflow-y:auto;z-index:998;padding:15px;background-color:#000000b3;visibility:visible;opacity:1}.is-hidden{visibility:hidden;pointer-events:none;opacity:0}.is-hidden .team__wrapper{visibility:hidden;pointer-events:none;opacity:.3;transform:translate(-75%,-90%) scale(3)}.team__wrapper{position:relative;z-index:999;width:320px;margin-left:auto;margin-right:auto;padding:25px 15px 20px;visibility:visible;opacity:1;background-color:var(--color-white);border-radius:10px;box-shadow:0 28px 42px #00000061,0 20px 20px #00000054}@media screen and (min-width: 768px){.team__wrapper{width:580px}}@media screen and (min-width: 1280px){.team__wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(1);width:1200px;padding:30px}}.team__modal-close-btn{display:flex;justify-content:center;align-items:center;position:absolute;top:10px;right:10px;padding:0;border:none;background-color:transparent;border-radius:50%;cursor:pointer;stroke:var(--color-black)}@media screen and (min-width: 768px){.team__modal-close-btn{top:20px;right:20px}}.team__modal-close-btn:hover{stroke:var(--color-green)}.team__modal-close-icon{fill:currentColor}.team__title{text-align:center;text-transform:uppercase;color:var(--color-black);font-size:24px;margin-bottom:20px}.team__list{display:flex;justify-content:center;flex-wrap:wrap;gap:1.2rem}.team__item{background-color:var(--color-grey);color:var(--color-white);position:relative;border-radius:10px;padding-bottom:5px;overflow:hidden}.team__item:hover,.team__item:focus{box-shadow:0 1px 3px #0000001f,0 1px 1px #00000024,0 2px 1px #0003}.team__wrap{overflow:hidden}.team__img{overflow:hidden;object-fit:cover;margin-bottom:5px;width:200px;height:180px}.team__box{font-weight:500;font-size:16px;padding:10px;text-align:center;margin-bottom:3px}.team__member{font-weight:700;font-size:16px;color:var(--color-black);margin-bottom:10px}.team__role{font-weight:500;font-size:16px;color:var(--color-green);margin-bottom:10px}.team__link-linkedin{border:none;width:36px;height:36px;border-radius:10%;margin-right:10px;background-color:transparent;fill:var(--color-black);display:inline-flex;justify-content:center;align-items:center}.team__link-linkedin--active:hover,.team__link-linkedin--active:focus{background-color:var(--color-green);fill:var(--color-white)}.team__link-github{border:none;width:36px;height:36px;border-radius:50%;background-color:transparent;fill:var(--color-black);display:inline-flex;justify-content:center;align-items:center}.team__link-github--active:hover,.team__link-github--active:focus{background-color:var(--color-green);fill:var(--color-white)}.scroll__go-top{position:fixed;bottom:50px;right:50px;z-index:1000;display:none;padding:2px 4px;border:none;background:no-repeat scroll #242424;border-radius:50%;width:50px;height:50px;opacity:.8;cursor:pointer}.scroll__go-top:hover,.scroll__go-top:focus{background:#f4f4f4;border:4px solid #242424}.scroll__go-top--show{display:block}@media screen and (min-width: 768px){.scroll__go-top{bottom:20px;right:20px}}.scroll__icon{width:100%;height:100%;fill:#f4f4f4}.scroll__icon:hover,.scroll__icon:focus{fill:#242424} diff --git a/assets/main-78119179.js b/assets/main-78119179.js deleted file mode 100644 index 80c954f..0000000 --- a/assets/main-78119179.js +++ /dev/null @@ -1,76 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function Te(e,t){return function(){return e.apply(t,arguments)}}const{toString:st}=Object.prototype,{getPrototypeOf:ae}=Object,H=(e=>t=>{const n=st.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),x=e=>(e=e.toLowerCase(),t=>H(t)===e),z=e=>t=>typeof t===e,{isArray:C}=Array,F=z("undefined");function rt(e){return e!==null&&!F(e)&&e.constructor!==null&&!F(e.constructor)&&S(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Le=x("ArrayBuffer");function ot(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Le(e.buffer),t}const it=z("string"),S=z("function"),Pe=z("number"),J=e=>e!==null&&typeof e=="object",at=e=>e===!0||e===!1,U=e=>{if(H(e)!=="object")return!1;const t=ae(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ct=x("Date"),lt=x("File"),ut=x("Blob"),dt=x("FileList"),ft=e=>J(e)&&S(e.pipe),pt=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||S(e.append)&&((t=H(e))==="formdata"||t==="object"&&S(e.toString)&&e.toString()==="[object FormData]"))},ht=x("URLSearchParams"),mt=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function v(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),C(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Ce=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Be=e=>!F(e)&&e!==Ce;function Z(){const{caseless:e}=Be(this)&&this||{},t={},n=(s,r)=>{const o=e&&Ne(t,r)||r;U(t[o])&&U(s)?t[o]=Z(t[o],s):U(s)?t[o]=Z({},s):C(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(v(t,(r,o)=>{n&&S(r)?e[o]=Te(r,n):e[o]=r},{allOwnKeys:s}),e),bt=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Et=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},wt=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&ae(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},gt=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},St=e=>{if(!e)return null;if(C(e))return e;let t=e.length;if(!Pe(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},_t=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ae(Uint8Array)),xt=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Rt=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Ot=x("HTMLFormElement"),At=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),ye=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Tt=x("RegExp"),Fe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};v(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},Lt=e=>{Fe(e,(t,n)=>{if(S(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(S(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Pt=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return C(e)?s(e):s(String(e).split(t)),n},Nt=()=>{},Ct=(e,t)=>(e=+e,Number.isFinite(e)?e:t),G="abcdefghijklmnopqrstuvwxyz",be="0123456789",ve={DIGIT:be,ALPHA:G,ALPHA_DIGIT:G+G.toUpperCase()+be},Bt=(e=16,t=ve.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Ft(e){return!!(e&&S(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const vt=e=>{const t=new Array(10),n=(s,r)=>{if(J(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=C(s)?[]:{};return v(s,(i,l)=>{const p=n(i,r+1);!F(p)&&(o[l]=p)}),t[r]=void 0,o}}return s};return n(e,0)},Dt=x("AsyncFunction"),kt=e=>e&&(J(e)||S(e))&&S(e.then)&&S(e.catch),a={isArray:C,isArrayBuffer:Le,isBuffer:rt,isFormData:pt,isArrayBufferView:ot,isString:it,isNumber:Pe,isBoolean:at,isObject:J,isPlainObject:U,isUndefined:F,isDate:ct,isFile:lt,isBlob:ut,isRegExp:Tt,isFunction:S,isStream:ft,isURLSearchParams:ht,isTypedArray:_t,isFileList:dt,forEach:v,merge:Z,extend:yt,trim:mt,stripBOM:bt,inherits:Et,toFlatObject:wt,kindOf:H,kindOfTest:x,endsWith:gt,toArray:St,forEachEntry:xt,matchAll:Rt,isHTMLForm:Ot,hasOwnProperty:ye,hasOwnProp:ye,reduceDescriptors:Fe,freezeMethods:Lt,toObjectSet:Pt,toCamelCase:At,noop:Nt,toFiniteNumber:Ct,findKey:Ne,global:Ce,isContextDefined:Be,ALPHABET:ve,generateString:Bt,isSpecCompliantForm:Ft,toJSONObject:vt,isAsyncFn:Dt,isThenable:kt};function m(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r)}a.inherits(m,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const De=m.prototype,ke={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ke[e]={value:e}});Object.defineProperties(m,ke);Object.defineProperty(De,"isAxiosError",{value:!0});m.from=(e,t,n,s,r,o)=>{const i=Object.create(De);return a.toFlatObject(e,i,function(p){return p!==Error.prototype},l=>l!=="isAxiosError"),m.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Ut=null;function ee(e){return a.isPlainObject(e)||a.isArray(e)}function Ue(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function Ee(e,t,n){return e?e.concat(t).map(function(r,o){return r=Ue(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function jt(e){return a.isArray(e)&&!e.some(ee)}const $t=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function V(e,t,n){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,E){return!a.isUndefined(E[f])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,p=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(r))throw new TypeError("visitor must be a function");function h(d){if(d===null)return"";if(a.isDate(d))return d.toISOString();if(!p&&a.isBlob(d))throw new m("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(d)||a.isTypedArray(d)?p&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function u(d,f,E){let g=d;if(d&&!E&&typeof d=="object"){if(a.endsWith(f,"{}"))f=s?f:f.slice(0,-2),d=JSON.stringify(d);else if(a.isArray(d)&&jt(d)||(a.isFileList(d)||a.endsWith(f,"[]"))&&(g=a.toArray(d)))return f=Ue(f),g.forEach(function(A,nt){!(a.isUndefined(A)||A===null)&&t.append(i===!0?Ee([f],nt,o):i===null?f:f+"[]",h(A))}),!1}return ee(d)?!0:(t.append(Ee(E,f,o),h(d)),!1)}const c=[],y=Object.assign($t,{defaultVisitor:u,convertValue:h,isVisitable:ee});function w(d,f){if(!a.isUndefined(d)){if(c.indexOf(d)!==-1)throw Error("Circular reference detected in "+f.join("."));c.push(d),a.forEach(d,function(g,O){(!(a.isUndefined(g)||g===null)&&r.call(t,g,a.isString(O)?O.trim():O,f,y))===!0&&w(g,f?f.concat(O):[O])}),c.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return w(e),t}function we(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function ce(e,t){this._pairs=[],e&&V(e,this,t)}const je=ce.prototype;je.append=function(t,n){this._pairs.push([t,n])};je.toString=function(t){const n=t?function(s){return t.call(this,s,we)}:we;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function It(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function $e(e,t,n){if(!t)return e;const s=n&&n.encode||It,r=n&&n.serialize;let o;if(r?o=r(t,n):o=a.isURLSearchParams(t)?t.toString():new ce(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Mt{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(s){s!==null&&t(s)})}}const ge=Mt,Ie={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qt=typeof URLSearchParams<"u"?URLSearchParams:ce,Ht=typeof FormData<"u"?FormData:null,zt=typeof Blob<"u"?Blob:null,Jt={isBrowser:!0,classes:{URLSearchParams:qt,FormData:Ht,Blob:zt},protocols:["http","https","file","blob","url","data"]},Me=typeof window<"u"&&typeof document<"u",Vt=(e=>Me&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Wt=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Kt=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Me,hasStandardBrowserEnv:Vt,hasStandardBrowserWebWorkerEnv:Wt},Symbol.toStringTag,{value:"Module"})),_={...Kt,...Jt};function Gt(e,t){return V(e,new _.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return _.isNode&&a.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Xt(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Qt(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&a.isArray(r)?r.length:i,p?(a.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!a.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&a.isArray(r[i])&&(r[i]=Qt(r[i])),!l)}if(a.isFormData(e)&&a.isFunction(e.entries)){const n={};return a.forEachEntry(e,(s,r)=>{t(Xt(s),r,n,0)}),n}return null}function Yt(e,t,n){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const le={transitional:Ie,adapter:["xhr","http"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=a.isObject(t);if(o&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return r&&r?JSON.stringify(qe(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Gt(t,this.formSerializer).toString();if((l=a.isFileList(t))||s.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return V(l?{"files[]":t}:t,p&&new p,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),Yt(t)):t}],transformResponse:[function(t){const n=this.transitional||le.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&a.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?m.from(l,m.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_.classes.FormData,Blob:_.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{le.headers[e]={}});const ue=le,Zt=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),en=e=>{const t={};let n,s,r;return e&&e.split(` -`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Zt[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Se=Symbol("internals");function B(e){return e&&String(e).trim().toLowerCase()}function j(e){return e===!1||e==null?e:a.isArray(e)?e.map(j):String(e)}function tn(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const nn=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function X(e,t,n,s,r){if(a.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!a.isString(t)){if(a.isString(s))return t.indexOf(s)!==-1;if(a.isRegExp(s))return s.test(t)}}function sn(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function rn(e,t){const n=a.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class W{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,p,h){const u=B(p);if(!u)throw new Error("header name must be a non-empty string");const c=a.findKey(r,u);(!c||r[c]===void 0||h===!0||h===void 0&&r[c]!==!1)&&(r[c||p]=j(l))}const i=(l,p)=>a.forEach(l,(h,u)=>o(h,u,p));return a.isPlainObject(t)||t instanceof this.constructor?i(t,n):a.isString(t)&&(t=t.trim())&&!nn(t)?i(en(t),n):t!=null&&o(n,t,s),this}get(t,n){if(t=B(t),t){const s=a.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return tn(r);if(a.isFunction(n))return n.call(this,r,s);if(a.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=B(t),t){const s=a.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||X(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=B(i),i){const l=a.findKey(s,i);l&&(!n||X(s,s[l],l,n))&&(delete s[l],r=!0)}}return a.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||X(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return a.forEach(this,(r,o)=>{const i=a.findKey(s,o);if(i){n[i]=j(r),delete n[o];return}const l=t?sn(o):String(o).trim();l!==o&&delete n[o],n[l]=j(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return a.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&a.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Se]=this[Se]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=B(i);s[l]||(rn(r,i),s[l]=!0)}return a.isArray(t)?t.forEach(o):o(t),this}}W.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(W.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});a.freezeMethods(W);const R=W;function Q(e,t){const n=this||ue,s=t||n,r=R.from(s.headers);let o=s.data;return a.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function He(e){return!!(e&&e.__CANCEL__)}function D(e,t,n){m.call(this,e??"canceled",m.ERR_CANCELED,t,n),this.name="CanceledError"}a.inherits(D,m,{__CANCEL__:!0});function on(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new m("Request failed with status code "+n.status,[m.ERR_BAD_REQUEST,m.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const an=_.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];a.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),a.isString(s)&&i.push("path="+s),a.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function cn(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ln(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function ze(e,t){return e&&!cn(t)?ln(e,t):t}const un=_.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(i){const l=a.isString(i)?r(i):i;return l.protocol===s.protocol&&l.host===s.host}}():function(){return function(){return!0}}();function dn(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fn(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(p){const h=Date.now(),u=s[o];i||(i=h),n[r]=p,s[r]=h;let c=o,y=0;for(;c!==r;)y+=n[c++],c=c%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),h-i{const o=r.loaded,i=r.lengthComputable?r.total:void 0,l=o-n,p=s(l),h=o<=i;n=o;const u={loaded:o,total:i,progress:i?o/i:void 0,bytes:l,rate:p||void 0,estimated:p&&i&&h?(i-o)/p:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const pn=typeof XMLHttpRequest<"u",hn=pn&&function(e){return new Promise(function(n,s){let r=e.data;const o=R.from(e.headers).normalize();let{responseType:i,withXSRFToken:l}=e,p;function h(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}let u;if(a.isFormData(r)){if(_.hasStandardBrowserEnv||_.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((u=o.getContentType())!==!1){const[f,...E]=u?u.split(";").map(g=>g.trim()).filter(Boolean):[];o.setContentType([f||"multipart/form-data",...E].join("; "))}}let c=new XMLHttpRequest;if(e.auth){const f=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(f+":"+E))}const y=ze(e.baseURL,e.url);c.open(e.method.toUpperCase(),$e(y,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function w(){if(!c)return;const f=R.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),g={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:f,config:e,request:c};on(function(A){n(A),h()},function(A){s(A),h()},g),c=null}if("onloadend"in c?c.onloadend=w:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(w)},c.onabort=function(){c&&(s(new m("Request aborted",m.ECONNABORTED,e,c)),c=null)},c.onerror=function(){s(new m("Network Error",m.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let E=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const g=e.transitional||Ie;e.timeoutErrorMessage&&(E=e.timeoutErrorMessage),s(new m(E,g.clarifyTimeoutError?m.ETIMEDOUT:m.ECONNABORTED,e,c)),c=null},_.hasStandardBrowserEnv&&(l&&a.isFunction(l)&&(l=l(e)),l||l!==!1&&un(y))){const f=e.xsrfHeaderName&&e.xsrfCookieName&&an.read(e.xsrfCookieName);f&&o.set(e.xsrfHeaderName,f)}r===void 0&&o.setContentType(null),"setRequestHeader"in c&&a.forEach(o.toJSON(),function(E,g){c.setRequestHeader(g,E)}),a.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),i&&i!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",_e(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",_e(e.onUploadProgress)),(e.cancelToken||e.signal)&&(p=f=>{c&&(s(!f||f.type?new D(null,e,c):f),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p)));const d=dn(y);if(d&&_.protocols.indexOf(d)===-1){s(new m("Unsupported protocol "+d+":",m.ERR_BAD_REQUEST,e));return}c.send(r||null)})},te={http:Ut,xhr:hn};a.forEach(te,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const xe=e=>`- ${e}`,mn=e=>a.isFunction(e)||e===null||e===!1,Je={getAdapter:e=>{e=a.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(p===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : -`+o.map(xe).join(` -`):" "+xe(o[0]):"as no adapter specified";throw new m("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:te};function Y(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new D(null,e)}function Re(e){return Y(e),e.headers=R.from(e.headers),e.data=Q.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Je.getAdapter(e.adapter||ue.adapter)(e).then(function(s){return Y(e),s.data=Q.call(e,e.transformResponse,s),s.headers=R.from(s.headers),s},function(s){return He(s)||(Y(e),s&&s.response&&(s.response.data=Q.call(e,e.transformResponse,s.response),s.response.headers=R.from(s.response.headers))),Promise.reject(s)})}const Oe=e=>e instanceof R?e.toJSON():e;function N(e,t){t=t||{};const n={};function s(h,u,c){return a.isPlainObject(h)&&a.isPlainObject(u)?a.merge.call({caseless:c},h,u):a.isPlainObject(u)?a.merge({},u):a.isArray(u)?u.slice():u}function r(h,u,c){if(a.isUndefined(u)){if(!a.isUndefined(h))return s(void 0,h,c)}else return s(h,u,c)}function o(h,u){if(!a.isUndefined(u))return s(void 0,u)}function i(h,u){if(a.isUndefined(u)){if(!a.isUndefined(h))return s(void 0,h)}else return s(void 0,u)}function l(h,u,c){if(c in t)return s(h,u);if(c in e)return s(void 0,h)}const p={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(h,u)=>r(Oe(h),Oe(u),!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(u){const c=p[u]||r,y=c(e[u],t[u],u);a.isUndefined(y)&&c!==l||(n[u]=y)}),n}const Ve="1.6.2",de={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{de[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Ae={};de.transitional=function(t,n,s){function r(o,i){return"[Axios v"+Ve+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new m(r(i," has been removed"+(n?" in "+n:"")),m.ERR_DEPRECATED);return n&&!Ae[i]&&(Ae[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function yn(e,t,n){if(typeof e!="object")throw new m("options must be an object",m.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],p=l===void 0||i(l,o,e);if(p!==!0)throw new m("option "+o+" must be "+p,m.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new m("Unknown option "+o,m.ERR_BAD_OPTION)}}const ne={assertOptions:yn,validators:de},T=ne.validators;class M{constructor(t){this.defaults=t,this.interceptors={request:new ge,response:new ge}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=N(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&ne.assertOptions(s,{silentJSONParsing:T.transitional(T.boolean),forcedJSONParsing:T.transitional(T.boolean),clarifyTimeoutError:T.transitional(T.boolean)},!1),r!=null&&(a.isFunction(r)?n.paramsSerializer={serialize:r}:ne.assertOptions(r,{encode:T.function,serialize:T.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&a.merge(o.common,o[n.method]);o&&a.forEach(["delete","get","head","post","put","patch","common"],d=>{delete o[d]}),n.headers=R.concat(i,o);const l=[];let p=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(n)===!1||(p=p&&f.synchronous,l.unshift(f.fulfilled,f.rejected))});const h=[];this.interceptors.response.forEach(function(f){h.push(f.fulfilled,f.rejected)});let u,c=0,y;if(!p){const d=[Re.bind(this),void 0];for(d.unshift.apply(d,l),d.push.apply(d,h),y=d.length,u=Promise.resolve(n);c{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new D(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new fe(function(r){t=r}),cancel:t}}}const bn=fe;function En(e){return function(n){return e.apply(null,n)}}function wn(e){return a.isObject(e)&&e.isAxiosError===!0}const se={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(se).forEach(([e,t])=>{se[t]=e});const gn=se;function We(e){const t=new $(e),n=Te($.prototype.request,t);return a.extend(n,$.prototype,t,{allOwnKeys:!0}),a.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return We(N(e,r))},n}const b=We(ue);b.Axios=$;b.CanceledError=D;b.CancelToken=bn;b.isCancel=He;b.VERSION=Ve;b.toFormData=V;b.AxiosError=m;b.Cancel=b.CanceledError;b.all=function(t){return Promise.all(t)};b.spread=En;b.isAxiosError=wn;b.mergeConfig=N;b.AxiosHeaders=R;b.formToJSON=e=>qe(a.isHTMLForm(e)?new FormData(e):e);b.getAdapter=Je.getAdapter;b.HttpStatusCode=gn;b.default=b;const L=b;class K{constructor(){this.baseURL="https://your-energy.b.goit.study/api/",this.page=0}resetPage(){this.page=0}async getExercises(t,n){try{return this.page+=1,(await L.get(`${this.baseURL}exercises?${t}=${n}&page=1&limit=10`)).data.results}catch(s){console.log(s)}}async getExercisesById(t){try{return this.page+=1,(await L.get(`${this.baseURL}exercises/${t}`)).data}catch(n){console.log(n)}}async getFilter(t){try{return(await L.get(`${this.baseURL}filters?filter=${t}`)).data.results}catch(n){console.log(n)}}async getQuote(){try{return this.page+=1,(await L.get(`${this.baseURL}quote`)).data}catch(t){console.log(t)}}async patchRating(t,n){try{return this.page+=1,(await L.patch(`${this.baseURL}exercises/${t}/rating`,n)).data}catch(s){console.log(s)}}async postSubscriptions(t){try{return this.page+=1,(await L.post(`${this.baseURL}subscription`,t)).data}catch(n){console.log(n)}}}const Sn=document.getElementById("burgerMenu"),pe=document.getElementById("modalOverlay"),_n=document.getElementById("closeModal"),I=document.getElementById("homeButton"),re=document.getElementById("favoritesButton");Sn.addEventListener("click",xn);_n.addEventListener("click",Ke);I.addEventListener("click",()=>{Ge(),On()});re.addEventListener("click",()=>{Ge(),An()});function xn(){pe.style.display==="block"?Ke():Rn()}function Rn(){pe.style.display="block"}function Ke(){pe.style.display="none"}function Ge(){I.classList.contains("active")?(I.classList.remove("active"),re.classList.add("active")):(I.classList.add("active"),re.classList.remove("active"))}function On(){window.location.href="../partials/10-favorites.html"}function An(){window.location.href="../partials/10-favorites.html"}const Tn=document.querySelector(".js-quote"),Ln=new K;Pn();async function Pn(){try{const e=await Ln.getQuote();Nn(e)}catch(e){console.log(e)}}function Nn({author:e,quote:t}){Tn.innerHTML=` -

${t}

-

${e}

- `}const Cn=new K,Xe=document.querySelector(".js-list");Qe("Muscles");async function Qe(e){try{const t=await Cn.getFilter(e);Bn(t)}catch(t){console.log(t)}}function Bn(e){const t=e.map(({filter:n,name:s,imgURL:r})=>` -
  • - -
    -

    ${n}

    -

    ${s}

    -
    -
  • - `).join("");Xe.insertAdjacentHTML("beforeend",t)}document.querySelectorAll(".btnFilters").forEach(e=>{e.addEventListener("click",()=>{const t=e.innerText;Xe.innerHTML="",Qe(t)})});const Fn=new K,k=document.querySelector(".modal-exercises"),he=document.querySelector(".overlay"),vn=document.querySelector(".js-list");vn.addEventListener("click",Dn);async function Dn(e){if(e.target.closest(".filters__btn-second"))try{const t=e.target.closest(".filters__btn-second").getAttribute("data-id"),n=await Fn.getExercisesById(t),s=jn(n);Un(s),kn(),console.log(k)}catch(t){console.log(t)}}function kn(){const e=window.innerWidth-document.body.offsetWidth+"px";k.classList.remove("hidden"),he.classList.remove("hidden"),document.body.style.paddingRight=e,document.body.style.overflow="hidden"}function Un(e){k.innerHTML=e}function jn({_id:e,bodyPart:t,equipment:n,gifUrl:s,name:r,target:o,description:i,rating:l,burnedCalories:p,time:h,popularity:u}){const c=y(s);function y(w){if(!(w===null||!w))return`src="${w}"`}return` - -`}function Ye(){k.classList.add("hidden"),he.classList.add("hidden"),document.body.style.paddingRight="0px",document.body.style.overflow="auto"}he.addEventListener("click",Ye);window.addEventListener("keydown",function(e){e.key==="Escape"&&!k.classList.contains("hidden")&&Ye()});const oe=document.querySelector(".scroll__go-top");oe.addEventListener("click",Ze);window.addEventListener("scroll",$n);function $n(){const e=window.pageYOffset,t=document.documentElement.clientHeight;e>t?oe.classList.add("scroll__go-top--show"):oe.classList.remove("scroll__go-top--show")}function Ze(){window.pageYOffset>0&&(window.scrollBy(0,-75),setTimeout(Ze,0))}const me=document.getElementById("subscribeForm");console.dir(me);me.addEventListener("submit",In);async function In(e){e.preventDefault();const t=new FormData(me);try{const n=await L.post("https://your-energy.b.goit.study/api/subscription",t,{headers:{"Content-Type":"application/json"}});n.status>=200&&n.status<300?console.log("Server Response:",n):console.error("Server Error:",n.status,n.statusText)}catch(n){console.error("Error:",n.message)}}const Mn=new K,q=document.querySelector(".js-list");q.addEventListener("click",et);async function et(e){if(!e.target.closest(".filters__item"))return;q.removeEventListener("click",et);const t=e.target.closest(".filters__item"),n=t.children[0].innerText.toLowerCase(),s=t.children[1].innerText.toLowerCase();try{const r=await Mn.getExercises(n,s);qn(r)}catch(r){console.log(r)}}function qn(e){console.log(e[0]._id),q.innerHTML="";const t=e.map(({_id:n,name:s,burnedCalories:r,bodyPart:o,target:i})=>` -
  • -

    - -

    ${s}

    -

    Burned calories:${r}

    -

    Body part:${o}

    -

    Target:${i}

    -
  • - `).join("");q.insertAdjacentHTML("beforeend",t)}var P=document.getElementById("mySVG");P.style.transform="scale(1)";P.style.transition="fill 0.3s ease, transform 0.3s ease";var tt=["var(--color-yellow)","var(--color-black)","var(--color-valid)"],ie=0;P.addEventListener("mouseover",function(){P.style.fill=tt[ie],P.style.transform="scale(1.6) rotate(145deg)"});P.addEventListener("mouseout",function(){P.style.transform="scale(1) rotate(0deg)",ie=(ie+1)%tt.length}); diff --git a/assets/main-b2f91040.css b/assets/main-b2f91040.css new file mode 100644 index 0000000..88a1ed5 --- /dev/null +++ b/assets/main-b2f91040.css @@ -0,0 +1 @@ +@font-face{font-family:DM Sans;src:url(/your-energy/assets/DMSans-Regular-f857de78.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:DM Sans;src:url(/your-energy/assets/DMSans-Medium-e9902403.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:DM Sans;src:url(/your-energy/assets/DMSans-Italic-79f2bc50.woff2) format("woff2");font-style:italic;font-display:swap}.custom-font{font-family:DM Sans,Arial,Helvetica,sans-serif}:root{--color-black: #242424;--color-white: #f4f4f4;--color-white-secondary: #ffffff;--color-light-grey: #d4d4d4;--color-light-grey-secondary: #c6cdd1;--color-yellow: #eea10c;--color-valid: #4dc274;--color-invalid: #ee323d;--transition-dur-and-func: .75s cubic-bezier(.4, 0, .2, 1)}body{font-family:DM Sans,sans-serif;font-style:normal;background-color:var(--color-white)}.section{padding-bottom:80px}@media screen and (min-width: 768px){.section{padding-bottom:100px}}@media screen and (min-width: 1440px){.section{padding-bottom:150px}}.container{width:100%;padding:0 20px;margin:0 auto}@media screen and (min-width: 375px){.container{width:375px}}@media screen and (min-width: 768px){.container{width:768px;padding:0 32px}}@media screen and (min-width: 1440px){.container{width:1440px}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;white-space:nowrap;clip-path:inset(100%);clip:rect(0 0 0 0);overflow:hidden}.text__element{position:relative}.text__element:after{position:absolute;bottom:3px;left:0;content:"";z-index:-1;width:100%;height:12px;border-radius:8px;background-color:var(--color-green-pseudo)}@media screen and (min-width: 768px){.text__element:after{height:20px}}h1,h2,h3,h4,h5,h6,p{margin:0}p:last-child{margin-bottom:0}ul,ol{margin:0;padding:0;list-style:none}a{color:currentColor;text-decoration:none}button{cursor:pointer}img{display:block;max-width:100%;height:auto}.header{background-color:#f4f4f4;color:#fff;padding:32px 0;display:flex;justify-content:space-between;align-items:center}.logo{cursor:pointer;align-self:center}.social-media{list-style:none;display:flex;gap:12px;color:#242424}@media screen and (max-width: 767px){.social-media{display:none}}@media screen and (min-width: 768px){.social-media svg{width:44px;height:44px;fill:#242424;cursor:pointer;gap:12px}}.toggle-buttons{width:233px;height:52px;font-size:16px;background-color:#242424;border-radius:60px;display:flex;align-items:center;justify-content:center;padding:0 14px;gap:18px}@media screen and (min-width: 768px){.toggle-buttons{width:265px;height:52px}}.toggle-buttons button{width:74px;height:36px;background-color:#f4f4f4;border-radius:30px;font-family:DM Sans,sans-serif;font-size:16px;color:#242424;border:none;cursor:pointer}@media screen and (max-width: 767px){.toggle-buttons{display:none}}.toggle-buttons button.active{background-color:#242424;color:#f4f4f4}.icon{color:#242424;top:20px;right:20px;font-size:24px;z-index:1000;display:block}@media screen and (min-width: 768px){.icon{display:none}}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000c;display:none;justify-content:center;align-items:center;z-index:1000}.modal-content{background-color:#fff;padding:20px;border-radius:10px;text-align:center}.section{padding-bottom:40px}@media screen and (min-width: 768px){.section{padding-bottom:64px}}.hero{position:relative}.hero__pic{display:none}@media screen and (min-width: 1440px){.hero__pic{position:absolute;display:inline-flex;top:12px;right:0;width:168px;height:100px;border-radius:20px}}.hero__icon-title{position:relative;display:flex;align-items:flex-start}.hero__icon{position:absolute;top:5px}@media screen and (min-width: 768px){.hero__icon{position:absolute;top:6px;width:59px;height:59px}}.hero__title{text-indent:50px;width:100%;font-family:DMSans-Regular;color:var(--color-black);font-size:38px;font-weight:400;line-height:1.16;letter-spacing:-.76px;margin-bottom:20px}@media screen and (min-width: 768px){.hero__title{text-indent:75px;font-size:74px;line-height:1;letter-spacing:-1.48px}}.hero__title-part{font-style:italic}.hero__subtitle{width:100%;font-family:DMSans-Regular;color:var(--color-black);font-size:14px;font-weight:400;line-height:1.29;letter-spacing:-.28px;margin-bottom:20px}@media screen and (min-width: 375px){.hero__subtitle{width:335px}}@media screen and (min-width: 768px){.hero__subtitle{width:500px;font-size:18px;line-height:1.33;letter-spacing:-.36px;margin-bottom:32px}}@media screen and (min-width: 1440px){.hero__subtitle{width:500px;font-size:18px;line-height:1.33;letter-spacing:-.36px;margin-bottom:32px}}.hero__image img{border-radius:30px;width:100%;display:inline-flex;flex-direction:column;justify-content:flex-end;align-items:center;margin-bottom:20px}@media screen and (min-width: 768px){.hero__image img{width:704px;height:550px;border-radius:60px;margin-bottom:20px}}@media screen and (min-width: 1440px){.hero__image img{display:flex;width:100%;height:350px;border-radius:60px;justify-content:center;margin-bottom:0}}.hero__hashtags{display:inline-flex;align-items:flex-start;gap:8px;flex-wrap:wrap}@media screen and (min-width: 768px){.hero__hashtags{display:flex;justify-content:flex-end;align-items:flex-start}}@media screen and (min-width: 1440px){.hero__hashtags{position:absolute;top:144px;right:0;display:flex;width:197px;justify-content:flex-end;align-items:flex-start;align-content:flex-start;gap:8px;flex-wrap:wrap}}.hero__hashtag{display:flex;justify-content:center;align-items:center}.hero__hashtag-text{color:var(--color-black);font-family:DMSans-Regular;font-size:14px;line-height:1.28;padding:4px 12px;letter-spacing:-.1px;border-radius:30px;border:1px solid var(--color-black)}@media screen and (min-width: 768px){.hero__hashtag-text{padding:4px 16px;line-height:1.5}}@media screen and (min-width: 1440px){.hero__hashtag-text{padding:4px 16px}}.hero__hashtags a:hover{background:rgba(36,36,36,.8);color:var(--color-white)}.exersices__container{display:flex;flex-direction:column;row-gap:20px;margin-bottom:20px}@media screen and (min-width: 768px){.exersices__container{row-gap:32px;margin-bottom:32px}}@media screen and (min-width: 1440px){.exersices__container{flex-direction:row;row-gap:0;justify-content:space-between}}.exersices__list{display:flex;gap:20px;align-items:center}.exersices__title{font-family:DMSans-Regular;font-style:normal;font-weight:400;font-size:28px;line-height:1.3em;letter-spacing:-.56px;color:var(--color-black)}@media screen and (min-width: 768px){.exersices__title{font-size:44px;line-height:1.1em;letter-spacing:-.88px}}.exercises__btn.active{position:relative;padding:0 0 4px;font-family:DMSans-Regular;font-style:normal;font-weight:400;font-size:14px;line-height:1.4em;border:none;background-color:transparent;color:var(--color-black)}@media screen and (min-width: 768px){.exercises__btn.active{font-size:16px;line-height:1.5em}}.exercises__btn.active:after{content:"";position:absolute;width:100%;height:4px;left:0;bottom:-3px;border-radius:2px;background-color:var(--color-black)}.exercises__btn:not(.active){font-family:DMSans-Regular;font-style:normal;font-weight:400;font-size:14px;line-height:1.4em;padding:0 0 4px;border:none;background-color:transparent;color:#24242499}@media screen and (min-width: 768px){.exercises__btn:not(.active){font-size:16px;line-height:24px}}.quote-filters__container{display:flex;flex-direction:column}.quote-filters__container .quote__container{order:2}.quote-filters__container .filters__container{order:1}@media screen and (min-width: 1440px){.quote-filters__container{flex-direction:row;justify-content:space-between}.quote-filters__container .quote__container{order:1}.quote-filters__container .filters__container{order:2}}.filters__list{display:flex;flex-direction:column;row-gap:20px;padding-bottom:20px}@media screen and (min-width: 768px){.filters__list{flex-direction:row;flex-wrap:wrap;row-gap:32px;justify-content:space-between;padding-bottom:32px}}@media screen and (min-width: 1440px){.filters__list{width:900px}}.filters__item{width:100%;position:relative}@media screen and (min-width: 768px){.filters__item{width:calc((100% - 2 * 15px) / 3)}}.filters__img-first{width:100%;filter:brightness(.5);border-radius:12px}.filters__wrapper-first{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.filters__title-first{font-family:DMSans-Regular;font-style:normal;font-weight:400;font-size:20px;line-height:1em;text-align:center;color:var(--color-white)}@media screen and (min-width: 768px){.filters__title-first{font-size:24px;line-height:24px}}.filters__text-first{font-family:DMSans-Regular;font-style:normal;font-weight:400;font-size:12px;line-height:1.5em;text-align:center;color:#f4f4f466}.quote__container{width:100%;border:1px solid red}@media screen and (min-width: 1440px){.quote__container{width:444px}}.footer__background{background-color:#000}.footer__container{padding-top:40px;padding-bottom:10px}@media screen and (min-width: 768px){.footer__container{display:flex;flex-wrap:wrap;padding-top:64px;padding-bottom:16px}}.footer__logo{fill:var(--color-white)}.socials__list{display:flex;gap:12px;margin-top:20px}@media screen and (min-width: 768px){.socials__list{margin-top:32px}}.socials__link{display:flex;justify-content:center;align-items:center;width:40px;height:40px;padding:8px;outline:1px solid rgba(244,244,244,.1);border-radius:10px}@media screen and (min-width: 1440px){.socials__link{transition:all var(--transition-dur-and-func)}.socials__link:hover,.socilas__link:focus{background-color:var(--color-white)}.socials__link:hover .socials-icon,.socials__link:focus .socials-icon{stroke:var(--color-black);fill:var(--color-black)}}@media screen and (min-width: 768px){.socials__link{width:44px;height:44px}}.socials__icon-footer{fill:var(--color-white)}@media screen and (min-width: 1440px){.socials__link:hover .socials__icon-footer{transition:all var(--transition-dur-and-func)}.socials__link:hover .socials__icon-footer,.socials__link:focus .socials__icon-footer{stroke:var(--color-black);fill:var(--color-black)}}@media screen and (min-width: 768px){.footer__right-wrap{width:434px;margin-left:114px}}@media screen and (min-width: 1440px){.footer__right-wrap{display:flex;width:1062px;gap:115px}}.footer__title{margin-top:40px;color:var(--color-white);font-size:38px;font-weight:400;line-height:1.15;letter-spacing:-.76px}@media screen and (min-width: 768px){.footer__title{margin-top:0;font-size:56px;line-height:1.07;letter-spacing:-1.12px}}@media screen and (min-width: 1440px){.footer__title{width:595px}}.accent-text{font-style:italic}.subscribe__form{display:flex;width:100%;flex-direction:column;gap:20px;margin-top:20px;font-size:14px;font-weight:400;line-height:1.28px}@media screen and (min-width: 375px){.subscribe__form{width:335px}}@media screen and (min-width: 768px){.subscribe__form{margin-top:40px;width:352px;font-size:16px;line-height:1.5px}}@media screen and (min-width: 1440px){.subscribe__form{margin-top:0}}.subscribe__form-title{margin-top:20px;color:var(--color-white);font-size:14px;font-weight:400;line-height:1.28}@media screen and (min-width: 768px){.subscribe__form-title{margin-top:0;font-size:18px;line-height:1.33}}@media screen and (min-width: 1440px){.subscribe__form-title{margin-top:0}}.subscribe__form-input{width:100%;padding:12px 14px;border-radius:30px;border:1px solid var(--color-white);background-color:var(--color-black);color:#f4f4f499}.subscribe__form-input:focus{outline:none;border-color:orange}.subscribe__form-input:user-invalid{border-color:var(--color-invalid)}.subscribe__form-input:user-valid{border-color:var(--color-valid)}@media screen and (min-width: 768px){.subscribe__form-input{height:48px}}.subscribe__form-btn{display:flex;justify-content:center;align-items:center;width:100%;height:42px;padding:12px 0;border-radius:30px;background-color:var(--color-white);border:none;font-size:14px;line-height:1.28px;color:var(--color-black);transition:all var(--transition-dur-and-func)}.subscribe__form-btn:disabled{background-color:var(--color-light-grey)}@media screen and (min-width: 1440px){.subscribe__form-btn:hover,.subscribe__form-btn:focus{border:1px solid var(--color-white);color:var(--color-white);background-color:var(--color-black)}}@media screen and (min-width: 768px){.subscribe__form-btn{height:48px;font-size:16px;line-height:1.5px}}.footer__text{font-size:14px;line-height:1.28;letter-spacing:-.28px;color:var(--color-light-grey-secondary);opacity:.9}.footer__text-outer-wrap{margin-top:120px}@media screen and (min-width: 768px){.footer__text-outer-wrap{display:flex;width:704px;gap:78px;margin-top:64px}}@media screen and (min-width: 1440px){.footer__text-outer-wrap{width:1068px;gap:122px;margin-top:70px}}.footer__text-inner-wrap{display:flex;justify-content:space-between;margin-top:10px}@media screen and (min-width: 768px){.footer__text-inner-wrap{margin-top:0;gap:178px}}@media screen and (min-width: 1440px){.footer__text-inner-wrap{gap:498px}}.privacy-policy__text{display:flex;gap:8px}.overlay{position:fixed;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background:rgba(4,4,4,.4);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:1}.hidden{display:none}.modal-exercises{position:relative;z-index:100;overflow-y:auto;max-width:100%;max-height:100%;padding:40px 20px;border-radius:20px;background-color:#242424}.modal-exercises__btn-close{position:absolute;top:14px;right:14px;display:flex;align-items:center;justify-content:center;padding:0;stroke:#f4f4f4;background-color:#0000;border:none}.modal-exercises__img{width:100%;margin-bottom:20px;border-radius:12px;background:linear-gradient(0deg,rgba(4,4,4,.2) 0%,rgba(4,4,4,.2) 100%),url(),lightgray -2px -6.558px / 105.185% 109.653% no-repeat}.modal-exercises__name{margin-bottom:10px;font-size:20px;font-weight:500;line-height:1;color:#f4f4f4}.modal-exercises__block{margin-bottom:40px}.modal-exercises__list{position:relative;display:flex;flex-wrap:wrap;gap:20px;margin-bottom:30px}.modal-exercises__list:before,.modal-exercises__list:after{position:absolute;height:2px;width:100%;background-color:#f4f4f433;content:""}.modal-exercises__list:before{top:-10px;left:0}.modal-exercises__list:after{bottom:-10px;left:0}.modal-exercises__subtitle{margin-bottom:4px;font-size:12px;font-weight:400;line-height:1.5;color:#f4f4f466}.modal-exercises__text{font-size:14px;font-weight:500;color:#f4f4f4}.modal-exercises__description{font-size:14px;line-height:1.28;color:#f4f4f499}.modal-exercises__btn-container{display:flex;justify-content:space-between}.modal-exercises__btn{font-family:DM Sans,sans-serif;font-size:14px;line-height:1.28;padding:12px 19px;border-radius:30px}.modal-exercises__btn-favorites{display:inline-flex;justify-content:center;align-items:center;border:none;background-color:#f4f4f4;color:#242424}.btn-favorites__icon{stroke:#242424;fill:#f4f4f4;padding-left:8px}.modal-exercises__btn-rating{border:1px solid #f4f4f4;background-color:transparent;color:#f4f4f4}.team__backdrop{position:fixed;top:0;left:0;width:100%;height:100%;overflow-y:auto;z-index:998;padding:15px;background-color:#000000b3;visibility:visible;opacity:1}.is-hidden{visibility:hidden;pointer-events:none;opacity:0}.is-hidden .team__wrapper{visibility:hidden;pointer-events:none;opacity:.3;transform:translate(-75%,-90%) scale(3)}.team__wrapper{position:relative;z-index:999;width:320px;margin-left:auto;margin-right:auto;padding:25px 15px 20px;visibility:visible;opacity:1;background-color:var(--color-white);border-radius:10px;box-shadow:0 28px 42px #00000061,0 20px 20px #00000054}@media screen and (min-width: 768px){.team__wrapper{width:580px}}@media screen and (min-width: 1280px){.team__wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(1);width:1200px;padding:30px}}.team__modal-close-btn{display:flex;justify-content:center;align-items:center;position:absolute;top:10px;right:10px;padding:0;border:none;background-color:transparent;border-radius:50%;cursor:pointer;stroke:var(--color-black)}@media screen and (min-width: 768px){.team__modal-close-btn{top:20px;right:20px}}.team__modal-close-btn:hover{stroke:var(--color-green)}.team__modal-close-icon{fill:currentColor}.team__title{text-align:center;text-transform:uppercase;color:var(--color-black);font-size:24px;margin-bottom:20px}.team__list{display:flex;justify-content:center;flex-wrap:wrap;gap:1.2rem}.team__item{background-color:var(--color-grey);color:var(--color-white);position:relative;border-radius:10px;padding-bottom:5px;overflow:hidden}.team__item:hover,.team__item:focus{box-shadow:0 1px 3px #0000001f,0 1px 1px #00000024,0 2px 1px #0003}.team__wrap{overflow:hidden}.team__img{overflow:hidden;object-fit:cover;margin-bottom:5px;width:200px;height:180px}.team__box{font-weight:500;font-size:16px;padding:10px;text-align:center;margin-bottom:3px}.team__member{font-weight:700;font-size:16px;color:var(--color-black);margin-bottom:10px}.team__role{font-weight:500;font-size:16px;color:var(--color-green);margin-bottom:10px}.team__link-linkedin{border:none;width:36px;height:36px;border-radius:10%;margin-right:10px;background-color:transparent;fill:var(--color-black);display:inline-flex;justify-content:center;align-items:center}.team__link-linkedin--active:hover,.team__link-linkedin--active:focus{background-color:var(--color-green);fill:var(--color-white)}.team__link-github{border:none;width:36px;height:36px;border-radius:50%;background-color:transparent;fill:var(--color-black);display:inline-flex;justify-content:center;align-items:center}.team__link-github--active:hover,.team__link-github--active:focus{background-color:var(--color-green);fill:var(--color-white)}.scroll__go-top{position:fixed;bottom:50px;right:50px;z-index:1000;display:none;padding:2px 4px;border:none;background:no-repeat scroll #242424;border-radius:50%;width:50px;height:50px;opacity:.8;cursor:pointer}.scroll__go-top:hover,.scroll__go-top:focus{background:#f4f4f4;border:4px solid #242424}.scroll__go-top--show{display:block}@media screen and (min-width: 768px){.scroll__go-top{bottom:20px;right:20px}}.scroll__icon{width:100%;height:100%;fill:#f4f4f4}.scroll__icon:hover,.scroll__icon:focus{fill:#242424}.iziToast-capsule{font-size:0;height:0;width:100%;transform:translateZ(0);backface-visibility:hidden;transition:transform .5s cubic-bezier(.25,.8,.25,1),height .5s cubic-bezier(.25,.8,.25,1)}.iziToast-capsule,.iziToast-capsule *{box-sizing:border-box}.iziToast-overlay{display:block;position:fixed;top:-100px;left:0;right:0;bottom:-100px;z-index:997}.iziToast{display:inline-block;clear:both;position:relative;font-family:Lato,Tahoma,Arial;font-size:14px;padding:8px 45px 9px 0;background:rgba(238,238,238,.9);border-color:#eeeeeee6;width:100%;pointer-events:all;cursor:default;transform:translate(0);-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;min-height:54px}.iziToast>.iziToast-progressbar{position:absolute;left:0;bottom:0;width:100%;z-index:1;background:rgba(255,255,255,.2)}.iziToast>.iziToast-progressbar>div{height:2px;width:100%;background:rgba(0,0,0,.3);border-radius:0 0 3px 3px}.iziToast.iziToast-balloon:before{content:"";position:absolute;right:8px;left:auto;width:0;height:0;top:100%;border-right:0 solid transparent;border-left:15px solid transparent;border-top:10px solid #000;border-top-color:inherit;border-radius:0}.iziToast.iziToast-balloon .iziToast-progressbar{top:0;bottom:auto}.iziToast.iziToast-balloon>div{border-radius:0 0 0 3px}.iziToast>.iziToast-cover{position:absolute;left:0;top:0;bottom:0;height:100%;margin:0;background-size:100%;background-position:50% 50%;background-repeat:no-repeat;background-color:#0000001a}.iziToast>.iziToast-close{position:absolute;right:0;top:0;border:0;padding:0;opacity:.6;width:42px;height:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAJPAAACTwBcGfW0QAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAD3SURBVFiF1ZdtDoMgDEBfdi4PwAX8vLFn0qT7wxantojKupmQmCi8R4tSACpgjC2ICCUbEBa8ingjsU1AXRBeR8aLN64FiknswN8CYefBBDQ3whuFESy7WyQMeC0ipEI0A+0FeBvHUFN8xPaUhAH/iKoWsnXHGegy4J0yxialOfaHJAz4bhRzQzgDvdGnz4GbAonZbCQMuBm1K/kcFu8Mp1N2cFFpsxsMuJqqbIGExGl4loARajU1twskJLLhIsID7+tvUoDnIjTg5T9DPH9EBrz8rxjPzciAl9+O8SxI8CzJ8CxKFfh3ynK8Dyb8wNHM/XDqejx/AtNyPO87tNybAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:8px;cursor:pointer;outline:0}.iziToast>.iziToast-close:hover{opacity:1}.iziToast>.iziToast-body{position:relative;padding:0 0 0 10px;height:auto;min-height:36px;margin:0 0 0 15px;text-align:left}.iziToast>.iziToast-body:after{content:"";display:table;clear:both}.iziToast>.iziToast-body .iziToast-texts{margin:10px 0 0;padding-right:2px;display:inline-block;float:left}.iziToast>.iziToast-body .iziToast-inputs{min-height:19px;float:left;margin:3px -2px}.iziToast>.iziToast-body .iziToast-inputs>input:not([type=checkbox]):not([type=radio]),.iziToast>.iziToast-body .iziToast-inputs>select{position:relative;display:inline-block;margin:2px;border-radius:2px;border:0;padding:4px 7px;font-size:13px;letter-spacing:.02em;background:rgba(0,0,0,.1);color:#000;box-shadow:0 0 0 1px #0003;min-height:26px}.iziToast>.iziToast-body .iziToast-inputs>input:not([type=checkbox]):not([type=radio]):focus,.iziToast>.iziToast-body .iziToast-inputs>select:focus{box-shadow:0 0 0 1px #0009}.iziToast>.iziToast-body .iziToast-buttons{min-height:17px;float:left;margin:4px -2px}.iziToast>.iziToast-body .iziToast-buttons>a,.iziToast>.iziToast-body .iziToast-buttons>button,.iziToast>.iziToast-body .iziToast-buttons>input:not([type=checkbox]):not([type=radio]){position:relative;display:inline-block;margin:2px;border-radius:2px;border:0;padding:5px 10px;font-size:12px;letter-spacing:.02em;cursor:pointer;background:rgba(0,0,0,.1);color:#000}.iziToast>.iziToast-body .iziToast-buttons>a:hover,.iziToast>.iziToast-body .iziToast-buttons>button:hover,.iziToast>.iziToast-body .iziToast-buttons>input:not([type=checkbox]):not([type=radio]):hover{background:rgba(0,0,0,.2)}.iziToast>.iziToast-body .iziToast-buttons>a:focus,.iziToast>.iziToast-body .iziToast-buttons>button:focus,.iziToast>.iziToast-body .iziToast-buttons>input:not([type=checkbox]):not([type=radio]):focus{box-shadow:0 0 0 1px #0009}.iziToast>.iziToast-body .iziToast-buttons>a:active,.iziToast>.iziToast-body .iziToast-buttons>button:active,.iziToast>.iziToast-body .iziToast-buttons>input:not([type=checkbox]):not([type=radio]):active{top:1px}.iziToast>.iziToast-body .iziToast-icon{position:absolute;left:0;top:50%;display:table;font-size:23px;line-height:24px;margin-top:-12px;color:#000;width:24px;height:24px}.iziToast>.iziToast-body .iziToast-icon.ico-info{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAflBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACCtoPsAAAAKXRSTlMA6PsIvDob+OapavVhWRYPrIry2MxGQ97czsOzpJaMcE0qJQOwVtKjfxCVFeIAAAI3SURBVFjDlJPZsoIwEETnCiGyb8q+qmjl/3/wFmGKwjBROS9QWbtnOqDDGPq4MdMkSc0m7gcDDhF4NRdv8NoL4EcMpzoJglPl/KTDz4WW3IdvXEvxkfIKn7BMZb1bFK4yZFqghZ03jk0nG8N5NBwzx9xU5cxAg8fXi20/hDdC316lcA8o7t16eRuQvW1XGd2d2P8QSHQDDbdIII/9CR3lUF+lbucfJy4WfMS64EJPORnrZxtfc2pjJdnbuags3l04TTtJMXrdTph4Pyg4XAjugAJqMDf5Rf+oXx2/qi4u6nipakIi7CsgiuMSEF9IGKg8heQJKkxIfFSUU/egWSwNrS1fPDtLfon8sZOcYUQml1Qv9a3kfwsEUyJEMgFBKzdV8o3Iw9yAjg1jdLQCV4qbd3no8yD2GugaC3oMbF0NYHCpJYSDhNI5N2DAWB4F4z9Aj/04Cna/x7eVAQ17vRjQZPh+G/kddYv0h49yY4NWNDWMMOMUIRYvlTECmrN8pUAjo5RCMn8KoPmbJ/+Appgnk//Sy90GYBCGgm7IAskQ7D9hFKW4ApB1ei3FSYD9PjGAKygAV+ARFYBH5BsVgG9kkBSAQWKUFYBRZpkUgGVinRWAdUZQDABBQdIcAElDVBUAUUXWHQBZx1gMAGMprM0AsLbVXHsA5trZe93/wp3svQ0YNb/jWV3AIOLsMtlznSNOH7JqjOpDVh7z8qCZR10ftvO4nxeOvPLkpSuvfXnxzKtvXr7j+v8C5ii0e71At7cAAAAASUVORK5CYII=) no-repeat 50% 50%;background-size:85%}.iziToast>.iziToast-body .iziToast-icon.ico-warning{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAAAkFBMVEUAAAAAAAABAAIAAAABAAIAAAMAAAABAAIBAAIBAAIAAAIAAAABAAIAAAABAAICAAICAAIAAAIAAAAAAAAAAAABAAIBAAIAAAMAAAABAAIBAAMBAAECAAIAAAIAAAIAAAABAAIBAAIBAAMBAAIBAAEAAAIAAAMAAAAAAAABAAECAAICAAIAAAIAAAMAAAQAAAE05yNAAAAAL3RSTlMAB+kD7V8Q+PXicwv7I9iYhkAzJxnx01IV5cmnk2xmHfzexsK4eEw5L7Gei39aRw640awAAAHQSURBVFjD7ZfJdoJAEEWJgCiI4oDiPM8m7///LidErRO7sHrY5u7YXLr7vKqu9kTC0HPmo9n8cJbEQOzqqAdAUHeUZACQuTkGDQBoDJwkHZR0XBz9FkpafXuHP0SJ09mGeJLZ5wwlTmcbA0THPmdEK7XPGTG1zxmInn3OiJ19zkB0jSVTKExMHT0wjAwlWzC0fSPHF1gWRpIhWMYm7fYTFcQGlbemf4dFfdTGg0B/KXM8qBU/3wntbq7rSGqvJ9kla6IpueFJet8fxfem5yhykjyOgNaWF1qSGd5JMNNxpNF7SZQaVh5JzLrTCZIEJ1GyEyVyd+pClMjdaSJK5O40giSRu5PfFiVyd1pAksjdKRnrSsbVdbiHrgT7yss315fkVQPLFQrL+4FHeOXKO5YRFEKv5AiFaMlKLlBpJuVCJlC5sJfvCgztru/3NmBYccPgGTxRAzxn1XGEMUf58pXZvjoOsOCgjL08+b53mtfAM/SVsZcjKLtysQZPqIy9HPP3m/3zKItRwT0LyQo8sTr26tcO83DIUMWIJjierHLsJda/tbNBFY0BP/bKtcM8HNIWCK3aYR4OMzgxo5w5EFLOLKDExXAm9gI4E3iAO94/Ct/lKWuM2LMGbgAAAABJRU5ErkJggg==) no-repeat 50% 50%;background-size:85%}.iziToast>.iziToast-body .iziToast-icon.ico-error{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAeFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVyEiIAAAAJ3RSTlMA3BsB98QV8uSyWVUFz7+kcWMM2LuZioBpTUVBNcq2qaibj4d1azLZZYABAAACZElEQVRYw7WX25KCMAyGAxUoFDkpiohnV97/DXeGBtoOUprZ2dyo1K82fxKbwJJVp+KQZ7so2mX5oThVQLKwjDe9YZu4DF3ptAn6rxY0qQPOEq9fNC9ha3y77a22ba24v+9Xbe8v8x03dPOC2/NdvB6xeSreLfGJpnx0TyotKqLm2s7Jd/WO6ivXNp0tCy02R/aFz5VQ5wUPlUL5fIfj5KIlVGU0nWHm/5QtoTVMWY8mzIVu1K9O7XH2JiU/xnOOT39gnUfj+lFHddx4tFjL3/H8jjzaFCy2Rf0c/fdQyQszI8BDR973IyMSKa4krjxAiW/lkRvMP+bKK9WbYS1ASQg8dKjaUGlYPwRe/WoIkz8tiQchH5QAEMv6T0k8MD4mUyWr4E7jAWqZ+xWcMIYkXvlwggJ3IvFK+wIOcpXAo8n8P0COAaXyKH4OsjBuZB4ew0IGu+H1SebhNazsQBbWm8yj+hFuUJB5eMsN0IUXmYendAFFfJB5uEkRMYwxmcd6zDGRtmQePEykAgubymMRFmMxCSIPCRbTuFNN5OGORTjmNGc0Po0m8Uv0gcCry6xUhR2QeLii9tofbEfhz/qvNti+OfPqNm2Mq6105FUMvdT4GPmufMiV8PqBMkc+DdT1bjYYbjzU/ew23VP4n3mLAz4n8Jtv/Ui3ceTT2mzz5o1mZt0gnBpmsdjqRqVlmplcPdqa7X23kL9brdm2t/uBYDPn2+tyu48mtIGD10JTuUrukVrbCFiwDzcHrPjxKt7PW+AZQyT/WESO+1WL7f3o+WLHL2dYMSZsg6dg/z360ofvP4//v1NPzgs28WlWAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:80%}.iziToast>.iziToast-body .iziToast-icon.ico-success{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAAAIVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABt0UjBAAAACnRSTlMApAPhIFn82wgGv8mVtwAAAKVJREFUSMft0LEJAkEARNFFFEw1NFJb8CKjAy1AEOzAxNw+bEEEg6nyFjbY4LOzcBwX7S/gwUxoTdIn+Jbv4Lv8bx446+kB6VsBtK0B+wbMCKxrwL33wOrVeeChX28n7KTOTjgoEu6DRSYAgAAAAkAmAIAAAAIACQIkMkACAAgAIACAyECBKAOJuCagTJwSUCaUAEMAABEBRwAAEQFLbCJgO4bW+AZKGnktR+jAFAAAAABJRU5ErkJggg==) no-repeat 50% 50%;background-size:85%}.iziToast>.iziToast-body .iziToast-icon.ico-question{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfhCQkUEhFovxTxAAAEDklEQVRo3s2ZTWgTQRTHf03ipTRUqghNSgsRjHgQrFUQC6JgD1Kak3gQUUoPqRdBglf1oBehBws9Cn4cGk+1SOmh2upBxAYVoeJHrR9tgq0i1Cq0lqYeks7MbpPdmU00/c8hm9n33v/t7Nt5M2+qMEWQI0QIibZKRrQpHvLL2KI2wnQzzBKrDm2RIeKEy01dTYKUI7G1ZRknQXV5yP10kTYgly1NF/5S6duZ8ES+1iZodyaocrjXxE0OFeifYYgp0mRIkwFChAkRJsIxGgrIP+I0n82fvZW5dc/zkss0O2o1c5mX6/TmaDWl77RFe5YkUW3tKEmyFv0lOvXJ/fTYnmCEFuMRbGHEZqVHLyT9DFjUJmkzJl9DG5MWWwM6Llif/gF1nukB6nhgGwUXdFrE+wiURA8QoM9i0zEWWpXQW+ZsyeRrOMuyEo5Fv4gmy4dXPvqcC+pH2VRYaMwy+OWG+iLGCgm0W0Kv9HdvR8ASjmKCXpuK/bxiV/76A/v5UdDIZuKcJGjrnec5KZ7wwsWFOp6xPX/9mt2sqDe7FO+Kf/fXHBPPDWpdXGhTpLvUG9VKwh1xMDDjkvu+cNDFBTk7ptX1QkKZ850m3duu6fcrWxwdaFFyREJ2j4vOpKP6Du6z4uJCv8sYJIVkCnJBGGZaBONO3roY2EqNrSfIPi7SKP4fdXyNUd6I6wbSAHEl33tFLe+FlSsusnK90A0+oEPcuufZgXnOi+u9LrKSJQZQw6LwqBnv2CKsfHORbFbyQhA6xN/pEuihSdj56Co7LWRjPiKie6gkB2LiKuUqK5kiPkLiz1QJ9K1cNXBAMoUCigNpQ9IqDtMI1HKA4/jyvUsaoSyZLA5kjOjDPFZen8Ql5TsvBskUgjciIPSX3QAXC86DT7VWvlEh/xZ+ij9BDVWJ0QL0SbZq6QaFxoLPcXPmBLveLCc4wXdDK6s+6/vwhCSniFLPXW0NJe5UB8zKCsviqpc7vGPVQFcyZbyPwGD+d5ZnxmNWlhG4xSBZZjivjIWHEQgoDkSMjMwTo54569JSE5IpA7EyJSMTyGTUAUFlO1ZKOtaHTMeL1PhYYFTcihmY2cQ5+ullj7EDkiVfVez2sCTz8yiv84djhg7IJVk81xFWJlPdfHBG0flkRC/zQFZ+DSllNtfDdUsOMCliyGX5uOzU3ZhIXFDof4m1gDuKbEx0t2YS25gVGpcMnr/I1kx3c6piB8P8ZoqEwfMX3ZyCXynJTmq/U7NUXqfUzCbWL1wqVKBQUeESzQYoUlW8TAcVL1RCxUu1G6BYXfFyfQ4VPbDI4T8d2WzgQ6sc/vmxnTsqfHCZQzUJxm1h5dxS5Tu6lQgTZ0ipqRVqSwzTbbLHMt+c19iO76tsx/cLZub+Ali+tYC93olEAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE3LTA5LTA5VDIwOjE4OjE3KzAyOjAwjKtfjgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNy0wOS0wOVQyMDoxODoxNyswMjowMP325zIAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:85%}.iziToast>.iziToast-body .iziToast-message,.iziToast>.iziToast-body .iziToast-title{padding:0;font-size:14px;line-height:16px;text-align:left;float:left;white-space:normal}.iziToast>.iziToast-body .iziToast-title{color:#000;margin:0}.iziToast>.iziToast-body .iziToast-message{margin:0 0 10px;color:#0009}.iziToast.iziToast-animateInside .iziToast-buttons-child,.iziToast.iziToast-animateInside .iziToast-icon,.iziToast.iziToast-animateInside .iziToast-inputs-child,.iziToast.iziToast-animateInside .iziToast-message,.iziToast.iziToast-animateInside .iziToast-title{opacity:0}.iziToast-target{position:relative;width:100%;margin:0 auto}.iziToast-target .iziToast-capsule{overflow:hidden}.iziToast-target .iziToast-capsule:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.iziToast-target .iziToast-capsule .iziToast{width:100%;float:left}.iziToast-wrapper{z-index:99999;position:fixed;width:100%;pointer-events:none;display:flex;flex-direction:column}.iziToast-wrapper .iziToast.iziToast-balloon:before{border-right:0 solid transparent;border-left:15px solid transparent;border-top:10px solid #000;border-top-color:inherit;right:8px;left:auto}.iziToast-wrapper-bottomLeft{left:0;bottom:0;text-align:left}.iziToast-wrapper-bottomLeft .iziToast.iziToast-balloon:before,.iziToast-wrapper-topLeft .iziToast.iziToast-balloon:before{border-right:15px solid transparent;border-left:0 solid transparent;right:auto;left:8px}.iziToast-wrapper-bottomRight{right:0;bottom:0;text-align:right}.iziToast-wrapper-topLeft{left:0;top:0;text-align:left}.iziToast-wrapper-topRight{top:0;right:0;text-align:right}.iziToast-wrapper-topCenter{top:0;left:0;right:0;text-align:center}.iziToast-wrapper-bottomCenter,.iziToast-wrapper-center{bottom:0;left:0;right:0;text-align:center}.iziToast-wrapper-center{top:0;justify-content:center;flex-flow:column;align-items:center}.iziToast-rtl{direction:rtl;padding:8px 0 9px 45px;font-family:Tahoma,Lato,Arial}.iziToast-rtl .iziToast-cover{left:auto;right:0}.iziToast-rtl .iziToast-close{right:auto;left:0}.iziToast-rtl .iziToast-body{padding:0 10px 0 0;margin:0 16px 0 0;text-align:right}.iziToast-rtl .iziToast-body .iziToast-buttons,.iziToast-rtl .iziToast-body .iziToast-inputs,.iziToast-rtl .iziToast-body .iziToast-message,.iziToast-rtl .iziToast-body .iziToast-texts,.iziToast-rtl .iziToast-body .iziToast-title{float:right;text-align:right}.iziToast-rtl .iziToast-body .iziToast-icon{left:auto;right:0}@media only screen and (min-width:568px){.iziToast-wrapper{padding:10px 15px}.iziToast{margin:5px 0;border-radius:3px;width:auto}.iziToast:after{content:"";z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%;border-radius:3px;box-shadow:inset 0 -10px 20px -10px #0003,inset 0 0 5px #0000001a,0 8px 8px -5px #00000040}.iziToast:not(.iziToast-rtl) .iziToast-cover{border-radius:3px 0 0 3px}.iziToast.iziToast-rtl .iziToast-cover{border-radius:0 3px 3px 0}.iziToast.iziToast-color-dark:after{box-shadow:inset 0 -10px 20px -10px #ffffff4d,0 10px 10px -5px #00000040}.iziToast.iziToast-balloon .iziToast-progressbar{background:0 0}.iziToast.iziToast-balloon:after{box-shadow:0 10px 10px -5px #00000040,inset 0 10px 20px -5px #00000040}.iziToast-target .iziToast:after{box-shadow:inset 0 -10px 20px -10px #0003,inset 0 0 5px #0000001a}}.iziToast.iziToast-theme-dark{background:#565c70;border-color:#565c70}.iziToast.iziToast-theme-dark .iziToast-title{color:#fff}.iziToast.iziToast-theme-dark .iziToast-message{color:#ffffffb3;font-weight:300}.iziToast.iziToast-theme-dark .iziToast-close{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfgCR4OIQIPSao6AAAAwElEQVRIx72VUQ6EIAwFmz2XB+AConhjzqTJ7JeGKhLYlyx/BGdoBVpjIpMJNjgIZDKTkQHYmYfwmR2AfAqGFBcO2QjXZCd24bEggvd1KBx+xlwoDpYmvnBUUy68DYXD77ESr8WDtYqvxRex7a8oHP4Wo1Mkt5I68Mc+qYqv1h5OsZmZsQ3gj/02h6cO/KEYx29hu3R+VTTwz6D3TymIP1E8RvEiiVdZfEzicxYLiljSxKIqlnW5seitTW6uYnv/Aqh4whX3mEUrAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE2LTA5LTMwVDE0OjMzOjAyKzAyOjAwl6RMVgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNi0wOS0zMFQxNDozMzowMiswMjowMOb59OoAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:8px}.iziToast.iziToast-theme-dark .iziToast-icon{color:#fff}.iziToast.iziToast-theme-dark .iziToast-icon.ico-info{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAflBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////vroaSAAAAKXRSTlMA6PsIvDob+OapavVhWRYPrIry2MxGQ97czsOzpJaMcE0qJQOwVtKjfxCVFeIAAAI3SURBVFjDlJPZsoIwEETnCiGyb8q+qmjl/3/wFmGKwjBROS9QWbtnOqDDGPq4MdMkSc0m7gcDDhF4NRdv8NoL4EcMpzoJglPl/KTDz4WW3IdvXEvxkfIKn7BMZb1bFK4yZFqghZ03jk0nG8N5NBwzx9xU5cxAg8fXi20/hDdC316lcA8o7t16eRuQvW1XGd2d2P8QSHQDDbdIII/9CR3lUF+lbucfJy4WfMS64EJPORnrZxtfc2pjJdnbuags3l04TTtJMXrdTph4Pyg4XAjugAJqMDf5Rf+oXx2/qi4u6nipakIi7CsgiuMSEF9IGKg8heQJKkxIfFSUU/egWSwNrS1fPDtLfon8sZOcYUQml1Qv9a3kfwsEUyJEMgFBKzdV8o3Iw9yAjg1jdLQCV4qbd3no8yD2GugaC3oMbF0NYHCpJYSDhNI5N2DAWB4F4z9Aj/04Cna/x7eVAQ17vRjQZPh+G/kddYv0h49yY4NWNDWMMOMUIRYvlTECmrN8pUAjo5RCMn8KoPmbJ/+Appgnk//Sy90GYBCGgm7IAskQ7D9hFKW4ApB1ei3FSYD9PjGAKygAV+ARFYBH5BsVgG9kkBSAQWKUFYBRZpkUgGVinRWAdUZQDABBQdIcAElDVBUAUUXWHQBZx1gMAGMprM0AsLbVXHsA5trZe93/wp3svQ0YNb/jWV3AIOLsMtlznSNOH7JqjOpDVh7z8qCZR10ftvO4nxeOvPLkpSuvfXnxzKtvXr7j+v8C5ii0e71At7cAAAAASUVORK5CYII=) no-repeat 50% 50%;background-size:85%}.iziToast.iziToast-theme-dark .iziToast-icon.ico-warning{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAAAllBMVEUAAAD////+//3+//3+//3///////z+//3+//3+//3////////////9//3////+//39//3///3////////////+//3+//39//3///z+//z+//7///3///3///3///3////////+//3+//3+//3+//z+//3+//7///3///z////////+//79//3///3///z///v+//3///+trXouAAAAMHRSTlMAB+j87RBf+PXiCwQClSPYhkAzJxnx05tSyadzcmxmHRbp5d7Gwrh4TDkvsYt/WkdQzCITAAAB1UlEQVRYw+3XaXKCQBCGYSIIighoxCVqNJrEPfly/8vFImKXduNsf/Mc4K1y7FnwlMLQc/bUbj85R6bA1LXRDICg6RjJcZa7NQYtnLUGTpERSiOXxrOPkv9s30iGKDmtbYir3H7OUHJa2ylAuvZzRvzUfs7Ii/2cgfTt54x82s8ZSM848gJmYtroQzA2jHwA+LkBIEuMGt+QIng1igzlyMrkuP2CyOi47axRaYTL5jhDJehoR+aovC29s3iIyly3Eb+hRCvZo2qsGTnhKr2cLDS+J73GsqBI9W80UCmWWpEuhIjh6ZRGjyNRarjzKGJ2Ou2himCvjHwqI+rTqQdlRH06TZQR9ek0hiqiPp06mV4ke7QPX6ERUZxO8Uo3sqrfhxvoRrCpvXwL/UjR9GRHMIvLgke4d5QbiwhM6JV2YKKF4vIl7XIBkwm4keryJVmvk/TfwcmPwQNkUQuyA2/sYGwnXL7GPu4bW1jYsmevrNj09/MGZMOEPXslQVqO8hqykD17JfPHP/bmo2yGGpdZiH3IZvzZa7B3+IdDjjpjesHJcvbs5dZ/e+cddVoDdvlq7x12Nac+iN7e4R8OXTjp0pw5CGnOLNDEzeBs5gVwFniAO+8f8wvfeXP2hyqnmwAAAABJRU5ErkJggg==) no-repeat 50% 50%;background-size:85%}.iziToast.iziToast-theme-dark .iziToast-icon.ico-error{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAeFBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////GqOSsAAAAJ3RSTlMA3BsB98QV8uSyWVUFz6RxYwzYvbupmYqAaU1FQTXKv7abj4d1azKNUit3AAACZElEQVRYw7WXaZOCMAyGw30UORRQBLxX/v8/3BkaWjrY2szO5otKfGrzJrEp6Kw6F8f8sI+i/SE/FucKSBaWiT8p5idlaEtnXTB9tKDLLHAvdSatOan3je93k9F2vRF36+mr1a6eH2NFNydoHq/ieU/UXcWjjk9XykdNWq2ywtp4tXL6Wb2T/MqtzzZutsrNyfvA51KoQROhVCjfrnASIRpSVUZiD5v4RbWExjRdJzSmOsZFvzYz59kRSr6V5zE+/QELHkNdb3VRx45HS1b1u+zfkkcbRAZ3qJ9l/A4qefHUDMShJe+6kZKJDD2pLQ9Q4lu+5Q7rz7Plperd7AtQEgIPI6o2dxr2D4GXvxqCiKcn8cD4gxIAEt7/GYkHL16KqeJd0NB4gJbXfgVnzCGJlzGcocCVSLzUvoAj9xJ4NF7/R8gxoVQexc/hgBpSebjPjgPs59cHmYfn7NkDb6wXmUf1I1ygIPPw4gtgCE8yDw8eAop4J/PQcBExjQmZx37MsZB2ZB4cLKQCG5vKYxMWSzMxIg8pNtOyUkvkocEmXGo69mh8FgnxS4yBwMvDrJSNHZB4uC3ayz/YkcIP4lflwVIT+OU07ZSjrbTkZQ6dTPkYubZ8GC/Cqxu6WvJZII93dcCw46GdNqdpTeF/tiMOuDGB9z/NI6NvyWetGPM0g+bVNeovBmamHXWj0nCbEaGeTMN2PWrqd6cM26ZxP2DeJvj+ph/30Zi/GmRbtlK5SptI+nwGGnvH6gUruT+L16MJHF+58rwNIifTV0vM8+hwMeOXAb6Yx0wXT+b999WXfvn+8/X/F7fWzjdTord5AAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:80%}.iziToast.iziToast-theme-dark .iziToast-icon.ico-success{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMApAPhIFn82wgGv8mVtwAAAKVJREFUSMft0LEJAkEARNFFFEw1NFJb8CKjAy1AEOzAxNw+bEEEg6nyFjbY4LOzcBwX7S/gwUxoTdIn+Jbv4Lv8bx446+kB6VsBtK0B+wbMCKxrwL33wOrVeeChX28n7KTOTjgoEu6DRSYAgAAAAkAmAIAAAAIACQIkMkACAAgAIACAyECBKAOJuCagTJwSUCaUAEMAABEBRwAAEQFLbCJgO4bW+AZKGnktR+jAFAAAAABJRU5ErkJggg==) no-repeat 50% 50%;background-size:85%}.iziToast.iziToast-theme-dark .iziToast-icon.ico-question{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfhCQkUEg18vki+AAAETUlEQVRo3s1ZTWhbRxD+VlIuxsLFCYVIIQYVopBDoK5bKDWUBupDMNbJ5FBKg/FBziUQdE9yaC+FHBrwsdCfQ9RTGoLxwWl+DqHEojUFFydxnB9bInZDqOsErBrr6yGvs/ueX97bldTKo4Pe7puZb3Z33s7srIIjMY1jyCEjP6ImvyX8pF64arSHznKC06wzijY5xSKz7YbuYokV2lODsyyxqz3gSY6z6gCuqcpxJluFH+Z8U+D/0jyHoxFUBHgfvsGHIS9WMIUlVFFDFTUAGWSRQRY5HMeBEP6b+Ew9dh/7INd2jGeO59kfKdXP85zbIbfGQVf4sYC3N1hm3lo6zzIbPvk6x+zBk7wQGMEMB5xncIAzAS0XrFySSV72iS1yyBVcdA1x0afrsoUJgdFfY2+z8ADAXl7zz0KcwJiPfZKpVuABgClO+nRG+QIHDdfb4qlWwUXvKW4Z7vi6L4J9vg+vbfCeCeZH2RfOdMOc/HbCA4BvIW6EMQz7XK/ltd+hP+VzR9mgva2YSfyGI17fA7ynnocqeQNFfIJ0oHsdv6CC2+rXGBN6cQdveY3fcVRtmy/HDete+93zy8jA8zV7YkwYMrjHzRddRsCdiVCwwmh6wg9iTNC7Y9XIF1iS7kbUpsvvGEdPuTfSgAEjRpR096x0liPFD/Eqt2NMuBQzB2XhrACAApjFsuQFh9XdGAX70B3oSuNdnMVBaX+sopYxjwVpHFBVACyKTXNoktjD+6Ll8xhenS9MAAkAI/Lux2YNUOs4I413Ypg1SgEAu7kpFvWjaeJe0fJHDGe/cNaZBkekudw8PMA+0fMwlndZeAsJ5KR/qhUDUJCnSiyvRsolkJHGUgvjH8QXDgZopEzKMKDqCKrwEQ4C6MH7GEXC665buLJG8hlQc4LP4paxfJrOqYVYYY2UARfEIazTbgDg2dB98GebzJd54b8L/iWNdLyooeR6CHyZ+6xk0yKxkYg6nEVSUG4VJ9QJ9cxRCxO+9WiOyvgUeexXP1hLGH5nGuBWVtiSp4vqe3VP0UFWI9Wan4Er3v8q7jjPWVtm4FtcQQMrOKO2nOQCM5AyDMi56FDrKHA/1nyppS1ppBpYaE8wciEjGI2AaeM41kI4doDX4XiT3Qm1gevyruCgZg9P8xIv8m1nCzTKq6oiJ9xTMiZ505P5m8cdZ0CnZMVXHVljM7WMBzxpyDxygtdxoCEFTaMIWbZU85UvBjgUMYy0fBaAF8V1Lj9qWQ1aMZ5f4k9r+AGMSkMP1vZoZih6k6sicc5h/OFHM9vDqU/VIU7zJZdYYsKGH4g4nAJMGiXZRds1pVMoZ69RM5vfkbh0qkBhsnS2RLMLilQdL9MBHS9UAh0v1e6CYnXHy/WeeCcvLDwl/9OVze69tPKM+M+v7eJN6OzFpWdEF0ucDbhVNFXadnVrmJFlkVNGTS2M6pzmhMvltfPhnN2B63sVuL7fcNP3D1TSk2ihosPrAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE3LTA5LTA5VDIwOjE4OjEzKzAyOjAweOR7nQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNy0wOS0wOVQyMDoxODoxMyswMjowMAm5wyEAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:85%}.iziToast.iziToast-theme-dark .iziToast-buttons>a,.iziToast.iziToast-theme-dark .iziToast-buttons>button,.iziToast.iziToast-theme-dark .iziToast-buttons>input{color:#fff;background:rgba(255,255,255,.1)}.iziToast.iziToast-theme-dark .iziToast-buttons>a:hover,.iziToast.iziToast-theme-dark .iziToast-buttons>button:hover,.iziToast.iziToast-theme-dark .iziToast-buttons>input:hover{background:rgba(255,255,255,.2)}.iziToast.iziToast-theme-dark .iziToast-buttons>a:focus,.iziToast.iziToast-theme-dark .iziToast-buttons>button:focus,.iziToast.iziToast-theme-dark .iziToast-buttons>input:focus{box-shadow:0 0 0 1px #fff9}.iziToast.iziToast-color-red{background:rgba(255,175,180,.9);border-color:#ffafb4e6}.iziToast.iziToast-color-orange{background:rgba(255,207,165,.9);border-color:#ffcfa5e6}.iziToast.iziToast-color-yellow{background:rgba(255,249,178,.9);border-color:#fff9b2e6}.iziToast.iziToast-color-blue{background:rgba(157,222,255,.9);border-color:#9ddeffe6}.iziToast.iziToast-color-green{background:rgba(166,239,184,.9);border-color:#a6efb8e6}.iziToast.iziToast-layout2 .iziToast-body .iziToast-message,.iziToast.iziToast-layout2 .iziToast-body .iziToast-texts{width:100%}.iziToast.iziToast-layout3{border-radius:2px}.iziToast.iziToast-layout3:after{display:none}.iziToast .revealIn,.iziToast.revealIn{-webkit-animation:iziT-revealIn 1s cubic-bezier(.25,1.6,.25,1) both;-moz-animation:iziT-revealIn 1s cubic-bezier(.25,1.6,.25,1) both;animation:iziT-revealIn 1s cubic-bezier(.25,1.6,.25,1) both}.iziToast .slideIn,.iziToast.slideIn{-webkit-animation:iziT-slideIn 1s cubic-bezier(.16,.81,.32,1) both;-moz-animation:iziT-slideIn 1s cubic-bezier(.16,.81,.32,1) both;animation:iziT-slideIn 1s cubic-bezier(.16,.81,.32,1) both}.iziToast.bounceInLeft{-webkit-animation:iziT-bounceInLeft .7s ease-in-out both;animation:iziT-bounceInLeft .7s ease-in-out both}.iziToast.bounceInRight{-webkit-animation:iziT-bounceInRight .85s ease-in-out both;animation:iziT-bounceInRight .85s ease-in-out both}.iziToast.bounceInDown{-webkit-animation:iziT-bounceInDown .7s ease-in-out both;animation:iziT-bounceInDown .7s ease-in-out both}.iziToast.bounceInUp{-webkit-animation:iziT-bounceInUp .7s ease-in-out both;animation:iziT-bounceInUp .7s ease-in-out both}.iziToast .fadeIn,.iziToast.fadeIn{-webkit-animation:iziT-fadeIn .5s ease both;animation:iziT-fadeIn .5s ease both}.iziToast.fadeInUp{-webkit-animation:iziT-fadeInUp .7s ease both;animation:iziT-fadeInUp .7s ease both}.iziToast.fadeInDown{-webkit-animation:iziT-fadeInDown .7s ease both;animation:iziT-fadeInDown .7s ease both}.iziToast.fadeInLeft{-webkit-animation:iziT-fadeInLeft .85s cubic-bezier(.25,.8,.25,1) both;animation:iziT-fadeInLeft .85s cubic-bezier(.25,.8,.25,1) both}.iziToast.fadeInRight{-webkit-animation:iziT-fadeInRight .85s cubic-bezier(.25,.8,.25,1) both;animation:iziT-fadeInRight .85s cubic-bezier(.25,.8,.25,1) both}.iziToast.flipInX{-webkit-animation:iziT-flipInX .85s cubic-bezier(.35,0,.25,1) both;animation:iziT-flipInX .85s cubic-bezier(.35,0,.25,1) both}.iziToast.fadeOut{-webkit-animation:iziT-fadeOut .7s ease both;animation:iziT-fadeOut .7s ease both}.iziToast.fadeOutDown{-webkit-animation:iziT-fadeOutDown .7s cubic-bezier(.4,.45,.15,.91) both;animation:iziT-fadeOutDown .7s cubic-bezier(.4,.45,.15,.91) both}.iziToast.fadeOutUp{-webkit-animation:iziT-fadeOutUp .7s cubic-bezier(.4,.45,.15,.91) both;animation:iziT-fadeOutUp .7s cubic-bezier(.4,.45,.15,.91) both}.iziToast.fadeOutLeft{-webkit-animation:iziT-fadeOutLeft .5s ease both;animation:iziT-fadeOutLeft .5s ease both}.iziToast.fadeOutRight{-webkit-animation:iziT-fadeOutRight .5s ease both;animation:iziT-fadeOutRight .5s ease both}.iziToast.flipOutX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation:iziT-flipOutX .7s cubic-bezier(.4,.45,.15,.91) both;animation:iziT-flipOutX .7s cubic-bezier(.4,.45,.15,.91) both}.iziToast-overlay.fadeIn{-webkit-animation:iziT-fadeIn .5s ease both;animation:iziT-fadeIn .5s ease both}.iziToast-overlay.fadeOut{-webkit-animation:iziT-fadeOut .7s ease both;animation:iziT-fadeOut .7s ease both}@-webkit-keyframes iziT-revealIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,1)}to{opacity:1}}@-moz-keyframes iziT-revealIn{0%{opacity:0;-moz-transform:scale3d(.3,.3,1)}to{opacity:1}}@-webkit-keyframes iziT-slideIn{0%{opacity:0;-webkit-transform:translateX(50px)}to{opacity:1;-webkit-transform:translateX(0)}}@-moz-keyframes iziT-slideIn{0%{opacity:0;-moz-transform:translateX(50px)}to{opacity:1;-moz-transform:translateX(0)}}@-webkit-keyframes iziT-bounceInLeft{0%{opacity:0;-webkit-transform:translateX(280px)}50%{opacity:1;-webkit-transform:translateX(-20px)}70%{-webkit-transform:translateX(10px)}to{-webkit-transform:translateX(0)}}@-webkit-keyframes iziT-bounceInRight{0%{opacity:0;-webkit-transform:translateX(-280px)}50%{opacity:1;-webkit-transform:translateX(20px)}70%{-webkit-transform:translateX(-10px)}to{-webkit-transform:translateX(0)}}@-webkit-keyframes iziT-bounceInDown{0%{opacity:0;-webkit-transform:translateY(-200px)}50%{opacity:1;-webkit-transform:translateY(10px)}70%{-webkit-transform:translateY(-5px)}to{-webkit-transform:translateY(0)}}@-webkit-keyframes iziT-bounceInUp{0%{opacity:0;-webkit-transform:translateY(200px)}50%{opacity:1;-webkit-transform:translateY(-10px)}70%{-webkit-transform:translateY(5px)}to{-webkit-transform:translateY(0)}}@-moz-keyframes iziT-revealIn{0%{opacity:0;transform:scale3d(.3,.3,1)}to{opacity:1}}@-webkit-keyframes iziT-revealIn{0%{opacity:0;transform:scale3d(.3,.3,1)}to{opacity:1}}@-o-keyframes iziT-revealIn{0%{opacity:0;transform:scale3d(.3,.3,1)}to{opacity:1}}@keyframes iziT-revealIn{0%{opacity:0;transform:scale3d(.3,.3,1)}to{opacity:1}}@-moz-keyframes iziT-slideIn{0%{opacity:0;transform:translate(50px)}to{opacity:1;transform:translate(0)}}@-webkit-keyframes iziT-slideIn{0%{opacity:0;transform:translate(50px)}to{opacity:1;transform:translate(0)}}@-o-keyframes iziT-slideIn{0%{opacity:0;transform:translate(50px)}to{opacity:1;transform:translate(0)}}@keyframes iziT-slideIn{0%{opacity:0;transform:translate(50px)}to{opacity:1;transform:translate(0)}}@-moz-keyframes iziT-bounceInLeft{0%{opacity:0;transform:translate(280px)}50%{opacity:1;transform:translate(-20px)}70%{transform:translate(10px)}to{transform:translate(0)}}@-webkit-keyframes iziT-bounceInLeft{0%{opacity:0;transform:translate(280px)}50%{opacity:1;transform:translate(-20px)}70%{transform:translate(10px)}to{transform:translate(0)}}@-o-keyframes iziT-bounceInLeft{0%{opacity:0;transform:translate(280px)}50%{opacity:1;transform:translate(-20px)}70%{transform:translate(10px)}to{transform:translate(0)}}@keyframes iziT-bounceInLeft{0%{opacity:0;transform:translate(280px)}50%{opacity:1;transform:translate(-20px)}70%{transform:translate(10px)}to{transform:translate(0)}}@-moz-keyframes iziT-bounceInRight{0%{opacity:0;transform:translate(-280px)}50%{opacity:1;transform:translate(20px)}70%{transform:translate(-10px)}to{transform:translate(0)}}@-webkit-keyframes iziT-bounceInRight{0%{opacity:0;transform:translate(-280px)}50%{opacity:1;transform:translate(20px)}70%{transform:translate(-10px)}to{transform:translate(0)}}@-o-keyframes iziT-bounceInRight{0%{opacity:0;transform:translate(-280px)}50%{opacity:1;transform:translate(20px)}70%{transform:translate(-10px)}to{transform:translate(0)}}@keyframes iziT-bounceInRight{0%{opacity:0;transform:translate(-280px)}50%{opacity:1;transform:translate(20px)}70%{transform:translate(-10px)}to{transform:translate(0)}}@-moz-keyframes iziT-bounceInDown{0%{opacity:0;transform:translateY(-200px)}50%{opacity:1;transform:translateY(10px)}70%{transform:translateY(-5px)}to{transform:translateY(0)}}@-webkit-keyframes iziT-bounceInDown{0%{opacity:0;transform:translateY(-200px)}50%{opacity:1;transform:translateY(10px)}70%{transform:translateY(-5px)}to{transform:translateY(0)}}@-o-keyframes iziT-bounceInDown{0%{opacity:0;transform:translateY(-200px)}50%{opacity:1;transform:translateY(10px)}70%{transform:translateY(-5px)}to{transform:translateY(0)}}@keyframes iziT-bounceInDown{0%{opacity:0;transform:translateY(-200px)}50%{opacity:1;transform:translateY(10px)}70%{transform:translateY(-5px)}to{transform:translateY(0)}}@-moz-keyframes iziT-bounceInUp{0%{opacity:0;transform:translateY(200px)}50%{opacity:1;transform:translateY(-10px)}70%{transform:translateY(5px)}to{transform:translateY(0)}}@-webkit-keyframes iziT-bounceInUp{0%{opacity:0;transform:translateY(200px)}50%{opacity:1;transform:translateY(-10px)}70%{transform:translateY(5px)}to{transform:translateY(0)}}@-o-keyframes iziT-bounceInUp{0%{opacity:0;transform:translateY(200px)}50%{opacity:1;transform:translateY(-10px)}70%{transform:translateY(5px)}to{transform:translateY(0)}}@keyframes iziT-bounceInUp{0%{opacity:0;transform:translateY(200px)}50%{opacity:1;transform:translateY(-10px)}70%{transform:translateY(5px)}to{transform:translateY(0)}}@-moz-keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@-o-keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@-moz-keyframes iziT-fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes iziT-fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-o-keyframes iziT-fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes iziT-fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-moz-keyframes iziT-fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes iziT-fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-o-keyframes iziT-fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes iziT-fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-moz-keyframes iziT-fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(300px,0,0);transform:translate3d(300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes iziT-fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(300px,0,0);transform:translate3d(300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-o-keyframes iziT-fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(300px,0,0);transform:translate3d(300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes iziT-fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(300px,0,0);transform:translate3d(300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-moz-keyframes iziT-fadeInRight{0%{opacity:0;-webkit-transform:translate3d(-300px,0,0);transform:translate3d(-300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes iziT-fadeInRight{0%{opacity:0;-webkit-transform:translate3d(-300px,0,0);transform:translate3d(-300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-o-keyframes iziT-fadeInRight{0%{opacity:0;-webkit-transform:translate3d(-300px,0,0);transform:translate3d(-300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes iziT-fadeInRight{0%{opacity:0;-webkit-transform:translate3d(-300px,0,0);transform:translate3d(-300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-moz-keyframes iziT-flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg)}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-webkit-keyframes iziT-flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg)}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-o-keyframes iziT-flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg)}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes iziT-flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg)}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-moz-keyframes iziT-fadeOut{0%{opacity:1}to{opacity:0}}@-webkit-keyframes iziT-fadeOut{0%{opacity:1}to{opacity:0}}@-o-keyframes iziT-fadeOut{0%{opacity:1}to{opacity:0}}@keyframes iziT-fadeOut{0%{opacity:1}to{opacity:0}}@-moz-keyframes iziT-fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-webkit-keyframes iziT-fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-o-keyframes iziT-fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes iziT-fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-moz-keyframes iziT-fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes iziT-fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-o-keyframes iziT-fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes iziT-fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-moz-keyframes iziT-fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-200px,0,0);transform:translate3d(-200px,0,0)}}@-webkit-keyframes iziT-fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-200px,0,0);transform:translate3d(-200px,0,0)}}@-o-keyframes iziT-fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-200px,0,0);transform:translate3d(-200px,0,0)}}@keyframes iziT-fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-200px,0,0);transform:translate3d(-200px,0,0)}}@-moz-keyframes iziT-fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(200px,0,0);transform:translate3d(200px,0,0)}}@-webkit-keyframes iziT-fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(200px,0,0);transform:translate3d(200px,0,0)}}@-o-keyframes iziT-fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(200px,0,0);transform:translate3d(200px,0,0)}}@keyframes iziT-fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(200px,0,0);transform:translate3d(200px,0,0)}}@-moz-keyframes iziT-flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@-webkit-keyframes iziT-flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@-o-keyframes iziT-flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes iziT-flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}} diff --git a/assets/main-f1e45de2.js b/assets/main-f1e45de2.js new file mode 100644 index 0000000..d2a5cce --- /dev/null +++ b/assets/main-f1e45de2.js @@ -0,0 +1,77 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&s(l)}).observe(document,{childList:!0,subtree:!0});function n(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerPolicy&&(a.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?a.credentials="include":r.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(r){if(r.ep)return;r.ep=!0;const a=n(r);fetch(r.href,a)}})();function $e(e,t){return function(){return e.apply(t,arguments)}}const{toString:xt}=Object.prototype,{getPrototypeOf:Te}=Object,se=(e=>t=>{const n=xt.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),M=e=>(e=e.toLowerCase(),t=>se(t)===e),re=e=>t=>typeof t===e,{isArray:z}=Array,$=re("undefined");function St(e){return e!==null&&!$(e)&&e.constructor!==null&&!$(e.constructor)&&N(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const We=M("ArrayBuffer");function Lt(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&We(e.buffer),t}const Tt=re("string"),N=re("function"),Ve=re("number"),oe=e=>e!==null&&typeof e=="object",Ct=e=>e===!0||e===!1,K=e=>{if(se(e)!=="object")return!1;const t=Te(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ot=M("Date"),Rt=M("File"),_t=M("Blob"),At=M("FileList"),Nt=e=>oe(e)&&N(e.pipe),It=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||N(e.append)&&((t=se(e))==="formdata"||t==="object"&&N(e.toString)&&e.toString()==="[object FormData]"))},Bt=M("URLSearchParams"),Pt=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function W(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),z(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Ge=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Xe=e=>!$(e)&&e!==Ge;function ye(){const{caseless:e}=Xe(this)&&this||{},t={},n=(s,r)=>{const a=e&&Je(t,r)||r;K(t[a])&&K(s)?t[a]=ye(t[a],s):K(s)?t[a]=ye({},s):z(s)?t[a]=s.slice():t[a]=s};for(let s=0,r=arguments.length;s(W(t,(r,a)=>{n&&N(r)?e[a]=$e(r,n):e[a]=r},{allOwnKeys:s}),e),Ft=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Dt=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},kt=(e,t,n,s)=>{let r,a,l;const f={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),a=r.length;a-- >0;)l=r[a],(!s||s(l,e,t))&&!f[l]&&(t[l]=e[l],f[l]=!0);e=n!==!1&&Te(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ut=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},Ht=e=>{if(!e)return null;if(z(e))return e;let t=e.length;if(!Ve(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},jt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Te(Uint8Array)),zt=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const a=r.value;t.call(e,a[0],a[1])}},qt=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},$t=M("HTMLFormElement"),Wt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Be=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Vt=M("RegExp"),Ke=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};W(n,(r,a)=>{let l;(l=t(r,a,e))!==!1&&(s[a]=l||r)}),Object.defineProperties(e,s)},Jt=e=>{Ke(e,(t,n)=>{if(N(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(N(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Gt=(e,t)=>{const n={},s=r=>{r.forEach(a=>{n[a]=!0})};return z(e)?s(e):s(String(e).split(t)),n},Xt=()=>{},Kt=(e,t)=>(e=+e,Number.isFinite(e)?e:t),ue="abcdefghijklmnopqrstuvwxyz",Pe="0123456789",Qe={DIGIT:Pe,ALPHA:ue,ALPHA_DIGIT:ue+ue.toUpperCase()+Pe},Qt=(e=16,t=Qe.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Yt(e){return!!(e&&N(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Zt=e=>{const t=new Array(10),n=(s,r)=>{if(oe(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const a=z(s)?[]:{};return W(s,(l,f)=>{const w=n(l,r+1);!$(w)&&(a[f]=w)}),t[r]=void 0,a}}return s};return n(e,0)},en=M("AsyncFunction"),tn=e=>e&&(oe(e)||N(e))&&N(e.then)&&N(e.catch),c={isArray:z,isArrayBuffer:We,isBuffer:St,isFormData:It,isArrayBufferView:Lt,isString:Tt,isNumber:Ve,isBoolean:Ct,isObject:oe,isPlainObject:K,isUndefined:$,isDate:Ot,isFile:Rt,isBlob:_t,isRegExp:Vt,isFunction:N,isStream:Nt,isURLSearchParams:Bt,isTypedArray:jt,isFileList:At,forEach:W,merge:ye,extend:Mt,trim:Pt,stripBOM:Ft,inherits:Dt,toFlatObject:kt,kindOf:se,kindOfTest:M,endsWith:Ut,toArray:Ht,forEachEntry:zt,matchAll:qt,isHTMLForm:$t,hasOwnProperty:Be,hasOwnProp:Be,reduceDescriptors:Ke,freezeMethods:Jt,toObjectSet:Gt,toCamelCase:Wt,noop:Xt,toFiniteNumber:Kt,findKey:Je,global:Ge,isContextDefined:Xe,ALPHABET:Qe,generateString:Qt,isSpecCompliantForm:Yt,toJSONObject:Zt,isAsyncFn:en,isThenable:tn};function S(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r)}c.inherits(S,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ye=S.prototype,Ze={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ze[e]={value:e}});Object.defineProperties(S,Ze);Object.defineProperty(Ye,"isAxiosError",{value:!0});S.from=(e,t,n,s,r,a)=>{const l=Object.create(Ye);return c.toFlatObject(e,l,function(w){return w!==Error.prototype},f=>f!=="isAxiosError"),S.call(l,e.message,t,n,s,r),l.cause=e,l.name=e.name,a&&Object.assign(l,a),l};const nn=null;function ge(e){return c.isPlainObject(e)||c.isArray(e)}function et(e){return c.endsWith(e,"[]")?e.slice(0,-2):e}function Me(e,t,n){return e?e.concat(t).map(function(r,a){return r=et(r),!n&&a?"["+r+"]":r}).join(n?".":""):t}function sn(e){return c.isArray(e)&&!e.some(ge)}const rn=c.toFlatObject(c,{},null,function(t){return/^is[A-Z]/.test(t)});function ie(e,t,n){if(!c.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=c.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,T){return!c.isUndefined(T[h])});const s=n.metaTokens,r=n.visitor||y,a=n.dots,l=n.indexes,w=(n.Blob||typeof Blob<"u"&&Blob)&&c.isSpecCompliantForm(t);if(!c.isFunction(r))throw new TypeError("visitor must be a function");function E(b){if(b===null)return"";if(c.isDate(b))return b.toISOString();if(!w&&c.isBlob(b))throw new S("Blob is not supported. Use a Buffer instead.");return c.isArrayBuffer(b)||c.isTypedArray(b)?w&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function y(b,h,T){let R=b;if(b&&!T&&typeof b=="object"){if(c.endsWith(h,"{}"))h=s?h:h.slice(0,-2),b=JSON.stringify(b);else if(c.isArray(b)&&sn(b)||(c.isFileList(b)||c.endsWith(h,"[]"))&&(R=c.toArray(b)))return h=et(h),R.forEach(function(B,ce){!(c.isUndefined(B)||B===null)&&t.append(l===!0?Me([h],ce,a):l===null?h:h+"[]",E(B))}),!1}return ge(b)?!0:(t.append(Me(T,h,a),E(b)),!1)}const u=[],C=Object.assign(rn,{defaultVisitor:y,convertValue:E,isVisitable:ge});function O(b,h){if(!c.isUndefined(b)){if(u.indexOf(b)!==-1)throw Error("Circular reference detected in "+h.join("."));u.push(b),c.forEach(b,function(R,I){(!(c.isUndefined(R)||R===null)&&r.call(t,R,c.isString(I)?I.trim():I,h,C))===!0&&O(R,h?h.concat(I):[I])}),u.pop()}}if(!c.isObject(e))throw new TypeError("data must be an object");return O(e),t}function Fe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Ce(e,t){this._pairs=[],e&&ie(e,this,t)}const tt=Ce.prototype;tt.append=function(t,n){this._pairs.push([t,n])};tt.toString=function(t){const n=t?function(s){return t.call(this,s,Fe)}:Fe;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function on(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function nt(e,t,n){if(!t)return e;const s=n&&n.encode||on,r=n&&n.serialize;let a;if(r?a=r(t,n):a=c.isURLSearchParams(t)?t.toString():new Ce(t,n).toString(s),a){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class an{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){c.forEach(this.handlers,function(s){s!==null&&t(s)})}}const De=an,st={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ln=typeof URLSearchParams<"u"?URLSearchParams:Ce,cn=typeof FormData<"u"?FormData:null,un=typeof Blob<"u"?Blob:null,dn={isBrowser:!0,classes:{URLSearchParams:ln,FormData:cn,Blob:un},protocols:["http","https","file","blob","url","data"]},rt=typeof window<"u"&&typeof document<"u",fn=(e=>rt&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),pn=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),mn=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:rt,hasStandardBrowserEnv:fn,hasStandardBrowserWebWorkerEnv:pn},Symbol.toStringTag,{value:"Module"})),P={...mn,...dn};function hn(e,t){return ie(e,new P.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,a){return P.isNode&&c.isBuffer(n)?(this.append(s,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function yn(e){return c.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function gn(e){const t={},n=Object.keys(e);let s;const r=n.length;let a;for(s=0;s=n.length;return l=!l&&c.isArray(r)?r.length:l,w?(c.hasOwnProp(r,l)?r[l]=[r[l],s]:r[l]=s,!f):((!r[l]||!c.isObject(r[l]))&&(r[l]=[]),t(n,s,r[l],a)&&c.isArray(r[l])&&(r[l]=gn(r[l])),!f)}if(c.isFormData(e)&&c.isFunction(e.entries)){const n={};return c.forEachEntry(e,(s,r)=>{t(yn(s),r,n,0)}),n}return null}function bn(e,t,n){if(c.isString(e))try{return(t||JSON.parse)(e),c.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Oe={transitional:st,adapter:["xhr","http"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,a=c.isObject(t);if(a&&c.isHTMLForm(t)&&(t=new FormData(t)),c.isFormData(t))return r&&r?JSON.stringify(ot(t)):t;if(c.isArrayBuffer(t)||c.isBuffer(t)||c.isStream(t)||c.isFile(t)||c.isBlob(t))return t;if(c.isArrayBufferView(t))return t.buffer;if(c.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let f;if(a){if(s.indexOf("application/x-www-form-urlencoded")>-1)return hn(t,this.formSerializer).toString();if((f=c.isFileList(t))||s.indexOf("multipart/form-data")>-1){const w=this.env&&this.env.FormData;return ie(f?{"files[]":t}:t,w&&new w,this.formSerializer)}}return a||r?(n.setContentType("application/json",!1),bn(t)):t}],transformResponse:[function(t){const n=this.transitional||Oe.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&c.isString(t)&&(s&&!this.responseType||r)){const l=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(f){if(l)throw f.name==="SyntaxError"?S.from(f,S.ERR_BAD_RESPONSE,this,null,this.response):f}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:P.classes.FormData,Blob:P.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};c.forEach(["delete","get","head","post","put","patch"],e=>{Oe.headers[e]={}});const Re=Oe,wn=c.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),En=e=>{const t={};let n,s,r;return e&&e.split(` +`).forEach(function(l){r=l.indexOf(":"),n=l.substring(0,r).trim().toLowerCase(),s=l.substring(r+1).trim(),!(!n||t[n]&&wn[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},ke=Symbol("internals");function q(e){return e&&String(e).trim().toLowerCase()}function Q(e){return e===!1||e==null?e:c.isArray(e)?e.map(Q):String(e)}function vn(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const xn=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function de(e,t,n,s,r){if(c.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!c.isString(t)){if(c.isString(s))return t.indexOf(s)!==-1;if(c.isRegExp(s))return s.test(t)}}function Sn(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Ln(e,t){const n=c.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,a,l){return this[s].call(this,t,r,a,l)},configurable:!0})})}class ae{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function a(f,w,E){const y=q(w);if(!y)throw new Error("header name must be a non-empty string");const u=c.findKey(r,y);(!u||r[u]===void 0||E===!0||E===void 0&&r[u]!==!1)&&(r[u||w]=Q(f))}const l=(f,w)=>c.forEach(f,(E,y)=>a(E,y,w));return c.isPlainObject(t)||t instanceof this.constructor?l(t,n):c.isString(t)&&(t=t.trim())&&!xn(t)?l(En(t),n):t!=null&&a(n,t,s),this}get(t,n){if(t=q(t),t){const s=c.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return vn(r);if(c.isFunction(n))return n.call(this,r,s);if(c.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=q(t),t){const s=c.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||de(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function a(l){if(l=q(l),l){const f=c.findKey(s,l);f&&(!n||de(s,s[f],f,n))&&(delete s[f],r=!0)}}return c.isArray(t)?t.forEach(a):a(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const a=n[s];(!t||de(this,this[a],a,t,!0))&&(delete this[a],r=!0)}return r}normalize(t){const n=this,s={};return c.forEach(this,(r,a)=>{const l=c.findKey(s,a);if(l){n[l]=Q(r),delete n[a];return}const f=t?Sn(a):String(a).trim();f!==a&&delete n[a],n[f]=Q(r),s[f]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return c.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&c.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[ke]=this[ke]={accessors:{}}).accessors,r=this.prototype;function a(l){const f=q(l);s[f]||(Ln(r,l),s[f]=!0)}return c.isArray(t)?t.forEach(a):a(t),this}}ae.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);c.reduceDescriptors(ae.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});c.freezeMethods(ae);const F=ae;function fe(e,t){const n=this||Re,s=t||n,r=F.from(s.headers);let a=s.data;return c.forEach(e,function(f){a=f.call(n,a,r.normalize(),t?t.status:void 0)}),r.normalize(),a}function it(e){return!!(e&&e.__CANCEL__)}function V(e,t,n){S.call(this,e??"canceled",S.ERR_CANCELED,t,n),this.name="CanceledError"}c.inherits(V,S,{__CANCEL__:!0});function Tn(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new S("Request failed with status code "+n.status,[S.ERR_BAD_REQUEST,S.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Cn=P.hasStandardBrowserEnv?{write(e,t,n,s,r,a){const l=[e+"="+encodeURIComponent(t)];c.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),c.isString(s)&&l.push("path="+s),c.isString(r)&&l.push("domain="+r),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function On(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Rn(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function at(e,t){return e&&!On(t)?Rn(e,t):t}const _n=P.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(a){let l=a;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(l){const f=c.isString(l)?r(l):l;return f.protocol===s.protocol&&f.host===s.host}}():function(){return function(){return!0}}();function An(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Nn(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,a=0,l;return t=t!==void 0?t:1e3,function(w){const E=Date.now(),y=s[a];l||(l=E),n[r]=w,s[r]=E;let u=a,C=0;for(;u!==r;)C+=n[u++],u=u%e;if(r=(r+1)%e,r===a&&(a=(a+1)%e),E-l{const a=r.loaded,l=r.lengthComputable?r.total:void 0,f=a-n,w=s(f),E=a<=l;n=a;const y={loaded:a,total:l,progress:l?a/l:void 0,bytes:f,rate:w||void 0,estimated:w&&l&&E?(l-a)/w:void 0,event:r};y[t?"download":"upload"]=!0,e(y)}}const In=typeof XMLHttpRequest<"u",Bn=In&&function(e){return new Promise(function(n,s){let r=e.data;const a=F.from(e.headers).normalize();let{responseType:l,withXSRFToken:f}=e,w;function E(){e.cancelToken&&e.cancelToken.unsubscribe(w),e.signal&&e.signal.removeEventListener("abort",w)}let y;if(c.isFormData(r)){if(P.hasStandardBrowserEnv||P.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((y=a.getContentType())!==!1){const[h,...T]=y?y.split(";").map(R=>R.trim()).filter(Boolean):[];a.setContentType([h||"multipart/form-data",...T].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",T=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(h+":"+T))}const C=at(e.baseURL,e.url);u.open(e.method.toUpperCase(),nt(C,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function O(){if(!u)return;const h=F.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),R={data:!l||l==="text"||l==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:h,config:e,request:u};Tn(function(B){n(B),E()},function(B){s(B),E()},R),u=null}if("onloadend"in u?u.onloadend=O:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(O)},u.onabort=function(){u&&(s(new S("Request aborted",S.ECONNABORTED,e,u)),u=null)},u.onerror=function(){s(new S("Network Error",S.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let T=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const R=e.transitional||st;e.timeoutErrorMessage&&(T=e.timeoutErrorMessage),s(new S(T,R.clarifyTimeoutError?S.ETIMEDOUT:S.ECONNABORTED,e,u)),u=null},P.hasStandardBrowserEnv&&(f&&c.isFunction(f)&&(f=f(e)),f||f!==!1&&_n(C))){const h=e.xsrfHeaderName&&e.xsrfCookieName&&Cn.read(e.xsrfCookieName);h&&a.set(e.xsrfHeaderName,h)}r===void 0&&a.setContentType(null),"setRequestHeader"in u&&c.forEach(a.toJSON(),function(T,R){u.setRequestHeader(R,T)}),c.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),l&&l!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",Ue(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",Ue(e.onUploadProgress)),(e.cancelToken||e.signal)&&(w=h=>{u&&(s(!h||h.type?new V(null,e,u):h),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(w),e.signal&&(e.signal.aborted?w():e.signal.addEventListener("abort",w)));const b=An(C);if(b&&P.protocols.indexOf(b)===-1){s(new S("Unsupported protocol "+b+":",S.ERR_BAD_REQUEST,e));return}u.send(r||null)})},be={http:nn,xhr:Bn};c.forEach(be,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const He=e=>`- ${e}`,Pn=e=>c.isFunction(e)||e===null||e===!1,lt={getAdapter:e=>{e=c.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let a=0;a`adapter ${f} `+(w===!1?"is not supported by the environment":"is not available in the build"));let l=t?a.length>1?`since : +`+a.map(He).join(` +`):" "+He(a[0]):"as no adapter specified";throw new S("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return s},adapters:be};function pe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new V(null,e)}function je(e){return pe(e),e.headers=F.from(e.headers),e.data=fe.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),lt.getAdapter(e.adapter||Re.adapter)(e).then(function(s){return pe(e),s.data=fe.call(e,e.transformResponse,s),s.headers=F.from(s.headers),s},function(s){return it(s)||(pe(e),s&&s.response&&(s.response.data=fe.call(e,e.transformResponse,s.response),s.response.headers=F.from(s.response.headers))),Promise.reject(s)})}const ze=e=>e instanceof F?e.toJSON():e;function j(e,t){t=t||{};const n={};function s(E,y,u){return c.isPlainObject(E)&&c.isPlainObject(y)?c.merge.call({caseless:u},E,y):c.isPlainObject(y)?c.merge({},y):c.isArray(y)?y.slice():y}function r(E,y,u){if(c.isUndefined(y)){if(!c.isUndefined(E))return s(void 0,E,u)}else return s(E,y,u)}function a(E,y){if(!c.isUndefined(y))return s(void 0,y)}function l(E,y){if(c.isUndefined(y)){if(!c.isUndefined(E))return s(void 0,E)}else return s(void 0,y)}function f(E,y,u){if(u in t)return s(E,y);if(u in e)return s(void 0,E)}const w={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:f,headers:(E,y)=>r(ze(E),ze(y),!0)};return c.forEach(Object.keys(Object.assign({},e,t)),function(y){const u=w[y]||r,C=u(e[y],t[y],y);c.isUndefined(C)&&u!==f||(n[y]=C)}),n}const ct="1.6.2",_e={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{_e[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const qe={};_e.transitional=function(t,n,s){function r(a,l){return"[Axios v"+ct+"] Transitional option '"+a+"'"+l+(s?". "+s:"")}return(a,l,f)=>{if(t===!1)throw new S(r(l," has been removed"+(n?" in "+n:"")),S.ERR_DEPRECATED);return n&&!qe[l]&&(qe[l]=!0,console.warn(r(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,l,f):!0}};function Mn(e,t,n){if(typeof e!="object")throw new S("options must be an object",S.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const a=s[r],l=t[a];if(l){const f=e[a],w=f===void 0||l(f,a,e);if(w!==!0)throw new S("option "+a+" must be "+w,S.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new S("Unknown option "+a,S.ERR_BAD_OPTION)}}const we={assertOptions:Mn,validators:_e},D=we.validators;class ee{constructor(t){this.defaults=t,this.interceptors={request:new De,response:new De}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=j(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:a}=n;s!==void 0&&we.assertOptions(s,{silentJSONParsing:D.transitional(D.boolean),forcedJSONParsing:D.transitional(D.boolean),clarifyTimeoutError:D.transitional(D.boolean)},!1),r!=null&&(c.isFunction(r)?n.paramsSerializer={serialize:r}:we.assertOptions(r,{encode:D.function,serialize:D.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=a&&c.merge(a.common,a[n.method]);a&&c.forEach(["delete","get","head","post","put","patch","common"],b=>{delete a[b]}),n.headers=F.concat(l,a);const f=[];let w=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(w=w&&h.synchronous,f.unshift(h.fulfilled,h.rejected))});const E=[];this.interceptors.response.forEach(function(h){E.push(h.fulfilled,h.rejected)});let y,u=0,C;if(!w){const b=[je.bind(this),void 0];for(b.unshift.apply(b,f),b.push.apply(b,E),C=b.length,y=Promise.resolve(n);u{if(!s._listeners)return;let a=s._listeners.length;for(;a-- >0;)s._listeners[a](r);s._listeners=null}),this.promise.then=r=>{let a;const l=new Promise(f=>{s.subscribe(f),a=f}).then(r);return l.cancel=function(){s.unsubscribe(a)},l},t(function(a,l,f){s.reason||(s.reason=new V(a,l,f),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ae(function(r){t=r}),cancel:t}}}const Fn=Ae;function Dn(e){return function(n){return e.apply(null,n)}}function kn(e){return c.isObject(e)&&e.isAxiosError===!0}const Ee={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ee).forEach(([e,t])=>{Ee[t]=e});const Un=Ee;function ut(e){const t=new Y(e),n=$e(Y.prototype.request,t);return c.extend(n,Y.prototype,t,{allOwnKeys:!0}),c.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return ut(j(e,r))},n}const _=ut(Re);_.Axios=Y;_.CanceledError=V;_.CancelToken=Fn;_.isCancel=it;_.VERSION=ct;_.toFormData=ie;_.AxiosError=S;_.Cancel=_.CanceledError;_.all=function(t){return Promise.all(t)};_.spread=Dn;_.isAxiosError=kn;_.mergeConfig=j;_.AxiosHeaders=F;_.formToJSON=e=>ot(c.isHTMLForm(e)?new FormData(e):e);_.getAdapter=lt.getAdapter;_.HttpStatusCode=Un;_.default=_;const k=_;class le{constructor(){this.baseURL="https://your-energy.b.goit.study/api/",this.page=0}resetPage(){this.page=0}async getExercises(t,n){try{return this.page+=1,(await k.get(`${this.baseURL}exercises?${t}=${n}&page=1&limit=10`)).data.results}catch(s){console.log(s)}}async getExercisesById(t){try{return this.page+=1,(await k.get(`${this.baseURL}exercises/${t}`)).data}catch(n){console.log(n)}}async getFilter(t){try{return(await k.get(`${this.baseURL}filters?filter=${t}`)).data.results}catch(n){console.log(n)}}async getQuote(){try{return this.page+=1,(await k.get(`${this.baseURL}quote`)).data}catch(t){console.log(t)}}async patchRating(t,n){try{return this.page+=1,(await k.patch(`${this.baseURL}exercises/${t}/rating`,n)).data}catch(s){console.log(s)}}async postSubscriptions(t){try{return this.page+=1,(await k.post(`${this.baseURL}subscription`,t)).data}catch(n){console.log(n)}}}const Hn=document.getElementById("burgerMenu"),Ne=document.getElementById("modalOverlay"),jn=document.getElementById("closeModal"),Z=document.getElementById("homeButton"),ve=document.getElementById("favoritesButton");Hn.addEventListener("click",zn);jn.addEventListener("click",dt);Z.addEventListener("click",()=>{ft(),$n()});ve.addEventListener("click",()=>{ft(),Wn()});function zn(){Ne.style.display==="block"?dt():qn()}function qn(){Ne.style.display="block"}function dt(){Ne.style.display="none"}function ft(){Z.classList.contains("active")?(Z.classList.remove("active"),ve.classList.add("active")):(Z.classList.add("active"),ve.classList.remove("active"))}function $n(){window.location.href="../partials/10-favorites.html"}function Wn(){window.location.href="../partials/10-favorites.html"}const Vn=document.querySelector(".js-quote"),Jn=new le;Gn();async function Gn(){try{const e=await Jn.getQuote();Xn(e)}catch(e){console.log(e)}}function Xn({author:e,quote:t}){Vn.innerHTML=` +

    ${t}

    +

    ${e}

    + `}const Kn=new le,pt=document.querySelector(".js-list");mt("Muscles");async function mt(e){try{const t=await Kn.getFilter(e);Qn(t)}catch(t){console.log(t)}}function Qn(e){const t=e.map(({filter:n,name:s,imgURL:r})=>` +
  • + +
    +

    ${n}

    +

    ${s}

    +
    +
  • + `).join("");pt.insertAdjacentHTML("beforeend",t)}document.querySelectorAll(".btnFilters").forEach(e=>{e.addEventListener("click",()=>{const t=e.innerText;pt.innerHTML="",mt(t)})});const Yn=new le,J=document.querySelector(".modal-exercises"),Ie=document.querySelector(".overlay"),Zn=document.querySelector(".js-list");Zn.addEventListener("click",es);async function es(e){if(e.target.closest(".filters__btn-second"))try{const t=e.target.closest(".filters__btn-second").getAttribute("data-id"),n=await Yn.getExercisesById(t),s=ss(n);ns(s),ts(),console.log(J)}catch(t){console.log(t)}}function ts(){const e=window.innerWidth-document.body.offsetWidth+"px";J.classList.remove("hidden"),Ie.classList.remove("hidden"),document.body.style.paddingRight=e,document.body.style.overflow="hidden"}function ns(e){J.innerHTML=e}function ss({_id:e,bodyPart:t,equipment:n,gifUrl:s,name:r,target:a,description:l,rating:f,burnedCalories:w,time:E,popularity:y}){const u=C(s);function C(O){if(!(O===null||!O))return`src="${O}"`}return` + +`}function ht(){J.classList.add("hidden"),Ie.classList.add("hidden"),document.body.style.paddingRight="0px",document.body.style.overflow="auto"}Ie.addEventListener("click",ht);window.addEventListener("keydown",function(e){e.key==="Escape"&&!J.classList.contains("hidden")&&ht()});const xe=document.querySelector(".scroll__go-top");xe.addEventListener("click",yt);window.addEventListener("scroll",rs);function rs(){const e=window.pageYOffset,t=document.documentElement.clientHeight;e>t?xe.classList.add("scroll__go-top--show"):xe.classList.remove("scroll__go-top--show")}function yt(){window.pageYOffset>0&&(window.scrollBy(0,-75),setTimeout(yt,0))}var G=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function os(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gt={exports:{}};(function(e,t){(function(n,s){e.exports=s(n)})(typeof G<"u"?G:window||G.window||G.global,function(n){var s={},r="iziToast";document.querySelector("body");var a=!!/Mobi/.test(navigator.userAgent),l=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor),f=typeof InstallTrigger<"u",w="ontouchstart"in document.documentElement,E=["bottomRight","bottomLeft","bottomCenter","topRight","topLeft","topCenter","center"],y={info:{color:"blue",icon:"ico-info"},success:{color:"green",icon:"ico-success"},warning:{color:"orange",icon:"ico-warning"},error:{color:"red",icon:"ico-error"},question:{color:"yellow",icon:"ico-question"}},u=568,C={};s.children={};var O={id:null,class:"",title:"",titleColor:"",titleSize:"",titleLineHeight:"",message:"",messageColor:"",messageSize:"",messageLineHeight:"",backgroundColor:"",theme:"light",color:"",icon:"",iconText:"",iconColor:"",iconUrl:null,image:"",imageWidth:50,maxWidth:null,zindex:null,layout:1,balloon:!1,close:!0,closeOnEscape:!1,closeOnClick:!1,displayMode:0,position:"bottomRight",target:"",targetFirst:!0,timeout:5e3,rtl:!1,animateInside:!0,drag:!0,pauseOnHover:!0,resetOnHover:!1,progressBar:!0,progressBarColor:"",progressBarEasing:"linear",overlay:!1,overlayClose:!1,overlayColor:"rgba(0, 0, 0, 0.6)",transitionIn:"fadeInUp",transitionOut:"fadeOut",transitionInMobile:"fadeInUp",transitionOutMobile:"fadeOutDown",buttons:{},inputs:{},onOpening:function(){},onOpened:function(){},onClosing:function(){},onClosed:function(){}};if("remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),typeof window.CustomEvent!="function"){var b=function(m,d){d=d||{bubbles:!1,cancelable:!1,detail:void 0};var o=document.createEvent("CustomEvent");return o.initCustomEvent(m,d.bubbles,d.cancelable,d.detail),o};b.prototype=window.Event.prototype,window.CustomEvent=b}var h=function(m,d,o){if(Object.prototype.toString.call(m)==="[object Object]")for(var i in m)Object.prototype.hasOwnProperty.call(m,i)&&d.call(o,m[i],i,m);else if(m)for(var g=0,x=m.length;g0?(g=(p-i)/p,g"u"&&(d.classList.remove(r+"-reseted"),p!==null&&(p.style.transition="width "+x.timeout+"ms "+x.progressBarEasing,p.style.width="0%"),x.time.START=new Date().getTime(),x.time.END=x.time.START+x.timeout,x.time.TIMER=setTimeout(function(){clearTimeout(x.time.TIMER),d.classList.contains(r+"-closing")||(i.hide(x,d,"timeout"),typeof o=="function"&&o.apply(i))},x.timeout),i.setSetting(g,"time",x.time))},pause:function(){if(typeof x.time.START<"u"&&!d.classList.contains(r+"-paused")&&!d.classList.contains(r+"-reseted")){if(d.classList.add(r+"-paused"),x.time.REMAINING=x.time.END-new Date().getTime(),clearTimeout(x.time.TIMER),i.setSetting(g,"time",x.time),p!==null){var v=window.getComputedStyle(p),L=v.getPropertyValue("width");p.style.transition="none",p.style.width=L}typeof o=="function"&&setTimeout(function(){o.apply(i)},10)}},resume:function(){typeof x.time.REMAINING<"u"?(d.classList.remove(r+"-paused"),p!==null&&(p.style.transition="width "+x.time.REMAINING+"ms "+x.progressBarEasing,p.style.width="0%"),x.time.END=new Date().getTime()+x.time.REMAINING,x.time.TIMER=setTimeout(function(){clearTimeout(x.time.TIMER),d.classList.contains(r+"-closing")||(i.hide(x,d,"timeout"),typeof o=="function"&&o.apply(i))},x.time.REMAINING),i.setSetting(g,"time",x.time)):this.start()},reset:function(){clearTimeout(x.time.TIMER),delete x.time.REMAINING,i.setSetting(g,"time",x.time),d.classList.add(r+"-reseted"),d.classList.remove(r+"-paused"),p!==null&&(p.style.transition="none",p.style.width="100%"),typeof o=="function"&&setTimeout(function(){o.apply(i)},10)}}},s.hide=function(m,d,o){typeof d!="object"&&(d=document.querySelector(d));var i=this,g=T(this.children[d.getAttribute("data-iziToast-ref")],m||{});g.closedBy=o||null,delete g.time.REMAINING,d.classList.add(r+"-closing"),function(){var v=document.querySelector("."+r+"-overlay");if(v!==null){var L=v.getAttribute("data-iziToast-ref");L=L.split(",");var A=L.indexOf(String(g.ref));A!==-1&&L.splice(A,1),v.setAttribute("data-iziToast-ref",L.join()),L.length===0&&(v.classList.remove("fadeIn"),v.classList.add("fadeOut"),setTimeout(function(){v.remove()},700))}}(),g.transitionIn&&d.classList.remove(g.transitionIn),g.transitionInMobile&&d.classList.remove(g.transitionInMobile),a||window.innerWidth<=u?g.transitionOutMobile&&d.classList.add(g.transitionOutMobile):g.transitionOut&&d.classList.add(g.transitionOut);var x=d.parentNode.offsetHeight;d.parentNode.style.height=x+"px",d.style.pointerEvents="none",(!a||window.innerWidth>u)&&(d.parentNode.style.transitionDelay="0.2s");try{var p=new CustomEvent(r+"-closing",{detail:g,bubbles:!0,cancelable:!0});document.dispatchEvent(p)}catch(v){console.warn(v)}setTimeout(function(){d.parentNode.style.height="0px",d.parentNode.style.overflow="",setTimeout(function(){delete i.children[g.ref],d.parentNode.remove();try{var v=new CustomEvent(r+"-closed",{detail:g,bubbles:!0,cancelable:!0});document.dispatchEvent(v)}catch(L){console.warn(L)}typeof g.onClosed<"u"&&g.onClosed.apply(null,[g,d,o])},1e3)},200),typeof g.onClosing<"u"&&g.onClosing.apply(null,[g,d,o])},s.show=function(m){var d=this,o=T(C,m||{});if(o=T(O,o),o.time={},o.id===null&&(o.id=I(o.title+o.message+o.color)),o.displayMode===1||o.displayMode=="once")try{if(document.querySelectorAll("."+r+"#"+o.id).length>0)return!1}catch{console.warn("["+r+"] Could not find an element with this selector: #"+o.id+". Try to set an valid id.")}if(o.displayMode===2||o.displayMode=="replace")try{h(document.querySelectorAll("."+r+"#"+o.id),function(p,v){d.hide(o,p,"replaced")})}catch{console.warn("["+r+"] Could not find an element with this selector: #"+o.id+". Try to set an valid id.")}o.ref=new Date().getTime()+Math.floor(Math.random()*1e7+1),s.children[o.ref]=o;var i={body:document.querySelector("body"),overlay:document.createElement("div"),toast:document.createElement("div"),toastBody:document.createElement("div"),toastTexts:document.createElement("div"),toastCapsule:document.createElement("div"),cover:document.createElement("div"),buttons:document.createElement("div"),inputs:document.createElement("div"),icon:o.iconUrl?document.createElement("img"):document.createElement("i"),wrapper:null};i.toast.setAttribute("data-iziToast-ref",o.ref),i.toast.appendChild(i.toastBody),i.toastCapsule.appendChild(i.toast),function(){if(i.toast.classList.add(r),i.toast.classList.add(r+"-opening"),i.toastCapsule.classList.add(r+"-capsule"),i.toastBody.classList.add(r+"-body"),i.toastTexts.classList.add(r+"-texts"),a||window.innerWidth<=u?o.transitionInMobile&&i.toast.classList.add(o.transitionInMobile):o.transitionIn&&i.toast.classList.add(o.transitionIn),o.class){var p=o.class.split(" ");h(p,function(v,L){i.toast.classList.add(v)})}o.id&&(i.toast.id=o.id),o.rtl&&(i.toast.classList.add(r+"-rtl"),i.toast.setAttribute("dir","rtl")),o.layout>1&&i.toast.classList.add(r+"-layout"+o.layout),o.balloon&&i.toast.classList.add(r+"-balloon"),o.maxWidth&&(isNaN(o.maxWidth)?i.toast.style.maxWidth=o.maxWidth:i.toast.style.maxWidth=o.maxWidth+"px"),(o.theme!==""||o.theme!=="light")&&i.toast.classList.add(r+"-theme-"+o.theme),o.color&&(B(o.color)?i.toast.style.background=o.color:i.toast.classList.add(r+"-color-"+o.color)),o.backgroundColor&&(i.toast.style.background=o.backgroundColor,o.balloon&&(i.toast.style.borderColor=o.backgroundColor))}(),function(){o.image&&(i.cover.classList.add(r+"-cover"),i.cover.style.width=o.imageWidth+"px",ce(o.image.replace(/ /g,""))?i.cover.style.backgroundImage="url(data:image/png;base64,"+o.image.replace(/ /g,"")+")":i.cover.style.backgroundImage="url("+o.image+")",o.rtl?i.toastBody.style.marginRight=o.imageWidth+10+"px":i.toastBody.style.marginLeft=o.imageWidth+10+"px",i.toast.appendChild(i.cover))}(),function(){o.close?(i.buttonClose=document.createElement("button"),i.buttonClose.type="button",i.buttonClose.classList.add(r+"-close"),i.buttonClose.addEventListener("click",function(p){p.target,d.hide(o,i.toast,"button")}),i.toast.appendChild(i.buttonClose)):o.rtl?i.toast.style.paddingLeft="18px":i.toast.style.paddingRight="18px"}(),function(){o.progressBar&&(i.progressBar=document.createElement("div"),i.progressBarDiv=document.createElement("div"),i.progressBar.classList.add(r+"-progressbar"),i.progressBarDiv.style.background=o.progressBarColor,i.progressBar.appendChild(i.progressBarDiv),i.toast.appendChild(i.progressBar)),o.timeout&&(o.pauseOnHover&&!o.resetOnHover&&(i.toast.addEventListener("mouseenter",function(p){d.progress(o,i.toast).pause()}),i.toast.addEventListener("mouseleave",function(p){d.progress(o,i.toast).resume()})),o.resetOnHover&&(i.toast.addEventListener("mouseenter",function(p){d.progress(o,i.toast).reset()}),i.toast.addEventListener("mouseleave",function(p){d.progress(o,i.toast).start()})))}(),function(){o.iconUrl?(i.icon.setAttribute("class",r+"-icon"),i.icon.setAttribute("src",o.iconUrl)):o.icon&&(i.icon.setAttribute("class",r+"-icon "+o.icon),o.iconText&&i.icon.appendChild(document.createTextNode(o.iconText)),o.iconColor&&(i.icon.style.color=o.iconColor)),(o.icon||o.iconUrl)&&(o.rtl?i.toastBody.style.paddingRight="33px":i.toastBody.style.paddingLeft="33px",i.toastBody.appendChild(i.icon))}(),function(){o.title.length>0&&(i.strong=document.createElement("strong"),i.strong.classList.add(r+"-title"),i.strong.appendChild(R(o.title)),i.toastTexts.appendChild(i.strong),o.titleColor&&(i.strong.style.color=o.titleColor),o.titleSize&&(isNaN(o.titleSize)?i.strong.style.fontSize=o.titleSize:i.strong.style.fontSize=o.titleSize+"px"),o.titleLineHeight&&(isNaN(o.titleSize)?i.strong.style.lineHeight=o.titleLineHeight:i.strong.style.lineHeight=o.titleLineHeight+"px")),o.message.length>0&&(i.p=document.createElement("p"),i.p.classList.add(r+"-message"),i.p.appendChild(R(o.message)),i.toastTexts.appendChild(i.p),o.messageColor&&(i.p.style.color=o.messageColor),o.messageSize&&(isNaN(o.titleSize)?i.p.style.fontSize=o.messageSize:i.p.style.fontSize=o.messageSize+"px"),o.messageLineHeight&&(isNaN(o.titleSize)?i.p.style.lineHeight=o.messageLineHeight:i.p.style.lineHeight=o.messageLineHeight+"px")),o.title.length>0&&o.message.length>0&&(o.rtl?i.strong.style.marginLeft="10px":o.layout!==2&&!o.rtl&&(i.strong.style.marginRight="10px"))}(),i.toastBody.appendChild(i.toastTexts);var g;(function(){o.inputs.length>0&&(i.inputs.classList.add(r+"-inputs"),h(o.inputs,function(p,v){i.inputs.appendChild(R(p[0])),g=i.inputs.childNodes,g[v].classList.add(r+"-inputs-child"),p[3]&&setTimeout(function(){g[v].focus()},300),g[v].addEventListener(p[1],function(L){var A=p[2];return A(d,i.toast,this,L)})}),i.toastBody.appendChild(i.inputs))})(),function(){o.buttons.length>0&&(i.buttons.classList.add(r+"-buttons"),h(o.buttons,function(p,v){i.buttons.appendChild(R(p[0]));var L=i.buttons.childNodes;L[v].classList.add(r+"-buttons-child"),p[2]&&setTimeout(function(){L[v].focus()},300),L[v].addEventListener("click",function(A){A.preventDefault();var vt=p[1];return vt(d,i.toast,this,A,g)})})),i.toastBody.appendChild(i.buttons)}(),o.message.length>0&&(o.inputs.length>0||o.buttons.length>0)&&(i.p.style.marginBottom="0"),(o.inputs.length>0||o.buttons.length>0)&&(o.rtl?i.toastTexts.style.marginLeft="10px":i.toastTexts.style.marginRight="10px",o.inputs.length>0&&o.buttons.length>0&&(o.rtl?i.inputs.style.marginLeft="8px":i.inputs.style.marginRight="8px")),function(){i.toastCapsule.style.visibility="hidden",setTimeout(function(){var p=i.toast.offsetHeight,v=i.toast.currentStyle||window.getComputedStyle(i.toast),L=v.marginTop;L=L.split("px"),L=parseInt(L[0]);var A=v.marginBottom;A=A.split("px"),A=parseInt(A[0]),i.toastCapsule.style.visibility="",i.toastCapsule.style.height=p+A+L+"px",setTimeout(function(){i.toastCapsule.style.height="auto",o.target&&(i.toastCapsule.style.overflow="visible")},500),o.timeout&&d.progress(o,i.toast).start()},100)}(),function(){var p=o.position;if(o.target)i.wrapper=document.querySelector(o.target),i.wrapper.classList.add(r+"-target"),o.targetFirst?i.wrapper.insertBefore(i.toastCapsule,i.wrapper.firstChild):i.wrapper.appendChild(i.toastCapsule);else{if(E.indexOf(o.position)==-1){console.warn("["+r+`] Incorrect position. +It can be › `+E);return}a||window.innerWidth<=u?o.position=="bottomLeft"||o.position=="bottomRight"||o.position=="bottomCenter"?p=r+"-wrapper-bottomCenter":o.position=="topLeft"||o.position=="topRight"||o.position=="topCenter"?p=r+"-wrapper-topCenter":p=r+"-wrapper-center":p=r+"-wrapper-"+p,i.wrapper=document.querySelector("."+r+"-wrapper."+p),i.wrapper||(i.wrapper=document.createElement("div"),i.wrapper.classList.add(r+"-wrapper"),i.wrapper.classList.add(p),document.body.appendChild(i.wrapper)),o.position=="topLeft"||o.position=="topCenter"||o.position=="topRight"?i.wrapper.insertBefore(i.toastCapsule,i.wrapper.firstChild):i.wrapper.appendChild(i.toastCapsule)}isNaN(o.zindex)?console.warn("["+r+"] Invalid zIndex."):i.wrapper.style.zIndex=o.zindex}(),function(){o.overlay&&(document.querySelector("."+r+"-overlay.fadeIn")!==null?(i.overlay=document.querySelector("."+r+"-overlay"),i.overlay.setAttribute("data-iziToast-ref",i.overlay.getAttribute("data-iziToast-ref")+","+o.ref),!isNaN(o.zindex)&&o.zindex!==null&&(i.overlay.style.zIndex=o.zindex-1)):(i.overlay.classList.add(r+"-overlay"),i.overlay.classList.add("fadeIn"),i.overlay.style.background=o.overlayColor,i.overlay.setAttribute("data-iziToast-ref",o.ref),!isNaN(o.zindex)&&o.zindex!==null&&(i.overlay.style.zIndex=o.zindex-1),document.querySelector("body").appendChild(i.overlay)),o.overlayClose?(i.overlay.removeEventListener("click",{}),i.overlay.addEventListener("click",function(p){d.hide(o,i.toast,"overlay")})):i.overlay.removeEventListener("click",{}))}(),function(){if(o.animateInside){i.toast.classList.add(r+"-animateInside");var p=[200,100,300];(o.transitionIn=="bounceInLeft"||o.transitionIn=="bounceInRight")&&(p=[400,200,400]),o.title.length>0&&setTimeout(function(){i.strong.classList.add("slideIn")},p[0]),o.message.length>0&&setTimeout(function(){i.p.classList.add("slideIn")},p[1]),(o.icon||o.iconUrl)&&setTimeout(function(){i.icon.classList.add("revealIn")},p[2]);var v=150;o.buttons.length>0&&i.buttons&&setTimeout(function(){h(i.buttons.childNodes,function(L,A){setTimeout(function(){L.classList.add("revealIn")},v),v=v+150})},o.inputs.length>0?150:0),o.inputs.length>0&&i.inputs&&(v=150,h(i.inputs.childNodes,function(L,A){setTimeout(function(){L.classList.add("revealIn")},v),v=v+150}))}}(),o.onOpening.apply(null,[o,i.toast]);try{var x=new CustomEvent(r+"-opening",{detail:o,bubbles:!0,cancelable:!0});document.dispatchEvent(x)}catch(p){console.warn(p)}setTimeout(function(){i.toast.classList.remove(r+"-opening"),i.toast.classList.add(r+"-opened");try{var p=new CustomEvent(r+"-opened",{detail:o,bubbles:!0,cancelable:!0});document.dispatchEvent(p)}catch(v){console.warn(v)}o.onOpened.apply(null,[o,i.toast])},1e3),o.drag&&(w?(i.toast.addEventListener("touchstart",function(p){H.startMoving(this,d,o,p)},!1),i.toast.addEventListener("touchend",function(p){H.stopMoving(this,p)},!1)):(i.toast.addEventListener("mousedown",function(p){p.preventDefault(),H.startMoving(this,d,o,p)},!1),i.toast.addEventListener("mouseup",function(p){p.preventDefault(),H.stopMoving(this,p)},!1))),o.closeOnEscape&&document.addEventListener("keyup",function(p){p=p||window.event,p.keyCode==27&&d.hide(o,i.toast,"esc")}),o.closeOnClick&&i.toast.addEventListener("click",function(p){d.hide(o,i.toast,"toast")}),d.toast=i.toast},s})})(gt);var is=gt.exports;const me=os(is);const he={timeout:3e3,close:!1,closeOnClick:!0,icon:null,position:"topRight",transitionIn:"fadeInDown",transitionOut:"fadeOutUp"};class X{static success(t){me.success({title:"OK",titleColor:"green",message:t,messageColor:"green",progressBarColor:"green",...he})}static error(t){me.error({title:"Error",titleColor:"red",message:t,messageColor:"red",progressBarColor:"red",...he})}static warning(t){me.warning({title:"Caution",message:t,titleColor:"red",messageColor:"red",progressBarColor:"red",...he})}}const te=document.getElementById("subscribeForm"),bt=te.querySelector('input[name="email"]'),Se=document.getElementById("subscribeBtn");console.dir(Se);bt.addEventListener("input",ls);te.addEventListener("submit",cs);function as(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}function ls(){bt.value}async function cs(e){e.preventDefault();const t=new FormData(te),n=t.get("email");if(!as(n))return console.error("Invalid email address"),X.error("Invalid email address");try{Se.disabled=!0;const r=await k.post("https://your-energy.b.goit.study/api/subscription",t,{headers:{"Content-Type":"application/json"}});return r.status>=200&&r.status<300?(te.reset(),X.success(`${r.data.message}`)):(console.error("Server Error:",r.status,r.statusText),X.error(`Server Error: ${r.status} ${r.statusText}`))}catch(r){return console.error("Error:",r.message),X.error(`Error: ${r.message}`)}finally{Se.disabled=!1}}const us=new le,ne=document.querySelector(".js-list");ne.addEventListener("click",wt);async function wt(e){if(!e.target.closest(".filters__item"))return;ne.removeEventListener("click",wt);const t=e.target.closest(".filters__item"),n=t.children[0].innerText.toLowerCase(),s=t.children[1].innerText.toLowerCase();try{const r=await us.getExercises(n,s);ds(r)}catch(r){console.log(r)}}function ds(e){console.log(e[0]._id),ne.innerHTML="";const t=e.map(({_id:n,name:s,burnedCalories:r,bodyPart:a,target:l})=>` +
  • +

    + +

    ${s}

    +

    Burned calories:${r}

    +

    Body part:${a}

    +

    Target:${l}

    +
  • + `).join("");ne.insertAdjacentHTML("beforeend",t)}var U=document.getElementById("mySVG");U.style.transform="scale(1)";U.style.transition="fill 0.3s ease, transform 0.3s ease";var Et=["var(--color-yellow)","var(--color-black)","var(--color-valid)"],Le=0;U.addEventListener("mouseover",function(){U.style.fill=Et[Le],U.style.transform="scale(1.6) rotate(145deg)"});U.addEventListener("mouseout",function(){U.style.transform="scale(1) rotate(0deg)",Le=(Le+1)%Et.length}); diff --git a/favorites.html b/favorites.html index c5a11fe..39fdbf2 100644 --- a/favorites.html +++ b/favorites.html @@ -14,8 +14,8 @@ /> Your Energy - - + +
    diff --git a/index.html b/index.html index fac9e9b..85418e2 100644 --- a/index.html +++ b/index.html @@ -14,8 +14,8 @@ /> Your Energy - - + +
    @@ -231,7 +231,7 @@

    Quote of the day