PageSourceSearch

https://legend.com.kh/_nuxt/food-and-drinks.cd57ca58.js

js legend.com.kh collected 2026-10-08 08:11:39 UTC 3,915 bytes, 1 lines download raw bytes

1import{_ as V}from"./BaseLoading.1ea6d551.js";import{_ as W,a as r,b as _,e as a,d as b,f as d,t as C,a1 as y,C as Y,m as q,L as H,U as K,c as w,u as i,v as x,R as g,w as k,a3 as Q,ai as z,au as D,W as $,Q as p}from"./entry.d2ac456d.js";import{_ as F}from"./ImageBackdrop.0dc03a77.js";import{_ as M}from"./BackdropBanner.vue.df68df5a.js";import{_ as O}from"./LocalizedLink.vue.c1335e7a.js";import{f as Z}from"./cinema.service.50587a08.js";import"./SpinIcon.69bc49ce.js";import"./FullWidth.2960ba52.js";const J={},X={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ee=a("g",{id:"ic:round-navigate-next"},[a("path",{id:"Vector",d:"M7.00105 3.68404C6.89547 3.79451 6.8117 3.92573 6.75454 4.07019C6.69739 4.21465 6.66797 4.36951 6.66797 4.5259C6.66797 4.68229 6.69739 4.83715 6.75454 4.98161C6.8117 5.12606 6.89547 5.25728 7.00105 5.36776L11.4203 10.001L7.00105 14.6342C6.78809 14.8574 6.66845 15.1603 6.66845 15.476C6.66845 15.7918 6.78809 16.0946 7.00105 16.3179C7.21402 16.5412 7.50286 16.6666 7.80403 16.6666C8.1052 16.6666 8.39404 16.5412 8.607 16.3179L13.8349 10.8368C13.9405 10.7264 14.0242 10.5952 14.0814 10.4507C14.1385 10.3062 14.168 10.1514 14.168 9.99499C14.168 9.8386 14.1385 9.68374 14.0814 9.53928C14.0242 9.39482 13.9405 9.2636 13.8349 9.15313L8.607 3.6721C8.17419 3.21833 7.44525 3.21833 7.00105 3.68404Z",fill:"#BCBCBC"})],-1),ne=[ee];function se(l,n){return r(),_("svg",X,ne)}const te=W(J,[["render",se]]),oe={class:"flex items-center justify-between gap-4 rounded-md bg-white/5 p-2 border border-white/20"},ae={class:"flex gap-2"},ce={class:"h-12 min-w-[50px] w-12 overflow-hidden rounded-md"},re={class:"font-bold line-clamp-2"},ie={class:"min-w-[20px]"},le=b({__name:"CinemaPreviewCard",props:{imgUrl:{},name:{}},setup(l){return(n,s)=>{const c=y,t=te;return r(),_("div",null,[a("div",oe,[a("div",ae,[a("div",ce,[d(c,{src:n.imgUrl,width:50,height:50,class:"h-full w-full object-cover"},null,8,["src"])]),a("h3",re,C(n.name),1)]),a("div",ie,[d(t)])])])}}});function m(l){let n,s=l[0],c=1;for(;c<l.length;){const t=l[c],u=l[c+1];if(c+=2,(t==="optionalAccess"||t==="optionalCall")&&s==null)return;t==="access"||t==="optionalAccess"?(n=s,s=u(s)):(t==="call"||t==="optionalCall")&&(s=u((...h)=>s.call(n,...h)),n=void 0)}return s}const _e={key:0,class:"h-[30vh] py-10 flex justify-center"},de={class:"text-lg"},me={class:"mb-20 mt-10 md:my-20 relative"},ue={class:"text-lg font-bold md:text-xl"},pe={class:"mt-6 grid grid-cols-1 gap-x-6 gap-y-4 md:grid-cols-2"},ye=b({__name:"food-and-drinks",async setup(l){let n,s;const c=Y(),t=q(),{isLoggedIn:u}=H(),[{data:h,error:B,pending:L},{data:A,error:E,pending:P}]=([n,s]=K(()=>Promise.all([Z(),z(D.fbBanner)])),n=await n,s(),n),v=w(()=>m([B,"access",e=>e.value,"optionalAccess",e=>e.data,"access",e=>e.message])||m([E,"access",e=>e.value,"optionalAccess",e=>e.data,"access",e=>e.message])),S=e=>u.value?c.push({path:t(`${$.checkout_fb}`),query:{[p.cinema]:e}}):c.push({path:t(`${$.login}`),query:{[p.purchase]:"true",[p.foodBeverage]:"true",[p.cinema]:e}}),f=w(()=>m([A,"access",e=>e.value,"optionalAccess",e=>e.value])||"");return(e,he)=>{const I=V,T=y,R=F,U=M,j=le,G=O;return r(),_("div",null,[i(L)&&i(P)?(r(),x(I,{key:0})):(r(),_(g,{key:1},[i(v)?(r(),_("div",_e,[a("h1",de,C(i(v)),1)])):(r(),_(g,{key:1},[d(R,{class:"lg:h-[670px] xl:h-[760px]"},{default:k(()=>[d(T,{src:m([i,"call",o=>o(f),"optionalAccess",o=>o.url]),alt:i(f).name,width:360,height:480,class:"h-full w-full object-cover"},null,8,["src","alt"])]),_:1}),d(U,{src:m([i,"call",o=>o(f),"optionalAccess",o=>o.url])},null,8,["src"]),a("div",me,[a("h1",ue,C(e.$t("choose_cinema")),1),a("div",pe,[(r(!0),_(g,null,Q(i(h),(o,N)=>(r(),x(G,{key:N,onClick:fe=>S(o.cinemaProviderCinemaId)},{default:k(()=>[d(j,{"img-url":o.legendThumbnailUrl,name:o.name},null,8,["img-url","name"])]),_:2},1032,["onClick"]))),128))])])],64))],64))])}}});export{ye as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.