1import{d as g,C as b,N as S,K as C,s as L,z as V,fV as B,c as a,b as p,m as e,a as s,h as o,l as P,t as u,w as x,f as N,G as H,e as c,F as A,i as j,x as z,p as D,j as F,_ as E}from"./CBb99Q15.js";import{S as n}from"./RNpnbs6Y.js";import{I as G}from"./DsehEX-F.js";import"./Cszs-SBQ.js";import"./CV2DhTNg.js";import"./Nv8PPgTm.js";const K=t=>(D("data-v-e3dd6fd5"),t=t(),F(),t),M={key:0,class:"viewed-items"},R={class:"viewed-items__title-wrap"},T={class:"viewed-items__title"},$=K(()=>o("span",{class:"material-symbols-outlined"}," chevron_right ",-1)),q={key:0,class:"skeleton"},J={class:"skeleton__top"},O={class:"skeleton__bottom"},Q={key:1,class:"viewed-items__inner"},U={class:"viewed-items__list"},W=["data-testid"],h=g({__name:"ec_viewed_items",props:{viewedItems:{},favoriteItemIds:{},rmpPrAdProduct:{default:null},loading:{type:Boolean}},setup(t){const{isLoggedIn:i}=b(),{t:d}=S({useScope:"local"}),f=C(),w=t,{viewedItems:l,favoriteItemIds:k,rmpPrAdProduct:y,loading:_}=L(w),I=V(()=>B(l.value,k.value,y.value).splice(0,5));return(X,Y)=>e(_)||e(l).length>0?(s(),a("section",M,[o("div",R,[o("h2",T,u(e(d)("viewHistory")),1),e(i)?(s(),P(H,{key:0,type:"rect-outlined",href:e(f)("/mypage/viewed-item/")},{default:x(()=>[N(u(e(d)("viewList"))+" ",1),$]),_:1},8,["href"])):p("",!0)]),e(_)?(s(),a("div",q,[o("div",J,[c(n,{class:"skeleton__img"})]),o("div",O,[c(n,{class:"skeleton__tags"}),c(n,{class:"skeleton__title"})])])):(s(),a("div",Q,[o("ul",U,[(s(!0),a(A,null,j(e(I),(r,m)=>(s(),a("li",{key:m,class:z(r.isDisclosed?"":"undisclosed-item"),"data-testid":`viewed-item-${m}`},[c(G,{item:r},null,8,["item"])],10,W))),128))])]))])):p("",!0)}});function v(t){const i=t;i.__i18n=i.__i18n||[],i.__i18n.push({locale:"",resource:{ja:{viewHistory:{t:0,b:{t:2,i:[{t:3}],s:"é²è¦§å±¥æ´"}},viewList:{t:0,b:{t:2,i:[{t:3}],s:"ä¸è¦§ã表示"}}},en:{viewHistory:{t:0,b:{t:2,i:[{t:3}],s:"View History"}},viewList:{t:0,b:{t:2,i:[{t:3}],s:"More"}}}}})}typeof v=="function"&&v(h);const ae=E(h,[["__scopeId","data-v-e3dd6fd5"]]);export{ae 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.