PageSourceSearch

https://www.kunbisamaj.com/assets/LightingSoundDetail-I58tKQA3.js

js kunbisamaj.com collected 2026-10-03 18:29:42 UTC 3,700 bytes, 1 lines download raw bytes

1import{B as u,r as c,m as j,j as e,t as m}from"./index-D_GT6Rh7.js";const N="_container_vwlvw_1",C="_curvedWrapper_vwlvw_6",B="_curveTop_vwlvw_12",f="_curveBottom_vwlvw_13",I="_imageScroll_vwlvw_28",b="_imageItem_vwlvw_46",y="_header_vwlvw_56",S="_about_vwlvw_86",z="_info_vwlvw_107",P="_pricing_vwlvw_124",k="_specializations_vwlvw_158",A="_reviews_vwlvw_182",O="_reviewCard_vwlvw_195",R="_top_vwlvw_208",E="_stars_vwlvw_224",L="_bottom_vwlvw_231",T="_reviewImage_vwlvw_235",W="_popupOverlay_vwlvw_301",F="_popupImage_vwlvw_314",$="_closeBtn_vwlvw_322",D="_prevBtn_vwlvw_323",M="_nextBtn_vwlvw_324",Q="_imageCounter_vwlvw_352",s={container:N,curvedWrapper:C,curveTop:B,curveBottom:f,imageScroll:I,imageItem:b,header:y,about:S,info:z,pricing:P,specializations:k,reviews:A,reviewCard:O,top:R,stars:E,bottom:L,reviewImage:T,popupOverlay:W,popupImage:F,closeBtn:$,prevBtn:D,nextBtn:M,imageCounter:Q};function H(){const{id:v}=u(),[n,d]=c.useState(null),[_,p]=c.useState(!1),[r,o]=c.useState(0);if(c.useEffect(()=>{j.get(`https://matrimony-backend-v3.onrender.com/api/lighting/${v}`).then(t=>d(t.data)).catch(t=>console.error("❌ Error fetching detail:",t))},[v]),!n)return e.jsx("div",{children:"Loading..."});const i=Array.isArray(n.images)?n.images:[n.images],h=t=>{o(t),p(!0)},w=()=>p(!1),x=()=>o(t=>t===0?i.length-1:t-1),g=()=>o(t=>t===i.length-1?0:t+1);return e.jsxs("div",{className:s.container,children:[e.jsxs("div",{className:s.curvedWrapper,children:[e.jsx("svg",{className:s.curveTop,viewBox:"0 0 500 50",preserveAspectRatio:"none",children:e.jsx("path",{d:"M0,0 Q250,50 500,0",fill:"white"})}),e.jsx("div",{className:s.imageScroll,children:i.map((t,a)=>e.jsx("img",{src:t,alt:`Slide ${a}`,className:s.imageItem,onClick:()=>h(a)},a))}),e.jsx("svg",{className:s.curveBottom,viewBox:"0 0 500 50",preserveAspectRatio:"none",children:e.jsx("path",{d:"M0,50 Q250,0 500,50",fill:"white"})})]}),_&&e.jsxs("div",{className:s.popupOverlay,children:[e.jsx("button",{className:s.closeBtn,onClick:w,children:"×"}),e.jsx("button",{className:s.prevBtn,onClick:x,children:"❮"}),e.jsxs("div",{className:s.popupContent,children:[e.jsx("img",{src:i[r],alt:`Popup ${r}`,className:s.popupImage}),e.jsxs("div",{className:s.imageCounter,children:[r+1," of ",i.length]})]}),e.jsx("button",{className:s.nextBtn,onClick:g,children:"❯"})]}),e.jsx("div",{className:s.header,children:e.jsx("h2",{children:n.name})}),e.jsxs("div",{className:s.about,children:[e.jsx("h3",{children:"About me"}),e.jsx("p",{children:n.about})]}),e.jsxs("div",{className:s.info,children:[e.jsxs("p",{children:[e.jsx("strong",{children:"Company name:"})," ",n.company]}),e.jsxs("p",{children:[e.jsx("strong",{children:"Location:"})," ",n.location]}),e.jsxs("p",{children:[e.jsx("strong",{children:"Project:"})," ",n.project]})]}),e.jsxs("div",{className:s.pricing,children:[e.jsx("h3",{children:e.jsx("strong",{children:"Pricing packages"})}),e.jsx("ol",{children:n.pricing.map((t,a)=>e.jsx("li",{children:t},a))})]}),e.jsxs("div",{className:s.specializations,children:[e.jsx("h3",{children:"Specializations"}),e.jsx("ul",{children:n.specializations.map((t,a)=>e.jsx("li",{children:t},a))})]}),e.jsxs("div",{children:[e.jsx("h3",{children:"Reviews"}),e.jsx("div",{className:s.reviews,children:n.reviews.map((t,a)=>e.jsxs("div",{className:s.reviewCard,children:[e.jsxs("div",{className:s.top,children:[e.jsx("p",{children:t.text}),e.jsx("div",{className:s.stars,children:[...Array(5)].map((q,l)=>l<t.rating?e.jsx(m,{color:"#FFD700",size:18},l):e.jsx(m,{color:"#CCCCCC",size:18},l))})]}),t.image&&e.jsx("div",{className:s.bottom,children:e.jsx("img",{src:t.image,alt:"Review",className:s.reviewImage})})]},a))})]})]})}export{H as default};

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.