PageSourceSearch

https://sethkaye.com/_next/static/chunks/6637.54f9f5cf17b1d728.js

js sethkaye.com collected 2026-10-04 04:09:06 UTC 10,568 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6637],{56637:function(e,t,n){n.r(t),n.d(t,{default:function(){return PearlBlogPage}});var o=n(82729),i=n(85893),a=n(67294),r=n(57833),l=n(7420),c=n(34031),d=n(25675),p=n.n(d),s=n(3709),u=n(45501);function _templateObject(){let e=(0,o._)(["\n  width: 100%;\n  background: ",";\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,o._)(["\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  margin: auto;\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,o._)(["\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  margin: auto;\n  @media (max-width: 991px) {\n    display: none;\n  }\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,o._)(["\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  margin: auto;\n  @media (min-width: 990px) {\n    display: none;\n  }\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,o._)(["\n  position: relative;\n  cursor: pointer;\n  width: 100%;\n  overflow: hidden;\n  height: calc(100vw * (2 / 3));\n  @media (max-width: 991px) {\n    height: calc(100vw * (5 / 3));\n  }\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,o._)(["\n  position: absolute;\n  display: flex;\n  height: 100%;\n  width: 100%;\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,o._)(["\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  background: black;\n  opacity: ",";\n  max-width: 100%;\n  margin: 0 auto;\n  z-index: 1;\n  height: calc(100vw * (2 / 3));\n  @media (max-width: 991px) {\n    height: calc(100vw * (5 / 3));\n  }\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,o._)(["\n  @media (max-width: 991px) {\n    display: none;\n  }\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  top: 0;\n  z-index: 1;\n"]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,o._)(["\n  width: 100%;\n  height: 100%;\n  object-fit: cover;\n"]);return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,o._)(["\n  @media (min-width: 990px) {\n    display: none;\n  }\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  top: 0;\n  z-index: 1;\n"]);return _templateObject9=function(){return e},e}function CoverSection(e){let{landscapeImage:t,portraitImage:n,title:o,colorObj:r,darkLogo:l,lightLogo:d,photographerName:p,fontFamily:O,blogOverlayOpacity:P,website:k,renderConditions:y,containerWidth:C,showVideoCarousel:I,carouselMobileVideoLink:Z,carouselDesktopVideoLink:F,photographer:L}=e,z=(0,a.useMemo)(()=>!!I&&(C>991?!!F:!!Z),[Z,F,C,I]);return(0,i.jsxs)(m,{id:"carousel-hero",font:O.secondary,background:r.background,children:[(0,i.jsx)(c.Z,{logo1:r.navLogo?d:l,colorObj:r,darkLogo:l,lightLogo:d,photographerName:p,fontFamily:O,background:"transparent",textcolor:r.navTextColor,website:k,renderConditions:y,containerWidth:C,photographer:L}),z?(0,i.jsx)(b,{children:(0,i.jsx)(s.Z,{fontFamily:O,template:k.website_template,carouselMobileVideoLink:Z,carouselDesktopVideoLink:F,containerWidth:C-16,overlayOpacity:P})}):(0,i.jsxs)(i.Fragment,{children:[t&&(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(h,{children:[(0,i.jsx)(g,{children:(0,i.jsx)(j,{children:(0,i.jsx)(x,{children:(0,i.jsx)(w,{src:(0,u.C)(t),width:1e3,height:1e3,alt:o,priority:!0,sizes:"(max-width: 990px) 1px, 100vw"})})})}),(0,i.jsx)(_,{overlayOpacity:P})]})}),n&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(f,{children:(0,i.jsx)(g,{children:(0,i.jsxs)(j,{children:[(0,i.jsx)(v,{children:(0,i.jsx)(w,{src:(0,u.C)(n),width:2e3,height:2e3,alt:o,priority:!0,sizes:"(min-width: 990px) 1px, 100vw"})}),(0,i.jsx)(_,{overlayOpacity:P})]})})})})]})]})}let m=r.ZP.div.withConfig({componentId:"sc-1cb2029b-0"})(_templateObject(),e=>e.background?e.background:"#fff"),b=r.ZP.div.withConfig({componentId:"sc-1cb2029b-1"})(_templateObject1()),h=r.ZP.div.withConfig({componentId:"sc-1cb2029b-2"}
1)(_templateObject2()),f=r.ZP.div.withConfig({componentId:"sc-1cb2029b-3"})(_templateObject3()),g=r.ZP.div.withConfig({componentId:"sc-1cb2029b-4"})(_templateObject4()),j=r.ZP.div.withConfig({componentId:"sc-1cb2029b-5"})(_templateObject5()),_=r.ZP.div.withConfig({componentId:"sc-1cb2029b-6"})(_templateObject6(),e=>e.overlayOpacity),x=r.ZP.div.withConfig({componentId:"sc-1cb2029b-7"})(_templateObject7()),w=(0,r.ZP)(p()).withConfig({componentId:"sc-1cb2029b-8"})(_templateObject8()),v=r.ZP.div.withConfig({componentId:"sc-1cb2029b-9"})(_templateObject9());var O=n(6225),P=n(23644),k=n(19564),y=n(1097),C=n(30381),I=n.n(C),Z=n(8519);n(35866);var F=n(70542),L=n(11163);function Pearl_templateObject(){let e=(0,o._)(["\n  width: 100%;\n  display: flex;\n  justify-content: center;\n  flex-direction: column;\n  background: ",";\n"]);return Pearl_templateObject=function(){return e},e}function Pearl_templateObject1(){let e=(0,o._)(["\n  padding: 2vw 0;\n  background: ",";\n  font-family: ",";\n  ","\n"]);return Pearl_templateObject1=function(){return e},e}function Pearl_templateObject2(){let e=(0,o._)(["\n  text-align: center;\n  padding: 2rem 0;\n  color: ",";\n  background: ",";\n"]);return Pearl_templateObject2=function(){return e},e}function Pearl_templateObject3(){let e=(0,o._)(["\n  margin: 1rem 0;\n  font-size: 40px;\n  font-family: ",";\n"]);return Pearl_templateObject3=function(){return e},e}function Pearl_templateObject4(){let e=(0,o._)(["\n  font-size: 18px;\n  font-family: ",";\n"]);return Pearl_templateObject4=function(){return e},e}function Pearl_templateObject5(){let e=(0,o._)(["\n  display: flex;\n  justify-content: center;\n  padding: 0 10vw;\n  @media screen and (max-width: 992px) {\n    padding: 0 5vw;\n  }\n  @media (max-width: 550px) {\n    padding: 0 20px;\n  }\n"]);return Pearl_templateObject5=function(){return e},e}function Pearl_templateObject6(){let e=(0,o._)(["\n  max-width: 1800px;\n  width: 100%;\n"]);return Pearl_templateObject6=function(){return e},e}function PearlBlogPage(e){var t,n,o,r,c,d,p;let{title:s,date:u,texts:m,images:b,colorObj:h,darkLogo:f,lightLogo:g,fontFamily:j,identifier:_,featuredPacks:x,photographer:w,photographerName:v,portraitCoverImage:C,landscapeCoverImage:D,blogOverlayOpacity:R,website:V,renderConditions:Y,template:T,relatedBlogs:A,pageBannerShow:H,showMoreBlogs:U,blogContactForm:q,FormValues:G,hasContactForm:J,API_LINK_BASE:K,buttonLinkData:Q,isSiteBookfocal:X,...$}=e,ee={...Q,type:"contact"},et=[...b.map(e=>({...e,type:"images"})),...m.map(e=>({...e,type:"text"})),...null!==(o=null==$?void 0:null===(t=$.embeds)||void 0===t?void 0:t.map(e=>({embed:e,type:"embed",order:e.order})))&&void 0!==o?o:[],ee].sort((e,t)=>e.order<t.order?-1:1),en=q?(0,F.fB)(q):null,eo={name:"",email:"",phoneNumber:""};null==en||en.slice(5).forEach(e=>{eo[e.field_label]=""});let ei=(0,L.useRouter)(),ea="/engagement-session/[id]"==ei.route,[er,el]=(0,a.useState)(0),[ec,ed]=(0,a.useState)(!1),[ep,es]=(0,a.useState)(0),openImagePreview=e=>{let t=eu.findIndex(t=>(null==t?void 0:t.image)===e);ed(!0),el(t)},eu=(0,a.useMemo)(()=>{let e=[];for(let t of b){let{image1:n,image2:o,image3:i,image4:a,order:r}=t;n&&e.push({image:n,order:r}),o&&e.push({image:o,order:r}),i&&e.push({image:i,order:r}),a&&e.push({image:a,order:r})}return e},[b]),handleWindowResize=()=>{es(window.innerWidth)};(0,a.useEffect)(()=>(handleWindowResize(),window.addEventListener("resize",handleWindowResize),()=>window.removeEventListener("resize",handleWindowResize)),[]);let{defaultCoverPortrait:em,defaultCoverLandscape:eb}=Z.defaultCoverImages,{facebookLink:eh,instagramLink:ef,pinterestLink:eg,youtubeLink:ej,vimeoLink:e_,tiktokLink:ex,websiteLink:ew}=$;return(0,i.jsxs)(z,{background:h.background,children:[(0,i.jsx)(CoverSection,{...$,date:u,title:s,colorObj:h,darkLogo:f,lightLogo:g,fontFamily:j,photographerName:v,portraitImage:C,landscapeImage:D,blogOverlayOpacity:R,website:V,containerWidth:ep,renderConditions:Y,photographer:w}),(0,i.jsx)(N,{children:(0,i.jsxs)(S,{children:[!(null!==(d=null!==(c=null!==(r=null==$?void 0:$.hideTitleAndDate)&&void 0!==r?r:null==$?void 0:null===(n=$.blog)||void 0===n?void 0:n.hide_blog_title)&&void 0!==c?c:null==$?void 0:$.hide_blog_title)&&void 0!==d&&d)&&(0,i.jsxs)(B,{background:h.background,color:h.text,children:[(0,i.jsx)(E,{font:j.primary,children:s}),U&&(0,i.jsx)(M,{font:j.secondary,children:u&&I()(u).format("MMMM Do, YYYY")})]}),(0,i.jsxs)(W,{background:h.background,font:j.secondary,children:[et.map(e=>(0,a.createElement)(P.Z,{...e,colorObj:h,openImagePreview:openImagePreview,containerWidth:ep,key:e.identifier,template:T,font:j,blogContactForm:q,hasContactForm:J,sortedBlogContactForm:en,fontFamily:j,website:V,photographer:w,ApiBaseLink:K,contactFormDetails:null==en?void 0:en.slice(0,2),contactUsForm:null==en?void 0:en.slice(2),FormV
1alues:eo,fromBlog:!0,isScrollIntoView:!1,forPage:$.forPage,buttonLinkData:Q,hasFeaturedPackage:$.hasFeaturedPackage,blogFeaturedPackages:$.blogFeaturedPackages,featuredPackagesHeader:$.featuredPackagesHeader})),H&&(0,i.jsx)(y.Z,{colorObj:h,template:T,fontFamily:j}),(0,i.jsx)(l.Z,{imgs:eu.sort((e,t)=>e.order<t.order?-1:1).map(e=>({src:null==e?void 0:e.image,width:"auto",height:"auto"})),currImg:er,isOpen:ec,onClickPrev:()=>{el(er-1)},onClickNext:()=>{el(er+1)},onClose:()=>{ed(!1),el(0)}}),U&&!X&&!ea&&(0,i.jsx)(k.Z,{blogs:A,template:T,fontFamily:j,colorObj:h})]})]})}),(0,i.jsx)(O.Z,{colorObj:h,darkLogo:f,lightLogo:g,featuredPacks:x,fontFamily:j,photographerName:v,photographer:w,website:V,renderConditions:Y,textcolor:h.footerTextColor,containerWidth:ep,designedByFocal:null===(p=null==w?void 0:w.designed_by_focal)||void 0===p||p,facebookLink:eh,instagramLink:ef,pinterestLink:eg,youtubeLink:ej,vimeoLink:e_,tiktokLink:ex,websiteLink:ew})]})}let z=r.ZP.div.withConfig({componentId:"sc-a17fd2ec-0"})(Pearl_templateObject(),e=>e.background),W=r.ZP.div.withConfig({componentId:"sc-a17fd2ec-1"})(Pearl_templateObject1(),e=>e.background,e=>e.font,""),B=r.ZP.div.withConfig({componentId:"sc-a17fd2ec-2"})(Pearl_templateObject2(),e=>e.color,e=>e.background),E=r.ZP.h1.withConfig({componentId:"sc-a17fd2ec-3"})(Pearl_templateObject3(),e=>e.font),M=r.ZP.h4.withConfig({componentId:"sc-a17fd2ec-4"})(Pearl_templateObject4(),e=>e.font),N=r.ZP.div.withConfig({componentId:"sc-a17fd2ec-5"})(Pearl_templateObject5()),S=r.ZP.div.withConfig({componentId:"sc-a17fd2ec-6"})(Pearl_templateObject6())}}]);

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.