text: !function(e){var t={};function n(s){if(t[s])return t[s].exports;var r=t[s]={i:s,l:!1,exports:{}};return e[s].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,s){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(s,r,function(t){return e[t]}.bind(null,r));return s},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){n(1),e.exports=n(2)},function(e,t){var n=document.querySelector("#wrapper-page"),s=document.querySelector("#special-offers__btn-1"),r=document.querySelector("#special-offers__btn-2"),c=document.querySelector("#special-offers__btn-3"),o=document.querySelector("#special-offers__box-1"),a=document.querySelector("#special-offers__box-2"),l=document.querySelector("#special-offers__box-3");document.querySelector("#special-offers__btn-1")&&s.addEventListener("click",(function(e){e.preventDefault(),s.classList.add("special-offers__btn_selected"),r.classList.remove("special-offers__btn_selected"),c.classList.remove("special-offers__btn_selected"),n.classList.add("wrapper-page_gren"),n.classList.remove("wrapper-page_blue","wrapper-page_brown"),o.classList.remove("none"),a.classList.add("none"),l.classList.add("none")})),document.querySelector("#special-offers__btn-2")&&r.addEventListener("click",(function(e){e.preventDefault(),s.classList.remove("special-offers__btn_selected"),r.classList.add("special-offers__btn_selected"),c.classList.remove("special-offers__btn_selected"),n.classList.remove("wrapper-page_gren","wrapper-page_brown"),n.classList.add("wrapper-page_blue"),n.classList.remove("wrapper-page_gren"),o.classList.add("none"),a.classList.remove("none"),l.classList.add("none")})),document.querySelector("#special-offers__btn-3")&&c.addEventListener("click",(function(e){e.preventDefault(),s.classList.remove("special-offers__btn_selected"),r.classList.remove("special-offers__btn_selected"),c.classList.add("special-offers__btn_selected"),n.classList.add("wrapper-page_brown"),n.classList.remove("wrapper-page_gren","wrapper-page_blue"),o.classList.add("none"),a.classList.add("none"),l.classList.remove("none")}));var i=document.querySelector("#btn-feedback"),d=document.querySelector("#modal-feedback"),u=document.querySelector("#modal-feedback__close");document.querySelector("#btn-feedback")&&i.addEventListener("click",(function(e){e.preventDefault(),d.classList.remove("none"),n.classList.add("wrapper-page_roily")})),document.querySelector("#modal-feedback__close")&&u.addEventListener("click",(function(e){e.preventDefault(),d.classList.add("none"),n.classList.remove("wrapper-page_roily")}));let f=document.querySelector("#basket"),p=document.querySelector("#shopping-cart"),_=document.querySelector("#shopping-cart__close"),m=document.querySelector("#login__open"),L=document.querySelector("#login__form"),v=document.querySelector("#login__close"),b=document.querySelector("#search__open"),y=document.querySelector("#search__form"),S=document.querySelector("#search__close");f.addEventListener("click",(function(e){e.preventDefault(),p.classList.remove("none"),L.classList.add("none"),y.classList.add("none")})),_.addEventListener("click",(function(e){e.preventDefault(),p.classList.add("none")})),m.addEventListener("click",(function(e){e.preventDefault(),L.classList.remove("none"),p.classList.add("none"),y.classList.add("none")})),v.addEventListener("click",(function(e){e.preventDefault(),L.classList.add("none")})),b.addEventListener("click",(function(e){e.preventDefault(),y.classList.remove("none"),p.classList.add("none"),L.classList.add("none")})),S.addEventListener("click",(function(e){e.preventDefault(),y.classList.add("none")}))},function(e,t,n){}]);
  //# sourceMappingURL=bundle.js.map