1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6a2e94d5-8db0-4c92-922e-a4e8d767df52",e._sentryDebugIdIdentifier="sentry-dbid-6a2e94d5-8db0-4c92-922e-a4e8d767df52")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1927],{49560:function(e,t){t.Z={src:"/_next/static/media/play_video.4b0f55f4.svg",height:48,width:48,blurWidth:0,blurHeight:0}},15285:function(e,t,i){var l,a,n=i(54110),s=i(88354);(l=a||(a={})).campaign_landing_impression="campaign_landing_impression",l.campaign_hero_tile_cta="campaign_hero_tile_cta",l.campaign_experience_video_cta="campaign_experience_video_cta",l.campaign_value_prop_cta="campaign_value_prop_cta",l.campaign_view_more_first_section_cta="campaign_view_more_first_section_cta",l.campaign_view_more_second_section_cta="campaign_view_more_second_section_cta",l.campaign_view_more_third_section_cta="campaign_view_more_third_section_cta",l.campaign_top_header_cta="campaign_top_header_cta",l.campaign_banner_section_cta="campaign_banner_section_cta",l.campaign_services_cta="campaign_services_cta",l.campaign_festival_trust_marker_cta="campaign_festival_trust_marker_cta";let r={extraProperties:s.h6,FestivalPageImpression:e=>{(0,s.ZP)({source:null===n.Hx||void 0===n.Hx?void 0:n.Hx.EPUJA,event:"campaign_landing_impression",sub_type:n._L.IMPRESSION,event_type:n.Ze.USER,attr1:{type:"campaign_name",value:e}})},FestivalHeroTileClick:(e,t,i)=>{(0,s.ZP)({source:null===n.Hx||void 0===n.Hx?void 0:n.Hx.EPUJA,event:"campaign_hero_tile_cta",sub_type:n._L.CLICK,event_type:n.Ze.USER,attr1:{type:"campaign_name",value:e},attr2:{type:"tile_number",value:t},attr3:{type:"redirected_link",value:i}})},FestivalExperienceVideoClick:(e,t)=>{(0,s.ZP)({source:null===n.Hx||void 0===n.Hx?void 0:n.Hx.EPUJA,event:"campaign_experience_video_cta",sub_type:n._L.CLICK,event_type:n.Ze.USER,attr1:{type:"campaign_name",value:e},attr2:{type:"slide_number",value:t}})},FestivalValuePropClick:()=>{(0,s.ZP)({source:null===n.Hx||void 0===n.Hx?void 0:n.Hx.EPUJA,event:"campaign_value_prop_cta",sub_type:n._L.CLICK,event_type:n.Ze.USER})},FestivalServiceFirstSectionClick:(e,t)=>{(0,s.ZP)({source:null===n.Hx||void 0===n.Hx?void 0:n.Hx.EPUJA,event:"campaign_view_more_first_section_cta",sub_type:n._L.CLICK,event_type:n.Ze.USER,attr1:{type:"campaign_name",value:e},attr2:{type:"redirected_link",value:t}})},FestivalServiceSecondSectionClick:(e,t)=>{(0,s.ZP)({source:null===n.Hx||void 0===n.Hx?void 0:n.Hx.EPUJA,event:"campaign_view_more_second_section_cta",sub_type:n._L.CLICK,event_type:n.Ze.USER,attr1:{type:"campaign_name",value:e},attr2:{type:"redirected_link",value:t}})},FestivalServiceThirdSectionClick:(e,t)=>{(0,s.ZP)({source:null===n.Hx||void 0===n.Hx?void 0:n.Hx.EPUJA,event:"campaign_view_more_third_section_cta",sub_type:n._L.CLICK,event_type:n.Ze.USER,attr1:{type:"campaign_name",value:e},attr2:{type:"redirected_link",value:t}})},FestivalTopHeaderCtaClick:(e,t)=>{(0,s.ZP)({source:null===n.Hx||void 0===n.Hx?void 0:n.Hx.EPUJA,event:"campaign_top_header_cta",sub_type:n._L.CLICK,event_type:n.Ze.USER,attr1:{type:"campaign_name",value:e},attr2:{type:"banner_header",value:t}})},FestivalBannerSectionCtaClick:e=>{(0,s.ZP)({source:null===n.Hx||void 0===n.Hx?void 0:n.Hx.EPUJA,event:"campaign_banner_section_cta",sub_type:n._L.CLICK,event_type:n.Ze.USER,attr1:{type:"redirected_link",value:e}})},FestivalServiceCtaClick:(e,t,i)=>{(0,s.ZP)({source:null===n.Hx||void 0===n.Hx?void 0:n.Hx.EPUJA,event:"campaign_services_cta",sub_type:n._L.CLICK,event_type:n.Ze.USER,attr1:{type:"campaign_name",value:e},attr2:{type:"redirected_link",value:t},attr3:{type:"section_number",value:i}})},FestivalTrustMakerTileClick:(e,t)=>{(0,s.ZP)({source:null===n.Hx||void 0===n.Hx?void 0:n.Hx.EPUJA,event:"campaign_festival_trust_marker_cta",sub_type:n._L.CLICK,event_type:n.Ze.USER,attr1:{type:"campaign_name",value:e},attr2:{type:"tile_number",value:t}})}};t.Z=r},71927:function(e,t,i){i.r(t);var l=i(85893),a=i(67294),n=i(25675),s=i.n(n),r=i(99304),c=i(45528),o=i(22528),d=i(49560);i(64172),i(96936),i(57638);var u=i(2261),p=i(5152),_=i.n(p),m=i(93717),v=i(2280),x=i(59359),f=i(15285),g=i(94311),h=i(11163),y=i(8206),b=i(26347),w=i(30026),C=i(65885);let k=_()(()=>Promise.all([i.e(2004),i.e(5697)]).then(i.t.bind(i,22004,23)),{loadableGenerated:{webpack:()=>[22004]},ssr:!1});t.default=e=>{var t;let{id:i,data:n,storeId:p}=e,_=(0,h.useRouter)(),j=(0,y.Z)(),[Z,P]=(0,a.useState)({isOpen:!1,mediaUrl:null,mediaType:null}),H=(0,a.useRef)(null),E=(0,a.useRef)([]),S=(0,a.useRef)(),[N,I]=(0,a.useState)(!0),[U,L]=(0,a.useState)(!1),{currentlyPlaying:F,setCurrentlyPlaying:R}
1=(0,w.B)(),[A,V]=(0,a.useState)(!1),O=(0,v.g)({isOpen:Z.isOpen,onClose:()=>{B()}}),T=e=>{let t=e.activeIndex,i="number"==typeof e.params.slidesPerView?e.params.slidesPerView:4,l=e.slides.length;I(0===t),L(t>=l-i),E.current.forEach(e=>{var t,i,l;null==e||null===(i=e.getInternalPlayer)||void 0===i||null===(t=(l=i.call(e)).pause)||void 0===t||t.call(l)})},B=(0,a.useCallback)(()=>{var e;Z.isOpen&&(P({isOpen:!1,mediaUrl:null,mediaType:null}),R(null),null===(e=S.current)||void 0===e||e.hide(),V(!1))},[Z.isOpen]),J={modules:[r.W_,r.tl],pagination:{clickable:!0,el:".swiper-btn-bullets-custom-".concat(i),renderBullet:(e,t)=>'<span class="'.concat(t,'"></span>')},navigation:{nextEl:".swiper-button-next-custom",prevEl:".swiper-button-prev-custom"},slidesPerView:4,spaceBetween:10,onSlideChange:T,onInit:e=>{H.current=e,T(e)}};(0,a.useEffect)(()=>{"home"===i&&(null===g.default||void 0===g.default||g.default.webHomeInfluencerVideoImpression()),"l2"===i&&(null===C.Z||void 0===C.Z||C.Z.l2InfluencersSectionViewed(p))},[i]);let K=(0,a.useCallback)((e,t,l)=>{if(!A&&!Z.isOpen){if(V(!0),P({isOpen:!0,mediaUrl:t,mediaType:l}),"home"===i)null===g.default||void 0===g.default||g.default.webHomeInfluencerVideoClick(t);else if("l2"===i)null===C.Z||void 0===C.Z||C.Z.l2InfluencersVideoClicked(t,e+1);else{var a;null===f.Z||void 0===f.Z||f.Z.FestivalExperienceVideoClick(null==_?void 0:null===(a=_.query)||void 0===a?void 0:a.slug,String(e))}"video"===l&&R("festival_sm_exp_modal_video")}},[A,Z.isOpen,null==_?void 0:null===(t=_.query)||void 0===t?void 0:t.slug]);(0,a.useEffect)(()=>{if(Z.isOpen&&S.current){let e=setTimeout(()=>{var e;null===(e=S.current)||void 0===e||e.show(),V(!1)},100);return()=>clearTimeout(e)}},[Z.isOpen]),(0,a.useEffect)(()=>{let e=()=>{H.current&&!U&&H.current.slideNext()},t=()=>{H.current&&!N&&H.current.slidePrev()},i=document.querySelector(".swiper-button-next-custom"),l=document.querySelector(".swiper-button-prev-custom");return i&&i.addEventListener("click",e),l&&l.addEventListener("click",t),()=>{i&&i.removeEventListener("click",e),l&&l.removeEventListener("click",t)}},[N,U]);let q=n.length>4;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"md:hidden flex px-4 md:mt-9 mt-2 ",children:(0,l.jsx)(u.tq,{breakpoints:{0:{slidesPerView:1,spaceBetween:10},300:{slidesPerView:2.25,spaceBetween:10},500:{slidesPerView:3,spaceBetween:10},600:{slidesPerView:3.75,spaceBetween:10},768:{slidesPerView:2,spaceBetween:10}},onSlideChange:T,onInit:e=>{H.current=e,T(e)},className:"flex-1 w-full h-full",children:n.map((e,t)=>(0,l.jsx)(u.o5,{className:"pr-3 last-of-type:pr-3 last-of-type:mr-3 md:last-of-type:mr-0 w-full !flex items-center",children:(null==e?void 0:e.media_type)==="video"?(0,l.jsxs)("div",{className:"relative h-[184px] w-[136px] rounded-lg overflow-hidden cursor-pointer",onClick:()=>K(t,null==e?void 0:e.media_url,"video"),children:[(0,l.jsx)(k,{url:null==e?void 0:e.media_url,width:"100%",height:"100%",light:null==e?void 0:e.media_thumbnail,style:{position:"absolute",top:0,left:0},config:{file:{attributes:{style:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"8px"}}}}}),(0,l.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,l.jsx)(s(),{src:d.Z,alt:"play button"})})]}):(0,l.jsx)("div",{className:"relative h-[184px] w-[136px] cursor-pointer",onClick:()=>K(t,null==e?void 0:e.media_url,"image"),children:(0,l.jsx)(s(),{src:null==e?void 0:e.media_url,alt:"image",fill:!0,className:"rounded-lg",loading:"eager",priority:!0})})},t))})}),(0,l.jsxs)("div",{className:"md:flex flex-col hidden max-w-screen-xl mx-auto pb-[58px]",children:[(0,l.jsx)(u.tq,{...J,className:"flex-1 w-full h-full",children:n.map((e,t)=>(0,l.jsx)(u.o5,{className:"px-3 last-of-type:pr-3 last-of-type:mr-3 md:last-of-type:mr-0 w-full !flex items-center",children:(null==e?void 0:e.media_type)==="video"?(0,l.jsxs)("div",{className:"relative h-[351px] w-[260px] rounded-[15px] bg-black overflow-hidden cursor-pointer",onClick:()=>K(t,null==e?void 0:e.media_url,"video"),children:[(0,l.jsx)(k,{url:null==e?void 0:e.media_url,light:null==e?void 0:e.media_thumbnail,width:"100%",height:"100%",style:{position:"absolute",top:0,left:0},config:{file:{attributes:{style:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"15p
1x",margin:"auto"}}}}}),(0,l.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,l.jsx)(s(),{src:d.Z,alt:"play button"})})]}):(0,l.jsx)("div",{className:"relative h-[351px] w-[260px] cursor-pointer",onClick:()=>K(t,null==e?void 0:e.media_url,"image"),children:(0,l.jsx)(s(),{src:null==e?void 0:e.media_url,alt:"image",fill:!0,className:"rounded-[15px]",loading:"eager",priority:!0})})},t))}),q&&(0,l.jsxs)("div",{className:"pt-5 md:pt-[58px] md:pb-0 flex justify-center items-center w-full puja-booking-history",children:[(0,l.jsx)("button",{type:"button",className:"hidden md:flex cursor-pointer swiper-button-prev-custom items-center ml-4 shrink-0 justify-center w-7 h-7 rounded-full ".concat(N?"!bg-[#CBCACA]":"!bg-[#F18912]"),disabled:N,children:(0,l.jsx)("div",{className:"flex items-center justify-center",children:(0,l.jsx)(s(),{src:o.Z,loading:"eager",priority:!0,alt:"left arrow",width:13,height:13})})}),(0,l.jsx)("div",{className:"swiper-btn-bullets-custom-".concat(i," text-white flex items-center justify-center px-2 !w-auto")}),(0,l.jsx)("button",{type:"button",className:"hidden md:flex cursor-pointer swiper-button-next-custom items-center mr-4 shrink-0 justify-center w-7 h-7 rounded-full ".concat(U?"!bg-[#CBCACA]":"!bg-[#F18912]"),disabled:U,children:(0,l.jsx)("div",{className:"flex items-center justify-center",children:(0,l.jsx)(s(),{src:c.Z,loading:"eager",priority:!0,alt:"right arrow",width:13,height:13})})})]})]}),Z.isOpen&&(0,l.jsx)(m.Z,{modalOptions:{closable:!0,backdropClasses:"bg-gray-900/30 dark:bg-gray-700/30 fixed inset-0 z-40"},getModalInstance:e=>{S.current=e},placement:"center",contentContainerHeightClass:"md:w-screen h-screen",children:(0,l.jsxs)("div",{ref:O,className:"fixed top-0 left-0 w-full h-screen bg-black flex items-center justify-center",children:["video"===Z.mediaType?(0,l.jsx)("div",{className:"w-full max-w-4xl mx-auto",children:(0,l.jsx)(b.Z,{videoId:"festival_sm_exp_modal_video",url:null==Z?void 0:Z.mediaUrl,width:"100%",height:j?"75%":"80vh",controls:!0,playing:"festival_sm_exp_modal_video"===F,onPlay:()=>R("festival_sm_exp_modal_video"),onPause:()=>R(null),style:{margin:"0 auto",display:"block"},config:{file:{attributes:{autoPlay:!0}}}},null==Z?void 0:Z.mediaUrl)}):(0,l.jsx)("div",{className:"flex items-center justify-center h-full w-full",children:(0,l.jsx)(s(),{src:Z.mediaUrl,alt:"image",width:1200,height:800,className:"object-contain max-h-full max-w-full"})}),(0,l.jsx)("button",{onClick:B,className:"absolute top-4 right-4 p-2 rounded-full bg-black bg-opacity-50",children:(0,l.jsx)(s(),{src:x.Z,alt:"close icon",className:"w-10 h-10 cursor-pointer"})})]})})]})}}}]); 2//# sourceMappingURL=1927-72c37bd032f3ca55.js.map
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.