PageSourceSearch

https://www.pricebook.co.id/_next/static/chunks/1at3h9_2clwju.js

js pricebook.co.id collected 2026-10-02 10:40:34 UTC 42,781 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,66595,e=>{"use strict";let t=(0,e.i(56420).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,t],66595)},72382,e=>{"use strict";let t=(0,e.i(56420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],72382)},32781,e=>{"use strict";let t=(0,e.i(56420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],32781)},35829,e=>{"use strict";let t=(0,e.i(56420).default)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);e.s(["Minus",0,t],35829)},31459,e=>{"use strict";var t=e.i(43476),a=e.i(22016);e.s(["default",0,function(){return(0,t.jsxs)("footer",{className:"bg-pb-navy-dark text-white mt-12 border-t border-white/10",children:[(0,t.jsxs)("div",{className:"max-w-6xl mx-auto px-6 md:px-12 py-10 flex flex-col md:flex-row justify-between gap-10",children:[(0,t.jsxs)("div",{className:"max-w-xs",children:[(0,t.jsx)("img",{src:"/logo-pricebook.svg",alt:"Pricebook",width:140,height:38,className:"h-9 w-auto mb-4 brightness-0 invert"}),(0,t.jsx)("p",{className:"text-xs text-white/50 leading-relaxed font-mono",children:"Indonesia's Tech Shopping & Consumer Influence Platform. Rekomendasi gadget terbaik, harga live, & Smart Guide."})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-8 font-mono",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"block text-[10px] font-bold text-white/40 tracking-widest uppercase mb-3",children:"Layanan"}),(0,t.jsxs)("ul",{className:"text-xs text-white/60 flex flex-col gap-2",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:"/brands",className:"hover:text-white transition-colors",children:"Brand & Produsen"})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:"/merchants",className:"hover:text-white transition-colors",children:"Merchant Partner"})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:"/catalog",className:"hover:text-white transition-colors",children:"Bandingkan Produk"})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:"block text-[10px] font-bold text-white/40 tracking-widest uppercase mb-3 flex items-center gap-2",children:["Kreator",(0,t.jsx)("span",{className:"text-[8px] font-bold bg-pb-orange/80 text-pb-navy-dark px-1.5 py-0.5 rounded-sm leading-none",children:"COMING SOON"})]}),(0,t.jsxs)("ul",{className:"text-xs text-white/30 flex flex-col gap-2 pointer-events-none select-none",children:[(0,t.jsx)("li",{children:"Creator Portal"}),(0,t.jsx)("li",{children:"Program Afiliasi"}),(0,t.jsx)("li",{children:"Campaign Brief"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"block text-[10px] font-bold text-white/40 tracking-widest uppercase mb-3",children:"Konten"}),(0,t.jsxs)("ul",{className:"text-xs text-white/60 flex flex-col gap-2",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:"/article",className:"hover:text-white transition-colors",children:"Articles"})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:"/article",className:"hover:text-white transition-colors",children:"Tips & Tricks"})}),(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:"/catalog?sort=trend",className:"hover:text-white transition-colors",children:"Market Issue"})})]})]})]})]}),(0,t.jsx)("div",{className:"border-t border-white/10",children:(0,t.jsxs)("div",{className:"max-w-6xl mx-auto px-6 md:px-12 py-4 flex flex-col sm:flex-row justify-between items-center gap-2 text-[11px] font-mono text-white/30",children:[(0,t.jsx)("p",{children:"© 2026 Pricebook Indonesia. All rights reserved."}),(0,t.jsx)("p",{children:"pricebook.co.id"})]})})]})}])},71567,e=>{"use strict";let t=(0,e.i(56420).default)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);e.s(["Bot",0,t],71567)},75183,e=>{"use strict";let t=(0,e.i(56420).default)("store",[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]]);e.s(["Store",0,t],75183)},26091,e=>{"use strict";let t=(0,e.i(56420).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",0,t],26091)},27318,e=>{"use strict";let t=(0,e.i(56420).default)("chart-no-axes-column",[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]]);e.s(["BarChart2",0,t],27318)},70812,e=>{"use strict";let t=(0,e.i(56420).default)("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);e.s(["Bell",0,t],70812)},20545,e=>{"use strict";let t=(0,e.i(56420).default)("award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);e.s(["Award",0,t],20545)},66794,82303,e=>{"use strict";var t=e.i(56420);let a=(0,t.default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Settings",0,a],66794);let r=(0,t.default)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);e.s(["Users",0,r],82303)},21357,e=>{"use strict";let t=(0,e.i(56420).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);e.s(["Play",0,t],21357)},1279,e=>{"use strict";let t=(0,e.i(56420).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",0,t],1279)},38583,e=>{"use strict";let t=(0,e.i(56420).default)("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);e.s(["Video",0,t],38583)},30274,e=>{"use strict";let t=(0,e.i(56420).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["Send",0,t],30274)},50786,82954,e=>{"use strict";var t=e.i(56420);let a=(0,t.default)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]);e.s(["Palette",0,a],50786);let r=(0,t.default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
1y:"oel41y"}]]);e.s(["Shield",0,r],82954)},64569,e=>{"use strict";let t=(0,e.i(56420).default)("zap",[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]]);e.s(["Zap",0,t],64569)},68877,e=>{"use strict";let t=(0,e.i(56420).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,t],68877)},99738,e=>{"use strict";let t=(0,e.i(56420).default)("shopping-cart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);e.s(["ShoppingCart",0,t],99738)},7219,e=>{"use strict";let t=(0,e.i(56420).default)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);e.s(["TrendingUp",0,t],7219)},79758,e=>{"use strict";let t=(0,e.i(56420).default)("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]]);e.s(["TrendingDown",0,t],79758)},48161,95925,e=>{"use strict";var t=e.i(56420);let a=(0,t.default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["CheckCircle",0,a],48161);let r=(0,t.default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);e.s(["RotateCcw",0,r],95925)},36225,e=>{"use strict";let t="https://portal.pricebook.co.id";function a(e){return(e||"").toString().toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function r(e){if(!e)return"/default_tech_banner.png";if(e.startsWith("/uploads/"))return`https://api.pricebook.co.id${e}`;let t=e.replaceAll("https://cdn.pricebook.co.id","https://media.pricebook.co.id");return(t=t.replaceAll("http://cdn.pricebook.co.id","https://media.pricebook.co.id")).replaceAll("http://media.pricebook.co.id","https://media.pricebook.co.id")}function l(e){if(!e)return null;let t=String(e).trim();if(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(t))return`${t.replace(" ","T")}+07:00`;let a=new Date(t);return Number.isNaN(a.getTime())?null:a.toISOString()}function i(e){let t=String(e.articleID||e.article_id||e.id||""),i=e.title||"",s=String(e.slug||e.url||"").trim().split("?")[0].split("#")[0],o=(e.category||"news").toLowerCase().replace(/[\s&-]+/g,"_"),n="";if(s.includes("/")){let e=s.replace(/^\/?(article\/)?/,"").split("/").filter(Boolean);e.length>=3?(o=e[0].toLowerCase().replace(/[\s&-]+/g,"_"),n=e[e.length-1]):e.length>0&&(n=e[e.length-1])}else n=s;n||(n=a(i));let c=e.category||"News",d=e.author?.fullname||e.author||"Editorial Pricebook",h=e.author?.slug||a(d),p=r(e.thumbnail||e.cover_image_url||e.cover_image),u=l(e.published_at||e.published_date||e.publishedDate),m=l(e.updated_at||e.updatedAt)||u||"";return{article_id:t,slug:n,title:i,excerpt:e.description||e.excerpt||`Simak ulasan lengkap ${i} di Pricebook Editorial Hub.`,content_html:e.content||e.content_html||"",category:c,category_detail:{slug:o,name:c},author:d,author_profile:e.author?{slug:h,display_name:d,avatar_url:r(e.author.image_src),title:"Editorial Journalist",bio:e.author.biography||null,total_post:e.author.total_post}:{slug:h,display_name:d,avatar_url:null,title:"Editorial Staff",bio:null},tags:(e.tags||[]).map(e=>"string"==typeof e?{slug:a(e),name:e}:{slug:e.slug||a(e.name),name:e.name}),cover_image_url:p,cover_image_alt:e.cover_image_alt||i,published_at:u,updated_at:m,reading_time_minutes:Math.max(1,Math.round((e.description?.length||500)/200)),meta_title:e.seo?.title||e.meta_title||`${i} | Pricebook`,meta_description:e.seo?.description||e.meta_description||e.description||i,og_image_url:r(e.socmed_original||p),canonical_url:`https://www.pricebook.co.id/article/${o}/${t}/${n}`,view_count:"number"==typeof e.views?e.views:"number"==typeof e.viewCount?e.viewCount:"number"==typeof e.viewCount?.total?e.viewCount.total:"number"==typeof e.view_count?e.view_count:0,redirect_article_id:e.redirect_article_id||null,redirect_article_slug:e.redirect_article_slug||null}}async function s(e=""){try{let a=new URLSearchParams(e.replace(/^\?/,"")),r=parseInt(a.get("page")||"1",10),l=parseInt(a.get("limit")||"12",10),s=a.get("category")||"all",o=a.get("q")||"",n=s&&"all"!==s?`&category=${encodeURIComponent(s)}`:"",c=await fetch(`${t}/be/articles?page=${r}&limit=${l}${n}`,{cache:"no-store"});if(!c.ok)throw Error(`Failed to fetch from Golang API (${c.status})`);let d=await c.json(),h=(d.data?.articleList||(Array.isArray(d.data)?d.data:[])).map(i);if(o){let e=o.toLowerCase();h=h.filter(t=>t.title.toLowerCase().includes(e)||t.excerpt.toLowerCase().includes(e))}let p=d.data?.totalArticle||h.length,u=d.data?.totalPage||Math.max(1,Math.ceil(p/l));return{success:!0,articles:h,pagination:{total:p,page:r,limit:l,totalPages:u}}}catch(e){console.error("fetchArticles error, attempting backup endpoint:",e);try{let e=await fetch(`${t}/be/articles/latest`,{cache:"no-store"}),a=((await e.json()).data||[]).map(i);return{success:!0,articles:a,pagination:{total:a.length,page:1,limit:a.length,totalPages:1}}}catch{return{success:!1,articles:[],pagination:{total:0,page:1,limit:12,totalPages:1}}}}}async function o(e=5){try{let a=await fetch(`${t}/be/articles/popular`,{cache:"no-store"});return((await a.json()).data||[]).slice(0,e).map(i)}catch{return[]}}async function n(){try{let e=await fetch(`${t}/be/articles/tags/popular`,{cache:"no-store"});return(await e.json()).tags||[]}catch{return[]}}async function c(){try{let e=await fetch(`${t}/be/articles/category`,{cache:"no-store"});if(!e.ok)throw Error("Failed to fetch categories");return(await e.json()).data||[]}catch(e){return console.error("fetchArticleCategories error:",e),[{name:"All",slug:null},{name:"News",slug:"news"},{name:"Head2Head",slug:"head2head"},{name:"Upcoming",slug:"upcoming"},{name:"Review",slug:"review"},{name:"Tips & Tricks",slug:"tips_tricks"},{name:"Market Issue",slug:"market_issue"},{name:"Serba - Serbi",slug:"serba_serbi"},{name:"Telco & Business",slug:"telco_business"}]}}e.s(["articlePath",0,function(e){let t=String(e.slug||"").trim().split("?")[0].split("#")[0],r=(e.category_detail?.slug||e.category||"news").toLowerCase().replace(/[\s&-]+/g,"_"),l="";if(t.includes("/")){let e=t.replace(/^\/?(article\/)?/,"").split("/").filter(
1Boolean);e.length>=3?(r=e[0].toLowerCase().replace(/[\s&-]+/g,"_"),l=e[e.length-1]):e.length>0&&(l=e[e.length-1])}else l=t;l||(l=a(e.title||""));let i=e.article_id;return`/article/${r}/${i}/${l}`},"fetchArticleCategories",0,c,"fetchArticles",0,s,"fetchPopularArticles",0,o,"fetchPopularTags",0,n,"formatThumbnailUrl",0,r,"formatViewCount",0,function(e){let t="string"==typeof e?parseInt(e,10):e;return!t||isNaN(t)||t<=0?"1.2k":t>=1e6?(t/1e6).toFixed(1).replace(/\.0$/,"")+"M":t>=1e3?(t/1e3).toFixed(1).replace(/\.0$/,"")+"k":t.toLocaleString("id-ID")}])},49882,e=>{"use strict";let t=(0,e.i(56420).default)("calendar",[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]]);e.s(["Calendar",0,t],49882)},67927,e=>{"use strict";let t=(0,e.i(56420).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,t],67927)},24071,e=>{"use strict";let t=(0,e.i(56420).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],24071)},86563,e=>{"use strict";let t=(0,e.i(56420).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",0,t],86563)},79258,e=>{"use strict";let t=(0,e.i(56420).default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);e.s(["Package",0,t],79258)},86206,e=>{"use strict";let t=(0,e.i(56420).default)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);e.s(["Smartphone",0,t],86206)},8306,e=>{"use strict";let t=(0,e.i(56420).default)("gamepad-2",[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]]);e.s(["Gamepad2",0,t],8306)},18515,e=>{"use strict";let t=(0,e.i(56420).default)("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);e.s(["Camera",0,t],18515)},46513,e=>{"use strict";let t=(0,e.i(56420).default)("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);e.s(["Monitor",0,t],46513)},26158,e=>{"use strict";let t=(0,e.i(56420).default)("laptop",[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]]);e.s(["Laptop",0,t],26158)},46013,e=>{"use strict";let t=(0,e.i(56420).default)("watch",[["path",{d:"M12 10v2.2l1.6 1",key:"n3r21l"}],["path",{d:"m16.13 7.66-.81-4.05a2 2 0 0 0-2-1.61h-2.68a2 2 0 0 0-2 1.61l-.78 4.05",key:"18k57s"}],["path",{d:"m7.88 16.36.8 4a2 2 0 0 0 2 1.61h2.72a2 2 0 0 0 2-1.61l.81-4.05",key:"16ny36"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}]]);e.s(["Watch",0,t],46013)},12409,e=>{"use strict";let t=(0,e.i(56420).default)("tablet",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]]);e.s(["Tablet",0,t],12409)},37610,81548,e=>{"use strict";var t=e.i(56420);let a=(0,t.default)("tv",[["path",{d:"m17 2-5 5-5-5",key:"16satq"}],["rect",{width:"20",height:"15",x:"2",y:"7",rx:"2",key:"1e6viu"}]]);e.s(["Tv",0,a],37610);let r=(0,t.default)("headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);e.s(["Headphones",0,r],81548)},73432,e=>{"use strict";let t=(0,e.i(56420).default)("package-open",[["path",{d:"M12 22v-9",key:"x3hkom"}],["path",{d:"M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z",key:"2ntwy6"}],["path",{d:"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13",key:"1pmm1c"}],["path",{d:"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z",key:"12ttoo"}]]);e.s(["PackageOpen",0,t],73432)},43270,78727,e=>{"use strict";var t=e.i(56420);let a=(0,t.default)("car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]);e.s(["Car",0,a],43270);let r=(0,t.default)("bike",[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]]);e.s(["Bike",0,r],78727)}
1,77043,49376,59032,17613,31772,40422,e=>{"use strict";var t=e.i(56420);let a=(0,t.default)("printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);e.s(["Printer",0,a],77043);let r=(0,t.default)("washing-machine",[["path",{d:"M3 6h3",key:"155dbl"}],["path",{d:"M17 6h.01",key:"e2y6kg"}],["rect",{width:"18",height:"20",x:"3",y:"2",rx:"2",key:"od3kk9"}],["circle",{cx:"12",cy:"13",r:"5",key:"nlbqau"}],["path",{d:"M12 18a2.5 2.5 0 0 0 0-5 2.5 2.5 0 0 1 0-5",key:"17lach"}]]);e.s(["WashingMachine",0,r],49376);let l=(0,t.default)("refrigerator",[["path",{d:"M5 6a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6Z",key:"fpq118"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M15 7v6",key:"1nx30x"}]]);e.s(["Refrigerator",0,l],59032);let i=(0,t.default)("air-vent",[["path",{d:"M18 17.5a2.5 2.5 0 1 1-4 2.03V12",key:"yd12zl"}],["path",{d:"M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"larmp2"}],["path",{d:"M6 8h12",key:"6g4wlu"}],["path",{d:"M6.6 15.572A2 2 0 1 0 10 17v-5",key:"1x1kqn"}]]);e.s(["AirVent",0,i],17613);let s=(0,t.default)("coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);e.s(["Coffee",0,s],31772);let o=(0,t.default)("speaker",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["circle",{cx:"12",cy:"14",r:"4",key:"1jruaj"}],["path",{d:"M12 14h.01",key:"1etili"}]]);e.s(["Speaker",0,o],40422)},80796,e=>{"use strict";let t=(0,e.i(56420).default)("film",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]]);e.s(["Film",0,t],80796)},70358,66756,70694,e=>{"use strict";let t="pb_persona_v1",a={view_article:1,view_product:2,search_query:3},r=["gaming","game","fps","snapdragon 8","dimensity 9","gpu","rog","poco","redmagic"],l=["kamera","camera","foto","video","leica","hasselblad","50mp","108mp","portrait"],i=["kerja","work","produktif","laptop","m4","ssd","office","macbook"],s=["baterai","battery","mah","charging","daya tahan"],o=["audio","tws","headphone","earphone","speaker","bass","sony"];function n(e){let t=e.toLowerCase(),a=[];return r.some(e=>t.includes(e))&&a.push("gaming"),l.some(e=>t.includes(e))&&a.push("kamera"),i.some(e=>t.includes(e))&&a.push("kerja"),s.some(e=>t.includes(e))&&a.push("baterai"),o.some(e=>t.includes(e))&&a.push("audio"),a}function c(){return{events:[],categoryAffinity:{},brandAffinity:{},keywordAffinity:{},topPersonaLabel:"EXPLORER",lastUpdated:Date.now()}}function d(){try{let e=localStorage.getItem(t);if(!e)return c();return JSON.parse(e)}catch{return c()}}function h(e){let t={},a={},r={};for(let l of e){let e=function(e){let t=(Date.now()-e)/864e5;return t<1?1:t<3?.8:t<7?.5:.2}(l.timestamp),i=l.weight*e;if(l.payload.category&&(t[l.payload.category]=(t[l.payload.category]||0)+i),l.payload.brand&&(a[l.payload.brand]=(a[l.payload.brand]||0)+i),l.payload.keywords)for(let e of l.payload.keywords)r[e]=(r[e]||0)+i;if("search_query"===l.type&&l.payload.query)for(let e of n(l.payload.query))r[e]=(r[e]||0)+i}return{categoryAffinity:t,brandAffinity:a,keywordAffinity:r}}function p(e,t){let a={GAMER:2*(e.gaming||0),FOTOGRAFER:2*(e.kamera||
10),PROFESIONAL:2*(e.kerja||0)+(t.laptop||0),AUDIOFIL:2*(e.audio||0),PELAJAR:.5*(t.smartphone||0),EXPLORER:1},r="EXPLORER",l=0;for(let[e,t]of Object.entries(a))t>l&&(l=t,r=e);return r}function u(){let e=d(),{categoryAffinity:t,brandAffinity:a,keywordAffinity:r}=h(e.events);return{...e,categoryAffinity:t,brandAffinity:a,keywordAffinity:r,topPersonaLabel:p(r,t)}}e.s(["clearPersonaProfile",0,function(){try{window.localStorage.removeItem(t)}catch{}},"getPersonaProfile",0,u,"getPersonalizedProducts",0,function(e,t=3){let a=u();return e.map(e=>({...e,personaScore:function(e,t){let a;a=0+Math.min(3*(t.categoryAffinity[e.cat]||0),30)+Math.min(2*(t.brandAffinity[e.metadata.brand]||0),20);let r=[e.legacy_static_specs.display,e.legacy_static_specs.processor,e.legacy_static_specs.ram_storage,e.legacy_static_specs.main_camera,e.legacy_static_specs.battery,e.metadata.model_name].join(" ").toLowerCase();for(let[e,l]of Object.entries(t.keywordAffinity))(r.includes(e)||"gaming"===e&&r.includes("snapdragon")||"kamera"===e&&r.includes("camera"))&&(a+=Math.min(1.5*l,8));return a=Math.min(a,30)+.7*e.matchScore,"BUY"===e.price_intelligence.buy_wait_verdict&&(a+=3),"turun"===e.price_intelligence.current_trend&&(a+=2),Math.min(Math.round(a),100)}(e,a)})).sort((e,t)=>t.personaScore-e.personaScore).slice(0,t)},"getTopAffinitySignals",0,function(e,t=4){return[...Object.entries(e.categoryAffinity).map(([e,t])=>({label:e,value:t})),...Object.entries(e.brandAffinity).map(([e,t])=>({label:e,value:t})),...Object.entries(e.keywordAffinity).map(([e,t])=>({label:`#${e}`,value:t}))].sort((e,t)=>t.value-e.value).slice(0,t)},"matchProductToArticle",0,function(e,t){if(!t||0===t.length)return null;let a=(e.title||"").toLowerCase(),r=(e.tags||[]).map(e=>e.name.toLowerCase()).join(" "),l=`${a} ${r}`,i=e=>e.toLowerCase().replace(/[^a-z0-9]+/g," ").trim(),s=` ${i(l)} `,o=new Set(["pro","plus","max","ultra","mini","fe","air","fold","flip","neo"]),n=(e,t)=>{let a=i(e),r=i(t);if(!a||!r||!s.includes(` ${a} `))return!1;if(s.includes(` ${r} `))return!0;let l=r.split(" ").filter(e=>/\d/.test(e)||o.has(e));return l.length>0&&l.every(e=>s.includes(` ${e} `))};for(let e of t){let t=(e.metadata?.brand||"").toLowerCase(),a=(e.metadata?.model_name||"").toLowerCase();if(a&&n(t,a))return{product_id:e.product_id,ico:e.ico,cat:e.cat,brand:e.metadata.brand,model_name:e.metadata.model_name,minPrice:e.minPrice,display:e.legacy_static_specs?.display||"",processor:e.legacy_static_specs?.processor||"",ram_storage:e.legacy_static_specs?.ram_storage||"",camera:e.legacy_static_specs?.main_camera||"",battery:e.legacy_static_specs?.battery||"",live_prices:(e.live_dynamic_prices||[]).map(e=>({merchant_name:e.merchant_name,merchant_rating:e.merchant_rating,live_price_idr:e.live_price_idr,product_url:e.product_url,last_updated:e.last_updated}))}}return null},"scoreArticleForPersona",0,function(e,t){let a=0,r=e.category.toLowerCase();for(let[e,l]of Object.entries(t.categoryAffinity))(r.includes(e)||"smartphone"===e&&r.includes("review"))&&(a+=Math.min(2*l,20));let l=(e.title+" "+e.content).toLowerCase();for(let[e,r]of Object.entries(t.brandAffinity))l.includes(e.toLowerCase())&&(a+=Math.min(2.5*r,25));for(let[e,r]of Object.entries(t.keywordAffinity))l.includes(e)&&(a+=Math.min(1.5*r,10));return e.product?.brand&&(a+=Math.min(1.5*(t.brandAffinity[e.product.brand]||0),15)),Math.min(Math.round(a),100)},"trackEvent",0,function(e,r){let l=d(),i=[...r.keywords||[]];r.query&&i.push(...n(r.query));let s=[r.category,r.brand].filter(Boolean).join(" ");s&&i.push(...n(s));let o=[{type:e,payload:{...r,keywords:[...new Set(i)]},timestamp:Date.now(),weight:a[e]},...l.events].slice(0,50),{categoryAffinity:c,brandAffinity:u,keywordAffinity:m}=h(o),y=p(m,c),f={events:o,categoryAffinity:c,brandAffinity:u,keywordAffinity:m,topPersonaLabel:y,lastUpdated:Date.now()};try{localStorage.setItem(t,JSON.stringify(f))}catch{}return f}],70358);let m="pb_onboarding_profile_v1";e.s(["clearOnboardingProfile",0,function(){window.localStorage.removeItem(m)},"loadOnboardingProfile",0,function(){try{let e=window.localStorage.getItem(m);if(!e)return null;let t=JSON.parse(e);if(!t.role||!Array.isArray(t.cats)||!Number.isFinite(t.budget))return null;return t}catch{return null}},"roleLabel",0,function(e){return({pelajar:"PELAJAR",profesional:"PROFESIONAL",creator:"CREATOR",gamer:"GAMER",umum:"PENGGUNA UMUM"})[e||""]||"EXPLORER"},"saveOnboardingProfile",0,function(e){window.localStorage.setItem(m,JSON.stringify(e))}],66756);var y=e.i(43476),f=e.i(86206),g=e.i(26158),x=e.i(12409),k=e.i(37610),b=e.i(49817),v=e.i(81548),w=e.i(79258),M=e.i(73432),j=e.i(43270),_=e.i(78727),A=e.i(8306),P=e.i(46513),N=e.i(77043),C=e.i(49376),S=e.i(59032),L=e.i(17613),T=e.i(31772),H=e.i(40422),$=e.i(18515),R=e.i(46013);e.s(["CatIcon",0,function({cat:e,className:t="w-5 h-5"}){let a={className:t,strokeWidth:1.5};return"laptop"===e?(0,y.jsx)(g.Laptop,{...a}):"tablet"===e?(0,y.jsx)(x.Tablet,{...a}
1):"tv"===e?(0,y.jsx)(k.Tv,{...a}):"home-appliances"===e||"home-appliance"===e||"homeappliance"===e?(0,y.jsx)(b.Home,{...a}):"audio"===e?(0,y.jsx)(v.Headphones,{...a}):"lain-lain"===e||"other"===e||"others"===e?(0,y.jsx)(M.PackageOpen,{...a}):"automotive"===e||"car"===e||"mobil"===e?(0,y.jsx)(j.Car,{...a}):"bike"===e||"motorcycle"===e||"motor"===e?(0,y.jsx)(_.Bike,{...a}):"gaming"===e||"game-console"===e?(0,y.jsx)(A.Gamepad2,{...a}):"monitor"===e?(0,y.jsx)(P.Monitor,{...a}):"printer"===e?(0,y.jsx)(N.Printer,{...a}):"washing-machine"===e?(0,y.jsx)(C.WashingMachine,{...a}):"refrigerator"===e||"kulkas"===e?(0,y.jsx)(S.Refrigerator,{...a}):"air-conditioner"===e||"ac"===e?(0,y.jsx)(L.AirVent,{...a}):"coffee-maker"===e?(0,y.jsx)(T.Coffee,{...a}):"speaker"===e?(0,y.jsx)(H.Speaker,{...a}):"camera"===e?(0,y.jsx)($.Camera,{...a}):"watch"===e||"smartwatch"===e?(0,y.jsx)(R.Watch,{...a}):"package"===e?(0,y.jsx)(w.Package,{...a}):(0,y.jsx)(f.Smartphone,{...a})}],70694)},62633,e=>{"use strict";let t=(0,e.i(56420).default)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]);e.s(["Brain",0,t],62633)},43011,e=>{"use strict";let t=(0,e.i(56420).default)("crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);e.s(["Crown",0,t],43011)},83438,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(22016),l=e.i(18566),i=e.i(62633),s=e.i(49817),o=e.i(62382),n=e.i(80796),c=e.i(43011),d=e.i(86206),h=e.i(12409),p=e.i(26158),u=e.i(37610),m=e.i(70358),y=e.i(66756),f=e.i(70694),g=e.i(4197);let x={Smartphone:d.Smartphone,Tablet:h.Tablet,Laptop:p.Laptop,Tv:u.Tv,Home:s.Home},k=[{slug:"smartphone",label:"Smartphone",url:"/catalog?category=smartphone",icon:"Smartphone",featured:{label:"HP Terbaru 2025",url:"/catalog?category=smartphone"},brands:["HP Oppo","HP Samsung","HP Realme","HP Vivo","HP Xiaomi","HP Apple"],features:["HP RAM 4GB","HP Layar 6 Inci","HP Kamera 16MP","HP RAM 8GB","HP RAM 6GB","HP Memori 64GB"]},{slug:"tablet",label:"Tablet",url:"/catalog?category=tablet",icon:"Tablet",featured:{label:"Tablet Terbaru 2025",url:"/catalog?category=tablet"},brands:["iPad Apple","Samsung Tab","Lenovo Tab","Xiaomi Pad","Huawei MatePad","Realme Pad"],features:["Tablet 10 Inci","Tablet RAM 4GB","Tablet WiFi","Tablet 5G","Tablet Gaming","Tablet Murah"]},{slug:"laptop",label:"Laptop",url:"/catalog?category=laptop",icon:"Laptop",featured:{label:"Laptop Terbaru 2025",url:"/catalog?category=laptop"},brands:["ASUS","Lenovo","HP Inc","Dell","Apple MacBook","Acer"],features:["Laptop Gaming","Laptop Kerja","Laptop Student","RAM 16GB","SSD 512GB","Laptop Tipis"]},{slug:"tv",label:"TV",url:"/catalog?category=tv",icon:"Tv",featured:{label:"Smart TV Terbaru",url:"/catalog?category=tv"},brands:["Samsung TV","LG TV","Sony TV","Panasonic","Polytron","Sharp TV"],features:["TV 32 Inci","TV 43 Inci","TV 55 Inci","4K UHD","Smart TV Android","OLED TV"]},{slug:"home-appliances",label:"Home Appliances",url:"/catalog?category=home-appliances",icon:"Home",featured:{label:"Perangkat Rumah Tangga",url:"/catalog?category=home-appliances"},brands:["Samsung","LG","Panasonic","Sharp","Daikin","Philips"],features:["AC 1 PK","Kulkas 2 Pintu","Mesin Cuci","Vacuum Cleaner","Air Purifier","Water Heater"]}];function b({icon:e,isActive:a,onClick:l,children:i}){let s=`pb-nav-item h-full px-4 flex items-center gap-1.5 text-[12px] font-bold tracking-wide uppercase transition-colors whitespace-nowrap ${a?"bg-white/15 text-white border-b-2 border-white":"text-white/80 hover:text-white hover:bg-white/10"}`;return l?(0,t.jsxs)("button",{onClick:l,className:s,children:[(0,t.jsx)(e,{className:"w-3.5 h-3.5",strokeWidth:2}),i]}):(0,t.jsxs)(r.default,{href:"/",className:s,children:[(0,t.jsx)(e,{className:"w-3.5 h-3.5",strokeWidth:2}),i]})}e.s(["default",0,function({activeTab:e,onTabChange:h,onOpenProfile:p,compareCount:u=0,personaProfile:v,decisionRole:w}){let M=(0,l.usePathname)(),j=(0,l.useRouter)(),[_,A]=(0,a.useState)(k),[P,N]=(0,a.useState)(""),[C,S]=(0,a.useState)(null),[L,T]=(0,a.useState)(null),[H,$]=(0,a.useState)(0),R=(0,a.useRef)(null),E=void 0!==v?v:C,O=w?(0,y.roleLabel)(w):E?.topPersonaLabel,V=Math.max(u,H);return(0,a.useEffect)(()=>{fetch("https://api.pricebook.co.id/api/menus").then(e=>e.json()).then(e=>{e.success&&Array.isArray(e.menus)&&e.menus.length>0&&A(e.menus)}).catch(()=>{})},[]),(0,a.useEffect)(()=>{void 0===v&&S((0,m.getPersonaProfile)())},[v]),(0,a.useEffect)(()=>($((0,g.readCompareProducts)().length),(0,g.subscribeCompareProducts)(e=>$(e.length))),[]),(0,t.jsxs)("header",{className:"relative z-50 pb-header shadow-sm",children:[(0,t.jsxs)("div",{className:"bg-white border-b border-[#
1E0E0E0] py-3 px-5 md:px-8 flex items-center gap-5",children:[(0,t.jsx)(r.default,{href:"/",className:"flex-shrink-0",children:(0,t.jsx)("img",{src:"/logo-pricebook.svg",alt:"Pricebook",className:"h-9 w-auto"})}),(0,t.jsxs)("form",{onSubmit:function(e){e.preventDefault();let t=P.trim();t&&j.push(`/catalog?search=${encodeURIComponent(t)}`)},className:"flex-1 flex items-center border border-[#C8D8E8] rounded-full overflow-hidden max-w-2xl mx-auto bg-[#F8FAFD]",children:[(0,t.jsx)("span",{className:"pl-3 pr-2 text-pb-navy-dark/40",children:(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,t.jsx)("path",{d:"M21 21l-4.35-4.35"})]})}),(0,t.jsx)("input",{type:"text",placeholder:"Temukan produk dan artikel menarik di sini...",value:P,onChange:e=>N(e.target.value),className:"flex-1 py-2.5 pr-3 text-[13px] text-pb-navy-dark placeholder-pb-navy-dark/40 outline-none bg-transparent"})]}),(0,t.jsx)(r.default,{href:"/catalog",className:"hidden md:block flex-shrink-0 border border-pb-navy-dark text-pb-navy-dark text-[12px] font-semibold px-4 py-2 rounded-full hover:bg-pb-navy-dark hover:text-white transition-colors whitespace-nowrap",children:"Lihat Semua Kategori"}),(0,t.jsxs)("div",{className:"flex items-center gap-2 flex-shrink-0 relative z-10",children:[O&&(0,t.jsxs)("div",{className:"hidden xl:flex items-center gap-1.5 border border-pb-navy-dark/15 py-1 px-2.5",title:"Profil rekomendasi aktif",children:[(0,t.jsx)(i.Brain,{className:"w-3 h-3",strokeWidth:1.5}),(0,t.jsx)("span",{className:"text-[9px] font-bold text-pb-navy-dark",children:O})]}),p?(0,t.jsx)("button",{onClick:p,className:"border border-pb-navy-dark text-pb-navy-dark hover:bg-pb-navy-dark hover:text-white text-[10px] font-bold tracking-wider py-1.5 px-3 transition-colors whitespace-nowrap",children:"Profil"}):(0,t.jsx)(r.default,{href:"/",className:"border border-pb-navy-dark text-pb-navy-dark hover:bg-pb-navy-dark hover:text-white text-[10px] font-bold tracking-wider py-1.5 px-3 transition-colors whitespace-nowrap",children:"Profil"})]})]}),(0,t.jsx)("div",{className:"bg-pb-navy-dark relative flex items-center h-10 pb-secondary-nav",children:(0,t.jsx)("nav",{className:"absolute top-0 left-1/2 flex h-full w-max -translate-x-1/2 items-center justify-center pointer-events-none",children:(0,t.jsxs)("div",{className:"flex items-center h-full pointer-events-auto",children:[(0,t.jsx)(b,{icon:s.Home,isActive:"home"===e,onClick:h?()=>h("home"):void 0,children:"Home"}),_.map(e=>{let a=x[e.icon]||d.Smartphone;return(0,t.jsxs)("div",{className:"relative h-full",onMouseEnter:()=>{R.current&&clearTimeout(R.current),T(e.slug)},onMouseLeave:()=>{R.current=setTimeout(()=>T(null),120)},children:[(0,t.jsxs)(r.default,{href:e.url||`/catalog?category=${e.slug}`,className:`pb-nav-item h-full px-4 flex items-center gap-1.5 text-[12px] font-bold tracking-wide uppercase transition-colors whitespace-nowrap ${L===e.slug?"bg-white/15 text-white":"text-white/80 hover:text-white hover:bg-white/10"}`,children:[(0,t.jsx)(a,{className:"w-3.5 h-3.5",strokeWidth:2}),e.label,(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3",className:`transition-transform ${L===e.slug?"rotate-180":""}`,children:(0,t.jsx)("path",{d:"M6 9l6 6 6-6"})})]}),L===e.slug&&(0,t.jsxs)("div",{className:"absolute top-full left-0 bg-white shadow-xl border border-[#E0E0E0] z-50 min-w-[380px] py-4 pb-dropdown-menu",onMouseEnter:()=>{R.current&&clearTimeout(R.current)},onMouseLeave:()=>{R.current=setTimeout(()=>T(null),120)},children:[(0,t.jsx)("div",{className:"px-4 pb-3 mb-3 border-b border-[#E0E0E0]",children:(0,t.jsxs)(r.default,{href:e.featured?.url||e.url||`/catalog?category=${e.slug}`,className:"inline-flex items-center gap-2 bg-pb-navy-light text-pb-navy-dark text-[11px] font-bold px-3 py-1.5 hover:bg-pb-orange hover:text-pb-navy-dark transition-colors",children:[(0,t.jsx)(f.CatIcon,{cat:e.slug,className:"w-3.5 h-3.5"})," ",e.featured.label]})}),(0,t.jsxs)("div",{className:"px-4 grid grid-cols-2 gap-x-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[10px] font-bold text-pb-navy-dark/50 tracking-widest uppercase mb-2",children:"Brand Populer"}),(0,t.jsx)("ul",{className:"flex flex-col gap-1.5",children:e.brands.map(a=>{let l="string"==typeof a?a:a.label,i="object"==typeof a&&a.url?a.url:`/catalog?category=${e.slug}&brand=${encodeURIComponent(l)}`;return(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:i,className:"text-[13px] text-pb-navy-dark hover:text-pb-navy-mid transition-colors text-left block w-full",children:l})},l)})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[10px] font-bold text-pb-navy-dark/50 tracking-widest uppercase mb-2",children:"Fitur Unggulan"}),(0,t.jsx)("ul",{className:"flex flex-col gap-1.5",children:e.features.map(a=>{let l="string"==typeof a?a:a.label,i="object"==typeof a&&a.url?a.url:`/catalog?category=${e.slug}&tag=${encodeURIComponent(l)}`;return(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:i,className:"text-[13px] text-pb-navy-dark hover:text-pb-navy-mid transition-colors text-left block w-full",children:l})},l)})})]})]})]})]},e.slug)}),(0,t.jsx)(b,{icon:o.Scale,isActive:"compare"===e,onClick:h?()=>h("compare"):void 0,children:V>0?`Bandingkan (${V})`:"Bandingkan"}),(0,t.jsxs)(r.default,{href:"/article",className:`pb-nav-item h-full px-4 flex items-center gap-1.5 text-[12px] font-bold tracking-wide uppercase transition-colors whitespace-nowrap ${M?.startsWith("/article")?"bg-white/15 text-white border-b-2 border-white":"text-white/80 hover:text-white hover:bg-white/10"}`,children:[(0,t.jsx)(n.Film,{className:"w-3.5 h-3.5",strokeWidth:2}),"Artikel"]}),(0,t.jsx)("div",{className:"relative h-full flex items-center",children:(0,t.jsxs)("span",{className:"pb-nav-item h-full px-4 flex items-center gap-1.5 text-[12px] font-bold tracking-wide uppercase whitespace-nowrap text-white/30 curs
1or-not-allowed select-none",children:[(0,t.jsx)(c.Crown,{className:"w-3.5 h-3.5",strokeWidth:2}),"Prime",(0,t.jsx)("span",{className:"ml-1 text-[8px] font-bold bg-pb-orange/80 text-pb-navy-dark px-1.5 py-0.5 rounded-sm leading-none",children:"SOON"})]})})]})})}),V>=2&&"compare"!==e&&(0,t.jsxs)(r.default,{href:"/?tab=compare",onClick:function(e){h&&(e.preventDefault(),h("compare"),window.history.replaceState(null,"","/?tab=compare"))},className:"fixed bottom-20 md:bottom-5 right-5 z-[80] bg-pb-navy-dark text-white border border-pb-navy-light px-5 py-3 font-mono text-xs font-bold shadow-xl hover:bg-pb-navy-mid transition-colors",children:["Bandingkan (",V,")"]})]})}])},75341,e=>{"use strict";e.s(["assetUrl",0,function(e){return e?e.startsWith("/uploads/")?`https://api.pricebook.co.id${e}`:e:""}])},9584,e=>{"use strict";let t=(0,e.i(56420).default)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);e.s(["Database",0,t],9584)},97142,e=>{"use strict";let t=(0,e.i(56420).default)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]);e.s(["Cpu",0,t],97142)}]);

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.