1import{_ as O}from"./CP-9SBy0.js";import{_ as P}from"./DOAdtEKY.js";import{d as M,r as v,$ as A,y as B,s as U,u as F,w as L,m as j,g as N,L as q,c as _,e as g,v as E,b as e,F as D,q as z,P as K,f as W,a as H,M as G,o as m,h as V,j as J,k as Q,i as $}from"./CT94Y2Xm.js";import"./DlAUqK2U.js";import"./D2DR6_YM.js";const X={key:0,class:"grid__wrap"},Y={key:1,class:"newOrSoonProduct__empty"},Z={key:2,class:"pagination__wrap"},ee={id:"pagination-app"},te=M({__name:"itemListEndingSoon",props:{categoryCode:{},releaseDateTool:{},site:{}},async setup(R){let t,i;const o=R,a=H(),u=a.public.site.item.count,x=a.public.site.pagers.itemList.totalVisible,T=A.pageCondition,r=v(T.page()),C=B();o.categoryCode&&o.categoryCode!==a.public.constants.item.categoryCode.movieTicket&&o.categoryCode!==a.public.constants.item.categoryCode.goods&&U({statusCode:404});const d=F.items.soonItems();if(o.site)if(o.categoryCode){const s=a.public.site.categoryTreeCodes[0];[t,i]=L(()=>d.get([s,o.categoryCode])),await t,i()}else[t,i]=L(()=>d.get()),await t,i();C.$items.List;const y=j(()=>{const s=d.salesEndList(o.site?.custom.sale_end_soon_days);return s.sort((n,c)=>{const I=new Date(n.sort_period_end),S=new Date(c.sort_period_end);if(I<S)return-1;if(I>S)return 1;const p=n.custom.sales_item_type?.id,w=c.custom.sales_item_type?.id;return p!==w?w-p:(c.custom.want_see_cnt??0)-(n.custom.want_see_cnt??0)}),s}),l=v([]),b=v(1),h=v(Math.ceil((y?.value?.length??0)/u)),f=v(!1);return N(()=>{f.value=!0}),q(r,()=>{const s=(r.value-1)*u,n=s+u,c=y.value?.slice(s,n)??[];l.value=c,f.value&&A.utils.scrollToTop()},{immediate:!0}),(s,n)=>{const c=O,I=P,S=G("v-pagination");return m(),_(D,null,[n[2]||(n[2]=g("h2",{class:"list__title"},"ã¾ããªã販売çµäº",-1)),E(c,{"category-code":o.categoryCode},null,8,["category-code"]),e(l)?.length?(m(),_("div",X,[(m(!0),_(D,null,z(e(l),(p,w)=>(m(),_("div",{key:w,class:"movieImage__wrap"}
1,[E(I,{"item-data":p,"release-date-tool":s.releaseDateTool,site:s.site,"is-lazy-load":w>=6},null,8,["item-data","release-date-tool","site","is-lazy-load"])]))),128))])):(m(),_("div",Y,n[1]||(n[1]=[g("p",null,"ã¾ããªã販売çµäºã®ååã¯ããã¾ããã",-1)]))),e(l)?.length?(m(),_("div",Z,[g("div",ee,[E(S,{modelValue:e(r),"onUpdate:modelValue":n[0]||(n[0]=p=>K(r)?r.value=p:null),class:"pagination__nav",length:Math.ceil((e(y)?.length??0)/e(u)),"total-visible":e(x),"prev-icon":e(r)==e(b)?"":"mdi-chevron-left","next-icon":e(r)==e(h)?"":"mdi-chevron-right"},null,8,["modelValue","length","total-visible","prev-icon","next-icon"])])])):W("",!0)],64)}}}),oe=Object.assign(te,{__name:"ItemListEndingSoon"}),se={class:"content__wrapper widest"},ne={class:"content__main"},ae={class:"newOrSoonProduct__container"},ie={class:"list__container"},k=`ã¾ããªã販売çµäºããååããè¦éããªãï¼MOVIE WALKER STOREã¯ã ããã±å売å¸ããã³ãã¬ãããªã©ã 2æ ç»ã«é¢ããããããã°ããºã販売ããMOVIE WALKERå ¬å¼ECãµã¤ãã`,me=M({__name:"ending-soon",async setup(R){let t,i;const o=$("headerFlags");o.showSearch=!0,o.showInformation=!0,o.showMenuIcon=!0,o.showSearchSp=!0;const a=$("footerFlags");a.showFullElement=!0,a.showFooterContent=!0,a.showSearch=!1,a.showBreadcrumb=!0;const u=$("breadcrumb");N(()=>{const s=V().public.constants;u.list=s.breadcrumb.endingSoon});const T=([t,i]=L(()=>F.utility.sites()),t=await t,i(),t).site.value,r=([t,i]=L(()=>F.items.releaseDate()),t=await t,i(),t),C=J(),d=C.query.category,y=(Array.isArray(d)?d[0]:d)??void 0,l=V().public.frontPageConfig,b=V().public.frontSiteURL,h=b+C.path,f=b+"/images/other/ogp_mws.png";return Q({...l.item.list.endingSoon.head,meta:[{name:"description",content:k},{name:"twitter:title",content:l.item.list.endingSoon.head.title},{name:"twitter:description",content:k},{name:"twitter:url",content:h},{name:"twitter:image",content:f},{name:"twitter:card",content:"summary_large_image"},{property:"og:title",content:l.item.list.endingSoon.head.title},{property:"og:description",content:k},{property:"og:url",content:h},{property:"og:image",content:f}],link:[{rel:"canonical",href:h},{rel:"stylesheet",href:"/css/co60-62.css"}]}),(s,n)=>{const c=oe;return m(),_("div",se,[g("div",ne,[g("div",ae,[g("section",ie,[E(c,{"category-code":e(y),"release-date-tool":e(r),site:e(T)},null,8,["category-code","release-date-tool","site"])])])])])}}});export{me 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.