window.Webflow||=[],window.Webflow.push((()=>{let t=document.getElementById("home__bg-layout1"),e=document.getElementById("home__bg-layout2"),o=document.getElementById("about__bg-layout1"),n=document.getElementById("about-transitions"),i=document.getElementById("about__bg-layout2"),g=document.getElementById("about2__bg-layout1"),l=document.getElementById("about2__bg-layout2"),d=document.getElementById("about2__stat-img"),u=document.getElementById("service__bg-layout1"),a=document.getElementById("service__bg-layout2"),_=document.getElementById("exp__bg-layout1"),c=document.getElementById("exp__bg-layout2"),r=document.getElementById("contact__bg-layout1"),b=document.getElementById("contact__bg-layout2");function y(){$("#home__bg-layout2-top-text").text(e.getBoundingClientRect().top.toFixed()),$(".home__bg-layout2-top").height(e.getBoundingClientRect().top),$("#home__bg-layout2-bot-text").text(($(window).height()-e.getBoundingClientRect().bottom).toFixed()),$(".home__bg-layout2-bot").height($(window).height()-e.getBoundingClientRect().bottom),$("#home__bg-layout2-left-text").text(e.getBoundingClientRect().left.toFixed()),$(".home__bg-layout2-left").width(e.getBoundingClientRect().left),$("#home__bg-layout2-right-text").text(($(window).width()-e.getBoundingClientRect().right).toFixed()),$(".home__bg-layout2-right").width($(window).width()-e.getBoundingClientRect().right)}function h(){$("#about__bg-layout2-top-text").text(i.getBoundingClientRect().top.toFixed()),$(".about__bg-layout2-top").height(i.getBoundingClientRect().top),$("#about__bg-layout2-bot-text").text(($(window).height()-i.getBoundingClientRect().bottom).toFixed()),$(".about__bg-layout2-bot").height($(window).height()-i.getBoundingClientRect().bottom),$("#about__bg-layout2-left-text").text(i.getBoundingClientRect().left.toFixed()),$(".about__bg-layout2-left").width(i.getBoundingClientRect().left),$("#about__bg-layout2-right-text").text(($(window).width()-i.getBoundingClientRect().right).toFixed()),$(".about__bg-layout2-right").width($(window).width()-i.getBoundingClientRect().right)}function x(){$("#exp__bg-layout1-top-text").text(_.getBoundingClientRect().top.toFixed()),$(".exp__bg-layout1-top").height(_.getBoundingClientRect().top),$("#exp__bg-layout1-bot-text").text(($(window).height()-_.getBoundingClientRect().bottom).toFixed()),$(".exp__bg-layout1-bot").height($(window).height()-_.getBoundingClientRect().bottom),$("#exp__bg-layout1-left-text").text(_.getBoundingClientRect().left.toFixed()),$(".exp__bg-layout1-left").width(_.getBoundingClientRect().left),$("#exp__bg-layout1-right-text").text(($(window).width()-_.getBoundingClientRect().right).toFixed()),$(".exp__bg-layout1-right").width($(window).width()-_.getBoundingClientRect().right)}function s(){$("#contact__bg-layout1-top-text").text(r.getBoundingClientRect().top.toFixed()),$(".contact__bg-layout1-top").height(r.getBoundingClientRect().top),$("#contact__bg-layout1-bot-text").text(($(window).height()-r.getBoundingClientRect().bottom).toFixed()),$(".contact__bg-layout1-bot").height($(window).height()-r.getBoundingClientRect().bottom),$("#contact__bg-layout1-left-text").text(r.getBoundingClientRect().left.toFixed()),$(".contact__bg-layout1-left").width(r.getBoundingClientRect().left),$("#contact__bg-layout1-right-text").text(($(window).width()-r.getBoundingClientRect().right).toFixed()),$(".contact__bg-layout1-right").width($(window).width()-r.getBoundingClientRect().right)}let w=gsap.timeline({repeat:-1,repeatDelay:6,paused:!0});w.to("#home__bg-layout1",{display:"flex",duration:0,delay:2}).add((function(){$("#home__bg-layout1-top-text").text(t.getBoundingClientRect().top.toFixed()),$(".home__bg-layout1-top").height(t.getBoundingClientRect().top),$("#home__bg-layout1-bot-text").text(($(window).height()-t.getBoundingClientRect().bottom).toFixed()),$(".home__bg-layout1-bot").height($(window).height()-t.getBoundingClientRect().bottom),$("#home__bg-layout1-left-text").text(t.getBoundingClientRect().left.toFixed()),$(".home__bg-layout1-left").width(t.getBoundingClientRect().left),$("#home__bg-layout1-right-text").text(($(window).width()-t.getBoundingClientRect().right).toFixed()),$(".home__bg-layout1-right").width($(window).width()-t.getBoundingClientRect().right)}),"<"),w.to("#home__bg-layout1",{display:"none",duration:0,delay:.5}),w.to("#home__bg-layout2",{display:"flex",duration:0,delay:8}).add((function(){y(),document.getElementById("social__dribbble-icon-wrapper").addEventListener("mouseover",y)}),"<"),w.to("#home__bg-layout2",{display:"none",duration:0,delay:.5}).add((function(){document.getElementById("social__dribbble-icon-wrapper").removeEventListener("mouseover",y)}),"<");let p=gsap.timeline({repeat:-1,repeatDelay:6,paused:!0});p.to("#about__bg-layout1",{display:"flex",duration:0,delay:2}).add((function(){$("#about__bg-layout1-left-text").text((o.getBoundingClientRect().left-n.getBoundingClientRect().right).toFixed()),$(".about__bg-layout1-left").width(o.getBoundingClientRect().left-n.getBoundingClientRect().right),$(".about__bg-layout1-bot-dashed").width(o.getBoundingClientRect().left-n.getBoundingClientRect().right+o.getBoundingClientRect().width/2),$("#about__bg-layout1-bot-text").text((n.getBoundingClientRect().top-o.getBoundingClientRect().bottom).toFixed()),$(".about__bg-layout1-bot").height(n.getBoundingClientRect().top-o.getBoundingClientRect().bottom),$(".about__bg-layout1-left-dashed").height(n.getBoundingClientRect().top-o.getBoundingClientRect().bottom+o.getBoundingClientRect().height/2)}),"<"),p.to("#about__bg-layout1",{display:"none",duration:0,delay:.5}),p.to("#about__bg-layout2",{display:"flex",duration:0,delay:8}).add((function(){h(),document.getElementById("nav__experience-link").addEventListener("mouseover",h)}),"<"),p.to("#about__bg-layout2",{display:"none",duration:0,delay:.5}).add((function(){document.getElementById("nav__experience-link").removeEventListener("mouseover",h)}),"<");let m=gsap.timeline({repeat:-1,repeatDelay:6,paused:!0});m.to("#about2__bg-layout1",{display:"flex",duration:0,delay:2}).add((function(){$("#about2__bg-layout1-top-text").text(g.getBoundingClientRect().top.toFixed()),$(".about2__bg-layout1-top").height(g.getBoundingClientRect().top),$("#about2__bg-layout1-bot-text").text(($(window).height()-g.getBoundingClientRect().bottom).toFixed()),$(".about2__bg-layout1-bot").height($(window).height()-g.getBoundingClientRect().bottom),$("#about2__bg-layout1-left-text").text(g.getBoundingClientRect().left.toFixed()),$(".about2__bg-layout1-left").width(g.getBoundingClientRect().left),$("#about2__bg-layout1-right-text").text(($(window).width()-g.getBoundingClientRect().right).toFixed()),$(".about2__bg-layout1-right").width($(window).width()-g.getBoundingClientRect().right)}),"<"),m.to("#about2__bg-layout1",{display:"none",duration:0,delay:.5}),m.to("#about2__bg-layout2",{display:"flex",duration:0,delay:8}).add((function(){$("#about2__bg-layout2-right-text").text((d.getBoundingClientRect().left-l.getBoundingClientRect().right).toFixed()),$(".about2__bg-layout2-right").width(d.getBoundingClientRect().left-l.getBoundingClientRect().right)}),"<"),m.to("#about2__bg-layout2",{display:"none",duration:0,delay:.5});let B=gsap.timeline({repeat:-1,repeatDelay:6,paused:!0});B.to("#service__bg-layout1",{display:"flex",duration:0,delay:2}).add((function(){$("#service__bg-layout1-top-text").text(u.getBoundingClientRect().top.toFixed()),$(".service__bg-layout1-top").height(u.getBoundingClientRect().top),$("#service__bg-layout1-bot-text").text(($(window).height()-u.getBoundingClientRect().bottom).toFixed()),$(".service__bg-layout1-bot").height($(window).height()-u.getBoundingClientRect().bottom),$("#service__bg-layout1-left-text").text(u.getBoundingClientRect().left.toFixed()),$(".service__bg-layout1-left").width(u.getBoundingClientRect().left),$("#service__bg-layout1-right-text").text(($(window).width()-u.getBoundingClientRect().right).toFixed()),$(".service__bg-layout1-right").width($(window).width()-u.getBoundingClientRect().right)}),"<"),B.to("#service__bg-layout1",{display:"none",duration:0,delay:.5}),B.to("#service__bg-layout2",{display:"flex",duration:0,delay:8}).add((function(){$("#service__bg-layout2-top-text").text(a.getBoundingClientRect().top.toFixed()),$(".service__bg-layout2-top").height(a.getBoundingClientRect().top),$("#service__bg-layout2-bot-text").text(($(window).height()-a.getBoundingClientRect().bottom).toFixed()),$(".service__bg-layout2-bot").height($(window).height()-a.getBoundingClientRect().bottom),$("#service__bg-layout2-left-text").text(a.getBoundingClientRect().left.toFixed()),$(".service__bg-layout2-left").width(a.getBoundingClientRect().left),$("#service__bg-layout2-right-text").text(($(window).width()-a.getBoundingClientRect().right).toFixed()),$(".service__bg-layout2-right").width($(window).width()-a.getBoundingClientRect().right)}),"<"),B.to("#service__bg-layout2",{display:"none",duration:0,delay:.5});let C=gsap.timeline({repeat:-1,repeatDelay:6,paused:!0});C.to("#exp__bg-layout1",{display:"flex",duration:0,delay:2}).add((function(){x(),document.getElementById("social__facebook-icon-wrapper").addEventListener("mouseover",x)}),"<"),C.to("#exp__bg-layout1",{display:"none",duration:0,delay:.5}).add((function(){document.getElementById("social__facebook-icon-wrapper").removeEventListener("mouseover",x)}),"<"),C.to("#exp__bg-layout2",{display:"flex",duration:0,delay:8}).add((function(){$("#exp__bg-layout2-top-text").text(c.getBoundingClientRect().top.toFixed()),$(".exp__bg-layout2-top").height(c.getBoundingClientRect().top),$("#exp__bg-layout2-bot-text").text(($(window).height()-c.getBoundingClientRect().bottom).toFixed()),$(".exp__bg-layout2-bot").height($(window).height()-c.getBoundingClientRect().bottom),$("#exp__bg-layout2-left-text").text(c.getBoundingClientRect().left.toFixed()),$(".exp__bg-layout2-left").width(c.getBoundingClientRect().left),$("#exp__bg-layout2-right-text").text(($(window).width()-c.getBoundingClientRect().right).toFixed()),$(".exp__bg-layout2-right").width($(window).width()-c.getBoundingClientRect().right)}),"<"),C.to("#exp__bg-layout2",{display:"none",duration:0,delay:.5});let R=gsap.timeline({repeat:-1,repeatDelay:6,paused:!0});R.to("#contact__bg-layout1",{display:"flex",duration:0,delay:2}).add((function(){s(),document.getElementById("contact__bg-layout-trigger").addEventListener("mouseover",s)}),"<"),R.to("#contact__bg-layout1",{display:"none",duration:0,delay:.5}).add((function(){document.getElementById("contact__bg-layout-trigger").removeEventListener("mouseover",s)}),"<"),R.to("#contact__bg-layout2",{display:"flex",duration:0,delay:8}).add((function(){$("#contact__bg-layout2-top-text").text(b.getBoundingClientRect().top.toFixed()),$(".contact__bg-layout2-top").height(b.getBoundingClientRect().top),$("#contact__bg-layout2-bot-text").text(($(window).height()-b.getBoundingClientRect().bottom).toFixed()),$(".contact__bg-layout2-bot").height($(window).height()-b.getBoundingClientRect().bottom),$("#contact__bg-layout2-left-text").text(b.getBoundingClientRect().left.toFixed()),$(".contact__bg-layout2-left").width(b.getBoundingClientRect().left),$("#contact__bg-layout2-right-text").text(($(window).width()-b.getBoundingClientRect().right).toFixed()),$(".contact__bg-layout2-right").width($(window).width()-b.getBoundingClientRect().right)}),"<"),R.to("#contact__bg-layout2",{display:"none",duration:0,delay:.5});let f=new IntersectionObserver((function(t){!0===t[0].isIntersecting?w.play():null!=!t[0].isIntersecting&&(w.pause(0),document.getElementById("social__dribbble-icon-wrapper").removeEventListener("mouseover",y))}),{threshold:[1],delay:300}),v=new IntersectionObserver((function(t){!0===t[0].isIntersecting?p.play():null!=!t[0].isIntersecting&&(p.pause(0),document.getElementById("nav__experience-link").removeEventListener("mouseover",h))}),{threshold:[1],delay:300}),I=new IntersectionObserver((function(t){!0===t[0].isIntersecting?m.play():null!=!t[0].isIntersecting&&m.pause(0)}),{threshold:[1],delay:300}),F=new IntersectionObserver((function(t){!0===t[0].isIntersecting?B.play():null!=!t[0].isIntersecting&&B.pause(0)}),{threshold:[1],delay:300}),E=new IntersectionObserver((function(t){!0===t[0].isIntersecting?C.play():null!=!t[0].isIntersecting&&(C.pause(0),document.getElementById("social__facebook-icon-wrapper").removeEventListener("mouseover",x))}),{threshold:[1],delay:300}),L=new IntersectionObserver((function(t){!0===t[0].isIntersecting?R.play():null!=!t[0].isIntersecting&&(R.pause(0),document.getElementById("contact__bg-layout-trigger").removeEventListener("mouseover",s))}),{threshold:[1],delay:300}),q=window.matchMedia("(min-width: 768px)");function S(t){t.matches?(f.observe(document.querySelector("#home__bg-layout-trigger")),v.observe(document.querySelector("#about__bg-layout-trigger")),I.observe(document.querySelector("#about2__bg-layout-trigger")),F.observe(document.querySelector("#service__bg-layout-trigger")),E.observe(document.querySelector("#exp__bg-layout-trigger")),L.observe(document.querySelector("#contact__bg-layout-trigger"))):(f.unobserve(document.querySelector("#home__bg-layout-trigger")),v.unobserve(document.querySelector("#about__bg-layout-trigger")),I.unobserve(document.querySelector("#about2__bg-layout-trigger")),F.unobserve(document.querySelector("#service__bg-layout-trigger")),E.unobserve(document.querySelector("#exp__bg-layout-trigger")),L.unobserve(document.querySelector("#contact__bg-layout-trigger")))}q.addListener(S),S(q)}));