import{_ as E}from"./C7hH4nwp.js";import{s as C}from"./Dc4IvITV.js";import{d as H,r as y,J as w,X as T,k as V,S as z,G as o,C as l,n as u,F as h,D as m,K as t,T as g,N as k,E as a,P as B,_ as M}from"./8WCqLz8P.js";const P={key:0,class:"cards169_pc"},U={key:0,class:"cards_list",dataNumber:"0"},F={class:"img"},j=["href"],G={src:E},I={class:"text"},J=["href"],K={key:1,class:"cards169_pad"},R={key:0,class:"cards_list",dataNumber:"0"},X={class:"img"},$=["href"],q={src:E},O={class:"text"},Q=["href"],W={key:2,class:"cards169_mobile"},Y={key:0,class:"cards_list",dataNumber:"0"},Z={class:"img"},A=["href"],ee={src:E},se={class:"text"},te=["href"],v=12,oe=H({__name:"cards169",props:{result:{}},setup(x){const D=x,f=y(w("currentUA")),L=w("currentENV"),[s]=C(D.result,[150]);let r=1;const n=y([]);let i=1;(s==null?void 0:s.length)>0&&((s==null?void 0:s.length)<=18?i=1:i=math.ceil(((s==null?void 0:s.length)-18)/v)+1),i===1?n.value=s:n.value=s.slice(0,18);const S=()=>{r{const p=document.documentElement.scrollHeight,b=document.documentElement.scrollTop||document.body.scrollTop,d=document.documentElement.clientHeight;p-b-d<700&&s()};return T(()=>{window.addEventListener("scroll",N)}),V(()=>{window.removeEventListener("scroll",N)}),(p,b)=>{const d=z("lazy-load");return o(),l(h,null,[f.value==="pc"?(o(),l("section",P,[u(s)?(o(),l("div",U,[(o(!0),l(h,null,m(n.value,(e,_)=>{var c;return o(),l("div",{class:"cards_item",key:_},[t("div",F,[t("a",{href:e.link||""},[g(t("img",G,null,512),[[d,(c=e==null?void 0:e.photo)==null?void 0:c.thurm]])],8,j)]),t("div",I,[t("a",{href:e.link||""},[t("h3",null,k(e.title||""),1)],8,J)])])}),128))])):a("",!0)])):a("",!0),f.value==="pad"?(o(),l("section",K,[u(s)?(o(),l("div",R,[(o(!0),l(h,null,m(n.value,(e,_)=>{var c;return o(),l("div",{class:"cards_item",key:_},[t("div",X,[t("a",{href:e.link||""},[g(t("img",q,null,512),[[d,(c=e==null?void 0:e.photo)==null?void 0:c.thurm]])],8,$)]),t("div",O,[t("a",{href:e.link||""},[t("h3",null,k(e.title||""),1)],8,Q)])])}),128))])):a("",!0)])):a("",!0),f.value==="mobile"?(o(),l("section",W,[u(s)?(o(),l("div",Y,[(o(!0),l(h,null,m(n.value,(e,_)=>{var c;return o(),l("div",{class:"cards_item",key:_},[t("div",Z,[t("a",{href:e.link||""},[g(t("img",ee,null,512),[[d,(c=e==null?void 0:e.photo)==null?void 0:c.thurm]])],8,A)]),t("div",se,[t("a",{href:e.link||""},[t("h3",null,k(e.title||""),1)],8,te)])])}),128))])):a("",!0)])):a("",!0),u(L)==="preview"?B(p.$slots,"default",{key:3},void 0,!0):a("",!0)],64)}}}),ae=M(oe,[["__scopeId","data-v-895b6d8e"]]);export{ae as default};

AltStyle によって変換されたページ (->オリジナル) /