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-Do71reyH.js
import{V as k,E as f,O as _,Q as p,n as F}from"./client-BmVmnFEC.js";import{P as S}from"./PvLogger-Bfc8O67g.js";import{m as C}from"./makeOriginalListIndexHead-Cxb3d29B.js";import{V as E,g as A}from"./makeGtmScript-B8HLg2s0.js";import{_ as h}from"./ic_apple_store-DnJ43X2Y.js";import{_ as N}from"./ic_google_play-BNR1qMWo.js";import"./constants-2oqeuneD.js";var l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OriginalListIndexPageMobileFragment"},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:"currentUser"},arguments:[],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:"isRealName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"followingCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"followerCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reportCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"goneCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"wannagoCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"currentReservationCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"topUserProfile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isPro"},arguments:[],directives:[]}]}},{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:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OriginalListIndexPageMobile"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"OriginalListIndexPageMobileFragment"},directives:[]}]}}],loc:{start:0,end:547}};l.loc.source={body:`fragment OriginalListIndexPageMobileFragment on Query { entity { currentUser { id url name isRealName followingCount followerCount reportCount goneCount wannagoCount currentReservationCount topUserProfile { isPro } notifications { html link iconUrl createdAt } } loginSession { session { userId } } } } query OriginalListIndexPageMobile { ...OriginalListIndexPageMobileFragment } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function d(i,e){if(i.kind==="FragmentSpread")e.add(i.name.value);else if(i.kind==="VariableDefinition"){var n=i.type;n.kind==="NamedType"&&e.add(n.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(t){d(t,e)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(t){d(t,e)}),i.definitions&&i.definitions.forEach(function(t){d(t,e)})}var c={};(function(){l.definitions.forEach(function(e){if(e.name){var n=new Set;d(e,n),c[e.name.value]=n}})})();function m(i,e){for(var n=0;n0;){var r=u;u=new Set,r.forEach(function(a){if(!s.has(a)){s.add(a);var o=c[a]||new Set;o.forEach(function(g){u.add(g)})}})}return s.forEach(function(a){var o=m(i,a);o&&n.definitions.push(o)}),n}v(l,"OriginalListIndexPageMobileFragment");v(l,"OriginalListIndexPageMobile");const y=k.extend({mixins:[S,E],layout:"mobile/default",async asyncData({app:i,store:e,error:n,req:t}){var a;const s=await i.$urql.value.query(l,{}).toPromise(),{data:u,error:r}=s;return r&&console.error(r),!u||r!=null&&r.networkError?(n({statusCode:500,message:f.ON_FAILED_CONNECT_API_SERVER}),null):(e.dispatch("session/setSessionUserWithReservation",(a=u.entity)==null?void 0:a.currentUser),e.dispatch("breadcrumbs/setBreadcrumbs",[{url:"https://retty.me/",text:"Rettyグルメ"},{url:"https://retty.me/originallist/",text:"オリジナルリストとは?"}]),{pageEntity:u})},data(){return{pageEntity:{}}},head(){var e,n,t;const i={userId:((t=(n=(e=this.pageEntity)==null?void 0:e.entity)==null?void 0:n.currentUser)==null?void 0:t.id)||null,ruid:A(document.cookie,"_ruid")||null};return C(i)},computed:{AppleStoreLink(){return _},GooglePlayLink(){return p}}});var P=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{staticClass:"original-list-page"},[e._m(0),n("p",{staticClass:"original-list-page__description"},[e._v("このリストを閲覧するには、Rettyアプリのインストールが必要です。アプリをインストールして再度アクセスすると、アプリが開いてこのリストを見ることができます。")]),n("dl",{staticClass:"app-links"},[n("dt",{staticClass:"app-links__title"},[e._v("iOSアプリはこちら")]),n("dd",{staticClass:"app-links__item"},[n("anchor-link",{attrs:{to:e.AppleStoreLink}},[n("img",{attrs:{src:h,width:"177",height:"63",alt:"App Storeからダウンロード"}})])],1),n("dt",{staticClass:"app-links__title"},[e._v("Androidアプリはこちら")]),n("dd",{staticClass:"app-links__item"},[n("anchor-link",{attrs:{to:e.GooglePlayLink}},[n("img",{attrs:{src:N,width:"180",height:"53",alt:"Google Playで手に入れよう"}})])],1)])])},B=[function(){var i=this,e=i._self._c;return i._self._setupProxy,e("h1",{staticClass:"original-list-page__title"},[e("span",{staticClass:"original-list-page__title-new-line"},[i._v("オリジナルリストは")]),e("span",{staticClass:"original-list-page__title-new-line"},[i._v("Rettyアプリでのみご利用できます")])])}],w=F(y,P,B,!1,null,"84ff8989");const M=w.exports;export{M as default};