1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9791],{8059:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/produk/bundling/bundling-paket",function(){return l(62140)}])},62140:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSG:()=>p,default:()=>j});var s=l(37876),a=l(31527),n=l(38610),i=l(4653),d=l(91034),o=l(75733),r=l(46456),c=l(47505),u=l(88337),h=l(98950),x=l(79528),v=l(7647),m=l(14232),_=l(89099),p=!0;function j(e){var t;let{token:l,dataPageBundling:p,dataPage:j,faqData:b,brandResult:N}=e,{postMetas:k,meta_desc:w,meta_title:f,meta_keyword:g}=j,A=(0,v.lD)(k,"banner"),y=(0,v.lD)(k,"faq"),E=(0,v.lD)(null==p?void 0:p.postMetas,"onlineshop"),S=(0,v.lD)(k,"small_banner"),[D,B]=(0,m.useState)([]),[L,P]=(0,m.useState)(13),[q,C]=(0,m.useState)(!1),{locale:F}=(0,_.useRouter)(),O=async e=>{try{C(!0);let t=await (0,x.ny)("/post/v2/",e);B((null==t?void 0:t.data)?[...t.data]:[])}catch(e){console.error("err =>",e)}finally{C(!1)}};return(0,m.useEffect)(()=>{(null==j?void 0:j.id)&&O({latest_period:!0,parent_id:j.id,limit:L,template:"detail-bundling",locale:F})},[L,null==j?void 0:j.id,F]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.A,{title:""!==f?f:void 0,description:""!==w?w:void 0,keyword:""!==g?g:void 0}),(0,s.jsxs)(n.A,{children:["1"===A.status&&(0,s.jsx)(h.A,{banner:A}),(0,s.jsx)("section",{className:"sc-main pt-0",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"row",children:[D.slice(0,L).map((e,t)=>(0,s.jsx)("div",{className:"col-lg-3 col-6 mt-3",children:(0,s.jsx)(i.A,{withBonus:!0,data:e,isPLP:!0})},t)),!q&&0===D.length&&(0,s.jsx)("div",{className:"col-12 mt-4 text-center",children:(0,s.jsx)("p",{className:"subtitle-text text-dark mb-0",children:"Belum ada produk pada kategori ini."})}),D.length>12&&L<=(null==D?void 0:D.length)&&(0,s.jsx)("div",{className:"col-12",children:(0,s.jsx)(d.A,{variant:"white",className:"btn-border px-5 mx-auto mt-5",onClick:()=>{P(e=>e+12)},disabled:q,children:q?"Loading...":"Lihat Lebih Banyak"})})]})})}),"1"===S.status&&(0,s.jsx)(o.A,{small_banner:S}),"1"===y.status&&(0,s.jsx)(r.A,{faqSection:y,data:b,onlyFaq:!0}),"1"===E.status&&(0,s.jsx)(c.A,{dataBrand:null==E?void 0:E.list,title:null==E?void 0:E.title,subtitle:null==E?void 0:E.short_desc}),(0,s.jsx)(u.A,{content:null==(t=(0,v.lD)(k,"seo"))?void 0:t.content})]})]})}}},e=>{e.O(0,[871,8287,6649,8226,5506,825,4034,636,6593,8792],()=>e(e.s=8059)),_N_E=e.O()}]);
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.