import{_ as e}from"./u-icon.4046c188.js";import{W as t,X as o,E as r,i as a,j as n,w as i,T as l,d as s,u as d,c as u,r as c,ag as p,aB as h,aC as m,q as f,t as g,F as v,G as b,H as y,I as x,n as w,y as _,k as S,m as D,K as C,L as k,p as E,h as R,x as T,N as I,M as N,aD as O,aE as A,ap as W,Y as H,aF as M,af as P,aG as B,ak as z,Z as j,a0 as F,aH as X,aI as Y,V as L,J as G,a1 as U,ab as $,aJ as V}from"./index-59b72094.js";import{p as Z,_ as q}from"./u-image.480f9d13.js";import{_ as J}from"./_plugin-vue_export-helper.1b428a4d.js";import{_ as K}from"./app-link.vue_vue_type_script_setup_true_lang.b6496d1c.js";import{_ as Q}from"./u-avatar.45f327ca.js";import{_ as ee}from"./u-safe-bottom.1b1ffd7b.js";const te=J({name:"u--image",mixins:[t,Z,o],components:{uvImage:q},emits:["click","error","load"]},[["render",function(e,t,o,s,d,u){const c=r("uvImage");return a(),n(c,{src:e.src,mode:e.mode,width:e.width,height:e.height,shape:e.shape,radius:e.radius,lazyLoad:e.lazyLoad,showMenuByLongpress:e.showMenuByLongpress,loadingIcon:e.loadingIcon,errorIcon:e.errorIcon,showLoading:e.showLoading,showError:e.showError,fade:e.fade,webp:e.webp,duration:e.duration,bgColor:e.bgColor,customStyle:e.customStyle,onClick:t[0]||(t[0]=t=>e.$emit("click")),onError:t[1]||(t[1]=t=>e.$emit("error")),onLoad:t[2]||(t[2]=t=>e.$emit("load"))},{loading:i((()=>[l(e.$slots,"loading")])),error:i((()=>[l(e.$slots,"error")])),_:3},8,["src","mode","width","height","shape","radius","lazyLoad","showMenuByLongpress","loadingIcon","errorIcon","showLoading","showError","fade","webp","duration","bgColor","customStyle"])}]]),oe=J(s({__name:"index",props:["component","index","pullDownRefresh"],setup(t){const o=t,r=d(),l=u((()=>"decorate"==r.mode?r.value[o.index]:o.component)),s=u((()=>{var e="";return l.value.componentBgColor&&(e+="background-color:"+l.value.componentBgColor+";"),l.value.topRounded&&(e+="border-top-left-radius:"+2*l.value.topRounded+"rpx;"),l.value.topRounded&&(e+="border-top-right-radius:"+2*l.value.topRounded+"rpx;"),l.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*l.value.bottomRounded+"rpx;"),l.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*l.value.bottomRounded+"rpx;"),e})),I=c([]);p((()=>o.pullDownRefresh),((e,t)=>{})),h((()=>{N(),"decorate"==r.mode&&p((()=>l.value),((e,t)=>{e&&"AddonList"==e.componentName&&N()}))}));const N=()=>{"decorate"==r.mode&&l.value.list.forEach(((e,t)=>{""==e.icon&&(e.icon="static/resource/images/diy/figure.png"),""==e.title&&(e.title="应用名称")})),0==l.value.list.length?m().then((e=>{I.value=e.data})):I.value=l.value.list};return(t,o)=>{const r=f(g("u-icon"),e),l=f(g("u--image"),te),d=T;return a(),n(d,{style:E(w(s))},{default:i((()=>[(a(!0),v(b,null,y(I.value,((e,t)=>(a(),n(d,{key:e.id,class:x(["item flex align-center p-[20rpx] mb-[20rpx]",{"border-solid border-t-0 border-l-0 border-r-0 border-b border-gray-200":I.value.length-1!==t}]),onClick:t=>{return o=e.url,void R({url:o});var o}},{default:i((()=>[e.icon?(a(),n(l,{key:0,width:"120rpx",height:"120rpx",src:w(_)(e.icon),class:"rounded-md overflow-hidden",model:"aspectFill"},{error:i((()=>[S(r,{name:"photo",color:"#999",size:"60"})])),_:2},1032,["src"])):D("v-if",!0),S(d,{class:"flex-1 flex flex-col justify-center ml-[20rpx]"},{default:i((()=>[S(d,{class:"text-sm leading-[1.3] using-hidden"},{default:i((()=>[C(k(e.title),1)])),_:2},1024),S(d,{class:"text-xs text-[#999] mt-[8rpx] leading-[1.6] multi-hidden"},{default:i((()=>[C(k(e.desc),1)])),_:2},1024)])),_:2},1024)])),_:2},1032,["class","onClick"])))),128))])),_:1},8,["style"])}}}),[["__scopeId","data-v-98d5b8e8"]]),re=J(s({__name:"index",props:["component","index","pullDownRefresh"],setup(t){const o=t,r=d(),l=u((()=>"decorate"==r.mode?r.value[o.index]:o.component)),s=u((()=>{var e="";return l.value.componentBgColor&&(e+="background-color:"+l.value.componentBgColor+";"),l.value.topRounded&&(e+="border-top-left-radius:"+2*l.value.topRounded+"rpx;"),l.value.topRounded&&(e+="border-top-right-radius:"+2*l.value.topRounded+"rpx;"),l.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*l.value.bottomRounded+"rpx;"),l.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*l.value.bottomRounded+"rpx;"),e}));p((()=>o.pullDownRefresh),((e,t)=>{}));const m=c(0),R=e=>{m.value=e.detail.current},H=(e,t)=>{let o=l.value.pageCount*l.value.rowCount,r=!0;return r=e>=[(t-1)*o]&&e<[t*o],r},M=c("");h((()=>{P(),"decorate"==r.mode&&p((()=>l.value),((e,t)=>{e&&"GraphicNav"==e.componentName&&P()}))}));const P=()=>{var e;"decorate"==r.mode&&l.value.list.forEach(((e,t)=>{""==e.imageUrl&&(e.imageUrl="static/resource/images/diy/figure.png")})),e=0,"graphic"==l.value.mode?e=(49+l.value.imageSize)*l.value.pageCount:"img"==l.value.mode?e=(22+l.value.imageSize)*l.value.pageCount:"text"==l.value.mode&&(e=43*l.value.pageCount),M.value=2*e+"rpx"};return(t,o)=>{const r=T,d=I,u=f(g("app-link"),K),c=N,p=f(g("u-icon"),e),h=O,m=A,P=W;return a(),n(r,{style:E(w(s))},{default:i((()=>[S(r,{class:"flex items-center justify-between py-[30rpx] px-[32rpx]"},{default:i((()=>[w(l).navTitle?(a(),n(r,{key:0,class:"text-[30rpx]",style:E({fontWeight:w(l).font.weight,color:w(l).font.color})},{default:i((()=>[C(k(w(l).navTitle),1)])),_:1},8,["style"])):D("v-if",!0),w(l).subNavTitle?(a(),n(u,{key:1,data:w(l).subNavTitleLink,class:"flex items-baseline",style:E({color:w(l).subNavColor})},{default:i((()=>[S(d,{class:"text-[26rpx] mr-[4rpx]"},{default:i((()=>[C(k(w(l).subNavTitle),1)])),_:1}),S(d,{class:"text-sm iconfont iconxiangyoujiantou"})])),_:1},8,["data","style"])):D("v-if",!0)])),_:1}),"vertical"==w(l).layout?(a(),n(r,{key:0,class:"graphic-nav"},{default:i((()=>[(a(!0),v(b,null,y(w(l).list,((e,t)=>(a(),n(r,{class:"graphic-nav-item",key:e.id},{default:i((()=>[S(u,{data:e.link,class:x(["flex items-center justify-between py-[30rpx] px-[32rpx]",[0==t?"border-t-0":"border-t"]])},{default:i((()=>["text"!=w(l).mode?(a(),n(r,{key:0,class:"graphic-img relative flex items-center w-10 h-10 mr-[20rpx]",style:E({width:2*w(l).imageSize+"rpx",height:2*w(l).imageSize+"rpx"})},{default:i((()=>[S(c,{src:w(_)(e.imageUrl),mode:"aspectFill",style:E({maxWidth:2*w(l).imageSize+"rpx",maxHeight:2*w(l).imageSize+"rpx",borderRadius:2*w(l).aroundRadius+"rpx"})},null,8,["src","style"]),e.label.control?(a(),n(d,{key:0,class:"tag absolute -top-[10rpx] -right-[24rpx] text-white rounded-[24rpx] rounded-bl-none transform scale-80 py-1 px-2 text-xs",style:E({color:e.label.textColor,backgroundImage:"linear-gradient("+e.label.bgColorStart+","+e.label.bgColorEnd+")"})},{default:i((()=>[C(k(e.label.text),1)])),_:2},1032,["style"])):D("v-if",!0)])),_:2},1032,["style"])):D("v-if",!0),"img"!=w(l).mode?(a(),n(d,{key:1,class:"graphic-text w-full truncate leading-normal",style:E({fontSize:2*w(l).font.size+"rpx",fontWeight:w(l).font.weight,color:w(l).font.color})},{default:i((()=>[C(k(e.title),1)])),_:2},1032,["style"])):D("v-if",!0),S(p,{name:"arrow-right",color:"#CACACA"})])),_:2},1032,["data","class"])])),_:2},1024)))),128))])),_:1})):"horizontal"==w(l).layout&&"pageSlide"==w(l).showStyle?(a(),n(m,{key:1,class:"graphic-nav p-2 box-border relative",circular:"","indicator-dots":!1,style:E({height:M.value}),onChange:R},{default:i((()=>[(a(!0),v(b,null,y(Math.ceil(w(l).list.length/(w(l).pageCount*w(l).rowCount)),((e,t)=>(a(),n(h,{class:"graphic-nav-wrap flex flex-wrap"},{default:i((()=>[(a(!0),v(b,null,y(w(l).list,((t,o)=>(a(),v(b,null,[H(o,e)?(a(),n(r,{class:x(["graphic-nav-item",[w(l).mode]]),key:t.id,style:E({width:100/w(l).rowCount+"%"})},{default:i((()=>[S(u,{data:t.link,class:"flex flex-col items-center box-border py-2"},{default:i((()=>["text"!=w(l).mode?(a(),n(r,{key:0,class:"graphic-img relative flex items-center justify-center w-10 h-10",style:E({width:2*w(l).imageSize+"rpx",height:2*w(l).imageSize+"rpx"})},{default:i((()=>[S(c,{src:w(_)(t.imageUrl),mode:"aspectFill",style:E({maxWidth:2*w(l).imageSize+"rpx",maxHeight:2*w(l).imageSize+"rpx",borderRadius:2*w(l).aroundRadius+"rpx"})},null,8,["src","style"]),t.label.control?(a(),n(d,{key:0,class:"tag absolute -top-[10rpx] -right-[24rpx] text-white rounded-[24rpx] rounded-bl-none transform scale-80 py-1 px-2 text-xs",style:E({color:t.label.textColor,backgroundImage:"linear-gradient("+t.label.bgColorStart+","+t.label.bgColorEnd+")"})},{default:i((()=>[C(k(t.label.text),1)])),_:2},1032,["style"])):D("v-if",!0)])),_:2},1032,["style"])):D("v-if",!0),"img"!=w(l).mode?(a(),n(d,{key:1,class:x(["graphic-text w-full text-center truncate leading-normal",{"pt-1.5":"text"!=w(l).mode}]),style:E({fontSize:2*w(l).font.size+"rpx",fontWeight:w(l).font.weight,color:w(l).font.color})},{default:i((()=>[C(k(t.title),1)])),_:2},1032,["class","style"])):D("v-if",!0)])),_:2},1032,["data"])])),_:2},1032,["class","style"])):D("v-if",!0)],64)))),256))])),_:2},1024)))),256))])),_:1},8,["style"])):(a(),n(P,{key:2,"scroll-x":"singleSlide"==w(l).showStyle,class:x(["graphic-nav","graphic-nav-"+w(l).showStyle])},{default:i((()=>[(a(!0),v(b,null,y(w(l).list,((e,t)=>(a(),n(r,{class:x(["graphic-nav-item",{"flex-shrink-0":"singleSlide"==w(l).showStyle}]),key:e.id,style:E({width:100/w(l).rowCount+"%"})},{default:i((()=>[S(u,{data:e.link,class:"flex flex-col items-center box-border py-2"},{default:i((()=>["text"!=w(l).mode?(a(),n(r,{key:0,class:"graphic-img relative flex items-center justify-center w-10 h-10",style:E({width:2*w(l).imageSize+"rpx",height:2*w(l).imageSize+"rpx"})},{default:i((()=>[S(c,{src:w(_)(e.imageUrl),mode:"aspectFill",style:E({maxWidth:2*w(l).imageSize+"rpx",maxHeight:2*w(l).imageSize+"rpx",borderRadius:2*w(l).aroundRadius+"rpx"})},null,8,["src","style"]),e.label.control?(a(),n(d,{key:0,class:x(["tag absolute -top-[10rpx] -right-[24rpx] text-white rounded-[24rpx] rounded-bl-none transform scale-80 py-1 px-2 text-xs"]),style:E({color:e.label.textColor,backgroundImage:"linear-gradient("+e.label.bgColorStart+","+e.label.bgColorEnd+")"})},{default:i((()=>[C(k(e.label.text),1)])),_:2},1032,["style"])):D("v-if",!0)])),_:2},1032,["style"])):D("v-if",!0),"img"!=w(l).mode?(a(),n(d,{key:1,class:x(["graphic-text w-full text-center truncate leading-normal",{"pt-1.5":"text"!=w(l).mode}]),style:E({fontSize:2*w(l).font.size+"rpx",fontWeight:w(l).font.weight,color:w(l).font.color})},{default:i((()=>[C(k(e.title),1)])),_:2},1032,["class","style"])):D("v-if",!0)])),_:2},1032,["data"])])),_:2},1032,["class","style"])))),128))])),_:1},8,["scroll-x","class"]))])),_:1},8,["style"])}}}),[["__scopeId","data-v-e99afb33"]]),ae=s({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,o=d(),r=u((()=>"decorate"==o.mode?o.value[t.index]:t.component)),i=u((()=>{var e="";return e+="height:"+2*r.value.height+"rpx;",r.value.componentBgColor&&(e+="background-color:"+r.value.componentBgColor+";"),e}));return p((()=>t.pullDownRefresh),((e,t)=>{})),(e,t)=>{const o=T;return a(),n(o,{style:E(w(i))},null,8,["style"])}}}),ne=s({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,o=d(),r=u((()=>"decorate"==o.mode?o.value[t.index]:t.component)),l=u((()=>{var e="";return r.value.componentBgColor&&(e+="background-color:"+r.value.componentBgColor+";"),r.value.topRounded&&(e+="border-top-left-radius:"+2*r.value.topRounded+"rpx;"),r.value.topRounded&&(e+="border-top-right-radius:"+2*r.value.topRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*r.value.bottomRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*r.value.bottomRounded+"rpx;"),e}));h((()=>{s(),p((()=>r.value),((e,t)=>{e&&"HotArea"==e.componentName&&s()}))}));const s=()=>{"decorate"==o.mode&&""==r.value.imageUrl&&(r.value.imageUrl="static/resource/images/diy/figure.png",r.value.imgWidth=690,r.value.imgHeight=330)};return p((()=>t.pullDownRefresh),((e,t)=>{})),(e,t)=>{const s=N,d=f(g("app-link"),K),u=T;return a(),n(u,{style:E(w(l))},{default:i((()=>[S(u,{class:"simple-graph-wrap overflow-hidden relative leading-0"},{default:i((()=>[S(s,{style:E({height:w(r).imgHeight}),src:w(_)(w(r).imageUrl),mode:"widthFix","show-menu-by-longpress":!0,class:"w-full"},null,8,["style","src"]),"decorate"!=w(o).mode?(a(),v(b,{key:0},[D(" 热区功能 "),(a(!0),v(b,null,y(w(r).heatMapData,((e,t)=>(a(),n(d,{data:e.link,class:"absolute",key:t,style:E({width:e.width+"%",height:e.height+"%",left:e.left+"%",top:e.top+"%"})},null,8,["data","style"])))),128))],64)):D("v-if",!0)])),_:1})])),_:1},8,["style"])}}}),ie=s({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,o=d(),r=u((()=>"decorate"==o.mode?o.value[t.index]:t.component)),l=u((()=>{var e="";return r.value.componentBgColor&&(e+="background-color:"+r.value.componentBgColor+";"),e})),s=u((()=>{var e="";return r.value.topRounded&&(e+="border-top-left-radius:"+2*r.value.topRounded+"rpx;"),r.value.topRounded&&(e+="border-top-right-radius:"+2*r.value.topRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*r.value.bottomRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*r.value.bottomRounded+"rpx;"),e}));p((()=>t.pullDownRefresh),((e,t)=>{}));const m=u((()=>2*r.value.imageHeight+"rpx")),x=c(0),D=e=>{x.value=e.detail.current};h((()=>{C(),"decorate"==o.mode&&p((()=>r.value),((e,t)=>{e&&"ImageAds"==e.componentName&&C()}))}));const C=()=>{"decorate"==o.mode&&r.value.list.forEach(((e,t)=>{""==e.imageUrl&&(e.imageUrl="static/resource/images/diy/figure.png",e.imgWidth=690,e.imgHeight=330)}))};return(e,t)=>{const o=N,d=f(g("app-link"),K),u=T,c=O,p=A;return a(),n(u,{class:"image-ads",style:E(w(l))},{default:i((()=>[1==w(r).list.length?(a(),n(u,{key:0,class:"leading-0 overflow-hidden",style:E(w(s))},{default:i((()=>[S(d,{data:w(r).list[0].link},{default:i((()=>[S(o,{src:w(_)(w(r).list[0].imageUrl),style:E({height:w(m)}),mode:"heightFix",class:"w-full","show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data"])])),_:1},8,["style"])):(a(),n(p,{key:1,class:"swiper",style:E({height:w(m)}),autoplay:"true",circular:"true",onChange:D},{default:i((()=>[(a(!0),v(b,null,y(w(r).list,(e=>(a(),n(c,{class:"swiper-item",key:e.id,style:E(w(s))},{default:i((()=>[S(d,{data:e.link},{default:i((()=>[S(u,{class:"item",style:E({height:w(m)})},{default:i((()=>[S(o,{src:w(_)(e.imageUrl),mode:"scaleToFill",class:"w-full h-full","show-menu-by-longpress":!0},null,8,["src"])])),_:2},1032,["style"])])),_:2},1032,["data"])])),_:2},1032,["style"])))),128))])),_:1},8,["style"]))])),_:1},8,["style"])}}}),le=J(s({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,o=d(),r=u((()=>"decorate"==o.mode?o.value[t.index]:t.component)),l=u((()=>{var e="";return r.value.componentBgColor&&(e+="background-color:"+r.value.componentBgColor+";"),r.value.bgUrl&&(e+="background-image:url("+_(r.value.bgUrl)+");",e+="background-size: cover;",e+="background-repeat: no-repeat;"),r.value.topRounded&&(e+="border-top-left-radius:"+2*r.value.topRounded+"rpx;"),r.value.topRounded&&(e+="border-top-right-radius:"+2*r.value.topRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*r.value.bottomRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*r.value.bottomRounded+"rpx;"),e}));p((()=>t.pullDownRefresh),((e,t)=>{}));const s=H(),{query:h}=M(location.href);h.code&&P()&&B({code:h.code}).then((e=>{s.getMemberInfo()}));const m=u((()=>"decorate"==o.mode?{headimg:"",nickname:"昵称",balance:0,point:0,money:0,member_no:"NIU0000021"}:s.info)),v=u((()=>{if(m.value){let e=parseFloat(m.value.balance)+parseFloat(m.value.money);return z(e.toString())}return 0})),b=()=>{F().setLoginBack({url:"/app/pages/member/index"})};c(!1);const y=()=>{P()?F().getAuthCode("snsapi_userinfo"):R({url:"/app/pages/member/personal"})};return(e,t)=>{const o=f(g("u-avatar"),Q),s=T,d=I,u=f(g("app-link"),K);return a(),n(s,{style:E(w(l))},{default:i((()=>[S(s,{class:"pt-[34rpx] member-info"},{default:i((()=>[w(m)?(a(),n(s,{key:0,class:"flex ml-[32rpx] mr-[52rpx] items-center relative"},{default:i((()=>[D(" 唤起获取微信 "),S(o,{src:w(_)(w(m).headimg),size:"55",leftIcon:"none",onClick:y},null,8,["src"]),S(s,{class:"ml-[22rpx]"},{default:i((()=>[S(s,{class:"text-[#222222] truncate w-[430rpx] font-bold text-lg",style:E({color:w(r).textColor})},{default:i((()=>[C(k(w(m).nickname),1)])),_:1},8,["style"]),S(s,{class:"text-[#696B70] text-[24rpx] mt-[10rpx]",style:E({color:w(r).textColor})},{default:i((()=>[C(" UID:"+k(w(m).member_no),1)])),_:1},8,["style"])])),_:1}),S(s,{class:"set-icon flex items-center absolute right-0 top-2"},{default:i((()=>[S(u,{url:"/app/pages/setting/index"},{default:i((()=>[S(d,{class:"iconfont iconshezhi text-[1.6rem] ml-[10rpx]",style:E({color:w(r).textColor})},null,8,["style"])])),_:1})])),_:1})])),_:1})):(a(),n(s,{key:1,class:"flex ml-[32rpx] mr-[52rpx] items-center relative",onClick:b},{default:i((()=>[S(o,{src:"",size:"55"}),S(s,{class:"ml-[22rpx]"},{default:i((()=>[S(s,{class:"text-[#222222] font-bold text-lg",style:E({color:w(r).textColor})},{default:i((()=>[C(k(w(j)("login"))+"/"+k(w(j)("register")),1)])),_:1},8,["style"])])),_:1}),S(s,{class:"set-icon flex items-center absolute right-0 top-2"},{default:i((()=>[S(u,{url:"/app/pages/setting/index"},{default:i((()=>[S(d,{class:"iconfont iconshezhi text-[1.6rem] ml-[10rpx]",style:E({color:w(r).textColor})},null,8,["style"])])),_:1})])),_:1})])),_:1})),S(s,{class:"flex m-[30rpx] mb-0 py-[30rpx] items-center"},{default:i((()=>[S(s,{class:"flex-1 text-center"},{default:i((()=>[S(s,{class:"font-bold"},{default:i((()=>[S(u,{url:w(m)?"/app/pages/member/balance":"",style:E({color:w(r).textColor})},{default:i((()=>[C(k(w(v)),1)])),_:1},8,["url","style"])])),_:1}),S(s,{class:"text-sm mt-[10rpx]"},{default:i((()=>[S(u,{url:w(m)?"/app/pages/member/balance":"",style:E({color:w(r).textColor})},{default:i((()=>[C(k(w(j)("balance")),1)])),_:1},8,["url","style"])])),_:1})])),_:1}),S(s,{class:"border-solid border-white border-l border-b-0 border-t-0 border-r-0 h-[60rpx]"}),S(s,{class:"flex-1 text-center"},{default:i((()=>[S(s,{class:"font-bold"},{default:i((()=>[S(u,{url:w(m)?"/app/pages/member/point":"",style:E({color:w(r).textColor})},{default:i((()=>{var e;return[C(k(parseInt(null==(e=w(m))?void 0:e.point)||0),1)]})),_:1},8,["url","style"])])),_:1}),S(s,{class:"text-sm mt-[10rpx]"},{default:i((()=>[S(u,{url:w(m)?"/app/pages/member/point":"",style:E({color:w(r).textColor})},{default:i((()=>[C(k(w(j)("point")),1)])),_:1},8,["url","style"])])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["style"])}}}),[["__scopeId","data-v-18027378"]]),se=J(s({__name:"index",props:["component","index","pullDownRefresh"],setup(e){const t=e,o=d(),r=u((()=>"decorate"==o.mode?o.value[t.index]:t.component)),l=u((()=>{var e="";return r.value.componentBgColor&&(e+="background-color:"+r.value.componentBgColor+";"),r.value.topRounded&&(e+="border-top-left-radius:"+2*r.value.topRounded+"rpx;"),r.value.topRounded&&(e+="border-top-right-radius:"+2*r.value.topRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*r.value.bottomRounded+"rpx;"),r.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*r.value.bottomRounded+"rpx;"),e}));p((()=>t.pullDownRefresh),((e,t)=>{})),h((()=>{s(),p((()=>r.value),((e,t)=>{e&&"RubikCube"==e.componentName&&s()}))}));const s=()=>{"decorate"==o.mode&&r.value.list.forEach(((e,t)=>{""==e.imageUrl&&(e.imageUrl="static/resource/images/diy/figure.png",e.imgWidth=690,e.imgHeight=330)})),c()},c=()=>{var e={"row1-of2":{ratio:2,width:"calc((100% - "+X(2*r.value.imageGap)+"px) / 2)"},"row1-of3":{ratio:3,width:"calc((100% - "+X(4*r.value.imageGap)+"px) / 3)"},"row1-of4":{ratio:4,width:"calc((100% - "+X(6*r.value.imageGap)+"px) / 4)"}};r.value.list.forEach(((e,t)=>{e.pageItemStyle=((e,t)=>{var o="";return"right"==r.value.elementAngle||{"row1-lt-of2-rt":[["border-top-right-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row1-lt-of1-tp-of2-bm":[["border-top-right-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-bottom-right-radius"],["border-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row1-tp-of2-bm":[["border-bottom-left-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-right-radius","border-top-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row2-lt-of2-rt":[["border-top-right-radius","border-bottom-left-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-right-radius","border-bottom-left-radius"],["border-top-left-radius","border-bottom-right-radius","border-top-right-radius"],["border-top-left-radius","border-bottom-left-radius","border-top-right-radius"]],"row1-of4":[["border-top-right-radius","border-bottom-right-radius"],["border-radius"],["border-radius"],["border-top-left-radius","border-bottom-left-radius"]],"row1-of3":[["border-top-right-radius","border-bottom-right-radius"],["border-radius"],["border-top-left-radius","border-bottom-left-radius"]],"row1-of2":[["border-top-right-radius","border-bottom-right-radius"],["border-top-left-radius","border-bottom-left-radius"]]}[e][t].forEach(((e,t)=>{o+="border-top-left-radius:"+2*r.value.topElementRounded+"rpx;",o+="border-top-right-radius:"+2*r.value.topElementRounded+"rpx;",o+="border-bottom-left-radius:"+2*r.value.bottomElementRounded+"rpx;",o+="border-bottom-right-radius:"+2*r.value.bottomElementRounded+"rpx;"})),o})(r.value.mode,t)})),e[r.value.mode]?m(e[r.value.mode]):"row2-lt-of2-rt"==r.value.mode?C():"row1-lt-of2-rt"==r.value.mode?k():"row1-tp-of2-bm"==r.value.mode?R():"row1-lt-of1-tp-of2-bm"==r.value.mode&&I()},m=e=>{Y({success:t=>{let o=0;r.value.list.forEach(((a,n)=>{var i=a.imgHeight/a.imgWidth;let l=t.windowWidth-X(2*r.value.margin.both);r.value.imageGap>0&&(l-=X(e.ratio*r.value.imageGap*2)),a.imgWidth=l/e.ratio,a.imgHeight=a.imgWidth*i,(0==o||o{t.widthStyle=e.width,t.imgHeight=o}))}})},C=()=>{Y({success:e=>{let t=0,o=0;r.value.list.forEach(((a,n)=>{var i=a.imgHeight/a.imgWidth;a.imgWidth=e.windowWidth,a.imgWidth-=X(4*r.value.margin.both),r.value.imageGap>0&&(a.imgWidth-=X(2*r.value.imageGap)),a.imgWidth=a.imgWidth/2,a.imgHeight=a.imgWidth*i,n<=1?(0==t||t1&&(0==o||o{e.imgWidth="calc((100% - "+X(2*r.value.imageGap)+"px) / 2)",e.widthStyle=e.imgWidth,a<=1?e.imgHeight=t:a>1&&(e.imgHeight=o)}))}})},k=()=>{let e=0;r.value.list[1].imgWidth,r.value.list[2].imgWidth,Y({success:t=>{r.value.list.forEach(((o,a)=>{if(0==a){var n=o.imgHeight/o.imgWidth;o.imgWidth=t.windowWidth-X(4*r.value.margin.both)-X(2*r.value.imageGap),o.imgWidth=o.imgWidth/2,o.imgHeight=o.imgWidth*n,e=(o.imgHeight-X(2*r.value.imageGap))/2,o.imgWidth+="px"}else o.imgWidth=r.value.list[0].imgWidth,o.imgHeight=e}))}})},R=()=>{var e=0;Y({success:t=>{r.value.list.forEach(((o,a)=>{var n=o.imgHeight/o.imgWidth;0==a?o.imgWidth=t.windowWidth-X(4*r.value.margin.both):a>0&&(o.imgWidth=t.windowWidth-X(4*r.value.margin.both)-X(2*r.value.imageGap),o.imgWidth=o.imgWidth/2),o.imgHeight=o.imgWidth*n,a>0&&(0==e||e{t.imgWidth+="px",t.widthStyle=t.imgWidth,o>0&&(t.imgHeight=e)}))}})},I=()=>{Y({success:e=>{r.value.list.forEach(((t,o)=>{if(0==o){var a=t.imgHeight/t.imgWidth;t.imgWidth=e.windowWidth-X(4*r.value.margin.both)-X(2*r.value.imageGap),t.imgWidth=t.imgWidth/2,t.imgHeight=t.imgWidth*a}else 1==o?(t.imgWidth=r.value.list[0].imgWidth,t.imgHeight=(r.value.list[0].imgHeight-X(2*r.value.imageGap))/2):o>1&&(t.imgWidth=(r.value.list[0].imgWidth-X(2*r.value.imageGap))/2,t.imgHeight=r.value.list[1].imgHeight)})),r.value.list.forEach(((e,t)=>{e.imgWidth+="px",e.imgHeight}))}})};return(e,t)=>{const s=N,d=f(g("app-link"),K),u=T;return a(),n(u,{class:x(["rubik-cube",w(o).mode]),style:E(w(l))},{default:i((()=>[D(" 1左2右 "),"row1-lt-of2-rt"==w(r).mode?(a(),v(b,{key:0},[S(u,{class:"template-left"},{default:i((()=>[S(d,{data:w(r).list[0].link,class:x(["item",w(r).mode]),style:E({width:w(r).list[0].imgWidth,height:w(r).list[0].imgHeight+"px"})},{default:i((()=>[S(s,{src:w(_)(w(r).list[0].imageUrl),mode:"scaleToFill",style:E(w(r).list[0].pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data","class","style"])])),_:1}),S(u,{class:"template-right"},{default:i((()=>[(a(!0),v(b,null,y(w(r).list,((e,t)=>(a(),v(b,{key:t},[t>0?(a(),n(d,{key:0,data:e.link,class:x(["item",w(r).mode]),style:E({marginBottom:2*w(r).imageGap+"rpx",width:e.imgWidth,height:e.imgHeight+"px"})},{default:i((()=>[S(s,{src:w(_)(e.imageUrl),mode:"scaleToFill",style:E(e.pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:2},1032,["data","class","style"])):D("v-if",!0)],64)))),128))])),_:1})],64)):"row1-lt-of1-tp-of2-bm"==w(r).mode?(a(),v(b,{key:1},[D(" 1左3右 "),S(u,{class:"template-left"},{default:i((()=>[S(d,{data:w(r).list[0].link,class:x(["item",w(r).mode]),style:E({marginRight:2*w(r).imageGap+"rpx",width:w(r).list[0].imgWidth,height:w(r).list[0].imgHeight+"px"})},{default:i((()=>[S(s,{src:w(_)(w(r).list[0].imageUrl),mode:"scaleToFill",style:E(w(r).list[0].pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data","class","style"])])),_:1}),S(u,{class:"template-right"},{default:i((()=>[S(d,{data:w(r).list[1].link,class:x(["item",w(r).mode]),style:E({marginBottom:2*w(r).imageGap+"rpx",width:w(r).list[1].imgWidth,height:w(r).list[1].imgHeight+"px"})},{default:i((()=>[S(s,{src:w(_)(w(r).list[1].imageUrl),mode:"scaleToFill",style:E(w(r).list[1].pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:1},8,["data","class","style"]),S(u,{class:"template-bottom"},{default:i((()=>[(a(!0),v(b,null,y(w(r).list,((e,t)=>(a(),v(b,{key:t},[t>1?(a(),n(d,{key:0,data:e.link,class:x(["item",w(r).mode]),style:E({marginRight:2*w(r).imageGap+"rpx",width:e.imgWidth,height:e.imgHeight+"px"})},{default:i((()=>[S(s,{src:w(_)(e.imageUrl),mode:"scaleToFill",style:E(e.pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:2},1032,["data","class","style"])):D("v-if",!0)],64)))),128))])),_:1})])),_:1})],64)):(a(!0),v(b,{key:2},y(w(r).list,((e,t)=>(a(),n(d,{class:x(["item",w(r).mode]),key:t,data:e.link,style:E({marginRight:2*w(r).imageGap+"rpx",marginBottom:2*w(r).imageGap+"rpx",width:e.widthStyle,height:e.imgHeight+"px"})},{default:i((()=>[S(s,{src:w(_)(e.imageUrl),mode:"scaleToFill",style:E(e.pageItemStyle),"show-menu-by-longpress":!0},null,8,["src","style"])])),_:2},1032,["class","data","style"])))),128))])),_:1},8,["class","style"])}}}),[["__scopeId","data-v-dba01295"]]),de=J(s({__name:"index",props:["component","index","pullDownRefresh"],setup(t){const o=t,r=d(),l=u((()=>"decorate"==r.mode?r.value[o.index]:o.component)),s=u((()=>{var e="";return l.value.componentBgColor&&(e+="background-color:"+l.value.componentBgColor+";"),l.value.topRounded&&(e+="border-top-left-radius:"+2*l.value.topRounded+"rpx;"),l.value.topRounded&&(e+="border-top-right-radius:"+2*l.value.topRounded+"rpx;"),l.value.bottomRounded&&(e+="border-bottom-left-radius:"+2*l.value.bottomRounded+"rpx;"),l.value.bottomRounded&&(e+="border-bottom-right-radius:"+2*l.value.bottomRounded+"rpx;"),e}));return p((()=>o.pullDownRefresh),((e,t)=>{})),(t,o)=>{const r=T,d=f(g("app-link"),K),u=I,c=f(g("u-icon"),e);return a(),n(r,{class:"diy-text",style:E(w(s))},{default:i((()=>["style-1"==w(l).style?(a(),n(r,{key:0,class:"p-[20rpx]"},{default:i((()=>[S(d,{data:w(l).link},{default:i((()=>[S(r,{style:E({fontSize:2*w(l).fontSize+"rpx",color:w(l).textColor,fontWeight:w(l).fontWeight,textAlign:w(l).textAlign})},{default:i((()=>[C(k(w(l).text),1)])),_:1},8,["style"])])),_:1},8,["data"])])),_:1})):D("v-if",!0),"style-2"==w(l).style?(a(),n(r,{key:1,class:"p-[20rpx] flex items-center"},{default:i((()=>[S(d,{data:w(l).link},{default:i((()=>[S(r,{class:"max-w-[200rpx] truncate",style:E({fontSize:2*w(l).fontSize+"rpx",color:w(l).textColor,fontWeight:w(l).fontWeight})},{default:i((()=>[C(k(w(l).text),1)])),_:1},8,["style"])])),_:1},8,["data"]),S(u,{class:"ml-[16rpx] max-w-[300rpx] truncate",style:E({color:w(l).subTitle.color,fontSize:2*w(l).subTitle.fontSize+"rpx"})},{default:i((()=>[C(k(w(l).subTitle.text),1)])),_:1},8,["style"]),w(l).more.isShow?(a(),n(r,{key:0,class:"ml-auto text-right",style:E({color:w(l).more.color})},{default:i((()=>[S(d,{data:w(l).more.link,class:"flex items-center"},{default:i((()=>[S(u,{class:"max-w-[200rpx] truncate text-[24rpx] mr-[8rpx]"},{default:i((()=>[C(k(w(l).more.text),1)])),_:1}),S(c,{name:"arrow-right",size:"12",style:E({color:w(l).more.color})},null,8,["style"])])),_:1},8,["data"])])),_:1},8,["style"])):D("v-if",!0)])),_:1})):D("v-if",!0)])),_:1},8,["style"])}}}),[["__scopeId","data-v-b04aeffc"]]);const ue=J({name:"u-badge",mixins:[t,{props:{isDot:{type:Boolean,default:L.badge.isDot},value:{type:[Number,String],default:L.badge.value},modelValue:{type:[Number,String],default:L.badge.modelValue},show:{type:Boolean,default:L.badge.show},max:{type:[Number,String],default:L.badge.max},type:{type:String,default:L.badge.type},showZero:{type:Boolean,default:L.badge.showZero},bgColor:{type:[String,null],default:L.badge.bgColor},color:{type:[String,null],default:L.badge.color},shape:{type:String,default:L.badge.shape},numberType:{type:String,default:L.badge.numberType},offset:{type:Array,default:L.badge.offset},inverted:{type:Boolean,default:L.badge.inverted},absolute:{type:Boolean,default:L.badge.absolute}}},o],computed:{boxStyle:()=>({}),badgeStyle(){const e={};if(this.color&&(e.color=this.color),this.bgColor&&!this.inverted&&(e.backgroundColor=this.bgColor),this.absolute&&(e.position="absolute",this.offset.length)){const t=this.offset[0],o=this.offset[1]||t;e.top=uni.$u.addUnit(t),e.right=uni.$u.addUnit(o)}return e},showValue(){switch(this.numberType){case"overflow":return Number(this.value)>Number(this.max)?this.max+"+":this.value;case"ellipsis":return Number(this.value)>Number(this.max)?"...":this.value;case"limit":return Number(this.value)>999?Number(this.value)>=9999?Math.floor(this.value/1e4*100)/100+"w":Math.floor(this.value/1e3*100)/100+"k":this.value;default:return Number(this.value)}}}},[["render",function(e,t,o,r,l,s){const d=I;return e.show&&(0!==Number(e.value)||e.showZero||e.isDot)?(a(),n(d,{key:0,class:x([[e.isDot?"u-badge--dot":"u-badge--not-dot",e.inverted&&"u-badge--inverted","horn"===e.shape&&"u-badge--horn",`u-badge--${e.type}${e.inverted?"--inverted":""}`],"u-badge"]),style:E([e.$u.addStyle(e.customStyle),s.badgeStyle])},{default:i((()=>[C(k(e.isDot?"":s.showValue),1)])),_:1},8,["class","style"])):D("v-if",!0)}],["__scopeId","data-v-99cd5b85"]]);const ce=J({name:"u-tabbar-item",mixins:[t,o,{props:{name:{type:[String,Number,null],default:L.tabbarItem.name},icon:{icon:String,default:L.tabbarItem.icon},badge:{type:[String,Number,null],default:L.tabbarItem.badge},dot:{type:Boolean,default:L.tabbarItem.dot},text:{type:String,default:L.tabbarItem.text},badgeStyle:{type:[Object,String],default:L.tabbarItem.badgeStyle}}}],data:()=>({isActive:!1,parentData:{value:null,activeColor:"",inactiveColor:""}}),options:{virtualHost:!0},created(){this.init()},methods:{init(){this.updateParentData(),this.parent||uni.$u.error("u-tabbar-item必须搭配u-tabbar组件使用");const e=this.parent.children.indexOf(this);this.isActive=(this.name||e)===this.parentData.value},updateParentData(){this.getParentData("u-tabbar")},updateFromParent(){this.init()},clickHandler(){this.$nextTick((()=>{const e=this.parent.children.indexOf(this),t=this.name||e;t!==this.parent.value&&this.parent.$emit("change",t),this.$emit("click",t)}))}}},[["render",function(t,o,r,s,d,u){const c=f(g("u-icon"),e),p=f(g("u-badge"),ue),h=T,m=I;return a(),n(h,{class:"u-tabbar-item",style:E([t.$u.addStyle(t.customStyle)]),onClick:u.clickHandler},{default:i((()=>[S(h,{class:"u-tabbar-item__icon"},{default:i((()=>[t.icon?(a(),n(c,{key:0,name:t.icon,color:d.isActive?d.parentData.activeColor:d.parentData.inactiveColor,size:20},null,8,["name","color"])):(a(),v(b,{key:1},[d.isActive?l(t.$slots,"active-icon",{key:0},void 0,!0):l(t.$slots,"inactive-icon",{key:1},void 0,!0)],64)),S(p,{absolute:"",offset:[0,t.dot?"34rpx":t.badge>9?"14rpx":"20rpx"],customStyle:t.badgeStyle,isDot:t.dot,value:t.badge||(t.dot?1:null),show:t.dot||t.badge>0},null,8,["offset","customStyle","isDot","value","show"])])),_:3}),l(t.$slots,"text",{},(()=>[S(m,{class:"u-tabbar-item__text",style:E({color:d.isActive?d.parentData.activeColor:d.parentData.inactiveColor})},{default:i((()=>[C(k(t.text),1)])),_:1},8,["style"])]),!0)])),_:3},8,["style","onClick"])}],["__scopeId","data-v-b5faebd4"]]);const pe=J({name:"u-tabbar",mixins:[t,o,{props:{value:{type:[String,Number,null],default:L.tabbar.value},safeAreaInsetBottom:{type:Boolean,default:L.tabbar.safeAreaInsetBottom},border:{type:Boolean,default:L.tabbar.border},zIndex:{type:[String,Number],default:L.tabbar.zIndex},activeColor:{type:String,default:L.tabbar.activeColor},inactiveColor:{type:String,default:L.tabbar.inactiveColor},fixed:{type:Boolean,default:L.tabbar.fixed},placeholder:{type:Boolean,default:L.tabbar.placeholder}}}],data:()=>({placeholderHeight:0}),computed:{tabbarStyle(){const e={zIndex:this.zIndex};return uni.$u.deepMerge(e,uni.$u.addStyle(this.customStyle))},updateChild(){return[this.value,this.activeColor,this.inactiveColor]},updatePlaceholder(){return[this.fixed,this.placeholder]}},watch:{updateChild(){this.updateChildren()},updatePlaceholder(){this.setPlaceholderHeight()}},created(){this.children=[]},mounted(){this.setPlaceholderHeight()},methods:{updateChildren(){this.children.length&&this.children.map((e=>e.updateFromParent()))},async setPlaceholderHeight(){this.fixed&&this.placeholder&&(await uni.$u.sleep(20),this.$uGetRect(".u-tabbar__content").then((({height:e=50})=>{this.placeholderHeight=e})))}}},[["render",function(e,t,o,r,s,d){const u=T,c=f(g("u-safe-bottom"),ee);return a(),n(u,{class:"u-tabbar"},{default:i((()=>[S(u,{class:x(["u-tabbar__content",[e.border&&"u-border-top",e.fixed&&"u-tabbar--fixed"]]),ref:"u-tabbar__content",onTouchmove:G(e.noop,["stop","prevent"]),style:E([d.tabbarStyle])},{default:i((()=>[S(u,{class:"u-tabbar__content__item-wrapper"},{default:i((()=>[l(e.$slots,"default",{},void 0,!0)])),_:3}),e.safeAreaInsetBottom?(a(),n(c,{key:0})):D("v-if",!0)])),_:3},8,["onTouchmove","class","style"]),e.placeholder?(a(),n(u,{key:0,class:"u-tabbar__placeholder",style:E({height:s.placeholderHeight+"px"})},null,8,["style"])):D("v-if",!0)])),_:3})}],["__scopeId","data-v-b564ac71"]]),he=J(s({__name:"tabbar",setup(e){const t=u((()=>U().tabbar)),o=u((()=>"/"+$())),r=e=>{R({url:`${e}`})};return(e,l)=>{const s=f(g("u-tabbar-item"),ce),d=f(g("u-tabbar"),pe),u=T;return a(),v(b,null,[w(t)?(a(),n(d,{key:0,value:w(o),onChange:r,zIndex:"9999",fixed:!0,placeholder:!0,safeAreaInsetBottom:!0,"inactive-color":w(t).textColor,"active-color":w(t).textHoverColor},{default:i((()=>[(a(!0),v(b,null,y(w(t).list,(e=>(a(),v(b,null,[1==w(t).type?(a(),n(s,{key:0,style:E({"background-color":w(t).backgroundColor}),text:e.text,icon:w(_)(w(o)==e.link.url?e.iconSelectPath:e.iconPath),name:e.link.url},null,8,["style","text","icon","name"])):D("v-if",!0),2==w(t).type?(a(),n(s,{key:1,style:E({"background-color":w(t).backgroundColor}),icon:w(_)(w(o)==e.link.url?e.iconSelectPath:e.iconPath),name:e.link.url},null,8,["style","icon","name"])):D("v-if",!0),3==w(t).type?(a(),n(s,{key:2,style:E({"background-color":w(t).backgroundColor}),text:e.text,name:e.link.url},null,8,["style","text","name"])):D("v-if",!0)],64)))),256))])),_:1},8,["value","inactive-color","active-color"])):D("v-if",!0),S(u,{class:"tab-bar-placeholder"})],64)}}}),[["__scopeId","data-v-a6cbc50b"]]); /**! * Sortable 1.15.0 * @author RubaXa * @author owenm * @license MIT */ function me(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function fe(e){for(var t=1;t=0||(a[o]=e[o]);return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(a[o]=e[o])}return a}function xe(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var we=xe(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),_e=xe(/Edge/i),Se=xe(/firefox/i),De=xe(/safari/i)&&!xe(/chrome/i)&&!xe(/android/i),Ce=xe(/iP(ad|od|hone)/i),ke=xe(/chrome/i)&&xe(/android/i),Ee={capture:!1,passive:!1};function Re(e,t,o){e.addEventListener(t,o,!we&&Ee)}function Te(e,t,o){e.removeEventListener(t,o,!we&&Ee)}function Ie(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(o){return!1}return!1}}function Ne(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Oe(e,t,o,r){if(e){o=o||document;do{if(null!=t&&(">"===t[0]?e.parentNode===o&&Ie(e,t):Ie(e,t))||r&&e===o)return e;if(e===o)break}while(e=Ne(e))}return null}var Ae,We=/\s+/g;function He(e,t,o){if(e&&t)if(e.classList)e.classList[o?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(We," ").replace(" "+t+" "," ");e.className=(r+(o?" "+t:"")).replace(We," ")}}function Me(e,t,o){var r=e&&e.style;if(r){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=o+("string"==typeof o?"":"px")}}function Pe(e,t){var o="";if("string"==typeof e)o=e;else do{var r=Me(e,"transform");r&&"none"!==r&&(o=r+" "+o)}while(!t&&(e=e.parentNode));var a=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return a&&new a(o)}function Be(e,t,o){if(e){var r=e.getElementsByTagName(t),a=0,n=r.length;if(o)for(;a=n:a<=n))return r;if(r===ze())break;r=Ue(r,!1)}return!1}function Xe(e,t,o,r){for(var a=0,n=0,i=e.children;n2&&void 0!==arguments[2]?arguments[2]:{},r=o.evt,a=ye(o,ot);tt.pluginEvent.bind(Zt)(e,t,fe({dragEl:nt,parentEl:it,ghostEl:lt,rootEl:st,nextEl:dt,lastDownEl:ut,cloneEl:ct,cloneHidden:pt,dragStarted:Ct,putSortable:bt,activeSortable:Zt.active,originalEvent:r,oldIndex:ht,oldDraggableIndex:ft,newIndex:mt,newDraggableIndex:gt,hideGhostForTarget:Gt,unhideGhostForTarget:Ut,cloneNowHidden:function(){pt=!0},cloneNowShown:function(){pt=!1},dispatchSortableEvent:function(e){at({sortable:t,name:e,originalEvent:r})}},a))};function at(e){!function(e){var t=e.sortable,o=e.rootEl,r=e.name,a=e.targetEl,n=e.cloneEl,i=e.toEl,l=e.fromEl,s=e.oldIndex,d=e.newIndex,u=e.oldDraggableIndex,c=e.newDraggableIndex,p=e.originalEvent,h=e.putSortable,m=e.extraEventProperties;if(t=t||o&&o[Je]){var f,g=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||we||_e?(f=document.createEvent("Event")).initEvent(r,!0,!0):f=new CustomEvent(r,{bubbles:!0,cancelable:!0}),f.to=i||o,f.from=l||o,f.item=a||o,f.clone=n,f.oldIndex=s,f.newIndex=d,f.oldDraggableIndex=u,f.newDraggableIndex=c,f.originalEvent=p,f.pullMode=h?h.lastPutMode:void 0;var b=fe(fe({},m),tt.getEventProperties(r,t));for(var y in b)f[y]=b[y];o&&o.dispatchEvent(f),g[v]&&g[v].call(t,f)}}(fe({putSortable:bt,cloneEl:ct,targetEl:nt,rootEl:st,oldIndex:ht,oldDraggableIndex:ft,newIndex:mt,newDraggableIndex:gt},e))}var nt,it,lt,st,dt,ut,ct,pt,ht,mt,ft,gt,vt,bt,yt,xt,wt,_t,St,Dt,Ct,kt,Et,Rt,Tt,It=!1,Nt=!1,Ot=[],At=!1,Wt=!1,Ht=[],Mt=!1,Pt=[],Bt="undefined"!=typeof document,zt=Ce,jt=_e||we?"cssFloat":"float",Ft=Bt&&!ke&&!Ce&&"draggable"in document.createElement("div"),Xt=function(){if(Bt){if(we)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Yt=function(e,t){var o=Me(e),r=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),a=Xe(e,0,t),n=Xe(e,1,t),i=a&&Me(a),l=n&&Me(n),s=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+je(a).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+je(n).width;if("flex"===o.display)return"column"===o.flexDirection||"column-reverse"===o.flexDirection?"vertical":"horizontal";if("grid"===o.display)return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&i.float&&"none"!==i.float){var u="left"===i.float?"left":"right";return!n||"both"!==l.clear&&l.clear!==u?"horizontal":"vertical"}return a&&("block"===i.display||"flex"===i.display||"table"===i.display||"grid"===i.display||s>=r&&"none"===o[jt]||n&&"none"===o[jt]&&s+d>r)?"vertical":"horizontal"},Lt=function(e){function t(e,o){return function(r,a,n,i){var l=r.options.group.name&&a.options.group.name&&r.options.group.name===a.options.group.name;if(null==e&&(o||l))return!0;if(null==e||!1===e)return!1;if(o&&"clone"===e)return e;if("function"==typeof e)return t(e(r,a,n,i),o)(r,a,n,i);var s=(o?r:a).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var o={},r=e.group;r&&"object"==ge(r)||(r={name:r}),o.name=r.name,o.checkPull=t(r.pull,!0),o.checkPut=t(r.put),o.revertClone=r.revertClone,e.group=o},Gt=function(){!Xt&<&&Me(lt,"display","none")},Ut=function(){!Xt&<&&Me(lt,"display","")};Bt&&!ke&&document.addEventListener("click",(function(e){if(Nt)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Nt=!1,!1}),!0);var $t=function(e){if(nt){e=e.touches?e.touches[0]:e;var t=(a=e.clientX,n=e.clientY,Ot.some((function(e){var t=e[Je].options.emptyInsertThreshold;if(t&&!Ye(e)){var o=je(e),r=a>=o.left-t&&a<=o.right+t,l=n>=o.top-t&&n<=o.bottom+t;return r&&l?i=e:void 0}})),i);if(t){var o={};for(var r in e)e.hasOwnProperty(r)&&(o[r]=e[r]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[Je]._onDragOver(o)}}var a,n,i},Vt=function(e){nt&&nt.parentNode[Je]._isOutsideThisEl(e.target)};function Zt(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=be({},t),e[Je]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Yt(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Zt.supportPointer&&"PointerEvent"in window&&!De,emptyInsertThreshold:5};for(var r in tt.initializePlugins(this,e,o),o)!(r in t)&&(t[r]=o[r]);for(var a in Lt(t),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!t.forceFallback&&Ft,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Re(e,"pointerdown",this._onTapStart):(Re(e,"mousedown",this._onTapStart),Re(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Re(e,"dragover",this),Re(e,"dragenter",this)),Ot.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),be(this,Ke())}function qt(e,t,o,r,a,n,i,l){var s,d,u=e[Je],c=u.options.onMove;return!window.CustomEvent||we||_e?(s=document.createEvent("Event")).initEvent("move",!0,!0):s=new CustomEvent("move",{bubbles:!0,cancelable:!0}),s.to=t,s.from=e,s.dragged=o,s.draggedRect=r,s.related=a||t,s.relatedRect=n||je(t),s.willInsertAfter=l,s.originalEvent=i,e.dispatchEvent(s),c&&(d=c.call(u,s,i)),d}function Jt(e){e.draggable=!1}function Kt(){Mt=!1}function Qt(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,r=0;o--;)r+=t.charCodeAt(o);return r.toString(36)}function eo(e){return setTimeout(e,0)}function to(e){return clearTimeout(e)}Zt.prototype={constructor:Zt,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(kt=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,nt):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,o=this.el,r=this.options,a=r.preventOnFilter,n=e.type,i=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,l=(i||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,d=r.filter;if(function(e){Pt.length=0;var t=e.getElementsByTagName("input"),o=t.length;for(;o--;){var r=t[o];r.checked&&Pt.push(r)}}(o),!nt&&!(/mousedown|pointerdown/.test(n)&&0!==e.button||r.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!De||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=Oe(l,r.draggable,o,!1))&&l.animated||ut===l)){if(ht=Le(l),ft=Le(l,r.draggable),"function"==typeof d){if(d.call(this,e,l,this))return at({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:o,fromEl:o}),rt("filter",t,{evt:e}),void(a&&e.cancelable&&e.preventDefault())}else if(d&&(d=d.split(",").some((function(r){if(r=Oe(s,r.trim(),o,!1))return at({sortable:t,rootEl:r,name:"filter",targetEl:l,fromEl:o,toEl:o}),rt("filter",t,{evt:e}),!0}))))return void(a&&e.cancelable&&e.preventDefault());r.handle&&!Oe(s,r.handle,o,!1)||this._prepareDragStart(e,i,l)}}},_prepareDragStart:function(e,t,o){var r,a=this,n=a.el,i=a.options,l=n.ownerDocument;if(o&&!nt&&o.parentNode===n){var s=je(o);if(st=n,it=(nt=o).parentNode,dt=nt.nextSibling,ut=o,vt=i.group,Zt.dragged=nt,yt={target:nt,clientX:(t||e).clientX,clientY:(t||e).clientY},St=yt.clientX-s.left,Dt=yt.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,nt.style["will-change"]="all",r=function(){rt("delayEnded",a,{evt:e}),Zt.eventCanceled?a._onDrop():(a._disableDelayedDragEvents(),!Se&&a.nativeDraggable&&(nt.draggable=!0),a._triggerDragStart(e,t),at({sortable:a,name:"choose",originalEvent:e}),He(nt,i.chosenClass,!0))},i.ignore.split(",").forEach((function(e){Be(nt,e.trim(),Jt)})),Re(l,"dragover",$t),Re(l,"mousemove",$t),Re(l,"touchmove",$t),Re(l,"mouseup",a._onDrop),Re(l,"touchend",a._onDrop),Re(l,"touchcancel",a._onDrop),Se&&this.nativeDraggable&&(this.options.touchStartThreshold=4,nt.draggable=!0),rt("delayStart",this,{evt:e}),!i.delay||i.delayOnTouchOnly&&!t||this.nativeDraggable&&(_e||we))r();else{if(Zt.eventCanceled)return void this._onDrop();Re(l,"mouseup",a._disableDelayedDrag),Re(l,"touchend",a._disableDelayedDrag),Re(l,"touchcancel",a._disableDelayedDrag),Re(l,"mousemove",a._delayedDragTouchMoveHandler),Re(l,"touchmove",a._delayedDragTouchMoveHandler),i.supportPointer&&Re(l,"pointermove",a._delayedDragTouchMoveHandler),a._dragStartTimer=setTimeout(r,i.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){nt&&Jt(nt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Te(e,"mouseup",this._disableDelayedDrag),Te(e,"touchend",this._disableDelayedDrag),Te(e,"touchcancel",this._disableDelayedDrag),Te(e,"mousemove",this._delayedDragTouchMoveHandler),Te(e,"touchmove",this._delayedDragTouchMoveHandler),Te(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?Re(document,"pointermove",this._onTouchMove):Re(document,t?"touchmove":"mousemove",this._onTouchMove):(Re(nt,"dragend",this),Re(st,"dragstart",this._onDragStart));try{document.selection?eo((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(o){}},_dragStarted:function(e,t){if(It=!1,st&&nt){rt("dragStarted",this,{evt:t}),this.nativeDraggable&&Re(document,"dragover",Vt);var o=this.options;!e&&He(nt,o.dragClass,!1),He(nt,o.ghostClass,!0),Zt.active=this,e&&this._appendGhost(),at({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(xt){this._lastX=xt.clientX,this._lastY=xt.clientY,Gt();for(var e=document.elementFromPoint(xt.clientX,xt.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(xt.clientX,xt.clientY))!==t;)t=e;if(nt.parentNode[Je]._isOutsideThisEl(e),t)do{if(t[Je]){if(t[Je]._onDragOver({clientX:xt.clientX,clientY:xt.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Ut()}},_onTouchMove:function(e){if(yt){var t=this.options,o=t.fallbackTolerance,r=t.fallbackOffset,a=e.touches?e.touches[0]:e,n=lt&&Pe(lt,!0),i=lt&&n&&n.a,l=lt&&n&&n.d,s=zt&&Tt&&Ge(Tt),d=(a.clientX-yt.clientX+r.x)/(i||1)+(s?s[0]-Ht[0]:0)/(i||1),u=(a.clientY-yt.clientY+r.y)/(l||1)+(s?s[1]-Ht[1]:0)/(l||1);if(!Zt.active&&!It){if(o&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))r.right+a||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+a}(e,a,this)&&!f.animated){if(f===nt)return N(!1);if(f&&n===e.target&&(i=f),i&&(o=je(i)),!1!==qt(st,n,nt,t,i,o,e,!!i))return I(),f&&f.nextSibling?n.insertBefore(nt,f.nextSibling):n.appendChild(nt),it=n,O(),N(!0)}else if(f&&function(e,t,o){var r=je(Xe(o.el,0,o.options,!0)),a=10;return t?e.clientXu+d*n/2:sc-Rt)return-Et}else if(s>u+d*(1-a)/2&&sc-d*n/2))return s>u+d/2?1:-1;return 0}(e,i,o,a,w?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Wt,kt===i),0!==v){var C=Le(nt);do{C-=v,y=it.children[C]}while(y&&("none"===Me(y,"display")||y===lt))}if(0===v||y===i)return N(!1);kt=i,Et=v;var k=i.nextElementSibling,E=!1,R=qt(st,n,nt,t,i,o,e,E=1===v);if(!1!==R)return 1!==R&&-1!==R||(E=1===R),Mt=!0,setTimeout(Kt,30),I(),E&&!k?n.appendChild(nt):i.parentNode.insertBefore(nt,E?k:i),S&&Ze(S,0,D-S.scrollTop),it=nt.parentNode,void 0===b||Wt||(Rt=Math.abs(b-je(i)[_])),O(),N(!0)}if(n.contains(nt))return N(!1)}return!1}function T(l,s){rt(l,h,fe({evt:e,isOwner:u,axis:a?"vertical":"horizontal",revert:r,dragRect:t,targetRect:o,canSort:c,fromSortable:p,target:i,completed:N,onMove:function(o,r){return qt(st,n,nt,t,o,je(o),e,r)},changed:O},s))}function I(){T("dragOverAnimationCapture"),h.captureAnimationState(),h!==p&&p.captureAnimationState()}function N(t){return T("dragOverCompleted",{insertion:t}),t&&(u?d._hideClone():d._showClone(h),h!==p&&(He(nt,bt?bt.options.ghostClass:d.options.ghostClass,!1),He(nt,l.ghostClass,!0)),bt!==h&&h!==Zt.active?bt=h:h===Zt.active&&bt&&(bt=null),p===h&&(h._ignoreWhileAnimating=i),h.animateAll((function(){T("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(i===nt&&!nt.animated||i===n&&!i.animated)&&(kt=null),l.dragoverBubble||e.rootEl||i===document||(nt.parentNode[Je]._isOutsideThisEl(e.target),!t&&$t(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function O(){mt=Le(nt),gt=Le(nt,l.draggable),at({sortable:h,name:"change",toEl:n,newIndex:mt,newDraggableIndex:gt,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){Te(document,"mousemove",this._onTouchMove),Te(document,"touchmove",this._onTouchMove),Te(document,"pointermove",this._onTouchMove),Te(document,"dragover",$t),Te(document,"mousemove",$t),Te(document,"touchmove",$t)},_offUpEvents:function(){var e=this.el.ownerDocument;Te(e,"mouseup",this._onDrop),Te(e,"touchend",this._onDrop),Te(e,"pointerup",this._onDrop),Te(e,"touchcancel",this._onDrop),Te(document,"selectstart",this)},_onDrop:function(e){var t=this.el,o=this.options;mt=Le(nt),gt=Le(nt,o.draggable),rt("drop",this,{evt:e}),it=nt&&nt.parentNode,mt=Le(nt),gt=Le(nt,o.draggable),Zt.eventCanceled||(It=!1,Wt=!1,At=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),to(this.cloneId),to(this._dragStartId),this.nativeDraggable&&(Te(document,"drop",this),Te(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),De&&Me(document.body,"user-select",""),Me(nt,"transform",""),e&&(Ct&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),lt&<.parentNode&<.parentNode.removeChild(lt),(st===it||bt&&"clone"!==bt.lastPutMode)&&ct&&ct.parentNode&&ct.parentNode.removeChild(ct),nt&&(this.nativeDraggable&&Te(nt,"dragend",this),Jt(nt),nt.style["will-change"]="",Ct&&!It&&He(nt,bt?bt.options.ghostClass:this.options.ghostClass,!1),He(nt,this.options.chosenClass,!1),at({sortable:this,name:"unchoose",toEl:it,newIndex:null,newDraggableIndex:null,originalEvent:e}),st!==it?(mt>=0&&(at({rootEl:it,name:"add",toEl:it,fromEl:st,originalEvent:e}),at({sortable:this,name:"remove",toEl:it,originalEvent:e}),at({rootEl:it,name:"sort",toEl:it,fromEl:st,originalEvent:e}),at({sortable:this,name:"sort",toEl:it,originalEvent:e})),bt&&bt.save()):mt!==ht&&mt>=0&&(at({sortable:this,name:"update",toEl:it,originalEvent:e}),at({sortable:this,name:"sort",toEl:it,originalEvent:e})),Zt.active&&(null!=mt&&-1!==mt||(mt=ht,gt=ft),at({sortable:this,name:"end",toEl:it,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){rt("nulling",this),st=nt=it=lt=dt=ct=ut=pt=yt=xt=Ct=mt=gt=ht=ft=kt=Et=bt=vt=Zt.dragged=Zt.ghost=Zt.clone=Zt.active=null,Pt.forEach((function(e){e.checked=!0})),Pt.length=wt=_t=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":nt&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],o=this.el.children,r=0,a=o.length,n=this.options;r-1&&e%1==0&&e<=Zo}(e.length)&&!function(e){if(!Ao(e))return!1;var t=Ro(e);return t==Lo||t==Go||t==Yo||t==Uo}(e)}function Jo(e,t,o){if(!Ao(o))return!1;var r=typeof t;return!!("number"==r?qo(o)&&function(e,t){var o=typeof e;return!!(t=null==t?$o:t)&&("number"==o||"symbol"!=o&&Vo.test(e))&&e>-1&&e%1==0&&e"decorate"==o.mode?o:t.data));return h((()=>{if("decorate"==o.mode){var e=document.getElementById("componentList");const t=Zt.create(e,{group:"draggable-element",animation:200,onEnd:e=>{let r=o.value[e.oldIndex];o.value.splice(e.oldIndex,1),o.value.splice(e.newIndex,0,r),V((()=>{t.sort(or(o.value.length).map((e=>e.toString()))),o.postMessage(e.newIndex,o.value[e.newIndex])}))}})}})),(e,l)=>{const s=f(g("diy-addon-list"),oe),d=f(g("diy-graphic-nav"),re),u=f(g("diy-horz-blank"),ae),c=f(g("diy-hot-area"),ne),p=f(g("diy-image-ads"),ie),h=f(g("diy-member-info"),le),m=f(g("diy-rubik-cube"),se),_=f(g("diy-text"),de),C=T,k=f(g("tabbar"),he);return a(),n(C,{class:"diy-group",id:"componentList"},{default:i((()=>[(a(!0),v(b,null,y(w(r).value,((e,r)=>(a(),n(C,{key:e.id,onClick:t=>w(o).changeCurrentIndex(r,e),class:x(["draggable-element relative cursor-move",{selected:w(o).currentIndex==r,decorate:"decorate"==w(o).mode}]),style:E(e.pageStyle)},{default:i((()=>["AddonList"==e.componentName?(a(),n(s,{key:0,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"GraphicNav"==e.componentName?(a(),n(d,{key:1,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"HorzBlank"==e.componentName?(a(),n(u,{key:2,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"HotArea"==e.componentName?(a(),n(c,{key:3,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"ImageAds"==e.componentName?(a(),n(p,{key:4,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"MemberInfo"==e.componentName?(a(),n(h,{key:5,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"RubikCube"==e.componentName?(a(),n(m,{key:6,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0),"Text"==e.componentName?(a(),n(_,{key:7,component:e,index:r,pullDownRefresh:t.pullDownRefresh},null,8,["component","index","pullDownRefresh"])):D("v-if",!0)])),_:2},1032,["onClick","class","style"])))),128)),""==w(o).mode&&w(r).global.bottomTabBarSwitch?(a(),v(b,{key:0},[S(C,{class:"pt-[20rpx]"}),S(k)],64)):D("v-if",!0)])),_:1})}}}),[["__scopeId","data-v-53e18a04"]]),ar=s({__name:"index",props:["data","pullDownRefresh"],setup(e){const t=e;return(e,o)=>{const r=f(g("diy-group"),rr),l=T;return a(),n(l,null,{default:i((()=>[C(" 固定模板示例,我也可以装修 "),D(" 自定义模板渲染 "),S(r,{data:t.data,pullDownRefresh:t.pullDownRefresh},null,8,["data","pullDownRefresh"])])),_:1})}}}),nr=J(s({__name:"index",props:["data","pullDownRefresh"],setup(e){const t=e;return(e,o)=>{const r=f(g("fixed-demo-index"),ar),l=T;return a(),n(l,{class:"fixed-group"},{default:i((()=>["demo-index"==t.data.global.component?(a(),n(r,{key:0,data:t.data,pullDownRefresh:t.pullDownRefresh},null,8,["data","pullDownRefresh"])):D("v-if",!0)])),_:1})}}}),[["__scopeId","data-v-f957fab9"]]);export{rr as _,nr as a};