iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://retty.me/_nuxt/IndexPage-D1X_G96b.js
import{c as Cn,A as he,I as Kn,q as Qn,i as Hn,r as Wn,s as Yn,d as jn,b as Gn,e as zn,_ as Zn,f as Xn,g as Jn,k as ei,l as ti,n as ni,o as ii,p as ai}from"./makeRestaurantTopHead-DDrUsGrX.js";import{V as p,a as v,p as c,n as m,m as si,U as En,F as f,s as ri,R as oi,b as N,M as Nn,W as We,c as li,_ as ui,q as ci,r as wn,f as An,d as di,P as _e,N as mi,E as Bt,j as pi}from"./client-BmVmnFEC.js";import{f as Fn,i as Tn,e as Rt,c as vi,j as fi,g as Ct,E as B,a as _i,R as ki,b as In,l as hi,A as yi,h as gi,k as b,S as R,o as Si}from"./utils-P6ES1V-F.js";import{R as bi,d as Ri}from"./RestaurantHorizontalBar-BZ5OG5NU.js";import{P as Ci}from"./PvLogger-Bfc8O67g.js";import{V as Ei,g as Ni}from"./makeGtmScript-B8HLg2s0.js";import{C as P,R as wi,P as Ai,M as $n}from"./PaypayAppOtokuBanner-C4jgnJCa.js";import{F as Fi}from"./FamiliarLabel-uMBaVo_e.js";import{I as Ti}from"./IconFamiliarHelpLabel-CbLJDjbN.js";import{t as h}from"./type-util-BsvaEqwl.js";import Dn from"./InView-D07AiDrk.js";import{D as Et,W as Ii}from"./DynamicLinkToRestaurant-Dixf6uh-.js";import{I as Mn}from"./IconPaypay-WqwB5i8Z.js";import{r as $i,c as Di,e as Mi,p as Bi,m as Pi,u as Oi,d as Li,y as xi,f as Vi}from"./date-BYBoZiPG.js";import{a as Ui,g as ye,c as qi,t as Ki}from"./convertLocalDateInput-CZYNcL1M.js";import{I as Nt,D as Qi,a as Hi,_ as Wi,b as Yi}from"./ic-question-DDlXwbQ6.js";import Bn from"./AnchorLink-BNOXPdVn.js";import{h as ji,R as Gi,a as zi,d as Zi,b as Xi,c as Ji,e as ea,f as Pn}from"./makeJSONLD-C69eGyhK.js";import{S as ge}from"./SceneIcon-l1YgWyi_.js";import ta from"./InPageLink-CNNgKnf8.js";import{g as ke,i as na,_ as Se}from"./noimage-Bo_AIiWw.js";import{L as ia}from"./LoadingIndicator-CfmRsA0N.js";import{R as aa}from"./ReportScoreImage-DKpRAQvp.js";import{F as On}from"./FamiliarLabel-KtXPtNOK.js";import{u as sa}from"./graphqlErrorHandling-BE1XWHfd.js";import{d as ra}from"./loginSession-CK-JZbKZ.js";import"./endOfMonth-wSZykwZa.js";import"./XImg-BILABif1.js";import"./SwiperSlide-BtZGu3V2.js";import"./index-B0CiJK2p.js";import"./AnchorLinkWithArrowRight-Co74oY4C.js";const oa=p.extend({components:{CarouselImageModal:P},props:{pageEntity:{type:Object,required:!0}},data(){return{selectedImageIndex:0,initialSlideIndex:0,shouldShowImageModal:!1}},computed:{images(){var t,e;return((e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.preferenceImages)||[]},pairImages(){var e,n;return(((n=(e=this.pageEntity.entity)==null?void 0:e.restaurant)==null?void 0:n.preferenceImages)||[]).flatMap((i,r,s)=>r%2?[]:[s.slice(r,r+2)])},slides(){return this.images.map(t=>{var e;return t.report?((e=t.report.text)==null?void 0:e.length)>0?{imageUrl:t.image.url,caption:{type:"PostReportCaption",reportId:t.report.id,userName:t.report.user.name,scene:t.report.scene||void 0,postedAt:t.report.postedAt}}:{imageUrl:t.image.url,caption:{type:"NoCaption"}}:{imageUrl:t.image.url,caption:{type:"OwnerImageCaption",title:t.text||void 0}}})},clickActionType(){return v.CLICK_PHOTO_VIEWER},inViewActionType(){return v.INVIEW_PHOTO_VIEWER},clickActionTypeMoreHeader(){return v.CLICK_PHOTO_MORE_HEADER},totalImageCount(){var t,e,n,i,r;return((r=(i=(n=(e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.statistics)==null?void 0:n.report)==null?void 0:i.image)==null?void 0:r.total)||0},shouldShowImageReadMore(){return this.images.length>=4&&this.totalImageCount>=11},photoListUrl(){var t,e;return`${(e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.url}photos/`},actionValueMoreHeader(){var t,e,n;return{restaurant_id:String((n=(e=(t=this.pageEntity)==null?void 0:t.entity)==null?void 0:e.restaurant)==null?void 0:n.id)}}},methods:{openModal(t){this.selectedImageIndex=t,this.$nextTick(()=>{this.shouldShowImageModal=!0,c({type:"action",actionType:this.clickActionType,actionValue:this.clickActionValue(t)})})},onClose(){this.shouldShowImageModal=!1},actionValue(t){var e,n;return{restaurant_id:String(((n=(e=this.pageEntity.entity)==null?void 0:e.restaurant)==null?void 0:n.id)||0),order:String(t+1)}},clickActionValue(t){return this.actionValue(t)},loadingOption(t){return t<6?"eager":"lazy"},pushInViewLog(t){c({type:"action",actionType:this.inViewActionType,actionValue:this.actionValue(t)})},onClickReadMore(){c({type:"action",actionType:this.clickActionTypeMoreHeader,actionValue:this.actionValueMoreHeader})}}});var la=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.images.length>0?n("div",{staticClass:"carousel-wrap"},[n("div",{staticClass:"carousel-inner"},[n("ul",{staticClass:"carousel"},e._l(e.pairImages,function(i,r){return n("li",{key:r,staticClass:"carousel__item"},e._l(i,function(s,l){return n("div",{key:s.image.url,staticClass:"carousel__item-inner"},[n("in-view",{ref:"inViewCarouselItem",refInFor:!0,on:{enter:function(a){return e.pushInViewLog(2*r+l)}}},[n("x-img",{ref:"image",refInFor:!0,staticClass:"carousel__image",attrs:{src:s.image.url,width:400,height:400,alt:s.text||"",loading:e.loadingOption(2*r+l)},nativeOn:{click:function(a){return e.openModal(2*r+l)}}})],1),e.shouldShowImageReadMore&&2*r+l===e.images.length-1?n("div",[n("anchor-link",{ref:"image-readmore",refInFor:!0,staticClass:"carousel__read-more",attrs:{to:e.photoListUrl},nativeOn:{click:function(a){return e.onClickReadMore.apply(null,arguments)}}},[n("div",[e._v("もっとみる")]),n("div",{staticClass:"carousel__total-count"},[e._v("("+e._s(e.totalImageCount)+")")])])],1):e._e()],1)}),0)}),0),n("carousel-image-modal",{attrs:{"should-show":e.shouldShowImageModal,"initial-slide-index":e.selectedImageIndex,slides:e.slides},on:{close:e.onClose}})],1)]):e._e()},ua=[],ca=m(oa,la,ua,!1,null,"51c46d4d");const da=ca.exports,ma=p.extend({props:{membership:{type:String,required:!0},status:{type:String,default:"OPEN"}},computed:{isMember(){return Fn(this.membership)},label(){return si[this.status]},hasChangeStatus(){return["CLOSED","OUT_OF_BUSINESS","RELOCATED","RENEWED","PREPARING"].includes(this.status)},isConfirming(){return this.status==="CONFIRMING"},shouldShowLabel(){return this.hasChangeStatus||this.isMember||this.isConfirming}}});var pa=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.shouldShowLabel?n("ul",[e.isMember?n("li",{staticClass:"label label--member"},[e._v("公式情報")]):e._e(),e.hasChangeStatus?n("li",{staticClass:"label label--status-changed"},[e._v(" "+e._s(e.label)+" ")]):e._e(),e.isConfirming?n("li",{staticClass:"label label--status-changed"},[e._v("情報確認中")]):e._e()]):e._e()},va=[],fa=m(ma,pa,va,!1,null,"585d296b");const _a=fa.exports,Pt={RELOCATED:"移転先へ",RENEWED:"リニューアル先へ"},ka=p.extend({props:{status:{type:String,default:"OPEN"},canonicalUrl:{type:String,default:""}},computed:{shouldShowCanonicalUrl(){return this.canonicalUrl!==null&&Object.keys(Pt).includes(this.status)},canonicalLinkText(){return this.shouldShowCanonicalUrl&&Pt[this.status]||""},isConfirming(){return this.status==="CONFIRMING"}}});var ha=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"caution"},[e.isConfirming?n("p",{staticClass:"caution__confirming"},[e._v(" このお店はRetty運営事務局がただいま情報確認を行っております。 ")]):e._e(),e.shouldShowCanonicalUrl?n("span",{ref:"caution__canonical_link",staticClass:"caution__canonical_link"},[n("anchor-link",{attrs:{to:e.canonicalUrl}},[e._v(" "+e._s(e.canonicalLinkText)+" ")])],1):e._e()])},ya=[],ga=m(ka,ha,ya,!1,null,"e55644bf");const Sa=ga.exports,ba=p.extend({components:{FamiliarLabel:Fi,IconFamiliarHelpLabel:Ti},props:{familiarAttribute:{type:Object,default:null},isUpcoming:{type:Boolean,default:!1}},computed:{hasFamiliarLabel(){return!!this.familiarAttribute},shouldShowList(){return this.isUpcoming||this.hasFamiliarLabel}}});var Ra=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.shouldShowList?n("ul",{staticClass:"speciality-label-list"},[e.isUpcoming?n("li",{staticClass:"speciality-label-list__item"},[e._m(0)]):e._e(),e.hasFamiliarLabel?n("li",{staticClass:"speciality-label-list__item"},[n("div",{staticClass:"familiar-label-wrap"},[n("familiar-label",e._b({},"familiar-label",e.familiarAttribute,!1)),n("anchor-link",{staticClass:"familiar-label-help-link",attrs:{target:"_blank",to:"/announce/familiar-label/"}},[n("icon-familiar-help-label",{staticClass:"icon-familiar-help-label",attrs:{color:"#8C8C93",width:16,height:16}})],1)],1)]):e._e()]):e._e()},Ca=[function(){var t=this,e=t._self._c;return t._self._setupProxy,e("div",{staticClass:"upcoming"},[e("p",{staticClass:"upcoming__text"},[t._v("話題の新店")])])}],Ea=m(ba,Ra,Ca,!1,null,"bce36655");const Na=Ea.exports,wa=p.extend({components:{RestaurantStatusLabel:_a,RestaurantStatusCaution:Sa,SpecialityLabelList:Na},props:{pageEntity:{type:Object,required:!0}},computed:{showFamiliarUserRecommendedCountText(){var i;const{count:t=0}=this.pageRestaurant.familiarUserRecommend||{},e=t>0,n=!!((i=this.entityRestaurant.kimeteAttributes)!=null&&i.familiarAttribute);return e&&n},entityRestaurant(){var t;return h((t=this.pageEntity.entity)==null?void 0:t.restaurant)},pageRestaurant(){var t;return h((t=this.pageEntity.page)==null?void 0:t.restaurant)},showSpecialityLabels(){var t,e;return((t=this.entityRestaurant.kimeteAttributes)==null?void 0:t.isUpcoming)||!!((e=this.entityRestaurant.kimeteAttributes)!=null&&e.familiarAttribute)},shouldShowStatusCaution(){var t;return this.entityRestaurant.businessStatus==="CONFIRMING"||!!((t=this.entityRestaurant.revisions[0])!=null&&t.canonicalUrl)},restaurantNameAndCityName(){const t=this.entityRestaurant.annotationToName||"";return this.entityRestaurant.cityName&&this.entityRestaurant.cityName.length>0?`${t} / ${this.entityRestaurant.cityName}`:t},count(){var t;return((t=this.pageRestaurant.familiarUserRecommend)==null?void 0:t.count.toString())||""},familiarCategoryName(){var t,e,n;return((n=(e=(t=this.entityRestaurant)==null?void 0:t.kimeteAttributes)==null?void 0:e.familiarAttribute)==null?void 0:n.name)||""}}});var Aa=function(){var i;var e=this,n=e._self._c;return e._self._setupProxy,n("section",{staticClass:"summary-section"},[n("div",{staticClass:"summary-section__restaurant-name"},[n("div",{staticClass:"title-box"},[n("div",{staticClass:"title-box__title-wrapper"},[n("restaurant-status-label",{staticClass:"title-box__labels",attrs:{membership:e.entityRestaurant.membership,status:e.entityRestaurant.businessStatus}}),n("h1",{staticClass:"title-box__title"},[e._v(e._s(e.entityRestaurant.name))])],1),n("p",{staticClass:"title-box__kana"},[e._v(e._s(e.restaurantNameAndCityName))]),e.shouldShowStatusCaution?n("restaurant-status-caution",{staticClass:"title-box__restaurant-status",attrs:{status:e.entityRestaurant.businessStatus,"canonical-url":(i=e.entityRestaurant.revisions[0])==null?void 0:i.canonicalUrl}}):e._e()],1)]),e.showSpecialityLabels?n("div",{staticClass:"summary-section__speciality-label"},[n("speciality-label-list",{attrs:{"is-upcoming":e.entityRestaurant.kimeteAttributes.isUpcoming,"familiar-attribute":e.entityRestaurant.kimeteAttributes.familiarAttribute}})],1):e._e(),e.showFamiliarUserRecommendedCountText?n("div",{staticClass:"summary-section__count"},[n("p",{staticClass:"familiar-users-count"},[e._v(e._s(e.familiarCategoryName)+"好き"+e._s(e.count)+"人がオススメ!")])]):e._e()])},Fa=[],Ta=m(wa,Aa,Fa,!1,null,"5cda726f");const Ia=Ta.exports;var be={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetReportUser"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"reportIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ReportId"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reports"},arguments:[{kind:"Argument",name:{kind:"Name",value:"reportIds"},value:{kind:"Variable",name:{kind:"Name",value:"reportIds"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:133}};be.loc.source={body:`query GetReportUser($reportIds: [ReportId!]!) { reports(reportIds: $reportIds) { id user { id name } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function V(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){V(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){V(i,e)}),t.definitions&&t.definitions.forEach(function(i){V(i,e)})}var Ye={};(function(){be.definitions.forEach(function(e){if(e.name){var n=new Set;V(e,n),Ye[e.name.value]=n}})})();function Ot(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=Ye[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=Ot(t,a);o&&n.definitions.push(o)}),n}$a(be,"GetReportUser");const Da=p.extend({components:{UserIcon:En},props:{reportKeywords:{type:Array,default:()=>[]}},data(){return{users:[]}},computed:{reportIds(){return this.keywordWithEmojis.map(t=>t.reportIds[0]).slice(0,3)},keywordWithEmojis(){return this.reportKeywords.filter(t=>{var e;return!!((e=t.highPriorityKeyword)!=null&&e.displayKind)}).map(t=>{var e;return{...t,emoji:Cn(((e=t.highPriorityKeyword)==null?void 0:e.displayKind)||"")}}).slice(0,4)}},async mounted(){this.reportIds.length>0&&(this.users=await this.fetchUserIcons()||[])},methods:{async fetchUserIcons(){try{const t=await this.$urql.value.query(be,{reportIds:this.reportIds},{requestPolicy:"network-only"}).toPromise();return t.data?t.data.reports.map(e=>({id:e.user.id,name:e.user.name})):null}catch(t){return console.error(t),null}}}});var Ma=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.reportIds.length>0?n("section",{staticClass:"keyword-section"},[n("header",{staticClass:"keyword-section__title"},[n("ul",{staticClass:"keyword-section__user-icons"},[e.users.length>0?[e.users[0]?n("li",{staticClass:"keyword-section__user-icon keyword-section__user-icon--first"},[n("user-icon",{staticClass:"user-icon",attrs:{id:e.users[0].id,alt:e.users[0].name,size:20}})],1):e._e(),e.users[1]?n("li",{staticClass:"keyword-section__user-icon keyword-section__user-icon--second"},[n("user-icon",{staticClass:"user-icon",attrs:{id:e.users[1].id,alt:e.users[1].name,size:20}})],1):e._e(),e.users[2]?n("li",{staticClass:"keyword-section__user-icon keyword-section__user-icon--third"},[n("user-icon",{staticClass:"user-icon",attrs:{id:e.users[2].id,alt:e.users[2].name,size:20}})],1):e._e()]:e._l(e.reportIds,function(i,r){return n("li",{key:`${r}_${i}`,staticClass:"keyword-section__user-icon"},[n("i",{staticClass:"user-icon user-icon-placeholder"})])})],2),n("h3",{staticClass:"keyword-section__title-text"},[e._v("口コミで多いワード")])]),n("div",{staticClass:"keyword-section__list-wrap"},[n("ul",{staticClass:"keyword-section__list"},e._l(e.keywordWithEmojis,function(i){return n("li",{key:i.keyword,staticClass:"keyword-section__item"},[e._v(" "+e._s(i.emoji)+e._s(i.keyword)+" ")])}),0)])]):e._e()},Ba=[],Pa=m(Da,Ma,Ba,!1,null,"b5ebdf04");const Oa=Pa.exports;var Re={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ReservationModalContentRefresh"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"date"}},type:{kind:"NamedType",name:{kind:"Name",value:"LocalDateInput"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"numOfPeople"}},type:{kind:"NamedType",name:{kind:"Name",value:"Uint32"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RestaurantId"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"selectableDates"},name:{kind:"Name",value:"reservableDateTimes"},arguments:[{kind:"Argument",name:{kind:"Name",value:"partySize"},value:{kind:"Variable",name:{kind:"Name",value:"numOfPeople"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"year"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"month"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"day"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timeZone"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"reservableTimes"},name:{kind:"Name",value:"reservableDateTimes"},arguments:[{kind:"Argument",name:{kind:"Name",value:"date"},value:{kind:"Variable",name:{kind:"Name",value:"date"}}},{kind:"Argument",name:{kind:"Name",value:"partySize"},value:{kind:"Variable",name:{kind:"Name",value:"numOfPeople"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"year"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"month"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"day"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timeZone"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"times"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"time"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hour"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"minute"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"reservablePartySizes"},arguments:[{kind:"Argument",name:{kind:"Name",value:"date"},value:{kind:"Variable",name:{kind:"Name",value:"date"}}}],directives:[]}]}}]}}]}}],loc:{start:0,end:698}};Re.loc.source={body:`query ReservationModalContentRefresh( $date: LocalDateInput $numOfPeople: Uint32 $restaurantId: RestaurantId! ) { entity { restaurant(id: $restaurantId) { selectableDates: reservableDateTimes(partySize: $numOfPeople) { type date { year month day timeZone } } reservableTimes: reservableDateTimes(date: $date, partySize: $numOfPeople) { type date { year month day timeZone } times { type time { hour minute } } } reservablePartySizes(date: $date) } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function U(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){U(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){U(i,e)}),t.definitions&&t.definitions.forEach(function(i){U(i,e)})}var je={};(function(){Re.definitions.forEach(function(e){if(e.name){var n=new Set;U(e,n),je[e.name.value]=n}})})();function Lt(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=je[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=Lt(t,a);o&&n.definitions.push(o)}),n}La(Re,"ReservationModalContentRefresh");const xa=p.extend({components:{IconTel:Nt},props:{phoneNumber:{type:String,required:!0},restaurantId:{type:Number,required:!0},telActionType:{type:String,required:!1,default:""}},computed:{telUrl(){return`tel:${this.phoneNumber}`},telActionValue(){return String(this.restaurantId)}},methods:{onClickTel(){c({type:"action",actionType:this.telActionType,actionValue:this.telActionValue})}}});var Va=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"reservation-modal-content-tel"},[n("icon-tel",{staticClass:"reservation-modal-content-tel__icon",attrs:{color:"#8C8C93"}}),n("div",{staticClass:"reservation-modal-content-tel__content"},[n("anchor-link",{staticClass:"reservation-modal-content-tel__phone-number",attrs:{to:e.telUrl},nativeOn:{click:function(i){return e.onClickTel.apply(null,arguments)}}},[e._v(" "+e._s(e.phoneNumber)+" ")]),n("div",{staticClass:"reservation-modal-content-tel__message"},[e._v(" お電話で予約した場合、PayPayポイントはもらえません ")])],1)],1)},Ua=[],qa=m(xa,Va,Ua,!1,null,"27fc51de");const Ka=qa.exports,Qa=p.extend({props:{tag:{type:String,default:"div"},options:{type:Array,required:!0},value:{type:[Number,String],required:!1,default:null},clickActionType:{type:String,required:!1,default:null},clickActionValue:{type:Object,required:!1,default:null}},computed:{selectingOption(){const{value:t}=this;return t===null?null:this.options.find(e=>e.value===t)||null},selectingLabel(){var t;return((t=this.selectingOption)==null?void 0:t.label)||""}},methods:{onInput(t){this.$emit("input",t.target.value)},sendClickLog(){this.clickActionType&&this.clickActionValue&&c({type:"action",actionType:this.clickActionType,actionValue:this.clickActionValue})}}});var Ha=function(){var e=this,n=e._self._c;return e._self._setupProxy,n(e.tag,{tag:"component",staticClass:"condition-selector",attrs:{translate:"no"}},[n("button",{staticClass:"condition-selector__item-trigger"},[e._v(e._s(e.selectingLabel)+" ")]),n("select",{staticClass:"condition-selector__select",domProps:{value:e.value},on:{input:e.onInput,click:e.sendClickLog}},e._l(e.options,function({value:i,label:r}){return n("option",{key:i,domProps:{value:i}},[e._v(e._s(r))])}),0)])},Wa=[],Ya=m(Qa,Ha,Wa,!1,null,"2d97379d");const ja=Ya.exports,Ga=76,xt=({hour:t,minute:e})=>{const n=i=>i.toString(10).padStart(2,"0");return`${n(t)}:${n(e)}`},O=t=>Mi(t,"yyyy-M-d"),za=t=>ri(Bi(t,"yyyy-M-d",new Date)),Za=p.extend({components:{ReservationStepBar:wi,IconPaypay:Mn,ReservationModalContentTel:Ka,ReservationModalSelector:ja,PaypayAppOtokuBanner:Ai},props:{pageEntity:{type:Object,required:!0},reserveDate:{type:Date,required:!1,default:null},showsTel:{type:Boolean,required:!1,default:!0},fetchFunction:{type:Function,required:!1,default:null}},data(){return{inputDateString:this.reserveDate?O(this.reserveDate):null,inputNumberOfCustomers:Qi,stocksPageEntity:null}},computed:{clickTelReservationModalActionType(){return f.CLICK_TEL_RESERVATION_MODAL},clickDateReservationModalActionType(){return f.CLICK_DATE_RESERVATION_MODAL},clickSeatsReservationModalActionType(){return f.CLICK_SEATS_RESERVATION_MODAL},clickTimeReservationModalActionType(){return f.CLICK_TIME_RESERVATION_MODAL},restaurantId(){var t,e;return((e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.id)||-1},paypayBonusAmountPerPerson(){var t,e;return(e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.paypayBonusAmountPerPerson},shouldShowPayPay(){return!!(this.paypayDinnerAmount||this.paypayLunchAmount)},paypayDinnerAmount(){var t;return((t=this.paypayBonusAmountPerPerson)==null?void 0:t.dinner)||0},paypayDinnerAmountText(){return(this.paypayDinnerAmount*Number(this.inputNumberOfCustomers)).toLocaleString()},paypayLunchAmount(){var t;return((t=this.paypayBonusAmountPerPerson)==null?void 0:t.lunch)||0},paypayLunchAmountText(){return(this.paypayLunchAmount*Number(this.inputNumberOfCustomers)).toLocaleString()},inputDate(){return this.inputDateString?za(this.inputDateString):null},shouldShowPhoneNumber(){var e,n,i;if(!this.showsTel)return!1;const t=(i=(n=(e=this.pageEntity.entity)==null?void 0:e.restaurant)==null?void 0:n.phoneNumbers)==null?void 0:i.length;return typeof t!="number"?!1:t>0&&this.phoneNumber!==null},phoneNumber(){var t,e,n;return((n=(e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.phoneNumbers)==null?void 0:n[0])||null},reservablePartySizes(){var t,e,n;return((n=(e=(t=this.stocksPageEntity)==null?void 0:t.entity)==null?void 0:e.restaurant)==null?void 0:n.reservablePartySizes)||[]},selectableDates(){var t,e,n,i,r;return this.stocksPageEntity?((e=(t=this.stocksPageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.selectableDates)||[]:((r=(i=(n=this.pageEntity)==null?void 0:n.entity)==null?void 0:i.restaurant)==null?void 0:r.selectableDates)||[]},dateStatusMap(){const t=new Map;return this.selectableDates.forEach(({date:e,type:n})=>{const{year:i,month:r,day:s}=e,l=new Date(i,r-1,s);t.set(`${i}-${r}-${s}`,{type:n,date:l})}),t},dateOptions(){return this.selectableDates.map(({date:t})=>{const e=new Date(t.year,t.month-1,t.day);return{label:this.convertDateLabel(e),value:O(e)}})},numberOfCustomerOptions(){return[...Array(99)].map((t,e)=>{const n=e+1;return{label:this.convertNumberOfCustomersLabel(n),value:n}})},timeStocks(){var n,i,r,s;const t=(s=(r=(i=(n=this.stocksPageEntity)==null?void 0:n.entity)==null?void 0:i.restaurant)==null?void 0:r.reservableTimes)==null?void 0:s.find(l=>{var a;return l.date.year===((a=this.inputDate)==null?void 0:a.getFullYear())&&l.date.month===this.inputDate.getMonth()+1&&l.date.day===this.inputDate.getDate()});if(!t)return[];const{times:e}=t;return e.reduce((l,a)=>a.type==="UNKNOWN"?l:[...l,{label:xt(a.time),type:a.type,time:{hour:a.time.hour,minute:a.time.minute}}],[])},defaultScrollPosition(){const t=this.timeStocks.findIndex(n=>{const{hour:i}=n.time;return i>=17}),e=t<0?0:t;return Ga*e}},watch:{async inputDateString(t,e){t!==e&&await this.refresh()},async inputNumberOfCustomers(t,e){t!==e&&await this.refresh()},async reserveDate(t,e){t!==e&&(this.inputDateString=O(t))}},async mounted(){this.setDefaultDate(),await this.refresh(),this.setDefaultNumberOfCustomers(),this.scrollToDefaultTime()},methods:{sendLogDateClick(){c({type:"action",actionType:this.clickDateReservationModalActionType,actionValue:{restaurant_id:this.restaurantId}})},sendLogNumberOfCustomersClick(){c({type:"action",actionType:this.clickSeatsReservationModalActionType,actionValue:{restaurant_id:this.restaurantId}})},async refresh(){if(this.fetchFunction!==null){this.stocksPageEntity=await this.fetchFunction();return}const t=Ui(this.inputDate||new Date),e=await this.$urql.value.query(Re,{restaurantId:Number(this.$route.params.restaurantId),date:t,numOfPeople:this.inputNumberOfCustomers},{fetchPolicy:"no-cache"}).toPromise();if(e.error){console.error(e.error);return}const{data:n}=e;n&&(this.stocksPageEntity=n,await this.$nextTick(),this.scrollToDefaultTime())},setDefaultDate(){if(!this.inputDateString){for(const{type:t,date:e}of this.dateStatusMap.values())if(t==="IMMEDIATE"||t==="REQUEST"){this.inputDateString=O(e);break}}},setDefaultNumberOfCustomers(){var t,e,n,i;for(const r of Hi)if((i=(n=(e=(t=this.stocksPageEntity)==null?void 0:t.entity)==null?void 0:e.restaurant)==null?void 0:n.reservablePartySizes)!=null&&i.includes(r)){this.inputNumberOfCustomers=r;break}},close(){this.$emit("close")},convertDateLabel(t){var r;const e=O(t),n=(r=this.dateStatusMap.get(e))==null?void 0:r.type;return n?`${n==="IMMEDIATE"||n==="REQUEST"?"◯":"×"} ${$i(t)}`:""},convertNumberOfCustomersLabel(t){return`${(this.reservablePartySizes?this.reservablePartySizes.find(i=>i===t):null)?"◯":"×"} ${t}名`},getReservationLocationUrlOfTimeStock(t){var e;return{name:"reserve-form",params:{restaurantId:this.restaurantId.toString()},query:{reserveDate:Di(this.inputDate),reserveTime:xt(t.time),numberOfCustomers:((e=this.inputNumberOfCustomers)==null?void 0:e.toString())||""}}},onClickTimeStock(t){c({type:"action",actionType:this.clickTimeReservationModalActionType,actionValue:t.type.toLowerCase()})},scrollToDefaultTime(){const t=this.defaultScrollPosition,{timeButtons:e}=this.$refs;e instanceof Element&&(e.scrollLeft=t)}}});var Xa=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"reservation-modal-content"},[n("a",{staticClass:"reservation-modal-content__close-button",on:{click:e.close}}),n("div",{staticClass:"reservation-modal-content__wrapper"},[n("div",{staticClass:"reservation-modal-content__header"},[n("reservation-step-bar",{attrs:{current:1}})],1),n("div",{staticClass:"reservation-modal-content__date-customers-section datetime-customers-section"},[e._m(0),n("ul",{staticClass:"datetime-customers-section__selector condition-selectors"},[n("reservation-modal-selector",{staticClass:"condition-selectors__selector",attrs:{tag:"li",options:e.dateOptions,"click-action-type":e.clickDateReservationModalActionType,"click-action-value":{restaurant_id:e.restaurantId}},model:{value:e.inputDateString,callback:function(i){e.inputDateString=i},expression:"inputDateString"}}),n("reservation-modal-selector",{staticClass:"condition-selectors__selector",attrs:{tag:"li",options:e.numberOfCustomerOptions,"click-action-type":e.clickSeatsReservationModalActionType,"click-action-value":{restaurant_id:e.restaurantId}},model:{value:e.inputNumberOfCustomers,callback:function(i){e.inputNumberOfCustomers=e._n(i)},expression:"inputNumberOfCustomers"}})],1)]),n("div",{staticClass:"reservation-modal-content__time-section datetime-customers-section"},[e._m(1),n("div",{ref:"timeButtons",staticClass:"datetime-customers-section__buttons time-buttons",class:{"time-buttons--has-list":e.timeStocks.length>0}},[e.timeStocks.length>0?n("ul",{staticClass:"time-buttons__list"},e._l(e.timeStocks,function(i){return n("li",{key:i.label,staticClass:"time-buttons__item"},[n("nuxt-link",{staticClass:"time-buttons__item-anchor",attrs:{to:e.getReservationLocationUrlOfTimeStock(i)},nativeOn:{click:function(r){return e.onClickTimeStock(i)}}},[n("p",{staticClass:"time-buttons__item-value"},[e._v(" "+e._s(i.label)+" ")]),i.type==="IMMEDIATE"?n("img",{staticClass:"time-buttons__item-status",attrs:{src:Wi,width:"15",height:"15",alt:"即予約"}}):e._e(),i.type==="REQUEST"?n("span",{staticClass:"time-buttons__item-status time-buttons__item-status--request"},[e._v("リクエスト")]):e._e()])],1)}),0):n("div",{staticClass:"time-buttons__empty"},[n("p",{staticClass:"time-buttons__empty-paragraph"},[e._v("この時間は空席がありません")]),n("p",{staticClass:"time-buttons__empty-paragraph"},[e._v("別の日程でお探しください")])])]),e.timeStocks.length>0?n("div",{staticClass:"datetime-customers-section__notice"},[e._v("リクエスト…お店からの返信をもって予約確定となります")]):e._e()])]),e.shouldShowPayPay?n("div",{staticClass:"paypay-information"},[n("div",{staticClass:"paypay-information__container"},[n("icon-paypay",{staticClass:"paypay-information__icon",attrs:{width:24,height:24}}),n("p",{staticClass:"paypay-information__text"},[n("span",{staticClass:"paypay-information__text-head"},[e._v("PayPayポイント")]),n("span",{staticClass:"paypay-information__text-em"},[n("em",{staticClass:"paypay-information__text-em-number"},[e._v(e._s(e.inputNumberOfCustomers))]),e._v("名の予約で")]),n("span",{staticClass:"paypay-information__text-em"},[n("em",{staticClass:"paypay-information__text-em-number paypay-information__text-point"},[e._v(e._s(e.paypayDinnerAmountText))]),n("span",{staticClass:"paypay-information__text-point"},[e._v("円相当")]),e._v("獲得!")]),n("span",{staticClass:"paypay-information__new-line"},[e._v("ランチは"+e._s(e.paypayLunchAmountText)+"円相当")])])],1),n("paypay-app-otoku-banner",{staticClass:"paypay-information__app-otoku",attrs:{"restaurant-id":e.restaurantId.toString()}})],1):e._e(),e.shouldShowPhoneNumber?n("reservation-modal-content-tel",{staticClass:"reservation-modal-content__tel",attrs:{"restaurant-id":e.restaurantId,"tel-action-type":e.clickTelReservationModalActionType,"phone-number":e.phoneNumber}}):e._e()],1)},Ja=[function(){var t=this,e=t._self._c;return t._self._setupProxy,e("div",{staticClass:"datetime-customers-section__description"},[e("em",{staticClass:"datetime-customers-section__description--text-em"},[t._v("ご来店日・人数")]),t._v("を選択してください ")])},function(){var t=this,e=t._self._c;return t._self._setupProxy,e("div",{staticClass:"datetime-customers-section__description"},[e("em",{staticClass:"datetime-customers-section__description--text-em"},[t._v("時間")]),t._v("を選択してください ")])}],es=m(Za,Xa,Ja,!1,null,"f636191c");const ts=es.exports,ns=p.extend({name:"ReservationModal",components:{ModalContainer:$n,ReservationModalContent:ts},props:{shouldShow:{type:Boolean,required:!0},pageEntity:{type:Object,required:!0},reserveDate:{type:Date,required:!1,default:null},showsTel:{type:Boolean,required:!1,default:!0}},computed:{inViewActionType(){return f.INVIEW_RESERVATION_MODAL},clickCloseReservationModalActionType(){return f.CLICK_CLOSE_RESERVATION_MODAL},restaurantId(){var t,e;return((e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.id)||0}},methods:{closeModal(){c({type:"action",actionType:this.clickCloseReservationModalActionType,actionValue:{restaurant_id:this.restaurantId}}),this.$emit("close")},pushInViewLog(){c({type:"action",actionType:this.inViewActionType,actionValue:{restaurant_id:this.restaurantId}})}}});var is=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("client-only",[n("modal-container",{attrs:{"should-show":e.shouldShow},on:{close:function(i){return e.$emit("close")}}},[n("div",{staticClass:"reservation-modal"},[n("div",{staticClass:"reservation-modal__overlay",on:{click:e.closeModal}}),n("in-view",{on:{enter:e.pushInViewLog}},[n("reservation-modal-content",{staticClass:"reservation-modal__content",attrs:{"page-entity":e.pageEntity,"reserve-date":e.reserveDate,"shows-tel":e.showsTel},on:{close:e.closeModal}})],1)],1)])],1)},as=[],ss=m(ns,is,as,!1,null,"fc3aa9cb");const Ce=ss.exports,rs=p.extend({components:{ModalContainer:$n,AnchorLink:Bn},props:{restaurantId:{type:Number,required:!0},phoneNumber:{type:String,default:""},shouldShow:{type:Boolean,default:!1}},computed:{phoneNumberHref(){return this.phoneNumber?`tel:${this.phoneNumber}`:""},actionType(){return v.CLICK_TEL_LEAVE_RESERVE},actionValue(){return String(this.restaurantId)}},methods:{closeModal(){this.$emit("close")},onClick(){c({type:"action",actionType:this.actionType,actionValue:this.actionValue})}}});var os=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("modal-container",{attrs:{"should-show":e.shouldShow,"should-show-close-button":!1,duration:300},on:{close:e.closeModal}},[n("div",{staticClass:"reservation-tel-modal"},[n("div",{staticClass:"reservation-tel-modal__overlay",on:{click:e.closeModal}}),n("div",{staticClass:"reservation-tel-modal__content tel-message"},[n("span",{staticClass:"close-button",on:{click:e.closeModal}}),n("p",{staticClass:"tel-message__title"},[e._v("お電話なら予約できることがあります")]),n("p",{staticClass:"tel-message__text"},[e._v(" キャンセルなどにより"),n("br"),e._v(" 電話で予約ができる場合があります。 ")]),n("div",{staticClass:"tel-message__button-wrapper"},[n("anchor-link",{ref:"reserveAfterTel",staticClass:"tel-message__button",attrs:{to:e.phoneNumberHref},nativeOn:{click:function(i){return e.onClick.apply(null,arguments)}}},[e._v("電話をかける")])],1)])])])},ls=[],us=m(rs,os,ls,!1,null,"7a7859ff");const Ee=us.exports,cs=p.extend({components:{ActionButton:he,InView:Dn,IconCalendar:Kn,DynamicLinkToRestaurant:Et,ReservationModal:Ce,ReservationTelModal:Ee},props:{pageEntity:{type:Object,required:!0}},data(){return{shouldShowReservationModal:!1,shouldShowReservationTelModal:!1}},computed:{entityRestaurant(){var t,e;return h((e=(t=this.pageEntity)==null?void 0:t.entity)==null?void 0:e.restaurant)},restaurantId(){return this.entityRestaurant.id},restaurantPhoneNumber(){return this.entityRestaurant.phoneNumbers.length>0?this.entityRestaurant.phoneNumbers[0]:""},isReservationAvailable(){return this.entityRestaurant.availableReservationServiceType!==null},shouldShowReserveButtonBlock(){return this.entityRestaurant.availableReservationServiceType==="RETTY"},shouldShowButton(){return this.entityRestaurant.availableReservationServiceType==="RETTY"},clickActionType(){return v.CLICK_RESERVE_BUTTON_SUMMARY_MOBILE},clickActionValue(){return String(this.entityRestaurant.id)},shouldShowWebToAppButton(){return!Tn(this.entityRestaurant.membership)},phoneNumber(){return this.entityRestaurant.phoneNumbers.length>0?this.entityRestaurant.phoneNumbers[0]:""},hasReservationPhoneNumber(){return this.entityRestaurant.phoneNumbers.length>0&&Rt(this.entityRestaurant.phoneNumbers[0])}},mounted(){this.isInFirstView()&&this.shouldShowReserveButtonBlock?this.$store.dispatch("mobileUi/hideRestaurantFooterSticky"):this.$store.dispatch("mobileUi/showRestaurantFooterSticky")},methods:{isInFirstView(){if(!(this.$el instanceof HTMLElement))return!1;const t=100,{offsetTop:e=0,offsetHeight:n=0}=this.$el;return e+n>window.scrollY-t},onCloseReservationModal(){this.shouldShowReservationModal=!1,this.openReservationTelModal()},openReservationModal(){this.$nextTick(()=>{this.shouldShowReservationModal=!0,c({type:"action",actionType:this.clickActionType,actionValue:this.clickActionValue})})},openReservationTelModal(){this.shouldShowReservationTelModal=!0},onCloseReservationTelModal(){this.shouldShowReservationTelModal=!1},onEnter(){this.isInFirstView()&&this.$store.dispatch("mobileUi/hideRestaurantFooterSticky")},onLeave(){this.$store.dispatch("mobileUi/showRestaurantFooterSticky")}}});var ds=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.shouldShowReserveButtonBlock?n("in-view",{attrs:{once:!1},on:{enter:e.onEnter,leave:e.onLeave}},[n("div",{staticClass:"reserve-block reserve-block--has-overlay"},[e.shouldShowButton?n("div",{staticClass:"reserve-block__inner"},[n("div",{staticClass:"overlay-baloon"},[n("p",{staticClass:"overlay-baloon__inner"},[n("em",{staticClass:"overlay-baloon__text overlay-baloon__text--strong"},[e._v("簡単3ステップ")]),n("span",{staticClass:"overlay-baloon__text"},[e._v("のネット予約!")])])]),n("action-button",{staticClass:"reserve-block__button",on:{click:e.openReservationModal}},[n("icon-calendar",{staticClass:"reserve-block__button-icon",attrs:{color:"#fff"}}),e._v(" 空席確認・予約する ")],1)],1):e._e()]),n("reservation-modal",{attrs:{"should-show":e.shouldShowReservationModal,"page-entity":e.pageEntity,"shows-tel":!1},on:{close:e.onCloseReservationModal}}),n("reservation-tel-modal",{attrs:{"should-show":e.shouldShowReservationTelModal,"restaurant-id":e.restaurantId,"phone-number":e.restaurantPhoneNumber},on:{close:e.onCloseReservationTelModal}})],1):e.shouldShowWebToAppButton?n("div",[n("div",{staticClass:"reserve-block"},[n("div",{staticClass:"reserve-block__inner"},[n("dynamic-link-to-restaurant",{staticClass:"reserve-block__app-button",attrs:{"restaurant-id":String(e.entityRestaurant.id),"button-text":"このお店をアプリで開く"}})],1)])]):e._e()},ms=[],ps=m(cs,ds,ms,!1,null,"ef04ddab");const vs=ps.exports,fs=p.extend({components:{IconTel:Nt,ActionButton:he},props:{restaurantId:{type:Number,default:null},isReservationAvailable:{type:Boolean,default:!1},isRettyReservationAvailable:{type:Boolean,default:!1},phoneNumber:{type:String,default:""}},computed:{reservationUrl(){return this.restaurantId==null?"":vi(this.restaurantId)},displayPhoneText(){return this.isReservationAvailable?"電話":"電話する"}},mounted(){this.isRettyReservationAvailable&&this.$emit("send-load-log")}});var _s=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("ul",{staticClass:"actions"},[n("li",{staticClass:"actions__item"},[n("action-button",{ref:"shareButton",staticClass:"button button--share",attrs:{"icon-type":"share","icon-color":"#f3ad47"},on:{click:function(i){return e.$emit("click-share")}}},[e._v(" 共有 ")])],1),e.phoneNumber&&e.isRettyReservationAvailable?n("li",{staticClass:"actions__item"},[n("action-button",{ref:"reserveButton",staticClass:"button button--reserve",attrs:{to:e.reservationUrl},on:{click:function(i){return e.$emit("click-reservation")}}},[n("icon-tel",{staticClass:"button__icon button__icon--tel",attrs:{color:"#fff"}}),e._v(" 電話・ネット予約 ")],1)],1):e.phoneNumber&&e.isReservationAvailable&&!e.isRettyReservationAvailable?[n("li",{staticClass:"actions__item"},[n("anchor-link",{ref:"telAnchorLink",staticClass:"button button--tel",attrs:{to:`tel:${e.phoneNumber}`},nativeOn:{click:function(i){return e.$emit("click-tel")}}},[n("icon-tel",{staticClass:"button__icon button__icon--tel",attrs:{color:"#fff"}}),e._v(" "+e._s(e.displayPhoneText)+" ")],1)],1),n("li",{staticClass:"actions__item"},[n("anchor-link",{ref:"reserveButton",staticClass:"button button--reserve",attrs:{target:"_blank",to:e.reservationUrl},nativeOn:{click:function(i){return e.$emit("click-reservation")}}},[e._v(" ネット予約 ")])],1)]:e.phoneNumber?n("li",{staticClass:"actions__item"},[n("anchor-link",{ref:"telAnchorLink",staticClass:"button button--tel",attrs:{to:`tel:${e.phoneNumber}`},nativeOn:{click:function(i){return e.$emit("click-tel")}}},[n("icon-tel",{staticClass:"button__icon button__icon--tel",attrs:{color:"#fff"}}),e._v(" "+e._s(e.displayPhoneText)+" ")],1)],1):e.isRettyReservationAvailable?n("li",{staticClass:"actions__item"},[n("action-button",{ref:"reserveButton",staticClass:"button button--reserve",attrs:{to:e.reservationUrl},on:{click:function(i){return e.$emit("click-reservation")}}},[e._v(" ネット予約 ")])],1):e._e()],2)},ks=[],hs=m(fs,_s,ks,!1,null,"66331be0");const ys=hs.exports,gs=p.extend({components:{IconTel:Nt,ActionButton:he},props:{restaurantId:{type:Number,required:!0},reservationUrl:{type:String,required:!0},serviceType:{type:String,required:!0},phoneNumber:{type:String,default:""}},computed:{isHitosara(){return this.serviceType==="HITOSARA"}},mounted(){this.reservationUrl&&this.$emit("send-load-log")}});var Ss=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("ul",{staticClass:"actions"},[e.isHitosara?[e.phoneNumber?n("li",{staticClass:"actions-item actions-item--hitosara"},[n("anchor-link",{ref:"telAnchorLink",staticClass:"button button--tel",attrs:{to:`tel:${e.phoneNumber}`},nativeOn:{click:function(i){return e.$emit("click-tel")}}},[n("icon-tel",{staticClass:"button__icon button__icon--tel",attrs:{color:"#fff"}}),e._v(" 電話する ")],1)],1):e._e(),n("li",{staticClass:"actions-item actions-item--hitosara"},[n("anchor-link",{ref:"reserveButton",staticClass:"button button--hitosara-reserve",attrs:{target:"_blank",rel:"noreferrer noopener nofollow",to:e.reservationUrl},nativeOn:{click:function(i){return e.$emit("click-reservation-link")}}},[n("p",{staticClass:"button__hitosara-reserve-text"},[e._v("ネット予約")]),n("p",{staticClass:"button__hitosara-reserve-subtext"},[e._v("ヒトサラ")])])],1),n("li",{staticClass:"actions-item actions-item--hitosara"},[n("action-button",{ref:"shareButton",staticClass:"button button--share",attrs:{"icon-type":"share","icon-color":"#f3ad47"},on:{click:function(i){return e.$emit("click-share")}}},[e._v(" 共有 ")])],1)]:[n("li",{staticClass:"actions-item"},[n("action-button",{ref:"shareButton",staticClass:"button button--share",attrs:{"icon-type":"share","icon-color":"#f3ad47"},on:{click:function(i){return e.$emit("click-share")}}},[e._v(" 共有 ")])],1),e.phoneNumber?n("li",{staticClass:"actions-item"},[n("anchor-link",{ref:"telAnchorLink",staticClass:"button button--tel",attrs:{to:`tel:${e.phoneNumber}`},nativeOn:{click:function(i){return e.$emit("click-tel")}}},[n("icon-tel",{staticClass:"button__icon button__icon--tel",attrs:{color:"#fff"}}),e._v(" 電話する ")],1)],1):e._e(),n("li",{staticClass:"actions-item"},[n("anchor-link",{ref:"reserveButton",staticClass:"button button--reserve",attrs:{target:"_blank",to:e.reservationUrl},nativeOn:{click:function(i){return e.$emit("click-reservation-link")}}},[e._v(" ネット予約 ")])],1)]],2)},bs=[],Rs=m(gs,Ss,bs,!1,null,"98909a5c");const Cs=Rs.exports,Es={line:"rtm_share_line",twitter:"rtm_share_twitter",facebook:"rtm_share_fb",copy:""},Ns=p.extend({components:{ActionButton:he},props:{shouldShow:{type:Boolean,default:!1},restaurantId:{type:Number,required:!0},restaurantUrl:{type:String,default:""},restaurantName:{type:String,default:""},restaurantAddress:{type:Object,default:null},restaurantCatchphrase:{type:String,default:""}},data(){return{shouldShowCopiedDialog:!1,isCopySucceed:!1}},computed:{lineShareUrl(){return`http://line.me/R/msg/text/?${encodeURIComponent(this.getShareMessage("line"))}`},xShareUrl(){return`https://www.twitter.com/share?url=${encodeURIComponent(this.getShareUrl("twitter"))}&text=${encodeURIComponent(this.restaurantName)}`},facebookShareUrl(){return`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(this.getShareUrl("facebook"))}`},supportsClipboardCopy(){return Qn()},copyShareMessageText(){return this.getShareMessage("copy")},clickActionValue(){return String(this.restaurantId)},lineClickActionType(){return v.CLICK_SHARE_BUTTON_LINE},lineClickActionValue(){return this.clickActionValue},xClickActionType(){return v.CLICK_SHARE_BUTTON_X_MOBILE},xClickActionValue(){return this.clickActionValue},facebookClickActionType(){return v.CLICK_SHARE_BUTTON_FACEBOOK_MOBILE},facebookClickActionValue(){return this.clickActionValue},copyClickActionType(){return v.CLICK_SHARE_BUTTON_COPY},copyClickActionValue(){return this.clickActionValue}},methods:{initShareModal(){this.shouldShowCopiedDialog=!1,this.isCopySucceed=!1},closeModal(){this.initShareModal(),this.$emit("close")},getShareUrl(t){const e=new URL(this.restaurantUrl),n=Es[t];return n.length>0&&e.searchParams.append("utm",n),e.toString()},getShareMessage(t){return[this.restaurantName,this.restaurantCatchphrase,fi(this.restaurantAddress),this.getShareUrl(t)].join(` `)},copyShareTextToClipboard(){if(!this.supportsClipboardCopy)return!1;const t=document.createElement("P");t.style.setProperty("display","hidden"),t.style.setProperty("white-space","pre-line"),t.innerHTML=this.getShareMessage("copy"),document.body.appendChild(t);const e=Hn(t);return document.body.removeChild(t),e},onClickLineShare(){c({type:"action",actionType:this.lineClickActionType,actionValue:this.lineClickActionValue})},onClickXShare(){c({type:"action",actionType:this.xClickActionType,actionValue:this.xClickActionValue})},onClickFacebookShare(){c({type:"action",actionType:this.facebookClickActionType,actionValue:this.facebookClickActionValue})},clickCopy(){c({type:"action",actionType:this.copyClickActionType,actionValue:this.copyClickActionValue}),this.copyShareTextToClipboard()&&(this.isCopySucceed=!0),this.shouldShowCopiedDialog=!0}}});var ws=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("transition",{attrs:{name:"fade"}},[e.shouldShow?n("div",{staticClass:"share-modal"},[n("div",{staticClass:"share-modal__overlay",on:{click:e.closeModal}}),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.shouldShowCopiedDialog,expression:"!shouldShowCopiedDialog"}],staticClass:"share-modal__content dialog"},[n("p",{staticClass:"dialog__title"},[e._v("店舗情報")]),n("p",{staticClass:"dialog__text"},[e._v(e._s(e.copyShareMessageText))]),n("hr",{staticClass:"dialog__spacer"}),n("div",{staticClass:"dialog__share-buttons share-button"},[n("anchor-link",{ref:"lineLink",staticClass:"share-button__button share-button__button--line",attrs:{to:e.lineShareUrl},nativeOn:{click:function(i){return e.onClickLineShare.apply(null,arguments)}}},[e._v(" LINE ")]),n("anchor-link",{ref:"twitterLink",staticClass:"share-button__button share-button__button--x",attrs:{to:e.xShareUrl},nativeOn:{click:function(i){return e.onClickXShare.apply(null,arguments)}}},[e._v(" X(Twitter) ")]),n("anchor-link",{ref:"facebookLink",staticClass:"share-button__button share-button__button--facebook",attrs:{to:e.facebookShareUrl},nativeOn:{click:function(i){return e.onClickFacebookShare.apply(null,arguments)}}},[e._v(" Facebook ")]),e.supportsClipboardCopy?n("action-button",{ref:"copyButton",staticClass:"share-button__button share-button__button--copy copy-button",nativeOn:{click:function(i){return e.clickCopy.apply(null,arguments)}}},[e._v(" コピー ")]):e._e()],1),n("div",{staticClass:"dialog__cancel-button-wrapper"},[n("button",{staticClass:"dialog__cancel-button",on:{click:e.closeModal}},[e._v("キャンセル")])])]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.shouldShowCopiedDialog,expression:"shouldShowCopiedDialog"}],staticClass:"share-modal__content copied-dialog",on:{click:e.closeModal}},[e.isCopySucceed?n("p",[e._v(" "+e._s(e.restaurantName)+"の情報をコピーしました。"),n("br"),e._v(" 他のアプリで貼り付けて使えます。 ")]):n("p",[e._v("コピーに失敗しました。")])])]):e._e()])},As=[],Fs=m(Ns,ws,As,!1,null,"7f3a25a7");const Ts=Fs.exports,Vt="ReservationBalloonState",Is=p.extend({props:{isEnabled:{type:Boolean,default:!1}},data(){return{shouldShow:!1,closeBaloonTimer:null}},computed:{showBalloon(){return this.isEnabled&&this.shouldShow}},watch:{showBalloon:{handler(t){t?this.closeBaloonTimer=setTimeout(()=>{this.shouldShow=!1},1e4):this.closeBaloonTimer!==null&&clearTimeout(this.closeBaloonTimer)}}},mounted(){if(sessionStorage.getItem(Vt)==="false")return;const e=ye(new Date);e.getHours()>=9&&e.getHours()<20||(this.shouldShow=!0)},methods:{closeBalloon(){this.shouldShow=!1,sessionStorage.setItem(Vt,"false")}}});var $s=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("transition",[e.showBalloon?n("div",{staticClass:"reservation-balloon"},[n("p",{staticClass:"reservation-balloon__text"},[n("span",{staticClass:"reservation-balloon__text--bold"},[e._v("この時間帯")]),e._v("でも"),n("span",{staticClass:"reservation-balloon__text--remarkable"},[e._v("ネット予約")]),e._v("ならできる! ")]),n("button",{staticClass:"reservation-balloon__close",on:{click:e.closeBalloon}})]):e._e()])},Ds=[],Ms=m(Is,$s,Ds,!1,null,"6f35c156");const Bs=Ms.exports,Ps=p.extend({components:{RestaurantActions:ys,AllianceRestaurantActions:Cs,ShareModal:Ts,ReservationModal:Ce,ReservationTelModal:Ee,AppealBalloon:Bs},props:{pageEntity:{type:Object,required:!0}},data(){return{shouldShowShareModal:!1,shouldShowReservationModal:!1,shouldShowReservationTelModal:!1}},computed:{entityRestaurant(){var t,e;return h((e=(t=this.pageEntity)==null?void 0:t.entity)==null?void 0:e.restaurant)},pageRestaurant(){var t,e;return h((e=(t=this.pageEntity)==null?void 0:t.page)==null?void 0:e.restaurant)},isPaidMemberReservationAvailable(){return this.entityRestaurant.availableReservationServiceType!==null},isRettyReservationAvailable(){return this.entityRestaurant.availableReservationServiceType==="RETTY"},isReservationAvailable(){return this.isPaidMemberReservationAvailable&&!this.isRettyReservationAvailable},restaurantId(){return this.entityRestaurant.id},restaurantUrl(){return this.entityRestaurant.url},restaurantName(){return this.entityRestaurant.name},restaurantAddress(){return this.entityRestaurant.address||null},restaurantCatchphrase(){var t,e;return((e=(t=this.pageRestaurant)==null?void 0:t.introduction)==null?void 0:e.catchphrase)||""},restaurantPhoneNumber(){return this.hasReservationPhoneNumber?this.entityRestaurant.phoneNumbers[0]:""},shouldShow(){return this.isPaidMemberReservationAvailable?this.$store.state.mobileUi.shouldShowRestaurantFooterSticky:!0},shouldShowAppealBalloon(){return this.shouldShow&&this.isPaidMemberReservationAvailable},hasReservationPhoneNumber(){return this.entityRestaurant.phoneNumbers.length>0&&Rt(this.entityRestaurant.phoneNumbers[0])},showClass(){return{"fixed-wrapper--show":this.shouldShow}},clickShareActionType(){return v.CLICK_SHARE_OVERLAY},clickShareActionValue(){return String(this.restaurantId)},clickTelActionType(){return this.isMember?v.CLICK_TEL_OVERLAY:v.CLICK_TEL_OVERLAY_NOT_MEMBER},clickTelActionValue(){return String(this.restaurantId)},clickReserveActionType(){return this.isRettyReservationAvailable?v.CLICK_RESERVE_RETTY_BUTTON_STICKY:v.CLICK_RESERVE_ALT_BUTTON_STICKY},clickReserveActionValue(){return String(this.restaurantId)},loadReserveActionType(){return this.isRettyReservationAvailable?v.LOAD_RESERVE_BUTTON_MOBILE:""},loadReserveActionValue(){return String(this.restaurantId)},allianceReservationUrl(){var t;return((t=this.entityRestaurant.allianceReservation)==null?void 0:t.url)||""},allianceReservationServiceType(){var t;return((t=this.entityRestaurant.allianceReservation)==null?void 0:t.serviceType)||null},isAllianceReservation(){return!this.isPaidMemberReservationAvailable&&this.allianceReservationUrl!==""&&this.allianceReservationServiceType!==null},isMember(){return Fn(this.entityRestaurant.membership)},clickAllianceReserveActionType(){switch(this.allianceReservationServiceType){case"HITOSARA":return v.CLICK_RESERVE_BUTTON_MOBILE_HITOSARA;case"HOTPEPPER":return v.CLICK_RESERVE_BUTTON_MOBILE_HOTPEPPER;case"YAHOO":return v.CLICK_RESERVE_BUTTON_MOBILE_YAHOO;case"GURUNAVI":return v.CLICK_RESERVE_BUTTON_MOBILE_GURUNAVI;default:return""}},clickAllianceReserveActionValue(){return String(this.restaurantId)},loadAllianceReserveActionType(){switch(this.allianceReservationServiceType){case"HITOSARA":return v.LOAD_RESERVE_BUTTON_MOBILE_HITOSARA;case"HOTPEPPER":return f.LOAD_RESERVE_BUTTON_MOBILE_HOTPEPPER;case"YAHOO":return f.LOAD_RESERVE_BUTTON_MOBILE_YAHOO;case"GURUNAVI":return v.LOAD_RESERVE_BUTTON_MOBILE_GURUNAVI;default:return"unknown-reserve-type"}},loadAllianceReserveActionValue(){return String(this.restaurantId)}},methods:{openShareModal(){this.shouldShowShareModal=!0,c({type:"action",actionType:this.clickShareActionType,actionValue:this.clickShareActionValue})},onCloseShareModal(){this.shouldShowShareModal=!1},onClickReservationButton(){this.isRettyReservationAvailable&&this.openReservationModal(),c({type:"action",actionType:this.clickReserveActionType,actionValue:this.clickReserveActionValue})},openReservationModal(){this.shouldShowReservationModal=!0,c({type:"action",actionType:this.clickReserveActionType,actionValue:this.clickReserveActionValue})},onCloseReservationModal(){this.shouldShowReservationModal=!1,this.openReservationTelModal()},openReservationTelModal(){this.hasReservationPhoneNumber&&(this.shouldShowReservationTelModal=!0)},onCloseReservationTelModal(){this.shouldShowReservationTelModal=!1},onClickTel(){c({type:"action",actionType:this.clickTelActionType,actionValue:this.clickTelActionValue})},onClickAllianceReservation(){c({type:"action",actionType:this.clickAllianceReserveActionType,actionValue:this.clickAllianceReserveActionValue})},sendLoadLog(){this.$refs.loadLog&&c({type:"action",actionType:this.loadReserveActionType,actionValue:this.loadReserveActionValue})},sendAllianceLoadLog(){this.$refs.loadAllianceLog&&c({type:"action",actionType:this.loadAllianceReserveActionType,actionValue:this.loadAllianceReserveActionValue})}}});var Os=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.entityRestaurant?n("div",[n("client-only",[n("appeal-balloon",{attrs:{"is-enabled":e.shouldShow&&e.isPaidMemberReservationAvailable}})],1),n("div",{staticClass:"fixed-wrapper",class:e.showClass},[n("div",{staticClass:"fixed-wrapper__inner"},[e.isAllianceReservation?n("alliance-restaurant-actions",{ref:"loadAllianceLog",attrs:{"restaurant-id":e.restaurantId,"reservation-url":e.allianceReservationUrl,"service-type":e.allianceReservationServiceType,"phone-number":e.restaurantPhoneNumber},on:{"send-load-log":e.sendAllianceLoadLog,"click-share":e.openShareModal,"click-tel":e.onClickTel,"click-reservation-link":e.onClickAllianceReservation}}):n("restaurant-actions",{ref:"loadLog",attrs:{"restaurant-id":e.restaurantId,"is-paid-member-reservation-available":e.isPaidMemberReservationAvailable,"is-retty-reservation-available":e.isRettyReservationAvailable,"is-reservation-available":e.isReservationAvailable,"phone-number":e.restaurantPhoneNumber},on:{"send-load-log":e.sendLoadLog,"click-share":e.openShareModal,"click-reservation":e.onClickReservationButton,"click-tel":e.onClickTel}})],1),n("client-only",[n("share-modal",{attrs:{"should-show":e.shouldShowShareModal,"restaurant-id":e.restaurantId,"restaurant-name":e.restaurantName,"restaurant-url":e.restaurantUrl,"restaurant-address":e.restaurantAddress,"restaurant-catchphrase":e.restaurantCatchphrase},on:{close:e.onCloseShareModal}}),e.isRettyReservationAvailable?n("reservation-modal",{attrs:{"should-show":e.shouldShowReservationModal,"page-entity":e.pageEntity,"shows-tel":e.hasReservationPhoneNumber},on:{close:e.onCloseReservationModal}}):e._e(),n("reservation-tel-modal",{attrs:{"should-show":e.shouldShowReservationTelModal,"restaurant-id":e.restaurantId,"phone-number":e.restaurantPhoneNumber},on:{close:e.onCloseReservationTelModal}})],1)],1)],1):e._e()},Ls=[],xs=m(Ps,Os,Ls,!1,null,"70f38626");const Vs=xs.exports,Us=p.extend({components:{SceneIcon:ge},props:{budget:{type:Object,default:null},location:{type:String,default:""},categories:{type:Array,default:()=>[]},holiday:{type:String,default:""},businessHours:{type:Object,default:null}},computed:{budgetList(){return this.budget?Ct(this.budget,this.businessHours):[]}}});var qs=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("dl",{staticClass:"useful-info-list"},[e.budgetList.length>0?n("div",{staticClass:"useful-info-list__item budgets"},e._l(e.budgetList,function(i){return n("div",{key:i.time,staticClass:"budgets__item"},[n("dt",{staticClass:"budgets__label budgets__label--scene"},[n("scene-icon",{attrs:{scene:i.time.toUpperCase(),width:16,height:16}})],1),n("dd",{staticClass:"useful-info-list__description"},[e._v(" "+e._s(i.text)+" ")])])}),0):e._e(),e.holiday.length>0?n("div",{staticClass:"useful-info-list__item"},[n("dt",{staticClass:"useful-info-list__label useful-info-list__label--holidays"}),n("dd",{staticClass:"useful-info-list__description"},[e._v(" "+e._s(e.holiday)+" ")])]):e._e(),e.location&&e.location.length>0?n("div",{staticClass:"useful-info-list__item"},[n("dt",{staticClass:"useful-info-list__label useful-info-list__label--location"}),n("dd",{staticClass:"useful-info-list__description"},[e._v(" "+e._s(e.location)+" ")])]):e._e(),e.categories.length>0?n("div",{staticClass:"useful-info-list__item"},[n("dt",{staticClass:"useful-info-list__label useful-info-list__label--categories"}),n("dd",{staticClass:"useful-info-list__description"},e._l(e.categories,function(i,r){return n("span",{key:`category-${r}`,staticClass:"category"},[e._v(e._s(i))])}),0)]):e._e()])},Ks=[],Qs=m(Us,qs,Ks,!1,null,"57717a04");const Hs=Qs.exports,Ws=p.extend({components:{RestaurantSummaryInformation:Hs,InPageLink:ta},props:{pageEntity:{type:Object,required:!0},isPaypayBonus:{type:Boolean,default:!1}},computed:{entityRestaurant(){var t;return h((t=this.pageEntity.entity)==null?void 0:t.restaurant)},slicedCategories(){return this.entityRestaurant.categories.slice(0,3)},inViewActionType(){return v.INVIEW_SUMMARY},inViewActionValue(){return String(this.entityRestaurant.id)},clickActionValue(){return String(this.entityRestaurant.id)},shouldShowSummaryLabel(){return this.isPaypayBonus}},methods:{pushInViewLog(){c({type:"action",actionType:this.inViewActionType,actionValue:this.inViewActionValue})}}});var Ys=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("section",{staticClass:"summary-section"},[n("div",{staticClass:"summary-section__info"},[n("div",{staticClass:"top-info"},[n("in-view",{ref:"inViewRestaurantSummaryInformation",staticClass:"top-info__block",on:{enter:e.pushInViewLog}},[n("restaurant-summary-information",{ref:"summary",attrs:{budget:e.entityRestaurant.budget,location:e.entityRestaurant.access.brief,categories:e.slicedCategories,holiday:e.entityRestaurant.holiday,"business-hours":e.entityRestaurant.businessHours}})],1),n("in-page-link",{staticClass:"top-info__anchor",attrs:{hash:"#anchor-restaurant-data"}},[e._v(" お店情報 ")])],1),e.shouldShowSummaryLabel?n("ul",{staticClass:"summary-labels"},[e.isPaypayBonus?n("li",{staticClass:"summary-labels__label"},[n("anchor-link",{staticClass:"summary-labels__item summary-labels__item--primary",attrs:{to:"/announce/paypay-bonus/"}},[e._v("PayPayポイントもらえる")])],1):e._e()]):e._e()])])},js=[],Gs=m(Ws,Ys,js,!1,null,"6dcb0aaf");const zs=Gs.exports,Zs=p.extend({props:{stock:{type:Object,required:!0}},computed:{displayDate(){return this.isToday?"今日":Pi(this.stock.date)},isSunday(){return ke(this.stock.date)===0},isSaturday(){return ke(this.stock.date)===6},itemLabel(){return oi[this.stock.reservationType]},disabled(){return[N.UNKNOWN,N.CLOSED].includes(this.stock.reservationType)},isToday(){return na(this.stock.date,new Date,"Asia/Tokyo")},textClasses(){return{"calendar-item__date--sunday":this.isSunday,"calendar-item__date--saturday":this.isSaturday,"calendar-item__date--today":this.isToday}},iconClass(){switch(this.stock.reservationType){case N.IMMEDIATE:return"calendar-item__icon--circle";case N.REQUEST:return"calendar-item__icon--square";case N.TEL:return"calendar-item__icon--tel";case N.UNKNOWN:return"calendar-item__icon--hyphen calendar-item__icon--disabled";case N.CLOSED:return"calendar-item__icon--hyphen calendar-item__icon--disabled";default:return""}}}});var Xs=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("button",{staticClass:"calendar-item",attrs:{disabled:e.disabled,"aria-label":e.itemLabel},on:{click:function(i){return e.$emit("click-calendar-item",e.stock)}}},[n("p",{staticClass:"calendar-item__date",class:e.textClasses},[e._v(" "+e._s(e.displayDate)+" ")]),n("span",{staticClass:"calendar-item__icon",class:e.iconClass})])},Js=[],er=m(Zs,Xs,Js,!1,null,"783ec407");const tr=er.exports,nr=p.extend({components:{ReservationCalendarItem:tr},props:{restaurantId:{type:Number,required:!0},stocks:{type:Array,required:!0},startDate:{type:Date,required:!0}},computed:{stocksFilledWithEmptyStock(){const t=Wn(this.stocks,this.startDate);return[t.slice(0,7),t.slice(7,Nn)]},calendarHeadingTitles(){return[...We.slice(ke(this.startDate),7),...We.slice(0,ke(this.startDate))]},reserveClickActionType(){return v.CLICK_RESERVATION_CALENDAR_SUBMIT},reserveClickActionValue(){return String(this.restaurantId)},telClickActionType(){return v.CLICK_RESERVATION_CALENDAR_TEL},telClickActionValue(){return String(this.restaurantId)},clickCalendarItemEventName(){return"click-calendar-item"}},methods:{getWeekdayStyleClass(t){switch(We.indexOf(t)){case 0:return"calendar__heading--sunday";case 6:return"calendar__heading--saturday";default:return""}},isReservableStock(t){return[N.IMMEDIATE,N.REQUEST].includes(t.reservationType)},isTelStock(t){return t.reservationType===N.TEL},emitEventWithSendingLog(t,e,n){e&&c({type:"action",actionType:e,actionValue:n}),this.$emit(this.clickCalendarItemEventName,t)}}});var ir=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("table",{staticClass:"calendar"},[n("tbody",[n("tr",e._l(e.calendarHeadingTitles,function(i){return n("th",{key:i,staticClass:"calendar__heading",class:e.getWeekdayStyleClass(i)},[e._v(" "+e._s(i)+" ")])}),0),e._l(e.stocksFilledWithEmptyStock,function(i,r){return n("tr",{key:`week-${r}`},e._l(i,function(s){return n("th",{key:s.date.toString(),staticClass:"calendar__cell"},[e.isReservableStock(s)?n("reservation-calendar-item",{attrs:{stock:s},on:{"click-calendar-item":function(l){return e.emitEventWithSendingLog(l,e.reserveClickActionType,e.reserveClickActionValue)}}}):e.isTelStock?n("reservation-calendar-item",{attrs:{stock:s},on:{"click-calendar-item":function(l){return e.emitEventWithSendingLog(l,e.telClickActionType,e.telClickActionValue)}}}):n("reservation-calendar-item",{attrs:{stock:s},on:{"click-calendar-item":function(l){return e.$emit(e.clickCalendarItemEventName,l)}}})],1)}),0)})],2)])},ar=[],sr=m(nr,ir,ar,!1,null,"d4c17d08");const rr=sr.exports,or=50,lr=p.extend({components:{ReservationCalendar:rr,ReservationModal:Ce,ReservationTelModal:Ee,IconPaypay:Mn},props:{pageEntity:{type:Object,required:!0},startDate:{type:Date,required:!0},isPaypayBonus:{type:Boolean,default:!1}},data(){return{selectedStock:null,shouldShowReservationModal:!1,shouldShowReservationTelModal:!1}},computed:{entityBookingV2(){var t;return h((t=this.pageEntity.entity)==null?void 0:t.bookingV2)},entityRestaurant(){var t;return h((t=this.pageEntity.entity)==null?void 0:t.restaurant)},restaurantId(){return this.entityRestaurant.id},restaurantPhoneNumber(){return this.entityRestaurant.phoneNumbers.length>0?this.entityRestaurant.phoneNumbers[0]:""},isReservationAvailable(){return!!this.entityBookingV2.isAvailable},stocks(){return this.entityBookingV2.stocks.map(t=>({date:qi(t.date),reservationType:t.reservationType}))},hasReservationPhoneNumber(){return this.entityRestaurant.phoneNumbers.length>0&&Rt(this.entityRestaurant.phoneNumbers[0])},phoneNumber(){return this.hasReservationPhoneNumber?this.entityRestaurant.phoneNumbers[0]:""},paypayBonusAmountPerPersonForDinner(){var t;return((t=this.entityRestaurant.paypayBonusAmountPerPerson)==null?void 0:t.dinner)||0},shouldShowPaypayBonusStrikeText(){return or{this.shouldShowReservationModal=!0});break;case"TEL":this.hasReservationPhoneNumber&&(window.location.href=`tel:${this.phoneNumber}`);break}},onCloseReservationModal(){this.shouldShowReservationModal=!1,this.openReservationTelModal()},openReservationTelModal(){this.shouldShowReservationTelModal=!0},onCloseReservationTelModal(){this.shouldShowReservationTelModal=!1}}});var ur=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.isReservationAvailable?n("section",[n("div",{staticClass:"content"},[n("header",{staticClass:"content__header"},[n("h2",{staticClass:"content__title"},[e._v("ネット予約")]),n("aside",{staticClass:"content__aside"},[e.isPaypayBonus&&e.paypayBonusAmountPerPersonForDinner?n("a",{staticClass:"content__aside-link",attrs:{href:"/announce/paypay-bonus/",target:"_blank"}},[n("div",{staticClass:"paypay-label"},[n("div",{staticClass:"paypay-label__bonus-block"},[n("icon-paypay",{staticClass:"paypay-label__icon",attrs:{width:16,height:16}}),e.shouldShowPaypayBonusStrikeText?[e._m(0),n("span",{staticClass:"paypay-label__text-arrow"},[e._v("→")])]:e._e(),n("span",{staticClass:"paypay-label__text-ss"},[e._v("最大")]),n("span",{staticClass:"paypay-label__bonus-amount"},[e._v(e._s(e.paypayBonusAmountPerPersonForDinner))]),n("span",{staticClass:"paypay-label__text-ss"},[e._v("円相当")]),n("span",[e._v("×人数")])],2),n("div",[e._v("獲得!")])]),e._m(1)]):e._e()])]),n("div",{staticClass:"content__body"},[e.isLogin?e._e():n("div",{staticClass:"content__body-notice"},[n("em",{staticClass:"content__body-notice--strong"},[e._v("会員登録なし")]),e._v("でネット予約できる! ")]),n("div",{staticClass:"content__calendar"},[n("reservation-calendar",{attrs:{"restaurant-id":e.entityRestaurant.id,stocks:e.stocks,"start-date":e.startDate},on:{"click-calendar-item":e.onClickCalendarItem}})],1),e._m(2)])]),n("reservation-modal",{attrs:{"should-show":e.shouldShowReservationModal,"page-entity":e.pageEntity,"reserve-date":e.selectedDate,"shows-tel":!1},on:{close:function(i){return e.onCloseReservationModal()}}}),n("reservation-tel-modal",{attrs:{"should-show":e.shouldShowReservationTelModal,"restaurant-id":e.restaurantId,"phone-number":e.restaurantPhoneNumber},on:{close:e.onCloseReservationTelModal}})],1):e._e()},cr=[function(){var t=this,e=t._self._c;return t._self._setupProxy,e("span",{staticClass:"paypay-label__text-strike"},[e("s",[t._v("50円")])])},function(){var t=this,e=t._self._c;return t._self._setupProxy,e("div",[e("img",{attrs:{src:Yi,alt:"",width:"13",height:"13"}})])},function(){var t=this,e=t._self._c;return t._self._setupProxy,e("div",{staticClass:"calendar-notes"},[e("div",{staticClass:"calendar-notes__legends"},[e("figure",{staticClass:"calendar-notes__legend calendar-notes__legend--circle"},[e("figcaption",{staticClass:"calendar-notes__caption"},[t._v("即予約OK")])]),e("figure",{staticClass:"calendar-notes__legend calendar-notes__legend--square"},[e("figcaption",{staticClass:"calendar-notes__caption"},[t._v("リクエスト予約")])]),e("figure",{staticClass:"calendar-notes__legend calendar-notes__legend--tel"},[e("figcaption",{staticClass:"calendar-notes__caption"},[t._v("電話予約")])])]),e("p",{staticClass:"calendar-notes__text"},[t._v(" ※リクエスト予約はお店からの連絡をもって予約確定となります。 ")])])}],dr=m(lr,ur,cr,!1,null,"170ae9a5");const mr=dr.exports,pr=14,vr=p.extend({components:{ReservationModal:Ce,ReservationTelModal:Ee},props:{pageEntity:{type:Object,required:!0}},data(){return{shouldShowReservationModal:!1,shouldShowReservationTelModal:!1}},computed:{entityRestaurant(){var t;return h((t=this.pageEntity.entity)==null?void 0:t.restaurant)},entityBookingV2(){var t;return h((t=this.pageEntity.entity)==null?void 0:t.bookingV2)},restaurantId(){return this.entityRestaurant.id},isReservationAvailable(){return!!this.entityBookingV2.isAvailable},restaurantPhoneNumber(){return this.entityRestaurant.phoneNumbers.length>0?this.entityRestaurant.phoneNumbers[0]:""},showDate(){const t=ye(new Date);return li(t,pr)},actionType(){return f.CLICK_MORE_RESERVATION_DATE_LINK}},methods:{onClickLink(){this.shouldShowReservationModal=!0,this.sendClickLog()},onCloseReservationModal(){this.shouldShowReservationModal=!1,this.openReservationTelModal()},openReservationTelModal(){this.shouldShowReservationTelModal=!0},onCloseReservationTelModal(){this.shouldShowReservationTelModal=!1},sendClickLog(){c({type:"action",actionType:this.actionType,actionValue:this.restaurantId})}}});var fr=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.isReservationAvailable?n("div",[n("button",{staticClass:"more-reservation-date-link",on:{click:e.onClickLink}},[n("p",{staticClass:"more-reservation-date-link__text"},[e._v(" 他の日付をみる ")])]),n("reservation-modal",{attrs:{"should-show":e.shouldShowReservationModal,"page-entity":e.pageEntity,"reserve-date":e.showDate,"shows-tel":!1},on:{close:function(i){return e.onCloseReservationModal()}}}),n("reservation-tel-modal",{attrs:{"should-show":e.shouldShowReservationTelModal,"restaurant-id":e.restaurantId,"phone-number":e.restaurantPhoneNumber},on:{close:e.onCloseReservationTelModal}})],1):e._e()},_r=[],kr=m(vr,fr,_r,!1,null,"63fb53e6");const hr=kr.exports,yr=p.extend({props:{pageEntity:{type:Object,required:!0},restaurantId:{type:Number,required:!0}},computed:{restaurantLinks(){var e,n;return(((n=(e=this.pageEntity.page)==null?void 0:e.restaurant)==null?void 0:n.links)||[]).map(i=>{const{sections:r}=i;return{isSection:Array.isArray(r)&&r.length>0,...i}})},keywordInViewActionType(){return v.INVIEW_KEYWORD},keywordInViewActionValue(){return this.restaurantId.toString()||""}},methods:{pushInViewLog(){c({type:"action",actionType:this.keywordInViewActionType,actionValue:this.keywordInViewActionValue})}}});var gr=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.restaurantLinks.length>0?n("div",[n("in-view",{on:{enter:e.pushInViewLog}},e._l(e.restaurantLinks,function(i){return n("section",{key:i.title,staticClass:"link"},[i.title?n("h2",{staticClass:"link__title"},[e._v(e._s(i.title))]):e._e(),i.links?n("ul",e._l(i.links,function(r){return n("li",{key:r.url,staticClass:"link__item link__item--button"},[n("a",{staticClass:"link__anchor link__anchor--button",attrs:{href:r.url}},[e._v(e._s(r.text))])])}),0):e._l(i.sections,function(r){return n("div",{key:r.title,staticClass:"link-child"},[n("h2",{staticClass:"link__title"},[e._v(e._s(r.title))]),n("ul",e._l(r.links,function(s){return n("li",{key:s.url,staticClass:"link__item link__item--text"},[n("a",{staticClass:"link__anchor link__anchor--text",attrs:{href:s.url}},[e._v(e._s(s.text))])])}),0)])})],2)}),0)],1):e._e()},Sr=[],br=m(yr,gr,Sr,!1,null,"b1eff5d2");const Rr=br.exports,Cr=p.extend({components:{ExpandedArea:B,InView:Dn},props:{pageEntity:{type:Object,default:null}},data:()=>({videoElement:void 0,hls:null,hasError:!1,onOnceEntered:!1}),computed:{restaurantId(){var t,e,n;return String((n=(e=(t=this.pageEntity)==null?void 0:t.entity)==null?void 0:e.restaurant)==null?void 0:n.id)||""},impActionType(){return f.INVIEW_RESTAURANT_VIDEO},clickActionType(){return f.CLICK_RESTAURANT_VIDEO_MOBILE},promotionVideo(){var t,e,n;return(n=(e=(t=this.pageEntity)==null?void 0:t.entity)==null?void 0:e.restaurant)==null?void 0:n.promotionVideo},shouldShowContents(){return!!this.promotionVideo},poster(){var t;return((t=this.promotionVideo)==null?void 0:t.thumbnailUrl)||""},updatedAtText(){var e;const t=(e=this.promotionVideo)!=null&&e.updatedAt?new Date(this.promotionVideo.updatedAt):null;return t?Oi(t):""}},async mounted(){if(!this.promotionVideo)return;const{default:t}=await ui(async()=>{const{default:e}=await import("./hls-BRcxkiAL.js");return{default:e}},[],import.meta.url);this.videoElement=this.$refs.pr,this.hls=t.isSupported()?new t:null,!(!this.promotionVideo||!this.videoElement||!this.hls)&&(this.videoElement.addEventListener("pause",()=>{this.sendPlayingLog()}),this.videoElement.addEventListener("play",()=>{this.sendPlayingLog()}),this.hls.on(t.Events.ERROR,()=>{this.hasError=!0}))},beforeDestroy(){var t,e;(t=this.videoElement)==null||t.removeEventListener("pause",()=>{this.sendPlayingLog()}),(e=this.videoElement)==null||e.removeEventListener("play",()=>{this.sendPlayingLog()})},methods:{onEnter(){this.onOnceEntered||(this.loadVideo(),c({type:"action",actionType:this.impActionType,actionValue:{restaurant_id:this.restaurantId}}))},loadVideo(){var t;this.hls&&this.videoElement?(this.hls.loadSource(this.promotionVideo.url),this.hls.attachMedia(this.videoElement),this.onOnceEntered=!0):(t=this.videoElement)!=null&&t.canPlayType("application/vnd.apple.mpegurl")&&(this.videoElement.src=this.promotionVideo.url,this.videoElement.load(),this.onOnceEntered=!0)},onLeave(){this.pause()},pause(){this.videoElement&&this.videoElement.pause()},sendPlayingLog(){if(!this.videoElement)return;const t=this.videoElement.paused;c({type:"action",actionType:this.clickActionType,actionValue:{restaurant_id:this.restaurantId,to_play:t}})}}});var Er=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.shouldShowContents?n("section",{staticClass:"content"},[n("in-view",{attrs:{once:!1},on:{enter:e.onEnter,leave:e.onLeave}},[n("header",{staticClass:"content__header"},[n("h2",{staticClass:"content__title"},[e._v("お店の動画")])]),n("div",{staticClass:"content__body pr-video-section"},[e.hasError?n("p",{staticClass:"pr-video-section__video pr-video-section__video--has-error"},[e._v("情報が取得できませんでした")]):n("div",{staticClass:"pr-video-section__video pr-video"},[n("video",{ref:"pr",staticClass:"pr-video__video",attrs:{height:"260",poster:e.poster,controls:"",muted:""},domProps:{muted:!0}})]),e.updatedAtText?n("p",{staticClass:"pr-video-section__notification"},[e._v("※動画は"+e._s(e.updatedAtText)+"時点の情報です。")]):e._e(),n("h3",{staticClass:"pr-video-section__video-title"},[e._v(e._s(e.promotionVideo.tagline))]),n("expanded-area",{staticClass:"pr-video-section__description",attrs:{height:40,"expand-text":"もっとみる"}},[e._v(e._s(e.promotionVideo.description))])],1)])],1):e._e()},Nr=[],wr=m(Cr,Er,Nr,!1,null,"93be2c1c");const Ar=wr.exports,Fr={};var Tr=function(){var e=this,n=e._self._c;return n("div",{staticClass:"carousel"},[n("div",{staticClass:"carousel__overflow"},[e._t("default")],2)])},Ir=[],$r=m(Fr,Tr,Ir,!1,null,"00ed629b");const L=$r.exports,Dr=p.extend({inheritAttris:!1});var Mr=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("footer",{staticClass:"read-more-block"},[n("anchor-link",e._b({staticClass:"read-more-block__text"},"anchor-link",e.$attrs,!1),[e._t("default")],2)],1)},Br=[],Pr=m(Dr,Mr,Br,!1,null,"23fae1fb");const T=Pr.exports,Or=p.extend({components:{RestaurantTopCarouselWrapper:L,CarouselImageModal:P,RestaurantReadMoreLink:T},props:{pageEntity:{type:Object,required:!0}},data(){return{selectedImageIndex:0,shouldShowImageModal:!1}},computed:{restaurantId(){var t,e;return((e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.id)||0},seatImages(){var e,n;return(((n=(e=this.pageEntity.entity)==null?void 0:e.owner)==null?void 0:n.seatsSummary.slice(0,4))||[]).map(i=>{var l,a,o,u;const r=((u=(o=(a=(l=this.pageEntity.entity)==null?void 0:l.restaurant)==null?void 0:a.reservableSeatsWithin)==null?void 0:o.find(y=>i.spotId===(y==null?void 0:y.id)||""))==null?void 0:u.id)||null,s=r?this.$router.resolve({name:"reserve-form",params:{restaurantId:this.restaurantId.toString()},query:{seatIds:r}}).href:null;return{id:i.spotId,imageUrl:i.imageUrl,caption:`${i.type}`,reservationLink:s}})},hasSeatImages(){return this.seatImages.length>0},shouldShowSeatMoreLink(){return this.seatImages.length>=4},linkText(){return"この席を予約する"},seatsUrl(){return this.$router.resolve({name:"restaurant-seats",params:this.$route.params}).href},inViewActionTypeSeatBlock(){return f.INVIEW_RESTAURANT_TOP_PHOTOS_SEAT},inViewActionTypeSeatItem(){return f.INVIEW_RESTAURANT_TOP_PHOTO_SEAT},clickLogActionTypeSeatItem(){return f.CLICK_RESTAURANT_TOP_PHOTO_SEAT},clickLogActionTypeSeatLink(){return v.CLICK_RESERVE_RESTAURANT_TOP_SEATS_MOBILE},inViewActionValue(){return{restaurant_id:this.restaurantId}},clickReadMoreActionType(){return v.CLICK_IMAGES_BLOCK_MORE}},methods:{onClick(t){c({type:"action",actionType:this.clickLogActionTypeSeatItem,actionValue:{restaurant_id:String(this.restaurantId),order_num:t}}),this.selectedImageIndex=t,this.$nextTick(()=>{this.shouldShowImageModal=!0})},onClose(){this.shouldShowImageModal=!1},onClickReservationLink(t,e){c({type:"action",actionType:this.clickLogActionTypeSeatLink,actionValue:{restaurant_id:String(this.restaurantId),spot_id:t,order_num:e}})},onClickReadMore(){c({type:"action",actionType:this.clickReadMoreActionType})},pushSeatBlockInViewLog(){c({type:"action",actionType:this.inViewActionTypeSeatBlock,actionValue:this.inViewActionValue})},pushSeatItemInViewLog(t){c({type:"action",actionType:this.inViewActionTypeSeatItem,actionValue:{restaurant_id:String(this.restaurantId),order_num:t}})}}});var Lr=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.hasSeatImages?n("section",{staticClass:"content"},[n("in-view",{on:{enter:e.pushSeatBlockInViewLog}},[n("header",{staticClass:"content__header"},[n("h2",{staticClass:"content__title"},[e._v("座席")])]),n("div",{staticClass:"content__body content__body--no-side"},[n("restaurant-top-carousel-wrapper",[n("ul",{staticClass:"list"},e._l(e.seatImages,function(i,r){return n("li",{key:i.id,staticClass:"list__item"},[n("div",{staticClass:"list__image-wrap",on:{click:function(s){return e.onClick(r)}}},[n("in-view",{on:{enter:function(s){return e.pushSeatItemInViewLog(r)}}},[n("x-img",{staticClass:"list__image",attrs:{src:i.imageUrl,width:640,height:640,alt:i.caption||""}})],1),n("div",{staticClass:"list__figure-area"},[i.caption?n("div",{staticClass:"list__caption"},[e._v(e._s(i.caption))]):e._e()])],1),i.reservationLink?n("anchor-link",{ref:"anchor",refInFor:!0,staticClass:"list__button",attrs:{href:i.reservationLink},nativeOn:{click:function(s){return e.onClickReservationLink(i.id,r)}}},[e._v(e._s(e.linkText))]):e._e()],1)}),0),n("carousel-image-modal",{attrs:{"should-show":e.shouldShowImageModal,"initial-slide-index":e.selectedImageIndex,slides:e.seatImages},on:{close:e.onClose}})],1),e.seatImages.length>0?n("restaurant-read-more-link",{staticClass:"content__read-more-link",attrs:{to:e.seatsUrl},nativeOn:{click:function(i){return e.onClickReadMore.apply(null,arguments)}}},[e._v(" 座席一覧をみる ")]):e._e()],1)])],1):e._e()},xr=[],Vr=m(Or,Lr,xr,!1,null,"7fa43f89");const Ur=Vr.exports,qr=p.extend({components:{DynamicLinkToRestaurant:Et},props:{pageEntity:{type:Object,required:!0}},data(){return{userAgent:"",transitionId:""}},computed:{restaurantId(){var t,e;return((e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.id)||0},isAppleDevice(){if(!this.userAgent)return!1;const t=new ci(this.userAgent);return t.os()==="iOS"||t.os()==="iPadOS"},src(){return this.isAppleDevice?"/ssr_assets/images/banner_app_ios.png":"/ssr_assets/images/banner_app_android.png"},clickActionTypeWebToApp(){return f.CLICK_WEB_TO_UP_DYNAMIC_LINK_FOOTER},inViewActionTypeWebToApp(){return f.INVIEW_WEB_TO_UP_DYNAMIC_LINK_FOOTER},actionValueWebToApp(){return{restaurant_id:this.restaurantId,transition_id:this.transitionId,position:"footer_banner"}}},mounted(){this.userAgent=navigator.userAgent,this.transitionId=wn()},methods:{pushInViewLog(){c({type:"action",actionType:this.inViewActionTypeWebToApp,actionValue:this.actionValueWebToApp})},pushClickLog(){c({type:"action",actionType:this.clickActionTypeWebToApp,actionValue:this.actionValueWebToApp})}}});var Kr=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("aside",{staticClass:"app-banner"},[n("in-view",{on:{enter:e.pushInViewLog}},[n("client-only",[n("dynamic-link-to-restaurant",{staticClass:"app-banner__anchor",attrs:{"restaurant-id":String(e.restaurantId),"transition-id":e.transitionId},nativeOn:{click:function(i){return e.pushClickLog.apply(null,arguments)}}},[n("img",{ref:"image",staticClass:"app-banner__image",attrs:{src:e.src,alt:"",loading:"lazy"}})])],1)],1)],1)},Qr=[],Hr=m(qr,Kr,Qr,!1,null,"207835cd");const Wr=Hr.exports,Yr=p.extend({components:{ExpandedArea:B},props:{pageEntity:{type:Object,required:!0}},computed:{pageRestaurant(){var t;return h((t=this.pageEntity.page)==null?void 0:t.restaurant)},entityRestaurant(){var t;return h((t=this.pageEntity.entity)==null?void 0:t.restaurant)},restaurantId(){var t;return((t=this.entityRestaurant)==null?void 0:t.id)||0},catchphrase(){var t;return((t=this.pageRestaurant.introduction)==null?void 0:t.catchphrase)||""},description(){var t;return((t=this.pageRestaurant.introduction)==null?void 0:t.description)||""},clickActionType(){return f.CLICK_RESTAURANT_OUTLINE_READMORE},clickActionValue(){return{restaurant_id:String(this.restaurantId)}}}});var jr=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.catchphrase||e.description?n("section",{staticClass:"outline"},[e.catchphrase?n("h2",{staticClass:"outline__catchphrase"},[e._v(" "+e._s(e.catchphrase)+" ")]):e._e(),e.description?n("div",{staticClass:"outline__description"},[n("expanded-area",{staticClass:"outline__description-body",attrs:{height:35,"click-action-type":e.clickActionType,"click-action-value":e.clickActionValue,"expand-text":"もっとみる"}},[e._v(e._s(e.description))])],1):e._e()]):e._e()},Gr=[],zr=m(Yr,jr,Gr,!1,null,"1ae99d25");const Zr=zr.exports,Xr=t=>{var n,i;const e=(i=(n=t.entity)==null?void 0:n.owner)==null?void 0:i.menus;return!!e&&e.length>0},Jr=t=>{var n,i,r;const e=(r=(i=(n=t==null?void 0:t.entity)==null?void 0:n.restaurant)==null?void 0:i.statistics)==null?void 0:r.menu;return e?ji(e):!1},eo=p.extend({components:{RestaurantTopCarouselWrapper:L,CarouselImageModal:P,RestaurantReadMoreLink:T},props:{pageEntity:{type:Object,required:!0}},data(){return{selectedImageIndex:0,shouldShowImageModal:!1}},computed:{restaurantId(){var t,e;return((e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.id)||0},menuUrl(){return this.$router.resolve({name:"restaurant-menu",params:this.$route.params,hash:"#dishes"}).href},menus(){var t,e;return((e=(t=this.pageEntity.entity)==null?void 0:t.owner)==null?void 0:e.menus)||[]},photoMenuItems(){return this.menus.map(t=>({name:t.name,imageUrl:t.image,priceText:t.price!==""&&!isNaN(Number(t.price))?_i(t.price):t.price,taxLabel:t.price!==""&&!isNaN(Number(t.price))?Ki(t.taxLabelType):""}))},imageUrls(){return this.photoMenuItems.map(t=>t.imageUrl)},slides(){return this.imageUrls.map(t=>({imageUrl:t}))},inViewActionType(){return v.INVIEW_MENU},inViewActionValue(){return String(this.restaurantId)},clickImageLogActionType(){return f.CLICK_RESTAURANT_RECOMMENDAD_MENU},shouldShowPhotoMenuList(){return Xr(this.pageEntity)},shouldShowReadMoreLink(){return Jr(this.pageEntity)}},methods:{makeClickImageLogActionValue(t){return{restaurant_id:String(this.restaurantId),order:String(t+1)}},openImageModal(t){this.selectedImageIndex=t,this.$nextTick(()=>{this.shouldShowImageModal=!0,c({type:"action",actionType:this.clickImageLogActionType,actionValue:this.makeClickImageLogActionValue(t)})})},onClose(){this.shouldShowImageModal=!1},pushInViewLog(){c({type:"action",actionType:this.inViewActionType,actionValue:this.inViewActionValue})}}});var to=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.shouldShowPhotoMenuList?n("section",{staticClass:"content photo-menu-block"},[e._m(0),n("div",{staticClass:"content__body content__body--no-side"},[n("in-view",{ref:"inViewPhotoMenu",on:{enter:e.pushInViewLog}},[n("restaurant-top-carousel-wrapper",[n("ul",{staticClass:"list"},e._l(e.photoMenuItems,function(i,r){return n("li",{key:i.imageUrl,staticClass:"list__item"},[i.imageUrl?[n("x-img",{staticClass:"list__image",attrs:{src:i.imageUrl,width:300,height:300,alt:""},nativeOn:{click:function(s){return e.openImageModal(r)}}}),i.name?n("h3",{staticClass:"list__title"},[e._v(" "+e._s(i.name)+" ")]):e._e(),i.priceText?n("p",{staticClass:"list__price"},[e._v(" "+e._s(i.priceText)+" "+e._s(i.taxLabel)+" ")]):e._e()]:e._e()],2)}),0),n("carousel-image-modal",{attrs:{"should-show":e.shouldShowImageModal,"initial-slide-index":e.selectedImageIndex,slides:e.slides},on:{close:e.onClose}})],1)],1)],1),e.shouldShowReadMoreLink?n("restaurant-read-more-link",{staticClass:"photo-menu-block__read-more-link",attrs:{to:e.menuUrl}},[e._v(" メニュー一覧をみる ")]):e._e()],1):e._e()},no=[function(){var t=this,e=t._self._c;return t._self._setupProxy,e("header",{staticClass:"content__header"},[e("h2",{staticClass:"content__title"},[t._v("オススメのメニュー")])])}],io=m(eo,to,no,!1,null,"3e78fbec");const ao=io.exports,so=t=>{var n,i;const e=(i=(n=t.page)==null?void 0:n.restaurant)==null?void 0:i.courses;return!!e&&!!e.reduce((r,s)=>r+s.courses.length,0)},ro={RETTY:v.LOAD_COURSES,YAHOO:v.LOAD_COURSES_BY_MOBILE_YAHOO,HOTPEPPER:v.LOAD_COURSES_BY_MOBILE_HOTPEPPER,GURUNAVI:v.LOAD_COURSES_BY_MOBILE_GURUNAVI},oo={RETTY:v.CLICK_RETTY_COURSE_DETAIL_VIEW_MENU_MOBILE,HOTPEPPER:v.CLICK_COURSE_HOTPEPPER_MOBILE_LINKLIST_V01,GURUNAVI:v.CLICK_COURSE_GURUNAVI_MOBILE_LINKLIST,YAHOO:v.CLICK_COURSE_YAHOO_MOBILE_LINKLIST},lo={HOTPEPPER:v.CLICK_COURSE_HOTPEPPER_MOBILE_LINKLISTMORE_V01,GURUNAVI:v.CLICK_COURSE_GURUNAVI_MOBILE_LINKLISTMORE,YAHOO:f.CLICK_COURSE_YAHOO_MOBILE_LINKLISTMORE},uo=p.extend({components:{RestaurantTopCarouselWrapper:L,RestaurantReadMoreLink:T,CarouselImageModal:P},props:{pageEntity:{type:Object,required:!0},shownCourseCount:{type:Number,default:3}},data(){return{selectedCourseId:0,shouldShowImageModal:!1,currentFilterType:"ALL"}},computed:{pageRestaurant(){var t;return h((t=this.pageEntity.page)==null?void 0:t.restaurant)},entityRestaurant(){var t;return h((t=this.pageEntity.entity)==null?void 0:t.restaurant)},restaurantId(){var t;return(t=this.entityRestaurant)==null?void 0:t.id},courseCatalog(){return this.pageRestaurant.courses||[]},titleSubText(){const{providerV2:t}=this.currentCourseCatalog,n={GURUNAVI:"ぐるなび",HOTPEPPER:"ホットペッパー",YAHOO:"PayPayグルメ"}[t];return n?`(${n})`:""},sectionLoadActionType(){const{providerV2:t}=this.currentCourseCatalog;return ro[t]||void 0},linkActionType(){const{providerV2:t}=this.currentCourseCatalog;return oo[t]||""},readMoreActionType(){const{providerV2:t}=this.currentCourseCatalog;return lo[t]||""},slides(){return(this.courses||[]).filter(t=>t.imageUrl).map(t=>({imageUrl:t.imageUrl}))},shouldShowCourseList(){return so(this.pageEntity)},currentCourseCatalog(){return Yn([...this.courseCatalog])[0]},courses(){return jn(this.currentCourseCatalog).slice(0,this.shownCourseCount)},phoneNumber(){return this.entityRestaurant.phoneNumbers[0]||""},isShownMoreLink(){return this.currentCourseCatalog.courses.length<=this.shownCourseCount?!1:(this.currentCourseCatalog.referralUrl||"")!==""}},mounted(){this.sendLoadLog()},methods:{openImageModal(t){this.selectedCourseId=t,this.$nextTick(()=>{this.shouldShowImageModal=!0})},onClose(){this.shouldShowImageModal=!1},sendLoadLog(){this.$refs.loadLog&&this.sectionLoadActionType&&c({type:"action",actionType:this.sectionLoadActionType,actionValue:this.restaurantId})},onClickDetail(){c({type:"action",actionType:this.linkActionType,actionValue:this.restaurantId})},onClicReadMore(){c({type:"action",actionType:this.readMoreActionType,actionValue:this.restaurantId})}}});var co=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.shouldShowCourseList?n("section",{ref:"loadLog",staticClass:"content course-block"},[n("header",{staticClass:"content__header"},[n("h2",{staticClass:"content__title"},[e._v("コース"),e.titleSubText.length>0?n("span",{staticClass:"content__sub-title"},[e._v(e._s(e.titleSubText))]):e._e()])]),n("div",{staticClass:"content__body content__body--no-side"},[n("restaurant-top-carousel-wrapper",[n("ul",{staticClass:"course"},e._l(e.courses,function(i,r){return n("li",{key:i.title,staticClass:"course-item"},[i.imageUrl?n("x-img",{staticClass:"course-item__image",attrs:{src:i.imageUrl||"",width:300,height:300,alt:""},on:{click:function(s){return e.openImageModal(r)}}}):n("img",{staticClass:"course-item__image",attrs:{src:Se,alt:"noimage"}}),n("div",{staticClass:"course-item__content"},[i.shouldShowCourseLabels?n("ul",{staticClass:"label"},e._l(i.labels,function(s){return n("li",{key:s,staticClass:"label__item"},[e._v(" "+e._s(s)+" ")])}),0):e._e(),n("h3",{staticClass:"course-item__title"},[e._v(" "+e._s(i.title)+" ")]),i.priceText!==""?n("div",{staticClass:"course-item__price"},[i.undiscountedPriceText?[n("span",{staticClass:"course-item__pre-discount-price"},[e._v(" "+e._s(i.undiscountedPriceText)+" ")]),n("span",{staticClass:"course-item__arrow"},[e._v(" ⇒ ")])]:e._e(),n("p",{staticClass:"course-item__discount-price"},[e._v(" "+e._s(i.priceText)+" "),i.taxLabel!==""?n("span",{staticClass:"course-item__price--tax"},[e._v(" "+e._s(i.taxLabel)+" ")]):e._e()])],2):e._e(),n("div",{staticClass:"course-item__footer"},[n("anchor-link",{ref:"courseDetailLink",refInFor:!0,staticClass:"actions__button",attrs:{to:i.url},nativeOn:{click:function(s){return e.onClickDetail.apply(null,arguments)}}},[e._v(" 詳細をみる ")])],1)])],1)}),0),n("carousel-image-modal",{attrs:{"should-show":e.shouldShowImageModal,"initial-slide-index":e.selectedCourseId,slides:e.slides},on:{close:e.onClose}})],1)],1),e.isShownMoreLink?n("restaurant-read-more-link",{ref:"showMoreLink",attrs:{to:e.currentCourseCatalog.referralUrl},nativeOn:{click:function(i){return e.onClicReadMore.apply(null,arguments)}}},[e._v(" コース一覧をみる ")]):e._e()],1):e._e()},mo=[],po=m(uo,co,mo,!1,null,"25b60b4b");const vo=po.exports,fo=t=>{var n,i;const e=(i=(n=t.entity)==null?void 0:n.owner)==null?void 0:i.recommendPoints;return!!e&&e.length>0},_o=p.extend({components:{RestaurantTopCarouselWrapper:L,ExpandedArea:B,CarouselImageModal:P},props:{pageEntity:{type:Object,required:!0}},data(){return{selectedImageIndex:0,shouldShowImageModal:!1}},computed:{restaurantId(){var t,e;return((e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.id)||0},recommendPoints(){var t;return h((t=this.pageEntity.entity)==null?void 0:t.owner).recommendPoints},imageUrls(){return this.recommendPoints.map(t=>t.image)},slides(){return this.imageUrls.map(t=>({imageUrl:t}))},clickImageActionType(){return f.CLICK_IMAGE_OWNER_RECOMMENDED_MOBILE},clickReadMoreActionType(){return f.CLICK_READMORE_OWNER_RECOMMENDED_MOBILE},shouldShowOwnerRecommendPoints(){return fo(this.pageEntity)}},methods:{openImageModal(t){c({type:"action",actionType:this.clickImageActionType,actionValue:this.clickActionValue(t)}),this.selectedImageIndex=t,this.$nextTick(()=>{this.shouldShowImageModal=!0})},onClose(){this.shouldShowImageModal=!1},clickActionValue(t){return{restaurant_id:String(this.restaurantId),order:String(t+1)}},onClickExpandedArea(t){c({type:"action",actionType:this.clickReadMoreActionType,actionValue:this.clickActionValue(t)})}}});var ko=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.shouldShowOwnerRecommendPoints?n("section",{staticClass:"content"},[e._m(0),n("div",{staticClass:"content__body content__body--no-side"},[n("restaurant-top-carousel-wrapper",[n("ul",{staticClass:"recommend-points"},e._l(e.recommendPoints,function(i,r){return n("li",{key:r,staticClass:"recommend-points__item recommend-item"},[i.image?n("x-img",{ref:"image",refInFor:!0,staticClass:"recommend-item__image",attrs:{src:i.image,width:300,height:300,alt:""},nativeOn:{click:function(s){return e.openImageModal(r)}}}):n("img",{staticClass:"recommend-item__image",attrs:{src:Se,width:"300",height:"300",alt:""}}),n("div",{staticClass:"recommend-item__content"},[n("h3",{staticClass:"recommend-item__title"},[e._v(" "+e._s(i.name)+" ")]),n("expanded-area",{staticClass:"recommend-item__description",attrs:{height:56},nativeOn:{click:function(s){return e.onClickExpandedArea(r)}}},[n("p",{staticClass:"recommend-item__text"},[e._v(e._s(i.description))])])],1)],1)}),0)])],1),n("carousel-image-modal",{attrs:{"should-show":e.shouldShowImageModal,"initial-slide-index":e.selectedImageIndex,slides:e.slides},on:{close:e.onClose}})],1):e._e()},ho=[function(){var t=this,e=t._self._c;return t._self._setupProxy,e("header",{staticClass:"content__header"},[e("h2",{staticClass:"content__title"},[t._v("お店からのオススメ")])])}],yo=m(_o,ko,ho,!1,null,"c4b8aa44");const go=yo.exports,So=t=>{var n,i;const e=(i=(n=t.entity)==null?void 0:n.owner)==null?void 0:i.news;return!!e&&e.length>0},bo=p.extend({components:{RestaurantReadMoreLink:T,ExpandedArea:B,CarouselImageModal:P},props:{pageEntity:{type:Object,required:!0}},data(){return{selectedImageIndex:0,shouldShowImageModal:!1}},computed:{newsItem(){var e,n;const t=(n=(e=this.pageEntity.entity)==null?void 0:e.owner)==null?void 0:n.news;return t&&t.length>0?t[0]:null},displayImageUrls(){var t;return((t=this.newsItem)==null?void 0:t.images.slice(0,2))||[]},slides(){return this.displayImageUrls.map(t=>({imageUrl:t}))},newsUrl(){return this.$router.resolve({name:"restaurant-news",params:this.$route.params}).href}},methods:{openImageModal(t){this.selectedImageIndex=t,this.$nextTick(()=>{this.shouldShowImageModal=!0})},onClose(){this.shouldShowImageModal=!1}}});var Ro=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.newsItem?n("section",{staticClass:"news-block"},[n("div",{staticClass:"content"},[e._m(0),n("div",{staticClass:"content__body"},[n("div",{staticClass:"news-item"},[n("div",{staticClass:"news-item__image-list"},e._l(e.displayImageUrls,function(i,r){return n("x-img",{key:i,staticClass:"news-item__image-item",attrs:{src:i,alt:"",width:300,height:300},on:{click:function(s){return e.openImageModal(r)}}})}),1),n("carousel-image-modal",{attrs:{"should-show":e.shouldShowImageModal,"initial-slide-index":e.selectedImageIndex,slides:e.slides},on:{close:e.onClose}}),n("p",{staticClass:"news-item__title"},[e._v(" "+e._s(e.newsItem.title)+" ")]),n("expanded-area",{staticClass:"news-item__description",attrs:{height:54}},[n("p",{staticClass:"news-item__text"},[e._v(e._s(e.newsItem.description))])])],1)])]),n("restaurant-read-more-link",{staticClass:"news-block__read-more-link",attrs:{to:e.newsUrl}},[e._v(" お店からのニュース一覧をみる ")])],1):e._e()},Co=[function(){var t=this,e=t._self._c;return t._self._setupProxy,e("header",{staticClass:"content__header"},[e("h3",{staticClass:"content__title"},[t._v("お店からのニュース")])])}],Eo=m(bo,Ro,Co,!1,null,"e7979f9d");const No=Eo.exports,Ln=t=>{var n,i;const e=(i=(n=t.entity)==null?void 0:n.restaurant)==null?void 0:i.rettyCoupons;return!!e&&e.length>0},wo=p.extend({components:{ExpandedArea:B,RestaurantReadMoreLink:T},props:{pageEntity:{type:Object,required:!0}},computed:{entityRestaurant(){var t;return h((t=this.pageEntity.entity)==null?void 0:t.restaurant)},shouldShowCoupon(){return Ln(this.pageEntity)},displayCoupons(){return this.entityRestaurant.rettyCoupons?this.entityRestaurant.rettyCoupons.length<=3?this.entityRestaurant.rettyCoupons:this.entityRestaurant.rettyCoupons.slice(0,3):[]},couponUrl(){return this.$router.resolve({name:"restaurant-menu",hash:"#course",params:this.$route.params}).href}},mounted(){this.sendLoadLog()},methods:{getExpireDateText(t){return An(ye(new Date(t)),"yyyy-MM-dd")},sendLoadLog(){this.$refs.loadLog&&c({type:"action",actionType:v.LOAD_RETTY_COUPON_BY_MOBILE,actionValue:this.entityRestaurant.id?String(this.entityRestaurant.id):null})}}});var Ao=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.shouldShowCoupon?n("section",{ref:"loadLog",staticClass:"retty-coupon-block content"},[e._m(0),n("div",{staticClass:"content__body"},[n("ul",{staticClass:"coupon-list"},e._l(e.displayCoupons,function(i,r){return n("li",{key:r,staticClass:"coupon-list__item"},[n("div",{staticClass:"coupon-item",class:{"coupon-item--marked":r===0}},[n("h3",{staticClass:"coupon-item__name"},[e._v(" "+e._s(i.name)+" ")]),n("expanded-area",{staticClass:"coupon-item__contents",attrs:{height:32,"expand-text":"もっとみる"}},[i.description?n("p",{staticClass:"coupon-item__text"},[e._v(" "+e._s(i.description)+" ")]):e._e(),i.offerCondition?n("p",{staticClass:"coupon-item__text"},[e._v(" "+e._s(i.offerCondition)+" ")]):e._e(),i.caution?n("p",{staticClass:"coupon-item__text"},[e._v(" "+e._s(i.caution)+" ")]):e._e()]),n("p",{staticClass:"coupon-item__expiration"},[e._v(" 有効期限:"+e._s(e.getExpireDateText(i.expireDate))+"まで ")])],1)])}),0)]),n("restaurant-read-more-link",{staticClass:"retty-coupon-block__read-more-link",attrs:{to:e.couponUrl}},[e._v(" クーポンをもっとみる("+e._s(e.entityRestaurant.rettyCoupons.length)+") ")])],1):e._e()},Fo=[function(){var t=this,e=t._self._c;return t._self._setupProxy,e("header",{staticClass:"content__header"},[e("h2",{staticClass:"content__title"},[t._v("お店からの特典")]),e("p",{staticClass:"content__description"},[t._v(" ファーストオーダーまたはご予約の際に「Rettyを見た!」とお伝えください")])])}],To=m(wo,Ao,Fo,!1,null,"09f434cb");const Io=To.exports,xn=t=>{const e=t==null?void 0:t.coupons;return!!e&&e.length>0},$o=p.extend({components:{ExpandedArea:B,RestaurantReadMoreLink:T},props:{entityRestaurant:{type:Object,required:!0},pageRestaurant:{type:Object,required:!0}},computed:{restaurantId(){return this.entityRestaurant.id},restaurantName(){return this.entityRestaurant.name},provider(){var t;return((t=this.couponCatalog)==null?void 0:t.provider)||null},couponCatalog(){return this.pageRestaurant.coupons.length>0?this.pageRestaurant.coupons[0]:null},coupons(){return this.couponCatalog===null?[]:this.couponCatalog.coupons.length>0?this.couponCatalog.coupons:[]},title(){return this.provider==="HOTPEPPER"?`${this.restaurantName}のお得なホットペッパークーポン`:`${this.restaurantName}のお得なクーポン`},description(){return this.provider==="HOTPEPPER"?"ホットペッパーグルメ提供クーポンです。ホットペッパーに遷移した際にクーポンをご使用いただけます":""},shouldShowCoupon(){return xn(this.pageRestaurant)},displayCoupons(){return this.shouldShowCoupon?this.coupons.length<=3?this.coupons:this.coupons.slice(0,3):[]},clickLogActionType(){return this.provider==="HOTPEPPER"?f.CLICK_HOTPEPPER_COUPON_MOBILE:f.CLICK_ALLIANCE_COUPON_LINK},clickLogActionValue(){return{provider:this.provider,restaurant_id:this.restaurantId}},clickMoreLogActionType(){return this.provider==="HOTPEPPER"?f.CLICK_HOTPEPPER_COUPON_MOBILE:f.CLICK_ALLIANCE_COUPON_LINK},isShownMoreLink(){var t;return!!((t=this.couponCatalog)!=null&&t.url)},couponUrl(){var t;return((t=this.couponCatalog)==null?void 0:t.url)||""},loadAllianceCouponActionType(){return this.provider==="HOTPEPPER"?v.LOAD_HOTPEPPER_COUPON_BY_MOBILE:f.LOAD_ALLIANCE_COUPON_BY_MOBILE},loadAllianceCouponActionValue(){return this.provider==="HOTPEPPER"?this.restaurantId:{provider:this.provider,restaurant_id:this.restaurantId}}},mounted(){this.sendLoadLog()},methods:{getExpireDateText(t){return An(ye(new Date(t)),"yyyy-MM-dd")},sendLoadLog(){this.$refs.loadLog&&c({type:"action",actionType:this.loadAllianceCouponActionType,actionValue:this.loadAllianceCouponActionValue})},onClickDetail(){c({type:"action",actionType:this.clickLogActionType,actionValue:this.clickLogActionValue})},onClickReadMore(){c({type:"action",actionType:this.clickMoreLogActionType,actionValue:this.clickLogActionValue})}}});var Do=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.shouldShowCoupon?n("section",{ref:"loadLog",staticClass:"retty-coupon-block content"},[n("header",{staticClass:"content__header"},[n("h2",{staticClass:"content__title"},[e._v(e._s(e.title))]),n("p",{staticClass:"content__description"},[e._v(" "+e._s(e.description))])]),n("div",{staticClass:"content__body"},[n("ul",{staticClass:"coupon-list"},e._l(e.displayCoupons,function(i,r){return n("li",{key:r,staticClass:"coupon-list__item"},[n("anchor-link",{attrs:{to:i.url||e.couponUrl},nativeOn:{click:function(s){return e.onClickDetail.apply(null,arguments)}}},[n("div",{staticClass:"coupon-item",class:{"coupon-item--marked":r===0}},[n("h3",{staticClass:"coupon-item__name"},[e._v(" "+e._s(i.title)+" ")]),i.text?n("expanded-area",{staticClass:"coupon-item__contents",attrs:{height:32,"expand-text":"もっとみる"}},[n("p",{staticClass:"coupon-item__text"},[e._v(" "+e._s(i.text)+" ")])]):e._e(),i.expiredAt?n("p",{staticClass:"coupon-item__expiration"},[e._v(" 有効期限:"+e._s(e.getExpireDateText(i.expiredAt))+"まで ")]):e._e()],1)])],1)}),0)]),n("restaurant-read-more-link",{staticClass:"retty-coupon-block__read-more-link",attrs:{to:e.couponUrl},nativeOn:{click:function(i){return e.onClickReadMore.apply(null,arguments)}}},[e._v(" クーポンをもっとみる("+e._s(e.coupons.length)+") ")])],1):e._e()},Mo=[],Bo=m($o,Do,Mo,!1,null,"11295bd8");const Po=Bo.exports,Oo=p.extend({components:{RestaurantNewsBlock:No,RestaurantTopRettyCouponBlock:Io,RestaurantTopAllianceCouponBlock:Po},props:{pageEntity:{type:Object,required:!0}},computed:{entityRestaurant(){var t;return((t=this.pageEntity.entity)==null?void 0:t.restaurant)||null},entityOwner(){var t;return((t=this.pageEntity.entity)==null?void 0:t.owner)||null},pageRestaurant(){var t;return((t=this.pageEntity.page)==null?void 0:t.restaurant)||null},shouldShowRettyCouponBlock(){return Ln(this.pageEntity)},shouldShowNewsBlock(){return So(this.pageEntity)},shouldShowAllianceCouponBlock(){return this.pageRestaurant?xn(this.pageRestaurant):!1},restaurantIdToString(){var t,e;return(t=this.entityRestaurant)!=null&&t.id?String((e=this.entityRestaurant)==null?void 0:e.id):""},couponProvider(){var t,e,n;return((n=(e=(t=this.pageRestaurant)==null?void 0:t.coupons)==null?void 0:e[0])==null?void 0:n.provider)||null}}});var Lo=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.shouldShowAllianceCouponBlock||e.shouldShowRettyCouponBlock||e.shouldShowNewsBlock?n("div",{staticClass:"section"},[e.entityRestaurant&&e.pageEntity?n("restaurant-top-retty-coupon-block",{staticClass:"section__content-block",attrs:{"page-entity":e.pageEntity,"entity-restaurant":e.entityRestaurant}}):e._e(),e.entityRestaurant&&e.pageRestaurant?n("restaurant-top-alliance-coupon-block",{staticClass:"section__content-block",attrs:{"page-restaurant":e.pageRestaurant,"entity-restaurant":e.entityRestaurant}}):e._e(),e.entityOwner?n("restaurant-news-block",{staticClass:"section__content-block",attrs:{"page-entity":e.pageEntity}}):e._e()],1):e._e()},xo=[],Vo=m(Oo,Lo,xo,!1,null,"9043e9f4");const Uo=Vo.exports,qo=p.extend({components:{UserIcon:En},props:{userId:{type:Number,required:!0},userName:{type:String,required:!0},userReportCounts:{type:Number,required:!0},isTopUser:{type:Boolean,required:!0},topUserSpecialities:{type:Array,default:()=>[]}},computed:{reportCountModifier(){return this.userReportCounts>=1e3?["report-user__report-count--over1000"]:this.userReportCounts>=500?["report-user__report-count--over500"]:this.userReportCounts>=100?["report-user__report-count--over100"]:[]}}});var Ko=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"report-user"},[n("user-icon",{staticClass:"report-user__icon",attrs:{id:e.userId,alt:e.userName,size:100,loading:"lazy"}}),n("div",{staticClass:"report-user__body"},[e.isTopUser?n("div",{staticClass:"report-user__topuser-section"},[n("span",{staticClass:"report-user__topuser-label"},[e._v("TOP USER")]),e._l(e.topUserSpecialities,function(i){return n("span",{key:i,staticClass:"report-user__topuser-speciality"},[e._v(e._s(i))])})],2):e._e(),n("div",{staticClass:"report-user__name-section"},[e.userReportCounts?n("span",{staticClass:"report-user__report-count",class:e.reportCountModifier},[e._v(e._s(e.userReportCounts)+"投稿")]):e._e(),n("span",{staticClass:"report-user__name"},[e._v(e._s(e.userName))])])])],1)},Qo=[],Ho=m(qo,Ko,Qo,!1,null,"794e2fe1");const Wo=Ho.exports,Yo=p.extend({props:{clickActionType:{type:String,default:""},keywords:{type:Array,default:()=>[]},current:{type:Number,default:0}},computed:{keywordWithEmojis(){return this.keywords.map(t=>{var e;return{...t,emoji:Cn(((e=t.highPriorityKeyword)==null?void 0:e.displayKind)||"")}})}},methods:{onClick(t){t.index!==this.current&&(c({type:"action",actionType:this.clickActionType,actionValue:{keyword_name:t==null?void 0:t.keyword}}),this.$emit("keyword-click",t.index))}}});var jo=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("nav",{staticClass:"keyword-nav"},[n("h3",{staticClass:"keyword-nav__title"},[e._v("口コミで多いワードを絞り込み")]),n("div",{staticClass:"keyword-nav__list-wrap"},[n("ul",{staticClass:"keyword-nav__list"},e._l(e.keywordWithEmojis,function(i){return n("li",{key:i.index,staticClass:"keyword-nav__item"},[n("button",{staticClass:"keyword-nav__button",class:{"keyword-nav__button--current":i.index===e.current},on:{click:function(r){return e.onClick(i)}}},[e._v(" "+e._s(`${i.emoji?i.emoji:""}${i.keyword}`))])])}),0)])])},Go=[],zo=m(Yo,jo,Go,!1,null,"cc8d6876");const Zo=zo.exports,Xo=p.extend({props:{reportStatistics:{type:Object,required:!0}},data(){return{isOpen:!1,recommendationStats:new ki(this.reportStatistics)}},computed:{wrapClass(){return{"recommendation-rate__body--open":this.isOpen}},arrowClass(){return{"recommendation-rate__title--open":this.isOpen}}},methods:{onClick(){this.isOpen=!this.isOpen}}});var Jo=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"recommendation-rate",on:{click:e.onClick}},[n("h3",{staticClass:"recommendation-rate__title",class:e.arrowClass},[e._v(" オススメ度 "),n("b",{staticClass:"recommendation-rate__title-em"},[e._v(e._s(e.recommendationStats.recommendationRate)+"%")])]),n("div",{staticClass:"recommendation-rate__body",class:e.wrapClass},[n("dl",{staticClass:"recommendation-rate__body-inner"},[n("div",{staticClass:"recommendation-rate__body-row rate-body"},[n("dt",{staticClass:"rate-body__title"},[e._v("行った")]),n("dd",[e._v(e._s(e.recommendationStats.total)+"人")])]),n("div",{staticClass:"recommendation-rate__body-row rate-body"},[n("dt",{staticClass:"rate-body__title"},[e._v("オススメ度")]),n("dd",[n("dl",{staticClass:"score-detail"},[e._l(e.recommendationStats.countPerScore,function({title:i,text:r},s){return[n("dt",{key:s,staticClass:"score-detail__title"},[e._v(e._s(i))]),n("dd",{key:s,staticClass:"score-detail__body"},[e._v(e._s(r))])]})],2)])])])])])},el=[],tl=m(Xo,Jo,el,!1,null,"a2bba9e4");const nl=tl.exports,il=p.extend({props:{width:{type:Number,default:130},height:{type:Number,default:26},year:{type:String,required:!0}}});var al=function(e,n){return e("svg",{class:n.data.staticClass,attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 180 36",width:`${n.props.width}px`,height:`${n.props.height}px`}},[e("defs",[e("linearGradient",{attrs:{id:"_名称未設定グラデーション_12","data-name":"名称未設定グラデーション 12",x1:"180",y1:"18",x2:"0",y2:"18",gradientUnits:"userSpaceOnUse"}},[e("stop",{attrs:{offset:"0","stop-color":"#d70025"}}),e("stop",{attrs:{offset:"1","stop-color":"#b40000"}})],1),e("linearGradient",{attrs:{id:"_名称未設定グラデーション_20","data-name":"名称未設定グラデーション 20",x1:"36.5",y1:"14.69",x2:"16",y2:"14.69",gradientUnits:"userSpaceOnUse"}},[e("stop",{attrs:{offset:"0","stop-color":"#ffc114"}}),e("stop",{attrs:{offset:"1","stop-color":"#fff269"}})],1),e("linearGradient",{attrs:{id:"_名称未設定グラデーション_20-2","data-name":"名称未設定グラデーション 20",x1:"34.1",y1:"27.17",x2:"18.37",y2:"27.17","xlink:href":"#_名称未設定グラデーション_20"}})],1),e("g",{attrs:{id:"score_middle_excellent"}},[e("g",{attrs:{id:"bg"}},[e("rect",{staticClass:"cls-3",attrs:{width:"180",height:"36",rx:"6",ry:"6"}})]),e("text",{staticClass:"cls-8",attrs:{transform:"translate(50 25.35)"}},[e("tspan",{staticClass:"cls-13",attrs:{x:"0",y:"0"}},[n._v("B")]),e("tspan",{staticClass:"cls-5",attrs:{x:"14.36",y:"0"}},[n._v("E")]),e("tspan",{staticClass:"cls-6",attrs:{x:"27.7",y:"0"}},[n._v("S")]),e("tspan",{staticClass:"cls-9",attrs:{x:"40.76",y:"0"}},[n._v("T")]),e("tspan",{staticClass:"cls-11",attrs:{x:"54.01",y:"0"}},[n._v("!")]),e("tspan",{attrs:{x:"60.5",y:"0"}},[n._v("!")])]),e("text",{staticClass:"cls-7",attrs:{transform:"translate(125 25.35)"}},[e("tspan",{staticClass:"cls-4",attrs:{x:"0",y:"0"}},[n._v(n._s(n.props.year[0]))]),e("tspan",{staticClass:"cls-10",attrs:{x:"10.16",y:"0"}},[n._v(n._s(n.props.year[1]))]),e("tspan",{staticClass:"cls-12",attrs:{x:"20.35",y:"0"}},[n._v(n._s(n.props.year[2]))]),e("tspan",{attrs:{x:"30.42",y:"0"}},[n._v(n._s(n.props.year[3]))])]),e("g",[e("path",{staticClass:"cls-2",attrs:{d:"M36.1,8.98c-.29-.14-.63-.05-.83.22l-3.75,5.14-4.69-7.99c-.2-.35-.63-.45-.95-.23-.09.06-.16.14-.22.23l-4.69,7.99-3.75-5.14c-.24-.32-.67-.37-.97-.12-.2.17-.29.44-.25.71l2.01,12.61c.02.54.43.97.93.98h14.6c.5-.01.9-.44.93-.98l2.01-12.61c.05-.33-.11-.67-.39-.81Z"}}),e("path",{staticClass:"cls-1",attrs:{d:"M32.91,25.88h-13.35c-.66,0-1.19.58-1.19,1.29,0,.71.53,1.29,1.19,1.29h13.35c.66,0,1.19-.58,1.19-1.29,0-.71-.53-1.29-1.19-1.29Z"}})])])])},sl=[],rl=m(il,al,sl,!0,null,"f21b119f");const ol=rl.exports,ll=p.extend({components:{LoadingIndicator:ia,ReportKeywords:Zo,RestaurantReportUser:Wo,RecommendationRate:nl,ReportScoreImage:aa,RestaurantReadMoreLink:T,MyBestLabel:ol,SceneIcon:ge,AnchorLink:Bn,DynamicLinkToRestaurant:Et},props:{pageEntity:{type:Object,required:!0},reportsRelatedKeyword:{type:Object,default:null}},data(){return{selectedImageIndex:0,selectedReport:void 0,currentKeywordIndex:0,cachedReports:[],processing:!1,transitionId:""}},computed:{hasReports(){return this.reports.length>0},wrapClasses(){return{"content__body--empty":!this.hasReports}},reportStatistics(){var t,e,n;return((n=(e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.statistics)==null?void 0:n.report)||null},keywords(){var e,n,i;const t=((i=(n=(e=this.pageEntity.entity)==null?void 0:e.restaurant)==null?void 0:n.report)==null?void 0:i.keywords)||[];return!t||t.length===0?[]:[{keyword:"すべて",count:0,reportIds:[],highPriorityKeyword:{displayKind:""},index:0},...t.map((r,s)=>({...r,index:s+1}))]},shouldShowKeyword(){var n;const t=this.keywords||[],e=((n=this.reportStatistics)==null?void 0:n.public)||0;return t.length>0&&e>=2},reports(){var t;return[...h((t=this.pageEntity.page)==null?void 0:t.restaurant).reports]},displayedReports(){return this.currentKeywordIndex===0?this.reports:this.cachedReports[this.currentKeywordIndex]},slicedDisplayReport(){return this.displayedReports.slice(0,8)},latestReport(){var t,e,n;return((n=(e=(t=this.pageEntity.page)==null?void 0:t.restaurant)==null?void 0:e.introduction)==null?void 0:n.latestReport)||null},restaurantId(){var t,e;return((e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.id)||0},latestUpdate(){return this.latestReport?Li(this.latestReport.postedAt):""},inViewActionType(){return v.INVIEW_REPORT},inViewActionValue(){return String(this.restaurantId)||"hove not id"},reportsUrl(){return this.$router.resolve({name:"restaurant-reports",params:this.$route.params}).href},webToAppDestination(){return Ii.UNDEFINED},clickActionTypeWebToApp(){return f.CLICK_WEB_TO_APP_DYNAMIC_LINK_MOBILE},inViewActionTypeWebToApp(){return f.INVIEW_WEB_TO_APP_DYNAMIC_LINK},keywordClickActionType(){return f.CLICK_REPORT_KEYWORD_FILTER_BUTTON_MOBILE},actionValueWebToApp(){return{restaurant_id:this.restaurantId,transition_id:this.transitionId,type:`show_${this.webToAppDestination}`,position:"empty_report"}}},watch:{reportsRelatedKeyword(t){this.cachedReports[this.currentKeywordIndex]=t.reports}},mounted(){this.hasReports||(this.transitionId=wn())},methods:{getTopUserSpecialities(t){return t?t==null?void 0:t.specialities:[]},roundReportCounts(t){return t>=1e3?1e3:t>=500?500:t>=100?100:0},resolveUrl(t){return this.$router.resolve(t).href},myBestYearText(t){return t?xi(t):""},formattedPostedAtDate(t){return t?Vi(t):""},hilightedText(t){const e=Gn(t,this.keywords[this.currentKeywordIndex].keyword),n=40;return e.length>1&&e[0].body.length>n?e.map((i,r)=>r!==0?i:{...i,body:i.body.slice(-1*n),isTrimed:!0}):e},onClickKeyword(t){const e=this.keywords.find(i=>i.index===t);if(this.currentKeywordIndex===(e==null?void 0:e.index))return;this.currentKeywordIndex=t,this.$refs["report-list"].scrollTo(0,0),this.currentKeywordIndex!==0&&this.cachedReports[this.currentKeywordIndex]===void 0&&(this.processing=!0,this.fetchReportFromIdsInKeyword((e==null?void 0:e.reportIds)||[]))},fetchReportFromIdsInKeyword(t){this.$emit("fetch-reports",{ids:t,callback:()=>{this.processing=!1}})},onClickDynamicLink(){c({type:"action",actionType:this.clickActionTypeWebToApp,actionValue:this.actionValueWebToApp})},pushInViewLog(){c({type:"action",actionType:this.inViewActionType,actionValue:this.inViewActionValue})},pushWebToAppInViewLog(){c({type:"action",actionType:this.inViewActionTypeWebToApp,actionValue:this.actionValueWebToApp})}}});var ul=function(){var i,r;var e=this,n=e._self._c;return e._self._setupProxy,n("section",{staticClass:"content"},[n("in-view",{on:{enter:e.pushInViewLog}},[n("header",{staticClass:"content__header"},[n("h2",{staticClass:"content__title"},[e._v("みんなの口コミ"+e._s((i=e.reportStatistics)!=null&&i.public?`(${(r=e.reportStatistics)==null?void 0:r.public})`:""))]),e.hasReports?n("div",{staticClass:"content__sub-information"},[e.latestReport?n("dl",{staticClass:"header-update"},[n("dt",{staticClass:"header-update__title"},[e._v("最新更新日時")]),n("dd",[n("time",{staticClass:"date"},[e._v(e._s(e.latestUpdate))])])]):e._e()]):e._e(),e.hasReports&&e.reportStatistics?n("div",{staticClass:"recommendation-rate-wrapper"},[n("recommendation-rate",{attrs:{"report-statistics":e.reportStatistics}})],1):e._e()]),n("div",{staticClass:"content__body"},[n("div",{staticClass:"content__body",class:e.wrapClasses},[e.hasReports?[e.shouldShowKeyword?n("report-keywords",{staticClass:"restaurant-reports-keyword",attrs:{"click-action-type":e.keywordClickActionType,keywords:e.keywords,current:e.currentKeywordIndex},on:{"keyword-click":e.onClickKeyword}}):e._e(),n("loading-indicator",{staticClass:"restaurant-reports-fetching",attrs:{"is-processing":e.processing}}),e.processing?e._e():n("div",{ref:"report-list",staticClass:"restaurant-reports",class:e.shouldShowKeyword?["restaurant-reports--has-keyword"]:[]},e._l(e.slicedDisplayReport,function(s){return n("article",{key:s.id,staticClass:"restaurant-report-container"},[n("anchor-link",{staticClass:"restaurant-report",attrs:{to:e.resolveUrl({name:"restaurant-report",params:{...e.$route.params,reportId:s.id.toString()}})}},[s.score&&s.yearOfMyBest&&s.postedAt?n("my-best-label",{staticClass:"restaurant-report__score",attrs:{year:e.myBestYearText(s.postedAt)}}):e._e(),s.score&&!s.yearOfMyBest?n("report-score-image",{staticClass:"restaurant-report__score",attrs:{score:s.score,"is-speech-bubble-icon":!1,loading:"lazy"}}):e._e(),n("div",{staticClass:"restaurant-report__text-wrapper"},[n("p",{staticClass:"restaurant-report__text"},[e.currentKeywordIndex===0?[e._v(" "+e._s(s.text)+" ")]:[e._l(e.hilightedText(s.text),function(l,a){return[l.isHighlight?n("mark",{key:`${l.body}_m_${a}`,staticClass:"restaurant-report__text-marked"},[e._v(e._s(l.body))]):n("span",{key:`${l.body}_u_${a}`,class:{"restaurant-report__text-trimed":l.isTrimed}},[e._v(e._s(l.body))])]})]],2),n("span",{staticClass:"restaurant-report__read-more"},[e._v(" 詳細をみる ")])]),n("restaurant-report-user",{staticClass:"restaurant-report__user",attrs:{"user-id":s.user.id,"user-name":s.user.name,"user-report-counts":e.roundReportCounts(s.user.reportCount),"is-top-user":!!s.user.topUserProfile,"top-user-specialities":e.getTopUserSpecialities(s.user.topUserProfile)}}),n("div",{staticClass:"restaurant-report__date"},[n("scene-icon",{staticClass:"restaurant-report__scene-icon",attrs:{scene:s.scene}}),n("time",{attrs:{datetime:s.postedAt}},[e._v(e._s(e.formattedPostedAtDate(s.postedAt)))])],1)],1)],1)}),0)]:n("div",{staticClass:"empty-content-block"},[n("p",{staticClass:"empty-content-block__main-text"},[e._v("このお店の口コミはまだ投稿されていません。")]),n("p",{staticClass:"empty-content-block__sub-text"},[e._v("初めての口コミを投稿しませんか?")]),n("in-view",{on:{enter:e.pushWebToAppInViewLog}},[e.transitionId?n("dynamic-link-to-restaurant",{staticClass:"empty-content-block__button",attrs:{"restaurant-id":String(e.restaurantId),"transition-id":String(e.transitionId),destination:e.webToAppDestination,"button-text":"口コミを投稿する"},nativeOn:{click:function(s){return e.onClickDynamicLink.apply(null,arguments)}}}):e._e()],1)],1)],2)]),e.hasReports?n("restaurant-read-more-link",{staticClass:"content__read-more-link",attrs:{to:e.reportsUrl}},[e._v(" 口コミ一覧をみる ")]):e._e()],1)],1)},cl=[],dl=m(ll,ul,cl,!1,null,"5621f6b5");const ml=dl.exports,pl=p.extend({props:{pageEntity:{type:Object,required:!0}},computed:{newsList(){var t,e;return((e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.yahooCreatorsProgramArticles)||[]}}});var vl=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.newsList.length>0?n("section",{staticClass:"section"},[n("h2",{staticClass:"section__title"},[e._v("このお店の特集記事")]),n("div",{staticClass:"section__list"},e._l(e.newsList,function(i){return n("anchor-link",{key:i.url,staticClass:"section__item",attrs:{to:i.url}},[n("img",{staticClass:"section__item-image",attrs:{src:i.thumbnailUrl,alt:""}}),n("p",{staticClass:"section__item-text"},[e._v(" "+e._s(i.title)+" ")])])}),1)]):e._e()},fl=[],_l=m(pl,vl,fl,!1,null,"34e5ce6d");const kl=_l.exports,hl=p.extend({props:{pageEntity:{type:Object,required:!0},restaurantId:{type:Number,required:!0}},computed:{pageRestaurant(){var t;return h((t=this.pageEntity.page)==null?void 0:t.restaurant)},clickReservableSameAreaRestaurantsLinkActionType(){return f.CLICK_RESERVABLE_SAME_AREA_RESTAURANTS_LINK}},methods:{onClick(){c({type:"action",actionType:this.clickReservableSameAreaRestaurantsLinkActionType,actionValue:this.restaurantId.toString()||""})}}});var yl=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.pageRestaurant.reservableSameAreaRestaurantsLink.url||e.pageRestaurant.reservableSameAreaRestaurantsLink.text?n("anchor-link",{staticClass:"reservable-same-area-restaurants-link",attrs:{href:e.pageRestaurant.reservableSameAreaRestaurantsLink.url},nativeOn:{click:function(i){return e.onClick.apply(null,arguments)}}},[n("span",{staticClass:"reservable-same-area-restaurants-link__text"},[e._v(e._s(e.pageRestaurant.reservableSameAreaRestaurantsLink.text))])]):e._e()},gl=[],Sl=m(hl,yl,gl,!1,null,"b2cf2073");const bl=Sl.exports,Rl=p.extend({props:{pageEntity:{type:Object,required:!0}},computed:{restaurantId(){var t,e;return((e=(t=this.pageEntity.entity)==null?void 0:t.restaurant)==null?void 0:e.id)||void 0},actionType(){return f.CLICK_RESTAURANT_TOP_OWNER_MESSAGE_MOBILE},restaurantLandingPageUrl(){return"https://omise.retty.me/"}},methods:{onClick(){c({type:"action",actionType:this.actionType,actionValue:this.restaurantId})}}});var Cl=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("section",{staticClass:"message-to-owner-block"},[n("div",{staticClass:"message-to-owner-block__inner"},[n("div",{staticClass:"message-to-owner-block__contents"},[n("h3",{staticClass:"message-to-owner-block__title"},[e._v(" 店舗の運営者様・オーナー様へ ")]),n("p",{staticClass:"message-to-owner-block__text"},[e._v(" お店のページをPRしたりお店の写真やメニューを編集することができます ")]),n("anchor-link",{staticClass:"message-to-owner-block__link",attrs:{to:e.restaurantLandingPageUrl,rel:"nofollow"},nativeOn:{click:function(i){return e.onClick.apply(null,arguments)}}},[e._v("詳しくはこちら▶︎")])],1)])])},El=[],Nl=m(Rl,Cl,El,!1,null,"3e1b16ae");const wl=Nl.exports,Al=p.extend({components:{SceneIcon:ge,FamiliarLabel:On},props:{item:{type:Object,required:!0}}});var Fl=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"restaurant-item"},[n("div",{staticClass:"restaurant-item__header"},[n("div",{staticClass:"restaurant-item__image"},[e.item.imageUrl?n("x-img",{attrs:{src:e.item.imageUrl,width:224,height:126,alt:e.item.name}}):n("img",{staticClass:"restaurant-item__image",attrs:{src:Se,alt:"noimage"}})],1),e.item.familiarAttributeName?n("div",{staticClass:"restaurant-item__shadow"},[n("div",{staticClass:"restaurant-item__familiar-label"},[n("familiar-label",{attrs:{level:e.item.familiarAttributeLevel,name:e.item.familiarAttributeName,size:"small"}})],1)]):e._e()]),n("div",{staticClass:"restaurant-item__content restaurant-item-content"},[n("div",{staticClass:"restaurant-item__name"},[e._v(e._s(e.item.name))]),n("p",{staticClass:"restaurant-item__summary"},[e._v(" "+e._s([e.item.subAreaName,e.item.categoryName].join(" / "))+" ")]),e.item.lunchBudgetUpper||e.item.dinnerBudgetUpper?n("div",{staticClass:"budgets"},[e.item.dinnerBudgetUpper?n("dl",{key:"dinner",staticClass:"budgets__item"},[n("dt",{staticClass:"budgets__label budgets__label--scene"},[n("scene-icon",{attrs:{scene:"DINNER",width:14,height:14}})],1),n("dd",[e._v(" "+e._s(e.item.dinnerBudgetUpper)+" ")])]):e._e(),e.item.lunchBudgetUpper?n("dl",{key:"lunch",staticClass:"budgets__item"},[n("dt",{staticClass:"budgets__label budgets__label--scene"},[n("scene-icon",{attrs:{scene:"LUNCH",width:14,height:14}})],1),n("dd",[e._v(" "+e._s(e.item.lunchBudgetUpper)+" ")])]):e._e()]):e._e(),n("ul",{staticClass:"label-list"},[e.item.hasPaypayBonus?n("li",{staticClass:"label-list__item"},[n("span",{staticClass:"label-list__paypay"},[e._v("PayPayポイント")]),e._v("もらえる")]):e._e(),e.item.canNetReserve?n("li",{staticClass:"label-list__item"},[e._v("ネット予約可")]):e._e()])])])},Tl=[],Il=m(Al,Fl,Tl,!1,null,"628cad52");const $l=Il.exports,Dl="YEAR_END_PARTY",Ml="CHRISTMAS",Bl="26",Pl="25003",Ol=di({components:{RestaurantItem:$l},props:{recommendRestaurantIdsFor202412:{type:Object,required:!0}},data(){return{recommendRestaurantListFor202412:{},processing:!1}},computed:{recommendRestaurantListFor202412ItemInviewActionType(){return f.INVIEW_RECOMMEND_RESTAURANT_FOR_202412_ITEM},recommendRestaurantListFor202412InViewActionType(){return f.INVIEW_RECOMMEND_RESTAURANT_FOR_202412},recommendRestaurantListFor202412InViewActionValue(){return{pur_id:this.purposeIdByRecommendType}},recommendRestaurantListFor202412LoadActionType(){return f.LOAD_RECOMMEND_RESTAURANT_FOR_202412_ITEM},recommendRestaurantListFor202412LoadActionValue(){return{pur_id:this.purposeIdByRecommendType}},isYearEndParty(){return this.recommendRestaurantListFor202412.recommendType===Dl},isChristmas(){return this.recommendRestaurantListFor202412.recommendType===Ml},purposeIdByRecommendType(){return this.isYearEndParty?Bl:this.isChristmas?Pl:""}},async mounted(){this.recommendRestaurantListFor202412=await this.fetchRecommendRestaurantListFor202412(this.recommendRestaurantIdsFor202412),this.sendLoadLog()},methods:{async fetchRecommendRestaurantListFor202412(t){const e=t.restaurantIds||[];try{this.processing=!0;const n=await this.$urql.value.query(zn,{restaurantIds:e},{requestPolicy:"network-only"}).toPromise();if(!n.data)return{recommendType:"UNKNOWN",restaurants:[],viewAllRestaurantsLink:""};const i=n.data.restaurants.filter(r=>r!==null).map(r=>{var l,a,o,u,y,g,_,w;const s=Ct(r.budget,r.businessHours);return{id:r.id,url:r.url,name:r.name,lunchBudgetUpper:((l=s.find(E=>E.time==="lunch"))==null?void 0:l.text)||null,dinnerBudgetUpper:((a=s.find(E=>E.time==="dinner"))==null?void 0:a.text)||null,hasPaypayBonus:(o=r.acpParams.purposes)==null?void 0:o.some(E=>E.id.toString()===_e),canNetReserve:(u=r.acpParams.purposes)==null?void 0:u.some(E=>E.id.toString()===mi),subAreaName:r.acpParams.subArea.name,categoryName:((y=r.acpParams.categories)==null?void 0:y[0].name)||"",familiarAttributeName:((g=r.kimeteAttributes.familiarAttribute)==null?void 0:g.name)||null,familiarAttributeLevel:((_=r.kimeteAttributes.familiarAttribute)==null?void 0:_.level)||null,imageUrl:((w=r.preferenceImages)==null?void 0:w[0].image.url)||""}});return this.processing=!1,{recommendType:t.recommendType,restaurants:i,viewAllRestaurantsLink:t.viewAllRestaurantsLink}}catch(n){return console.error(n),{recommendType:"UNKNOWN",restaurants:[],viewAllRestaurantsLink:""}}},onEnter(){c({type:"action",actionType:this.recommendRestaurantListFor202412InViewActionType,actionValue:this.recommendRestaurantListFor202412InViewActionValue})},onEnterForItem(t,e){c({type:"action",actionType:this.recommendRestaurantListFor202412ItemInviewActionType,actionValue:{restaurant_id:t.toString(),order:e.toString(),pur_id:this.purposeIdByRecommendType}})},sendLoadLog(){this.$refs.loadLog&&c({type:"action",actionType:this.recommendRestaurantListFor202412LoadActionType,actionValue:this.recommendRestaurantListFor202412LoadActionValue})}}});var Ll=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("in-view",{ref:"loadLog",staticClass:"recommend-restaurant-for-202412-wrapper",on:{enter:e.onEnter}},[n("div",{staticClass:"recommend-restaurant-for-202412 recommend-restaurant-for-202412--upper",class:{"recommend-restaurant-for-202412--party-end-year":e.isYearEndParty,"recommend-restaurant-for-202412--christmas":e.isChristmas}},[n("div",[e.isYearEndParty?n("p",{staticClass:"recommend-restaurant-for-202412__title"},[e._v("忘年会のお店を、"),n("br"),e._v("レッティで予約しませんか?")]):e._e(),e.isChristmas?n("p",{staticClass:"recommend-restaurant-for-202412__title"},[e._v("クリスマスのお店を、"),n("br"),e._v("レッティで予約しませんか?")]):e._e(),n("p",{staticClass:"recommend-restaurant-for-202412__subtitle"},[e._v("おしゃれなお店をピックアップ!")])]),e.isYearEndParty?n("img",{staticClass:"recommend-restaurant-for-202412__icon",attrs:{src:Zn,alt:"乾杯しているグラスのアイコン"}}):e._e(),e.isChristmas?n("img",{staticClass:"recommend-restaurant-for-202412__icon",attrs:{src:Xn,alt:"サンタの帽子のアイコン"}}):e._e()]),n("div",{staticClass:"restaurant-list-wrapper"},[n("ul",{ref:"restaurant-list",staticClass:"restaurant-list"},e._l(e.recommendRestaurantListFor202412.restaurants,function(i,r){return n("li",{key:i.id,staticClass:"restaurant-list-item"},[n("in-view",{on:{enter:function(s){return e.onEnterForItem(i.id,r)}}},[n("anchor-link",{attrs:{to:i.url}},[n("restaurant-item",{attrs:{item:i}})],1)],1)],1)}),0)]),n("div",{staticClass:"recommend-restaurant-for-202412 recommend-restaurant-for-202412--lower",class:{"recommend-restaurant-for-202412--party-end-year":e.isYearEndParty,"recommend-restaurant-for-202412--christmas":e.isChristmas}},[n("a",{staticClass:"recommend-restaurant-for-202412__more-link",attrs:{href:e.recommendRestaurantListFor202412.viewAllRestaurantsLink}},[e._v("すべてのお店をみる")])])])},xl=[],Vl=m(Ol,Ll,xl,!1,null,"d92e6665");const Ul=Vl.exports,ql=p.extend({components:{RestaurantTopCarouselWrapper:L,FamiliarLabel:On,SceneIcon:ge},props:{restaurantId:{required:!0,type:Number},nearbyReservableRestaurantIds:{type:Array,default:()=>[]}},data(){return{nearbyReservableRestaurants:[],processing:!1}},computed:{nearbyReservableRestaurantsItemInviewActionType(){return f.INVIEW_RESTAURANT_NEARBY_RESERVABLE_RESTAURANTS_ITEM},nearbyReservableRestaurantsInViewActionType(){return f.INVIEW_RESTAURANT_NEARBY_RESERVABLE_RESTAURANTS}},async mounted(){this.nearbyReservableRestaurants=await this.fetchRestaurants(this.nearbyReservableRestaurantIds),this.sendLoadLog()},methods:{async fetchRestaurants(t){try{this.processing=!0;const e=await this.$urql.value.query(Jn,{restaurantIds:t},{requestPolicy:"network-only"}).toPromise();if(!e.data)return[];const n=e.data.restaurants.filter(i=>i!==null).map(i=>{var s,l,a,o,u,y,g;const r=Ct(i.budget,i.businessHours);return{id:i.id,url:i.url,name:i.name,lunchBudgetUpper:((s=r.find(_=>_.time==="lunch"))==null?void 0:s.text)||null,dinnerBudgetUpper:((l=r.find(_=>_.time==="dinner"))==null?void 0:l.text)||null,hasPaypayBonus:(a=i.acpParams.purposes)==null?void 0:a.some(_=>_.id.toString()===_e),subAreaName:i.acpParams.subArea.name,categoryName:((o=i.acpParams.categories)==null?void 0:o[0].name)||"",familiarAttributeName:((u=i.kimeteAttributes.familiarAttribute)==null?void 0:u.name)||null,familiarAttributelevel:((y=i.kimeteAttributes.familiarAttribute)==null?void 0:y.level)||null,imageUrl:((g=i.preferenceImages)==null?void 0:g[0].image.url)||""}});return this.processing=!1,n}catch(e){return console.error(e),[]}},sendLoadLog(){this.$refs.loadLog&&c({type:"action",actionType:f.LOAD_RESTAURANT_NEARBY_RESERVABLE_RESTAURANTS_MOBILE,actionValue:this.restaurantId})},pushNearbyReservableRestaurantsInViewLog(){c({type:"action",actionType:this.nearbyReservableRestaurantsInViewActionType,actionValue:this.restaurantId.toString()||""})},pushNearbyReservableRestaurantsItemInViewLog(t,e){c({type:"action",actionType:this.nearbyReservableRestaurantsItemInviewActionType,actionValue:{restaurant_id:t.toString(),order:e.toString()}})}}});var Kl=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("section",{ref:"loadLog",staticClass:"nearby-reservable-restaurants-block"},[e._m(0),n("div",{staticClass:"nearby-reservable-restaurants-block__body nearby-reservable-restaurants-block__body--no-side"},[n("in-view",{on:{enter:e.pushNearbyReservableRestaurantsInViewLog}},[n("restaurant-top-carousel-wrapper",[n("ul",{staticClass:"nearby-reservable-restaurants"},e._l(e.nearbyReservableRestaurants,function(i,r){return n("li",{key:i.id,staticClass:"nearby-reservable-restaurants-item"},[n("in-view",{on:{enter:function(s){return e.pushNearbyReservableRestaurantsItemInViewLog(i.id,r)}}},[n("anchor-link",{ref:"nearbyReservableRestaurantsItemLink",refInFor:!0,attrs:{to:i.url}},[n("div",{staticClass:"nearby-reservable-restaurants-item__header nearby-reservable-restaurants-item-header"},[n("div",{staticClass:"nearby-reservable-restaurants-item-header__image"},[i.imageUrl?n("x-img",{attrs:{src:i.imageUrl,width:224,height:126,alt:i.name}}):n("img",{staticClass:"nearby-reservable-restaurants-item-header__image",attrs:{src:Se,alt:"noimage"}})],1),i.familiarAttributeName?n("div",{staticClass:"nearby-reservable-restaurants-item-header__shadow"},[n("div",{staticClass:"familiar-label__block"},[n("familiar-label",{attrs:{level:i.familiarAttributelevel,name:i.familiarAttributeName,size:"small"}})],1)]):e._e()]),n("div",{staticClass:"nearby-reservable-restaurants-item__content nearby-reservable-restaurants-item-content"},[n("div",{staticClass:"nearby-reservable-restaurants-item-content__name"},[e._v(e._s(i.name))]),n("p",{staticClass:"nearby-reservable-restaurants-item-content__summary"},[e._v(" "+e._s([i.subAreaName,i.categoryName].join(" / "))+" ")]),i.lunchBudgetUpper||i.dinnerBudgetUpper?n("div",{staticClass:"budgets"},[i.dinnerBudgetUpper?n("dl",{key:"dinner",staticClass:"budgets__item"},[n("dt",{staticClass:"budgets__label budgets__label--scene"},[n("scene-icon",{attrs:{scene:"DINNER",width:16,height:16}})],1),n("dd",[e._v(" "+e._s(i.dinnerBudgetUpper)+" ")])]):e._e(),i.lunchBudgetUpper?n("dl",{key:"lunch",staticClass:"budgets__item"},[n("dt",{staticClass:"budgets__label budgets__label--scene"},[n("scene-icon",{attrs:{scene:"LUNCH",width:16,height:16}})],1),n("dd",[e._v(" "+e._s(i.lunchBudgetUpper)+" ")])]):e._e()]):e._e(),n("ul",{staticClass:"label-list"},[i.hasPaypayBonus?n("li",{staticClass:"label-list__item"},[n("span",{staticClass:"label-list__paypay"},[e._v("PayPayポイント")]),e._v("もらえる")]):e._e(),n("li",{staticClass:"label-list__item label-list__item--reservation"},[e._v(" ネット予約可 ")])])])])],1)],1)}),0)])],1)],1)])},Ql=[function(){var t=this,e=t._self._c;return t._self._setupProxy,e("header",{staticClass:"nearby-reservable-restaurants-block__header"},[e("h2",{staticClass:"nearby-reservable-restaurants-block__title"},[t._v("ネット予約ができる近くのお店")])])}],Hl=m(ql,Kl,Ql,!1,null,"410c6871");const Wl=Hl.exports,Yl=p.extend({props:{pageEntity:{type:Object,required:!0},isPaypayPoint:{type:Boolean,default:!1}},computed:{isCampaign(){return this.$store.getters["features/isActiveFeature"]("APP_PAYPAY_CAMPAIGN")},campaignBannerContent(){return this.isCampaign?{to:"https://retty.me/announce/paypay-point-campaign/",image:"paypay_campaign_banner",alt:"Retty忘年会ネット予約アプリキャンペーン 最大ひとり200円相当がもらえる!"}:null},entityBookingV2(){var t;return h((t=this.pageEntity.entity)==null?void 0:t.bookingV2)},hasReservationStock(){return this.entityBookingV2.isAvailable&&this.entityBookingV2.stocks.length>0},shouldShowBanner(){return this.hasReservationStock&&this.isPaypayPoint}}}),Vn=""+globalThis.__publicAssetsURL("ssr_assets/images/mobile/paypay-point/banner_for_target_restaurant.png");var jl=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.shouldShowBanner?n("div",{staticClass:"banner"},[e.isCampaign?n("anchor-link",{attrs:{to:e.campaignBannerContent.to,target:"_blank"}},[n("img",{staticClass:"banner__image",attrs:{src:`/ssr_assets/images/mobile/paypay-campaign/${e.campaignBannerContent.image}.png`,alt:e.campaignBannerContent.alt}})]):n("anchor-link",{attrs:{to:"/announce/paypay-bonus/",target:"_blank"}},[n("img",{staticClass:"banner__image",attrs:{src:Vn,alt:"アプリからのネット予約でPayPayポイント2倍!"}})])],1):e._e()},Gl=[],zl=m(Yl,jl,Gl,!1,null,"43829986");const Zl=zl.exports,Xl=p.extend({props:{pageEntity:{type:Object,required:!0}},computed:{isCampaign(){return this.$store.getters["features/isActiveFeature"]("APP_PAYPAY_CAMPAIGN")},campaignBannerContent(){return this.isCampaign?{to:"https://retty.me/announce/paypay-point-campaign/",image:"paypay_campaign_banner_for_top",alt:"Retty忘年会ネット予約アプリキャンペーン 最大ひとり200円相当がもらえる!"}:null},isNotMember(){return In(this.pageEntity.entity.restaurant.membership)},isFreeMember(){return hi(this.pageEntity.entity.restaurant.membership)},shouldShowBanner(){return this.isNotMember||this.isFreeMember}}});var Jl=function(){var e=this,n=e._self._c;return e._self._setupProxy,e.shouldShowBanner?n("div",{staticClass:"banner"},[e.isCampaign?n("anchor-link",{attrs:{to:e.campaignBannerContent.to,target:"_blank"}},[n("img",{staticClass:"banner__image",attrs:{src:`/ssr_assets/images/mobile/paypay-campaign/${e.campaignBannerContent.image}.png`,alt:e.campaignBannerContent.alt}})]):n("anchor-link",{attrs:{to:"/announce/paypay-bonus/",target:"_blank"}},[n("img",{staticClass:"banner__image",attrs:{src:Vn,alt:"アプリからのネット予約でPayPayポイント2倍!"}})])],1):e._e()},eu=[],tu=m(Xl,Jl,eu,!1,null,"6c487a00");const nu=tu.exports,iu=p.extend({components:{AdBanner:yi,AdBannerContainer:gi,AppBannerToRestaurant:Wr,RestaurantTopImageViewer:da,RestaurantInformationBlock:Gi,RestaurantTopSummary:zs,RestaurantTitleBoard:Ia,RestaurantHorizontalBar:bi,RestaurantNavigation:zi,RecommendationReportKeywords:Oa,RestaurantTopSingleReserveBlock:vs,RestaurantFixedActionBlock:Vs,RestaurantCalendarBlock:mr,MoreReservationDateLink:hr,RestaurantLinkBlock:Rr,RestaurantOutlineBlock:Zr,RestaurantPhotoMenuBlock:ao,RestaurantTopCourseBlock:vo,RestaurantOwnerRecommendPointsBlock:go,RestaurantTopNoticeSection:Uo,RestaurantPromotionVideoSection:Ar,RestaurantSeatImagesBlock:Ur,RestaurantTopReportSection:ml,RestaurantTopRelatedNewsSection:kl,ReservableSameAreaRestaurantsLink:bl,MessageToOwnerBlock:wl,RecommendRestaurantListFor202412:Ul,RestaurantTopNearbyReservableRestaurantsSection:Wl,PaidMemberOnlyBannerBlock:Zl,NotPaidMemberBannerBlock:nu},props:{reservationStartDate:{type:Date,required:!0},paypayBonusAmount:{type:Number,default:0},isPaidMember:{type:Boolean,default:!1},isNotMember:{type:Boolean,default:!1},pageEntity:{type:Object,required:!0},reportsRelatedKeyword:{type:Object,default:null},nearbyReservableRestaurantIds:{type:Array,default:()=>[]},recommendRestaurantIdsFor202412:{type:Object,default:()=>{}}},computed:{entityRestaurant(){var t;return((t=this.pageEntity.entity)==null?void 0:t.restaurant)||null},entityOwner(){var t;return((t=this.pageEntity.entity)==null?void 0:t.owner)||null},entityBookingV2(){var t;return((t=this.pageEntity.entity)==null?void 0:t.bookingV2)||null},pageRestaurant(){var t;return((t=this.pageEntity.page)==null?void 0:t.restaurant)||null},pageEntityWithType(){return this.pageEntity},isPaypayBonus(){var t,e,n;return(t=this.pageEntityWithType.entity)!=null&&t.restaurant&&((n=(e=this.pageEntityWithType.entity)==null?void 0:e.restaurant)==null?void 0:n.acpParams.purposes.some(i=>this.$store.getters["features/hasPurposeId"](_e)?!0:i.id.toString()===_e))||!1},shouldShowGlobalNotification(){var t;return(((t=this.pageEntityWithType.page)==null?void 0:t.announcements)||[]).length>0},isReservationAvailable(){var t;return((t=this.entityRestaurant)==null?void 0:t.availableReservationServiceType)!==null},isRettyReservationAvailable(){var t;return((t=this.entityRestaurant)==null?void 0:t.availableReservationServiceType)==="RETTY"},shouldShowRelatedNews(){var t;return(((t=this.entityRestaurant)==null?void 0:t.yahooCreatorsProgramArticles)||[]).length>0},adNative1Top(){return b(R.SP_omise_native_1_top)},adNative2(){return b(R.SP_omise_native_2)},adTopMiddleUndercoupon1NativedSpwebrenew2016(){return b(R.SP_omise_top_middle_underphoto_1_nativead_spwebrenew_2016)},adMiddleUndercoupon1Responsive(){return b(R.SP_omise_top_middle_undercoupon_1_responsive)},adNative3(){return b(R.SP_omise_native_3)},adNative4(){return b(R.SP_omise_native_4)},adMiddleNative2(){return b(R.SP_omise_middle_native_2)},adFooter1(){return b(R.SP_omise_footer_1)},adFooter2(){return b(R.SP_omise_footer_2)},adFooter3(){return b(R.SP_omise_footer_3)},adMainFooter(){return b(R.SP_omise_main_footer)},hasReservationStock(){var t;return(((t=this.entityBookingV2)==null?void 0:t.stocks)||[]).length>0},isShowRecommendRestaurantListFor202412(){var t;return!this.isPaidMember&&((t=this.recommendRestaurantIdsFor202412)==null?void 0:t.restaurantIds.length)>0&&this.$store.getters["features/isActiveFeature"]("RECOMMEND_RESTAURANT_FOR_202412")}},methods:{fetchReports(t){this.$emit("fetch-reports",t)}}});var au=function(){var i,r,s,l,a,o,u,y,g,_,w;var e=this,n=e._self._c;return e._self._setupProxy,n("div",[e.shouldShowGlobalNotification?n("global-notification",{attrs:{"page-entity":e.pageEntity}}):e._e(),e.entityRestaurant&&!e.isPaidMember?n("not-paid-member-banner-block",{attrs:{"page-entity":e.pageEntity}}):e._e(),e.entityRestaurant&&e.pageRestaurant?n("restaurant-title-board",{attrs:{"page-entity":e.pageEntity,"is-paypay-bonus":e.isPaypayBonus}}):e._e(),e.entityRestaurant?n("restaurant-top-image-viewer",{attrs:{"page-entity":e.pageEntity}}):e._e(),(((r=(i=e.entityRestaurant)==null?void 0:i.report)==null?void 0:r.keywords)||[]).length>0?n("recommendation-report-keywords",{attrs:{"report-keywords":((l=(s=e.entityRestaurant)==null?void 0:s.report)==null?void 0:l.keywords)||[]}}):e._e(),e.entityRestaurant?n("restaurant-top-single-reserve-block",{attrs:{"page-entity":e.pageEntity}}):e._e(),e.entityRestaurant&&e.pageRestaurant?n("restaurant-top-summary",{attrs:{"page-entity":e.pageEntity,"is-paypay-bonus":e.isPaypayBonus}}):e._e(),!e.isPaidMember&&e.pageRestaurant?n("reservable-same-area-restaurants-link",{attrs:{"page-entity":e.pageEntity,"restaurant-id":(o=(a=e.pageEntityWithType.entity)==null?void 0:a.restaurant)==null?void 0:o.id}}):e._e(),e.isPaidMember?e._e():n("ad-banner-container",{staticClass:"ad__body ad__body--native-1-top"},[n("ad-banner",{attrs:{"ad-id":e.adNative1Top}})],1),n("restaurant-navigation",{attrs:{"page-entity":e.pageEntity}}),e.entityRestaurant&&e.isPaypayBonus&&e.hasReservationStock?n("paid-member-only-banner-block",{attrs:{"page-entity":e.pageEntity,"is-paypay-point":e.isPaypayBonus}}):e._e(),e.entityRestaurant&&e.entityBookingV2?n("restaurant-calendar-block",{attrs:{"page-entity":e.pageEntity,"start-date":e.reservationStartDate,"is-paypay-bonus":e.isPaypayBonus}}):e._e(),e.entityRestaurant&&e.entityBookingV2?n("more-reservation-date-link",{attrs:{"page-entity":e.pageEntity}}):e._e(),n("restaurant-horizontal-bar"),e.pageRestaurant?n("restaurant-outline-block",{attrs:{"page-entity":e.pageEntity}}):e._e(),e.isPaidMember?e._e():n("ad-banner-container",{staticClass:"ad__body ad__body--native-2"},[n("ad-banner",{attrs:{"ad-id":e.adNative2}})],1),n("div",{staticClass:"secondary-contents"},[e.pageRestaurant?n("restaurant-top-report-section",{staticClass:"section-container",attrs:{"page-entity":e.pageEntity,"reports-related-keyword":e.reportsRelatedKeyword},on:{"fetch-reports":e.fetchReports}}):e._e(),e.isPaidMember?n("restaurant-promotion-video-section",{attrs:{"page-entity":e.pageEntity}}):e._e(),e.pageRestaurant?n("restaurant-seat-images-block",{attrs:{"page-entity":e.pageEntity}}):e._e(),e.entityRestaurant?n("restaurant-photo-menu-block",{attrs:{"page-entity":e.pageEntity}}):e._e(),e.entityRestaurant?n("restaurant-owner-recommend-points-block",{attrs:{"page-entity":e.pageEntity}}):e._e(),e.isPaidMember?e._e():n("ad-banner-container",{staticClass:"ad__body ad__body--top-middle-undercoupon-1-natived-spwebrenew-2016"},[n("ad-banner",{attrs:{"ad-id":e.adTopMiddleUndercoupon1NativedSpwebrenew2016}})],1),e.pageRestaurant?n("restaurant-top-course-block",{attrs:{"page-entity":e.pageEntity,"is-retty-reservation-available":e.isRettyReservationAvailable}}):e._e(),e.isShowRecommendRestaurantListFor202412?n("recommend-restaurant-list-for-202412",{attrs:{"restaurant-id":e.entityRestaurant.id,"recommend-restaurant-ids-for202412":e.recommendRestaurantIdsFor202412}}):e._e(),!e.isPaidMember&&((u=e.recommendRestaurantIdsFor202412)==null?void 0:u.restaurantIds.length)>0?n("restaurant-horizontal-bar"):e._e(),!e.isPaidMember&&e.nearbyReservableRestaurantIds.length>0?n("restaurant-top-nearby-reservable-restaurants-section",{attrs:{"restaurant-id":(g=(y=e.pageEntityWithType.entity)==null?void 0:y.restaurant)==null?void 0:g.id,"nearby-reservable-restaurant-ids":e.nearbyReservableRestaurantIds}}):e._e(),e.entityRestaurant?n("restaurant-fixed-action-block",{attrs:{"page-entity":e.pageEntity}}):e._e(),e.pageEntity?n("restaurant-top-notice-section",{staticClass:"section-container",attrs:{"page-entity":e.pageEntity}}):e._e()],1),e.isPaidMember?e._e():n("ad-banner-container",{staticClass:"ad__body ad__body--middle-undercoupon-1-responsive"},[n("ad-banner",{attrs:{"ad-id":e.adMiddleUndercoupon1Responsive}})],1),e.isPaidMember?e._e():n("ad-banner-container",{staticClass:"ad__body ad__body--native-3"},[n("ad-banner",{attrs:{"ad-id":e.adNative3}})],1),e.isPaidMember?e._e():n("ad-banner-container",{staticClass:"ad__body ad__body--native-4"},[n("ad-banner",{attrs:{"ad-id":e.adNative4}})],1),e.isNotMember&&e.entityRestaurant?n("message-to-owner-block",{attrs:{"page-entity":e.entityRestaurant}}):e._e(),e.entityRestaurant?n("restaurant-information-block",{staticClass:"section-container",attrs:{"page-entity":e.pageEntity,"is-paid-member":e.isPaidMember}}):e._e(),e.isPaidMember?e._e():n("ad-banner-container",{staticClass:"ad__body ad__body--middle-native-2"},[n("ad-banner",{attrs:{"ad-id":e.adMiddleNative2}})],1),e.isPaidMember?e._e():n("ad-banner-container",{staticClass:"ad__body ad__body--footer-1"},[n("ad-banner",{attrs:{"ad-id":e.adFooter1}})],1),e.shouldShowRelatedNews?n("restaurant-top-related-news-section",{staticClass:"section-container",attrs:{"page-entity":e.pageEntity}}):e._e(),e.pageRestaurant?n("restaurant-link-block",{attrs:{"page-entity":e.pageEntity,"restaurant-id":(w=(_=e.pageEntityWithType.entity)==null?void 0:_.restaurant)==null?void 0:w.id}}):e._e(),e.isPaidMember?e._e():n("ad-banner-container",{staticClass:"ad__body ad__body--footer-2"},[n("ad-banner",{attrs:{"ad-id":e.adFooter2}})],1),e.isPaidMember?e._e():n("ad-banner-container",{staticClass:"ad__body ad__body--footer-3"},[n("ad-banner",{attrs:{"ad-id":e.adFooter3}})],1),e.isPaidMember?e._e():n("ad-banner-container",{staticClass:"ad__body ad__body--main-footer"},[n("ad-banner",{attrs:{"ad-id":e.adMainFooter}})],1),n("app-banner-to-restaurant",{attrs:{"page-entity":e.pageEntity}})],1)},su=[],ru=m(iu,au,su,!1,null,"8037e362");const ou=ru.exports;var Ne={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantTitleBoard"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"membership"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cityName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kimeteAttributes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isUpcoming"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"familiarAttribute"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"level"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"businessStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"annotationToName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"revisions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"canonicalUrl"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"page"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"familiarUserRecommend"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:491}};Ne.loc.source={body:` fragment MobileRestaurantTitleBoard on Query { entity { restaurant(id: $restaurantId) { membership cityName kimeteAttributes { isUpcoming familiarAttribute { id level name } } id businessStatus name annotationToName revisions { canonicalUrl } } } page { restaurant(id: $restaurantId) { familiarUserRecommend { count } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function q(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){q(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){q(i,e)}),t.definitions&&t.definitions.forEach(function(i){q(i,e)})}var Ge={};(function(){Ne.definitions.forEach(function(e){if(e.name){var n=new Set;q(e,n),Ge[e.name.value]=n}})})();function Ut(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=Ge[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=Ut(t,a);o&&n.definitions.push(o)}),n}lu(Ne,"MobileRestaurantTitleBoard");var we={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileTopImageViewer"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"preferenceImages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"report"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"scene"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postedAt"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statistics"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"report"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:443}};we.loc.source={body:`fragment MobileTopImageViewer on Query { entity { restaurant(id: $restaurantId) { preferenceImages { image { url } report { id user { name } text scene postedAt } text } id url statistics { report { image { total } } } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function K(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){K(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){K(i,e)}),t.definitions&&t.definitions.forEach(function(i){K(i,e)})}var ze={};(function(){we.definitions.forEach(function(e){if(e.name){var n=new Set;K(e,n),ze[e.name.value]=n}})})();function qt(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=ze[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=qt(t,a);o&&n.definitions.push(o)}),n}uu(we,"MobileTopImageViewer");var I={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantTopSummary"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"categories"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"budget"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"entireBudgetFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"access"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"brief"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"holiday"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"businessHours"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"closedDays"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"note"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"operationHours"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"note"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"periods"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:456}};I.loc.source={body:`#import "@/apis/graphql/fragments/entireBudget.graphql" fragment MobileRestaurantTopSummary on Query { entity { restaurant(id: $restaurantId) { categories id budget { ...entireBudgetFragment } access { brief } holiday businessHours { closedDays note operationHours { note periods { type } } } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};var Kt={};function cu(t){return t.filter(function(e){if(e.kind!=="FragmentDefinition")return!0;var n=e.name.value;return Kt[n]?!1:(Kt[n]=!0,!0)})}I.definitions=I.definitions.concat(cu(Si.definitions));function Q(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){Q(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){Q(i,e)}),t.definitions&&t.definitions.forEach(function(i){Q(i,e)})}var Ze={};(function(){I.definitions.forEach(function(e){if(e.name){var n=new Set;Q(e,n),Ze[e.name.value]=n}})})();function Qt(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=Ze[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=Qt(t,a);o&&n.definitions.push(o)}),n}du(I,"MobileRestaurantTopSummary");var Ae={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantOutlineBlock"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"page"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"introduction"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catchphrase"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:241}};Ae.loc.source={body:`fragment MobileRestaurantOutlineBlock on Query { page { restaurant(id: $restaurantId) { introduction { catchphrase description } } } entity { restaurant(id: $restaurantId) { id } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function H(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){H(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){H(i,e)}),t.definitions&&t.definitions.forEach(function(i){H(i,e)})}var Xe={};(function(){Ae.definitions.forEach(function(e){if(e.name){var n=new Set;H(e,n),Xe[e.name.value]=n}})})();function Ht(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=Xe[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=Ht(t,a);o&&n.definitions.push(o)}),n}mu(Ae,"MobileRestaurantOutlineBlock");var Fe={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ReservationModalContent"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phoneNumbers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paypayBonusAmountPerPerson"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lunch"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dinner"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"selectableDates"},name:{kind:"Name",value:"reservableDateTimes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"year"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"month"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"day"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timeZone"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:358}};Fe.loc.source={body:`fragment ReservationModalContent on Query { entity { restaurant(id: $restaurantId) { id phoneNumbers paypayBonusAmountPerPerson { lunch dinner } selectableDates: reservableDateTimes { type date { year month day timeZone } } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function W(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){W(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){W(i,e)}),t.definitions&&t.definitions.forEach(function(i){W(i,e)})}var Je={};(function(){Fe.definitions.forEach(function(e){if(e.name){var n=new Set;W(e,n),Je[e.name.value]=n}})})();function Wt(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=Je[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=Wt(t,a);o&&n.definitions.push(o)}),n}pu(Fe,"ReservationModalContent");var F={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ReservationModal"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReservationModalContent"},directives:[]}]}}],loc:{start:0,end:170}};F.loc.source={body:`#import "@/components/core/mobile/organisms/ReservationModalContent/ReservationModalContent.graphql" fragment ReservationModal on Query { ...ReservationModalContent } `,name:"GraphQL request",locationOffset:{line:1,column:1}};var Yt={};function vu(t){return t.filter(function(e){if(e.kind!=="FragmentDefinition")return!0;var n=e.name.value;return Yt[n]?!1:(Yt[n]=!0,!0)})}F.definitions=F.definitions.concat(vu(Fe.definitions));function Y(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){Y(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){Y(i,e)}),t.definitions&&t.definitions.forEach(function(i){Y(i,e)})}var et={};(function(){F.definitions.forEach(function(e){if(e.name){var n=new Set;Y(e,n),et[e.name.value]=n}})})();function jt(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=et[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=jt(t,a);o&&n.definitions.push(o)}),n}fu(F,"ReservationModal");var $={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantTopSingleReserveBlock"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReservationModal"},directives:[]},{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"membership"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"availableReservationServiceType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phoneNumbers"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:307}};$.loc.source={body:`#import "@/components/core/mobile/modals/ReservationModal/ReservationModal.graphql" fragment MobileRestaurantTopSingleReserveBlock on Query { ...ReservationModal entity { restaurant(id: $restaurantId) { id membership availableReservationServiceType phoneNumbers } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};var Gt={};function _u(t){return t.filter(function(e){if(e.kind!=="FragmentDefinition")return!0;var n=e.name.value;return Gt[n]?!1:(Gt[n]=!0,!0)})}$.definitions=$.definitions.concat(_u(F.definitions));function j(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){j(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){j(i,e)}),t.definitions&&t.definitions.forEach(function(i){j(i,e)})}var tt={};(function(){$.definitions.forEach(function(e){if(e.name){var n=new Set;j(e,n),tt[e.name.value]=n}})})();function zt(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=tt[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=zt(t,a);o&&n.definitions.push(o)}),n}ku($,"MobileRestaurantTopSingleReserveBlock");var D={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantFixedActionBlock"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReservationModal"},directives:[]},{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"postalCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressRegion"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressCountry"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLocality"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"streetAddress"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"phoneNumbers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"acpParams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"purposes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"availableReservationServiceType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"allianceReservation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"serviceType"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"membership"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"page"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"introduction"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"catchphrase"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:697}};D.loc.source={body:`#import "@/components/core/mobile/modals/ReservationModal/ReservationModal.graphql" fragment MobileRestaurantFixedActionBlock on Query { ...ReservationModal entity { restaurant(id: $restaurantId) { id url name address { postalCode addressRegion addressCountry addressLocality streetAddress } phoneNumbers acpParams { purposes { id } } availableReservationServiceType allianceReservation { url serviceType } membership } } page { restaurant(id: $restaurantId) { introduction { catchphrase } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};var Zt={};function hu(t){return t.filter(function(e){if(e.kind!=="FragmentDefinition")return!0;var n=e.name.value;return Zt[n]?!1:(Zt[n]=!0,!0)})}D.definitions=D.definitions.concat(hu(F.definitions));function G(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){G(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){G(i,e)}),t.definitions&&t.definitions.forEach(function(i){G(i,e)})}var nt={};(function(){D.definitions.forEach(function(e){if(e.name){var n=new Set;G(e,n),nt[e.name.value]=n}})})();function Xt(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=nt[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=Xt(t,a);o&&n.definitions.push(o)}),n}yu(D,"MobileRestaurantFixedActionBlock");var M={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantCalendarBlock"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReservationModal"},directives:[]},{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bookingV2"},arguments:[{kind:"Argument",name:{kind:"Name",value:"restaurantId"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}},{kind:"Argument",name:{kind:"Name",value:"numOfDays"},value:{kind:"Variable",name:{kind:"Name",value:"numOfDays"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isAvailable"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"stocks"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"day"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"month"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timeZone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"year"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"reservationType"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"phoneNumbers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paypayBonusAmountPerPerson"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dinner"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:530}};M.loc.source={body:`#import "@/components/core/mobile/modals/ReservationModal/ReservationModal.graphql" fragment MobileRestaurantCalendarBlock on Query { ...ReservationModal entity { bookingV2(restaurantId: $restaurantId, numOfDays: $numOfDays) { isAvailable stocks { date { day month timeZone year } reservationType } } restaurant(id: $restaurantId) { phoneNumbers paypayBonusAmountPerPerson { dinner } id } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};var Jt={};function gu(t){return t.filter(function(e){if(e.kind!=="FragmentDefinition")return!0;var n=e.name.value;return Jt[n]?!1:(Jt[n]=!0,!0)})}M.definitions=M.definitions.concat(gu(F.definitions));function z(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){z(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){z(i,e)}),t.definitions&&t.definitions.forEach(function(i){z(i,e)})}var it={};(function(){M.definitions.forEach(function(e){if(e.name){var n=new Set;z(e,n),it[e.name.value]=n}})})();function en(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=it[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=en(t,a);o&&n.definitions.push(o)}),n}Su(M,"MobileRestaurantCalendarBlock");var Te={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantSeatImagesBlock"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reservableSeatsWithin"},arguments:[{kind:"Argument",name:{kind:"Name",value:"daysFromToday"},value:{kind:"IntValue",value:"13"}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},arguments:[{kind:"Argument",name:{kind:"Name",value:"restaurantId"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"seatsSummary"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"spotId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"capacity"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:326}};Te.loc.source={body:`fragment MobileRestaurantSeatImagesBlock on Query { entity { restaurant(id: $restaurantId) { id reservableSeatsWithin(daysFromToday: 13) { id } } owner(restaurantId: $restaurantId) { seatsSummary { spotId imageUrl type capacity } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function Z(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){Z(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){Z(i,e)}),t.definitions&&t.definitions.forEach(function(i){Z(i,e)})}var at={};(function(){Te.definitions.forEach(function(e){if(e.name){var n=new Set;Z(e,n),at[e.name.value]=n}})})();function tn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=at[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=tn(t,a);o&&n.definitions.push(o)}),n}bu(Te,"MobileRestaurantSeatImagesBlock");var Ie={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantTopAllianceCouponBlock"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"page"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"coupons"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"coupons"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expiredAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"provider"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:339}};Ie.loc.source={body:`fragment MobileRestaurantTopAllianceCouponBlock on Query { entity { restaurant(id: $restaurantId) { id name } } page { restaurant(id: $restaurantId) { coupons { coupons { expiredAt text title url } provider url } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function X(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){X(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){X(i,e)}),t.definitions&&t.definitions.forEach(function(i){X(i,e)})}var st={};(function(){Ie.definitions.forEach(function(e){if(e.name){var n=new Set;X(e,n),st[e.name.value]=n}})})();function nn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=st[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=nn(t,a);o&&n.definitions.push(o)}),n}Ru(Ie,"MobileRestaurantTopAllianceCouponBlock");var $e={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantTopRettyCouponBlock"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rettyCoupons"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"offerCondition"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"caution"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"expireDate"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:244}};$e.loc.source={body:`fragment MobileRestaurantTopRettyCouponBlock on Query { entity { restaurant(id: $restaurantId) { id rettyCoupons { name description offerCondition caution expireDate } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function J(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){J(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){J(i,e)}),t.definitions&&t.definitions.forEach(function(i){J(i,e)})}var rt={};(function(){$e.definitions.forEach(function(e){if(e.name){var n=new Set;J(e,n),rt[e.name.value]=n}})})();function an(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=rt[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=an(t,a);o&&n.definitions.push(o)}),n}Cu($e,"MobileRestaurantTopRettyCouponBlock");var x={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantOwnerRecommendPointsBlock"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"owner"},arguments:[{kind:"Argument",name:{kind:"Name",value:"restaurantId"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recommendPoints"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:256}};x.loc.source={body:`fragment MobileRestaurantOwnerRecommendPointsBlock on Query { entity { restaurant(id: $restaurantId) { id } owner(restaurantId: $restaurantId) { recommendPoints { description image name } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function ee(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){ee(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){ee(i,e)}),t.definitions&&t.definitions.forEach(function(i){ee(i,e)})}var ot={};(function(){x.definitions.forEach(function(e){if(e.name){var n=new Set;ee(e,n),ot[e.name.value]=n}})})();function sn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=ot[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=sn(t,a);o&&n.definitions.push(o)}),n}Eu(x,"MobileRestaurantOwnerRecommendPointsBlock");var De={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantNewsBlock"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"owner"},arguments:[{kind:"Argument",name:{kind:"Name",value:"restaurantId"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"news"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:179}};De.loc.source={body:`fragment MobileRestaurantNewsBlock on Query { entity { owner(restaurantId: $restaurantId) { news { title description images } } } }`,name:"GraphQL request",locationOffset:{line:1,column:1}};function te(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){te(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){te(i,e)}),t.definitions&&t.definitions.forEach(function(i){te(i,e)})}var lt={};(function(){De.definitions.forEach(function(e){if(e.name){var n=new Set;te(e,n),lt[e.name.value]=n}})})();function rn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=lt[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=rn(t,a);o&&n.definitions.push(o)}),n}Nu(De,"MobileRestaurantNewsBlock");var S={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantTopNoticeSection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantTopAllianceCouponBlock"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantTopRettyCouponBlock"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantNewsBlock"},directives:[]}]}}],loc:{start:0,end:731}};S.loc.source={body:`#import "@/components/core/mobile/organisms/RestaurantTopNoticeSection/RestaurantTopCouponSectionBlock/RestaurantTopAllianceCouponBlock.graphql" #import "@/components/core/mobile/organisms/RestaurantTopNoticeSection/RestaurantTopCouponSectionBlock/RestaurantTopRettyCouponBlock.graphql" #import "@/components/core/mobile/organisms/RestaurantTopNoticeSection/RestaurantOwnerRecommendPointsBlock/RestaurantOwnerRecommendPointsBlock.graphql" #import "@/components/core/mobile/organisms/RestaurantTopNoticeSection/RestaurantNewsBlock/RestaurantNewsBlock.graphql" fragment MobileRestaurantTopNoticeSection on Query { ...MobileRestaurantTopAllianceCouponBlock ...MobileRestaurantTopRettyCouponBlock ...MobileRestaurantNewsBlock } `,name:"GraphQL request",locationOffset:{line:1,column:1}};var on={};function Me(t){return t.filter(function(e){if(e.kind!=="FragmentDefinition")return!0;var n=e.name.value;return on[n]?!1:(on[n]=!0,!0)})}S.definitions=S.definitions.concat(Me(Ie.definitions));S.definitions=S.definitions.concat(Me($e.definitions));S.definitions=S.definitions.concat(Me(x.definitions));S.definitions=S.definitions.concat(Me(De.definitions));function ne(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){ne(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){ne(i,e)}),t.definitions&&t.definitions.forEach(function(i){ne(i,e)})}var ut={};(function(){S.definitions.forEach(function(e){if(e.name){var n=new Set;ne(e,n),ut[e.name.value]=n}})})();function ln(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=ut[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=ln(t,a);o&&n.definitions.push(o)}),n}wu(S,"MobileRestaurantTopNoticeSection");var Be={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MoblieRestaurantTopRelatedNewsSection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"yahooCreatorsProgramArticles"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"thumbnailUrl"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:209}};Be.loc.source={body:`fragment MoblieRestaurantTopRelatedNewsSection on Query { entity { restaurant(id: $restaurantId) { yahooCreatorsProgramArticles { title url thumbnailUrl } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function ie(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){ie(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){ie(i,e)}),t.definitions&&t.definitions.forEach(function(i){ie(i,e)})}var ct={};(function(){Be.definitions.forEach(function(e){if(e.name){var n=new Set;ie(e,n),ct[e.name.value]=n}})})();function un(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=ct[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=un(t,a);o&&n.definitions.push(o)}),n}Au(Be,"MoblieRestaurantTopRelatedNewsSection");var Pe={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantLinkBlock"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"page"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"links"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"links"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sections"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"links"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:302}};Pe.loc.source={body:`fragment MobileRestaurantLinkBlock on Query { page { restaurant(id: $restaurantId) { links { title links { text url } sections { title links { text url } } } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function ae(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){ae(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){ae(i,e)}),t.definitions&&t.definitions.forEach(function(i){ae(i,e)})}var dt={};(function(){Pe.definitions.forEach(function(e){if(e.name){var n=new Set;ae(e,n),dt[e.name.value]=n}})})();function cn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=dt[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=cn(t,a);o&&n.definitions.push(o)}),n}Fu(Pe,"MobileRestaurantLinkBlock");var Oe={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantPhotoMenuBlock"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statistics"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"menu"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"course"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dish"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"lunch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"drink"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"owner"},arguments:[{kind:"Argument",name:{kind:"Name",value:"restaurantId"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"menus"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxLabelType"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:494}};Oe.loc.source={body:`fragment MobileRestaurantPhotoMenuBlock on Query { entity { restaurant(id: $restaurantId) { id statistics { menu { course { count } dish { count } lunch { count } drink { count } } } } owner(restaurantId: $restaurantId) { menus { name image price taxLabelType } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function se(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){se(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){se(i,e)}),t.definitions&&t.definitions.forEach(function(i){se(i,e)})}var mt={};(function(){Oe.definitions.forEach(function(e){if(e.name){var n=new Set;se(e,n),mt[e.name.value]=n}})})();function dn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=mt[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=dn(t,a);o&&n.definitions.push(o)}),n}Tu(Oe,"MobileRestaurantPhotoMenuBlock");var Le={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantTopCourseBlock"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"page"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"courses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"providerV2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"referralUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasDiscountedCourse"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"courses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"undiscountedPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rettyCourseId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"labels"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"serveFrom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"serveTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxLabelType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mealTypes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dishes"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phoneNumbers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"availableReservationServiceType"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:638}};Le.loc.source={body:`fragment MobileRestaurantTopCourseBlock on Query { page { restaurant(id: $restaurantId) { courses { title description providerV2 referralUrl hasDiscountedCourse courses { title description price undiscountedPrice url rettyCourseId imageUrl labels serveFrom serveTo taxLabelType mealTypes dishes } } } } entity { restaurant(id: $restaurantId) { id phoneNumbers availableReservationServiceType } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function re(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){re(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){re(i,e)}),t.definitions&&t.definitions.forEach(function(i){re(i,e)})}var pt={};(function(){Le.definitions.forEach(function(e){if(e.name){var n=new Set;re(e,n),pt[e.name.value]=n}})})();function mn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=pt[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=mn(t,a);o&&n.definitions.push(o)}),n}Iu(Le,"MobileRestaurantTopCourseBlock");var xe={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantPromotionVideoSection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"promotionVideo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"thumbnailUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tagline"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"updatedAt"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:244}};xe.loc.source={body:`fragment MobileRestaurantPromotionVideoSection on Query { entity { restaurant(id: $restaurantId) { id promotionVideo { url thumbnailUrl tagline description updatedAt } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function oe(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){oe(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){oe(i,e)}),t.definitions&&t.definitions.forEach(function(i){oe(i,e)})}var vt={};(function(){xe.definitions.forEach(function(e){if(e.name){var n=new Set;oe(e,n),vt[e.name.value]=n}})})();function pn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=vt[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=pn(t,a);o&&n.definitions.push(o)}),n}$u(xe,"MobileRestaurantPromotionVideoSection");var Ve={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantTopReportSection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kimeteAttributes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"familiarAttribute"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"report"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"keywords"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"keyword"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reportIds"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"highPriorityKeyword"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"displayKind"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"statistics"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"report"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"listCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"public"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"scene"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lunch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dinner"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"morning"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dish"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"instore"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"appearance"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"menu"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"excellent"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"good"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"average"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"page"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reports"},arguments:[{kind:"Argument",name:{kind:"Name",value:"size"},value:{kind:"IntValue",value:"8"}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reportCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"topUserProfile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"specialities"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"scene"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"yearOfMyBest"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postedAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"introduction"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latestReport"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"postedAt"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:1528}};Ve.loc.source={body:`fragment MobileRestaurantTopReportSection on Query { entity { restaurant(id: $restaurantId) { id kimeteAttributes { familiarAttribute { id } } report { keywords { keyword count reportIds highPriorityKeyword { displayKind } } } statistics { report { listCount public scene { lunch { count } dinner { count } morning { count } } image { total dish { count } instore { count } appearance { count } menu { count } } user { excellent { count } good { count } average { count } } } } } } page { restaurant(id: $restaurantId) { reports(size: 8) { id user { id name reportCount topUserProfile { specialities } } scene score yearOfMyBest postedAt text } introduction { latestReport { postedAt } } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function le(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){le(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){le(i,e)}),t.definitions&&t.definitions.forEach(function(i){le(i,e)})}var ft={};(function(){Ve.definitions.forEach(function(e){if(e.name){var n=new Set;le(e,n),ft[e.name.value]=n}})})();function vn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=ft[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=vn(t,a);o&&n.definitions.push(o)}),n}Du(Ve,"MobileRestaurantTopReportSection");var Ue={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileAppBannerToRestaurant"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:116}};Ue.loc.source={body:`fragment MobileAppBannerToRestaurant on Query { entity { restaurant(id: $restaurantId) { id } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function ue(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){ue(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){ue(i,e)}),t.definitions&&t.definitions.forEach(function(i){ue(i,e)})}var _t={};(function(){Ue.definitions.forEach(function(e){if(e.name){var n=new Set;ue(e,n),_t[e.name.value]=n}})})();function fn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=_t[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=fn(t,a);o&&n.definitions.push(o)}),n}Mu(Ue,"MobileAppBannerToRestaurant");var qe={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileIndexPageTemplate"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"page"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"courses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasDiscountedCourse"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"announcements"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"acpParams"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"purposes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:327}};qe.loc.source={body:`fragment MobileIndexPageTemplate on Query { page { restaurant(id: $restaurantId) { courses { hasDiscountedCourse } } announcements { content } } entity { restaurant(id: $restaurantId) { acpParams { purposes { id } } id } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function ce(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){ce(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){ce(i,e)}),t.definitions&&t.definitions.forEach(function(i){ce(i,e)})}var kt={};(function(){qe.definitions.forEach(function(e){if(e.name){var n=new Set;ce(e,n),kt[e.name.value]=n}})})();function _n(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=kt[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=_n(t,a);o&&n.definitions.push(o)}),n}Bu(qe,"MobileIndexPageTemplate");var Ke={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"restaurantToMakeVideoObject"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Restaurant"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"membership"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"promotionVideo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"thumbnailUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tagline"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"updatedAt"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:158}};Ke.loc.source={body:`fragment restaurantToMakeVideoObject on Restaurant { membership promotionVideo { url thumbnailUrl tagline description updatedAt } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function de(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){de(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){de(i,e)}),t.definitions&&t.definitions.forEach(function(i){de(i,e)})}var ht={};(function(){Ke.definitions.forEach(function(e){if(e.name){var n=new Set;de(e,n),ht[e.name.value]=n}})})();function kn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=ht[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=kn(t,a);o&&n.definitions.push(o)}),n}Pu(Ke,"restaurantToMakeVideoObject");var C={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"restaurantToMakeRestaurantTopHead"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Restaurant"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"restaurantToMakeRestaurantTitle"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"restaurantToMakeReview"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"restaurantToMakeViewAction"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"restaurantToMakeRestaurant"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"restaurantMakeRestaurantKeywords"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"restaurantToMakeVideoObject"},directives:[]},{kind:"Field",name:{kind:"Name",value:"kimeteAttributes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"kimeteAttributesToMakeFamiliarLabelText"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"membership"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"businessStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"revisions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"canonicalUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"availableReservationServiceType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statistics"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"report"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"public"},arguments:[],directives:[]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"pageToMakeRestaurantTopHead"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PageQuery"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pageToMakeBreadcrumbList"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"pageToMakeRestaurant"},directives:[]}]}}],loc:{start:0,end:778}};C.loc.source={body:`#import "@/lib/head/restaurant/utils.graphql" #import "@/lib/head/restaurant/structuredData/makeJSONLD.graphql" #import "@/lib/head/restaurant/structuredData/makeVideoObject.graphql" fragment restaurantToMakeRestaurantTopHead on Restaurant { ...restaurantToMakeRestaurantTitle ...restaurantToMakeReview ...restaurantToMakeViewAction ...restaurantToMakeRestaurant ...restaurantMakeRestaurantKeywords ...restaurantToMakeVideoObject kimeteAttributes { ...kimeteAttributesToMakeFamiliarLabelText } membership businessStatus revisions { canonicalUrl } availableReservationServiceType statistics { report { public } } } fragment pageToMakeRestaurantTopHead on PageQuery { ...pageToMakeBreadcrumbList ...pageToMakeRestaurant } `,name:"GraphQL request",locationOffset:{line:1,column:1}};var hn={};function wt(t){return t.filter(function(e){if(e.kind!=="FragmentDefinition")return!0;var n=e.name.value;return hn[n]?!1:(hn[n]=!0,!0)})}C.definitions=C.definitions.concat(wt(Zi.definitions));C.definitions=C.definitions.concat(wt(Xi.definitions));C.definitions=C.definitions.concat(wt(Ke.definitions));function me(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){me(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){me(i,e)}),t.definitions&&t.definitions.forEach(function(i){me(i,e)})}var yt={};(function(){C.definitions.forEach(function(e){if(e.name){var n=new Set;me(e,n),yt[e.name.value]=n}})})();function yn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=yt[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=yn(t,a);o&&n.definitions.push(o)}),n}Un(C,"restaurantToMakeRestaurantTopHead");Un(C,"pageToMakeRestaurantTopHead");var Qe={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileReservableSameAreaRestaurantsLink"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"page"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reservableSameAreaRestaurantsLink"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:192}};Qe.loc.source={body:`fragment MobileReservableSameAreaRestaurantsLink on Query { page { restaurant(id: $restaurantId) { reservableSameAreaRestaurantsLink { url text } } } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function pe(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){pe(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){pe(i,e)}),t.definitions&&t.definitions.forEach(function(i){pe(i,e)})}var gt={};(function(){Qe.definitions.forEach(function(e){if(e.name){var n=new Set;pe(e,n),gt[e.name.value]=n}})})();function gn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=gt[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=gn(t,a);o&&n.definitions.push(o)}),n}Ou(Qe,"MobileReservableSameAreaRestaurantsLink");var d={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MobileRestaurantTopPageFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"restaurant"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"membership"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"restaurantToMakeRestaurantTopHead"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"ad"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"loginSession"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"loginSessionFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"currentUser"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"notifications"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"iconUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"createdAt"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"loginSession"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"session"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userId"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"page"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pageToMakeRestaurantTopHead"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"nearbyReservableRestaurants"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"10"}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"recommendRestaurantIdsFor202412"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"20"}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recommendType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"restaurantIds"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"viewAllRestaurantsLink"},arguments:[],directives:[]}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MobileRestaurantTopPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"restaurantId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RestaurantId"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"numOfDays"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantTitleBoard"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileTopImageViewer"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantTopSummary"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileInformationBlock"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantTopSingleReserveBlock"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantFixedActionBlock"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantCalendarBlock"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantNavigation"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantTopNoticeSection"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MoblieRestaurantTopRelatedNewsSection"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantPhotoMenuBlock"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantTopCourseBlock"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantOwnerRecommendPointsBlock"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantOutlineBlock"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantLinkBlock"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantSeatImagesBlock"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantTopReportSection"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantPromotionVideoSection"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileAppBannerToRestaurant"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileIndexPageTemplate"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileGlobalNotification"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileRestaurantTopPageFragment"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"MobileReservableSameAreaRestaurantsLink"},directives:[]}]}}],loc:{start:0,end:4054}};d.loc.source={body:`#import "@/components/core/mobile/organisms/RestaurantHeader/RestaurantTitleBoard.graphql" #import "@/components/core/mobile/organisms/RestaurantTopImageViewer/RestaurantTopImageViewer.graphql" #import "@/components/core/mobile/organisms/BasicInformation/RestaurantTopSummary.graphql" #import "@/components/core/mobile/organisms/BasicInformation/RestaurantInformationBlock.graphql" #import "@/components/core/mobile/organisms/BasicInformation/RestaurantOutlineBlock.graphql" #import "@/components/core/mobile/organisms/RestaurantReservation/RestaurantTopSingleReserveBlock.graphql" #import "@/components/core/mobile/organisms/RestaurantReservation/RestaurantFixedActionBlock.graphql" #import "@/components/core/mobile/organisms/RestaurantCalendar/RestaurantCalendarBlock.graphql" #import "@/components/core/mobile/organisms/RestaurantNavigation/RestaurantNavigation.graphql" #import "@/components/core/mobile/organisms/RestaurantImages/SeatImagesBlock.graphql" #import "@/components/core/mobile/organisms/RestaurantTopNoticeSection/RestaurantTopNoticeSection.graphql" #import "@/components/core/mobile/organisms/RestaurantTopRelatedNewsSection/RestaurantTopRelatedNewsSection.graphql" #import "@/components/core/mobile/organisms/RestaurantLink/RestaurantLinkBlock.graphql" #import "@/components/core/mobile/organisms/RestaurantPhotoMenuBlock/RestaurantPhotoMenuBlock.graphql" #import "@/components/core/mobile/organisms/RestaurantTopCourseBlock/RestaurantTopCourseBlock.graphql" #import "@/components/core/mobile/organisms/RestaurantTopNoticeSection/RestaurantOwnerRecommendPointsBlock/RestaurantOwnerRecommendPointsBlock.graphql" #import "@/components/core/mobile/organisms/RestaurantPromotionVideoSection/RestaurantPromotionVideoSection.graphql" #import "@/components/core/mobile/organisms/RestaurantTopReportSection/RestaurantTopReportSection.graphql" #import "@/components/core/mobile/organisms/AppBannerToRestaurant/AppBannerToRestaurant.graphql" #import "@/components/core/mobile/page-template/restaurant/IndexPageTemplate.graphql" #import "@/components/core/mobile/organisms/GlobalNotification/GlobalNotification.graphql" #import "@/lib/head/restaurant/makeRestaurantTopHead.graphql" #import "@/apis/graphql/fragments/loginSession.graphql" #import "@/components/core/mobile/organisms/GlobalNotification/GlobalNotification.graphql" #import "@/components/core/mobile/organisms/ReservableSameAreaRestaurantsLink/ReservableSameAreaRestaurantsLink.graphql" #import "@/ad/util/ad.graphql" fragment MobileRestaurantTopPageFragment on Query { entity { restaurant(id: $restaurantId) { membership ...restaurantToMakeRestaurantTopHead ...ad } loginSession { ...loginSessionFragment } currentUser { notifications { html link iconUrl createdAt } } loginSession { session { userId } } } page { ...pageToMakeRestaurantTopHead } nearbyReservableRestaurants(id: $restaurantId, limit: 10) recommendRestaurantIdsFor202412(id: $restaurantId, limit: 20) { recommendType restaurantIds viewAllRestaurantsLink } } query MobileRestaurantTopPage($restaurantId: RestaurantId!, $numOfDays: Int!) { ...MobileRestaurantTitleBoard ...MobileTopImageViewer ...MobileRestaurantTopSummary ...MobileInformationBlock ...MobileRestaurantTopSingleReserveBlock ...MobileRestaurantFixedActionBlock ...MobileRestaurantCalendarBlock ...MobileRestaurantNavigation ...MobileRestaurantTopNoticeSection ...MoblieRestaurantTopRelatedNewsSection ...MobileRestaurantPhotoMenuBlock ...MobileRestaurantTopCourseBlock ...MobileRestaurantOwnerRecommendPointsBlock ...MobileRestaurantOutlineBlock ...MobileRestaurantLinkBlock ...MobileRestaurantSeatImagesBlock ...MobileRestaurantTopReportSection ...MobileRestaurantPromotionVideoSection ...MobileAppBannerToRestaurant ...MobileIndexPageTemplate ...MobileGlobalNotification ...MobileRestaurantTopPageFragment ...MobileReservableSameAreaRestaurantsLink } `,name:"GraphQL request",locationOffset:{line:1,column:1}};var Sn={};function k(t){return t.filter(function(e){if(e.kind!=="FragmentDefinition")return!0;var n=e.name.value;return Sn[n]?!1:(Sn[n]=!0,!0)})}d.definitions=d.definitions.concat(k(Ne.definitions));d.definitions=d.definitions.concat(k(we.definitions));d.definitions=d.definitions.concat(k(I.definitions));d.definitions=d.definitions.concat(k(Ji.definitions));d.definitions=d.definitions.concat(k(Ae.definitions));d.definitions=d.definitions.concat(k($.definitions));d.definitions=d.definitions.concat(k(D.definitions));d.definitions=d.definitions.concat(k(M.definitions));d.definitions=d.definitions.concat(k(ea.definitions));d.definitions=d.definitions.concat(k(Te.definitions));d.definitions=d.definitions.concat(k(S.definitions));d.definitions=d.definitions.concat(k(Be.definitions));d.definitions=d.definitions.concat(k(Pe.definitions));d.definitions=d.definitions.concat(k(Oe.definitions));d.definitions=d.definitions.concat(k(Le.definitions));d.definitions=d.definitions.concat(k(x.definitions));d.definitions=d.definitions.concat(k(xe.definitions));d.definitions=d.definitions.concat(k(Ve.definitions));d.definitions=d.definitions.concat(k(Ue.definitions));d.definitions=d.definitions.concat(k(qe.definitions));d.definitions=d.definitions.concat(k(Pn.definitions));d.definitions=d.definitions.concat(k(C.definitions));d.definitions=d.definitions.concat(k(ra.definitions));d.definitions=d.definitions.concat(k(Pn.definitions));d.definitions=d.definitions.concat(k(Qe.definitions));d.definitions=d.definitions.concat(k(ei.definitions));function ve(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){ve(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){ve(i,e)}),t.definitions&&t.definitions.forEach(function(i){ve(i,e)})}var St={};(function(){d.definitions.forEach(function(e){if(e.name){var n=new Set;ve(e,n),St[e.name.value]=n}})})();function bn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=St[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=bn(t,a);o&&n.definitions.push(o)}),n}qn(d,"MobileRestaurantTopPageFragment");qn(d,"MobileRestaurantTopPage");var He={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MobileRestaurantIndexPageReports"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"reportIds"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ReportId"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reports"},arguments:[{kind:"Argument",name:{kind:"Name",value:"reportIds"},value:{kind:"Variable",name:{kind:"Name",value:"reportIds"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reportCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"topUserProfile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"specialities"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"scene"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"score"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"yearOfMyBest"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postedAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:282}};He.loc.source={body:`query MobileRestaurantIndexPageReports($reportIds: [ReportId!]!) { reports (reportIds: $reportIds) { id user { id name reportCount topUserProfile { specialities } } scene score yearOfMyBest postedAt text } } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function fe(t,e){if(t.kind==="FragmentSpread")e.add(t.name.value);else if(t.kind==="VariableDefinition"){var n=t.type;n.kind==="NamedType"&&e.add(n.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(i){fe(i,e)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(i){fe(i,e)}),t.definitions&&t.definitions.forEach(function(i){fe(i,e)})}var bt={};(function(){He.definitions.forEach(function(e){if(e.name){var n=new Set;fe(e,n),bt[e.name.value]=n}})})();function Rn(t,e){for(var n=0;n0;){var l=s;s=new Set,l.forEach(function(a){if(!r.has(a)){r.add(a);var o=bt[a]||new Set;o.forEach(function(u){s.add(u)})}})}return r.forEach(function(a){var o=Rn(t,a);o&&n.definitions.push(o)}),n}Lu(He,"MobileRestaurantIndexPageReports");const xu=p.extend({components:{IndexPageTemplate:ou},mixins:[Ci,Ei],layout:"mobile/default",validate({params:t}){return!!t.restaurantId&&/^\d{12}$/.test(t.restaurantId)},async asyncData({app:t,store:e,error:n,query:i,params:r,redirect:s,route:l,req:a}){var Ft,Tt,It,$t,Dt,Mt;const o=new Date,u=await t.$urql.value.query(d,{restaurantId:Number(r.restaurantId),numOfDays:Nn},{requestPolicy:"network-only"}).toPromise(),{data:y,error:g}=u;if(g){console.error(u.error);const A=sa(g.graphQLErrors);if(A)throw ti(A)}if(!y||g!=null&&g.networkError)return n({statusCode:500,message:Bt.ON_FAILED_CONNECT_API_SERVER}),null;const{entity:_,page:w}=y;if(!_||!w)return n({statusCode:404,message:Bt.RESTAURANT_NOT_FOUND}),null;e.dispatch("session/setSessionUser",{loginSession:_.loginSession,currentUser:_.currentUser}),e.dispatch("breadcrumbs/setBreadcrumbs",[...w.breadcrumbsV2,{url:(Ft=_.restaurant)==null?void 0:Ft.url,text:(Tt=_.restaurant)==null?void 0:Tt.name}]),e.dispatch("acpParams/setAcpParams",(It=_.restaurant)==null?void 0:It.acpParams);const E=Array.isArray(i.hash)?i.hash[0]:i.hash,At=E&&(($t=_.loginSession)!=null&&$t.isLoggedIn)?await t.$urql.value.query(Ri,{hash:E},{requestPolicy:"network-only"}).toPromise():null;if(_.restaurant&&_.restaurant.url){const A=new URL(_.restaurant.url).pathname;if(l.path!==A)return s(301,A,l.query),null}if(_.restaurant&&_.restaurant.businessStatus===pi.COMBINED&&((Dt=_.restaurant.revisions[0])==null?void 0:Dt.canonicalUrl)!==""){const A=(Mt=_.restaurant.revisions[0])==null?void 0:Mt.canonicalUrl;if(A)return s(301,A),null}return{...At?At.data:{},reservationStartDate:o,pageEntity:y}},data(){return{paypayBonusAmount:null,pageEntity:{},reportsRelatedKeyword:{},nearbyReservableRestaurants:[]}},head(){var n,i,r,s;const t=(n=this.pageEntity.entity)==null?void 0:n.restaurant;if(!t||!this.page)return{};const e={userId:((s=(r=(i=this.pageEntity.entity)==null?void 0:i.loginSession)==null?void 0:r.session)==null?void 0:s.userId)||null,ruid:Ni(document.cookie,"_ruid")||null};return ni(t,this.page,e,!0)},computed:{page(){return this.pageEntity.page},entity(){return this.pageEntity.entity},nearbyReservableRestaurantIds(){return this.pageEntity.nearbyReservableRestaurants||[]},recommendRestaurantIdsFor202412(){return this.pageEntity.recommendRestaurantIdsFor202412||[]},isPaidMember(){var t,e;return(e=(t=this.entity)==null?void 0:t.restaurant)!=null&&e.membership?Tn(this.entity.restaurant.membership):!1},isNone(){var t,e;return(e=(t=this.entity)==null?void 0:t.restaurant)!=null&&e.membership?In(this.entity.restaurant.membership):!1}},async mounted(){var t;if((t=this.entity)!=null&&t.restaurant&&!this.isPaidMember){const e=["SP_omise_main_footer","SP_omise_top_middle_undercoupon_1_responsive","SP_omise_middle_native_1","SP_omise_middle_native_2","SP_omise_footer_1","SP_omise_footer_2","SP_omise_footer_3","SP_omise_native_1_top","SP_omise_native_2","SP_omise_native_3","SP_omise_native_4","SP_omise_top_middle_underphoto_1_nativead_spwebrenew_2016"],n=await ii(this.entity.restaurant,this.$store.state.session,e);ai(n)}},methods:{async fetchReports(t){const e=await this.$urql.value.query(He,{reportIds:t.ids},{requestPolicy:"network-only"}).toPromise();t.callback();const{data:n,error:i}=e;if(i||n===void 0){this.reportsRelatedKeyword=null;return}this.reportsRelatedKeyword=n}}});var Vu=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"restaurant-page"},[n("index-page-template",{attrs:{"page-entity":e.pageEntity,"reservation-start-date":e.reservationStartDate,"is-reserved-for-paypay-bonus":!0,"paypay-bonus-amount":e.paypayBonusAmount,"is-paid-member":e.isPaidMember,"is-not-member":e.isNone,"reports-related-keyword":e.reportsRelatedKeyword,"nearby-reservable-restaurant-ids":e.nearbyReservableRestaurantIds,"recommend-restaurant-ids-for202412":e.recommendRestaurantIdsFor202412},on:{"fetch-reports":e.fetchReports}})],1)},Uu=[],qu=m(xu,Vu,Uu,!1,null,"0fa1f4da");const gc=qu.exports;export{gc as default};