PageSourceSearch

https://chocozap.jp/_nuxt/D7R24TAL.js

js chocozap.jp collected 2026-09-24 18:02:00 UTC 904 bytes, 1 lines download raw bytes

1import{u as a,U as l}from"./SKGDL43O.js";const u=()=>{const r=a();return{client:$fetch.create({baseURL:r.public.chococore.apiBaseUrl})}},f=[{category:"machine",label:"マシン"},{category:"service",label:"サービス"},{category:"other",label:"設備"}],v=["スタッフ巡回","シャワー","肌診断","ボルダリング"];let i=null;const m=()=>{const{client:r}=u(),c=l("chococore-services",()=>null),n=async()=>c.value?c.value:(i||(i=r("/v1/services").then(t=>{const e=t.services.filter(s=>!v.includes(s.name));return c.value=e,e}).finally(()=>{i=null})),await i);return{services:c,getServices:n,getServiceGroups:async()=>{const t=await n();return f.map(({category:e,label:s})=>({category:e,label:s,services:t.filter(o=>o.category===e)})).filter(e=>e.services.length>0)},findById:async t=>(await n()).find(s=>s.id===t),findByName:async t=>(await n()).find(s=>s.name===t)}};export{u as a,m as u};

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.