From a4736916034ecfd7c5d5d152b84292a591ff41ed Mon Sep 17 00:00:00 2001
From: IrynaSlavinska <133566139+IrynaSlavinska@users.noreply.github.com>
Date: Fri, 26 Apr 2024 19:43:21 +0000
Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20IrynaSla?=
=?UTF-8?q?vinska/project-OurDreamTeam@fd16e227e23d31f372faa23a5c1ec1114c7?=
=?UTF-8?q?b8145=20=F0=9F=9A=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
assets/{index-f877a254.js => index-598de676.js} | 2 +-
index.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
rename assets/{index-f877a254.js => index-598de676.js} (72%)
diff --git a/assets/index-f877a254.js b/assets/index-598de676.js
similarity index 72%
rename from assets/index-f877a254.js
rename to assets/index-598de676.js
index 15b4cd5..9fc6c2a 100644
--- a/assets/index-f877a254.js
+++ b/assets/index-598de676.js
@@ -1 +1 @@
-(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))c(o);new MutationObserver(o=>{for(const n of o)if(n.type==="childList")for(const d of n.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&c(d)}).observe(document,{childList:!0,subtree:!0});function l(o){const n={};return o.integrity&&(n.integrity=o.integrity),o.referrerpolicy&&(n.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?n.credentials="include":o.crossorigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function c(o){if(o.ep)return;o.ep=!0;const n=l(o);fetch(o.href,n)}})();(()=>{const e=document.querySelector(".js-menu-container"),t=document.querySelector(".js-open-menu"),l=document.querySelector(".js-close-menu"),c=document.querySelectorAll(".header-link"),o=()=>{const n=t.getAttribute("aria-expanded")==="true"||!1;t.setAttribute("aria-expanded",!n),e.classList.toggle("is-open");const d=n?"enableBodyScroll":"disableBodyScroll";bodyScrollLock[d](document.body)};t.addEventListener("click",o),l.addEventListener("click",o),c.forEach(n=>{n.addEventListener("click",()=>{e.classList.remove("is-open"),t.setAttribute("aria-expanded",!1),bodyScrollLock.enableBodyScroll(document.body)})}),window.matchMedia("(min-width: 768px)").addEventListener("change",n=>{n.matches&&(e.classList.remove("is-open"),t.setAttribute("aria-expanded",!1),bodyScrollLock.enableBodyScroll(document.body))})})();let p=/(\s*)?(\+)?([- _():=+]?\d[- _():=+]?){10,14}(\s*)?/,u=document.querySelector("#order-phone"),s=document.querySelector(".order-err-msg");document.querySelector(".order-submit-btn").onclick=function(e){e.preventDefault(),f(p,u.value)?(v(s,s,""),console.log("Valid number"),console.log(u.value)):(y(s,s,"Invalid format"),console.log("Error"))};function f(e,t){return e.test(t)}function y(e,t,l){e.classList.add("is-invalid"),e.classList.remove("is-valid"),t.innerHTML=l}function v(e,t,l){e.classList.remove("is-invalid"),e.classList.add("is-valid"),t.innerHTML=l}let r=document.querySelector("#bank-card-input"),L=/[0-9]/,m=/[0-9]{4}/;r.addEventListener("input",e=>{if(e.inputType==="insertText"&&!L.test(e.data)||r.value.length>19){r.value=r.value.slice(0,r.value.length-1);return}let t=r.value;if(e.inputType==="deleteContentBackward"&&m.test(t.slice(-4))){r.value=r.value.slice(0,r.value.length-1);return}m.test(t.slice(-4))&&t.length<19&&(r.value+=" ")});const k=document.querySelectorAll(".modal-checkbox-container"),i=document.querySelectorAll(".check-input");k.forEach((e,t)=>{e.addEventListener("click",()=>{i[t].checked=!i[t].checked}),e.addEventListener("keydown",l=>{l.key===" "&&(l.preventDefault(),i[t].checked=!i[t].checked)})});let a=document.getElementById("btn-back-to-top");window.onscroll=function(){b()};function b(){document.body.scrollTop>500||document.documentElement.scrollTop>500?a.classList.add("show"):a.classList.remove("show")}a.addEventListener("click",h);function h(){document.body.scrollTop=0,document.documentElement.scrollTop=0,a.blur()}(()=>{const e={openModalBtn:document.querySelector("[data-modal-open]"),openModalBtn2:document.querySelector("[data-modal-open2]"),openModalBtn3:document.querySelector("[data-modal-open3]"),openModalBtn4:document.querySelector("[data-modal-open4]"),closeModalBtn:document.querySelector("[data-modal-close]"),modal:document.querySelector("[data-modal]")};e.openModalBtn.addEventListener("click",c),e.openModalBtn2.addEventListener("click",c),e.openModalBtn3.addEventListener("click",c),e.openModalBtn4.addEventListener("click",c),e.closeModalBtn.addEventListener("click",c),e.modal.addEventListener("click",t),document.body.addEventListener("keydown",l);function t(o){o.currentTarget===o.target&&c()}function l(o){e.modal.classList.contains("is-hidden")||o.key==="Escape"&&c()}function c(){e.modal.classList.toggle("is-hidden")}})();
+(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))c(o);new MutationObserver(o=>{for(const n of o)if(n.type==="childList")for(const r of n.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&c(r)}).observe(document,{childList:!0,subtree:!0});function l(o){const n={};return o.integrity&&(n.integrity=o.integrity),o.referrerpolicy&&(n.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?n.credentials="include":o.crossorigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function c(o){if(o.ep)return;o.ep=!0;const n=l(o);fetch(o.href,n)}})();(()=>{const e=document.querySelector(".js-menu-container"),t=document.querySelector(".js-open-menu"),l=document.querySelector(".js-close-menu"),c=document.querySelectorAll(".header-link"),o=()=>{const n=t.getAttribute("aria-expanded")==="true"||!1;t.setAttribute("aria-expanded",!n),e.classList.toggle("is-open");const r=n?"enableBodyScroll":"disableBodyScroll";bodyScrollLock[r](document.body)};t.addEventListener("click",o),l.addEventListener("click",o),c.forEach(n=>{n.addEventListener("click",()=>{e.classList.remove("is-open"),t.setAttribute("aria-expanded",!1),bodyScrollLock.enableBodyScroll(document.body)})}),window.matchMedia("(min-width: 768px)").addEventListener("change",n=>{n.matches&&(e.classList.remove("is-open"),t.setAttribute("aria-expanded",!1),bodyScrollLock.enableBodyScroll(document.body))})})();let f=/(\s*)?(\+)?([- _():=+]?\d[- _():=+]?){10,14}(\s*)?/,u=document.querySelector("#order-phone"),s=document.querySelector(".order-err-msg");document.querySelector(".order-submit-btn").onclick=function(e){e.preventDefault(),p(f,u.value)?(v(s,s,""),console.log("Valid number"),console.log(u.value)):(y(s,s,"Invalid format"),console.log("Error"))};function p(e,t){return e.test(t)}function y(e,t,l){e.classList.add("is-invalid"),e.classList.remove("is-valid"),t.innerHTML=l}function v(e,t,l){e.classList.remove("is-invalid"),e.classList.add("is-valid"),t.innerHTML=l}let d=document.querySelector("#bank-card-input"),L=/[0-9]/,m=/[0-9]{4}/;d.addEventListener("input",e=>{if(e.inputType==="insertText"&&!L.test(e.data)||d.value.length>19){d.value=d.value.slice(0,d.value.length-1);return}let t=d.value;if(e.inputType==="deleteContentBackward"&&m.test(t.slice(-4))){d.value=d.value.slice(0,d.value.length-1);return}m.test(t.slice(-4))&&t.length<19&&(d.value+=" ")});const b=document.querySelectorAll(".modal-checkbox-container"),i=document.querySelectorAll(".check-input");b.forEach((e,t)=>{e.addEventListener("click",()=>{i[t].checked=!i[t].checked}),e.addEventListener("keydown",l=>{l.key===" "&&(l.preventDefault(),i[t].checked=!i[t].checked)})});let a=document.getElementById("btn-back-to-top");window.onscroll=function(){k()};function k(){document.body.scrollTop>500||document.documentElement.scrollTop>500?a.classList.add("show"):a.classList.remove("show")}a.addEventListener("click",h);function h(){document.body.scrollTop=0,document.documentElement.scrollTop=0,a.blur()}(()=>{const e={openModalBtn:document.querySelector("[data-modal-open]"),openModalBtn2:document.querySelector("[data-modal-open2]"),openModalBtn3:document.querySelector("[data-modal-open3]"),openModalBtn4:document.querySelector("[data-modal-open4]"),closeModalBtn:document.querySelector("[data-modal-close]"),modal:document.querySelector("[data-modal]")};e.openModalBtn.addEventListener("click",c),e.openModalBtn2.addEventListener("click",c),e.openModalBtn3.addEventListener("click",c),e.openModalBtn4.addEventListener("click",c),e.closeModalBtn.addEventListener("click",c),e.modal.addEventListener("click",t),document.body.addEventListener("keydown",l);function t(o){o.currentTarget===o.target&&c()}function l(o){e.modal.classList.contains("is-hidden")||o.key==="Escape"&&c()}function c(){e.modal.classList.toggle("is-hidden"),e.modal.classList.contains("is-hidden")?document.body.style.overflow="auto":document.body.style.overflow="hidden"}})();
diff --git a/index.html b/index.html
index 9137a85..d89599c 100644
--- a/index.html
+++ b/index.html
@@ -21,7 +21,7 @@
referrerpolicy="no-referrer"
/>
-
+