PageSourceSearch

https://curelohealth.com/_next/static/chunks/pages/gallery/[id]-5d4322694fd1013d.js

js curelohealth.com collected 2026-10-08 23:48:53 UTC 8,743 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7014],{88207:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/gallery/[id]",function(){return i(96228)}])},98651:function(e,t){"use strict";t.Z={src:"/_next/static/media/no-record-found.08d59d07.svg",height:171,width:206}},12925:function(e,t,i){"use strict";var l=i(85893),n=i(67294),o=i(68252);i(65454);t.Z=function(e){var t=(0,n.useRef)(null);return(0,n.useEffect)((function(){var i=t.current,l=e.delegate||"[data-fancybox]",n=e.options||{};return o.KR.bind(i,l,n),function(){o.KR.unbind(i),o.KR.close()}})),(0,l.jsx)("div",{ref:t,children:e.children})}},15707:function(e,t,i){"use strict";var l=i(85893);i(67294);t.Z=function(e){return(0,l.jsx)("div",{className:"about-us-title",children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("h1",{children:e.title})})})}},96228:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return C}});var l=i(34051),n=i.n(l),o=i(85893),a=i(67294),r=i(41664),s=i.n(r),d=i(12925),u=i(11163),c=i(86493),m=i(9008),v=i.n(m),g=i(70902),x=i(15707),p=i(33299),y=i(25675),f=i.n(y),h=i(98651),j=i(61213),b=i(9473),N=i(18176);function w(e,t,i,l,n,o,a){try{var r=e[o](a),s=r.value}catch(d){return void i(d)}r.done?t(s):Promise.resolve(s).then(l,n)}var C=!0;t.default=function(e){var t=e.initialGallery,i=(e.notFound,e.noindex),l=(0,u.useRouter)(),r=(0,a.useState)(t||null),m=r[0],y=r[1],C=(l.query.id,(0,p.useSession)().data),D=(0,a.useState)(!1),_=D[0],I=D[1],S=(0,a.useState)(!1),k=S[0],P=S[1],T=(0,b.v9)((function(e){return e.login})),G=(0,a.useState)(T.isLogin),F=G[0],q=G[1],E=(0,a.useState)(!0),L=E[0],Z=E[1];(0,a.useEffect)((function(){q(T.isLogin)}),[T]),(0,a.useEffect)((function(){l.query.id&&l.query.mobile&&I(!0)}),[l.query.id]),(0,a.useEffect)((function(){Z(!1)}),[]),(0,a.useEffect)((function(){if(!L&&((0,N.gA)("Gallery Detail","gallery_detail",{"Gallery ID":l.query.id,"Customer ID":C&&C.user?"Customer-"+C.user.userId:"-","Gallery Name":m&&m.title&&m.title?m.title:"-","Trigger From":"Customer Web"}),!F)){var e=localStorage.getItem("fcm_token")?localStorage.getItem("fcm_token"):null,t={"Gallery ID":l.query.id,"Customer ID":C&&C.user?"Customer-"+C.user.userId:"-",Timestamp:(new Date).toLocaleString(),"Trigger From":"Customer Web"},i=new FormData;i.append("unique_id",e),i.append("eventName","Gallery Detail"),i.append("eventData",JSON.stringify(t));c.Z.addAnonymousJourney(i)}}),[L]);var O=null;O=localStorage.getItem("cityName");!function(){var e,t=(e=n().mark((function e(t){var i,o,a,r;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.Z.GalleryDetail(t);case 2:200===(i=e.sent).status?(y(i.data),(0,N.gA)("Gallery Detail","gallery_detail",{"Gallery ID":l.query.id,"Customer ID":C&&C.user?"Customer-"+C.user.userId:"","Gallery Name":i.data&&i.data.title&&i.data.title?i.data.title:"-","Trigger From":"Customer Web"}),F||(o=localStorage.getItem("fcm_token")?localStorage.getItem("fcm_token"):null,a={"Gallery ID":l.query.id,"Customer ID":C&&C.user?"Customer-"+C.user.userId:"-",Timestamp:(new Date).toLocaleString(),"Trigger From":"Customer Web"},(r=new FormData).append("unique_id",o),r.append("eventName","Gallery Detail"),r.append("eventData",JSON.stringify(a)),c.Z.addAnonymousJourney(r)),P(!1)):P(!1);case 4:case"end":return e.stop()}}),e)})),function(){var t=this,i=arguments;return new Promise((function(l,n){var o=e.apply(t,i);function a(e){w(o,l,n,a,r,"next",e)}function r(e){w(o,l,n,a,r,"throw",e)}a(void 0)}))})}();var W,K=m&&m.title?m.title.toUpperCase():"",R="https://curelohealth.com/gallery/".concat((null===m||void 0===m?void 0:m.id)||l.query.id||"");return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(v(),{children:[(0,o.jsxs)("title",{children:["Our Gallery | ",m&&m.title?m.title.toUpperCase():""," | ",g.IK]}),(null===m||void 0===m?void 0:m.metaDescription)?(0,o.jsx)("meta",{name:"description",content:m.metaDescription}):null,(null===m||void 0===m?void 0:m.metaKeyword)?(0,o.jsx)("meta",{name:"keywords",content:m.metaKeyword}):null,m?(0,o.jsx)("meta",{property:"og:title",content:"".concat(K," | Curelo")}):null,(null===m||void 0===m?void 0:m.metaDescription)?(0,o.jsx)("meta",{property:"og:description",content:m.metaDescription}):null,m?(0,o.jsx)("meta",{property:"og:url",content:R}):null,m?(0,o.jsx)("meta",{name:"twitter:title",content:"".concat(K," | Curelo")}):null,(null===m||void 0===m?void 0:m.metaDescription)?(0,o.jsx)("meta",{name:"twitter:description",content:m.metaDescription}):null,m?(0,o.jsx)("meta",{name:"twitter:url",content:R}):null,(0,o.jsx)("meta",{name:"robots",content:i?"noindex, follow":"index, follow"}),(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebPage",headline:m&&m.title?m.title.toUpperCase():"",name:m&&m.title?m.title.toUpperCase():"",description:m&&m.metaDescription?m.metaDescription:"",author:{"@type":"Person",name:(null===m||void 0===m?void 0:m.authorName)||(null===m||void 0===m?void 0:m.author)||"Curelo Health"},image:null!==(W=null===m||void 0===m?void 0:m.bannerImage)&&void 0!==W?W:void 0,mainEntityOfPage:{"@type":"WebPage","@id":R}})}})]}
1),(0,o.jsxs)("div",{className:_?"gallery-detail-box no-header-padding":"gallery-detail-box",children:[(0,o.jsx)(x.Z,{title:"Our Gallery"}),k?(0,o.jsx)(j.Z,{}):m?(0,o.jsx)("div",{className:"common-content-box common-padding",children:(0,o.jsxs)("div",{className:"container",children:[(0,o.jsxs)("div",{className:"title-box flex-box",children:[(0,o.jsx)(s(),{href:"/gallery/"+(_?"?mobile=true":""),children:(0,o.jsx)("a",{className:"back-btn block",role:"button",children:(0,o.jsx)("i",{className:"fas fa-chevron-left"})})}),(0,o.jsx)("h2",{children:m.title})]}),(0,o.jsxs)("div",{className:"blog-detail-area",children:[(0,o.jsx)("div",{className:"card-footer-box flex-box",children:(0,o.jsx)("span",{className:"category-info flex-box footer-info-box",children:m.categoryName})}),(0,o.jsx)("div",{className:"blog-image-box",children:(0,o.jsxs)("picture",{children:[(0,o.jsx)("source",{srcSet:m.coverImage,type:"image/webp",alt:(null===m||void 0===m?void 0:m.altText)?null===m||void 0===m?void 0:m.altText:null===m||void 0===m?void 0:m.title,title:(null===m||void 0===m?void 0:m.imagePixel)?null===m||void 0===m?void 0:m.imagePixel:null===m||void 0===m?void 0:m.title}),(0,o.jsx)("img",{src:(null===m||void 0===m?void 0:m.originalCoverImage)?null===m||void 0===m?void 0:m.originalCoverImage:m.coverImage,alt:(null===m||void 0===m?void 0:m.altText)?null===m||void 0===m?void 0:m.altText:null===m||void 0===m?void 0:m.title,title:(null===m||void 0===m?void 0:m.imagePixel)?null===m||void 0===m?void 0:m.imagePixel:null===m||void 0===m?void 0:m.title})]})}),(0,o.jsx)("div",{className:"gallery-description-box",children:m.content}),m&&m.galleryFile.length>0?(0,o.jsxs)("div",{className:"photo-video-area",children:[(0,o.jsx)("h2",{children:"Photos and Videos"}),(0,o.jsx)("div",{className:"gallery-wrapper",children:(0,o.jsx)(d.Z,{options:{Carousel:{infinite:!1}},children:m.galleryFile.map((function(e,t){return(0,o.jsx)("a",{"data-fancybox":"gallery",className:"video"==e.type?"gallery-list-box gallery-item gallery-video-box":"gallery-list-box gallery-item",href:e.mediaLink,children:"video"==e.type?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("button",{className:"unstyled-btn play-btn",onClick:function(){return t=e,void(0,N.gA)("Video Played","video_played",{"Video Name":t.name,City:O||"-","Trigger From":"Customer Web"});var t},children:(0,o.jsx)("i",{className:"fas fa-play"})}),(0,o.jsx)("video",{src:e.mediaLink,className:"gallery-item"})]}):(0,o.jsxs)("picture",{children:[(0,o.jsx)("source",{srcSet:e.mediaLink,type:"image/webp",alt:(null===e||void 0===e?void 0:e.altText)?null===e||void 0===e?void 0:e.altText:null===e||void 0===e?void 0:e.title,title:(null===e||void 0===e?void 0:e.imagePixel)?null===e||void 0===e?void 0:e.imagePixel:null===e||void 0===e?void 0:e.title}),(0,o.jsx)("img",{className:"img-responsive gallery-item",src:(null===e||void 0===e?void 0:e.originalMediaLink)?null===e||void 0===e?void 0:e.originalMediaLink:e.mediaLink,alt:(null===e||void 0===e?void 0:e.altText)?null===e||void 0===e?void 0:e.altText:null===e||void 0===e?void 0:e.title,title:(null===e||void 0===e?void 0:e.imagePixel)?null===e||void 0===e?void 0:e.imagePixel:null===e||void 0===e?void 0:e.title})]})},t)}))})})]}):""]})]})}):(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"no-record-found",children:[(0,o.jsx)(f(),{className:"img-fluid no-record-found-icon",src:h.Z,alt:"No Record",layout:"raw"}),(0,o.jsx)("br",{}),"No Gallery Found"]})})]})]})}}},function(e){e.O(0,[8948,9774,2888,179],(function(){return t=88207,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.