PageSourceSearch

https://fremantle.co.id/_next/static/chunks/24k6mc61wrg6t.js

js fremantle.co.id collected 2026-10-03 01:21:45 UTC 42,056 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75860,e=>{"use strict";var t=e.i(43476),i=e.i(52079),l=e.i(57688);e.s(["default",0,function(e){var r=e.bgImage,n=e.title,s=e.children;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"bg-black w-full text-white lg:pt-20 pt-0 lg:pb-[360px] bg-contain bg-no-repeat bg-bottom relative",children:[(0,t.jsx)("div",{className:"content lg:min-h-[740px] relative z-10",children:(0,t.jsxs)("div",{className:"wrapper",children:[(0,t.jsx)(i.default,{size:"Medium",title:"".concat(n)}),(0,t.jsx)("div",{className:"max-w-[650px]",children:s})]})}),(0,t.jsx)("div",{className:"lg:absolute relative -bottom-1 bg-contain w-full aspect-video ",children:(0,t.jsx)(l.default,{src:r||"/images/no-image-square.webp",fill:!0,sizes:"100vw",alt:"".concat(n),className:"object-cover object-top"})})]})})}])},90956,e=>{"use strict";e.i(47167);var t=e.i(20786),i=e.i(92808),l=e.i(43476),r=e.i(98532),n=e.i(73665),s=e.i(52079),a=e.i(57688),o=e.i(22016),c=e.i(66027),d=e.i(32681),u=e.i(47163),h=e.i(12761),p=e.i(46932);function f(e){var t=e.onClick;return(0,l.jsx)("div",{className:"cursor-pointer ".concat("light"===e.theme?"text-c-black border-c-black hover:bg-c-black hover:text-white":"text-white border-white hover:bg-white hover:text-black"," absolute  right-0 mr-8 -top-[68px] -mt-5 w-[50px] h-[50px] rounded-full flex items-center justify-center border border-solid   transition-all duration-300"),onClick:t,children:(0,l.jsx)(n.MdOutlineArrowForwardIos,{})})}function v(e){var t=e.onClick;return(0,l.jsx)("div",{className:"cursor-pointer ".concat("light"===e.theme?"text-c-black border-c-black hover:bg-c-black hover:text-white":"text-white border-white hover:bg-white hover:text-black"," absolute -top-[68px] right-0 mr-24  -mt-5 w-[50px] h-[50px] rounded-full flex items-center justify-center border border-solid transition-all duration-300"),onClick:t,children:(0,l.jsx)(n.MdOutlineArrowBackIos,{})})}function m(e){var t=e.image,i=e.title,r=e.category,n=e.link,s=e.theme;return(0,l.jsx)("div",{className:"px-5",children:(0,l.jsxs)(o.default,{href:n||"/",className:"block",children:[(0,l.jsx)("div",{className:"gradient-border rounded-xl overflow-hidden cursor-pointer pd-1",children:(0,l.jsxs)("div",{className:"relative aspect-video gradient-border__inner rounded-xl overflow-hidden",children:[(0,l.jsx)(a.default,{src:t,fill:!0,alt:i,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",className:"w-full h-full object-cover transition-transform duration-500"}),(0,l.jsx)("div",{className:"gradient-border__overlay"})]})}),(0,l.jsxs)("div",{className:"relative z-10",children:[(0,l.jsx)("div",{className:"text-[14px] ".concat("light"==s?"bg-c-black text-white":"bg-white text-c-black"," rounded-2xl px-3 py-1 inline-block my-5 uppercase"),children:r}),(0,l.jsx)("h3",{className:"lg:text-[32px] text-27 leading-tight",children:i})]})]})})}e.s(["default",0,function(e){var n,a=e.theme,o=e.mainTitle,g=e.bgGray,x=(0,c.useQuery)({queryKey:["qProducts"],queryFn:function(){return(0,u.axiosData)("GET","/api/posts?populate=*&sort[0]=publishedAt:desc")}});if(x.isLoading)return(0,l.jsxs)("div",{className:"wrapper relative",children:[(0,l.jsxs)("div",{className:"lg:flex -mx-3 hidden",children:[(0,l.jsx)("div",{className:"w-full lg:w-3/12 p-3",children:(0,l.jsx)(d.default,{height:"223px",width:"100%"})}),(0,l.jsx)("div",{className:"w-full lg:w-3/12 p-3",children:(0,l.jsx)(d.default,{height:"223px",width:"100%"})}),(0,l.jsx)("div",{className:"w-full lg:w-3/12 p-3",children:(0,l.jsx)(d.default,{height:"223px",width:"100%"})}),(0,l.jsx)("div",{className:"w-full lg:w-3/12 p-3",children:(0,l.jsx)(d.default,{height:"223px",width:"100%"})})]}),(0,l.jsx)("div",{className:"lg:hidden -mx-3 flex",children:(0,l.jsx)("div",{className:"w-full  p-3",children:(0,l.jsx)(d.default,{height:"223px",width:"100%"})})})]});var w=null==x||null==(n=x.data)?void 0:n.data,b={dots:!1,infinite:!0,nextArrow:(0,l.jsx)(f,{theme:a}),prevArrow:(0,l.jsx)(v,{theme:a}),speed:500,autoplay:!0,slidesToShow:4,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{slidesToShow:2}},{breakpoint:720,settings:{slidesToShow:1,arrows:!1}
1}]};return(0,l.jsx)(p.motion.div,{className:"w-full min-h-28 lg:py-20 py-16 ".concat(g?"#E9EDED":"light"===a?"bg-white text-c-black":"text-white"," "),children:(0,l.jsxs)("div",{className:"wrapper ",children:[(0,l.jsxs)(p.motion.div,{className:"flex justify-between items-center ".concat("dark"===a?"text-white":"text-black"),children:[(0,l.jsx)(s.default,{title:"".concat(o||"Latest News")}),(0,l.jsx)("div",{className:"mr-[170px] lg:block hidden",children:(0,l.jsx)(h.default,{link:"/news",theme:"dark"==a?"white":"black",linkText:"VIEW ALL"})})]}),(0,l.jsx)("div",{className:"slider-latestnews -ml-5 mt-7 hover-container overflow-hidden lg:overflow-visible relative",children:(0,l.jsx)(r.default,(0,i._)((0,t._)({},b),{children:null==w?void 0:w.map(function(e){var t=(0,u.getStrapiItem)(e),i=(0,u.getStrapiMediaUrl)(null==t?void 0:t.image),r=(0,u.getStrapiRelation)(null==t?void 0:t.post_category);return(0,l.jsx)(m,{theme:a,title:(null==t?void 0:t.title)||"",image:i?"https://cms.fremantle.co.id"+i:"/images/no-image-square.webp",category:(null==r?void 0:r.title)||"",link:"/news/".concat(e.id)},e.id)})}))}),(0,l.jsx)("div",{className:"block lg:hidden mt-5",children:(0,l.jsx)(h.default,{link:"/news",theme:"dark"==a?"white":"black",linkText:"VIEW ALL"})})]})})}])},32681,e=>{"use strict";var t=e.i(43476);e.s(["default",0,function(e){return(0,t.jsx)("div",{className:"animate-pulse w-full",children:(0,t.jsx)("div",{className:"rounded-md bg-slate-500 my-5 mx-auto flex justify-center ",style:{height:e.height,width:e.width,marginTop:e.spaceTop,marginBottom:e.spaceBottom}})})}])},21866,e=>{"use strict";var t=e.i(51682),i=e.i(43476),l=e.i(71645),r=e.i(20786),n=e.i(92808),s=e.i(98532),a=e.i(73665),o=e.i(57688),c=e.i(46932),d=e.i(59087),u=e.i(66027),h=e.i(12761),p=e.i(32681),f=e.i(55370),v=e.i(47163);function m(e){var t=e.onClick;return(0,i.jsx)("div",{className:"cursor-pointer text-white absolute bottom-0 lg:right-0 -right-16 mr-20 mb-20 w-[50px] h-[50px] rounded-full flex items-center justify-center border border-solid border-white hover:bg-white hover:text-black transition-all duration-300 z-30 ".concat(e.display?"opacity-100":"lg:opacity-0"),onClick:t,children:(0,i.jsx)(a.MdOutlineArrowForwardIos,{})})}function g(e){var t=e.onClick;return(0,i.jsx)("div",{className:"cursor-pointer text-white absolute bottom-0 z-30 right-0 lg:right-[80px] mr-20 mb-20 w-[50px] h-[50px] rounded-full flex items-center justify-center border border-solid border-white hover:bg-white hover:text-black transition-all duration-300 ".concat(e.display?"opacity-100":"lg:opacity-0"),onClick:t,children:(0,i.jsx)(a.MdOutlineArrowBackIos,{})})}function x(e){var r=(0,t._)((0,l.useState)(!1),2),n=r[0],s=r[1];return(0,l.useEffect)(function(){var e=setTimeout(function(){s(!0)},500);return function(){return clearTimeout(e)}},[]),(0,i.jsxs)("div",{className:"relative w-full h-screen overflow-hidden",children:[(0,i.jsx)(o.default,{src:e.image||"/placeholder.jpg",alt:"".concat(e.title," - Fremantle Indonesia"),fill:!0,priority:e.priority,sizes:"100vw",className:"object-cover object-center",unoptimized:!0},"".concat(e.image,"-").concat(e.title)),(0,i.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#00001A] via-black/20 to-black/20 z-10"}),(0,i.jsx)("div",{className:"wrapper relative z-20 h-full",children:(0,i.jsx)("div",{className:"flex h-full items-end pb-20",children:(0,i.jsxs)("div",{className:"text-white max-w-[760px] lg:pl-16",children:[(0,i.jsx)(c.motion.div,{transition:{duration:1.5,type:"spring",stiffness:30,ease:"easeIn"},initial:{transform:"rotateX(-95deg) translateY(100%)",opacity:0,transformOrigin:"top"},animate:n?{transform:"rotateX(0deg) translateY(0%)",opacity:1}:{},children:(0,i.jsx)("h2",{className:"lg:text-2xl text-5xl font-black leading-none mb-6",children:e.title})}),(0,i.jsxs)(c.motion.div,{transition:{duration:2,type:"spring",stiffness:30,ease:"easeIn",delay:.3},initial:{transform:"rotateX(-95deg) translateY(100%)",opacity:0,transformOrigin:"top"},animate:n?{transform:"rotateX(0deg) translateY(0%)",opacity:1}:{},children:[(0,i.jsx)("div",{className:"mb-7 line-clamp-4 text-lg",children:e.info}),(0,i.jsx)(h.default,{theme:"white",link:e.link||"/",linkText:e.linkText||"LEARN MORE"})]})]})})})]})}function w(){var e,a,o=(0,t._)((0,l.useState)(!0),2),c=o[0],h=o[1],w=(0,t._)((0,l.useState)([]),2),b=w[0],y=w[1],E=(0,l.useRef)(null),j=(0,l.useRef)(0),_=(0,u.useQuery)({queryKey:["qBannerHome"],queryFn:function(){return(0,v.axiosData)("GET","/api/home?populate[main_banner][populate]=*")},refetchOnWindowFocus:!1}),k=(0,l.useRef)(null);(0,l.useEffect)(function(){var e=function(){null!==k.current&&(window.scrollY>100?h(!1):h(!0))};return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}},[]),(0,l.useEffect)(function(){var e=function(){if(E.current){if(document.hidden)return void E.current.slickPause();window.setTimeout(function(){var e,t,i,l;null==(t=null==(i=E.current)?void 0:i.innerSlider)||null==(e=t.onWindowResized)||e.call(t),null==(l=E.current)||l.slickPlay()},100)}};return document.addEventListener("visibilitychange",e),window.addEventListener("focus",e),function(){document.removeEventListener("visibilitychange",e),window.removeEventListener("focus",e)}},[]);var C=null==_||null==(e=_.data)?void 0:e.data,S=(0,l.useMemo)(function(){return((null==C?void 0:C.main_banner)||[]).map(function(e){var t,i,l,s,a,o,c,d,u,h,p,f,m,g,x;return(0,n._)((0,r._)({},e),{imageUrl:(t=e.image,(x=(0,v.getStrapiMediaUrl)(t)||(null==t||null==(l=t.formats)||null==(i=l.large)?void 0:i.url)||(null==t||null==(a=t.formats)||null==(s=a.medium)?void 0:s.url)||(null==t||null==(o=t.attributes)?void 0:o.url)||(null==t||null==(u=t.attributes)||null==(d=u.formats)||null==(c=d.large)?void 0:c.url)||(null==t||null==(h=t.data)?void 0:h.url)||(null==t||null==(g=t.data)||null==(m
1=g.attributes)||null==(f=m.formats)||null==(p=f.large)?void 0:p.url)||"")?x.startsWith("http")?x:"".concat("https://cms.fremantle.co.id").concat(x):"")})}).filter(function(e){return e.imageUrl})},[null==C?void 0:C.main_banner]);(0,l.useEffect)(function(){var e;if(S.length>0){j.current=0,y(S);return}if(_.isSuccess&&(null==C||null==(e=C.main_banner)?void 0:e.length)>0&&j.current<3){j.current+=1;var t=window.setTimeout(function(){_.refetch()},500);return function(){return window.clearTimeout(t)}}},[S,null==C||null==(a=C.main_banner)?void 0:a.length,_.isSuccess,_.refetch]);var I=S.length>0?S:b,O=I.map(function(e){return"".concat(e.id,"-").concat(e.imageUrl)}).join("|");if(_.isLoading)return(0,i.jsx)("div",{className:"wrapper pt-20",children:(0,i.jsx)("div",{className:"relative w-full aspect-[16/6] rounded-xl overflow-hidden",children:(0,i.jsx)(p.default,{width:"100%",height:"100%"})})});if(_.isError)return(0,i.jsx)(f.default,{});var N={dots:!0,infinite:!0,autoplay:!0,autoplaySpeed:8e3,pauseOnHover:!1,pauseOnFocus:!1,slidesToShow:1,slidesToScroll:1,fade:!0,cssEase:"linear",nextArrow:(0,i.jsx)(m,{display:c}),prevArrow:(0,i.jsx)(g,{display:c})};return(0,i.jsx)("div",{className:"relative",children:(0,i.jsx)("div",{className:"relative",ref:k,children:I.length>0?(0,i.jsx)(s.default,(0,n._)((0,r._)({ref:E},N),{children:I.map(function(e,t){return(0,i.jsx)(x,{keyAnimate:_.data,image:e.imageUrl,priority:0===t,title:e.title||"",info:(0,d.default)(e.description||""),link:e.link_url||"/",linkText:e.link_label||"LEARN MORE"},"".concat(e.id,"-").concat(e.imageUrl))})}),O):(0,i.jsx)("div",{className:"relative w-full h-screen overflow-hidden bg-black",children:(0,i.jsx)(p.default,{width:"100%",height:"100%"})})})})}var b=e.i(90956),y=e.i(52079);e.i(22016);var E=e.i(42778);function j(e){var t=e.onClick;return(0,i.jsx)("div",{className:"cursor-pointer  absolute lg:-top-14 lg:bottom-auto -bottom-16 right-0 lg:mr-8  -mt-[35px] w-[50px] h-[50px] rounded-full flex items-center justify-center border border-solid   transition-all duration-300 ".concat("black"===e.theme?"text-white border-white  hover:bg-white hover:text-c-black":"text-c-black border-c-black  hover:bg-c-black hover:text-white"),onClick:t,children:(0,i.jsx)(a.MdOutlineArrowForwardIos,{})})}function _(e){var t=e.onClick;return(0,i.jsx)("div",{className:"cursor-pointer absolute lg:-top-14 lg:bottom-auto -bottom-16 right-0 lg:mr-[90px] mr-[60px]  -mt-[35px] w-[50px] h-[50px] rounded-full flex items-center justify-center border border-solid  transition-all duration-300 ".concat("black"===e.theme?"text-white border-white  hover:bg-white hover:text-c-black":"text-c-black border-c-black  hover:bg-c-black hover:text-white"),onClick:t,children:(0,i.jsx)(a.MdOutlineArrowBackIos,{})})}function k(e){var t,l=e.theme,a=(0,u.useQuery)({queryKey:["qRecentProj"],queryFn:function(){return(0,v.axiosData)("GET","/api/projects?populate=*&pagination[pageSize]=5")}}),c=null==a||null==(t=a.data)?void 0:t.data,p={dots:!1,infinite:!0,nextArrow:(0,i.jsx)(j,{theme:l}),prevArrow:(0,i.jsx)(_,{theme:l}),speed:500,autoplay:!0,slidesToShow:1,slidesToScroll:1};return(0,i.jsx)("div",{className:"lg:pt-20 py-10 ".concat("black"===l?"bg-black":"bg-white"),children:(0,i.jsxs)("div",{className:"wrapper",children:[(0,i.jsxs)("div",{className:"flex justify-between items-center ".concat("black"===l?"text-white":"text-black"),children:[(0,i.jsx)(y.default,{title:"Recent Projects"}),(0,i.jsx)("div",{className:"mr-[170px] lg:block hidden",children:(0,i.jsx)(h.default,{link:"/projects",theme:"black"==l?"white":"black",linkText:"VIEW ALL"})})]}),(0,i.jsx)("div",{className:"slider-projects-recents mt-7",children:(0,i.jsx)(s.default,(0,n._)((0,r._)({},p),{children:null==c?void 0:c.map(function(e,t){var l=(0,v.getStrapiItem)(e),r=(0,v.getStrapiMediaUrl)(null==l?void 0:l.image);return(0,i.jsx)("div",{className:"relative rounded-lg overflow-hidden",children:(0,i.jsxs)("div",{className:"relative ",children:[(0,i.jsxs)("div",{className:"absolute bottom-0 left-0 w-full p-6 lg:p-14 z-10",children:[(0,i.jsx)("h3",{className:"text-4 lg:text-7xl font-bold text-white mb-0 lg:mb-4 leading-none",children:null==l?void 0:l.title}),(0,i.jsx)("div",{className:"hidden lg:block overwritefont",children:(0,d.default)("".concat(E.default.truncate(null==l?void 0:l.description,{length:300})))}),(0,i.jsx)("div",{className:"lg:hidden block [&_p]:my-1 text-white overwritefont",children:(0,d.default)("".concat(E.default.truncate(null==l?void 0:l.description,{length:70})))})]}),(0,i.jsxs)("div",{className:"relative lg:aspect-video aspect-square",children:[(0,i.jsx)(o.default,{src:"".concat(r?"https://cms.fremantle.co.id"+r:"/images/no-image-square.webp"),alt:"".concat(null==l?void 0:l.title," - Fremantle Indonesia Production"),fill:!0,sizes:"(max-width: 1024px) 100vw, 1670px",className:"object-cover"}),(0,i.jsx)("div",{className:"hidden lg:block absolute inset-0 bg-gradient-to-t from-black via-black/10 from-5% to-transparent"}),(0,i.jsx)("div",{className:"block lg:hidden absolute inset-0 bg-gradient-to-t from-black via-black/10 from-2%"})]})]})},t)})}))}),(0,i.jsx)("div",{className:"mr-[170px] mt-[15px] block lg:hidden",children:(0,i.jsx)(h.default,{link:"/projects",theme:"black"==l?"white":"black",linkText:"VIEW ALL"})})]})})}function C(){var e,t,l,r,n,s,a,c,m,g=(0,u.useQuery)({queryKey:["qCultureHome"],queryFn:function(){return(0,v.axiosData)("GET","/api/home?populate[short_culture][populate]=*")}});if(g.isLoading)return(0,i.jsx)("div",{className:"bg-white lg:py-28 py-10",children:(0,i.jsx)("div",{className:"wrapper",children:(0,i.jsx)(p.default,{width:"100%",height:"500px"})})});if(g.isError)return(0,i.jsx)(f.default,{});var x=null==g||null==(e=g.data)?void 0:e.data,w=null==x||null==(t=x.short_culture)?void 0:t.image,b=(null==w?void 0:w.url)||(null==w||null==(r=w.data)||null==(l=r.attributes)?void 0:l.url)||"",y=b?"".concat("https://cms.fremantle.co.id").concat(b):"/images/no-image-square.webp";return(0,i.jsx)("div",{className:"bg-white lg:py-28 py-10 bg-no-repeat bg-left-bottom bg-contain",style:{backgroundImage:"url('/images/bgshape-f.svg')"},children:(0,i.jsx)("div",{className:"wrapper",children:(0,i.jsxs)("div",{className:"flex flex-col lg:flex-row lg:gap-24 gap-7 justify-between items-center",children:[(0,i.jsx)("div",{className:"relative lg:w-8/12 w-full rounded-2xl overflow-hidden",children:(0,i.jsx)(o.default,{src:y,width:1200,height:900,alt:"".concat((null==x||null==(n=x.short_culture)?void 0:n.title)||"Culture"," - Fremantle Indonesia"),className:"w-full h-auto object-cover",unoptimized:!0})}),(0,i.jsx)("div",{className:"relative lg:w-4/12 w-full",children:(0,i.jsxs)("div",{className:"relative text-lg",children:[(0,i.jsx)("div",{className:"text-[27px] lg:text-[clamp(32px,4vw,72px)] font-proxima-bold leading-[1]",children:(null==x||null==(s=x.short_culture)?void 0:s.title)||""}),(0,i.jsx)("div",{className:"lg:text-[1.1vw] mt-4",children:(0,d.default)((null==x||null==(a=x.short_culture)?void 0:a.description)||"")}),(0,i.jsx)("div",{className:"mt-6",children:(0,i.jsx)(h.default,{link:(null==x||null==(c=x.short_culture)?void 0:c.link_url)||"/",linkText:(null==x||null==(m
1=x.short_culture)?void 0:m.link_label)||"LEARN MORE",theme:"black"})})]})})]})})})}var S=e.i(1433),I=e.i(75860),O=e.i(62319);function N(){var e,r,n,s,a,o,c,m,g=(0,t._)((0,l.useState)(0),2),x=g[0],y=g[1],E=(0,u.useQuery)({queryKey:["qHomeContent"],queryFn:function(){return(0,v.axiosData)("GET","/api/home?populate[main_banner][populate]=*&populate[short_entertain][populate]=*")}});if((0,l.useEffect)(function(){y(window.innerHeight)},[]),E.isLoading)return(0,i.jsx)("div",{className:"bg-black min-h-screen",children:(0,i.jsx)("div",{className:"wrapper py-20",children:(0,i.jsx)(p.default,{width:"100%",height:"600px"})})});if(E.isError)return(0,i.jsx)(f.default,{});var j=null==E||null==(e=E.data)?void 0:e.data,_=null==j||null==(r=j.short_entertain)?void 0:r.image,O=(null==_?void 0:_.url)||(null==_||null==(s=_.data)||null==(n=s.attributes)?void 0:n.url)||"",N=O?"".concat("https://cms.fremantle.co.id").concat(O):"/images/no-image-square.webp";return(0,i.jsxs)("div",{className:"bg-black",children:[(0,i.jsx)(S.Parallax,{translateY:[0,50],opacity:[1,0],startScroll:0,endScroll:x,speed:-50,children:(0,i.jsx)(w,{})}),(0,i.jsxs)("div",{className:"relative w-full",children:[(0,i.jsx)(b.default,{theme:"dark"}),(0,i.jsxs)(I.default,{title:(null==j||null==(a=j.short_entertain)?void 0:a.title)||"",bgImage:N,children:[(0,d.default)((null==j||null==(o=j.short_entertain)?void 0:o.description)||""),(0,i.jsx)(h.default,{link:(null==j||null==(c=j.short_entertain)?void 0:c.link_url)||"/",linkText:(null==j||null==(m=j.short_entertain)?void 0:m.link_label)||"LEARN MORE",theme:"white"})]}),(0,i.jsx)(k,{}),(0,i.jsx)(C,{})]})]})}
1e.s(["default",0,function(){return(0,i.jsx)(S.ParallaxProvider,{children:(0,i.jsx)(O.default,{children:(0,i.jsx)(N,{})})})}],21866)},52079,e=>{"use strict";var t=e.i(43476);e.s(["default",0,function(e){var i=e.title,l=e.className,r=e.size;return(0,t.jsx)("div",{className:"".concat(l," ").concat("Big"==r?"lg:text-[72px] text-[48px]":"lg:text-[48px] text-[27px]","  "),children:(0,t.jsx)("h2",{children:i})})}])},685,(e,t,i)=>{var l="function"==typeof Float32Array;function r(e,t,i){return(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e}function n(e,t,i){return 3*(1-3*i+3*t)*e*e+2*(3*i-6*t)*e+3*t}function s(e){return e}t.exports=function(e,t,i,a){if(!(0<=e&&e<=1&&0<=i&&i<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&i===a)return s;for(var o=l?new Float32Array(11):Array(11),c=0;c<11;++c)o[c]=r(.1*c,e,i);return function(l){return 0===l?0:1===l?1:r(function(t){for(var l=0,s=1;10!==s&&o[s]<=t;++s)l+=.1;var a=l+(t-o[--s])/(o[s+1]-o[s])*.1,c=n(a,e,i);if(c>=.001){for(var d=a,u=0;u<4;++u){var h=n(d,e,i);if(0===h)break;var p=r(d,e,i)-t;d-=p/h}return d}return 0===c?a:function(e,t,i,l,n){var s,a,o=0;do(s=r(a=t+(i-t)/2,l,n)-e)>0?i=a:t=a;while(Math.abs(s)>1e-7&&++o<10)return a}(t,l,l+.1,e,i)}(l),t,a)}}},1433,e=>{"use strict";var t,i,l,r,n,s,a,o,c,d,u,h=e.i(8487),p=e.i(20786),f=e.i(92808),v=e.i(33027),m=e.i(51682),g=e.i(685),x=function(e){this.startX=e.startX,this.startY=e.startY,this.endX=e.endX,this.endY=e.endY,this.totalX=this.endX-this.startX,this.totalY=this.endY-this.startY,this.startMultiplierX=e.startMultiplierX||1,this.endMultiplierX=e.endMultiplierX||1,this.startMultiplierY=e.startMultiplierY||1,this.endMultiplierY=e.endMultiplierY||1};function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(e[l]=i[l])}return e}).apply(this,arguments)}(t=s||(s={})).speed="speed",t.translateX="translateX",t.translateY="translateY",t.rotate="rotate",t.rotateX="rotateX",t.rotateY="rotateY",t.rotateZ="rotateZ",t.scale="scale",t.scaleX="scaleX",t.scaleY="scaleY",t.scaleZ="scaleZ",t.opacity="opacity",(i=a||(a={})).px="px",i["%"]="%",i.vh="vh",i.vw="vw",(l=o||(o={})).deg="deg",l.turn="turn",l.rad="rad",(c||(c={}))[""]="",(r=d||(d={})).vertical="vertical",r.horizontal="horizontal",(n=u||(u={})).ease="ease",n.easeIn="easeIn",n.easeOut="easeOut",n.easeInOut="easeInOut",n.easeInQuad="easeInQuad",n.easeInCubic="easeInCubic",n.easeInQuart="easeInQuart",n.easeInQuint="easeInQuint",n.easeInSine="easeInSine",n.easeInExpo="easeInExpo",n.easeInCirc="easeInCirc",n.easeOutQuad="easeOutQuad",n.easeOutCubic="easeOutCubic",n.easeOutQuart="easeOutQuart",n.easeOutQuint="easeOutQuint",n.easeOutSine="easeOutSine",n.easeOutExpo="easeOutExpo",n.easeOutCirc="easeOutCirc",n.easeInOutQuad="easeInOutQuad",n.easeInOutCubic="easeInOutCubic",n.easeInOutQuart="easeInOutQuart",n.easeInOutQuint="easeInOutQuint",n.easeInOutSine="easeInOutSine",n.easeInOutExpo="easeInOutExpo",n.easeInOutCirc="easeInOutCirc",n.easeInBack="easeInBack",n.easeOutBack="easeOutBack",n.easeInOutBack="easeInOutBack";var b=0,y=function(){function e(e){var t=e.el.getBoundingClientRect();if(e.view.scrollContainer){var i=e.view.scrollContainer.getBoundingClientRect();t=w({},t,{top:t.top-i.top,right:t.right-i.left,bottom:t.bottom-i.top,left:t.left-i.left})}this.height=e.el.offsetHeight,this.width=e.el.offsetWidth,this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,e.rootMargin&&this._setRectWithRootMargin(e.rootMargin)}return e.prototype._setRectWithRootMargin=function(e){var t=e.top+e.bottom,i=e.left+e.right;this.top-=e.top,this.right+=e.right,this.bottom+=e.bottom,this.left-=e.left,this.height+=t,this.width+=i},e}(),E=[c[""],a.px,a["%"],a.vh,a.vw,o.deg,o.turn,o.rad];function j(e,t){void 0===t&&(t=a["%"]);var i={value:0,unit:t};if(void 0===e)return i;if("number"!=typeof e&&"string"!=typeof e)throw Error("Invalid value provided. Must provide a value as a string or number");if(i.value=parseFloat(e=String(e)),i.unit=e.match(/[\d.\-+]*\s*(.*)/)[1]||t,!E.includes(i.unit))throw Error("Invalid unit provided.");return i}var _={ease:[.25,.1,.25,1],easeIn:[.42,0,1,1],easeOut:[0,0,.58,1],easeInOut:[.42,0,.58,1],easeInQuad:[.55,.085,.68,.53],easeInCubic:[.55,.055,.675,.19],easeInQuart:[.895,.03,.685,.22],easeInQuint:[.755,.05,.855,.06],easeInSine:[.47,0,.745,.715],easeInExpo:[.95,.05,.795,.035],easeInCirc:[.6,.04,.98,.335],easeOutQuad:[.25,.46,.45,.94],easeOutCubic:[.215,.61,.355,1],easeOutQuart:[.165,.84,.44,1],easeOutQuint:[.23,1,.32,1],easeOutSine:[.39,.575,.565,1],easeOutExpo:[.19,1,.22,1],easeOutCirc:[.075,.82,.165,1],easeInOutQuad:[.455,.03,.515,.955],easeInOutCubic:[.645,.045,.355,1],easeInOutQuart:[.77,0,.175,1],easeInOutQuint:[.86,0,.07,1],easeInOutSine:[.445,.05,.55,.95],easeInOutExpo:[1,0,0,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]};function k(e){if(Array.isArray(e))return(0,g.default)(e[0],e[1],e[2],e[3]);if("string"==typeof e&&void 0!==_[e]){var t=_[e];return(0,g.default)(t[0],t[1],t[2],t[3])}}var C=Object.values(s),S={speed:"px",translateX:"%",translateY:"%",rotate:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",scale:"",scaleX:"",scaleY:"",scaleZ:"",opacity:""};function I(e,t){var i={};
1return C.forEach(function(l){var r=S[l];if("number"==typeof(null==e?void 0:e[l])){var n=null==e?void 0:e[l],s=j(10*(n||0)+"px"),a=j(-10*(n||0)+"px"),o={start:s.value,end:a.value,unit:s.unit};t===d.vertical&&(i.translateY=o),t===d.horizontal&&(i.translateX=o)}if(Array.isArray(null==e?void 0:e[l])){var c=null==e?void 0:e[l];if(void 0!==c[0]&&void 0!==c[1]){var u=j(null==c?void 0:c[0],r),h=j(null==c?void 0:c[1],r),p=k(null==c?void 0:c[2]);if(i[l]={start:u.value,end:h.value,unit:u.unit,easing:p},u.unit!==h.unit)throw Error("Must provide matching units for the min and max offset values of each axis.")}}}),i}function O(e,t,i,l){var r=(i-e)/t;return l&&(r=l(r)),r}function N(e,t){var i,l;return{value:(i="function"==typeof e.easing?e.easing(t):t,l=(null==e?void 0:e.start)||0,(((null==e?void 0:e.end)||0)-l)*(i-0)/1+l),unit:null==e?void 0:e.unit}}var P=Object.values(s).filter(function(e){return"opacity"!==e});function A(e){var t=e.el;t&&(t.style.transform="",t.style.opacity="")}function Y(e,t,i){return Math.max(i/(i+(Math.abs(e)+Math.abs(t))*(t>e?-1:1)),1)}function M(e,t){var i=e.start,l=e.end,r=e.unit;if("%"===r){var n=t/100;i*=n,l*=n}if("vw"===r){var s=i/100,a=l/100;i=window.innerWidth*s,l=window.innerWidth*a}if("vh"===r){var o=i/100,c=l/100;i=window.innerHeight*o,l=window.innerHeight*c}return{start:i,end:l}}var X={start:0,end:0,unit:""},L=function(e,t,i){return Math.min(Math.max(e,t),i)},z=function(){function e(e){var t,i;this.el=e.el,this.props=e.props,this.scrollAxis=e.scrollAxis,this.disabledParallaxController=e.disabledParallaxController||!1,this.id=++b,this.effects=I(this.props,this.scrollAxis),this.isInView=null,this.progress=0,this._setElementEasing(e.props.easing),t=e.el,i=Object.keys(this.effects).includes("opacity"),t.style.willChange="transform"+(i?",opacity":"")}var t=e.prototype;return t.updateProps=function(e){return this.props=w({},this.props,e),this.effects=I(e,this.scrollAxis),this._setElementEasing(e.easing),this},t.setCachedAttributes=function(e,t){A(this),this.rect=new y({el:this.props.targetElement||this.el,rootMargin:this.props.rootMargin,view:e});var i,l,r,n,s,a,o,c,u,h,p,f,v=(i=this.props,l=this.effects,r=this.scrollAxis,!i.rootMargin&&!i.targetElement&&!i.shouldDisableScalingTranslations&&(!!l.translateX&&r===d.horizontal||!!l.translateY&&r===d.vertical));return"number"==typeof this.props.startScroll&&"number"==typeof this.props.endScroll?(this.limits=new x({startX:this.props.startScroll,startY:this.props.startScroll,endX:this.props.endScroll,endY:this.props.endScroll}),this._setElementStyles(),this):(v?(this.limits=function(e,t,i,l,r,n){var s=i.translateX||X,a=i.translateY||X,o=M(s,e.width),c=o.start,u=o.end,h=M(a,e.height),p=h.start,f=h.end,v=e.top-t.height,m=e.left-t.width,g=e.bottom,w=e.right,b=1,y=1;r===d.vertical&&(y=b=Y(p,f,t.height+e.height));var E=1,j=1;if(r===d.horizontal&&(j=E=Y(c,u,t.width+e.width)),p<0&&(v+=p*b),f>0&&(g+=f*y),c<0&&(m+=c*E),u>0&&(w+=u*j),m+=l.x,w+=l.x,v+=l.y,g+=l.y,n){var _=l.y+e.top<t.height,k=l.x+e.left<t.width,C=l.y+e.bottom>t.scrollHeight-t.height,S=l.x+e.right>t.scrollWidth-t.height;_&&C&&(b=1,y=1,v=0,g=t.scrollHeight-t.height),k&&S&&(E=1,j=1,m=0,w=t.scrollWidth-t.width),!_&&C&&(v=e.top-t.height+l.y,b=Y(p,f,(g=t.scrollHeight-t.height)-v),y=1,p<0&&(v+=p*b)),!k&&S&&(m=e.left-t.width+l.x,E=Y(c,u,(w=t.scrollWidth-t.width)-m),j=1,c<0&&(m+=c*E)),_&&!C&&(v=0,b=1,y=Y(p,f,(g=e.bottom+l.y)-v),f>0&&(g+=f*y)),k&&!S&&(m=0,E=1,j=Y(c,u,(w=e.right+l.x)-m),u>0&&(w+=u*j))}return new x({startX:m,startY:v,endX:w,endY:g,startMultiplierX:E,endMultiplierX:j,startMultiplierY:b,endMultiplierY:y})}(this.rect,e,this.effects,t,this.scrollAxis,this.props.shouldAlwaysCompleteAnimation),this.scaledEffects=(n=this.effects,s=this.limits,(a=w({},n)).translateX&&(a.translateX=w({},n.translateX,{start:a.translateX.start*s.startMultiplierX,end:a.translateX.end*s.endMultiplierX})),a.translateY&&(a.translateY=w({},n.translateY,{start:a.translateY.start*s.startMultiplierY,end:a.translateY.end*s.endMultiplierY})),a)):this.limits=(o=this.rect,c=this.props.shouldAlwaysCompleteAnimation,u=o.top-e.height,h=o.left-e.width,p=o.bottom,f=o.right,h+=t.x,f+=t.x,u+=t.y,p+=t.y,c&&(t.y+o.top<e.height&&(u=0),t.x+o.left<e.width&&(h=0),p>e.scrollHeight-e.height&&(p=e.scrollHeight-e.height),f>e.scrollWidth-e.width&&(f=e.scrollWidth-e.width)),new x({startX:h,startY:u,endX:f,endY:p})),this._setElementStyles(),this)},t._updateElementIsInView=function(e){var t=null===this.isInView;
1e!==this.isInView&&(e?this.props.onEnter&&this.props.onEnter(this):!t&&(this._setFinalProgress(),this._setElementStyles(),this.props.onExit&&this.props.onExit(this))),this.isInView=e},t._setFinalProgress=function(){var e=L(Math.round(this.progress),0,1);this._updateElementProgress(e)},t._setElementStyles=function(){this.props.disabled||this.disabledParallaxController||function(e,t,i){if(i){var l,r,n,s,a,o=(l=e,r=t,P.reduce(function(e,t){var i=l[t]&&N(l[t],r);return void 0===i||void 0===i.value||void 0===i.unit?e:e+(t+"("+i.value+i.unit)+")"},"")),c=(n=e,s=t,void 0===(a=n.opacity&&N(n.opacity,s))||void 0===a.value||void 0===a.unit?"":""+a.value);i.style.transform=o,i.style.opacity=c}}(this.scaledEffects||this.effects,this.progress,this.el)},t._updateElementProgress=function(e){this.progress=e,this.props.onProgressChange&&this.props.onProgressChange(this.progress),this.props.onChange&&this.props.onChange(this)},t._setElementEasing=function(e){this.easing=k(e)},t.updateElementOptions=function(e){this.scrollAxis=e.scrollAxis,this.disabledParallaxController=e.disabledParallaxController||!1},t.updatePosition=function(e){if(!this.limits)return this;var t=this.scrollAxis===d.vertical,i=null===this.isInView,l=t?this.limits.startY:this.limits.startX,r=t?this.limits.endY:this.limits.endX,n=t?this.limits.totalY:this.limits.totalX,s=t?e.y:e.x,a=s>=l&&s<=r;if(this._updateElementIsInView(a),a){var o=O(l,n,s,this.easing);this._updateElementProgress(o),this._setElementStyles()}else i&&(this.progress=L(Math.round(O(l,n,s,this.easing)),0,1),this._setElementStyles());return this},e}(),T=function(){function e(e){this.scrollContainer=e.scrollContainer,this.width=e.width,this.height=e.height,this.scrollHeight=e.scrollHeight,this.scrollWidth=e.scrollWidth}var t=e.prototype;return t.hasChanged=function(e){return e.width!==this.width||e.height!==this.height||e.scrollWidth!==this.scrollWidth||e.scrollHeight!==this.scrollHeight},t.setSize=function(e){return this.width=e.width,this.height=e.height,this.scrollHeight=e.scrollHeight,this.scrollWidth=e.scrollWidth,this},e}(),H=function(){function e(e,t){this.x=e,this.y=t,this.dx=0,this.dy=0}return e.prototype.setScroll=function(e,t){return this.dx=e-this.x,this.dy=t-this.y,this.x=e,this.y=t,this},e}(),Q=function(){function e(e){var t=e.scrollAxis,i=void 0===t?d.vertical:t,l=e.scrollContainer,r=e.disabled;this.disabled=void 0!==r&&r,this.scrollAxis=i,this.elements=[],this._hasScrollContainer=!!l,this.viewEl=null!=l?l:window;var n=this._getScrollPosition(),s=n[0],a=n[1];this.scroll=new H(s,a),this.view=new T({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:this._hasScrollContainer?l:void 0}),this._ticking=!1,this._supportsPassive=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}(),this._bindAllMethods(),this.disabled||(this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize())}e.init=function(t){if(!("u">typeof window))throw Error("Looks like ParallaxController.init() was called on the server. This method must be called on the client.");return new e(t)};var t=e.prototype;return t._bindAllMethods=function(){var e=this;["_addListeners","_removeListeners","_getScrollPosition","_handleScroll","_handleUpdateCache","_updateAllElements","_updateElementPosition","_setViewSize","_addResizeObserver","_checkIfViewHasChanged","_getViewParams","getElements","createElement","removeElementById","resetElementStyles","updateElementPropsById","update","updateScrollContainer","destroy"].forEach(function(t){e[t]=e[t].bind(e)})},t._addListeners=function(e){e.addEventListener("scroll",this._handleScroll,!!this._supportsPassive&&{passive:!0}),window.addEventListener("resize",this._handleUpdateCache,!1),window.addEventListener("blur",this._handleUpdateCache,!1),window.addEventListener("focus",this._handleUpdateCache,!1),window.addEventListener("load",this._handleUpdateCache,!1)},t._removeListeners=function(e){var t;e.removeEventListener("scroll",this._handleScroll,!1),window.removeEventListener("resize",this._handleUpdate
1Cache,!1),window.removeEventListener("blur",this._handleUpdateCache,!1),window.removeEventListener("focus",this._handleUpdateCache,!1),window.removeEventListener("load",this._handleUpdateCache,!1),null==(t=this._resizeObserver)||t.disconnect()},t._addResizeObserver=function(){var e=this;try{var t=this._hasScrollContainer?this.viewEl:document.documentElement;this._resizeObserver=new ResizeObserver(function(){return e.update()}),this._resizeObserver.observe(t)}catch(e){console.warn("Failed to create the resize observer in the ParallaxContoller")}},t._getScrollPosition=function(){return[this._hasScrollContainer?this.viewEl.scrollLeft:window.pageXOffset,this._hasScrollContainer?this.viewEl.scrollTop:window.pageYOffset]},t._handleScroll=function(){var e,t=this._getScrollPosition(),i=t[0],l=t[1];this.scroll.setScroll(i,l),!this._ticking&&(null==(e=this.elements)?void 0:e.length)>0&&(this._ticking=!0,window.requestAnimationFrame(this._updateAllElements))},t._handleUpdateCache=function(){this._setViewSize(),this._updateAllElements({updateCache:!0})},t._updateAllElements=function(e){var t=this,i=(void 0===e?{}:e).updateCache;this.elements&&this.elements.forEach(function(e){i&&e.setCachedAttributes(t.view,t.scroll),t._updateElementPosition(e)}),this._ticking=!1},t._updateElementPosition=function(e){e.props.disabled||this.disabled||e.updatePosition(this.scroll)},t._getViewParams=function(){if(this._hasScrollContainer){var e=this.viewEl.offsetWidth,t=this.viewEl.offsetHeight,i=this.viewEl.scrollHeight,l=this.viewEl.scrollWidth;return this.view.setSize({width:e,height:t,scrollHeight:i,scrollWidth:l})}var r=document.documentElement;return{width:window.innerWidth||r.clientWidth,height:window.innerHeight||r.clientHeight,scrollHeight:r.scrollHeight,scrollWidth:r.scrollWidth}},t._setViewSize=function(){return this.view.setSize(this._getViewParams())},t._checkIfViewHasChanged=function(){return this.view.hasChanged(this._getViewParams())},t.getElements=function(){return this.elements},t.createElement=function(e){var t=new z(w({},e,{scrollAxis:this.scrollAxis,disabledParallaxController:this.disabled}));return t.setCachedAttributes(this.view,this.scroll),this.elements=this.elements?[].concat(this.elements,[t]):[t],this._updateElementPosition(t),this._checkIfViewHasChanged()&&this.update(),t},t.removeElementById=function(e){this.elements&&(this.elements=this.elements.filter(function(t){return t.id!==e}))},t.updateElementPropsById=function(e,t){this.elements&&(this.elements=this.elements.map(function(i){return i.id===e?i.updateProps(t):i})),this.update()},t.resetElementStyles=function(e){A(e)},t.update=function(){var e=this._getScrollPosition(),t=e[0],i=e[1];this.scroll.setScroll(t,i),this._setViewSize(),this._updateAllElements({updateCache:!0})},t.updateScrollContainer=function(e){this._removeListeners(this.viewEl),this.viewEl=e,this._hasScrollContainer=!!e,this.view=new T({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:e}),this._setViewSize(),this._addListeners(this.viewEl),this._updateAllElements({updateCache:!0})},t.disableParallaxController=function(){this.disabled=!0,this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(e){return A(e)})},t.enableParallaxController=function(){var e=this;this.disabled=!1,this.elements&&this.elements.forEach(function(t){return t.updateElementOptions({disabledParallaxController:!1,scrollAxis:e.scrollAxis})}),this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize()},t.disableAllElements=function(){console.warn("deprecated: use disableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(e){return e.updateProps({disabled:!0})})),this.update()},t.enableAllElements=function(){console.warn("deprecated: use enableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(e){return e.updateProps({disabled:!1})})),this.update()},t.destroy=function(){this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(e){return A(e)}),this.elements=void 0},e}(),R=e.i(71645);function W(e){var t,i=e.disabled,l=e.easing,r=e.endScroll,n=e.onCh
1ange,s=e.onEnter,a=e.onExit,o=e.onProgressChange,c=e.opacity,d=e.rootMargin,u=e.rotate,h=e.rotateX,p=e.rotateY,f=e.rotateZ,m=e.scale,g=e.scaleX,x=e.scaleY,w=e.scaleZ,b=e.shouldAlwaysCompleteAnimation,y=e.shouldDisableScalingTranslations,E=e.speed,j=e.startScroll,_=e.targetElement,k=e.translateX,C=e.translateY,S=(0,v._)(e,["disabled","easing","endScroll","onChange","onEnter","onExit","onProgressChange","opacity","rootMargin","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","shouldAlwaysCompleteAnimation","shouldDisableScalingTranslations","speed","startScroll","targetElement","translateX","translateY"]);return{parallaxProps:(Object.keys(t={disabled:i,easing:l,endScroll:r,onChange:n,onEnter:s,onExit:a,onProgressChange:o,opacity:c,rootMargin:d,rotate:u,rotateX:h,rotateY:p,rotateZ:f,scale:m,scaleX:g,scaleY:x,scaleZ:w,shouldAlwaysCompleteAnimation:b,shouldDisableScalingTranslations:y,speed:E,startScroll:j,targetElement:_,translateX:k,translateY:C}).forEach(function(e){return void 0===t[e]&&delete t[e]}),t),rest:S}}var B=R.default.createContext(null);function V(e){var t=function(){var e=(0,R.useContext)(B);if("u"<typeof window)return null;if(!e)throw Error("Could not find `react-scroll-parallax` context value. Please ensure the component is wrapped in a <ParallaxProvi
1der>");return e}(),i=(0,R.useRef)(null),l=W(e).parallaxProps;(0,R.useEffect)(function(){var e="u"<typeof window,i=(0,h._)(t,Q);if(!e&&!t&&!i)throw Error("Must wrap your application's <Parallax /> components in a <ParallaxProvider />.")},[t]);var r=(0,m._)((0,R.useState)(),2),n=r[0],s=r[1];return(0,R.useEffect)(function(){var e;if((0,h._)(i.current,HTMLElement)){var r={el:i.current,props:l};s(e=null==t?void 0:t.createElement(r))}else throw Error("You must assign the ref returned by the useParallax() hook to an HTML Element.");return function(){e&&(null==t||t.removeElementById(e.id))}},[]),(0,R.useEffect)(function(){n&&(e.disabled&&(null==t||t.resetElementStyles(n)),null==t||t.updateElementPropsById(n.id,l))},[e.disabled,e.easing,e.endScroll,e.onChange,e.onEnter,e.onExit,e.onProgressChange,e.opacity,e.rootMargin,e.rotate,e.rotateX,e.rotateY,e.rotateZ,e.scale,e.scaleX,e.scaleY,e.scaleZ,e.shouldAlwaysCompleteAnimation,e.shouldDisableScalingTranslations,e.speed,e.startScroll,e.targetElement,e.translateX,e.translateY]),{ref:i,controller:t,element:n}}var q={height:0},F={position:"absolute",top:0,left:0,right:0,bottom:0},U=function(e){var t=W(e),i=t.parallaxProps,l=t.rest;l.children,l.disabled;var r=l.style,n=l.expanded,s=(l.image,l.testId),a=(0,v._)(l,["children","disabled","style","expanded","image","testId"]),o=e.image?{backgroundImage:"url(".concat(e.image,")"),backgroundPosition:"center",backgroundSize:"cover"}:{},c=void 0===n||n?function(e){if(Array.isArray(e.translateY)){var t=j(e.translateY[0]),i=j(e.translateY[1]);if("px"===t.unit&&"px"===i.unit)return{top:"".concat(-1*Math.abs(i.value),"px"),bottom:"".concat(-1*Math.abs(t.value),"px")};if("%"===t.unit&&"%"===i.unit){var l,r,n=null!=(l=null==(r=e.targetElement)?void 0:r.getBoundingClientRect())?l:q,s=-1*Math.abs(.01*n.height*i.value),a=-1*Math.abs(.01*n.height*t.value);return{top:"".concat(s,"px"),bottom:"".concat(a,"px")}}}if(e.speed){var o=-(10*Math.abs(e.speed||0)*1);return{top:"".concat(o,"px"),bottom:"".concat(o,"px")}}return{}}(e):{},d=V((0,p._)({targetElement:e.targetElement,shouldDisableScalingTranslations:!0},i));return R.default.createElement("div",(0,p._)({"data-testid":s,ref:d.ref,style:(0,p._)({},o,F,c,r)},a),l.children)},D={position:"relative",overflow:"hidden",width:"100%"};e.s(["Parallax",0,function(e){var t=W(e),i=t.parallaxProps,l=t.rest,r=V(i).ref;return R.default.createElement("div",(0,p._)({ref:r},l),e.children)},"ParallaxBanner",0,function(e){var t=(0,m._)((0,R.useState)(null),2),i=t[0],l=t[1],r=(0,R.useRef)(null);(0,R.useEffect)(function(){l(r.current)},[]),e.disabled;var n=e.style,s=e.layers,a=void 0===s?[]:s,o=(0,v._)(e,["disabled","style","layers"]);return R.default.createElement("div",(0,p._)({ref:r,style:(0,p._)({},D,n)},o),i&&a&&a.length>0?a.map(function(e,t){return R.default.createElement(U,(0,f._)((0,p._)({},e),{targetElement:i,key:"layer-".concat(t),testId:"layer-".concat(t)}))}):null,i?R.default.Children.map(e.children,function(e){return(null==e?void 0:e.type)===U?R.default.cloneElement(e,{targetElement:i}):e}):null)}
1,"ParallaxBannerLayer",0,U,"ParallaxProvider",0,function(e){var t,i=(0,R.useRef)(null);return i.current||(t={scrollAxis:e.scrollAxis||d.vertical,scrollContainer:e.scrollContainer,disabled:e.isDisabled},i.current="u">typeof window?Q.init(t):null),(0,R.useEffect)(function(){e.scrollContainer&&i.current&&i.current.updateScrollContainer(e.scrollContainer)},[e.scrollContainer]),(0,R.useEffect)(function(){e.isDisabled&&i.current&&i.current.disableParallaxController(),!e.isDisabled&&i.current&&i.current.enableParallaxController()},[e.isDisabled]),(0,R.useEffect)(function(){return function(){var e;null==i||null==(e=i.current)||e.destroy()}},[]),R.default.createElement(B.Provider,{value:i.current},e.children)}],1433)}]);

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.