PageSourceSearch

https://machicon.jp/_nuxt/C-rO_Io3.js

js machicon.jp collected 2026-09-24 17:21:41 UTC 2,502 bytes, 4 lines download raw bytes

1import{l as g,v as i,M as S,b6 as k,o as y,c as R,d as e,a,B,g as C,h as _,p as E,b as x,_ as H}from"./RCr3O1Ik.js";import{d as m}from"./B1K08hXr.js";import"./Do1OVwwS.js";const I=""+new URL("repeat-discount-coupon.BapEmCi_.png",import.meta.url).href,r=n=>(E("data-v-05baf07d"),n=n(),x(),n),L={key:0,class:"repeatDiscountModal-overlay"},V={class:"repeatDiscountModal-content"},A=r(()=>e("div",{class:"repeatDiscountModal-titleArea"},[e("h3",{class:"repeatDiscountModal-title"},"初回購入の方限定!")],-1)),N=r(()=>e("div",{class:"repeatDiscountModal-subtitle"},"また参加したくなった時にお得なリピート券",-1)),O=r(()=>e("div",{class:"repeatDiscountModal-couponArea"},[e("div",{class:"coupon-ticket"},[e("img",{src:I,alt:"回数券リピート券 - ¥500OFF 2枚 有効期限:購入日から90日間",class:"coupon-image"})])],-1)),P={class:"repeatDiscountModal-buttonArea"},T=["disabled"],F=["disabled"],U=r(()=>e("br",null,null,-1)),W=g({__name:"RepeatDiscountModal",props:{shouldShowModal:{type:Boolean}},emits:["close-modal","purchase-with-repeat-discount","purchase-without-repeat-discount"],setup(n,{emit:f}){const d=n,p=f,t=i(!1),u=i(!1),l=i(!1),o=i(null),w=()=>{!d.shouldShowModal||l.value||(o.value=()=>{const s=window.pageYOffset||document.documentElement.scrollTop,c=window.innerHeight,h=document.body.scrollHeight-c;(h>0?s/h:0)>=.5&&!l.value&&(l.value=!0,M(),o.value&&(window.removeEventListener("scroll",o.value),o.value=null))},window.addEventListener("scroll",o.value,{passive:!0}))},M=()=>{d.shouldShowModal&&l.value&&(u.value=!0)},v=()=>{u.value=!1},b=async()=>{if(t.value)return;t.value=!0;const s=_();m(s,"追加する"),p("purchase-with-repeat-discount",{includeRepeatDiscount:!0}),v()},D=async()=>{if(t.value)return;t.value=!0;const s=_();m(s,"追加しない"),p("purchase-without-repeat-discount",{includeRepeatDiscount:!1}),v()};return S(()=>{w()}),k(()=>{o.value&&window.removeEventListener("scroll",o.value)}),(s,c)=>u.value?(y(),R("div",L,[e("div",{class:"repeatDiscountModal",onClick:c[0]||(c[0]=B(()=>{},["stop"]))},[e("div",V,[A,a(),N,a(),O,a(),e("div",P,[e("button",{disabled:t.value,class:"repeatDiscountModal-button secondary",onClick:D},"追加しない",8,T),a(),e("button",{disabled:t.value,class:"repeatDiscountModal-button primary",onClick:b},[a(`
2            追加する`),U,a(`(+500円)
3          `)],8,F)])])])])):C("",!0)}}),G=H(W,[["__scopeId","data-v-05baf07d"]]);export{G as default};
4//# sourceMappingURL=C-rO_Io3.js.map

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.