PageSourceSearch

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

js chocozap.jp collected 2026-10-02 03:36:04 UTC 5,027 bytes, 1 lines download raw bytes

1import{_ as E}from"./Do8lSSpX.js";import{p as P,o as s,c,a as e,d as v,f as h,F as w,r as S,E as y,i as D,g as j,_ as B,w as F,e as C,k as N,l as R,Y as T,O,J as V}from"./DUtOBDbA.js";import{a as W,u as G,N as Y}from"./OuKAhc5C.js";import{u as H}from"./Bv7hz6Bt.js";import"./CgRPxJfg.js";import"./v6t0GFCJ.js";import"./zYn-IMj0.js";const U=""+new URL("icon_no_results.CHiCdPr2.svg",import.meta.url).href,I={},J={class:"grid place-items-center pt-5xl pb-[128px] text-center gap-xs"};function K(m,o){return s(),c("div",J,[...o[0]||(o[0]=[e("img",{class:"w-full max-w-[96px]",src:U,alt:""},null,-1),e("p",{class:"text-[16px] leading-[1.6] text-status-neutral"}," 現在、新店舗情報はありません ",-1)])])}const X=P(I,[["render",K]]),Z={class:"grid place-items-center"},q={key:1,class:"grid gap-3xl px-md pb-6xl max-w-[1080px] w-full pc:gap-xxl pc:px-0"},z={class:"pb-xs text-text_accent-primary text-[16px] font-bold leading-headline pc:text-[18px]"},Q={class:"py-xs pl-xs text-[14px] font-bold leading-headline border-b border-solid border-border_primary bg-background_light-navy pc:pl-md pc:text-[16px]"},tt={class:"flex py-md pl-xs pr-3xs items-center gap-md border-b border-solid border-border_primary justify-between pc:pl-md"},et={class:"flex flex-col gap-xs"},st={class:"text-text_body text-[16px] font-bold leading-headline pc:text-[20px]"},ot={class:"text-text_description-primary text-[14px] leading-headline pc:text-[16px]"},nt=v({__name:"Newest",props:{data:{}},setup(m){return(o,n)=>{const p=X,b=B;return s(),c(w,null,[n[1]||(n[1]=e("header",null,[e("h1",{class:"pt-3xl px-md pb-xl text-center text-text_headline text-[24px] font-bold leading-headline pc:pt-5xl pc:px-0 pc:pb-xxl pc:text-[36px]"},"新店舗情報")],-1)),e("main",null,[e("section",Z,[m.data.length===0?(s(),h(p,{key:0})):(s(),c("article",q,[(s(!0),c(w,null,S(m.data,a=>(s(),c("div",{key:a.date},[e("h2",z,y(a.date)+"オープン!",1),(s(!0),c(w,null,S(a.locations,d=>(s(),c("div",{key:`d.date-${d.prefecture}`},[e("h3",Q,y(d.prefecture),1),e("ul",null,[(s(!0),c(w,null,S(d.studios,l=>(s(),c("li",{key:l.name},[D(b,{to:`/studios/${l.hacomono_studio_id}`},{default:j(()=>[e("div",tt,[e("div",et,[e("h4",st,y(l.name),1),e("p",ot,y(l.address),1)]),n[0]||(n[0]=e("div",null,[e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.36419 5.36321C8.71566 5.01174 9.28551 5.01174 9.63698 5.36321L15.637 11.3632C15.9885 11.7147 15.9885 12.2845 15.637 12.636L9.63698 18.636C9.28551 18.9875 8.71566 18.9875 8.36419 18.636C8.01272 18.2845 8.01272 17.7147 8.36419 17.3632L13.7278 11.9996L8.36419 6.63601C8.01272 6.28453 8.01272 5.71469 8.36419 5.36321Z",fill:"#A5A5A5"})])],-1))])]),_:2},1032,["to"])]))),128))])]))),128))]))),128))]))])])],64)}}}),rt=30,at=v({__name:"Newest",async setup(m){let o,n;const{getPrefectures:p}=W(),{searchStudios:b}=G(),a=H(),d=N(!1),l=N([]),k=N([]),A=async()=>{const x=a().subtract(Y,"week").format("YYYY-MM-DD"),f=a().add(Y,"week").format("YYYY-MM-DD"),g=[];let t=1,r=1;do{const i=await b({grand_opening_date_from:x,grand_opening_date_to:f,page:t,per_page:100});g.push(...i.studios);const _=i.pagination.per_page;r=_>0?Math.min(Math.ceil(i.pagination.total_count/_),rt):1,t+=1}while(t<=r);return g};try{const[x,f]=([o,n]=F(()=>Promise.all([p(),A()])),o=await o,n(),o);l.value=x,k.value=f}catch{d.value=!0}const M=R(()=>{const f=[...k.value].sort((t,r)=>a(r.studio_operation.grand_opening_at).valueOf()-a(t.studio_operation.grand_opening_at).valueOf()).reduce((t,r)=>{const i=a(r.studio_operation.grand_opening_at).format("YYYY年MM月DD日");return t[i]||(t[i]=[]),t[i].push(r),t},{}),g=[...l.value].sort((t,r)=>Number(t.jisx0401)-Number(r.jisx0401));return Object.entries(f).map(([t,r])=>{const i=g.map(_=>{const L=r.filter(u=>u.studio_profile.address.startsWith(_.name)).sort((u,$)=>u.hacomono_studio.hacomono_studio_id-$.hacomono_studio.hacomono_studio_id).map(u=>({hacomono_studio_id:u.hacomono_studio.hacomono_studio_id,name:u.studio_profile.name,address:u.studio_profile.address}));return{prefecture:_.name,studios:L}}).filter(_=>_.studios.length>0);return{date:t,locations:i}})});return(x,f)=>{const g=E,t=nt;return C(d)?(s(),h(g,{key:0})):(s(),h(t,{key:1,data:C(M)},null,8,["data"]))}}}),it=v({__name:"Newest",setup(m){T({title:"新店舗情報|チョコザップ|全国1800店舗以上!スキマ時間にサクッと使えるコンビニジム",titleTemplate:"",description:"チョコザップの新店舗情報です。ご自宅や仕事先の近く、お出かけ先等のチョコザップをチェックしよう!スキマ時間でちょこっと運動+美容やリフレッシュも!月額料金2,980円(税込3,278円)で健康習慣を始めよう!"});const o=O(),{$breadcrumbs:n}=V(),p=[n.route,n.studios.newest];return o.setBreadcrumbs(p),(b,a)=>{const d=at;return s(),h(d)}}}),xt=v({__name:"index",setup(m){return(o,n)=>{const p=it;return s(),h(p)}}});
1export{xt 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.