(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[135],{D0qw:function(n,t,e){"use strict";e.r(t);var r=e("i8i4"),i=e.n(r),o=e("q1tI"),a=e.n(o),c=e("vOnD"),u=e("0wEy"),s=e("mwIZ"),l=e.n(s),f=e("phrq"),d=e("jT3O"),p=e("mBlu"),h=e("oHBl");function b(){var n=Object(d.a)(["\n            max-width: 343px;\n            margin: 0 50px;\n        "]);return b=function(){return n},n}function m(){var n=Object(d.a)(["\n            max-width: 293px;\n        "]);return m=function(){return n},n}function v(){var n=Object(d.a)(["\n            margin-right: 200px;\n        "]);return v=function(){return n},n}function O(){var n=Object(d.a)(["\n            margin-right: 150px;\n        "]);return O=function(){return n},n}function w(){var n=Object(d.a)(["\n            margin-right: 100px;\n        "]);return w=function(){return n},n}function _(){var n=Object(d.a)(["\n        transform: ",";\n    "]);return _=function(){return n},n}function g(){var n=Object(d.a)(["\n        transform: ",";\n    "]);return g=function(){return n},n}function E(){var n=Object(d.a)(["\n        transform: ",";\n    "]);return E=function(){return n},n}function x(){var n=Object(d.a)(["\n        transform: ",";\n    "]);return x=function(){return n},n}function I(){var n=Object(d.a)(["\n        transform: ",";\n    "]);return I=function(){return n},n}function L(){var n=Object(d.a)(["\n        right: calc(42vw - 50px);\n    "]);return L=function(){return n},n}function T(){var n=Object(d.a)(["\n        right: calc(47vw - 50px);\n    "]);return T=function(){return n},n}function j(){var n=Object(d.a)(["\n        right: calc(41vw - 50px);\n    "]);return j=function(){return n},n}function y(){var n=Object(d.a)(["\n        display: block;\n        position: absolute;\n        top: 50%;\n        right: calc(20vw - 50px);\n        z-index: 10;\n        transform: translateY(-50%);\n        font-size: ","px;\n        pointer-events: none;\n\n        &::after {\n            display: inline-block;\n            width: 100px;\n            height: 1px;\n            vertical-align: middle;\n            background: ",";\n            content: '';\n            margin-left: 10px;\n            transform: scaleX(",");\n            transform-origin: left;\n            transition: transform .9s cubic-bezier(.77,0,.175,1);\n            transition-delay: ",";\n        }\n\n        span {\n            display: inline-block;\n            font-family: '","', sans-serif;\n            color: ",";\n            transition: transform .9s cubic-bezier(.77,0,.175,1), opacity .9s cubic-bezier(.77,0,.175,1);\n            transition-delay: ",";\n            transform-origin: left;\n            opacity: ",";\n            transform: translateX(",")};\n        }\n    "]);return y=function(){return n},n}function A(){var n=Object(d.a)(["\n        padding: 150px 100px;\n        h1 {\n            font-size: ","px;\n        }\n        > div > div {\n            margin-top: 40px;\n        }\n    "]);return A=function(){return n},n}function N(){var n=Object(d.a)(["\n        height: 100vh;\n        max-width: 35%;\n        padding: 150px 80px;\n        h1 {\n            font-size: ","px;\n        }\n    "]);return N=function(){return n},n}function k(){var n=Object(d.a)(["\n        max-width: 42%;\n        h1 {\n            font-size: ","px;\n        }\n    "]);return k=function(){return n},n}function M(){var n=Object(d.a)(["\n        max-width: 46%;\n        padding: 90px 40px;\n        h1 {\n            font-size: ","px;\n        }\n    "]);return M=function(){return n},n}function S(){var n=Object(d.a)(["\n        max-width: 61%;\n    "]);return S=function(){return n},n}var B=c.default.div.withConfig({displayName:"nodes__Wrapper",componentId:"sc-1hbmfid-0"})(["-webkit-overflow-scrolling:touch;"]),C=c.default.div.withConfig({displayName:"nodes__Gallery",componentId:"sc-1hbmfid-1"})(["position:relative;width:100%;height:100vh;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;&::-webkit-scrollbar{display:none;}display:flex;align-items:center;@supports (-webkit-touch-callout:none){height:-webkit-fill-available;}"]),z=c.default.div.withConfig({displayName:"nodes__TextBox",componentId:"sc-1hbmfid-2"})(["position:absolute;z-index:1;top:0;left:0;max-width:68%;height:100vh;padding:90px 20px 30px;display:flex;flex-direction:column;transform:translateY(",");opacity:",";transform:translateY(",");opacity:",";transition:transform 1s cubic-bezier(0.77,0,0.175,1),opacity 1s cubic-bezier(0.77,0,0.175,1);overflow:hidden;@supports (-webkit-touch-callout:none){height:-webkit-fill-available;}h1{font-size:","vh;font-family:'","',sans-serif !important;color:",";font-weight:400;line-height:1.2;word-wrap:break-word;margin:0;transform:translateY(",");transition:1s cubic-bezier(0.19,1,0.22,1);word-break:break-word;}> section{transform:translateY(",");transition:1s cubic-bezier(0.19,1,0.22,1);margin:30px auto;width:100%;padding-right:20px;.scrollbar-thumb{background:rgb(160 160 160 / 50%);}}> section > div{line-height:1.6;color:",";font-size:","px;font-family:'","',sans-serif !important;word-wrap:break-word;white-space:pre-wrap;opacity:",";transition:opacity 0.6s cubic-bezier(0.19,1,0.22,1);border-radius:50px;}a,button{pointer-events:auto;}"," "," "," "," ",""],(function(n){return n.loaded?"0":"-20px"}),(function(n){return n.loaded?"1":"0"}),(function(n){return n.scrolled?"20px":"0"}),(function(n){return n.scrolled?"0":"1"}),(function(n){return n.theme.ALBUM_TITLE_SIZE?5*+n.theme.ALBUM_TITLE_SIZE:5}),(function(n){return n.theme.ALBUM_TITLE_FONT_NAME}),(function(n){return n.theme.ALBUM_TITLE_COLOR}),(function(n){return n.position>80?"-50%":"0"}),(function(n){return n.position>80?"50%":"0"}),(function(n){return n.theme.ALBUM_DESCRIPTION_COLOR}),(function(n){return n.theme.ALBUM_DESCRIPTION_SIZE?16*+n.theme.ALBUM_DESCRIPTION_SIZE:16}),(function(n){return n.theme.ALBUM_DESCRIPTION_FONT_NAME}),(function(n){return n.position>80?"0":"1"}),p.b.phone(S()),p.b.tablet(M(),(function(n){return n.theme.ALBUM_TITLE_SIZE?28*+n.theme.ALBUM_TITLE_SIZE:28})),p.b.laptop(k(),(function(n){return n.theme.ALBUM_TITLE_SIZE?32*+n.theme.ALBUM_TITLE_SIZE:32})),p.b.desktop(N(),(function(n){return n.theme.ALBUM_TITLE_SIZE?38*+n.theme.ALBUM_TITLE_SIZE:38})),p.b.desktopLarge(A(),(function(n){return n.theme.ALBUM_TITLE_SIZE?44*+n.theme.ALBUM_TITLE_SIZE:44}))),R=c.default.div.withConfig({displayName:"nodes__Scroll",componentId:"sc-1hbmfid-3"})(["display:none;"," "," "," ",""],p.b.tablet(y(),(function(n){return n.theme.PAGE_NAVIGATION_SIZE?16*+n.theme.PAGE_NAVIGATION_SIZE:16}),(function(n){return n.theme.PAGE_NAVIGATION_COLOR}),(function(n){return n.isVisible?"1":"0"}),(function(n){return n.scrolled?"0":"1s"}),(function(n){return n.theme.PAGE_NAVIGATION_FONT_NAME}),(function(n){return n.theme.PAGE_NAVIGATION_COLOR}),(function(n){return n.scrolled?"0":"1s"}),(function(n){return n.isVisible?"1":"0"}),(function(n){return n.isVisible?"0":"-10px"})),p.b.laptop(j()),p.b.desktop(T()),p.b.desktopLarge(L())),U=c.default.div.withConfig({displayName:"nodes__Images",componentId:"sc-1hbmfid-4"})(["display:flex;transform:",";transition:transform 1s cubic-bezier(0.77,0,0.175,1);transition-delay:0.5s;"," "," "," "," ",""],(function(n){return n.loaded?"translateX(90vw)":"translateX(100vw)"}),p.b.phone(I(),(function(n){return n.loaded?"translateX(78vw)":"translateX(100vw)"})),p.b.tablet(x(),(function(n){return n.loaded?"translateX(80vw)":"translateX(100vw)"})),p.b.laptop(E(),(function(n){return n.loaded?"translateX(59vw)":"translateX(100vw)"})),p.b.desktop(g(),(function(n){return n.loaded?"translateX(53vw)":"translateX(100vw)"})),p.b.desktopLarge(_(),(function(n){return n.loaded?"translateX(58vw)":"translateX(100vw)"}))),X=c.default.div.withConfig({displayName:"nodes__PhotoItem",componentId:"sc-1hbmfid-5"})(["flex-shrink:0;display:flex;align-items:center;&:not(:last-child){margin-right:80px;> p{margin-right:0;}"," "," ","}> p{max-width:255px;margin:0 20px;font-family:'","',sans-serif !important;color:",";font-size:","px;line-height:1.6;white-space:pre-wrap;"," ","}"],p.b.phone(w()),p.b.laptop(O()),p.b.desktop(v()),(function(n){return n.theme.ALBUM_PHOTO_NOTE_FONT_NAME}),(function(n){return n.theme.ALBUM_PHOTO_NOTE_COLOR}),(function(n){return n.theme.ALBUM_PHOTO_NOTE_SIZE?16*+n.theme.ALBUM_PHOTO_NOTE_SIZE:16}),p.b.phone(m()),p.b.tablet(b())),Z=c.default.div.withConfig({displayName:"nodes__ImgWrap",componentId:"sc-1hbmfid-6"})(["flex-shrink:0;width:","vh;max-width:","px;"],(function(n){return 100*n.aspectRatio}),(function(n){return 2240*n.aspectRatio})),P=Object(c.default)(h.a).withConfig({displayName:"nodes__Img",componentId:"sc-1hbmfid-7"})([""]),G=e("/MKj"),D=e("9ADZ"),V=e("jjcF"),H=e.n(V),Y=a.a.createElement,F=function(n){var t=n.title,e=n.photos,r=n.description,a=n.theme,c=Object(G.d)(D.a).isMobile,s=Object(o.useState)(0),d=s[0],p=s[1],h=Object(o.useState)(0),b=h[0],m=h[1],v=Object(o.useState)(0),O=v[0],w=v[1],_=Object(o.useState)(0),g=_[0],E=_[1],x=Object(o.useState)(!1),I=x[0],L=x[1],T=Object(o.useState)(0),j=T[0],y=T[1],A=Object(o.useState)(!1),N=A[0],k=A[1],M=Object(o.useRef)(null),S=Object(o.useRef)(null),V=Object(o.useRef)(),F=Object(o.useRef)(),W=Object(o.useRef)(),q=Object(o.useRef)(),J=Object(o.useMemo)((function(){return e.length>0}),[e]);Object(o.useEffect)((function(){var n=function(){J&&l()(M,"current")&&p(l()(M,"current.scrollWidth"))};return n(),k(!0),window.addEventListener("resize",n),f.a&&(document.body.style.overflow="hidden"),function(){window.removeEventListener("resize",n),f.a&&(document.body.style.overflow="visible")}}),[J]);var K=Object(o.useCallback)((function(n){var t=i.a.findDOMNode(S.current).getBoundingClientRect();return!(!J||!l()(M,"current"))&&(!(n+l()(M,"current.scrollWidth")>l()(M,"current.scrollWidth"))&&!(t.width/3-n>l()(M,"current.scrollWidth")+100))}),[J]),Q=Object(o.useCallback)((function(n){n.preventDefault();var t=n.deltaY?n.deltaY:n.deltaX,e=b+t;if(!K(e))return null;L(!0),y(t),window.requestAnimationFrame((function(){return m(e)}))}),[K,b]),$=Object(o.useCallback)((function(n){w(n.changedTouches[0].clientX),L(!0)}),[]),nn=Object(o.useCallback)((function(n){var t=n.changedTouches[0].clientX,e=O>t?t-O:Math.abs(O-t);E(e)}),[O]),tn=Object(o.useCallback)((function(n){var t=n.changedTouches[0].clientX,e=O>t?t-O:Math.abs(O-t);0!==e&&E(e)}),[O]);Object(o.useEffect)((function(){V.current=Q}),[Q]),Object(o.useEffect)((function(){F.current=$}),[$]),Object(o.useEffect)((function(){W.current=nn}),[nn]),Object(o.useEffect)((function(){q.current=tn}),[tn]),Object(o.useEffect)((function(){var n=S.current;if(n){if(c){var t=function(n){return F.current(n)},e=function(n){return W.current(n)},r=function(n){return q.current(n)};return n.addEventListener("touchstart",t,{passive:!1}),n.addEventListener("touchcancel",e,{passive:!1}),n.addEventListener("touchend",r,{passive:!1}),function(){n.removeEventListener("touchstart",t),n.removeEventListener("touchcancel",e),n.removeEventListener("touchend",r)}}var i=function(n){return V.current(n)};return n.addEventListener("wheel",i,{passive:!1}),function(){n.removeEventListener("wheel",i)}}}),[c]);return Y(B,null,Y(z,{loaded:N,scrolled:j<0||g<0},Y("h1",null,t),Y(H.a,null,r?Y("div",{dangerouslySetInnerHTML:{__html:r}}):null)),Y(R,{isVisible:N&&b>=0,scrolled:I},Y("span",null,c?"Swipe":"Scroll")),Y(C,{ref:S},Y(u.Motion,{style:{z:Object(u.spring)(b,{stiffness:c?150:200,damping:40})}},(function(n){var t=n.z,r={transform:"translate3d(".concat(t,"px, 0,0)"),display:"inline-flex",height:"100%",position:"absolute",willChange:"transform"};return Y("div",{style:r},J&&Y(U,{ref:M,width:d,loaded:N},e.map((function(n,t){var e="VIDEO"===n.itemType?n.videoRatioX/n.videoRatioY:n.lightboxWidth/n.lightboxHeight;return Y(X,{key:t},Y(Z,{aspectRatio:e,key:n.id},Y(P,{image:n,imgStyle:{objectFit:"contain"},backgroundColor:a.common.PHOTO_BACKGROUND_COLOR,disabledByLimit:n.disabledByLimit,showAddButton:!0})),n.description?Y("p",null,n.description):null)}))))}))))};F.defaultProps={title:"",photos:[],description:void 0};t.default=Object(c.withTheme)(F)}}]);