1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{1382:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return a(2616)}])},637:function(e,t,a){"use strict";var n=a(5893),r=a(1664),s=a.n(r);a(7294);var c=a(4068),o=a.n(c);t.Z=()=>(0,n.jsxs)("footer",{className:"".concat(o().footer," pt-7 pb-4"),children:[(0,n.jsx)(s(),{href:"/contact",className:"".concat(o().footer__catchprase," fw-700 ta-center h5"),children:"Let's Work Together"}),(0,n.jsx)(s(),{href:"/legals",className:"".concat(o().footer__legals),children:"Legals"}),(0,n.jsxs)("p",{className:"".concat(o().footer__studio," f f-ai-center ta-right"),children:[(0,n.jsxs)("span",{className:"mb-1",children:["Made with [",(0,n.jsx)("span",{className:"fw-700 mr-1 ml-1",children:"love"}),"] by"," "]}),(0,n.jsx)(s(),{href:"https://www.instagram.com/wearestudio99/?hl=fr",target:"_blank",className:"ml-2",passHref:!0,children:(0,n.jsx)("img",{className:"".concat(o().footer__logo),width:"30px",height:"20.73px",src:"/images/we-are-studio-99.svg",alt:"WeAreStudio99Logo"})})]})]})},6527:function(e,t,a){"use strict";a.d(t,{Z:function(){return components_Header}});var n,r,s,c,o,i,l,_,u=a(5893),d=a(7294),h=a(5675),p=a.n(h),m=a(1664),f=a.n(m);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}var twitter=function(e){return d.createElement("svg",_extends({"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2928 2380.49"},e),n||(n=d.createElement("path",{d:"M920.83 2380.49c1105 0 1709.22-915.75 1709.22-1709.86q0-39-1.7-77.67A1222.06 1222.06 0 002928 281.77a1197.37 1197.37 0 01-345 94.62c124-74.4 219.25-192.1 264.17-332.39a1204.64 1204.64 0 01-381.46 145.87C2356.11 73.06 2200.04 0 2027.23 0c-331.74 0-600.76 269.13-600.76 600.87a600.45 600.45 0 0015.58 137C942.78 712.76 500.05 473.63 203.76 110a599.43 599.43 0 00-81.34 302.05c0 208.5 106.05 392.55 267.33 500.23a596.14 596.14 0 01-272.07-75.16c-.09 2.52-.09 5-.09 7.68 0 291 207.07 534 481.94 589.08a599.62 599.62 0 01-271.3 10.32c76.48 238.8 298.24 412.54 561.18 417.4-205.61 161.21-464.62 257.23-746.12 257.23A1221 1221 0 010 2110.51c265.87 170.49 581.55 269.94 920.86 269.94",fill:"#fff"})))};function spotify_extends(){return(spotify_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}var spotify=function(e){return d.createElement("svg",spotify_extends({"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2931 2931"},e),r||(r=d.createElement("path",{d:"M2279.2 1557.6c-452.3-278-1114-356.2-1646.2-194.7a114.23 114.23 0 1066.4 218.6c465.9-141.4 1066.5-71.3 1460.3 170.8a114.34 114.34 0 00157.2-37.6c33.1-53.7 16.1-124-37.7-157.1zM2107.3 1988c-386.3-236-865.2-290.9-1423.4-163.4a91.35 91.35 0 1040.7 178.1c510.1-116.5 943.3-69 1287.4 141.3a91.28 91.28 0 00125.6-30.4c26.4-43 12.7-99.1-30.3-125.6zM2472.2 1063.3c-543.8-322.8-1404.3-353.1-1922-196a137.17 137.17 0 00-91.4 171c21.9 72.4 98.5 113.3 170.9 91.3 451-136.8 1230.2-111 1702.6 169.5a137.09 137.09 0 00139.9-235.8z",fill:"none"})),s||(s=d.createElement("path",{d:"M1465.5 0C656.1 0 0 656.1 0 1465.5S656.1 2931 1465.5 2931 2931 2274.9 2931 1465.5 2274.9.1 1465.5 0zm672.1 2113.6A91.28 91.28 0 012012 2144c-344.1-210.3-777.3-257.8-1287.4-141.3a91.35 91.35 0 11-40.7-178.1C1242.1 1697.1 1721 1752 2107.3 1988c43 26.5 56.7 82.6 30.3 125.6zm179.3-398.9a114.34 114.34 0 01-157.2 37.6c-393.8-242.1-994.4-312.2-1460.3-170.8a114.23 114.23 0 11-66.4-218.6c532.2-161.5 1193.9-83.3 1646.2 194.7 53.8 33.1 70.8 103.4 37.7 157.1zm15.4-415.6c-472.4-280.5-1251.6-306.3-1702.6-169.5-72.4 22-149-18.9-170.9-91.3a137.17 137.17 0 0191.4-171c517.7-157.1 1378.2-126.8 1922 196a137.09 137.09 0 01-139.9 235.8z",fill:"#fff"})))};function instagram_extends(){return(instagram_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}var instagram=function(e){return d.createElement("svg",instagram_extends({"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2380.39 2380.49"}
1,e),c||(c=d.createElement("path",{d:"M1190.24 579.07c-337.55 0-611.17 273.62-611.17 611.17 0 337.56 273.62 611.18 611.17 611.18s611.18-273.62 611.18-611.18-273.62-611.17-611.18-611.17zm0 1008c-219.1 0-396.68-177.67-396.68-396.78s177.58-396.78 396.68-396.78S1587 971.14 1587 1190.24 1409.35 1587 1190.24 1587z",fill:"#fcfcfc"})),o||(o=d.createElement("path",{d:"M2373.28 699.53c-5.77-126.71-25.86-213.24-55.28-288.91-30.48-78.26-71.15-144.59-137.3-210.84S2048.12 92.87 1970 62.49c-75.76-29.42-162.29-49.61-288.91-55.28C1554.14 1.44 1513.57 0 1190.34 0s-363.8 1.35-490.81 7.21C572.82 13 486.29 33.07 410.62 62.49 332.36 92.87 266 133.64 199.78 199.78S92.87 332.27 62.49 410.62C33.07 486.29 13 572.82 7.21 699.53 1.35 826.44 0 867 0 1190.24S1.35 1554.05 7.21 1681c5.77 126.71 25.86 213.24 55.28 288.9 30.38 78.26 71 144.7 137.29 210.85S332.27 2287.52 410.62 2318c75.77 29.42 162.2 49.51 288.91 55.28 127 5.77 167.48 7.21 490.71 7.21s363.81-1.35 490.72-7.21c126.71-5.77 213.24-25.86 288.9-55.28 78.26-30.48 144.6-71.15 210.84-137.29s106.82-132.59 137.3-210.85c29.42-75.66 49.61-162.19 55.28-288.9 5.77-127 7.11-167.48 7.11-490.72s-1.34-363.8-7.11-490.71zm-214.11 971.72c-5.29 116-24.71 179.11-41 221-21.63 55.57-47.4 95.18-89 136.81s-81.33 67.39-136.9 89c-41.92 16.34-105 35.67-221 41-125.47 5.77-163.16 6.93-481 6.93s-355.43-1.16-480.9-6.93c-116-5.28-179.11-24.61-221-41-55.57-21.64-95.18-47.4-136.91-89s-67.49-81.24-89-136.81c-16.34-41.92-35.67-105-41-221-5.77-125.47-6.93-163.16-6.93-481s1.25-355.43 6.93-481c5.28-116 24.7-179 41-221 21.64-55.57 47.4-95.18 89-136.91s81.24-67.49 136.91-89c41.92-16.35 105-35.67 221-41 125.47-5.77 163.15-6.92 480.9-6.92s355.44 1.25 481 6.92c116 5.29 179 24.71 221 41 55.57 21.53 95.18 47.39 136.9 89s67.4 81.34 89 136.91c16.35 41.92 35.67 105 41 221 5.77 125.57 6.92 163.16 6.92 481s-1.15 355.43-6.92 481z",fill:"#fcfcfc"})),i||(i=d.createElement("path",{d:"M1825.65 412.07a142.82 142.82 0 10142.87 142.77 142.81 142.81 0 00-142.87-142.77z",fill:"#fcfcfc"})))},g={src:"/_next/static/media/logo.baed3d72.png",height:1182,width:2016,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAIVBMVEX///////////////////////////////////////////9/gMdvAAAAC3RSTlN+T6GzI2ZiLo9wQic48l0AAAAJcEhZcwAAFiUAABYlAUlSJPAAAAAoSURBVHicBcEHAQAwDMMwJ/3jD3gSp4tuRAR+s0WrsMKATe2ip8yZ/A3wAJ2XFEGcAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},A={src:"/_next/static/media/logo-black.58f54e4d.png",height:1182,width:2016,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAIVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABt0UjBAAAAC3RSTlN+ZCZNsz2kj3CcVNrUscsAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAApSURBVHicFcGJDQAgEMOwlN7L/gMjbMYTEiaCymwhi7pRwC7qxnnP9wANegCZZSpq9wAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5};function close_icon_extends(){return(close_icon_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}var close_icon=function(e){return d.createElement("svg",close_icon_extends({xmlns:"http://www.w3.org/2000/svg",height:36,viewBox:"0 0 24 24",width:36},e),l||(l=d.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none"})),_||(_=d.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"})))},x=a(9924),b=a.n(x),components_Burger=e=>{let{className:t,onClick:a,isMenuOpen:n}=e;return(0,u.jsxs)("div",{onClick:a,className:"".concat(b().burger," ").concat(t||""," ").concat(n?b()["burger--popout"]:""," ","f f-direction-column"),children:[(0,u.jsx)("div",{className:"".concat(b().burger__item)}),(0,u.jsx)("div",{className:"".concat(b().burger__item)}),(0,u.jsx)("div",{className:"".concat(b().burger__item)})]})},v=a(6278);let handleBurgerClick=e=>()=>{e(!0)},handleCloseIconClick=e=>()=>{e(!1)};var w=a(5990),j=a.n(w),components_Header=()=>{let[e,t]=(0,d.useState)(!1);return(0,u.jsxs)("header",{className:"".concat(j().header," p-4"),children:[(0,u.jsxs)("div",{className:"".concat(j().header__mobile," f f-jc-space-b f-ai-center"),children:[(0,u.jsx)("div",{className:"".concat(j()["header__mobile-logo"]),children:(0,u.jsx)(f(),{href:"/",passHref:!0,children:(0,u.jsx)(p(),{priority:!0,src:g,alt:"Adrobski Logo",height:1182,width:2016,sizes:"100vw",style:{width:"100%",height:"auto"}})})}),(0,u.jsx)(components_Burger,{isMenuOpen:e,onClick:handleBurgerClick(t)})]}),(0,u.jsxs)("div",{className:"".concat(j().header__wrapper," ").concat(e?j()["header__wrapper--open"]:""),children:[(0,u.jsxs)("div",{className:"".concat(j().header__svgs," ").concat(e?j()["header__svgs--slidin"]:""," f-js-center f-as-start"),children:[(0,u.jsx)("a",{href:v.v,target:"_blank",rel:"noreferrer",children:(0,u.jsx)(twitter,{})}),(0,u.jsx)("a",{href:v.SB,target:"_blank",rel:"noreferrer",children:(0,u.jsx)(instagram,{className:"ml-4 mr-4"})}),(0,u.jsx)("a",{href:v.dX,target:"_blank",rel:"noreferrer",children:(0,u.jsx)(spotify,{})})]}),(0,u.jsxs)("div",{className:"".concat(j().header__logo," f-js-center f-as-end"),children:[(0,u.jsx)("div",{className:"".concat(j()["main-logo"]),children:(0,u.jsx)(f(),{href:"/",passHref:!0,children:(0,u.jsx)(p(),{priority:!0,src:g,alt:"Adrobski Logo",height:1182,width:2016,sizes:"100vw",style:{width:"100%",height:"auto"}})})}),(0,u.jsx)("div",{className:"".concat(j()["main-logo--black"]),children:(0,u.jsx)(f(),{href:"/",passHref:!0,children:(0,u.jsx)(p(),{priority:!0,src:A,alt:"Adrobski Logo",height:1182,width:2016,sizes:"100vw",style:{width:"100%",height:"auto"}})})})]}),(0,u.jsxs)("div",{className:"".concat(j().header__links," f f-ai-center f-jc-center"),children:[(0,u.jsx)(f(),{href:"/contact",className:"".concat(j().header__link," fw-700 f-js-center mt-5 mb-5"),children:"contact"}),(0,u.jsx)(f(),{href:"/collaborations",className:"".concat(j().header__link," fw-700 f-js-center mt-5 mb-5"),children:"clients"})]}),(0,u.jsx)(close_icon,{onClick:handleCloseIconClick(t),className:"".concat(j().header__close," ").concat(e?j()["header__close--popin"]:"")})]})]})}},7103:function(e,t,a){"use strict";a.d(t,{Z:function(){return Inputs_Button}});var n=a(5893),r=a(7294),s=a(3785),c=a(1403),o=a.n(c);let handleClick=e=>t=>{t.preventDefault(),e(t)}
1;var Inputs_Button=e=>{let{text:t,fullWidth:a,className:c,type:i,disabled:l,primary:_,small:u,onClick:d,icon:h}=e;return(0,n.jsxs)("button",{onClick:handleClick(d),disabled:l,type:i,className:"".concat(c||""," ").concat(o().button," ").concat(a?o()["button--full"]:""," ").concat(u?o()["button--small"]:""," ").concat(_?o()["button--primary"]:""," ").concat(h===s.Z?o()["button--loader"]:""," p-4 fw-700"),children:[t,h&&(0,r.createElement)(h)]})}},6278:function(e,t,a){"use strict";a.d(t,{SB:function(){return r},dX:function(){return s},v:function(){return n}});let n="https://twitter.com/adrobskimusic",r="https://www.instagram.com/adrobskimusic",s="https://open.spotify.com/artist/2pQTrxWzQz1FoHJpL2xQXg?si=T3DVJPviT9uvAquOnhc5ew&dl_branch=1tify"},224:function(e,t,a){"use strict";var n=a(5893);t.Z=e=>{let{children:t}=e;return(0,n.jsx)("div",{className:"container f f-direction-column",children:t})}},2616:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return contact}});var n=a(5893),r=a(5121),s=a(9008),c=a.n(s),o=a(7294),i=a(3785),l=a(8268),_=a(6445),u=a(637);let useForm=e=>{let{reference:t,isValid:a,setIsValid:n}=e,[,r]=(0,o.useState)();(0,o.useEffect)(()=>{if(!t.current)return;let e=t.current.checkValidity();a!==e&&n(e)}),(0,o.useEffect)(()=>{if(!t.current){r(!1);return}r(!0)},[t])};var components_Form=e=>{let{id:t,children:a,className:r,reference:s,isValid:c,setIsValid:o}=e;return useForm({reference:s,isValid:c,setIsValid:o}),(0,n.jsx)("form",{ref:s,className:r||"",id:t,noValidate:!0,children:s.current&&a})},d=a(6527),h=a(7103),p=a(3248),m=a.n(p);let checkValidity=(e,t,a,n,r,s,c)=>{if(n&&!e.target.value){e.target.setCustomValidity("".concat(t," is required")),a(e.target.validationMessage);return}if(r&&e.target.value.length<r){e.target.setCustomValidity("".concat(t," must be at least ").concat(r," characters")),a(e.target.validationMessage);return}if(s&&e.target.value.length>s){e.target.setCustomValidity("".concat(t," can't exceed ").concat(s," characters")),a(e.target.validationMessage);return}if("email"===c&&e.target.validity.typeMismatch){e.target.setCustomValidity("".concat(e.target.value," is not a valid email")),a(e.target.validationMessage);return}if("url"===c&&e.target.validity.typeMismatch){e.target.setCustomValidity("".concat(e.target.value," is not a valid url")),a(e.target.validationMessage);return}e.target.setCustomValidity(""),a("")},useTextInput=e=>{let{setValue:t,validateOnBlur:a,label:n,required:r,minLength:s,maxLength:c,type:o,form:i,index:l,setError:_}=e;return{handleChange:e=>{t(e.target.value),a||checkValidity(e,n,_,r,s,c,o)},handleBlur:e=>{a&&checkValidity(e,n,_,r,s,c,o)},handleKeyDown:e=>{if("Enter"!==e.key)return;let t=document.querySelector('input[data-form="'.concat(i,"-").concat(l+1,'"]'));null==t||t.focus()}}};var Inputs_TextInput=e=>{let{className:t,name:a,label:r,placeholder:s,value:c,setValue:i,required:l,minLength:_,maxLength:u,type:d,form:h,index:p,validateOnBlur:f,rows:g}=e,[A,x]=(0,o.useState)(""),{handleChange:b,handleBlur:v,handleKeyDown:w}=useTextInput({setValue:i,validateOnBlur:f,label:r,required:l,minLength:_,maxLength:u,type:d,form:h,index:p,setError:x});return(0,n.jsxs)("div",{className:"".concat(t," f f-direction-column"),children:[(0,n.jsx)("label",{className:"mb-2",htmlFor:a,children:r}),"textarea"===d?(0,n.jsx)("textarea",{className:"".concat(m()["text-input__input"]," ").concat(m()["text-input__input--textarea"]," ").concat(A?m()["text-input__input--invalid"]:""," p-2"),"data-form":"".concat(h,"-").concat(p),onChange:b,onKeyDown:w,name:a,placeholder:s,id:a,value:c,rows:g,required:l}):(0,n.jsx)("input",{className:"".concat(m()["text-input__input"]," ").concat(A?m()["text-input__input--invalid"]:""," p-2"),"data-form":"".concat(h,"-").concat(p),onChange:b,onBlur:v,onKeyDown:w,type:d,name:a,placeholder:s,id:a,value:c,required:l}),A&&(0,n.jsx)("p",{className:"".concat(m()["text-input__error"]," fs-small mt-2"),children:A})]})},f=a(224),g=a(4455),A=a.n(g),contact=()=>{let[e,t]=(0,o.useState)(!1),[a,s]=(0,o.useState)(""),[p,m]=(0,o.useState)(""),[g,x]=(0,o.useState)(""),[b,v]=(0,o.useState)(""),[w,j]=(0,o.useState)("Send"),[y,N]=(0,o.useState)(),k=(0,o.useRef)(null),hanldeSubmit=async()=>{j("Sending"),N(i.Z);let e=await r.Z.post("/api/send-mail",{firstName:a,lastName:p,email:g,message:b}).catch(e=>console.log(e));if(!e||200!==e.status){j("Error sending your message, Reload + Try again"),N(l.Z);return}j("Messsage sent"),N(_.Z)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c(),{children:(0,n.jsx)("title",{children:"Contact - Adrobski Sound Design"})}),(0,n.jsx)(d.Z,{}),(0,n.jsxs)(f.Z,{children:[(0,n.jsxs)(components_Form,{id:"form",reference:k,isValid:e,setIsValid:t,children:[(0,n.jsx)(Inputs_TextInput,{className:"mb-3",form:k,index:1,type:"text",name:"firstname",label:"Firstname",value:a,setValue:s,placeholder:"John",required:!0}),(0,n.jsx)(Inputs_TextInput,{className:"mb-3",form:k,index:2,type:"text",name:"lastname",label:"Lastname",value:p,setValue:m,placeholder:"Doe",required:!0}),(0,n.jsx)(Inputs_TextInput,{className:"mb-3",form:k,index:3,type:"email",name:"email",label:"Email",value:g,setValue:x,placeholder:"[email protected]",required:!0,validateOnBlur:!0}),(0,n.jsx)(Inputs_TextInput,{className:"mb-5",form:k,index:4,type:"textarea",
1name:"message",label:"Message",value:b,setValue:v,placeholder:"Hey, I'd really like to work with you on some projects ...",rows:5,required:!0}),(0,n.jsx)(h.Z,{onClick:hanldeSubmit,className:A().contact__button,disabled:!e,text:w,icon:y,type:"button",fullWidth:!0,primary:!0})]}),(0,n.jsx)(u.Z,{})]})]})}},9924:function(e){e.exports={burger:"burger_burger__FK_PV","burger--popout":"burger_burger--popout__gMUJM",burger__item:"burger_burger__item__wM7__"}},4068:function(e){e.exports={footer:"footer_footer__31zqY",footer__catchprase:"footer_footer__catchprase__zwov_",footer__legals:"footer_footer__legals__fqu2n",footer__studio:"footer_footer__studio__pfoXE",footer__logo:"footer_footer__logo__DOys3"}},5990:function(e){e.exports={header__wrapper:"header_header__wrapper__VrnC_","header__wrapper--open":"header_header__wrapper--open__LMVIN",header__svgs:"header_header__svgs__nfufc","header__svgs--slidin":"header_header__svgs--slidin__hlBiJ",slidin:"header_slidin__V7RKC",header__logo:"header_header__logo__p_8mp",header__links:"header_header__links__zNB1B",header__link:"header_header__link__8y0D_",header__close:"header_header__close__gHiGu","header__close--popin":"header_header__close--popin__j0Trh",popin:"header_popin__hooSS","main-logo":"header_main-logo__ndEin","header__mobile-logo":"header_header__mobile-logo__h7sdC",header__mobile:"header_header__mobile__OB6_u","main-logo--black":"header_main-logo--black__6_nIQ"}},1403:function(e){e.exports={button:"button_button__C7js_","button--full":"button_button--full__aiRDo","button--small":"button_button--small__UUXIX","button--primary":"button_button--primary__2hgb5","button--loader":"button_button--loader__amhNV",fade:"button_fade__mkXgL",spin:"button_spin__FxJs_"}},3248:function(e){e.exports={"text-input__input":"text-input_text-input__input__InMlE","text-input__input--textarea":"text-input_text-input__input--textarea__XGtSo","text-input__input--invalid":"text-input_text-input__input--invalid__eozda","text-input__error":"text-input_text-input__error__6hVDg"}},4455:function(e){e.exports={temp:"contact_temp__Gb0gl",contact__button:"contact_contact__button__I1fT4"}}},function(e){e.O(0,[247,19,774,888,179],function(){return e(e.s=1382)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.