diff --git a/assets/scroll-top-4357711a.css b/assets/scroll-top-01e879fc.css similarity index 97% rename from assets/scroll-top-4357711a.css rename to assets/scroll-top-01e879fc.css index 1311c9b..33c8d6c 100644 --- a/assets/scroll-top-4357711a.css +++ b/assets/scroll-top-01e879fc.css @@ -1 +1 @@ -@import"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz@0,9..40;1,9..40&display=swap";/*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4}body{margin:0}hr{height:0;color:inherit}abbr[title]{text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}.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/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfhCQkUEhFovxTxAAAEDklEQVRo3s2ZTWgTQRTH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PhYYFTcihmY2cQ5+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+93zy8jA8zV7YkwYMrjHzRddRsCdiVCwwmh6wg9iTNC7Y9XIF1iS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Toast.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}}h1,h2,h3,h4,h5,h6,p{margin:0}p:last-child{margin-bottom:0}ul{margin:0;padding:0;list-style:none}a{color:currentColor;text-decoration:none}button{cursor:pointer}img{display:block;max-width:100%;height:auto}ul,ol{padding:0;margin:0}:root{--primary-color: #242424;--white-color: #f4f4f4;--black-text-color: #242424;--text-secondary-color: rgba(244, 244, 244, .6);--title-color: rgba(244, 244, 244, .4);--rating-color: rgba(244, 244, 244, .2);--title-secondary-color: rgba(36, 36, 36, .4);--button-disabled-color: rgba(36, 36, 36, .6);--icon-bg-color: rgba(36, 36, 36, .8);--frame-color: rgba(36, 36, 36, .1);--modal-backdrop: rgba(4, 4, 4, .4);--white-bg-color: #fff;--tran-fast: .25s ease-in-out;--tran-icon: .3s ease-in-out;--tran-duration: .5s ease-in-out;--accent-color: #eea10c;--primary-font-family: "DM Sans", Helvetica, Arial, sans-serif}html{scroll-behavior:smooth}body{font-family:var(--primary-font-family);font-size:14px;font-weight:400;font-style:normal;color:var(--primary-color);background-color:var(--white-color);cursor:default}main{display:flex;flex-direction:row}svg{max-width:100%;max-height:100%;vertical-align:top;fill:currentColor}.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}.hidden{display:none!important;visibility:hidden!important}.reset-min-height{min-height:auto!important}.container{max-width:375px;padding-left:20px;padding-right:20px;margin-left:auto;margin-right:auto}@media screen and (max-width: 375px){.container{padding-left:12px;padding-right:12px}}@media screen and (min-width: 768px){.container{max-width:768px;padding-left:32px;padding-right:32px}}@media screen and (min-width: 1440px){.container{max-width:1440px}}.main{display:flex;flex-direction:column}@media screen and (min-width: 1440px){.main{flex-direction:row;flex-direction:row-reverse;gap:32px}}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#fff}::-webkit-scrollbar-thumb{background-color:#242424cc;border-radius:4px}::-webkit-scrollbar-thumb:hover{background-color:#f4f4f433}.header-wrapper{display:flex;align-items:center;justify-content:space-between;padding-top:20px}@media only screen and (min-width: 768px){.header-wrapper{padding-top:24px}}@media only screen and (min-width: 1440px){.header-wrapper{padding-top:32px}}.main-logo{width:132px;height:24px;flex-shrink:0}@media only screen and (min-width: 768px){.menu-btn{display:none}}.menu-btn{border:none}.on-hover:hover,.on-hover:focus{transform:scale(1.1);transition:transform var(--tran-icon)}.backdrop{position:fixed;top:0;bottom:0;left:0;right:0;opacity:1;width:100%;height:100%;z-index:99;background-color:var(--title-secondary-color);transition:opacity var(--tran-duration)}.is-hidden{visibility:hidden;opacity:0;pointer-events:none}.backdrop.visible{opacity:1;pointer-events:auto;transition:opacity var(--tran-duration)}body:has(.menu-container.is-open){overflow:hidden;height:100%}@media only screen and (min-width: 768px){.menu-toggle{display:none}}.menu-container{position:fixed;top:0;right:0;width:210px;height:100%;padding-top:280px;background-color:var(--primary-color);z-index:100;transform:translate(100%)}.menu-container.is-open{transform:translate(0);transition:transform var(--tran-duration)}.menu-toggle{position:absolute;background:transparent;border:none;top:20px;right:20px}.menu-wrapper{margin-bottom:20px}.menu-main{height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:center}.menu-ul{display:flex;flex-direction:column;gap:16px}.menu-li>a{color:var(--white-color);font-size:14px;font-style:normal;font-weight:400;line-height:1.3em}.hero-right-side{display:none}.hero-container{margin-top:80px;margin-bottom:40px;max-width:335px}.hero-text-block{display:flex;position:relative}.hero-text-block-title{font-size:38px;font-style:normal;font-weight:400;line-height:44px;letter-spacing:-2%;text-align:left;margin-bottom:20px}.icon-sun-svg{background-image:url(/finalJSProject-yourEnergy/assets/sun-c5b432e0.svg);position:absolute;top:3px;display:flex;justify-content:center;align-items:center;width:40px;height:40px}.hero-text-block-part{font-style:italic}.hero-text-block-phrase{font-size:14px;font-style:normal;font-weight:400;line-height:18px;letter-spacing:-2%;text-align:left;max-width:335px;margin-bottom:20px}.hero-img{display:block;background-color:#505050;background-image:url(/finalJSProject-yourEnergy/assets/hero-main-mob-4f88902f.jpg);background-repeat:no-repeat;background-position:center;background-size:cover;border-radius:30px;height:460px;margin-bottom:20px}.hashtag-block-list{display:flex;justify-content:space-between}.hashtag-block-item{text-align:center;padding:4px 12px;border:1px solid var(--primary-color);border-radius:30px;font-size:14px;line-height:18px;letter-spacing:0px}@media screen and (min-device-pixel-ratio: 2),(min-resolution: 192dpi),(min-resolution: 2dppx){.hero-img{background-image:url(/finalJSProject-yourEnergy/assets/hero-main-mob@2x-8d30b57e.jpg)}}@media screen and (min-width: 768px){.hero-container{margin-top:100px;margin-bottom:64px;max-width:704px}.hero-text-block-title{max-width:639px;font-size:74px;line-height:74px;margin-bottom:20px}.icon-sun-svg{top:8px;display:flex;justify-content:center;align-items:center;background-size:cover;width:60px;height:60px}.hero-text-block-phrase{font-size:18px;line-height:24px;max-width:528px;margin-bottom:32px}.hero-img{background-color:#505050;background-image:url(/finalJSProject-yourEnergy/assets/hero-main-tablet-c3da5f55.jpg);border-radius:60px;height:550px;margin-bottom:16px}.hashtag-block{margin-left:auto;max-width:396px}.hashtag-block-item-text{font-size:18px;line-height:24px}}@media screen and (min-width: 768px) and (min-device-pixel-ratio: 2),(min-width: 768px) and (min-resolution: 192dpi),(min-width: 768px) and (min-resolution: 2dppx){.hero-img{background-image:url(/finalJSProject-yourEnergy/assets/hero-main-tablet@2x-5389fd20.jpg)}}@media screen and (min-width: 1440px){.hero-container{position:relative;display:flex;flex-wrap:wrap;justify-content:space-between;max-width:1376px;margin-top:96px;margin-bottom:64px}.hero-right-side{display:block;width:168px;height:100px;background-color:#505050;background-image:url(/finalJSProject-yourEnergy/assets/preview-exercise-d6a14bdc.jpg);border-radius:20px;background-repeat:no-repeat;background-size:cover}.hero-right-side{max-width:640px}.hero-text-block-title{font-size:74px;font-style:normal;font-weight:400;line-height:74px;text-align:left;width:640px}.hero-text-block-phrase{font-size:18px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:-2%;text-align:left;width:528px}.hashtag-block{position:absolute;top:132px;right:0}.hashtag-block-list{display:flex;flex-wrap:wrap;max-width:197px;max-height:80px}.hashtag-block-item{text-align:center;padding:4px 16px;border:1px solid var(--primary-color);border-radius:30px;margin-bottom:4px}.hashtag-block-item-text{font-size:16px;line-height:24px}.hero-img{width:1376px;height:350px;background-color:#505050;background-image:url(/finalJSProject-yourEnergy/assets/hero-main-bdc4e48b.jpg);background-repeat:no-repeat;background-size:cover;border-radius:60px}}@media screen and (min-width: 1440px) and (min-device-pixel-ratio: 2),(min-width: 1440px) and (min-resolution: 192dpi),(min-width: 1440px) and (min-resolution: 2dppx){.hero-img{background-image:url(/finalJSProject-yourEnergy/assets/hero-main@2x-f24fe3bc.jpg)}.hero-right-side{background-image:url(/finalJSProject-yourEnergy/assets/preview-exercise@2x-2b01e8f2.jpg)}}.sidebar-container{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;margin-bottom:80px}@media (min-width: 768px){.sidebar-container{flex-direction:row;flex-wrap:wrap;align-items:unset;justify-content:unset;column-gap:16px;row-gap:32px;margin-bottom:100px}.favorites .sidebar-container{margin-bottom:0}}@media (min-width: 1440px){.sidebar-container{flex-direction:column;align-items:unset;justify-content:unset;gap:32px;margin-bottom:0}}.favorites .sidebar-container{margin-bottom:0}.photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-mob@1x-5d3f515e.jpg);background-position:center;background-size:cover;border-radius:20px;width:335px;height:242px}@media screen and (min-device-pixel-ratio: 2),(min-resolution: 192dpi),(min-resolution: 2dppx){.photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-mob@2x-a716cab2.jpg)}}@media (min-width: 768px){.photo-base-card{width:288px;height:249px;background-image:url(/finalJSProject-yourEnergy/assets/sidebar-tabl@1x-ca75807d.jpg)}}@media screen and (min-width: 768px) and (min-device-pixel-ratio: 2),(min-width: 768px) and (min-resolution: 192dpi),(min-width: 768px) and (min-resolution: 2dppx){.photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-tabl@2x-5b50bde9.jpg)}}@media (min-width: 1440px){.photo-base-card{width:444px;height:242px;background-image:url(/finalJSProject-yourEnergy/assets/sidebar-desk@1x-774e5bf4.jpg)}}@media screen and (min-width: 1440px) and (min-device-pixel-ratio: 2),(min-width: 1440px) and (min-resolution: 192dpi),(min-width: 1440px) and (min-resolution: 2dppx){.photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-desk@2x-7fd43557.jpg)}}.daily-norm-card{background-color:var(--white-bg-color);border-radius:20px;width:335px;height:201px;padding:20px}@media (min-width: 768px){.daily-norm-card{width:400px;height:249px;padding:40px}}@media (min-width: 1440px){.daily-norm-card{width:444px;height:315px}}.daily-norm-card-wrapper{display:flex;gap:16px}.daily-norm-card-title-wrapper,.daily-norm-card-text-wrapper{display:flex;flex-direction:column}.daily-norm-card-title-wrapper{gap:2px}.daily-norm-card-text-wrapper{gap:16px}@media (min-width: 768px){.daily-norm-card-text-wrapper{gap:20px}}.daily-norm-card-icon-svg{max-width:unset!important}.daily-norm-card-title{font-size:20px}@media (min-width: 768px){.daily-norm-card-title{font-size:24px}}.daily-norm-card-subtitle{color:var(--button-disabled-color);font-size:14px}.daily-norm-card-text{font-size:14px;line-height:18px;max-height:6.5em;overflow:hidden}@media (min-width: 1440px){.daily-norm-card-text{max-height:unset}}.favorites .daily-norm-card-text{display:none}.favorites .daily-norm-card{width:335px;height:119px}.favorites .photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-mob@1x-0ae92a1a.jpg);background-position:center;background-size:cover;border-radius:20px;width:335px;height:119px}@media screen and (min-device-pixel-ratio: 2),(min-resolution: 192dpi),(min-resolution: 2dppx){.favorites .photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-mob@2x-1d302f27.jpg)}}@media (min-width: 768px){.favorites .photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-mob@1x-0ae92a1a.jpg)}}@media screen and (min-width: 768px) and (min-device-pixel-ratio: 2),(min-width: 768px) and (min-resolution: 192dpi),(min-width: 768px) and (min-resolution: 2dppx){.favorites .photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-mob@2x-1d302f27.jpg)}}@media (min-width: 1440px){.favorites .photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-desk@1x-61eb628f.jpg)}}@media screen and (min-width: 1440px) and (min-device-pixel-ratio: 2),(min-width: 1440px) and (min-resolution: 192dpi),(min-width: 1440px) and (min-resolution: 2dppx){.favorites .photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-desk@2x-e3534ab7.jpg)}}@media (min-width: 768px){.favorites .sidebar-container{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;grid-gap:16px}.favorites .quote-of-the-day{grid-column:1 / span 2;width:704px}.favorites .photo-base-card,.favorites .daily-norm-card{width:344px;height:141px}}@media (min-width: 1440px){.favorites .quote-of-the-day{width:494px}.favorites .photo-base-card,.favorites .daily-norm-card{width:239px;height:141px}}.main-section-head{padding:20px 0}@media screen and (min-width: 768px){.main-section-head{padding:32px 0}}.main-section-head .container{display:flex;flex-direction:column;gap:40px;justify-content:space-between}@media screen and (min-width: 768px){.main-section-head .container{gap:32px}}@media screen and (min-width: 1440px){.main-section-head .container{flex-direction:row}}.main-section-head h2.bradcrumbs-active{cursor:pointer}.main-section-head h2.bradcrumbs-active:hover{text-decoration:underline}.main-section-head h2,.main-section-head .bradcrumbs-inner{color:var(--black-text-color);font-size:2rem;line-height:1.5rem;letter-spacing:-.56px;font-weight:400}@media screen and (min-width: 768px){.main-section-head h2,.main-section-head .bradcrumbs-inner{font-size:3.14rem;line-height:1.09rem;letter-spacing:-.88px}}.main-section-head p{color:var(--title-secondary-color);font-size:1.43rem;line-height:1.43rem;letter-spacing:-.4px}@media screen and (min-width: 768px){.main-section-head p{font-size:1.71rem;line-height:1.33rem;letter-spacing:-.48px}}.main-section-head .head-navigation{display:flex;flex-direction:row;gap:8px;align-items:center;width:100%}.main-section-head .gallary-nav{display:flex;flex-direction:column;gap:20px;width:100%}@media screen and (min-width: 768px){.main-section-head .gallary-nav{flex-direction:row;justify-content:space-between;align-items:center}}@media screen and (min-width: 1440px){.main-section-head .gallary-nav{gap:30px;justify-content:flex-end}}.main-section-head .form-control{width:100%}@media screen and (min-width: 768px){.main-section-head .form-control{width:273px}}.main-section-head .input{width:100%}.main-section-head .filter-block{display:flex;flex-direction:row;gap:20px;align-items:flex-start}.filter-block .filter-item{color:var(--title-secondary-color);line-height:1.43rem;border:0px;background:transparent}@media screen and (min-width: 768px){.filter-block .filter-item{font-size:1.14rem;line-height:1.5rem}}.filter-block .filter-item.active{color:var(--black-text-color)}.filter-block .filter-item.active:after{content:"";display:block;width:100%;height:4px;background-color:var(--black-text-color);margin-top:4px}.filter-block .filter-item:hover,.filter-block .filter-item:focus{color:var(--black-text-color)}input:placeholder-shown+.control-buttons .button-icon-clear{display:none}.footer{background-color:var(--primary-color);color:var(--white-color);padding-top:40px;padding-bottom:10px;margin-top:auto}@media screen and (min-width: 768px){.footer{padding-top:64px;padding-bottom:16px}}.footer-wrapper{display:flex;flex-direction:column;justify-content:space-between;gap:40px;margin-bottom:120px}@media screen and (min-width: 768px){.footer-wrapper{flex-direction:row;gap:114px;margin-bottom:64px}}@media screen and (min-width: 1440px){.footer-wrapper{gap:158px;margin-bottom:70px}}.footer-nav-wrapper{display:flex;flex-direction:column;align-items:start;gap:20px}@media screen and (min-width: 768px){.footer-nav-wrapper{gap:32px}}.footer-title-wrapper{display:flex;flex-direction:column;justify-content:space-between;gap:20px}@media screen and (min-width: 768px){.footer-title-wrapper{gap:32px}}@media screen and (min-width: 1440px){.footer-title-wrapper{flex-direction:row;gap:115px}}.footer-title{max-width:595px;font-size:38px;font-weight:400;line-height:1.16em;letter-spacing:-2%}@media screen and (min-width: 768px){.footer-title{font-size:56px;line-height:1.07em}}.footer-title-span{font-style:italic}.footer-form-title{margin-bottom:20px;font-size:14px}@media screen and (min-width: 768px){.footer-form-title{font-size:18px}}.footer-form{max-width:100%}@media screen and (min-width: 768px){.footer-form{width:352px}}.footer-input{width:100%;margin-bottom:20px}.footer-button{width:100%}.footer-copyright{display:flex;justify-content:space-between;align-items:end;font-size:14px;line-height:1.3em;letter-spacing:-2%}@media only screen and (min-width: 768px){.footer-copyright{display:flex;justify-content:space-between;padding-top:16px}}@media only screen and (min-width: 1280px){.footer-copyright{padding-top:24px}}.copyright-wrapper{display:flex;flex-direction:column}@media only screen and (min-width: 768px){.copyright-wrapper{flex-direction:row}}.copyright-text{display:inline-block;margin-bottom:10px}@media only screen and (min-width: 768px){.copyright-text{margin-bottom:0;margin-right:78px}}@media only screen and (min-width: 1440px){.copyright-text{margin-right:122px}}@media only screen and (min-width: 1440px){.copyright-year{margin-right:308px}}.card-item{list-style:none;position:relative;width:335px;height:225px;background-size:cover;background-position:center;color:var(--white-color);display:flex;justify-content:center;align-items:center;cursor:pointer;border-radius:12px;background-color:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5))}.card-item:hover{box-shadow:0 0 10px #000c}.card-text{display:flex;flex-direction:column;align-items:center;z-index:1}.card-text-title{font-size:20px;text-align:center;text-transform:capitalize}.card-text-subtitle{opacity:.4;font-size:12px}@media (min-width: 768px){.card-item{width:225px;height:225px}.card-text-title{font-size:24px}}@media (min-width: 1440px){.card-item{width:290px;height:242px}}.ex-item{list-style:none;background-color:var(--white-bg-color);border-radius:15px;padding:16px;width:335px;height:141px;position:relative}@media (min-width: 768px){.ex-item{width:344px}}@media (min-width: 1440px){.ex-item{width:442px}}.ex-item-wrapper{display:flex;flex-direction:column;gap:25px}.ex-item-header{display:flex;justify-content:space-between;align-items:center}.ex-item-header-right-row{display:flex;gap:16px}.ex-item-workout{font-size:12px;padding:5px 8px;border-radius:15px;border:1px solid var(--primary-color)}.ex-item-rating{display:flex;gap:2px;align-items:center}.ex-item-rating-text{font-size:12px}.ex-item-start{display:flex;gap:9px;align-items:center;cursor:pointer}.ex-item-start-text{font-size:14px;border:none;background-color:transparent}@media (min-width: 768px){.ex-item-start-text{font-size:16px}}.ex-item-start-icon{width:13px;height:13px}.ex-item-body{display:flex;flex-direction:column;gap:16px}.ex-item-title{display:flex;align-items:center;gap:16px}.ex-item-title-icon{flex-shrink:0;width:24px;height:24px;padding:6px;border-radius:50%;background-color:#000;color:var(--white-bg-color)}.ex-item-title-ex:first-letter{text-transform:capitalize}.ex-item-title-ex{font-size:20px}@media (min-width: 768px){.ex-item-title-ex{font-size:24px}}.ex-item-footer{display:flex;gap:16px;font-size:12px}.ex-item-gray-text{color:var(--title-secondary-color)}.ex-item-calories,.ex-item-bodypart,.ex-item-target,.ex-item-title-ex{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ex-item-bodypart,.ex-item-target{width:33%}.ex-item-calories{width:50%}.ex-fav-item{list-style:none;background-color:var(--white-bg-color);border-radius:15px;padding:16px;width:335px;height:141px}@media (min-width: 768px){.ex-fav-item{width:344px}}@media (min-width: 1440px){.ex-fav-item{width:calc((100% - 16px)/2)}}.ex-item-trash-icon{display:flex;align-items:center;border:none;background-color:transparent;cursor:pointer}.ex-item-header-right-row-fav{display:flex;gap:8px}.ex-item-title{position:relative;z-index:1}.tooltip{position:relative}.tooltip:hover:after{content:attr(data-tooltip);position:absolute;left:34px;top:35px;font-size:16px;padding:5px 10px;background-color:#fff;border:1px black solid;border-radius:20px;text-transform:capitalize;opacity:1;transition:opacity .3s ease-in-out}.tooltip:after{content:"";position:absolute;opacity:0;transition:opacity .3s ease-in-out}.overlay{height:100vh;width:100vw;position:fixed;top:0;bottom:0;z-index:100;overflow:hidden;background:var(--title-secondary-color);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-exercise{position:absolute;top:50%;left:50%;z-index:100;min-width:375px;max-width:100%;max-height:100vh;padding:40px 20px;border-radius:20px;background-color:var(--black-text-color);transform:translate(-50%,-50%)}@media screen and (min-width: 768px){.modal-exercise{width:704px;padding:32px}}@media screen and (min-width: 1440px){.modal-exercise{width:708px}}.modal-exercise__container{max-height:calc(100vh - 160px);overflow-y:auto;margin-bottom:10px}@media screen and (min-width: 768px){.modal-exercise__container{display:flex;gap:32px}}.modal-exercise__btn-close{position:absolute;top:14px;right:14px;padding:0;stroke:var(--white-color);background-color:transparent;border:none}@media screen and (min-width: 768px){.modal-exercise__btn-close{top:16px;right:16px}}.modal-exercise__btn-close svg{transition:transform .45s}.modal-exercise__btn-close svg:hover{transform:rotate(180deg)}.modal-exercise__img{width:100%;height:258px;margin-bottom:20px;border-radius:12px}@media screen and (min-width: 768px){.modal-exercise__img{width:270px;margin-bottom:0}}.modal-exercise__name{margin-bottom:10px;font-size:20px;font-weight:500;line-height:1;color:var(--white-color)}.modal-exercise__name:first-letter{text-transform:uppercase}@media screen and (min-width: 768px){.modal-exercise__name{margin-bottom:8px;font-size:24px;line-height:1.33}}.modal-exercise__rating{display:flex;align-items:center;gap:4px;margin-bottom:30px;font-size:12px;line-height:1.5;color:var(--white-color)}@media screen and (min-width: 768px){.modal-exercise__rating{margin-bottom:24px}}.modal-exercise__attributes{margin-bottom:40px}@media screen and (min-width: 768px){.modal-exercise__attributes{margin-bottom:64px}}.modal-exercise__list{position:relative;display:flex;flex-wrap:wrap;gap:20px;margin-bottom:30px}@media screen and (min-width: 768px){.modal-exercise__list{gap:16px;margin-bottom:24px}}.modal-exercise__list:before,.modal-exercise__list:after{position:absolute;height:1px;width:100%;background-color:var(--rating-color);content:""}.modal-exercise__list:before{top:-10px;left:0}.modal-exercise__list:after{bottom:-10px;left:0}@media screen and (min-width: 768px){.modal-exercise__list:before{top:-8px}.modal-exercise__list:after{bottom:-8px}}.modal-exercise__title{margin-bottom:4px;font-size:12px;font-weight:400;line-height:1.5;color:var(--title-color)}.modal-exercise__text{font-size:14px;font-weight:500;line-height:1.28;color:var(--white-color)}.modal-exercise__text:first-letter{text-transform:uppercase}.modal-exercise__description{font-size:14px;line-height:1.28;color:var(--text-secondary-color)}.modal-exercise__btn-container{display:flex;flex-direction:column;align-items:center;gap:10px}@media screen and (min-width: 768px){.modal-exercise__btn-container{flex-direction:row;justify-content:end;gap:7px}}@media screen and (max-width: 767px){.modal-exercise__btn{width:100%}}.modal-exercise__svg{fill:none;stroke:var(--icon-bg-color);transition:all .3s ease}.button-with-icon:hover .modal-exercise__svg,.button-with-icon:focus-visible .modal-exercise__svg{stroke:var(--white-color)}.form-control{position:relative}.button-icon{background-color:transparent;border:none}.subscribe-form{display:flex;flex-direction:column;gap:20px}.input{display:flex;align-items:center;height:44px;padding:0 14px;font-size:14px;line-height:1.5;color:var(--primary-color);border:1px solid var(--primary-color);border-radius:30px;background-color:var(--white-color);background-color:#fff}.input::placeholder{color:var(--primary-color)}.input-email{height:42px;width:100%;color:var(--text-secondary-color);border:1px solid var(--white-color);background-color:var(--primary-color)}.input-email::placeholder{color:var(--text-secondary-color)}@media (min-width: 768px){.input{height:48px;font-size:16px}}.control-buttons{position:absolute;top:50%;right:12px;display:flex;justify-content:center;align-items:center;gap:6px;transform:translateY(-50%)}.button-icon{padding:0;height:18px;width:18px;color:var(--primary-color)}.button-icon svg{fill:none}.button-icon-clear{padding:0;height:18px;width:18px;color:var(--primary-color)}.button{padding:0 24px;height:42px;font-size:14px;line-height:1.28;color:var(--white-color);background-color:var(--primary-color);border:1px solid var(--white-color);border-radius:30px;transition:all var(--tran-icon)}.button:hover,.button:focus{color:var(--primary-color);border-color:var(--primary-color);background-color:var(--white-color)}.button-white{color:var(--primary-color);border:1px solid transparent;background-color:var(--white-color)}.button-white:hover,.button-white:focus-visible{color:var(--white-color);border-color:var(--white-color);background-color:var(--primary-color)}.button-with-icon{display:flex;justify-content:center;align-items:center;gap:8px}@media (min-width: 768px){.button{font-size:16px;line-height:1.5;height:48px}}.toggle-bar{display:none}@media (min-width: 768px){.toggle-bar{display:flex;justify-content:center;align-items:center;padding:8px 34px;width:fit-content;background-color:var(--primary-color);border-radius:60px}}.social-icons-ul{display:flex;justify-content:center;gap:12px}.social-icon-li{width:44px;height:44px;opacity:.8}@media only screen and (max-width: 767px){.socials{display:none}}@media (max-width: 767px){.menu-wrapper .social-icon-li{width:40px;height:40px}}@media (max-width: 767px){.footer .social-icon-li{width:40px;height:40px}}.footer .social-icon-link,.menu-wrapper .social-icon-link{border:1px solid var(--title-color)}.social-icon-link{display:block;width:100%;height:100%;padding:8px;border-radius:10px;border:1px solid var(--frame-color)}.menu-wrapper .social-icon-link{color:var(--white-color)}.social-icon-link svg{fill:currentColor}.social-icon-link:hover,.social-icon-link:focus{background-color:var(--primary-color);color:var(--white-color);border:1px solid transparent;transition:all var(--tran-icon)}.menu-wrapper .social-icon-link:hover,.menu-wrapper .social-icon-link:focus,.footer .social-icon-link:hover,.footer .social-icon-link:focus{background-color:var(--white-color);color:var(--primary-color);transition:all var(--tran-icon)}@media (min-width: 1440px){.toggle-bar{padding:8px 50px}}.toggle-bar .nav-link{padding:6px 12px;font-size:16px;line-height:1.5;color:var(--white-color)}.homepage .toggle-bar .home-nav-link,.favorites .toggle-bar .fav-nav-link{color:var(--primary-color);background-color:var(--white-color);border-radius:30px}.scroll-top{position:fixed;bottom:20px;right:20px;z-index:99;transform:translateY(110%);opacity:0;display:inline-flex;justify-content:center;align-items:center;width:40px;height:40px;border:1px solid var(--white-color);outline:none;background-color:var(--primary-color);color:var(--white-color);border-radius:50%;transition:background-color .2s ease-out,color .2s ease-out,opacity .26s ease-in,transform .33s ease-in-out}@media (min-width: 768px){.scroll-top{bottom:40px;right:40px;width:80px;height:80px}}@media (min-width: 1440px){.scroll-top{right:60px;width:100px;height:100px}}.scroll-top:hover{background-color:var(--accent-color);color:var(--primary-color)}.scroll-show{transform:translateY(0);opacity:1}.scroll-icon{fill:currentColor;opacity:.9}@media (min-width: 768px){.scroll-icon{width:32px;height:32px}}@media only screen and (max-width: 767px){.toggle-bar{display:none}}.quote-of-the-day{display:flex;gap:20px;padding:20px;background:var(--primary-color);border-radius:20px;color:var(--white-color);width:335px}@media screen and (min-width: 768px){.quote-of-the-day{padding:40px;gap:16px;width:400px}}@media screen and (min-width: 1440px){.quote-of-the-day{width:444px}}.quote-icon-wrap{flex-shrink:0;width:32px;height:32px;padding:6px;background-color:var(--rating-color);border-radius:50%}.quote-container{display:flex;flex-direction:column;width:100%}.quote-title-container{display:flex;justify-content:space-between;margin-bottom:6px}.quote-title{font-size:24px}.quote-author{font-size:16px}.quote-content{color:var(--text-secondary-color);margin-bottom:10px}@media screen and (min-width: 768px){.quote-commas{width:24px;height:24px}}.filter-block{display:flex;align-items:center;justify-content:center;margin:20px 0}.filter-block>li{height:25px;cursor:pointer}.gallery-filter li.active:after{content:"";display:block;margin-top:4px;width:100%;height:4px;border-radius:2px;background-color:var(--primary-color)}.gallery-content{display:flex;align-items:flex-start;justify-content:left;flex-wrap:wrap;margin-bottom:32px;row-gap:32px;column-gap:15px;align-content:flex-start}@media screen and (max-width: 375px){.gallery-content{max-width:705px;min-height:624px}}@media screen and (min-width: 768px){.gallery-content{width:705px;min-height:660px}}@media screen and (min-width: 1440px){.gallery-content{width:900px;min-height:660px}}.pagination{margin-bottom:80px;text-align:center;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px}@media screen and (min-width: 768px){.pagination{margin-bottom:64px}}@media screen and (min-width: 1440px){.pagination{margin-bottom:132px}}.pagination>button{width:32px;height:32px;font-size:24px;color:#d4d4d4;border:none;background:none;display:flex;justify-content:center;align-items:center}.pagination button.active{border-radius:50%;color:var(--primary-color);border:1px solid var(--primary-color)}main{justify-content:center}.favorites .quote-of-the-day{margin:0}.fav-main{display:flex;flex-direction:column;gap:40px}@media (min-width: 768px){.fav-main{gap:64px}}@media (min-width: 1440px){.fav-main{flex-direction:row;justify-content:space-between;gap:32px;width:1440px;padding-bottom:164px}}.fav-gallery{display:flex;flex-direction:column;align-items:flex-start;justify-content:left;align-content:flex-start;gap:20px}@media (min-width: 768px){.fav-gallery{flex-direction:row;flex-wrap:wrap;gap:32px 16px;padding-bottom:32px}}@media (min-width: 1440px){.fav-gallery{padding-bottom:64px;max-height:490px;width:846px;overflow-y:auto}}.no-fav-workouts{padding-top:20px;max-width:554px;text-align:center}@media (min-width: 768px){.no-fav-workouts{font-size:18px;line-height:1.3;margin:0 auto;padding-top:68px}}@media (min-width: 1400px){.no-fav-workouts{display:flex;flex-direction:column;padding-top:144px}}.title-section{padding-bottom:20px;padding-top:80px}@media (min-width: 768px){.title-section{padding-top:80px;padding-bottom:32px}}@media (min-width: 1440px){.title-section{padding-top:90px}}.fav-title{font-size:28px;font-weight:400;line-height:1.3;color:var(--primary-color)}@media (min-width: 768px){.fav-title{font-size:44px;line-height:1.1}}@media (min-width: 1440px){.favorites .pagination{display:none}}.spinner-backdrop{position:fixed;top:0;bottom:0;left:0;right:0}.spinner-container{position:absolute;top:50%;left:50%;width:50px;height:50px;transform:translate(-50%,-50%)}@media (min-width: 768px){.spinner-container{width:80px;height:80px}}.spinner-container .spinner-child{width:100%;height:100%;position:absolute;left:0;top:0}.spinner-container .spinner-child:before{content:"";display:block;margin:0 auto;width:15%;height:15%;background-color:var(--accent-color);border-radius:100%;-webkit-animation:spinnerBounceDelay 1.2s infinite ease-in-out both;animation:spinnerBounceDelay 1.2s infinite ease-in-out both}.spinner-container .spinner-dot2{-webkit-transform:rotate(30deg);-ms-transform:rotate(30deg);transform:rotate(30deg)}.spinner-container .spinner-dot3{-webkit-transform:rotate(60deg);-ms-transform:rotate(60deg);transform:rotate(60deg)}.spinner-container .spinner-dot4{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.spinner-container .spinner-dot5{-webkit-transform:rotate(120deg);-ms-transform:rotate(120deg);transform:rotate(120deg)}.spinner-container .spinner-dot6{-webkit-transform:rotate(150deg);-ms-transform:rotate(150deg);transform:rotate(150deg)}.spinner-container .spinner-dot7{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.spinner-container .spinner-dot8{-webkit-transform:rotate(210deg);-ms-transform:rotate(210deg);transform:rotate(210deg)}.spinner-container .spinner-dot9{-webkit-transform:rotate(240deg);-ms-transform:rotate(240deg);transform:rotate(240deg)}.spinner-container .spinner-dot10{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.spinner-container .spinner-dot11{-webkit-transform:rotate(300deg);-ms-transform:rotate(300deg);transform:rotate(300deg)}.spinner-container .spinner-dot12{-webkit-transform:rotate(330deg);-ms-transform:rotate(330deg);transform:rotate(330deg)}.spinner-container .spinner-dot2:before{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.spinner-container .spinner-dot3:before{-webkit-animation-delay:-1s;animation-delay:-1s}.spinner-container .spinner-dot4:before{-webkit-animation-delay:-.9s;animation-delay:-.9s}.spinner-container .spinner-dot5:before{-webkit-animation-delay:-.8s;animation-delay:-.8s}.spinner-container .spinner-dot6:before{-webkit-animation-delay:-.7s;animation-delay:-.7s}.spinner-container .spinner-dot7:before{-webkit-animation-delay:-.6s;animation-delay:-.6s}.spinner-container .spinner-dot8:before{-webkit-animation-delay:-.5s;animation-delay:-.5s}.spinner-container .spinner-dot9:before{-webkit-animation-delay:-.4s;animation-delay:-.4s}.spinner-container .spinner-dot10:before{-webkit-animation-delay:-.3s;animation-delay:-.3s}.spinner-container .spinner-dot11:before{-webkit-animation-delay:-.2s;animation-delay:-.2s}.spinner-container .spinner-dot12:before{-webkit-animation-delay:-.1s;animation-delay:-.1s}@keyframes spinnerBounceDelay{0%,80%,to{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}} +@import"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz@0,9..40;1,9..40&display=swap";/*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4}body{margin:0}hr{height:0;color:inherit}abbr[title]{text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}.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-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+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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2+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+1iZodyaocrjXxE0OFeifYYgp0mRIk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6sc/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;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KrwEQ4C6MH7GEXC665buLJG8hlQc4LP4paxfJrOqYVYYY2UARfEIazTbgDg2dB98GebzJd54b8L/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}}h1,h2,h3,h4,h5,h6,p{margin:0}p:last-child{margin-bottom:0}ul{margin:0;padding:0;list-style:none}a{color:currentColor;text-decoration:none}button{cursor:pointer}img{display:block;max-width:100%;height:auto}ul,ol{padding:0;margin:0}:root{--primary-color: #242424;--white-color: #f4f4f4;--black-text-color: #242424;--text-secondary-color: rgba(244, 244, 244, .6);--title-color: rgba(244, 244, 244, .4);--rating-color: rgba(244, 244, 244, .2);--title-secondary-color: rgba(36, 36, 36, .4);--button-disabled-color: rgba(36, 36, 36, .6);--icon-bg-color: rgba(36, 36, 36, .8);--frame-color: rgba(36, 36, 36, .1);--modal-backdrop: rgba(4, 4, 4, .4);--white-bg-color: #fff;--tran-fast: .25s ease-in-out;--tran-icon: .3s ease-in-out;--tran-duration: .5s ease-in-out;--accent-color: #eea10c;--primary-font-family: "DM Sans", Helvetica, Arial, sans-serif}html{scroll-behavior:smooth}body{font-family:var(--primary-font-family);font-size:14px;font-weight:400;font-style:normal;color:var(--primary-color);background-color:var(--white-color);cursor:default}main{display:flex;flex-direction:row}svg{max-width:100%;max-height:100%;vertical-align:top;fill:currentColor}.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}.hidden{display:none!important;visibility:hidden!important}.reset-min-height{min-height:auto!important}.container{max-width:375px;padding-left:20px;padding-right:20px;margin-left:auto;margin-right:auto}@media screen and (max-width: 375px){.container{padding-left:12px;padding-right:12px}}@media screen and (min-width: 768px){.container{max-width:768px;padding-left:32px;padding-right:32px}}@media screen and (min-width: 1440px){.container{max-width:1440px}}.main{display:flex;flex-direction:column}@media screen and (min-width: 1440px){.main{flex-direction:row;flex-direction:row-reverse;gap:32px}}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#fff}::-webkit-scrollbar-thumb{background-color:#242424cc;border-radius:4px}::-webkit-scrollbar-thumb:hover{background-color:#f4f4f433}.header-wrapper{display:flex;align-items:center;justify-content:space-between;padding-top:20px}@media only screen and (min-width: 768px){.header-wrapper{padding-top:24px}}@media only screen and (min-width: 1440px){.header-wrapper{padding-top:32px}}.main-logo{width:132px;height:24px;flex-shrink:0}@media only screen and (min-width: 768px){.menu-btn{display:none}}.menu-btn{border:none}.on-hover:hover,.on-hover:focus{transform:scale(1.1);transition:transform var(--tran-icon)}.backdrop{position:fixed;top:0;bottom:0;left:0;right:0;opacity:1;width:100%;height:100%;z-index:99;background-color:var(--title-secondary-color);transition:opacity var(--tran-duration)}.is-hidden{visibility:hidden;opacity:0;pointer-events:none}.backdrop.visible{opacity:1;pointer-events:auto;transition:opacity var(--tran-duration)}body:has(.menu-container.is-open){overflow:hidden;height:100%}@media only screen and (min-width: 768px){.menu-toggle{display:none}}.menu-container{position:fixed;top:0;right:0;width:210px;height:100%;padding-top:280px;background-color:var(--primary-color);z-index:100;transform:translate(100%)}.menu-container.is-open{transform:translate(0);transition:transform var(--tran-duration)}.menu-toggle{position:absolute;background:transparent;border:none;top:20px;right:20px}.menu-wrapper{margin-bottom:20px}.menu-main{height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:center}.menu-ul{display:flex;flex-direction:column;gap:16px}.menu-li>a{color:var(--white-color);font-size:14px;font-style:normal;font-weight:400;line-height:1.3em}.hero-right-side{display:none}.hero-container{margin-top:80px;margin-bottom:40px;max-width:335px}.hero-text-block{display:flex;position:relative}.hero-text-block-title{font-size:38px;font-style:normal;font-weight:400;line-height:44px;letter-spacing:-2%;text-align:left;margin-bottom:20px}.icon-sun-svg{background-image:url(/finalJSProject-yourEnergy/assets/sun-c5b432e0.svg);position:absolute;top:3px;display:flex;justify-content:center;align-items:center;width:40px;height:40px}.hero-text-block-part{font-style:italic}.hero-text-block-phrase{font-size:14px;font-style:normal;font-weight:400;line-height:18px;letter-spacing:-2%;text-align:left;max-width:335px;margin-bottom:20px}.hero-img{display:block;background-color:#505050;background-image:url(/finalJSProject-yourEnergy/assets/hero-main-mob-4f88902f.jpg);background-repeat:no-repeat;background-position:center;background-size:cover;border-radius:30px;height:460px;margin-bottom:20px}.hashtag-block-list{display:flex;justify-content:space-between}.hashtag-block-item{text-align:center;padding:4px 12px;border:1px solid var(--primary-color);border-radius:30px;font-size:14px;line-height:18px;letter-spacing:0px}@media screen and (min-device-pixel-ratio: 2),(min-resolution: 192dpi),(min-resolution: 2dppx){.hero-img{background-image:url(/finalJSProject-yourEnergy/assets/hero-main-mob@2x-8d30b57e.jpg)}}@media screen and (min-width: 768px){.hero-container{margin-top:100px;margin-bottom:64px;max-width:704px}.hero-text-block-title{max-width:639px;font-size:74px;line-height:74px;margin-bottom:20px}.icon-sun-svg{top:8px;display:flex;justify-content:center;align-items:center;background-size:cover;width:60px;height:60px}.hero-text-block-phrase{font-size:18px;line-height:24px;max-width:528px;margin-bottom:32px}.hero-img{background-color:#505050;background-image:url(/finalJSProject-yourEnergy/assets/hero-main-tablet-c3da5f55.jpg);border-radius:60px;height:550px;margin-bottom:16px}.hashtag-block{margin-left:auto;max-width:396px}.hashtag-block-item-text{font-size:18px;line-height:24px}}@media screen and (min-width: 768px) and (min-device-pixel-ratio: 2),(min-width: 768px) and (min-resolution: 192dpi),(min-width: 768px) and (min-resolution: 2dppx){.hero-img{background-image:url(/finalJSProject-yourEnergy/assets/hero-main-tablet@2x-5389fd20.jpg)}}@media screen and (min-width: 1440px){.hero-container{position:relative;display:flex;flex-wrap:wrap;justify-content:space-between;max-width:1376px;margin-top:96px;margin-bottom:64px}.hero-right-side{display:block;width:168px;height:100px;background-color:#505050;background-image:url(/finalJSProject-yourEnergy/assets/preview-exercise-d6a14bdc.jpg);border-radius:20px;background-repeat:no-repeat;background-size:cover}.hero-right-side{max-width:640px}.hero-text-block-title{font-size:74px;font-style:normal;font-weight:400;line-height:74px;text-align:left;width:640px}.hero-text-block-phrase{font-size:18px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:-2%;text-align:left;width:528px}.hashtag-block{position:absolute;top:132px;right:0}.hashtag-block-list{display:flex;flex-wrap:wrap;max-width:197px;max-height:80px}.hashtag-block-item{text-align:center;padding:4px 16px;border:1px solid var(--primary-color);border-radius:30px;margin-bottom:4px}.hashtag-block-item-text{font-size:16px;line-height:24px}.hero-img{width:1376px;height:350px;background-color:#505050;background-image:url(/finalJSProject-yourEnergy/assets/hero-main-bdc4e48b.jpg);background-repeat:no-repeat;background-size:cover;border-radius:60px}}@media screen and (min-width: 1440px) and (min-device-pixel-ratio: 2),(min-width: 1440px) and (min-resolution: 192dpi),(min-width: 1440px) and (min-resolution: 2dppx){.hero-img{background-image:url(/finalJSProject-yourEnergy/assets/hero-main@2x-f24fe3bc.jpg)}.hero-right-side{background-image:url(/finalJSProject-yourEnergy/assets/preview-exercise@2x-2b01e8f2.jpg)}}.sidebar-container{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;margin-bottom:80px}@media (min-width: 768px){.sidebar-container{flex-direction:row;flex-wrap:wrap;align-items:unset;justify-content:unset;column-gap:16px;row-gap:32px;margin-bottom:100px}.favorites .sidebar-container{margin-bottom:0}}@media (min-width: 1440px){.sidebar-container{flex-direction:column;align-items:unset;justify-content:unset;gap:32px;margin-bottom:0}}.favorites .sidebar-container{margin-bottom:0}.photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-mob@1x-5d3f515e.jpg);background-position:center;background-size:cover;border-radius:20px;width:335px;height:242px}@media screen and (min-device-pixel-ratio: 2),(min-resolution: 192dpi),(min-resolution: 2dppx){.photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-mob@2x-a716cab2.jpg)}}@media (min-width: 768px){.photo-base-card{width:288px;height:249px;background-image:url(/finalJSProject-yourEnergy/assets/sidebar-tabl@1x-ca75807d.jpg)}}@media screen and (min-width: 768px) and (min-device-pixel-ratio: 2),(min-width: 768px) and (min-resolution: 192dpi),(min-width: 768px) and (min-resolution: 2dppx){.photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-tabl@2x-5b50bde9.jpg)}}@media (min-width: 1440px){.photo-base-card{width:444px;height:242px;background-image:url(/finalJSProject-yourEnergy/assets/sidebar-desk@1x-774e5bf4.jpg)}}@media screen and (min-width: 1440px) and (min-device-pixel-ratio: 2),(min-width: 1440px) and (min-resolution: 192dpi),(min-width: 1440px) and (min-resolution: 2dppx){.photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-desk@2x-7fd43557.jpg)}}.daily-norm-card{background-color:var(--white-bg-color);border-radius:20px;width:335px;height:201px;padding:20px}@media (min-width: 768px){.daily-norm-card{width:400px;height:249px;padding:40px}}@media (min-width: 1440px){.daily-norm-card{width:444px;height:315px}}.daily-norm-card-wrapper{display:flex;gap:16px}.daily-norm-card-title-wrapper,.daily-norm-card-text-wrapper{display:flex;flex-direction:column}.daily-norm-card-title-wrapper{gap:2px}.daily-norm-card-text-wrapper{gap:16px}@media (min-width: 768px){.daily-norm-card-text-wrapper{gap:20px}}.daily-norm-card-icon-svg{max-width:unset!important}.daily-norm-card-title{font-size:20px}@media (min-width: 768px){.daily-norm-card-title{font-size:24px}}.daily-norm-card-subtitle{color:var(--button-disabled-color);font-size:14px}.daily-norm-card-text{font-size:14px;line-height:18px;max-height:6.5em;overflow:hidden}@media (min-width: 1440px){.daily-norm-card-text{max-height:unset}}.favorites .daily-norm-card-text{display:none}.favorites .daily-norm-card{width:335px;height:119px}.favorites .photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-mob@1x-0ae92a1a.jpg);background-position:center;background-size:cover;border-radius:20px;width:335px;height:119px}@media screen and (min-device-pixel-ratio: 2),(min-resolution: 192dpi),(min-resolution: 2dppx){.favorites .photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-mob@2x-1d302f27.jpg)}}@media (min-width: 768px){.favorites .photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-mob@1x-0ae92a1a.jpg)}}@media screen and (min-width: 768px) and (min-device-pixel-ratio: 2),(min-width: 768px) and (min-resolution: 192dpi),(min-width: 768px) and (min-resolution: 2dppx){.favorites .photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-mob@2x-1d302f27.jpg)}}@media (min-width: 1440px){.favorites .photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-desk@1x-61eb628f.jpg)}}@media screen and (min-width: 1440px) and (min-device-pixel-ratio: 2),(min-width: 1440px) and (min-resolution: 192dpi),(min-width: 1440px) and (min-resolution: 2dppx){.favorites .photo-base-card{background-image:url(/finalJSProject-yourEnergy/assets/sidebar-desk@2x-e3534ab7.jpg)}}@media (min-width: 768px){.favorites .sidebar-container{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;grid-gap:16px}.favorites .quote-of-the-day{grid-column:1 / span 2;width:704px}.favorites .photo-base-card,.favorites .daily-norm-card{width:344px;height:141px}}@media (min-width: 1440px){.favorites .quote-of-the-day{width:494px}.favorites .photo-base-card,.favorites .daily-norm-card{width:239px;height:141px}}.main-section-head{padding:20px 0}@media screen and (min-width: 768px){.main-section-head{padding:32px 0}}.main-section-head .container{display:flex;flex-direction:column;gap:40px;justify-content:space-between}@media screen and (min-width: 768px){.main-section-head .container{gap:32px}}@media screen and (min-width: 1440px){.main-section-head .container{flex-direction:row}}.main-section-head h2.bradcrumbs-active{cursor:pointer}.main-section-head h2.bradcrumbs-active:hover{text-decoration:underline}.main-section-head h2,.main-section-head .bradcrumbs-inner{color:var(--black-text-color);font-size:2rem;line-height:1.5rem;letter-spacing:-.56px;font-weight:400}@media screen and (min-width: 768px){.main-section-head h2,.main-section-head .bradcrumbs-inner{font-size:3.14rem;line-height:1.09rem;letter-spacing:-.88px}}.main-section-head p{color:var(--title-secondary-color);font-size:1.43rem;line-height:1.43rem;letter-spacing:-.4px}@media screen and (min-width: 768px){.main-section-head p{font-size:1.71rem;line-height:1.33rem;letter-spacing:-.48px}}.main-section-head .head-navigation{display:flex;flex-direction:row;gap:8px;align-items:center;width:100%}.main-section-head .gallary-nav{display:flex;flex-direction:column;gap:20px;width:100%}@media screen and (min-width: 768px){.main-section-head .gallary-nav{flex-direction:row;justify-content:space-between;align-items:center}}@media screen and (min-width: 1440px){.main-section-head .gallary-nav{gap:30px;justify-content:flex-end}}.main-section-head .form-control{width:100%}@media screen and (min-width: 768px){.main-section-head .form-control{width:273px}}.main-section-head .input{width:100%}.main-section-head .filter-block{display:flex;flex-direction:row;gap:20px;align-items:flex-start}.filter-block .filter-item{color:var(--title-secondary-color);line-height:1.43rem;border:0px;background:transparent}@media screen and (min-width: 768px){.filter-block .filter-item{font-size:1.14rem;line-height:1.5rem}}.filter-block .filter-item.active{color:var(--black-text-color)}.filter-block .filter-item.active:after{content:"";display:block;width:100%;height:4px;background-color:var(--black-text-color);margin-top:4px}.filter-block .filter-item:hover,.filter-block .filter-item:focus{color:var(--black-text-color)}input:placeholder-shown+.control-buttons .button-icon-clear{display:none}.footer{background-color:var(--primary-color);color:var(--white-color);padding-top:40px;padding-bottom:10px;margin-top:auto}@media screen and (min-width: 768px){.footer{padding-top:64px;padding-bottom:16px}}.footer-wrapper{display:flex;flex-direction:column;justify-content:space-between;gap:40px;margin-bottom:120px}@media screen and (min-width: 768px){.footer-wrapper{flex-direction:row;gap:114px;margin-bottom:64px}}@media screen and (min-width: 1440px){.footer-wrapper{gap:158px;margin-bottom:70px}}.footer-nav-wrapper{display:flex;flex-direction:column;align-items:start;gap:20px}@media screen and (min-width: 768px){.footer-nav-wrapper{gap:32px}}.footer-title-wrapper{display:flex;flex-direction:column;justify-content:space-between;gap:20px}@media screen and (min-width: 768px){.footer-title-wrapper{gap:32px}}@media screen and (min-width: 1440px){.footer-title-wrapper{flex-direction:row;gap:115px}}.footer-title{max-width:595px;font-size:38px;font-weight:400;line-height:1.16em;letter-spacing:-2%}@media screen and (min-width: 768px){.footer-title{font-size:56px;line-height:1.07em}}.footer-title-span{font-style:italic}.footer-form-title{margin-bottom:20px;font-size:14px}@media screen and (min-width: 768px){.footer-form-title{font-size:18px}}.footer-form{max-width:100%}@media screen and (min-width: 768px){.footer-form{width:352px}}.footer-input{width:100%;margin-bottom:20px}.footer-button{width:100%}.footer-copyright{display:flex;justify-content:space-between;align-items:end;font-size:14px;line-height:1.3em;letter-spacing:-2%}@media only screen and (min-width: 768px){.footer-copyright{display:flex;justify-content:space-between;padding-top:16px}}@media only screen and (min-width: 1280px){.footer-copyright{padding-top:24px}}.copyright-wrapper{display:flex;flex-direction:column}@media only screen and (min-width: 768px){.copyright-wrapper{flex-direction:row}}.copyright-text{display:inline-block;margin-bottom:10px}@media only screen and (min-width: 768px){.copyright-text{margin-bottom:0;margin-right:78px}}@media only screen and (min-width: 1440px){.copyright-text{margin-right:122px}}@media only screen and (min-width: 1440px){.copyright-year{margin-right:308px}}.card-item{list-style:none;position:relative;width:335px;height:225px;background-size:cover;background-position:center;color:var(--white-color);display:flex;justify-content:center;align-items:center;cursor:pointer;border-radius:12px;background-color:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5))}.card-item:hover{box-shadow:0 0 10px #000c}.card-text{display:flex;flex-direction:column;align-items:center;z-index:1}.card-text-title{font-size:20px;text-align:center;text-transform:capitalize}.card-text-subtitle{opacity:.4;font-size:12px}@media (min-width: 768px){.card-item{width:225px;height:225px}.card-text-title{font-size:24px}}@media (min-width: 1440px){.card-item{width:290px;height:242px}}.ex-item{list-style:none;background-color:var(--white-bg-color);border-radius:15px;padding:16px;width:335px;height:141px;position:relative}@media (min-width: 768px){.ex-item{width:344px}}@media (min-width: 1440px){.ex-item{width:442px}}.ex-item-wrapper{display:flex;flex-direction:column;gap:25px}.ex-item-header{display:flex;justify-content:space-between;align-items:center}.ex-item-header-right-row{display:flex;gap:16px}.ex-item-workout{font-size:12px;padding:5px 8px;border-radius:15px;border:1px solid var(--primary-color)}.ex-item-rating{display:flex;gap:2px;align-items:center}.ex-item-rating-text{font-size:12px}.ex-item-start{display:flex;gap:9px;align-items:center;cursor:pointer}.ex-item-start-text{font-size:14px;border:none;background-color:transparent}@media (min-width: 768px){.ex-item-start-text{font-size:16px}}.ex-item-start-icon{width:13px;height:13px}.ex-item-body{display:flex;flex-direction:column;gap:16px}.ex-item-title{display:flex;align-items:center;gap:16px}.ex-item-title-icon{flex-shrink:0;width:24px;height:24px;padding:6px;border-radius:50%;background-color:#000;color:var(--white-bg-color)}.ex-item-title-ex:first-letter{text-transform:capitalize}.ex-item-title-ex{font-size:20px}@media (min-width: 768px){.ex-item-title-ex{font-size:24px}}.ex-item-footer{display:flex;gap:16px;font-size:12px}.ex-item-gray-text{color:var(--title-secondary-color)}.ex-item-calories,.ex-item-bodypart,.ex-item-target,.ex-item-title-ex{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ex-item-bodypart,.ex-item-target{width:33%}.ex-item-calories{width:50%}.ex-fav-item{list-style:none;background-color:var(--white-bg-color);border-radius:15px;padding:16px;width:335px;height:141px}@media (min-width: 768px){.ex-fav-item{width:344px}}@media (min-width: 1440px){.ex-fav-item{width:calc((100% - 16px)/2)}}.ex-item-trash-icon{display:flex;align-items:center;border:none;background-color:transparent;cursor:pointer}.ex-item-header-right-row-fav{display:flex;gap:8px}.ex-item-title{position:relative;z-index:1}.tooltip{position:relative}.tooltip:hover:after{content:attr(data-tooltip);position:absolute;left:34px;top:35px;font-size:16px;padding:5px 10px;background-color:#fff;border:1px black solid;border-radius:20px;text-transform:capitalize;opacity:1;transition:opacity .3s ease-in-out}.tooltip:after{content:"";position:absolute;opacity:0;transition:opacity .3s ease-in-out}.overlay{height:100vh;width:100vw;position:fixed;top:0;bottom:0;z-index:100;overflow:hidden;background:var(--title-secondary-color);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-exercise{position:absolute;top:50%;left:50%;z-index:100;min-width:375px;max-width:100%;max-height:100vh;padding:40px 20px;border-radius:20px;background-color:var(--black-text-color);transform:translate(-50%,-50%)}@media screen and (min-width: 768px){.modal-exercise{width:704px;padding:32px}}@media screen and (min-width: 1440px){.modal-exercise{width:708px}}.modal-exercise__container{max-height:calc(100vh - 160px);overflow-y:auto;margin-bottom:10px}@media screen and (min-width: 768px){.modal-exercise__container{display:flex;gap:32px}}.modal-exercise__btn-close{position:absolute;top:14px;right:14px;padding:0;stroke:var(--white-color);background-color:transparent;border:none}@media screen and (min-width: 768px){.modal-exercise__btn-close{top:16px;right:16px}}.modal-exercise__btn-close svg{transition:transform .45s}.modal-exercise__btn-close svg:hover{transform:rotate(180deg)}.modal-exercise__img{width:100%;height:258px;margin-bottom:20px;border-radius:12px}@media screen and (min-width: 768px){.modal-exercise__img{width:270px;margin-bottom:0}}.modal-exercise__name{margin-bottom:10px;font-size:20px;font-weight:500;line-height:1;color:var(--white-color)}.modal-exercise__name:first-letter{text-transform:uppercase}@media screen and (min-width: 768px){.modal-exercise__name{margin-bottom:8px;font-size:24px;line-height:1.33}}.modal-exercise__rating{display:flex;align-items:center;gap:4px;margin-bottom:30px;font-size:12px;line-height:1.5;color:var(--white-color)}@media screen and (min-width: 768px){.modal-exercise__rating{margin-bottom:24px}}.modal-exercise__attributes{margin-bottom:40px}@media screen and (min-width: 768px){.modal-exercise__attributes{margin-bottom:64px}}.modal-exercise__list{position:relative;display:flex;flex-wrap:wrap;gap:20px;margin-bottom:30px}@media screen and (min-width: 768px){.modal-exercise__list{gap:16px;margin-bottom:24px}}.modal-exercise__list:before,.modal-exercise__list:after{position:absolute;height:1px;width:100%;background-color:var(--rating-color);content:""}.modal-exercise__list:before{top:-10px;left:0}.modal-exercise__list:after{bottom:-10px;left:0}@media screen and (min-width: 768px){.modal-exercise__list:before{top:-8px}.modal-exercise__list:after{bottom:-8px}}.modal-exercise__title{margin-bottom:4px;font-size:12px;font-weight:400;line-height:1.5;color:var(--title-color)}.modal-exercise__text{font-size:14px;font-weight:500;line-height:1.28;color:var(--white-color)}.modal-exercise__text:first-letter{text-transform:uppercase}.modal-exercise__description{font-size:14px;line-height:1.28;color:var(--text-secondary-color)}.modal-exercise__btn-container{display:flex;flex-direction:column;align-items:center;gap:10px}@media screen and (min-width: 768px){.modal-exercise__btn-container{flex-direction:row;justify-content:end;gap:7px}}@media screen and (max-width: 767px){.modal-exercise__btn{width:100%}}.modal-exercise__svg{fill:none;stroke:var(--icon-bg-color);transition:all .3s ease}.button-with-icon:hover .modal-exercise__svg,.button-with-icon:focus-visible .modal-exercise__svg{stroke:var(--white-color)}.form-control{position:relative}.button-icon{background-color:transparent;border:none}.subscribe-form{display:flex;flex-direction:column;gap:20px}.input{display:flex;align-items:center;height:44px;padding:0 14px;font-size:14px;line-height:1.5;color:var(--primary-color);border:1px solid var(--primary-color);border-radius:30px;background-color:var(--white-color);background-color:#fff}.input::placeholder{color:var(--primary-color)}.input-email{height:42px;width:100%;color:var(--text-secondary-color);border:1px solid var(--white-color);background-color:var(--primary-color)}.input-email::placeholder{color:var(--text-secondary-color)}@media (min-width: 768px){.input{height:48px;font-size:16px}}.control-buttons{position:absolute;top:50%;right:12px;display:flex;justify-content:center;align-items:center;gap:6px;transform:translateY(-50%)}.button-icon{padding:0;height:18px;width:18px;color:var(--primary-color)}.button-icon svg{fill:none}.button-icon-clear{padding:0;height:18px;width:18px;color:var(--primary-color)}.button{padding:0 24px;height:42px;font-size:14px;line-height:1.28;color:var(--white-color);background-color:var(--primary-color);border:1px solid var(--white-color);border-radius:30px;transition:all var(--tran-icon)}.button:hover,.button:focus{color:var(--primary-color);border-color:var(--primary-color);background-color:var(--white-color)}.button-white{color:var(--primary-color);border:1px solid transparent;background-color:var(--white-color)}.button-white:hover,.button-white:focus-visible{color:var(--white-color);border-color:var(--white-color);background-color:var(--primary-color)}.button-with-icon{display:flex;justify-content:center;align-items:center;gap:8px}@media (min-width: 768px){.button{font-size:16px;line-height:1.5;height:48px}}.toggle-bar{display:none}@media (min-width: 768px){.toggle-bar{display:flex;justify-content:center;align-items:center;padding:8px 34px;width:fit-content;background-color:var(--primary-color);border-radius:60px}}.social-icons-ul{display:flex;justify-content:center;gap:12px}.social-icon-li{width:44px;height:44px;opacity:.8}@media only screen and (max-width: 767px){.socials{display:none}}@media (max-width: 767px){.menu-wrapper .social-icon-li{width:40px;height:40px}}@media (max-width: 767px){.footer .social-icon-li{width:40px;height:40px}}.footer .social-icon-link,.menu-wrapper .social-icon-link{border:1px solid var(--title-color)}.social-icon-link{display:block;width:100%;height:100%;padding:8px;border-radius:10px;border:1px solid var(--frame-color)}.menu-wrapper .social-icon-link{color:var(--white-color)}.social-icon-link svg{fill:currentColor}.social-icon-link:hover,.social-icon-link:focus{background-color:var(--primary-color);color:var(--white-color);border:1px solid transparent;transition:all var(--tran-icon)}.menu-wrapper .social-icon-link:hover,.menu-wrapper .social-icon-link:focus,.footer .social-icon-link:hover,.footer .social-icon-link:focus{background-color:var(--white-color);color:var(--primary-color);transition:all var(--tran-icon)}@media (min-width: 1440px){.toggle-bar{padding:8px 50px}}.toggle-bar .nav-link{padding:6px 12px;font-size:16px;line-height:1.5;color:var(--white-color)}.homepage .toggle-bar .home-nav-link,.favorites .toggle-bar .fav-nav-link{color:var(--primary-color);background-color:var(--white-color);border-radius:30px}.scroll-top{position:fixed;bottom:20px;right:20px;z-index:99;transform:translateY(110%);opacity:0;display:inline-flex;justify-content:center;align-items:center;width:40px;height:40px;border:1px solid var(--white-color);outline:none;background-color:var(--primary-color);color:var(--white-color);border-radius:50%;transition:background-color .2s ease-out,color .2s ease-out,opacity .26s ease-in,transform .33s ease-in-out}@media (min-width: 768px){.scroll-top{bottom:40px;right:40px;width:80px;height:80px}}@media (min-width: 1440px){.scroll-top{right:60px;width:100px;height:100px}}.scroll-top:hover{background-color:var(--accent-color);color:var(--primary-color)}.scroll-show{transform:translateY(0);opacity:1}.scroll-icon{fill:currentColor;opacity:.9}@media (min-width: 768px){.scroll-icon{width:32px;height:32px}}@media only screen and (max-width: 767px){.toggle-bar{display:none}}.quote-of-the-day{display:flex;gap:20px;padding:20px;background:var(--primary-color);border-radius:20px;color:var(--white-color);width:335px}@media screen and (min-width: 768px){.quote-of-the-day{padding:40px;gap:16px;width:400px}}@media screen and (min-width: 1440px){.quote-of-the-day{width:444px}}.quote-icon-wrap{flex-shrink:0;width:32px;height:32px;padding:6px;background-color:var(--rating-color);border-radius:50%}.quote-container{display:flex;flex-direction:column;width:100%}.quote-title-container{display:flex;justify-content:space-between;margin-bottom:6px}.quote-title{font-size:24px}.quote-author{font-size:16px}.quote-content{color:var(--text-secondary-color);margin-bottom:10px}@media screen and (min-width: 768px){.quote-commas{width:24px;height:24px}}.filter-block{display:flex;align-items:center;justify-content:center;margin:20px 0}.filter-block>li{height:25px;cursor:pointer}.gallery-filter li.active:after{content:"";display:block;margin-top:4px;width:100%;height:4px;border-radius:2px;background-color:var(--primary-color)}.gallery-content{display:flex;align-items:flex-start;justify-content:left;flex-wrap:wrap;margin-bottom:32px;row-gap:32px;column-gap:15px;align-content:flex-start}@media screen and (max-width: 375px){.gallery-content{max-width:705px;min-height:624px}}@media screen and (min-width: 768px){.gallery-content{width:705px;min-height:660px}}@media screen and (min-width: 1440px){.gallery-content{width:900px;min-height:660px}}.pagination{margin-bottom:80px;text-align:center;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px}@media screen and (min-width: 768px){.pagination{margin-bottom:64px}}@media screen and (min-width: 1440px){.pagination{margin-bottom:132px}}.pagination>button{width:32px;height:32px;font-size:24px;color:#d4d4d4;border:none;background:none;display:flex;justify-content:center;align-items:center}.pagination button.active{border-radius:50%;color:var(--primary-color);border:1px solid var(--primary-color)}main{justify-content:center}.favorites .quote-of-the-day{margin:0}.fav-main{display:flex;flex-direction:column;gap:40px}@media (min-width: 768px){.fav-main{gap:64px}}@media (min-width: 1440px){.fav-main{flex-direction:row;justify-content:space-between;gap:32px;width:1440px;padding-bottom:164px}}.fav-gallery{display:flex;flex-direction:column;align-items:flex-start;justify-content:left;align-content:flex-start;gap:20px}@media (min-width: 768px){.fav-gallery{flex-direction:row;flex-wrap:wrap;gap:32px 16px;padding-bottom:32px}}@media (min-width: 1440px){.fav-gallery{padding-bottom:64px;max-height:490px;width:846px;overflow-y:auto}}.no-fav-workouts{padding-top:20px;max-width:554px;text-align:center}@media (min-width: 768px){.no-fav-workouts{font-size:18px;line-height:1.3;margin:0 auto;padding-top:68px}}@media (min-width: 1400px){.no-fav-workouts{display:flex;flex-direction:column;padding-top:144px}}.title-section{padding-bottom:20px;padding-top:80px}@media (min-width: 768px){.title-section{padding-top:80px;padding-bottom:32px}}@media (min-width: 1440px){.title-section{padding-top:90px}}.fav-title{font-size:28px;font-weight:400;line-height:1.3;color:var(--primary-color)}@media (min-width: 768px){.fav-title{font-size:44px;line-height:1.1}}@media (min-width: 1440px){.favorites .pagination{display:none}}.spinner-backdrop{position:fixed;top:0;bottom:0;left:0;right:0}.spinner-container{position:absolute;top:50%;left:50%;width:50px;height:50px;transform:translate(-50%,-50%)}@media (min-width: 768px){.spinner-container{width:80px;height:80px}}.spinner-container .spinner-child{width:100%;height:100%;position:absolute;left:0;top:0}.spinner-container .spinner-child:before{content:"";display:block;margin:0 auto;width:15%;height:15%;background-color:var(--accent-color);border-radius:100%;-webkit-animation:spinnerBounceDelay 1.2s infinite ease-in-out both;animation:spinnerBounceDelay 1.2s infinite ease-in-out both}.spinner-container .spinner-dot2{-webkit-transform:rotate(30deg);-ms-transform:rotate(30deg);transform:rotate(30deg)}.spinner-container .spinner-dot3{-webkit-transform:rotate(60deg);-ms-transform:rotate(60deg);transform:rotate(60deg)}.spinner-container .spinner-dot4{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.spinner-container .spinner-dot5{-webkit-transform:rotate(120deg);-ms-transform:rotate(120deg);transform:rotate(120deg)}.spinner-container .spinner-dot6{-webkit-transform:rotate(150deg);-ms-transform:rotate(150deg);transform:rotate(150deg)}.spinner-container .spinner-dot7{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.spinner-container .spinner-dot8{-webkit-transform:rotate(210deg);-ms-transform:rotate(210deg);transform:rotate(210deg)}.spinner-container .spinner-dot9{-webkit-transform:rotate(240deg);-ms-transform:rotate(240deg);transform:rotate(240deg)}.spinner-container .spinner-dot10{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.spinner-container .spinner-dot11{-webkit-transform:rotate(300deg);-ms-transform:rotate(300deg);transform:rotate(300deg)}.spinner-container .spinner-dot12{-webkit-transform:rotate(330deg);-ms-transform:rotate(330deg);transform:rotate(330deg)}.spinner-container .spinner-dot2:before{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.spinner-container .spinner-dot3:before{-webkit-animation-delay:-1s;animation-delay:-1s}.spinner-container .spinner-dot4:before{-webkit-animation-delay:-.9s;animation-delay:-.9s}.spinner-container .spinner-dot5:before{-webkit-animation-delay:-.8s;animation-delay:-.8s}.spinner-container .spinner-dot6:before{-webkit-animation-delay:-.7s;animation-delay:-.7s}.spinner-container .spinner-dot7:before{-webkit-animation-delay:-.6s;animation-delay:-.6s}.spinner-container .spinner-dot8:before{-webkit-animation-delay:-.5s;animation-delay:-.5s}.spinner-container .spinner-dot9:before{-webkit-animation-delay:-.4s;animation-delay:-.4s}.spinner-container .spinner-dot10:before{-webkit-animation-delay:-.3s;animation-delay:-.3s}.spinner-container .spinner-dot11:before{-webkit-animation-delay:-.2s;animation-delay:-.2s}.spinner-container .spinner-dot12:before{-webkit-animation-delay:-.1s;animation-delay:-.1s}@keyframes spinnerBounceDelay{0%,80%,to{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}.modal-rating{position:absolute;top:50%;left:50%;z-index:100;min-width:335px;padding:40px 20px;border-radius:20px;background-color:var(--black-text-color);transform:translate(-50%,-50%)}@media screen and (min-width: 768px){.modal-rating{width:430px;padding:40px}}.modal-rating__btn-close{position:absolute;top:14px;right:14px;padding:0;stroke:var(--white-color);background-color:transparent;border:none}@media screen and (min-width: 768px){.modal-rating__btn-close{top:16px;right:16px}}.modal-rating__btn-close svg{transition:transform .45s}.modal-rating__btn-close svg:hover{transform:rotate(180deg)}.modal-rating__rating{display:flex;align-items:center;gap:4px;margin-bottom:20px;font-size:12px;line-height:1.5;color:var(--white-color)}@media screen and (min-width: 768px){.modal-rating__rating{margin-bottom:32px}}.modal-rating__rating polygon{fill:var(--rating-color)}.modal-rating__form{display:flex;flex-direction:column}.modal-rating__email{width:100%;margin-bottom:10px;padding:12px 14px;font-size:14px;font-style:normal;font-weight:400;line-height:18px;border-radius:30px;border:1px solid var(--white-color);color:var(--white-color);background-color:transparent}@media screen and (min-width: 768px){.modal-rating__email{margin-bottom:16px;font-size:16px;line-height:24px}}.modal-rating__comment{height:94px;width:100%;margin-bottom:20px;padding:12px 14px;font-size:14px;font-style:normal;font-weight:400;line-height:18px;border:1px solid var(--white-color);border-radius:15px;color:var(--white-color);background-color:transparent}@media screen and (min-width: 768px){.modal-rating__comment{margin-bottom:32px;font-size:16px;line-height:24px}}.modal-rating__button{width:100%} diff --git a/assets/scroll-top-0dcb77ba.js b/assets/scroll-top-0dcb77ba.js deleted file mode 100644 index 8a4ce65..0000000 --- a/assets/scroll-top-0dcb77ba.js +++ /dev/null @@ -1,69 +0,0 @@ -import{i as q}from"./vendor-ab977035.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))s(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function o(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerPolicy&&(r.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?r.credentials="include":n.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(n){if(n.ep)return;n.ep=!0;const r=o(n);fetch(n.href,r)}})();const d="https://your-energy.b.goit.study/api",u=async(e,t,o)=>{const r=await fetch(e,{headers:{"Content-type":"application/json"},method:t,body:o});if(!r.ok)throw new Error(`Error: status: ${r.status}, ${r.statusText}`);return r.json()},I={async getExercises(e){const t=new URLSearchParams(e),o=`${d}/exercises?${t}`;return await u(o)},async getExercisesId(e){const t=`${d}/exercises/${e}`;return await u(t)},async editExercisesIdRating(e,t){const o="PATCH",s=`${d}/exercises/${e}/rating`,n=JSON.stringify(t);return await u(s,o,n)},async getExercisesFilter(e){const t=new URLSearchParams(e),o=`${d}/filters?${t}`;return await u(o)},async getExercisesQuote(){const e=`${d}/quote`;return await u(e)},async addSubscription(e){const t="POST",o=`${d}/subscription`,s=JSON.stringify(e);return await u(o,t,s)}},w=(e,t,o)=>{q.show({message:e,drag:!0,close:!1,timeout:o??5e3,position:"topRight",messageColor:"#2a2a2a",closeOnClick:!0,animateInside:!0,backgroundColor:t??"#fca664"})},c=function(e){const t=document.querySelector(".js-spinner");e?t.classList.remove("hidden"):setTimeout(()=>t.classList.add("hidden"),300)},$={content:document.querySelector(".js-quote-content"),author:document.querySelector(".js-quote-author")};function N(){const e=localStorage.getItem("quoteData");if(e){const{quote:t,author:o,date:s}=JSON.parse(e),n=new Date(s),r=new Date;if(n.getDate()===r.getDate()){M(t,o);return}}G()}N();async function G(){try{c(!0);const e=await I.getExercisesQuote(),{quote:t,author:o}=e,s={quote:t,author:o,date:new Date};localStorage.setItem("quoteData",JSON.stringify(s)),M(t,o)}catch(e){w(e.message)}finally{c(!1)}}function M(e,t){$.content.textContent=e,$.author.textContent=t}q.settings({timeout:3e3,resetOnHover:!0,icon:"material-icons",transitionIn:"flipInX",transitionOut:"flipOutX",position:"topRight"});function U(){document.querySelector(".js-gallery-scroll").scrollIntoView({behavior:"smooth"})}function W(e,t){return e+1<=t?100:e>t?0:t%1*100}const _=document.querySelector(".js-pagination");let v;_.addEventListener("click",J);function H(e,t,o,s){if(e===1){_.innerHTML="";return}let n="";for(let r=1;r<=e;r++){const i=r===o.page;n+=``}v={method:t,isLocal:s,params:o},_.innerHTML=n}function J(e){var s;if(e.target===e.currentTarget)return;const t=e.target,o=Number(t.textContent);(s=[..._.children].find(n=>n.classList.contains("active")))==null||s.classList.remove("active"),t.classList.add("active"),v.isLocal?T(o):v.method({...v.params,page:o}),U()}const j=768,Q=10,K=9,z=12,V=9,X=1440,Y=window.innerWidtha.querySelector(`.${l}`)),{_id:f,name:g,bodyPart:E,target:B,burnedCalories:P}=e[i];if([B,P,E,g].forEach((l,F)=>{m[F].textContent=l}),a.setAttribute("id",f),g.length>ee){const l=a.querySelector(".js-tooltip");l.dataset.tooltip=g,l.classList.add("tooltip")}n.appendChild(a)}r.replaceChildren(n)}const ie="/finalJSProject-yourEnergy/assets/example-img-2998cc5c.jpg";function ae(e){let t=JSON.parse(localStorage.getItem("favWorkouts"))||[];t.some(s=>s._id===e._id)||(t.push(e),localStorage.setItem("favWorkouts",JSON.stringify(t)))}function ce(e){let t=JSON.parse(localStorage.getItem("favWorkouts"))||[],o=t.findIndex(s=>s._id===e._id);o!==-1&&(t.splice(o,1),localStorage.setItem("favWorkouts",JSON.stringify(t)))}const y="/finalJSProject-yourEnergy/assets/icons-a6fed07b.svg",x=document.querySelector(".modal-exercise"),h=document.querySelector(".overlay"),le="#eea10c",de="#f4f4f433",ue=5;let p=!1,S;async function qe(e){h.addEventListener("click",R),document.addEventListener("keydown",C);try{c(!0);const t=await I.getExercisesId(e);S=t;const o=pe(t);me(o,t),_e();const s=document.querySelector(".modal-exercise__btn-close"),n=document.querySelector(".js-favorite__btn"),r=document.querySelector(".js-rating__btn");s.addEventListener("click",O),n.addEventListener("click",he),r.addEventListener("click",ve)}catch(t){w(t.message)}finally{c(!1)}}function me(e,t){x.innerHTML=e,fe(t)}function fe(e){const t=document.querySelector(".js-favorite__btn");return(JSON.parse(localStorage.getItem("favWorkouts"))||[]).some(n=>n._id===e._id)?(p=!0,t.innerHTML=A()):(p=!1,t.innerHTML=k())}function ge(e){let t="";for(let o=0;o - - - `;t+=` - - ${r} - - `}return t}function k(){return`Add to favorite - - - `}function A(){return`Remove from favorites - - - `}function pe({_id:e,name:t,rating:o,gifUrl:s,target:n,bodyPart:r,equipment:i,popularity:a,burnedCalories:m,time:f,description:g}){const E=ge(o);return` - - `}function he(){const e=document.querySelector(".js-favorite__btn");p=!p,p?(ae(S),e.innerHTML=A()):(ce(S),e.innerHTML=k(),T())}function R(e){e.target===h&&O()}function C({key:e}){e==="Escape"&&!x.classList.contains("hidden")&&O()}function ve(){w("Under development")}function _e(){h.classList.remove("hidden"),x.classList.remove("hidden"),document.body.style.overflow="hidden"}function O(){h.classList.add("hidden"),x.classList.add("hidden"),document.body.style.overflow="scroll",h.removeEventListener("click",R),document.removeEventListener("keydown",C)}const D=document.querySelector(".js-menu-backdrop"),ye=document.querySelector(".js-menu-container"),xe=document.querySelector(".js-open-menu"),Le=document.querySelector(".js-close-menu"),Ee=document.querySelector(".js-menu-link");function L(){ye.classList.toggle("is-open"),D.classList.toggle("is-hidden")}function Se(e){e.currentTarget!==e.target&&L()}function be({target:e}){e.closest("#mob-menu")||L()}xe.addEventListener("click",L);Le.addEventListener("click",L);Ee.addEventListener("click",Se);D.addEventListener("click",be);const b=document.getElementById("scroll-top"),we=()=>{document.body.scrollTop=0,document.documentElement.scrollTop=0},Te=()=>{window.scrollY>window.innerHeight?b.classList.add("scroll-show"):b.classList.remove("scroll-show")};window.addEventListener("scroll",Te);b.addEventListener("click",we);export{$e as G,ee as M,H as a,w as b,U as c,I as f,T as i,qe as o,ce as r,c as s}; -//# sourceMappingURL=scroll-top-0dcb77ba.js.map diff --git a/assets/scroll-top-0dcb77ba.js.map b/assets/scroll-top-0dcb77ba.js.map deleted file mode 100644 index 8f11c0f..0000000 --- a/assets/scroll-top-0dcb77ba.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"scroll-top-0dcb77ba.js","sources":["../../src/js/services/api-service.js","../../src/js/services/iziToast.js","../../src/js/spinner.js","../../src/js/quote-of-the-day.js","../../src/js/helper.js","../../src/js/services/paginator-service.js","../../src/js/variables.js","../../src/js/favorites-gallery.js","../../src/img/example-img.jpg","../../src/js/services/storage-fav-cards.js","../../src/img/icons.svg","../../src/js/exercise-popup.js","../../src/js/mob-burger-menu.js","../../src/js/scroll-top.js"],"sourcesContent":["const BASE_URL = 'https://your-energy.b.goit.study/api';\n\nexport const fetchData = async (path, method, body) => {\n const headers = { 'Content-type': 'application/json' };\n const init = { headers, method, body };\n const resp = await fetch(path, init);\n if (!resp.ok) {\n throw new Error(`Error: status: ${resp.status}, ${resp.statusText}`);\n }\n return resp.json();\n};\n\nexport const fetchApi = {\n async getExercises(exercisesParams) {\n const params = new URLSearchParams(exercisesParams);\n const url = `${BASE_URL}/exercises?${params}`;\n return await fetchData(url);\n },\n\n async getExercisesId(id) {\n const url = `${BASE_URL}/exercises/${id}`;\n return await fetchData(url);\n },\n\n async editExercisesIdRating(id, ratingBody) {\n const method = 'PATCH';\n const url = `${BASE_URL}/exercises/${id}/rating`;\n const body = JSON.stringify(ratingBody);\n return await fetchData(url, method, body);\n },\n\n async getExercisesFilter(filterParams) {\n const params = new URLSearchParams(filterParams);\n const url = `${BASE_URL}/filters?${params}`;\n return await fetchData(url);\n },\n\n async getExercisesQuote() {\n const url = `${BASE_URL}/quote`;\n return await fetchData(url);\n },\n\n async addSubscription(subscriptionBody) {\n const method = 'POST';\n const url = `${BASE_URL}/subscription`;\n const body = JSON.stringify(subscriptionBody);\n return await fetchData(url, method, body);\n },\n};\n","import iziToast from 'izitoast';\nimport 'izitoast/dist/css/iziToast.min.css';\n\nexport const showIziToast = (message, color, time) => {\n iziToast.show({\n message,\n drag: true,\n close: false,\n timeout: time ?? 5000,\n position: 'topRight',\n messageColor: '#2a2a2a',\n closeOnClick: true,\n animateInside: true,\n backgroundColor: color ?? '#fca664',\n });\n};\n","export const setSpinner = function (status) {\n const spinnerEl = document.querySelector('.js-spinner');\n status\n ? spinnerEl.classList.remove('hidden')\n : setTimeout(() => spinnerEl.classList.add('hidden'), 300);\n};\n","import { fetchApi } from './services/api-service';\nimport { showIziToast } from './services/iziToast';\nimport { setSpinner } from './spinner';\n\nconst quote = {\n content: document.querySelector('.js-quote-content'),\n author: document.querySelector('.js-quote-author'),\n};\n\nfunction getQuoteData() {\n const storedQuote = localStorage.getItem('quoteData');\n if (storedQuote) {\n const { quote: quoteContent, author, date } = JSON.parse(storedQuote);\n const savedDate = new Date(date);\n const currentDate = new Date();\n\n if (savedDate.getDate() === currentDate.getDate()) {\n addTextContent(quoteContent, author);\n return;\n }\n }\n fetchGetExercisesQuote();\n}\n\ngetQuoteData();\n\nasync function fetchGetExercisesQuote() {\n try {\n setSpinner(true);\n const resp = await fetchApi.getExercisesQuote();\n const { quote: newQuote, author } = resp;\n const quoteData = { quote: newQuote, author, date: new Date() };\n localStorage.setItem('quoteData', JSON.stringify(quoteData));\n addTextContent(newQuote, author);\n } catch (err) {\n showIziToast(err.message);\n } finally {\n setSpinner(false);\n }\n}\n\nfunction addTextContent(content, author) {\n quote.content.textContent = content;\n quote.author.textContent = author;\n}\n","import iziToast from 'izitoast';\nimport { setSpinner } from './spinner';\n\n// iziToast settings\niziToast.settings({\n timeout: 3000,\n resetOnHover: true,\n icon: 'material-icons',\n transitionIn: 'flipInX',\n transitionOut: 'flipOutX',\n position: 'topRight',\n});\n\nexport function scrollToTop() {\n document\n .querySelector('.js-gallery-scroll')\n .scrollIntoView({ behavior: 'smooth' });\n};\n\nexport function calculateFillStar(numStar, valueStars) {\n if (numStar + 1 <= valueStars) {\n return 100;\n } \n if (numStar > valueStars) {\n return 0;\n };\n return (valueStars % 1) * 100;\n};\n","import { initFavGallery } from '../favorites-gallery';\nimport { scrollToTop } from '../helper';\n\nconst paginationContainer = document.querySelector('.js-pagination');\nlet navigationObject;\n\npaginationContainer.addEventListener('click', onPaginationStep);\n\nexport function renderPagination(totalPages, fetchGallery, params, isLocal) {\n if (totalPages === 1) {\n paginationContainer.innerHTML = '';\n return;\n }\n\n let markup = '';\n\n for (let i = 1; i <= totalPages; i++) {\n const isCurrentPage = i === params.page;\n\n markup += ``;\n }\n\n navigationObject = {\n method: fetchGallery,\n isLocal,\n params,\n };\n\n paginationContainer.innerHTML = markup;\n}\n\nfunction onPaginationStep(evt) {\n if (evt.target === evt.currentTarget) {\n return;\n }\n const btn = evt.target;\n const page = Number(btn.textContent);\n\n [...paginationContainer.children]\n .find(button => button.classList.contains('active'))\n ?.classList.remove('active');\n\n btn.classList.add('active');\n\n navigationObject.isLocal\n ? initFavGallery(page)\n : navigationObject.method({ ...navigationObject.params, page: page });\n\n scrollToTop();\n}","const TABLET_WIDTH = 768;\nconst TABLET_WORKOUTS_AMOUNT = 10;\nconst MOBILE_WORKOUTS_AMOUNT = 9;\nconst TABLET_GROUP_AMOUNT = 12;\nconst MOBILE_GROUP_AMOUNT = 9;\n\nexport const DESKTOP_WIDTH = 1440;\n\nexport const FAV_GALLERY_LIMIT =\n window.innerWidth < TABLET_WIDTH\n ? MOBILE_WORKOUTS_AMOUNT\n : TABLET_WORKOUTS_AMOUNT;\n\nexport const FAV_CARD_CLASS_NAMES = [\n 'js-fav-target',\n 'js-fav-calories',\n 'js-fav-bodyPart',\n 'js-fav-title',\n];\n\nexport const GALLERY_LIMIT = window.innerWidth < TABLET_WIDTH\n ? MOBILE_GROUP_AMOUNT\n : TABLET_GROUP_AMOUNT;\nexport const MAX_SIZE_TITLE = 31;\n\n","import { renderPagination } from './services/paginator-service';\nimport { setSpinner } from './spinner';\nimport {\n DESKTOP_WIDTH,\n FAV_GALLERY_LIMIT as perPage,\n FAV_CARD_CLASS_NAMES as classNames,\n} from './variables';\nimport { MAX_SIZE_TITLE } from './variables';\n\nconst TABLET_WIDTH = 768,\n TABLET_WORKOUTS_AMOUNT = 9,\n MOBILE_WORKOUTS_AMOUNT = 10,\n CLASS_NAMES = [\n 'js-fav-target',\n 'js-fav-calories',\n 'js-fav-bodyPart',\n 'js-fav-title',\n ];\n\ninitFavGallery();\n\nexport function initFavGallery(pageNumber = 1) {\n const template = getTemplate();\n if (!template) return;\n\n const workouts = JSON.parse(localStorage.getItem('favWorkouts'));\n const { favGalleryEl, emptyFavEl, paginationFavEl, fragment } = getRefs();\n const screenWidth = window.innerWidth;\n\n if (\n handleEmptyWorkouts({ workouts, emptyFavEl, paginationFavEl, favGalleryEl })\n ) {\n return;\n }\n\n const { startIndex, endIndex } = handlePagination({\n perPage,\n totalWorkouts: workouts.length,\n pageNumber,\n screenWidth,\n });\n\n setSpinner(true);\n\n renderGalleryItems({\n workouts,\n startIndex,\n endIndex,\n template,\n fragment,\n favGalleryEl,\n });\n\n setSpinner(false);\n}\n\nfunction getRefs() {\n return {\n favGalleryEl: document.querySelector('.js-fav-gallery'),\n emptyFavEl: document.querySelector('.js-no-fav-workouts'),\n paginationFavEl: document.querySelector('.js-pagination'),\n fragment: document.createDocumentFragment(),\n };\n}\n\nfunction getTemplate() {\n return document.querySelector('#exercise-fav');\n}\n\nfunction handleEmptyWorkouts({\n workouts,\n emptyFavEl,\n paginationFavEl,\n favGalleryEl,\n}) {\n if (!workouts?.length) {\n emptyFavEl.classList.remove('hidden');\n favGalleryEl.classList.add('hidden');\n paginationFavEl.classList.add('hidden');\n setSpinner(false);\n return true;\n }\n}\n\nfunction handlePagination({ perPage, totalWorkouts, pageNumber, screenWidth }) {\n const totalPages = Math.ceil(totalWorkouts / perPage),\n params = { page: pageNumber };\n\n let startIndex = (pageNumber - 1) * perPage,\n endIndex = Math.min(startIndex + perPage, totalWorkouts);\n\n if (screenWidth < DESKTOP_WIDTH) {\n renderPagination(totalPages, null, params, true);\n } else {\n startIndex = 0;\n endIndex = totalWorkouts;\n }\n return { startIndex, endIndex };\n}\n\nfunction renderGalleryItems({\n workouts,\n startIndex,\n endIndex,\n template,\n fragment,\n favGalleryEl,\n}) {\n for (let i = startIndex; i < endIndex; i++) {\n const itemEl = template.children[0].cloneNode(true);\n const elements = classNames.map(className =>\n itemEl.querySelector(`.${className}`)\n );\n const {\n _id,\n name: title,\n bodyPart,\n target,\n burnedCalories: calories,\n } = workouts[i];\n\n [target, calories, bodyPart, title].forEach((prop, idx) => {\n elements[idx].textContent = prop;\n });\n\n itemEl.setAttribute('id', _id);\n\n if (title.length > MAX_SIZE_TITLE) {\n const elTooltip = itemEl.querySelector('.js-tooltip');\n elTooltip.dataset.tooltip = title;\n\n elTooltip.classList.add('tooltip');\n }\n\n fragment.appendChild(itemEl);\n }\n\n favGalleryEl.replaceChildren(fragment);\n}\n","export default \"__VITE_ASSET__8092028f__\"","export function addToFavorites(obj) {\n let favorites = JSON.parse(localStorage.getItem('favWorkouts')) || [];\n const isDuplicate = favorites.some(item => item._id === obj._id);\n\n if (isDuplicate) {\n return;\n }\n\n favorites.push(obj);\n localStorage.setItem('favWorkouts', JSON.stringify(favorites));\n}\n\nexport function removeFromFavorites(obj) {\n let favorites = JSON.parse(localStorage.getItem('favWorkouts')) || [];\n let index = favorites.findIndex(item => item._id === obj._id);\n\n if (index === -1) {\n return;\n }\n\n favorites.splice(index, 1);\n localStorage.setItem('favWorkouts', JSON.stringify(favorites));\n}\n","export default \"__VITE_ASSET__be0c168b__\"","import { fetchApi } from './services/api-service';\nimport image from '/img/example-img.jpg';\nimport { addToFavorites, removeFromFavorites } from './services/storage-fav-cards';\nimport icons from '/img/icons.svg';\nimport { setSpinner } from './spinner';\nimport { showIziToast } from './services/iziToast';\nimport { initFavGallery } from './favorites-gallery';\nimport { calculateFillStar } from './helper';\n\nconst modalExercise = document.querySelector('.modal-exercise');\nconst overlay = document.querySelector('.overlay');\nconst fullStarColor = '#eea10c';\nconst emptyStarColor = '#f4f4f433';\nconst totalStars = 5;\n\nlet isFavorite = false;\nlet currentData;\n\nexport async function openModalExercise(id) {\n overlay.addEventListener('click', clickOnOverlay);\n document.addEventListener('keydown', clickOnEscape);\n\n try {\n setSpinner(true);\n const dataExercise = await fetchApi.getExercisesId(id);\n currentData = dataExercise;\n const markup = markUp(dataExercise);\n createMarkUpModal(markup, dataExercise);\n showModalExercise();\n \n const closeModalButton = document.querySelector('.modal-exercise__btn-close');\n const buttonAddRemoveFavorites = document.querySelector('.js-favorite__btn');\n const buttonRating = document.querySelector('.js-rating__btn');\n closeModalButton.addEventListener('click', closeModalExercise);\n buttonAddRemoveFavorites.addEventListener('click', toggleButton);\n buttonRating.addEventListener('click', showNotification);\n } catch (err) {\n showIziToast(err.message);\n } finally {\n setSpinner(false);\n };\n};\n\nfunction createMarkUpModal(markup, data) {\n modalExercise.innerHTML = markup;\n showRightButtons(data);\n};\n\nfunction showRightButtons(obj) {\n const buttonAddRemoveFavorites = document.querySelector('.js-favorite__btn');\n let favorites = JSON.parse(localStorage.getItem('favWorkouts')) || [];\n const isDuplicate = favorites.some(item => item._id === obj._id);\n if (isDuplicate) {\n isFavorite = true;\n return buttonAddRemoveFavorites.innerHTML = createRemoveButton();\n };\n isFavorite = false;\n return buttonAddRemoveFavorites.innerHTML = createAddButton();\n};\n\nfunction createStarRating(rating) {\n let starsRating = '';\n\n for (let i = 0; i < totalStars; i += 1) {\n const gradientId = `gradient-id${i}`;\n const offsetPercent = calculateFillStar(i, rating);\n \n const linearGradient = `\n \n \n \n `;\n \n starsRating += `\n \n ${linearGradient}\n \n `;\n };\n return starsRating;\n};\n\nfunction createAddButton() {\n return `Add to favorite\n \n \n `\n};\n\nfunction createRemoveButton() {\n return `Remove from favorites\n \n \n `\n};\n\nfunction markUp({\n _id,\n name,\n rating,\n gifUrl,\n target,\n bodyPart,\n equipment,\n popularity,\n burnedCalories,\n time,\n description\n}) {\n const starsRating = createStarRating(rating);\n\n return `\n
\n \n\n \"Example\n\n
\n

${name}

\n
\n ${rating.toFixed(1)}\n ${starsRating}\n
\n\n
\n
    \n
  • \n

    Target

    \n

    ${target}

    \n
  • \n \n
  • \n

    Body Part

    \n

    ${bodyPart}

    \n
  • \n \n
  • \n

    Equipment

    \n

    ${equipment}

    \n
  • \n \n
  • \n

    Popular

    \n

    ${popularity}

    \n
  • \n \n
  • \n

    Burned Calories

    \n

    ${burnedCalories}/${time} min

    \n
  • \n
\n

\n ${description}\n

\n
\n
\n
\n
\n \n \n
`\n};\n\nfunction toggleButton() {\n const buttonAddRemoveFavorites = document.querySelector('.js-favorite__btn');\n isFavorite = !isFavorite; \n \n if (isFavorite) {\n addToFavorites(currentData);\n buttonAddRemoveFavorites.innerHTML = createRemoveButton();\n } else {\n removeFromFavorites(currentData);\n buttonAddRemoveFavorites.innerHTML = createAddButton();\n initFavGallery();\n };\n};\n\nfunction clickOnOverlay(e) {\n e.target === overlay && closeModalExercise();\n};\n\nfunction clickOnEscape({ key }) {\n (key === \"Escape\"\n && !modalExercise.classList.contains('hidden'))\n && closeModalExercise();\n};\n\nfunction showNotification() {\n showIziToast('Under development');\n};\n\nfunction showModalExercise() {\n overlay.classList.remove('hidden');\n modalExercise.classList.remove('hidden');\n document.body.style.overflow = 'hidden';\n};\n\nfunction closeModalExercise() {\n overlay.classList.add('hidden');\n modalExercise.classList.add('hidden');\n document.body.style.overflow = 'scroll';\n overlay.removeEventListener('click', clickOnOverlay);\n document.removeEventListener('keydown', clickOnEscape);\n};","const backdrop = document.querySelector('.js-menu-backdrop');\nconst mobMenu = document.querySelector('.js-menu-container');\nconst openMenuBtn = document.querySelector('.js-open-menu');\nconst closeMenuBtn = document.querySelector('.js-close-menu');\nconst mobMenuLink = document.querySelector('.js-menu-link');\n\nfunction toggleMenu() {\n mobMenu.classList.toggle('is-open');\n backdrop.classList.toggle('is-hidden');\n}\n\nfunction onMenuClick(evt) {\n // in case when ul clicked //\n if (evt.currentTarget === evt.target) {\n return;\n }\n toggleMenu();\n}\n\nfunction handlerBackdrop({ target }) {\n if (!target.closest('#mob-menu')) {\n toggleMenu();\n }\n}\n\nopenMenuBtn.addEventListener('click', toggleMenu);\ncloseMenuBtn.addEventListener('click', toggleMenu);\nmobMenuLink.addEventListener('click', onMenuClick);\n\nbackdrop.addEventListener('click', handlerBackdrop);\n","const scrollBtn = document.getElementById('scroll-top');\n\nconst topFunction = () => {\n document.body.scrollTop = 0;\n document.documentElement.scrollTop = 0;\n};\n\nconst scrollBtnDisplay = () => {\n window.scrollY > window.innerHeight\n ? scrollBtn.classList.add('scroll-show')\n : scrollBtn.classList.remove('scroll-show');\n};\n\nwindow.addEventListener('scroll', scrollBtnDisplay);\nscrollBtn.addEventListener('click', topFunction);\n"],"names":["BASE_URL","fetchData","path","method","body","resp","fetchApi","exercisesParams","params","url","id","ratingBody","filterParams","subscriptionBody","showIziToast","message","color","time","iziToast","setSpinner","status","spinnerEl","quote","getQuoteData","storedQuote","quoteContent","author","date","savedDate","currentDate","addTextContent","fetchGetExercisesQuote","newQuote","quoteData","err","content","scrollToTop","calculateFillStar","numStar","valueStars","paginationContainer","navigationObject","onPaginationStep","renderPagination","totalPages","fetchGallery","isLocal","markup","i","isCurrentPage","evt","btn","page","_a","button","initFavGallery","TABLET_WIDTH","TABLET_WORKOUTS_AMOUNT","MOBILE_WORKOUTS_AMOUNT","TABLET_GROUP_AMOUNT","MOBILE_GROUP_AMOUNT","DESKTOP_WIDTH","FAV_GALLERY_LIMIT","FAV_CARD_CLASS_NAMES","GALLERY_LIMIT","MAX_SIZE_TITLE","pageNumber","template","getTemplate","workouts","favGalleryEl","emptyFavEl","paginationFavEl","fragment","getRefs","screenWidth","handleEmptyWorkouts","startIndex","endIndex","handlePagination","perPage","renderGalleryItems","totalWorkouts","itemEl","elements","classNames","className","_id","title","bodyPart","target","calories","prop","idx","elTooltip","image","addToFavorites","obj","favorites","item","removeFromFavorites","index","icons","modalExercise","overlay","fullStarColor","emptyStarColor","totalStars","isFavorite","currentData","openModalExercise","clickOnOverlay","clickOnEscape","dataExercise","markUp","createMarkUpModal","showModalExercise","closeModalButton","buttonAddRemoveFavorites","buttonRating","closeModalExercise","toggleButton","showNotification","data","showRightButtons","createRemoveButton","createAddButton","createStarRating","rating","starsRating","gradientId","offsetPercent","linearGradient","name","gifUrl","equipment","popularity","burnedCalories","description","key","backdrop","mobMenu","openMenuBtn","closeMenuBtn","mobMenuLink","toggleMenu","onMenuClick","handlerBackdrop","scrollBtn","topFunction","scrollBtnDisplay"],"mappings":"+uBAAA,MAAMA,EAAW,uCAEJC,EAAY,MAAOC,EAAMC,EAAQC,IAAS,CAGrD,MAAMC,E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GAAgB,CAAE,OAAAzD,GAAU,CAC9BA,EAAO,QAAQ,WAAW,GAC7BuD,GAEJ,CAEAH,GAAY,iBAAiB,QAASG,CAAU,EAChDF,GAAa,iBAAiB,QAASE,CAAU,EACjDD,GAAY,iBAAiB,QAASE,EAAW,EAEjDN,EAAS,iBAAiB,QAASO,EAAe,EC7BlD,MAAMC,EAAY,SAAS,eAAe,YAAY,EAEhDC,GAAc,IAAM,CACxB,SAAS,KAAK,UAAY,EAC1B,SAAS,gBAAgB,UAAY,CACvC,EAEMC,GAAmB,IAAM,CAC7B,OAAO,QAAU,OAAO,YACpBF,EAAU,UAAU,IAAI,aAAa,EACrCA,EAAU,UAAU,OAAO,aAAa,CAC9C,EAEA,OAAO,iBAAiB,SAAUE,EAAgB,EAClDF,EAAU,iBAAiB,QAASC,EAAW"} \ No newline at end of file diff --git a/assets/scroll-top-119faa28.js b/assets/scroll-top-119faa28.js new file mode 100644 index 0000000..9fe2db9 --- /dev/null +++ b/assets/scroll-top-119faa28.js @@ -0,0 +1,95 @@ +import{i as j}from"./vendor-ab977035.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();const u="https://your-energy.b.goit.study/api",m=async(e,t,n)=>{const a=await fetch(e,{headers:{"Content-type":"application/json"},method:t,body:n});if(!a.ok)throw new Error(`Error: status: ${a.status}, ${a.statusText}`);return a.json()},O={async getExercises(e){const t=new URLSearchParams(e),n=`${u}/exercises?${t}`;return await m(n)},async getExercisesId(e){const t=`${u}/exercises/${e}`;return await m(t)},async editExercisesIdRating(e,t){const n="PATCH",s=`${u}/exercises/${e}/rating`,o=JSON.stringify(t);return await m(s,n,o)},async getExercisesFilter(e){const t=new URLSearchParams(e),n=`${u}/filters?${t}`;return await m(n)},async getExercisesQuote(){const e=`${u}/quote`;return await m(e)},async addSubscription(e){const t="POST",n=`${u}/subscription`,s=JSON.stringify(e);return await m(n,t,s)}},I=(e,t,n)=>{j.show({message:e,drag:!0,close:!1,timeout:n??5e3,position:"topRight",messageColor:"#2a2a2a",closeOnClick:!0,animateInside:!0,backgroundColor:t??"#fca664"})},c=function(e){const t=document.querySelector(".js-spinner");e?t.classList.remove("hidden"):setTimeout(()=>t.classList.add("hidden"),300)},M={content:document.querySelector(".js-quote-content"),author:document.querySelector(".js-quote-author")};function W(){const e=localStorage.getItem("quoteData");if(e){const{quote:t,author:n,date:s}=JSON.parse(e),o=new Date(s),a=new Date;if(o.getDate()===a.getDate()){R(t,n);return}}H()}W();async function H(){try{c(!0);const e=await O.getExercisesQuote(),{quote:t,author:n}=e,s={quote:t,author:n,date:new Date};localStorage.setItem("quoteData",JSON.stringify(s)),R(t,n)}catch(e){I(e.message)}finally{c(!1)}}function R(e,t){M.content.textContent=e,M.author.textContent=t}j.settings({timeout:3e3,resetOnHover:!0,icon:"material-icons",transitionIn:"flipInX",transitionOut:"flipOutX",position:"topRight"});function J(){document.querySelector(".js-gallery-scroll").scrollIntoView({behavior:"smooth"})}function Q(e,t){return e+1<=t?100:e>t?0:t%1*100}const x=document.querySelector(".js-pagination");let y;x.addEventListener("click",Y);function K(e,t,n,s){if(e===1){x.innerHTML="";return}let o="";for(let a=1;a<=e;a++){const i=a===n.page;o+=``}y={method:t,isLocal:s,params:n},x.innerHTML=o}function Y(e){var s;if(e.target===e.currentTarget)return;const t=e.target,n=Number(t.textContent);(s=[...x.children].find(o=>o.classList.contains("active")))==null||s.classList.remove("active"),t.classList.add("active"),y.isLocal?T(n):y.method({...y.params,page:n}),J()}const k=768,z=10,V=9,X=12,Z=9,ee=1440,te=window.innerWidthr.querySelector(`.${d}`)),{_id:p,name:h,bodyPart:S,target:N,burnedCalories:G}=e[i];if([N,G,S,h].forEach((d,U)=>{g[U].textContent=d}),r.setAttribute("id",p),h.length>oe){const d=r.querySelector(".js-tooltip");d.dataset.tooltip=h,d.classList.add("tooltip")}o.appendChild(r)}a.replaceChildren(o)}const le="/finalJSProject-yourEnergy/assets/example-img-2998cc5c.jpg";function de(e){let t=JSON.parse(localStorage.getItem("favWorkouts"))||[];t.some(s=>s._id===e._id)||(t.push(e),localStorage.setItem("favWorkouts",JSON.stringify(t)))}function ue(e){let t=JSON.parse(localStorage.getItem("favWorkouts"))||[],n=t.findIndex(s=>s._id===e._id);n!==-1&&(t.splice(n,1),localStorage.setItem("favWorkouts",JSON.stringify(t)))}const _="/finalJSProject-yourEnergy/assets/icons-a6fed07b.svg",A=document.querySelector(".js-modal-exercise"),$=document.querySelector(".js-modal-rating");function me(){document.querySelector(".js-rating__btn"),$.innerHTML=pe(),fe(),document.querySelector(".js-modal-rating__btn-close").addEventListener("click",ge)}function fe(){A.classList.add("hidden"),$.classList.remove("hidden")}function ge(){A.classList.remove("hidden"),$.classList.add("hidden")}function pe(){return` + `}const l=document.querySelector(".js-modal-exercise"),f=document.querySelector(".overlay"),L=document.querySelector(".js-modal-rating"),he="#eea10c",ve="#f4f4f433",_e=5;let v=!1,E;async function Ae(e){f.addEventListener("click",D),document.addEventListener("keydown",P);try{c(!0);const t=await O.getExercisesId(e);E=t;const n=be(t);ye(n,t),Ee();const s=document.querySelector(".js-modal-exercise__btn-close"),o=document.querySelector(".js-favorite__btn"),a=document.querySelector(".js-rating__btn");s.addEventListener("click",q),o.addEventListener("click",Se),a.addEventListener("click",me)}catch(t){I(t.message)}finally{c(!1)}}function ye(e,t){l.innerHTML=e,xe(t)}function xe(e){const t=document.querySelector(".js-favorite__btn");return(JSON.parse(localStorage.getItem("favWorkouts"))||[]).some(o=>o._id===e._id)?(v=!0,t.innerHTML=C()):(v=!1,t.innerHTML=B())}function Le(e){let t="";for(let n=0;n<_e;n+=1){const s=`gradient-id${n}`,o=Q(n,e),a=` + + + + `;t+=` + + ${a} + + `}return t}function B(){return`Add to favorite + + + `}function C(){return`Remove from favorites + + + `}function be({_id:e,name:t,rating:n,gifUrl:s,target:o,bodyPart:a,equipment:i,popularity:r,burnedCalories:g,time:p,description:h}){const S=Le(n);return` + + `}function Se(){const e=document.querySelector(".js-favorite__btn");v=!v,v?(de(E),e.innerHTML=C()):(ue(E),e.innerHTML=B(),T())}function D(e){L.classList.contains("hidden")&&e.target===f&&q(),l.classList.contains("hidden")&&e.target===f&&(L.classList.add("hidden"),l.classList.remove("hidden"))}function P({key:e}){L.classList.contains("hidden")&&e==="Escape"&&q(),l.classList.contains("hidden")&&e==="Escape"&&(L.classList.add("hidden"),l.classList.remove("hidden"))}function Ee(){f.classList.remove("hidden"),l.classList.remove("hidden"),document.body.style.overflow="hidden"}function q(){f.classList.add("hidden"),l.classList.add("hidden"),document.body.style.overflow="scroll",f.removeEventListener("click",D),document.removeEventListener("keydown",P)}const F=document.querySelector(".js-menu-backdrop"),we=document.querySelector(".js-menu-container"),Te=document.querySelector(".js-open-menu"),$e=document.querySelector(".js-close-menu"),qe=document.querySelector(".js-menu-link");function b(){we.classList.toggle("is-open"),F.classList.toggle("is-hidden")}function Me(e){e.currentTarget!==e.target&&b()}function je({target:e}){e.closest("#mob-menu")||b()}Te.addEventListener("click",b);$e.addEventListener("click",b);qe.addEventListener("click",Me);F.addEventListener("click",je);const w=document.getElementById("scroll-top"),Oe=()=>{document.body.scrollTop=0,document.documentElement.scrollTop=0},Ie=()=>{window.scrollY>window.innerHeight?w.classList.add("scroll-show"):w.classList.remove("scroll-show")};window.addEventListener("scroll",Ie);w.addEventListener("click",Oe);export{ke as G,oe as M,K as a,I as b,J as c,O as f,T as i,Ae as o,ue as r,c as s}; +//# sourceMappingURL=scroll-top-119faa28.js.map diff --git a/assets/scroll-top-119faa28.js.map b/assets/scroll-top-119faa28.js.map new file mode 100644 index 0000000..8c18494 --- /dev/null +++ b/assets/scroll-top-119faa28.js.map @@ -0,0 +1 @@ +{"version":3,"file":"scroll-top-119faa28.js","sources":["../../src/js/services/api-service.js","../../src/js/services/iziToast.js","../../src/js/spinner.js","../../src/js/quote-of-the-day.js","../../src/js/helper.js","../../src/js/services/paginator-service.js","../../src/js/variables.js","../../src/js/favorites-gallery.js","../../src/img/example-img.jpg","../../src/js/services/storage-fav-cards.js","../../src/img/icons.svg","../../src/js/rating-popup.js","../../src/js/exercise-popup.js","../../src/js/mob-burger-menu.js","../../src/js/scroll-top.js"],"sourcesContent":["const BASE_URL = 'https://your-energy.b.goit.study/api';\n\nexport const fetchData = async (path, method, body) => {\n const headers = { 'Content-type': 'application/json' };\n const init = { headers, method, body };\n const resp = await fetch(path, init);\n if (!resp.ok) {\n throw new Error(`Error: status: ${resp.status}, ${resp.statusText}`);\n }\n return resp.json();\n};\n\nexport const fetchApi = {\n async getExercises(exercisesParams) {\n const params = new URLSearchParams(exercisesParams);\n const url = `${BASE_URL}/exercises?${params}`;\n return await fetchData(url);\n },\n\n async getExercisesId(id) {\n const url = `${BASE_URL}/exercises/${id}`;\n return await fetchData(url);\n },\n\n async editExercisesIdRating(id, ratingBody) {\n const method = 'PATCH';\n const url = `${BASE_URL}/exercises/${id}/rating`;\n const body = JSON.stringify(ratingBody);\n return await fetchData(url, method, body);\n },\n\n async getExercisesFilter(filterParams) {\n const params = new URLSearchParams(filterParams);\n const url = `${BASE_URL}/filters?${params}`;\n return await fetchData(url);\n },\n\n async getExercisesQuote() {\n const url = `${BASE_URL}/quote`;\n return await fetchData(url);\n },\n\n async addSubscription(subscriptionBody) {\n const method = 'POST';\n const url = `${BASE_URL}/subscription`;\n const body = JSON.stringify(subscriptionBody);\n return await fetchData(url, method, body);\n },\n};\n","import iziToast from 'izitoast';\nimport 'izitoast/dist/css/iziToast.min.css';\n\nexport const showIziToast = (message, color, time) => {\n iziToast.show({\n message,\n drag: true,\n close: false,\n timeout: time ?? 5000,\n position: 'topRight',\n messageColor: '#2a2a2a',\n closeOnClick: true,\n animateInside: true,\n backgroundColor: color ?? '#fca664',\n });\n};\n","export const setSpinner = function (status) {\n const spinnerEl = document.querySelector('.js-spinner');\n status\n ? spinnerEl.classList.remove('hidden')\n : setTimeout(() => spinnerEl.classList.add('hidden'), 300);\n};\n","import { fetchApi } from './services/api-service';\nimport { showIziToast } from './services/iziToast';\nimport { setSpinner } from './spinner';\n\nconst quote = {\n content: document.querySelector('.js-quote-content'),\n author: document.querySelector('.js-quote-author'),\n};\n\nfunction getQuoteData() {\n const storedQuote = localStorage.getItem('quoteData');\n if (storedQuote) {\n const { quote: quoteContent, author, date } = JSON.parse(storedQuote);\n const savedDate = new Date(date);\n const currentDate = new Date();\n\n if (savedDate.getDate() === currentDate.getDate()) {\n addTextContent(quoteContent, author);\n return;\n }\n }\n fetchGetExercisesQuote();\n}\n\ngetQuoteData();\n\nasync function fetchGetExercisesQuote() {\n try {\n setSpinner(true);\n const resp = await fetchApi.getExercisesQuote();\n const { quote: newQuote, author } = resp;\n const quoteData = { quote: newQuote, author, date: new Date() };\n localStorage.setItem('quoteData', JSON.stringify(quoteData));\n addTextContent(newQuote, author);\n } catch (err) {\n showIziToast(err.message);\n } finally {\n setSpinner(false);\n }\n}\n\nfunction addTextContent(content, author) {\n quote.content.textContent = content;\n quote.author.textContent = author;\n}\n","import iziToast from 'izitoast';\nimport { setSpinner } from './spinner';\n\n// iziToast settings\niziToast.settings({\n timeout: 3000,\n resetOnHover: true,\n icon: 'material-icons',\n transitionIn: 'flipInX',\n transitionOut: 'flipOutX',\n position: 'topRight',\n});\n\nexport function scrollToTop() {\n document\n .querySelector('.js-gallery-scroll')\n .scrollIntoView({ behavior: 'smooth' });\n};\n\nexport function calculateFillStar(numStar, valueStars) {\n if (numStar + 1 <= valueStars) {\n return 100;\n } \n if (numStar > valueStars) {\n return 0;\n };\n return (valueStars % 1) * 100;\n};\n","import { initFavGallery } from '../favorites-gallery';\nimport { scrollToTop } from '../helper';\n\nconst paginationContainer = document.querySelector('.js-pagination');\nlet navigationObject;\n\npaginationContainer.addEventListener('click', onPaginationStep);\n\nexport function renderPagination(totalPages, fetchGallery, params, isLocal) {\n if (totalPages === 1) {\n paginationContainer.innerHTML = '';\n return;\n }\n\n let markup = '';\n\n for (let i = 1; i <= totalPages; i++) {\n const isCurrentPage = i === params.page;\n\n markup += ``;\n }\n\n navigationObject = {\n method: fetchGallery,\n isLocal,\n params,\n };\n\n paginationContainer.innerHTML = markup;\n}\n\nfunction onPaginationStep(evt) {\n if (evt.target === evt.currentTarget) {\n return;\n }\n const btn = evt.target;\n const page = Number(btn.textContent);\n\n [...paginationContainer.children]\n .find(button => button.classList.contains('active'))\n ?.classList.remove('active');\n\n btn.classList.add('active');\n\n navigationObject.isLocal\n ? initFavGallery(page)\n : navigationObject.method({ ...navigationObject.params, page: page });\n\n scrollToTop();\n}","const TABLET_WIDTH = 768;\nconst TABLET_WORKOUTS_AMOUNT = 10;\nconst MOBILE_WORKOUTS_AMOUNT = 9;\nconst TABLET_GROUP_AMOUNT = 12;\nconst MOBILE_GROUP_AMOUNT = 9;\n\nexport const DESKTOP_WIDTH = 1440;\n\nexport const FAV_GALLERY_LIMIT =\n window.innerWidth < TABLET_WIDTH\n ? MOBILE_WORKOUTS_AMOUNT\n : TABLET_WORKOUTS_AMOUNT;\n\nexport const FAV_CARD_CLASS_NAMES = [\n 'js-fav-target',\n 'js-fav-calories',\n 'js-fav-bodyPart',\n 'js-fav-title',\n];\n\nexport const GALLERY_LIMIT = window.innerWidth < TABLET_WIDTH\n ? MOBILE_GROUP_AMOUNT\n : TABLET_GROUP_AMOUNT;\nexport const MAX_SIZE_TITLE = 31;\n\n","import { renderPagination } from './services/paginator-service';\nimport { setSpinner } from './spinner';\nimport {\n DESKTOP_WIDTH,\n FAV_GALLERY_LIMIT as perPage,\n FAV_CARD_CLASS_NAMES as classNames,\n} from './variables';\nimport { MAX_SIZE_TITLE } from './variables';\n\nconst TABLET_WIDTH = 768,\n TABLET_WORKOUTS_AMOUNT = 9,\n MOBILE_WORKOUTS_AMOUNT = 10,\n CLASS_NAMES = [\n 'js-fav-target',\n 'js-fav-calories',\n 'js-fav-bodyPart',\n 'js-fav-title',\n ];\n\ninitFavGallery();\n\nexport function initFavGallery(pageNumber = 1) {\n const template = getTemplate();\n if (!template) return;\n\n const workouts = JSON.parse(localStorage.getItem('favWorkouts'));\n const { favGalleryEl, emptyFavEl, paginationFavEl, fragment } = getRefs();\n const screenWidth = window.innerWidth;\n\n if (\n handleEmptyWorkouts({ workouts, emptyFavEl, paginationFavEl, favGalleryEl })\n ) {\n return;\n }\n\n const { startIndex, endIndex } = handlePagination({\n perPage,\n totalWorkouts: workouts.length,\n pageNumber,\n screenWidth,\n });\n\n setSpinner(true);\n\n renderGalleryItems({\n workouts,\n startIndex,\n endIndex,\n template,\n fragment,\n favGalleryEl,\n });\n\n setSpinner(false);\n}\n\nfunction getRefs() {\n return {\n favGalleryEl: document.querySelector('.js-fav-gallery'),\n emptyFavEl: document.querySelector('.js-no-fav-workouts'),\n paginationFavEl: document.querySelector('.js-pagination'),\n fragment: document.createDocumentFragment(),\n };\n}\n\nfunction getTemplate() {\n return document.querySelector('#exercise-fav');\n}\n\nfunction handleEmptyWorkouts({\n workouts,\n emptyFavEl,\n paginationFavEl,\n favGalleryEl,\n}) {\n if (!workouts?.length) {\n emptyFavEl.classList.remove('hidden');\n favGalleryEl.classList.add('hidden');\n paginationFavEl.classList.add('hidden');\n setSpinner(false);\n return true;\n }\n}\n\nfunction handlePagination({ perPage, totalWorkouts, pageNumber, screenWidth }) {\n const totalPages = Math.ceil(totalWorkouts / perPage),\n params = { page: pageNumber };\n\n let startIndex = (pageNumber - 1) * perPage,\n endIndex = Math.min(startIndex + perPage, totalWorkouts);\n\n if (screenWidth < DESKTOP_WIDTH) {\n renderPagination(totalPages, null, params, true);\n } else {\n startIndex = 0;\n endIndex = totalWorkouts;\n }\n return { startIndex, endIndex };\n}\n\nfunction renderGalleryItems({\n workouts,\n startIndex,\n endIndex,\n template,\n fragment,\n favGalleryEl,\n}) {\n for (let i = startIndex; i < endIndex; i++) {\n const itemEl = template.children[0].cloneNode(true);\n const elements = classNames.map(className =>\n itemEl.querySelector(`.${className}`)\n );\n const {\n _id,\n name: title,\n bodyPart,\n target,\n burnedCalories: calories,\n } = workouts[i];\n\n [target, calories, bodyPart, title].forEach((prop, idx) => {\n elements[idx].textContent = prop;\n });\n\n itemEl.setAttribute('id', _id);\n\n if (title.length > MAX_SIZE_TITLE) {\n const elTooltip = itemEl.querySelector('.js-tooltip');\n elTooltip.dataset.tooltip = title;\n\n elTooltip.classList.add('tooltip');\n }\n\n fragment.appendChild(itemEl);\n }\n\n favGalleryEl.replaceChildren(fragment);\n}\n","export default \"__VITE_ASSET__8092028f__\"","export function addToFavorites(obj) {\n let favorites = JSON.parse(localStorage.getItem('favWorkouts')) || [];\n const isDuplicate = favorites.some(item => item._id === obj._id);\n\n if (isDuplicate) {\n return;\n }\n\n favorites.push(obj);\n localStorage.setItem('favWorkouts', JSON.stringify(favorites));\n}\n\nexport function removeFromFavorites(obj) {\n let favorites = JSON.parse(localStorage.getItem('favWorkouts')) || [];\n let index = favorites.findIndex(item => item._id === obj._id);\n\n if (index === -1) {\n return;\n }\n\n favorites.splice(index, 1);\n localStorage.setItem('favWorkouts', JSON.stringify(favorites));\n}\n","export default \"__VITE_ASSET__3f4e380b__\"","import icons from '/img/icons.svg';\n\nconst modalExercise = document.querySelector('.js-modal-exercise');\nconst modalRating = document.querySelector('.js-modal-rating');\n\nexport function openModalRating() {\n const buttonRating = document.querySelector('.js-rating__btn');\n\n modalRating.innerHTML = markUp();\n showModalRating();\n\n const closeModalRatingButton = document.querySelector('.js-modal-rating__btn-close'); \n closeModalRatingButton.addEventListener('click', closeModalRating);\n};\n\nfunction showModalRating() {\n modalExercise.classList.add('hidden');\n modalRating.classList.remove('hidden');\n};\n\nfunction closeModalRating() {\n modalExercise.classList.remove('hidden');\n modalRating.classList.add('hidden');\n};\n\nfunction markUp() {\n return `\n
\n \n\n
\n 0.0\n \n \n \n \n \n \n \n
\n \n
\n \n \n \n \n \n
\n
`\n};","import { fetchApi } from './services/api-service';\nimport image from '/img/example-img.jpg';\nimport { addToFavorites, removeFromFavorites } from './services/storage-fav-cards';\nimport icons from '/img/icons.svg';\nimport { setSpinner } from './spinner';\nimport { showIziToast } from './services/iziToast';\nimport { initFavGallery } from './favorites-gallery';\nimport { calculateFillStar } from './helper';\nimport { openModalRating } from './rating-popup';\n\nconst modalExercise = document.querySelector('.js-modal-exercise');\nconst overlay = document.querySelector('.overlay');\nconst modalRating = document.querySelector('.js-modal-rating');\nconst fullStarColor = '#eea10c';\nconst emptyStarColor = '#f4f4f433';\nconst totalStars = 5;\n\nlet isFavorite = false;\nlet currentData;\n\nexport async function openModalExercise(id) {\n overlay.addEventListener('click', clickOnOverlay);\n document.addEventListener('keydown', clickOnEscape);\n\n try {\n setSpinner(true);\n const dataExercise = await fetchApi.getExercisesId(id);\n currentData = dataExercise;\n const markup = markUp(dataExercise);\n createMarkUpModal(markup, dataExercise);\n showModalExercise();\n \n const closeModalButton = document.querySelector('.js-modal-exercise__btn-close');\n const buttonAddRemoveFavorites = document.querySelector('.js-favorite__btn');\n const buttonRating = document.querySelector('.js-rating__btn');\n closeModalButton.addEventListener('click', closeModalExercise);\n buttonAddRemoveFavorites.addEventListener('click', toggleButton);\n buttonRating.addEventListener('click', openModalRating);\n } catch (err) {\n showIziToast(err.message);\n } finally {\n setSpinner(false);\n };\n};\n\nfunction createMarkUpModal(markup, data) {\n modalExercise.innerHTML = markup;\n showRightButtons(data);\n};\n\nfunction showRightButtons(obj) {\n const buttonAddRemoveFavorites = document.querySelector('.js-favorite__btn');\n let favorites = JSON.parse(localStorage.getItem('favWorkouts')) || [];\n const isDuplicate = favorites.some(item => item._id === obj._id);\n if (isDuplicate) {\n isFavorite = true;\n return buttonAddRemoveFavorites.innerHTML = createRemoveButton();\n };\n isFavorite = false;\n return buttonAddRemoveFavorites.innerHTML = createAddButton();\n};\n\nfunction createStarRating(rating) {\n let starsRating = '';\n\n for (let i = 0; i < totalStars; i += 1) {\n const gradientId = `gradient-id${i}`;\n const offsetPercent = calculateFillStar(i, rating);\n \n const linearGradient = `\n \n \n \n `;\n \n starsRating += `\n \n ${linearGradient}\n \n `;\n };\n return starsRating;\n};\n\nfunction createAddButton() {\n return `Add to favorite\n \n \n `\n};\n\nfunction createRemoveButton() {\n return `Remove from favorites\n \n \n `\n};\n\nfunction markUp({\n _id,\n name,\n rating,\n gifUrl,\n target,\n bodyPart,\n equipment,\n popularity,\n burnedCalories,\n time,\n description\n}) {\n const starsRating = createStarRating(rating);\n\n return `\n
\n \n\n \"Example\n\n
\n

${name}

\n
\n ${rating.toFixed(1)}\n ${starsRating}\n
\n\n
\n
    \n
  • \n

    Target

    \n

    ${target}

    \n
  • \n \n
  • \n

    Body Part

    \n

    ${bodyPart}

    \n
  • \n \n
  • \n

    Equipment

    \n

    ${equipment}

    \n
  • \n \n
  • \n

    Popular

    \n

    ${popularity}

    \n
  • \n \n
  • \n

    Burned Calories

    \n

    ${burnedCalories}/${time} min

    \n
  • \n
\n

\n ${description}\n

\n
\n
\n
\n
\n \n \n
`\n};\n\nfunction toggleButton() {\n const buttonAddRemoveFavorites = document.querySelector('.js-favorite__btn');\n isFavorite = !isFavorite; \n \n if (isFavorite) {\n addToFavorites(currentData);\n buttonAddRemoveFavorites.innerHTML = createRemoveButton();\n } else {\n removeFromFavorites(currentData);\n buttonAddRemoveFavorites.innerHTML = createAddButton();\n initFavGallery();\n };\n};\n\nfunction clickOnOverlay(e) {\n if (modalRating.classList.contains('hidden')\n && e.target === overlay) {\n closeModalExercise();\n } \n if (modalExercise.classList.contains('hidden')\n && e.target === overlay) {\n modalRating.classList.add('hidden');\n modalExercise.classList.remove('hidden');\n }\n};\n\nfunction clickOnEscape({ key }) {\n if (modalRating.classList.contains('hidden')\n && key === \"Escape\") {\n closeModalExercise();\n }\n if (modalExercise.classList.contains('hidden')\n && key === \"Escape\") {\n modalRating.classList.add('hidden');\n modalExercise.classList.remove('hidden');\n }\n};\n\nfunction showModalExercise() {\n overlay.classList.remove('hidden');\n modalExercise.classList.remove('hidden');\n document.body.style.overflow = 'hidden';\n};\n\nfunction closeModalExercise() {\n overlay.classList.add('hidden');\n modalExercise.classList.add('hidden');\n document.body.style.overflow = 'scroll';\n overlay.removeEventListener('click', clickOnOverlay);\n document.removeEventListener('keydown', clickOnEscape);\n};","const backdrop = document.querySelector('.js-menu-backdrop');\nconst mobMenu = document.querySelector('.js-menu-container');\nconst openMenuBtn = document.querySelector('.js-open-menu');\nconst closeMenuBtn = document.querySelector('.js-close-menu');\nconst mobMenuLink = document.querySelector('.js-menu-link');\n\nfunction toggleMenu() {\n mobMenu.classList.toggle('is-open');\n backdrop.classList.toggle('is-hidden');\n}\n\nfunction onMenuClick(evt) {\n // in case when ul clicked //\n if (evt.currentTarget === evt.target) {\n return;\n }\n toggleMenu();\n}\n\nfunction handlerBackdrop({ target }) {\n if (!target.closest('#mob-menu')) {\n toggleMenu();\n }\n}\n\nopenMenuBtn.addEventListener('click', toggleMenu);\ncloseMenuBtn.addEventListener('click', toggleMenu);\nmobMenuLink.addEventListener('click', onMenuClick);\n\nbackdrop.addEventListener('click', handlerBackdrop);\n","const scrollBtn = document.getElementById('scroll-top');\n\nconst topFunction = () => {\n document.body.scrollTop = 0;\n document.documentElement.scrollTop = 0;\n};\n\nconst scrollBtnDisplay = () => {\n window.scrollY > window.innerHeight\n ? scrollBtn.classList.add('scroll-show')\n : scrollBtn.classList.remove('scroll-show');\n};\n\nwindow.addEventListener('scroll', scrollBtnDisplay);\nscrollBtn.addEventListener('click', topFunction);\n"],"names":["BASE_URL","fetchData","path","method","body","resp","fetchApi","exercisesParams","params","url","id","ratingBody","filterParams","subscriptionBody","showIziToast","message","color","time","iziToast","setSpinner","status","spinnerEl","quote","getQuoteData","storedQuote","quoteContent","author","date","savedDate","currentDate","addTextContent","fetchGetExercisesQuote","newQuote","quoteData","err","content","scrollToTop","calculateFillStar","numStar","valueStars","paginationContainer","navigationObject","onPaginationStep","renderPagination","totalPages","fetchGallery","isLocal","markup","i","isCurrentPage","evt","btn","page","_a","button","initFavGallery","TABLET_WIDTH","TABLET_WORKOUTS_AMOUNT","MOBILE_WORKOUTS_AMOUNT","TABLET_GROUP_AMOUNT","MOBILE_GROUP_AMOUNT","DESKTOP_WIDTH","FAV_GALLERY_LIMIT","FAV_CARD_CLASS_NAMES","GALLERY_LIMIT","MAX_SIZE_TITLE","pageNumber","template","getTemplate","workouts","favGalleryEl","emptyFavEl","paginationFavEl","fragment","getRefs","screenWidth","handleEmptyWorkouts","startIndex","endIndex","handlePagination","perPage","renderGalleryItems","totalWorkouts","itemEl","elements","classNames","className","_id","title","bodyPart","target","calories","prop","idx","elTooltip","image","addToFavorites","obj","favorites","item","removeFromFavorites","index","icons","modalExercise","modalRating","openModalRating","markUp","showModalRating","closeModalRating","overlay","fullStarColor","emptyStarColor","totalStars","isFavorite","currentData","openModalExercise","clickOnOverlay","clickOnEscape","dataExercise","createMarkUpModal","showModalExercise","closeModalButton","buttonAddRemoveFavorites","buttonRating","closeModalExercise","toggleButton","data","showRightButtons","createRemoveButton","createAddButton","createStarRating","rating","starsRating","gradientId","offsetPercent","linearGradient","name","gifUrl","equipment","popularity","burnedCalories","description","key","backdrop","mobMenu","openMenuBtn","closeMenuBtn","mobMenuLink","toggleMenu","onMenuClick","handlerBackdrop","scrollBtn","topFunction","scrollBtnDisplay"],"mappings":"+uBAAA,MAAMA,EAAW,uCAEJC,EAAY,MAAOC,EAAMC,EAAQC,IAAS,CAGrD,MAAMC,EAAO,MAAM,MAAMH,EADZ,CAAE,QADC,CAAE,eAAgB,oBACV,OAAAC,EAAQ,KAAAC,CAAI,CACD,EACnC,GAAI,CAACC,EAA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E,EAAgB,EAClDF,EAAU,iBAAiB,QAASC,EAAW"} \ No newline at end of file diff --git a/commonHelpers.js b/commonHelpers.js index 00b087c..4bd9e11 100644 --- a/commonHelpers.js +++ b/commonHelpers.js @@ -1,2 +1,2 @@ -import{o as s,r as o,i as l}from"./assets/scroll-top-0dcb77ba.js";import"./assets/vendor-ab977035.js";const i=document.querySelector(".js-fav-gallery");function c(e){if(e.target===e.currentTarget)return;const t=e.target;if(t.closest(".ex-item-start")){const a=t.closest(".js-fav-item").id;s(a)}if(t.closest(".ex-item-trash-icon")){const r=t.closest(".js-fav-item");o({_id:r.id}),l()}}i.addEventListener("click",c); +import{o as s,r as o,i as l}from"./assets/scroll-top-119faa28.js";import"./assets/vendor-ab977035.js";const i=document.querySelector(".js-fav-gallery");function c(e){if(e.target===e.currentTarget)return;const t=e.target;if(t.closest(".ex-item-start")){const a=t.closest(".js-fav-item").id;s(a)}if(t.closest(".ex-item-trash-icon")){const r=t.closest(".js-fav-item");o({_id:r.id}),l()}}i.addEventListener("click",c); //# sourceMappingURL=commonHelpers.js.map diff --git a/commonHelpers2.js b/commonHelpers2.js index 30b6061..be30573 100644 --- a/commonHelpers2.js +++ b/commonHelpers2.js @@ -1,2 +1,2 @@ -import{M as P,s as u,f as h,a as x,b as d,G as p,o as N,c as D}from"./assets/scroll-top-0dcb77ba.js";import{t as _}from"./assets/vendor-ab977035.js";const E=document.querySelector(".js-gallery"),$=document.querySelector("#exercise-group"),R=document.querySelector("#exercise"),z="linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),";function V(e){const t=document.createDocumentFragment();e.forEach(({name:l,filter:i,imgURL:a})=>{const n=$.children[0].cloneNode(!0);n.style.backgroundImage=`${z} url(${a})`,n.setAttribute("data-name",l),n.querySelector(".card-text-title").textContent=l,n.querySelector(".card-text-subtitle").textContent=i,t.appendChild(n)}),E.replaceChildren(t)}function Y(e,t){const l=document.createDocumentFragment();for(let i=0;iP){const b=c.querySelector(".js-tooltip");b.dataset.tooltip=a,b.classList.add("tooltip")}const B=c.querySelector(".js-rating");B.textContent=k.toFixed(1);const w=c.querySelector(".js-burned-calories");w.textContent=j;const G=c.querySelector(".js-target");G.textContent=I;const M=c.querySelector(".js-filter");M.textContent=`${t.filter}:`;const A=c.querySelector(".js-filter-value");A.textContent=t.excerciseFilter,l.appendChild(c)}E.replaceChildren(l)}const H=document.querySelector(".js-filter-block"),C=document.querySelectorAll(".js-filter"),U=C[0].textContent.trim(),L={page:1,limit:p,filter:U};m(L);async function m(e){try{u(!0);const t=await h.getExercisesFilter(e),{totalPages:l,results:i}=t;V(i),x(l,m,e)}catch(t){d(t.message)}finally{u(!1)}}H.addEventListener("click",X);function X(e){if(e.target===e.currentTarget)return;const t=[...C].find(l=>l.classList.contains("active"));if(t!==e.target.closest(".js-filter")&&(t.classList.remove("active"),e.target.classList.contains("js-filter"))){const l=e.target.dataset.filter;e.target.classList.add("active"),m({...L,filter:l})}}const Z=document.getElementById("subscribe-form");Z.addEventListener("submit",J);async function J(e){e.preventDefault();const t=e.target.elements.email.value;try{u(!0),await h.addSubscription({email:t}),d("Congrats! You've been subscribed!","#53e276")}catch{d("Subscription already exists","#FF876C")}finally{e.target.reset(),u(!1)}}const r={elGallery:document.querySelector(".js-gallery"),elMainBreadCrumbsState:document.querySelector(".js-bradcrumbs"),elInnerBreadCrumbsState:document.querySelector(".js-bradcrumbs-inner"),elFilterBreadcrumb:document.querySelector(".js-bradcrumbs-filter"),elFilters:document.querySelector(".js-filter-block"),elInput:document.querySelector(".js-search-input"),elSearchForm:document.querySelector(".js-search-form"),template:document.querySelector("#exercise"),elTrash:document.querySelector(".ex-item-trash-icon")},o={muscles:"Muscles",equipment:"Equipment",bodyParts:"Body parts"},K=_(e=>{ee(e)},1e3);function y(e){e.preventDefault(),K(e)}const s={excerciseFilter:"",filter:o.muscles,keyword:"",isFilledCroupExcercises(){return!this.excerciseFilter},isFilledExcercises(){return!!this.excerciseFilter},setFilter(e){this.filter=e,this.resetExcerciseFilter(),r.elSearchForm.removeEventListener("submit",y),r.elSearchForm.removeEventListener("reset",g)},setExcerciseFilter(e){this.excerciseFilter=e,r.elSearchForm.addEventListener("submit",y),r.elSearchForm.addEventListener("reset",g)},resetExcerciseFilter(){this.excerciseFilter="",this.keyword=""}},q={page:1,limit:10};function O(e){return e.charAt(0).toUpperCase()+e.slice(1)}const F=()=>{s.resetExcerciseFilter(),s.filter=o.muscles,m({...q,limit:12,filter:o.muscles}),f(),r.elFilters.querySelectorAll(".js-filter").forEach(t=>{t.classList.remove("active"),t.dataset.filter===o.muscles&&t.classList.add("active")})};function f(){r.elFilterBreadcrumb.textContent=s.excerciseFilter?O(s.excerciseFilter):"",s.isFilledExcercises()?(r.elSearchForm.hidden=!1,r.elInnerBreadCrumbsState.hidden=!1,r.elMainBreadCrumbsState.classList.contains("bradcrumbs-active")||(r.elMainBreadCrumbsState.classList.add("bradcrumbs-active"),r.elMainBreadCrumbsState.addEventListener("click",F))):(r.elSearchForm.hidden=!0,r.elInnerBreadCrumbsState.hidden=!0,r.elMainBreadCrumbsState.classList.remove("bradcrumbs-active"),r.elMainBreadCrumbsState.removeEventListener("click",F))}function Q(e){if(e.target===e.currentTarget)return;const t=e.target;if(s.isFilledCroupExcercises()){const l=t.closest(".card-item");if(!l)return;s.setExcerciseFilter(l.dataset.name),S()}else if(s.isFilledExcercises()&&t.closest(".ex-item-start")){const a=t.closest(".ex-item").dataset.id;N(a)}f()}function W(e){e.target!==e.currentTarget&&e.target.classList.contains("js-filter")&&(s.setFilter(e.target.dataset.filter),D(),f())}function ee(e){if(!r.elInput.value.trim()){d("Please, enter a valid search key",null,3e3),r.elInput.value="";return}s.keyword=e.target.elements.search.value,S(),r.elInput.value=""}function g(){s.keyword="",S(),f()}r.elGallery.addEventListener("click",Q);r.elFilters.addEventListener("click",W);r.elSearchForm.addEventListener("submit",y);r.elSearchForm.addEventListener("reset",g);function S(){const e={...q};s.filter==o.muscles?e.muscles=s.excerciseFilter:s.filter==o.equipment?e.equipment=s.excerciseFilter:s.filter==o.bodyParts&&(e.bodypart=s.excerciseFilter),s.keyword&&(e.keyword=s.keyword),v(e)}async function v(e){u(!0);try{const t=await h.getExercises(e),{totalPages:l,results:i}=t;i.length{const n=$.children[0].cloneNode(!0);n.style.backgroundImage=`${z} url(${a})`,n.setAttribute("data-name",l),n.querySelector(".card-text-title").textContent=l,n.querySelector(".card-text-subtitle").textContent=i,t.appendChild(n)}),E.replaceChildren(t)}function Y(e,t){const l=document.createDocumentFragment();for(let i=0;iP){const b=c.querySelector(".js-tooltip");b.dataset.tooltip=a,b.classList.add("tooltip")}const B=c.querySelector(".js-rating");B.textContent=k.toFixed(1);const w=c.querySelector(".js-burned-calories");w.textContent=j;const G=c.querySelector(".js-target");G.textContent=I;const M=c.querySelector(".js-filter");M.textContent=`${t.filter}:`;const A=c.querySelector(".js-filter-value");A.textContent=t.excerciseFilter,l.appendChild(c)}E.replaceChildren(l)}const H=document.querySelector(".js-filter-block"),C=document.querySelectorAll(".js-filter"),U=C[0].textContent.trim(),L={page:1,limit:p,filter:U};m(L);async function m(e){try{u(!0);const t=await h.getExercisesFilter(e),{totalPages:l,results:i}=t;V(i),x(l,m,e)}catch(t){d(t.message)}finally{u(!1)}}H.addEventListener("click",X);function X(e){if(e.target===e.currentTarget)return;const t=[...C].find(l=>l.classList.contains("active"));if(t!==e.target.closest(".js-filter")&&(t.classList.remove("active"),e.target.classList.contains("js-filter"))){const l=e.target.dataset.filter;e.target.classList.add("active"),m({...L,filter:l})}}const Z=document.getElementById("subscribe-form");Z.addEventListener("submit",J);async function J(e){e.preventDefault();const t=e.target.elements.email.value;try{u(!0),await h.addSubscription({email:t}),d("Congrats! You've been subscribed!","#53e276")}catch{d("Subscription already exists","#FF876C")}finally{e.target.reset(),u(!1)}}const r={elGallery:document.querySelector(".js-gallery"),elMainBreadCrumbsState:document.querySelector(".js-bradcrumbs"),elInnerBreadCrumbsState:document.querySelector(".js-bradcrumbs-inner"),elFilterBreadcrumb:document.querySelector(".js-bradcrumbs-filter"),elFilters:document.querySelector(".js-filter-block"),elInput:document.querySelector(".js-search-input"),elSearchForm:document.querySelector(".js-search-form"),template:document.querySelector("#exercise"),elTrash:document.querySelector(".ex-item-trash-icon")},o={muscles:"Muscles",equipment:"Equipment",bodyParts:"Body parts"},K=_(e=>{ee(e)},1e3);function y(e){e.preventDefault(),K(e)}const s={excerciseFilter:"",filter:o.muscles,keyword:"",isFilledCroupExcercises(){return!this.excerciseFilter},isFilledExcercises(){return!!this.excerciseFilter},setFilter(e){this.filter=e,this.resetExcerciseFilter(),r.elSearchForm.removeEventListener("submit",y),r.elSearchForm.removeEventListener("reset",g)},setExcerciseFilter(e){this.excerciseFilter=e,r.elSearchForm.addEventListener("submit",y),r.elSearchForm.addEventListener("reset",g)},resetExcerciseFilter(){this.excerciseFilter="",this.keyword=""}},q={page:1,limit:10};function O(e){return e.charAt(0).toUpperCase()+e.slice(1)}const F=()=>{s.resetExcerciseFilter(),s.filter=o.muscles,m({...q,limit:12,filter:o.muscles}),f(),r.elFilters.querySelectorAll(".js-filter").forEach(t=>{t.classList.remove("active"),t.dataset.filter===o.muscles&&t.classList.add("active")})};function f(){r.elFilterBreadcrumb.textContent=s.excerciseFilter?O(s.excerciseFilter):"",s.isFilledExcercises()?(r.elSearchForm.hidden=!1,r.elInnerBreadCrumbsState.hidden=!1,r.elMainBreadCrumbsState.classList.contains("bradcrumbs-active")||(r.elMainBreadCrumbsState.classList.add("bradcrumbs-active"),r.elMainBreadCrumbsState.addEventListener("click",F))):(r.elSearchForm.hidden=!0,r.elInnerBreadCrumbsState.hidden=!0,r.elMainBreadCrumbsState.classList.remove("bradcrumbs-active"),r.elMainBreadCrumbsState.removeEventListener("click",F))}function Q(e){if(e.target===e.currentTarget)return;const t=e.target;if(s.isFilledCroupExcercises()){const l=t.closest(".card-item");if(!l)return;s.setExcerciseFilter(l.dataset.name),S()}else if(s.isFilledExcercises()&&t.closest(".ex-item-start")){const a=t.closest(".ex-item").dataset.id;N(a)}f()}function W(e){e.target!==e.currentTarget&&e.target.classList.contains("js-filter")&&(s.setFilter(e.target.dataset.filter),D(),f())}function ee(e){if(!r.elInput.value.trim()){d("Please, enter a valid search key",null,3e3),r.elInput.value="";return}s.keyword=e.target.elements.search.value,S(),r.elInput.value=""}function g(){s.keyword="",S(),f()}r.elGallery.addEventListener("click",Q);r.elFilters.addEventListener("click",W);r.elSearchForm.addEventListener("submit",y);r.elSearchForm.addEventListener("reset",g);function S(){const e={...q};s.filter==o.muscles?e.muscles=s.excerciseFilter:s.filter==o.equipment?e.equipment=s.excerciseFilter:s.filter==o.bodyParts&&(e.bodypart=s.excerciseFilter),s.keyword&&(e.keyword=s.keyword),v(e)}async function v(e){u(!0);try{const t=await h.getExercises(e),{totalPages:l,results:i}=t;i.length - + - + @@ -238,7 +238,8 @@

Quote of the day