PageSourceSearch

https://rajarepair.id/_rr/DQUgzLpP.js

js rajarepair.id collected 2026-10-06 20:54:19 UTC 8,048 bytes, 1 lines download raw bytes

1import{_ as J}from"./3EBg3iUg.js";import{_ as X}from"./DU6cNFPH.js";import{d as Y,I as ee}from"./DxbuN_IJ.js";import{I as te}from"./B4f5qzlA.js";import{I as ae}from"./jWxjFkq4.js";import{I as se}from"./DzA_gxR7.js";import{I as oe}from"./BRJAA2SD.js";import{I as ie}from"./S6DhdeN_.js";import{I as ne}from"./DA7qIMyu.js";import{u as le}from"./DOZv0An5.js";import{r as re,o as ce,a as T,b as $}from"./VfYlVZiT.js";import{f as de,e as pe,u as me,R as E,S as N,r as ue,z as g,C as s,B as n,t as b,D as o,v as e,G as c,E as M,H as ge,F as fe,A as _e,i as B,T as he,x as ve,U as H,V as xe,y as f}from"./D5MLA-hU.js";import{u as be}from"./BZMDioPG.js";import{u as ke}from"./CbqWd3-v.js";import{u as ye}from"./BsSRCWlq.js";import{u as we}from"./7tJk1O9I.js";import"./B1_oImu8.js";import"./Dv4Z5I8w.js";import"./D_rngVSp.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new d.Error().stack;l&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[l]="90d1ecc6-d272-42ff-9a3d-ca0fb1aa2dd5",d._sentryDebugIdIdentifier="sentry-dbid-90d1ecc6-d272-42ff-9a3d-ca0fb1aa2dd5")}catch{}})();const De={class:"bg-white pb-24 pt-32 sm:pt-40"},Ie={class:"mx-auto max-w-6xl px-6"},Ce={class:"flex items-center gap-2 text-sm text-slate-500"},Re={class:"text-slate-600"},Le={class:"mt-6 grid gap-12 lg:grid-cols-[1.05fr_1fr] lg:items-start"},Se={class:"text-sm font-semibold uppercase tracking-[0.2em] text-brand-600"},Ae={class:"display mt-3 text-4xl text-ink-900 sm:text-5xl"},Te={key:0,class:"mt-3 inline-flex items-center gap-1.5 text-sm font-semibold text-ink-700"},$e={class:"font-normal text-slate-500"},Ee={class:"mt-6 space-y-4"},Ne={class:"flex items-start gap-3 text-base leading-relaxed text-ink-700"},Me={key:0,class:"flex items-center gap-3 text-base text-ink-700"},Be=["href"],He={class:"mt-8 flex flex-wrap gap-3"},Oe=["href","data-track-label"],Ve={class:"mt-10"},je={class:"text-lg font-semibold text-ink-900"},Pe={class:"mt-4 grid grid-cols-2 gap-3 sm:grid-cols-3"},We={class:"isolate overflow-hidden rounded-3xl border border-slate-200 bg-slate-100 shadow-[0_2px_20px_rgba(0,0,0,0.07)]"},rt=de({__name:"[slug]",async setup(d){let l,u;const R=pe(),_=be(),{t:a}=me(),{fetchLocations:O,fetchReviews:V}=le(),{data:j,error:P}=([l,u]=E(()=>H("outlets",()=>O(),{default:()=>[]})),l=await l,u(),l),k=re(j.value,String(R.params.slug),!!P.value);if(k.state==="unavailable")throw N({statusCode:503,statusMessage:a("lokasiDetail.unavailable")});if(k.state==="not-found")throw N({statusCode:404,statusMessage:a("lokasiDetail.notFound")});const t=k.outlet,p=r=>(r||"").toLowerCase().replace(/\b\w/g,i=>i.toUpperCase()).replace(/\bDki\b/,"DKI"),m=ce(t.name),y=[p(t.city),p(t.state)].filter(Boolean).join(", ");ke({title:a("lokasiDetail.seoTitle",{city:p(t.city)||"Indonesia",outlet:m.replace(/raja\s*repair\s*/i,"").trim()}),description:a("lokasiDetail.seoDesc",{loc:`${m}${y?`, ${y}`:""}`,landmark:t.landmark||""}).replace(/\s+/g," ").trim().slice(0,160)});const{data:L}=([l,u]=E(()=>H("google-reviews",()=>V(),{default:()=>({rating:null,total:0,reviews:[]})})),l=await l,u(),l),h=B(()=>t.rating??L.value.rating),w=B(()=>t.rating!=null?t.review_count??0:L.value.total),S=he(),W=T(t.city,"wa","detail"),F=T(t.city,"direction","detail"),A=t.mobile?t.mobile.replace(/^0/,"62").replace(/\D/g,""):_.phoneIntl,D=`+${A}`,U=`https://wa.me/${A}?text=${encodeURIComponent(a("lokasiDetail.waMessage",{name:m}))}`,I=`https://rajarepair.id${R.path}`;ye([{"@type":"LocalBusiness","@id":`${I}#localbusiness`,name:m,url:I,logo:"https://rajarepair.id/brand/logo.png",image:"https://rajarepair.id/brand/logo.png",email:_.emails[0],telephone:D,description:a("lokasiDetail.schemaDesc",{city:p(t.city)||"Indonesia"}),priceRange:"Rp50.000 - Rp3.000.000",currenciesAccepted:"IDR",paymentAccepted:"Cash, Debit, QRIS, Transfer",address:{"@type":"PostalAddress",streetAddress:t.landmark||void 0,addressLocality:p(t.city)||void 0,addressRegion:p(t.state)||void 0,addressCountry:"ID"},geo:{"@type":"GeoCoordinates",latitude:t.lat,longitude:t.lng},openingHoursSpecification:t.store_open&&t.store_close?[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday","Sunday"],opens:t.store_open,closes:t.store_close}]:void 0,contactPoint:{"@type":"ContactPoint",telephone:D,contactType:"customer service",areaServed:"ID",availableLanguage:["id","en"]},parentOrganization:{"@id":"https://rajarepair.id/#identity"},sameAs:_.socials.map(r=>r.href),...h.value?{aggregateRating:{"@type":"AggregateRating",ratingValue:h.value,reviewCount:w.value,ratingCount:w.value,bestRating:5,worstRating:1,itemReviewed:{"@id":`${I}#localbusiness`}}}:{}}]);const z=[a("lokasiDetail.svcLcd"),a("lokasiDetail.svcBattery"),a("lokasiDetail.svcMainboard"),a("lokasiDetail.svcDead"),a("lokasiDetail.svcWater"),a("lokasiDetail.svcSoftware")],C=ve(),{loadLeaflet:G,markerIcon:K,addTiles:Q}=we();return ue(async()=>{if(!C.value||!t.lat||!t.lng)return;const r=await G(),i=r.map(C.value,{scrollWheelZoom:!1,zoomControl:!1,attributionControl:!1}).setView([t.lat,t.lng],16);Q(r,i),r.marker([t.lat,t.lng],{icon:K(r,!0)}).addTo(i)}),(r,i)=>{const v=J,Z=X,q=xe("reveal");return f(),g("div",De,[s("div",Ie,[s("nav",Ce,[n(v,{to:"/",class:"hover:text-brand-600"},{default:b(()=>[c(o(e(a)("lokasiDetail.breadcrumbHome")),1)]),_:1}),i[2]||(i[2]=s("span",null,"/",-1)),n(v,{to:"/lokasi",class:"hover:text-brand-600"},{default:b(()=>[c(o(e(a)("lokasiDetail.breadcrumbLocations")),1)]),_:1}),i[3]||(i[3]=s("span",null,"/",-1)),s("span",Re,o(e(m)),1)]),s("div",Le,[s("div",null,[s("p",Se,o(e(a)("lokasiDetail.eyebrow")),1),s("h1",Ae,o(e(m)),1),e(h)?(f(),g("p",Te,[n(e(ne),{class:"h-4 w-4 fill-gold-400 text-gold-400"}),c(" "+o(e(h))+" ",1),s("span",$e,"· "+o(e(w).toLocaleString("id-ID"))+" "+o(e(a)("lokasiDetail.googleReviews")),1)])):M("",!0),s("div",Ee,[s("p",Ne,[n(e(se),{class:"mt-0.5 h-5 w-5 shrink-0 text-brand-500"}),c(" "+o(e(t).landmark||e(y)),1)]),e($)(e(t).store_open,e(t).store_close)?(f(),g("p",Me,[n(e(ae),{class:"h-5 w-5 shrink-0 text-brand-500"}),c(" "+o(e(a)("lokasiDetail.openHours",{hours:e($)(e(t).store_open,e(t).store_close)})),1)])):M("",!0),s("a",{href:`tel:${D}`,class:"flex items-center gap-3 text-base text-ink-700 transition-colors hover:text-brand-600"},[n(e(oe),{class:"h-5 w-5 shrink-0 text-brand-500"}),c(" "+o(e(t).mobile||e(_).phoneDisplay),1)],8,Be)]),s("div",He,[s("a",{href:U,target:"_blank",rel:"noopener",class:"inline-flex items-center gap-1.5 rounded-full border border-slate-200 px-6 py-3 text-sm font-semibold text-ink-700 transition-colors hover:bg-slate-50",onClick:i[0]||(i[0]=x=>e(S)(e(W)))},[n(Z,{class:"h-4 w-4"}),c(" "+o(e(a)("lokasiDetail.chatWhatsapp")),1)]),s("a",{href:("directions"in r?r.directions:e(Y))(e(t)),target:"_blank",rel:"noopener","data-track":"FindLocation","data-track-label":e(t).name,class:"inline-flex items-center gap-1.5 rounded-full border border-slate-200 px-6 py-3 text-sm font-semibold text-ink-700 transition-colors hover:bg-slate-50",onClick:i[1]||(i[1]=x=>e(S)(e(F)))},[n(e(ee),{class:"h-4 w-4"}),c(" "+o(e(a)("lokasiDetail.directions")),1)],8,Oe)]),ge((f(),g("div",Ve,[s("h2",je,o(e(a)("lokasiDetail.servicesHeading")),1),s("div",Pe,[(f(),g(fe,null,_e(z,x=>s("span",{key:x,class:"inline-flex items-center gap-2 rounded-xl bg-slate-50 px-3 py-2.5 text-sm font-medium text-ink-700 ring-1 ring-slate-100"},[n(e(ie),{class:"h-4 w-4 shrink-0 text-brand-500"}),c(" "+o(x),1)])),64))]),n(v,{to:"/perbaikan",class:"mt-6 inline-block text-sm font-semibold text-brand-600 hover:underline"},{default:b(()=>[c(o(e(a)("lokasiDetail.viewAllServices")),1)]),_:1})])),[[q]])]),s("div",We,[s("div",{ref_key:"mapEl",ref:C,class:"h-[280px] w-full lg:h-[460px]"},null,512)])]),n(v,{to:"/lokasi",class:"mt-12 inline-flex items-center gap-1.5 text-sm font-medium text-slate-500 transition-colors hover:text-ink-900"},{default:b(()=>[n(e(te),{class:"h-4 w-4"}),c(" "+o(e(a)("lokasiDetail.allOutlets")),1)]),_:1})])])}}});export{rt 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.