6 lines
138 KiB
JavaScript
6 lines
138 KiB
JavaScript
var Be=Object.defineProperty;var Se=(e,t,o)=>t in e?Be(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var te=(e,t,o)=>(Se(e,typeof t!="symbol"?t+"":t,o),o);import{I as Y,d as oe,a as Te,b as Le,m as De}from"./vendor-EcFAmbRN.js";const h={eventMap:new Map,on(e,t){let o=this.eventMap.get(e);o?o.push(t):o=[t],o.length>10,this.eventMap.set(e,o)},once(e,t){this.eventMap.set(e,[t])},off(e,t){if(this.eventMap.has(e))if(t){const s=this.eventMap.get(e),n=s.findIndex(a=>a===t);n>-1&&s.splice(n,1),this.eventMap.set(e,s)}else this.eventMap.delete(e)},offAll(){this.eventMap=new Map},emit(e,t){const o=this.eventMap.get(e);o&&o.map(s=>s(t))}},p={SINGLE_CLICK:"SINGLE_CLICK",SINGLE_CLICK_BROADCAST:"SINGLE_CLICK_BROADCAST",ENTER_FULLSCREEN:"ENTER_FULLSCREEN",EXIT_FULLSCREEN:"EXIT_FULLSCREEN",TOGGLE_FULLSCREEN:"TOGGLE_FULLSCREEN",TOGGLE_COMMENT:"TOGGLE_COMMENT",OPEN_COMMENTS:"OPEN_COMMENTS",CLOSE_COMMENTS:"CLOSE_COMMENTS",DIALOG_MOVE:"DIALOG_MOVE",DIALOG_END:"DIALOG_END",OPEN_SUB_TYPE:"OPEN_SUB_TYPE",CLOSE_SUB_TYPE:"CLOSE_SUB_TYPE",ITEM_TOGGLE:"ITEM_TOGGLE",ITEM_PLAY:"ITEM_PLAY",ITEM_STOP:"ITEM_STOP",NAV:"NAV",GO_USERINFO:"GO_USERINFO",SHOW_SHARE:"SHOW_SHARE",UPDATE_ITEM:"UPDATE_ITEM",CURRENT_ITEM:"CURRENT_ITEM",REMOVE_MUTED:"REMOVE_MUTED",HIDE_MUTED_NOTICE:"HIDE_MUTED_NOTICE",TOGGLE_CURRENT_VIDEO:"TOGGLE_CURRENT_VIDEO",SHOW_AUDIO_CALL:"SHOW_AUDIO_CALL"},Ie={class:"content"},Me=["onClick"],Re=Vue.defineComponent({name:"SelectDialog",__name:"SelectDialog",props:{visible:{type:Boolean,default:!1},list:{default:()=>[]}},emits:["ok","cancel"],setup(e,{emit:t}){const o=t,s=a=>{o("ok",a)},n=()=>{o("cancel")};return(a,l)=>(Vue.openBlock(),Vue.createElementBlock("div",{class:"SelectDialog",onClick:n},[Vue.createElementVNode("div",Ie,[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(e.list,(i,u)=>(Vue.openBlock(),Vue.createElementBlock("div",{class:"item",key:u,onClick:Vue.withModifiers(c=>s(i),["stop"])},Vue.toDisplayString(i.name),9,Me))),128))])]))}}),A=(e,t)=>{const o=e.__vccOpts||e;for(const[s,n]of t)o[s]=n;return o},xe=A(Re,[["__scopeId","data-v-22b3981a"]]),Ue={class:"content"},Oe={class:"item"},Pe={class:"footer"},Ge=Vue.defineComponent({name:"SimpleConfirmDialog",__name:"SimpleConfirmDialog",props:Vue.mergeModels({title:{default:""},okText:{default:"确定"},cancelText:{default:"取消"}},{visible:{type:Boolean,type:Boolean,default:!0},visibleModifiers:{}}),emits:Vue.mergeModels(["ok","cancel","dismiss"],["update:visible"]),setup(e,{emit:t}){const o=t,s=Vue.useModel(e,"visible"),n=()=>{s.value=!1,o("ok")},a=()=>{s.value=!1,o("cancel")},l=()=>{o("dismiss")};return(i,u)=>(Vue.openBlock(),Vue.createElementBlock("div",{class:"SimpleConfirmDialog",onClick:l},[Vue.createElementVNode("div",Ue,[Vue.createElementVNode("div",Oe,Vue.toDisplayString(e.title),1),Vue.createElementVNode("div",Pe,[Vue.createElementVNode("div",{class:"cancel",onClick:Vue.withModifiers(a,["stop"])},Vue.toDisplayString(e.cancelText),1),Vue.createElementVNode("div",{class:"ok",onClick:Vue.withModifiers(n,["stop"])},Vue.toDisplayString(e.okText),1)])])]))}}),He=A(Ge,[["__scopeId","data-v-24c8f6c3"]]),Ye={class:"content"},je={class:"body"},Fe={key:0,class:"title"},ze={class:"footer"},qe=Vue.defineComponent({name:"ConfirmDialog",__name:"ConfirmDialog",props:Vue.mergeModels({title:{default:""},subtitle:{default:""},subtitleColor:{default:"gray"},okText:{default:"确定"},cancelText:{default:"取消"},cancelTextColor:{default:"gray"}},{visible:{type:Boolean,type:Boolean,default:!0},visibleModifiers:{}}),emits:Vue.mergeModels(["ok","cancel","dismiss"],["update:visible"]),setup(e,{emit:t}){const o=t,s=Vue.useModel(e,"visible"),n=()=>{s.value=!1,o("ok")},a=()=>{s.value=!1,o("cancel")},l=()=>{o("dismiss")};return(i,u)=>s.value?(Vue.openBlock(),Vue.createElementBlock("div",{key:0,class:"ConfirmDialog",onClick:l},[Vue.createElementVNode("div",Ye,[Vue.renderSlot(i.$slots,"header",{},void 0,!0),Vue.createElementVNode("div",je,[e.title?(Vue.openBlock(),Vue.createElementBlock("div",Fe,Vue.toDisplayString(e.title),1)):Vue.createCommentVNode("",!0),e.subtitle?(Vue.openBlock(),Vue.createElementBlock("div",{key:1,class:Vue.normalizeClass(["subtitle",e.subtitleColor])},Vue.toDisplayString(e.subtitle),3)):Vue.createCommentVNode("",!0),Vue.renderSlot(i.$slots,"default",{},void 0,!0)]),Vue.createElementVNode("div",ze,[Vue.createElementVNode("div",{class:Vue.normalizeClass(["cancel",e.cancelTextColor]),onClick:Vue.withModifiers(a,["stop"])},Vue.toDisplayString(e.cancelText),3),Vue.createElementVNode("div",{class:"ok",onClick:Vue.withModifiers(n,["stop"])},Vue.toDisplayString(e.okText),1)])])])):Vue.createCommentVNode("",!0)}}),ue=A(qe,[["__scopeId","data-v-9ae66996"]]),We={name:"Loading",props:{isFullScreen:{type:Boolean,default:!0},type:{type:String,default:"normal"}}},de=e=>(Vue.pushScopeId("data-v-dbd85c46"),e=e(),Vue.popScopeId(),e),Ze=de(()=>Vue.createElementVNode("div",{class:"circle blue"},null,-1)),Ke=de(()=>Vue.createElementVNode("div",{class:"circle red"},null,-1)),Xe=[Ze,Ke];function Qe(e,t,o,s,n,a){return Vue.openBlock(),Vue.createElementBlock("div",{class:Vue.normalizeClass(["Loading",[o.isFullScreen?"full":"inline",o.type]])},Xe,2)}const j=A(We,[["render",Qe],["__scopeId","data-v-dbd85c46"]]),$e={baseUrl:"https://dy.ttentau.top/imgs/",imgPath:"/imgs/",filePreview:"http://192.168.0.103/static/uploads/"},Je={DEV:"",PROD:"",GP_PAGES:"",GITEE_PAGES:"/douyin",UNI:"https://dy.ttentau.top"},ql=["GITEE_PAGES","GP_PAGES"].includes("GITEE_PAGES"),et=["GITEE_PAGES"].includes("GITEE_PAGES"),me=Je.GITEE_PAGES,tt=me+"/images/",Wl=me+"/data/",ot={class:"content"},st={class:"body"},nt={class:"title"},at={class:"footer"},lt=Vue.defineComponent({name:"NoticeDialog",__name:"NoticeDialog",props:Vue.mergeModels({title:{default:""},subtitle:{default:""},subtitleColor:{default:"gray"},cancelText:{default:"取消"}},{visible:{type:Boolean,type:Boolean,default:!0},visibleModifiers:{}}),emits:Vue.mergeModels(["ok","cancel","dismiss"],["update:visible"]),setup(e,{emit:t}){const o=t,s=Vue.useModel(e,"visible"),n=()=>{s.value=!1,o("cancel")},a=()=>{o("dismiss")};return(l,i)=>(Vue.openBlock(),Vue.createElementBlock("div",{class:"NoticeDialog",onClick:a},[Vue.createElementVNode("div",ot,[Vue.createElementVNode("div",st,[Vue.createElementVNode("div",nt,Vue.toDisplayString(e.title),1),e.subtitle?(Vue.openBlock(),Vue.createElementBlock("div",{key:0,class:Vue.normalizeClass(["subtitle",e.subtitleColor])},Vue.toDisplayString(e.subtitle),3)):Vue.createCommentVNode("",!0)]),Vue.createElementVNode("div",at,[Vue.createElementVNode("div",{class:"cancel",onClick:Vue.withModifiers(n,["stop"])},Vue.toDisplayString(e.cancelText),1)])])]))}}),it=A(lt,[["__scopeId","data-v-ea55652e"]]),rt=""+new URL("../assets/loading-white-ycjWLQhV.png",import.meta.url).href,ct={name:"BaseButton",props:{loading:{type:Boolean,default:!1},progress:{type:Number,default:null},loadingWithText:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:""},active:{type:Boolean,default:!0},border:{type:Boolean,default:!0},size:{type:String,default:"normal"},radius:{type:String,default:"6"}},data(){return{}},computed:{class1(){return[this.type,this.active?"":"no-active",this.border?"":"no-border",this.disabled&&"disabled",this.size]},showText(){return this.loading?this.loadingWithText:!0}},created(){},methods:{check(){if(!this.disabled&&!this.loading)return this.$emit("click")}}},ut={src:rt,alt:""};function dt(e,t,o,s,n,a){return Vue.openBlock(),Vue.createElementBlock("div",{class:Vue.normalizeClass(["button",a.class1]),style:Vue.normalizeStyle({"border-radius":o.radius+"rem"}),onClickCapture:t[0]||(t[0]=Vue.withModifiers((...l)=>a.check&&a.check(...l),["stop"]))},[Vue.withDirectives(Vue.createElementVNode("img",ut,null,512),[[Vue.vShow,o.loading]]),Vue.renderSlot(e.$slots,"prefix",{},void 0,!0),a.showText?Vue.renderSlot(e.$slots,"default",{key:0},void 0,!0):Vue.createCommentVNode("",!0),Vue.renderSlot(e.$slots,"suffix",{},void 0,!0),e.$props.progress?(Vue.openBlock(),Vue.createElementBlock("div",{key:1,style:Vue.normalizeStyle({width:o.progress+"%"}),class:"progress"},null,4)):Vue.createCommentVNode("",!0)],38)}const mt=A(ct,[["render",dt],["__scopeId","data-v-2251fcac"]]),pt=""+new URL("../assets/gray-close-full-DkIbCV8j.png",import.meta.url).href,W="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1539614702463'%20class='icon'%20style=''%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2049'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M739.584%2070.592c-92.224%200-177.792%2063.04-228.224%20109.568C460.864%20133.632%20375.36%2070.592%20283.008%2070.592%20108.48%2070.592%200%20176.96%200%20348.16%200%20492.8%20130.688%20608.256%20131.2%20608.64l340.544%20328.512c10.432%2010.432%2024.448%2016.256%2039.552%2016.256s29.056-5.824%2039.296-16l341.248-328.64c30.656-29.376%20130.752-134.848%20130.752-260.544C1022.656%20176.96%20914.176%2070.592%20739.584%2070.592z'%20p-id='2050'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e",ht={name:"SlideUser",components:{BaseButton:mt},props:{modelValue:{type:Object,default(){return{type:"user",id:"224e9a00-ffa0-4bc1-bb07-c318c7b02fa5",avatar:new URL(""+new URL("../assets/0-DZZhXKhG.png",import.meta.url).href,import.meta.url).href,name:"何以为家",realName:"王小二",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"234",pinyin:"H",select:!1,videos:[{id:"13b462dd-8d81-4744-93ed-815941f4ed3e",cover:"http://p6.douyinpic.com/img/tos-cn-p-0015/efebaff8e1df46928522e1ac5583d059~c5_300x400.jpeg?from=4257465056_large",dynamic_cover:"http://p29.douyinpic.com/obj/tos-cn-p-0015/efebaff8e1df46928522e1ac5583d059?from=4257465056_large",origin_cover:"http://p3.douyinpic.com/tos-cn-p-0015/d834cf36d4be462f92206543306ff362_1623571220~tplv-dy-360p.jpeg?from=4257465056&s=&se=false&sh=&sc=&l=2021083114303701021217008258017B39&biz_tag=feed_cover",video:"http://api.amemv.com/aweme/v1/play/?video_id=v0300fg10000c32rloe8vall584jaad0&line=1&file_id=d6daaa72874445f5a71c2a671ec9abd4&sign=62621a8cd9f89bab74fb31daa201e148&is_play_url=1&source=PackSourceEnum_PUBLISH",video_data_size:8569489,duration:148612,desc:"几分钟看科幻片《徐福》 #我的观影报告 #抖音电影",allow_download:1,allow_duet:0,allow_react:0,allow_music:1,allow_douplus:1,allow_share:1,digg_count:55,comment_count:0,download_count:0,play_count:0,share_count:0,forward_count:0,collect_count:0,sort:24,is_top:0,city:"350100",musicId:"286f9f80-d497-4914-a5be-65686916e3fe",create_time:"1630391775",creator_id:"54884802577",status:1,topics:[{id:"41821c6d-e14f-47f1-a391-f0b1f42afbe1",name:"抖音电影",creator_id:"54884802577",create_time:"1630391758",status:1},{id:"c10178eb-441f-4dc7-93b6-eaae1b6248cc",name:"我的观影报告",creator_id:"54884802577",create_time:"1630391758",status:1}],music:{id:"8ce2cb26-4772-4c7b-91d9-a2580c667c21",cover:"http://p3.douyinpic.com/aweme/100x100/85f000239e43c3c985b5.jpeg?from=116350172",mp3:"http://sf6-cdn-tos.douyinstatic.com/obj/ies-music/6995889105167076132.mp3",title:"@喵嗷污说电影创作的原声",creator_id:"54884802577",create_time:"1630391758",status:1}},{id:"1f6871da-73ab-40cc-9481-37ad83b63bde",cover:"http://p3.douyinpic.com/img/tos-cn-p-0015/ba34a7304d6e44cfb159b838e1a6c980~c5_300x400.jpeg?from=4257465056_large",dynamic_cover:"http://p3.douyinpic.com/obj/tos-cn-p-0015/ba34a7304d6e44cfb159b838e1a6c980?from=4257465056_large",origin_cover:"http://p26.douyinpic.com/tos-cn-p-0015/25898d01cf9c44c2ae63874546d75640_1623570870~tplv-dy-360p.jpeg?from=4257465056&s=&se=false&sh=&sc=&l=2021083114303701021217008258017B39&biz_tag=feed_cover",video:"http://api.amemv.com/aweme/v1/play/?video_id=v0d00fg10000c32rhslhtod769sv81r0&line=1&file_id=b16315d063594519a6b9102905da92a7&sign=eef97e748e50854547d9cd10b29e2ead&is_play_url=1&source=PackSourceEnum_PUBLISH",video_data_size:10901859,duration:188250,desc:"科学家为永生改造人类基因,结果创造出能力逆天的新物种完虐人类 #我的观影报告",allow_download:1,allow_duet:0,allow_react:0,allow_music:1,allow_douplus:1,allow_share:1,digg_count:24,comment_count:0,download_count:0,play_count:0,share_count:0,forward_count:0,collect_count:0,sort:25,is_top:0,city:"350100",musicId:"5ce6dd54-62eb-46d4-8d71-40b3776bee50",create_time:"1630391775",creator_id:"54884802577",status:1,topics:[{id:"c10178eb-441f-4dc7-93b6-eaae1b6248cc",name:"我的观影报告",creator_id:"54884802577",create_time:"1630391758",status:1}],music:{id:"8ce2cb26-4772-4c7b-91d9-a2580c667c21",cover:"http://p3.douyinpic.com/aweme/100x100/85f000239e43c3c985b5.jpeg?from=116350172",mp3:"http://sf6-cdn-tos.douyinstatic.com/obj/ies-music/6995889105167076132.mp3",title:"@喵嗷污说电影创作的原声",creator_id:"54884802577",create_time:"1630391758",status:1}},{id:"f7657f21-5fee-4f1f-9d88-ec8411ea009b",cover:"http://p3.douyinpic.com/img/tos-cn-p-0015/ef15ae6839104e80871f521447a97b0a~c5_300x400.jpeg?from=4257465056_large",dynamic_cover:"http://p11.douyinpic.com/obj/tos-cn-p-0015/ef15ae6839104e80871f521447a97b0a?from=4257465056_large",origin_cover:"http://p5-ipv6.douyinpic.com/tos-cn-p-0015/70f6b5f352d4425e8944c038b932c8fd_1623570188~tplv-dy-360p.jpeg?from=4257465056&s=&se=false&sh=&sc=&l=2021083114303701021217008258017B39&biz_tag=feed_cover",video:"http://api.amemv.com/aweme/v1/play/?video_id=v0d00fg10000c32rdevdoca093n6gtn0&line=1&file_id=6bd8e6e959b44d83b5ebbd486134aafc&sign=f592f3089c2a3ddae2042ff85bf9ec6f&is_play_url=1&source=PackSourceEnum_PUBLISH",video_data_size:19324714,duration:300655,desc:"科学家为永生改造人类基因,结果创造出能力逆天的新物种完虐人类 #我的观影报告",allow_download:0,allow_duet:0,allow_react:0,allow_music:1,allow_douplus:1,allow_share:1,digg_count:19,comment_count:1,download_count:0,play_count:0,share_count:0,forward_count:0,collect_count:0,sort:26,is_top:0,city:"350100",musicId:"8170be64-2950-425d-aa7f-b8b6100ed51b",create_time:"1630391775",creator_id:"54884802577",status:1,topics:[{id:"c10178eb-441f-4dc7-93b6-eaae1b6248cc",name:"我的观影报告",creator_id:"54884802577",create_time:"1630391758",status:1}],music:{id:"8ce2cb26-4772-4c7b-91d9-a2580c667c21",cover:"http://p3.douyinpic.com/aweme/100x100/85f000239e43c3c985b5.jpeg?from=116350172",mp3:"http://sf6-cdn-tos.douyinstatic.com/obj/ies-music/6995889105167076132.mp3",title:"@喵嗷污说电影创作的原声",creator_id:"54884802577",create_time:"1630391758",status:1}}]}}}},computed:{},watch:{},created(){console.log("modelValue",this.modelValue)},methods:{_formatNumber:R,_checkImgUrl:H,_no:B}},Q=e=>(Vue.pushScopeId("data-v-c9a65380"),e=e(),Vue.popScopeId(),e),ft={id:"SlideUser"},Vt={class:"content"},gt=["src"],vt={class:"name"},_t={class:"desc"},Et={class:"tag"},yt=Q(()=>Vue.createElementVNode("div",{class:"tag"},"成都",-1)),At=Q(()=>Vue.createElementVNode("div",{class:"tag"},"清华大学",-1)),wt={class:"realName"},kt={class:"poster-wrapper"},Ct=["src"],bt={class:"num"},Nt=Q(()=>Vue.createElementVNode("img",{class:"love",src:W,alt:""},null,-1)),Bt={class:"options"};function St(e,t,o,s,n,a){const l=Vue.resolveComponent("base-button");return Vue.openBlock(),Vue.createElementBlock("div",ft,[Vue.createElementVNode("div",Vt,[Vue.createElementVNode("img",{onClick:t[0]||(t[0]=i=>e.$emit("close")),class:"close",src:pt,alt:""}),Vue.createElementVNode("img",{class:"avatar",src:o.modelValue.avatar},null,8,gt),Vue.createElementVNode("div",vt,Vue.toDisplayString(o.modelValue.name),1),Vue.createElementVNode("div",_t,[Vue.createElementVNode("div",Et,Vue.toDisplayString(o.modelValue.age)+"岁",1),yt,At]),Vue.createElementVNode("div",wt,"通讯录朋友"+Vue.toDisplayString(o.modelValue.realName),1),Vue.createElementVNode("div",kt,[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(o.modelValue.videos.slice(0,3),(i,u)=>(Vue.openBlock(),Vue.createElementBlock("div",{class:"poster-item",key:u,onClick:t[1]||(t[1]=(...c)=>a._no&&a._no(...c))},[Vue.createElementVNode("img",{class:"poster",src:a._checkImgUrl(i.cover)},null,8,Ct),Vue.createElementVNode("div",bt,[Nt,Vue.createElementVNode("span",null,Vue.toDisplayString(a._formatNumber(i.digg_count)),1)])]))),128))])]),Vue.createElementVNode("div",Bt,[Vue.createVNode(l,{type:"info"},{default:Vue.withCtx(()=>[Vue.createTextVNode("换一个")]),_:1}),Vue.createVNode(l,{type:"primary"},{default:Vue.withCtx(()=>[Vue.createTextVNode("关注")]),_:1})])])}const Tt=A(ht,[["render",St],["__scopeId","data-v-c9a65380"]]),Z=""+new URL("../assets/head-image-C49-3ahF.jpeg",import.meta.url).href,Lt=""+new URL("../assets/add-light-EEcfxPgo.png",import.meta.url).href,Dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8BAMAAADI0sRBAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAVUExURUdwTPwjVf8kbfwiVf0iVf8qVfwiVSbF6rMAAAAGdFJOUwC2B+eHBl36rwAAAACgSURBVDjLY2AYBYMHsDqbBOCRVkxLc8AtyySWlmaAVzMeaZBmPIaDNCcG4NUshF+zwqhmcjWjpQp0zSyoRqHbzIzCxbCZGYWP4WwWZAFMZ7Mii2DxM5IQNj8jiWENMLgg9gCDi+IIbagwrtCGiuOMKrCEEs6oAmsXxB3PIO1puOMZrB1PIlHEpxmqHXcKA2sXwltY4NHMwBBi7DpaHBMJAO/mUkgRd6khAAAAAElFTkSuQmCC",It="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1539708547888'%20class='icon'%20style=''%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1476'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M739.584%2070.592c-92.224%200-177.792%2063.04-228.224%20109.568C460.864%20133.632%20375.36%2070.592%20283.008%2070.592%20108.48%2070.592%200%20176.96%200%20348.16%200%20492.8%20130.688%20608.256%20131.2%20608.64l340.544%20328.512c10.432%2010.432%2024.448%2016.256%2039.552%2016.256s29.056-5.824%2039.296-16l341.248-328.64c30.656-29.376%20130.752-134.848%20130.752-260.544C1022.656%20176.96%20914.176%2070.592%20739.584%2070.592z'%20p-id='1477'%20fill='%23e73a57'%3e%3c/path%3e%3c/svg%3e",Mt=""+new URL("../assets/share-white-full-C5jHBEA5.png",import.meta.url).href,Rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABIElEQVRYR+2WsS6EQRRGzym11BKNilCJRsETiIaIRmh5BusZVotGIdlOPIB6RSSERCXBG0hEd+VPdjezm9lFSP5mpprc+XLnmzNzb0ZqHta8P8VAIVAIFAKFQB+BiBgDFrvtWb0a1qojYg4Y76y/qzcjtMvJWlv96O3RnUTEJNBKDQDn6uZg4og4ABoD8YZ6mNGeAVtJ/BZYVV+rWI9ARDSBvcwpdtWTxOgC0M7oHtTZNB4RO8BxRnuk7g8aeAamMuKWup4YGJa0ksyoj4n2FNjO5HxTK+J9BP7DwEr6biLiVwb+egXVgebVux/Qyl5BvY+wct0pww1gAnhSL78pwyXgE7hXr0do14Bp4AW4yJZhXV+z0ooLgUKgECgEaifwBSWbeyGRr1RoAAAAAElFTkSuQmCC";function pe(){return{mounted:function(e,t){e.addEventListener("pointerdown",o=>x(o)),e.addEventListener("pointerup",o=>{var s;x(o),(s=t.value)==null||s.call(t,o)})},unmounted(e){}}}const xt={class:"music-wrapper"},Ut={class:"wrap"},Ot=["src"],Pt=Vue.defineComponent({__name:"BaseMusic",setup(e){const t=Vue.inject("isPlaying"),o=Vue.inject("isMuted"),s=Vue.inject("item"),n=pe();let a=Vue.ref(window.showMutedNotice);const l=Vue.computed(()=>({webkitAnimationPlayState:t.value?"running":"paused"}));return Vue.onMounted(()=>{h.on(p.HIDE_MUTED_NOTICE,()=>{a.value=!1})}),(i,u)=>{var c;return Vue.openBlock(),Vue.createElementBlock("div",xt,[Vue.unref(o)?Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",{key:0,class:Vue.normalizeClass(["mute-icon",Vue.unref(a)&&"notice"])},[Vue.createElementVNode("div",Ut,[Vue.createVNode(Vue.unref(Y),{icon:"flowbite:volume-mute-solid"}),Vue.createElementVNode("span",{style:Vue.normalizeStyle({opacity:Vue.unref(a)?1:0})},"取消静音",4)])],2)),[[Vue.unref(n),()=>Vue.unref(h).emit(Vue.unref(p).REMOVE_MUTED)]]):Vue.createCommentVNode("",!0),Vue.withDirectives(Vue.createElementVNode("img",{class:"music",src:(c=Vue.unref(s).music)==null?void 0:c.cover_thumb.url_list[0],style:Vue.normalizeStyle(l.value)},null,12,Ot),[[Vue.unref(n),()=>Vue.unref(h).emit(Vue.unref(p).NAV,{path:"/home/music",query:{id:Vue.unref(s).aweme_id}})]])])}}}),K=e=>(Vue.pushScopeId("data-v-8fc0adda"),e=e(),Vue.popScopeId(),e),Gt={class:"toolbar mb1r"},Ht={class:"avatar-ctn mb2r"},Yt=["src"],jt={key:0,class:"options"},Ft=K(()=>Vue.createElementVNode("img",{class:"no",src:Lt,alt:""},null,-1)),zt=K(()=>Vue.createElementVNode("img",{class:"yes",src:Dt,alt:""},null,-1)),qt=[Ft,zt],Wt={class:"love mb2r"},Zt={key:0,src:W,class:"love-image"},Kt={key:1,src:It,class:"love-image"},Xt={class:"message mb2r"},Qt={class:"message mb2r"},$t={key:0,class:"share mb2r"},Jt=K(()=>Vue.createElementVNode("img",{src:Mt,alt:"",class:"share-image"},null,-1)),eo={key:1,class:"share mb2r"},to=K(()=>Vue.createElementVNode("img",{src:Rt,alt:"",class:"share-image"},null,-1)),oo=[to],so=Vue.defineComponent({__name:"ItemToolbar",props:{isMy:{type:Boolean,default:()=>!1},item:{type:Object,default:()=>({})}},emits:["update:item","goUserInfo","showComments","showShare","goMusic"],setup(e,{emit:t}){const o=e,s=Vue.inject("position"),n=t;function a(m,E,_){const d=fe(m.item);d[E]=_,n("update:item",d),h.emit(p.UPDATE_ITEM,{position:s.value,item:d})}function l(){a(o,"isLoved",!o.item.isLoved)}function i(m){m.currentTarget.classList.add("attention"),setTimeout(()=>{a(o,"isAttention",!0)},1e3)}function u(){h.emit(p.OPEN_COMMENTS,o.item.aweme_id)}const c=pe();return(m,E)=>(Vue.openBlock(),Vue.createElementBlock("div",Gt,[Vue.createElementVNode("div",Ht,[Vue.withDirectives(Vue.createElementVNode("img",{class:"avatar",src:e.item.author.avatar_168x168.url_list[0],alt:""},null,8,Yt),[[Vue.unref(c),()=>Vue.unref(h).emit(Vue.unref(p).GO_USERINFO)]]),Vue.createVNode(Vue.Transition,{name:"fade"},{default:Vue.withCtx(()=>[e.item.isAttention?Vue.createCommentVNode("",!0):Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",jt,qt)),[[Vue.unref(c),i]])]),_:1})]),Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",Wt,[Vue.createElementVNode("div",null,[e.item.isLoved?Vue.createCommentVNode("",!0):(Vue.openBlock(),Vue.createElementBlock("img",Zt)),e.item.isLoved?(Vue.openBlock(),Vue.createElementBlock("img",Kt)):Vue.createCommentVNode("",!0)]),Vue.createElementVNode("span",null,Vue.toDisplayString(Vue.unref(R)(e.item.statistics.digg_count)),1)])),[[Vue.unref(c),l]]),Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",Xt,[Vue.createVNode(Vue.unref(Y),{icon:"mage:message-dots-round-fill",class:"icon",style:{color:"white"}}),Vue.createElementVNode("span",null,Vue.toDisplayString(Vue.unref(R)(e.item.statistics.comment_count)),1)])),[[Vue.unref(c),u]]),Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",Qt,[e.item.isCollect?(Vue.openBlock(),Vue.createBlock(Vue.unref(Y),{key:0,icon:"ic:round-star",class:"icon",style:{color:"rgb(252, 179, 3)"}})):(Vue.openBlock(),Vue.createBlock(Vue.unref(Y),{key:1,icon:"ic:round-star",class:"icon",style:{color:"white"}})),Vue.createElementVNode("span",null,Vue.toDisplayString(Vue.unref(R)(e.item.statistics.comment_count)),1)])),[[Vue.unref(c),()=>a(o,"isCollect",!e.item.isCollect)]]),o.isMy?Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",eo,oo)),[[Vue.unref(c),()=>Vue.unref(h).emit(Vue.unref(p).SHOW_SHARE)]]):Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",$t,[Jt,Vue.createElementVNode("span",null,Vue.toDisplayString(Vue.unref(R)(e.item.statistics.share_count)),1)])),[[Vue.unref(c),()=>Vue.unref(h).emit(Vue.unref(p).SHOW_SHARE)]]),Vue.createVNode(Pt)]))}}),no=A(so,[["__scopeId","data-v-8fc0adda"]]),ao="data:image/webp;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABLUExURQ3UfA3WfP///yvbjAzWewvVew3UeExpcQnPdAvUe+H674brvaTwzvD993fotkngncL13hzYhGjlrZXuxrPz1hzZhFjjpTreldH35v6cas0AAAAKdFJOU/7////HgF8AGN86BTKpAAABtklEQVR42uXYzbKDIAwFYBNULAj4b9//Se9ddFHo9IS07nqWduazxEQcGmuHrqWv0vbW2sYON/o6t+EfAo5Ganq6JF3TXgO1DV2Un4XmtG4uMIf7tKb5YyhtgZ8zpo+gNPFL3KKGzIMpMxodlAK/iTs0UGQQXw95hvG1UGQhSx1kWEo4qyDHYtxcAXmuiJchwzUJRoRGrsoqQYbLhNH7zb1cnQVoKcuaHtdLKgrQVIzW/G7NkwBxlo2eshVrg1DK15U9mz0f5BNCS74w1GELhDy66Zn3JIRWfg4VQZ3UgHZ0cArHeiiUUAAQrJFBXe8VTy3CHzV9NIMXVYLQDmbcc5ZZNWs+czSz5t9siGZTTv/OZbZ4HHHiMgZA+dpwRpKgVAcZEaJN8YcgtAfZcaYCokOGlrq9f5W3RwApntxEtZBxuEAA0vTASfUQRVQgDUQj2PRV0O7Al5EGIhNgoTEk9+VBeog8KLQKogl1IoZwwZ2BEMgJ3kEQwn0ZCUMwK+hEFbTfyy8KGcJ96YwM4STQiSqIPCi0CiITl/mnTyKuO/bproH6ZrjmaOzKwzpr+7ailiBtN1j7B4M8JB+fjT6nAAAAAElFTkSuQmCC",$=e=>(Vue.pushScopeId("data-v-381e67b7"),e=e(),Vue.popScopeId(),e),lo={class:"item-desc ml1r mb1r"},io={key:0,class:"content"},ro={key:0,class:"location-wrapper"},co={class:"location"},uo=$(()=>Vue.createElementVNode("img",{src:ao,alt:""},null,-1)),mo={key:0,class:"gang"},po={key:1,class:"live"},ho={class:"description"},fo={key:1,class:"comment-status"},Vo={class:"comment"},go=Vue.createStaticVNode('<div class="type-comment" data-v-381e67b7><img src="'+Z+'" alt="" class="avatar" data-v-381e67b7><div class="right" data-v-381e67b7><p data-v-381e67b7><span class="name" data-v-381e67b7>zzzzz</span><span class="time" data-v-381e67b7>2020-01-20</span></p><p class="text" data-v-381e67b7>北京</p></div></div>',1),vo=$(()=>Vue.createElementVNode("img",{src:Z,alt:"",class:"avatar"},null,-1)),_o=$(()=>Vue.createElementVNode("img",{src:W,alt:"",class:"loved"},null,-1)),Eo=[vo,_o],yo=Vue.defineComponent({__name:"ItemDesc",props:{isMy:{type:Boolean,default:()=>!1},isLive:{type:Boolean,default:()=>!1}},setup(e){const t=e,o=Vue.inject("item"),s=Vue.reactive({isAttention:!1,test:[1,2]});return(n,a)=>(Vue.openBlock(),Vue.createElementBlock("div",lo,[t.isMy?(Vue.openBlock(),Vue.createElementBlock("div",fo,[Vue.createElementVNode("div",Vo,[go,Vue.createVNode(Vue.TransitionGroup,{name:"comment-status",tag:"div",class:"loveds"},{default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(s.test,l=>(Vue.openBlock(),Vue.createElementBlock("div",{class:"type-loved",key:l},Eo))),128))]),_:1})])])):(Vue.openBlock(),Vue.createElementBlock("div",io,[Vue.unref(o).city||Vue.unref(o).address?(Vue.openBlock(),Vue.createElementBlock("div",ro,[Vue.createElementVNode("div",co,[uo,Vue.createElementVNode("span",null,Vue.toDisplayString(Vue.unref(o).city),1),Vue.unref(o).address?(Vue.openBlock(),Vue.createElementBlock("div",mo)):Vue.createCommentVNode("",!0),Vue.createElementVNode("span",null,Vue.toDisplayString(Vue.unref(o).address),1)])])):Vue.createCommentVNode("",!0),t.isLive?(Vue.openBlock(),Vue.createElementBlock("div",po,"直播中")):Vue.createCommentVNode("",!0),Vue.createElementVNode("div",{class:"name mb1r f18 fb",onClick:a[0]||(a[0]=Vue.withModifiers(l=>n.$emit("goUserInfo"),["stop"]))}," @"+Vue.toDisplayString(Vue.unref(o).author.nickname),1),Vue.createElementVNode("div",ho,Vue.toDisplayString(Vue.unref(o).desc),1)]))]))}}),se=A(yo,[["__scopeId","data-v-381e67b7"]]),q={REDIRECT:"redirect",POST:"post",GET:"get",PATCH:"patch",DELETE:"delete",PUT:"put",PAGE_NUMBER:1,PAGE_SIZE:10,DELAY_TIME:250,SUCCESS:200,RELATE_ENUM:{RECOMMEND_NO_REMOVE:-2,RECOMMEND:-1,FOLLOW_ME:1,FOLLOW_EACH_OTHER:2,FOLLOW_HE:3,REQUEST_FOLLOW:4}},L={HORIZONTAL:0,VERTICAL:1,VERTICAL_INFINITE:2},P={Play:"Play",Stop:"Stop",Pause:"Pause"},Zl={nickname:"",unique_id:"",certification:"",short_id:"",province:"",city:"",school:{},uid:"",signature:"",mplatform_followers_count:"",following_count:"",total_favorited:"",follow_status:"",user_age:-1,gender:"",ip_location:"",aweme_count:"",card_entries:[{icon_dark:{url_list:[]},icon_light:{url_list:[]},sub_title:"",title:"",type:-1}],cover_url:[{url_list:[]}],avatar_168x168:{url_list:[]},avatar_300x300:{url_list:[]}};class ne{constructor(t){te(this,"els",[]);return typeof t=="string"?this.find(t):(typeof t=="object"&&this.els.push(t),typeof t=="function"&&document.addEventListener("DOMContentLoaded",t),this)}addClass(t){return typeof t=="string"?this.els.forEach(o=>{o.classList.add(t)}):this.els.forEach(o=>{o.classList.add(...t)}),this}replaceClass(t,o){return this.els.forEach(s=>{s.classList.replace(t,o)}),this}find(t){let o=[];return this.els.length?o=this.els[0].querySelectorAll(t):o=document.querySelectorAll(t),o.length&&(this.els=o),this}create(t){const o=document.createElement("div");return o.innerHTML=t.trim(),this.els=[o.firstChild],this}append(t){return this.els.forEach(o=>{t.els.forEach(s=>{o.appendChild(s)})}),this}remove(){return this.els.forEach(t=>{t.parentNode.removeChild(t)}),this}attr(...t){if(t.length===1)return this.els[0][t[0]]}css(...t){if(t.length===1){if(typeof t[0]=="string")return window.getComputedStyle(this.els[this.els.length-1],null)[t[0]];Object.keys(t[0]).map(o=>{this.els.forEach(s=>{s.style[o]=this.getStyleValue(o,t[0][o])})})}else this.els.forEach(o=>{o.style[t[0]]=this.getStyleValue(t[0],t[1])});return this}on(t,o){const s=t.split(" ");return this.els.forEach(n=>{s.map(a=>{n.addEventListener(a,o)})}),this}trigger(t){const o=t.split(" ");return this.els.forEach(s=>{o.map(n=>{s.dispatchEvent(new Event(n))})}),this}getWidth(){return this.els[0].getBoundingClientRect().width}getHeight(){return this.els[0].getBoundingClientRect().height}getStyleValue(t,o){return["top","left","right","bottom"].find(n=>n===t)&&typeof o=="number"?o+"px":o}removePx(t){return parseInt(t)}}function f(e,t,o){const s=/^-?\d+.?\d*(px|pt|em|rem|vw|vh|%|rpx|ms)$/i;if(o===void 0){let n=null;return"getComputedStyle"in window?n=window.getComputedStyle(e,null)[t]:n=e.currentStyle[t],s.test(n)?parseFloat(n):n}else["top","left","bottom","right","width","height","font-size","margin","padding"].includes(t)&&(s.test(o)||String(o).includes("calc")||(o+="px")),t==="transform"?e.style.webkitTransform=e.style.MsTransform=e.style.msTransform=e.style.MozTransform=e.style.OTransform=e.style.transform=o:e.style[t]=o}const G=e=>(Vue.pushScopeId("data-v-beb38d1b"),e=e(),Vue.popScopeId(),e),Ao=["src","poster","muted","autoplay"],wo=G(()=>Vue.createElementVNode("p",null,"您的浏览器不支持 video 标签。",-1)),ko=[wo],Co={class:"float"},bo=G(()=>Vue.createElementVNode("div",{class:"living"},"点击进入直播间",-1)),No={key:1,class:"comment-status"},Bo={class:"comment"},So=Vue.createStaticVNode('<div class="type-comment" data-v-beb38d1b><img src="'+Z+'" alt="" class="avatar" data-v-beb38d1b><div class="right" data-v-beb38d1b><p data-v-beb38d1b><span class="name" data-v-beb38d1b>zzzzz</span><span class="time" data-v-beb38d1b>2020-01-20</span></p><p class="text" data-v-beb38d1b>北京</p></div></div>',1),To=G(()=>Vue.createElementVNode("img",{src:Z,alt:"",class:"avatar"},null,-1)),Lo=G(()=>Vue.createElementVNode("img",{src:W,alt:"",class:"loved"},null,-1)),Do=[To,Lo],Io={key:0,class:"time"},Mo={class:"currentTime"},Ro={class:"duration"},xo=G(()=>Vue.createElementVNode("div",{class:"bg"},null,-1)),Uo=G(()=>Vue.createElementVNode("div",{class:"point"},null,-1)),Oo=Vue.defineComponent({name:"BaseVideo",__name:"BaseVideo",props:{item:{type:Object,default:()=>({})},position:{type:Object,default:()=>({})},isPlay:{type:Boolean,default:()=>!0},isMy:{type:Boolean,default:()=>!1},isLive:{type:Boolean,default:()=>!1}},setup(e){const t=e;Vue.provide("isPlaying",Vue.computed(()=>i.value)),Vue.provide("isMuted",Vue.computed(()=>n.isMuted)),Vue.provide("position",Vue.computed(()=>t.position)),Vue.provide("item",Vue.computed(()=>t.item));const o=Vue.ref(),s=Vue.ref();let n=Vue.reactive({loading:!1,paused:!1,isMuted:window.isMuted,status:t.isPlay?P.Play:P.Pause,duration:0,step:0,currentTime:-1,playX:0,start:{x:0},last:{x:0,time:0},height:0,width:0,isMove:!1,ignoreWaiting:!1,test:[1,2],localItem:t.item,progressBarRect:{height:0,width:0},videoScreenHeight:0,commentVisible:!1});const a=Vue.computed(()=>H(t.item.video.poster??t.item.video.cover.url_list[0])),l=Vue.computed(()=>({width:n.playX+"px"})),i=Vue.computed(()=>n.status===P.Play),u=Vue.computed(()=>"item-"+Object.values(t.position).join("-")),c=Vue.computed(()=>n.isMove?"move":i.value?"":"stop");Vue.onMounted(()=>{n.height=document.body.clientHeight,n.width=document.body.clientWidth,o.value.currentTime=0;let C=N=>{n.currentTime=Math.ceil(N.target.currentTime),n.playX=(n.currentTime-1)*n.step};o.value.addEventListener("loadedmetadata",()=>{n.videoScreenHeight=o.value.videoHeight/(o.value.videoWidth/n.width),n.duration=o.value.duration,n.progressBarRect=s.value.getBoundingClientRect(),n.step=n.progressBarRect.width/Math.floor(n.duration),o.value.addEventListener("timeupdate",C)});let b=(N,jl)=>{o.value.addEventListener(N,()=>{N==="playing"&&(n.loading=!1),N==="waiting"&&!n.paused&&!n.ignoreWaiting&&(n.loading=!0)},!1)};b("waiting"),b("playing"),h.on(p.SINGLE_CLICK_BROADCAST,V),h.on(p.DIALOG_MOVE,d),h.on(p.DIALOG_END,I),h.on(p.OPEN_COMMENTS,k),h.on(p.CLOSE_COMMENTS,r),h.on(p.OPEN_SUB_TYPE,E),h.on(p.CLOSE_SUB_TYPE,_),h.on(p.REMOVE_MUTED,m)}),Vue.onUnmounted(()=>{h.off(p.SINGLE_CLICK_BROADCAST,V),h.off(p.DIALOG_MOVE,d),h.off(p.DIALOG_END,I),h.off(p.OPEN_COMMENTS,k),h.off(p.CLOSE_COMMENTS,r),h.off(p.OPEN_SUB_TYPE,E),h.off(p.CLOSE_SUB_TYPE,_),h.off(p.REMOVE_MUTED,m)});function m(){n.isMuted=!1}function E(){n.commentVisible=!0}function _(){n.commentVisible=!1}function d({tag:C,e:b}){n.commentVisible&&C==="comment"&&(f(o.value,"transition-duration","0ms"),f(o.value,"height",`calc(var(--vh, 1vh) * 30 + ${b}px)`))}function I({tag:C,isClose:b}){n.commentVisible&&C==="comment"&&(console.log("isClose",b),f(o.value,"transition-duration","300ms"),b?(n.commentVisible=!1,f(o.value,"height","100%")):f(o.value,"height","calc(var(--vh, 1vh) * 30)"))}function k(C){C===t.item.aweme_id&&(f(o.value,"transition-duration","300ms"),f(o.value,"height","calc(var(--vh, 1vh) * 30)"),n.commentVisible=!0)}function r(){n.commentVisible&&(f(o.value,"transition-duration","300ms"),f(o.value,"height","100%"),n.commentVisible=!1)}function V({uniqueId:C,index:b,type:N}){t.position.uniqueId===C&&t.position.index===b&&(N===p.ITEM_TOGGLE&&(t.isLive?(y(),h.emit(p.NAV,{path:"/home/live",query:{id:t.item.aweme_id}})):n.status===P.Play?y():v()),N===p.ITEM_STOP&&(o.value.currentTime=0,n.ignoreWaiting=!0,y(),setTimeout(()=>n.ignoreWaiting=!1,300)),N===p.ITEM_PLAY&&(o.value.currentTime=0,n.ignoreWaiting=!0,v(),setTimeout(()=>n.ignoreWaiting=!1,300)))}function v(){n.status=P.Play,o.value.volume=1,o.value.play()}function y(){n.status=P.Pause,o.value.pause()}function w(C){x(C),n.start.x=C.touches[0].pageX,n.last.x=n.playX,n.last.time=n.currentTime}function U(C){x(C),n.isMove=!0,y();let b=C.touches[0].pageX-n.start.x;n.playX=n.last.x+b,n.currentTime=n.last.time+Math.ceil(Math.ceil(b)/n.step),n.currentTime<=0&&(n.currentTime=0),n.currentTime>=n.duration&&(n.currentTime=n.duration)}function O(C){x(C),!i.value&&(setTimeout(()=>n.isMove=!1,1e3),o.value.currentTime=n.currentTime,v())}return(C,b)=>(Vue.openBlock(),Vue.createElementBlock("div",{class:Vue.normalizeClass(["video-wrapper",Vue.unref(u)]),ref:"videoWrapper"},[Vue.unref(n).loading?(Vue.openBlock(),Vue.createBlock(j,{key:0,style:{position:"absolute"}})):Vue.createCommentVNode("",!0),Vue.createElementVNode("video",{src:e.item.video.play_addr.url_list[0],poster:Vue.unref(a),ref_key:"videoEl",ref:o,muted:Vue.unref(n).isMuted,preload:"true",loop:"","x5-video-player-type":"h5-page","x5-video-player-fullscreen":!1,"webkit-playsinline":!0,"x5-playsinline":!0,playsinline:!0,fullscreen:!1,autoplay:e.isPlay},ko,8,Ao),Vue.unref(i)?Vue.createCommentVNode("",!0):(Vue.openBlock(),Vue.createBlock(Vue.unref(Y),{key:1,icon:"fluent:play-28-filled",class:"pause-icon"})),Vue.createElementVNode("div",Co,[e.isLive?(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,{key:0},[bo,Vue.createVNode(se,{"is-live":!0,item:Vue.unref(n).localItem,"onUpdate:item":b[0]||(b[0]=N=>Vue.unref(n).localItem=N),position:e.position},null,8,["item","position"])],64)):(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,{key:1},[Vue.createElementVNode("div",{style:Vue.normalizeStyle({opacity:Vue.unref(n).isMove?0:1}),class:"normal"},[Vue.unref(n).commentVisible?Vue.createCommentVNode("",!0):(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,{key:0},[Vue.createVNode(no,{item:Vue.unref(n).localItem,"onUpdate:item":b[1]||(b[1]=N=>Vue.unref(n).localItem=N)},null,8,["item"]),Vue.createVNode(se,{item:Vue.unref(n).localItem,"onUpdate:item":b[2]||(b[2]=N=>Vue.unref(n).localItem=N)},null,8,["item"])],64)),e.isMy?(Vue.openBlock(),Vue.createElementBlock("div",No,[Vue.createElementVNode("div",Bo,[So,Vue.createVNode(Vue.TransitionGroup,{name:"comment-status",tag:"div",class:"loveds"},{default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(Vue.unref(n).test,N=>(Vue.openBlock(),Vue.createElementBlock("div",{class:"type-loved",key:N},Do))),128))]),_:1})])])):Vue.createCommentVNode("",!0)],4),Vue.createElementVNode("div",{class:Vue.normalizeClass(["progress",Vue.unref(c)]),ref_key:"progressEl",ref:s,onClick:N=>null,onTouchstart:w,onTouchmove:U,onTouchend:O},[Vue.unref(n).isMove?(Vue.openBlock(),Vue.createElementBlock("div",Io,[Vue.createElementVNode("span",Mo,Vue.toDisplayString(Vue.unref(le)(Vue.unref(n).currentTime)),1),Vue.createElementVNode("span",Ro," / "+Vue.toDisplayString(Vue.unref(le)(Vue.unref(n).duration)),1)])):Vue.createCommentVNode("",!0),Vue.unref(n).duration>15||Vue.unref(n).isMove||!Vue.unref(i)?(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,{key:1},[xo,Vue.createElementVNode("div",{class:"progress-line",style:Vue.normalizeStyle(Vue.unref(l))},null,4),Uo],64)):Vue.createCommentVNode("",!0)],34)],64))])],2))}}),Po=A(Oo,[["__scopeId","data-v-beb38d1b"]]);function Kl(e,t){localStorage.setItem(e,JSON.stringify(t))}function Xl(e,t=""){const o=localStorage.getItem(e);return o?JSON.parse(o):t}function x(e){e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault()}function Ql(e){e.stopPropagation()}function Go(e){const t=document.createElement("textarea");document.body.appendChild(t),t.style.position="absolute",t.style.clip="rect(0 0 0 0)",t.value=e,t.select(),document.execCommand&&(document.execCommand("copy",!0),T("已复制")),document.body.removeChild(t)}function R(e){if(e)return e>1e8?(e/1e8).toFixed(1)+"亿":e>1e4?(e/1e4).toFixed(1)+"万":e}function ae(e,t){if(!e)return;String(e).length===10&&(e=e*1e3);const o=new Date(Number(e)),s=o.getFullYear(),n=o.getMonth()+1,a=n<10?"0"+n:n,l=o.getDate(),i=l<10?"0"+l:l,u=o.getHours(),c=u<10?"0"+u:u,m=o.getMinutes(),E=m<10?"0"+m:m,_=o.getSeconds(),d=_<10?"0"+_:_;switch(t){case"Y":return s+"";case"M":return`${s}-${a}`;case"M_D":return`${a}-${i}`;case"M_CN":return`${s}年${a}月`;case"D":return`${s}-${a}-${i}`;case"m":return`${s}-${a}-${i} ${c}:${E}`;default:return`${s}-${a}-${i} ${c}:${E}:${d}`}}function Ho(e){String(e).length===10&&(e=e*1e3);const t=new Date(Number(e)),o=new Date,s=o.valueOf()-t.valueOf();let n="";return s<1e3*60?n="刚刚":s<1e3*60*60?n=`${(s/(1e3*60)).toFixed()}分钟前`:s<1e3*60*60*24?n=`${(s/(1e3*60*60)).toFixed()}小时前`:s<1e3*60*60*24*2?n="1天前":s<1e3*60*60*24*3?n="2天前":s<1e3*60*60*24*4?n="3天前":t.getFullYear()===o.getFullYear()?n=ae(e,"M_D"):n=ae(e,"D"),n}function H(e){if(e)return e.includes("assets/img")||e.includes("file://")||e.includes("data:image")||e.includes("http")||e.includes("https")?e:tt+e}function le(e){if(!e)return"00:00";const t=Math.floor(e/60),o=Math.round(e%60);let s="";return t===0?s="00":t>0&&t<10?s="0"+t:s=t+"",s+=":",o===0?s+="00":o>0&&o<10?s+="0"+o:s+=o,s}function $l(e){return e.author.unique_id||e.author.short_id}function he(e){return new Promise(t=>{setTimeout(t,e)})}function fe(e){return JSON.parse(JSON.stringify(e))}function Yo(e,t){const o=Math.ceil(e),s=Math.floor(t);return Math.floor(Math.random()*(s-o+1)+o)}function ie(e,t){const o=[],s=[];for(;o.length!==t;){const n=Yo(0,e.length-1);s.includes(n)||(o.push(e[n]),s.push(n))}return o}function jo(){const e=Vue.createApp({render(){return Vue.createVNode(j,null,null)}}),t=document.createElement("div");t.classList.add("dialog-ctn"),document.body.append(t),e.mount(t)}function Fo(){document.querySelector(".dialog-ctn").remove()}function zo(e,t){const o=()=>{const l=document.querySelector(".dialog-ctn");l.classList.replace("fade-in","fade-out"),setTimeout(()=>{l.remove()},300)},s=l=>{o(),t(l)},n=Vue.createApp({render(){return Vue.createVNode(xe,{onCancel:o,list:e,onOk:s},null)}}),a=document.createElement("div");a.classList.add("dialog-ctn","fade-in"),document.body.append(a),n.mount(a)}function Jl(e,t,o,s,n){o||(o=()=>{});const a=()=>{const m=document.querySelector(".dialog-ctn");m.classList.replace("fade-in","fade-out"),setTimeout(()=>{m.remove()},300)},l=m=>{a(),t(m)},i=m=>{a(),o(m)},u=Vue.createApp({render(){return Vue.createVNode(He,{onCancel:i,onDismiss:a,title:e,okText:s,cancelText:n,onOk:l},null)}}),c=document.createElement("div");c.classList.add("dialog-ctn","fade-in"),document.body.append(c),u.mount(c)}function ei(e,t,o,s,n,a,l,i){const u=()=>{const d=document.querySelector(".dialog-ctn");d.classList.replace("fade-in","fade-out"),setTimeout(()=>{d.remove()},300)},c=d=>{u(),s&&s(d)},m=d=>{u(),n&&n(d)},E=Vue.createApp({render(){return Vue.createVNode(ue,{onCancel:m,onDismiss:u,title:e,subtitle:t,subtitleColor:o,cancelTextColor:i,okText:a,cancelText:l,onOk:c},null)}}),_=document.createElement("div");_.classList.add("dialog-ctn","fade-in"),document.body.append(_),E.mount(_)}function ti(e,t,o,s,n){const a=()=>{const c=document.querySelector(".dialog-ctn");c.classList.replace("fade-in","fade-out"),setTimeout(()=>{c.remove()},300)},l=c=>{a(),s(c)},i=Vue.createApp({render(){return Vue.createVNode(it,{onCancel:l,onDismiss:a,title:e,subtitleColor:o,cancelText:n,subtitle:t},null)}}),u=document.createElement("div");u.classList.add("dialog-ctn","fade-in"),document.body.append(u),i.mount(u)}function T(e){const t=document.createElement("div");t.classList.add("global-notice"),t.textContent=e,document.body.append(t),setTimeout(()=>{document.body.removeChild(t)},1e3)}function B(){T("未实现")}async function oi(e){return et?new Promise(async t=>{const o=await fetch(e);if(e.includes(".md")){const s=await o.arrayBuffer(),n=await oe.libarchiveWasm(),a=new oe.ArchiveReader(n,new Int8Array(s));for(const l of a.entries())if(l.getPathname().endsWith(".json")){const i=new TextDecoder().decode(l.readData());t({json(){return Promise.resolve(JSON.parse(i))}})}a.free()}else t(o)}):(e=e.replace(".md",".json"),fetch(e))}function si(e){return function(o,s,n,a){let l;switch(o.type){case"img":l=Vue.createVNode("img",{src:o.src,style:"height:100%;",alt:""},null);break;case"user":l=Vue.createVNode(Tt,e,null);break;case"send-video":l=Vue.createVNode("video",{src:o.src,style:"height:100%;"},null);break;default:l=Vue.createVNode(Po,Vue.mergeProps({isPlay:n,item:o,index:s,position:{uniqueId:a,index:s}},e),null);break}return l}}function X(e){const t=/Mobi|Android|iPhone/i.test(navigator.userAgent);return(!t||t&&e instanceof PointerEvent)&&(e.touches=[{clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}]),!0}function Ve(e,t){t.wrapper.width=f(e,"width"),t.wrapper.height=f(e,"height"),Vue.nextTick(()=>{t.wrapper.childrenLength=e.children.length});const o=F(t,e);let s=0,n=0;t.type===L.HORIZONTAL?s=o:n=o,f(e,"transform",`translate3d(${s}px, ${n}px, 0)`)}function qo(e){if(e.needCheck)if(Math.abs(e.move.x)>e.judgeValue||Math.abs(e.move.y)>e.judgeValue){const t=Math.abs(e.move.x)*10/(Math.abs(e.move.y)*10);e.next=e.type===L.HORIZONTAL?t>1:t<=1,e.needCheck=!1}else return!1;return e.next}function ge(e,t){return!(e.localIndex===0&&!t||e.localIndex===e.wrapper.childrenLength-1&&t)}function ve(e,t,o){X(e),f(t,"transition-duration","0ms"),o.start.x=e.touches[0].pageX,o.start.y=e.touches[0].pageY,o.start.time=Date.now(),o.isDown=!0}function _e(e,t,o,s=null,n=null,a=null){if(X(e),!o.isDown)return;o.move.x=e.touches[0].pageX-o.start.x,o.move.y=e.touches[0].pageY-o.start.y;const l=qo(o),i=o.type===L.HORIZONTAL?o.move.x<0:o.move.y<0;if(o.type===L.VERTICAL_INFINITE&&l&&o.localIndex===0&&!i&&h.emit(o.name+"-moveY",o.move.y),l)if(s||(s=ge),s(o,i)){window.isMoved=!0,x(e),o.type===L.HORIZONTAL&&h.emit(o.name+"-moveX",o.move.x);const u=F(o,t)+(i?o.judgeValue:-o.judgeValue);let c=0,m=0;o.type===L.HORIZONTAL?c=u+o.move.x:m=u+o.move.y,f(t,"transition-duration","0ms"),f(t,"transform",`translate3d(${c}px, ${m}px, 0)`)}else n==null||n();else a==null||a(e)}function Ee(e,t,o=null,s=null,n=null){if(X(e),!!t.isDown)if(t.next){const a=t.type===L.HORIZONTAL,l=a?t.move.x<0:t.move.y<0;if(o||(o=ge),o(t,l)){let u=Date.now()-t.start.time;const c=a?t.move.x:t.move.y,m=a?t.wrapper.width:t.wrapper.height;if(Math.abs(c)<20&&(u=1e3),Math.abs(c)>m/3&&(u=100),u<150)return l?t.localIndex++:t.localIndex--,s==null?void 0:s(l)}else return n==null?void 0:n()}else n==null||n()}function ye(e,t,o,s=null){X(e),f(t,"transition-duration","300ms");const n=F(o,t);let a=0,l=0;o.type===L.HORIZONTAL?(h.emit(o.name+"-end",o.localIndex),a=n):(h.emit(o.name+"-end"),l=n),f(t,"transform",`translate3d(${a}px, ${l}px, 0)`),o.start.x=o.start.y=o.start.time=o.move.x=o.move.y=0,o.next=!1,o.needCheck=!0,o.isDown=!1,setTimeout(()=>{window.isMoved=!1},200),s==null||s("update:index",o.localIndex)}function F(e,t){if(e.type===L.HORIZONTAL){let o=[];return Array.from(t.children).map(s=>{o.push(s.getBoundingClientRect().width)}),o=o.slice(0,e.localIndex),o.length?-o.reduce((s,n)=>s+n):0}else{if(e.type===L.VERTICAL_INFINITE)return-e.localIndex*e.wrapper.height;{let o=[];return Array.from(t.children).map(s=>{o.push(s.getBoundingClientRect().height)}),o=o.slice(0,e.localIndex),o.length?-o.reduce((s,n)=>s+n):0}}}const Wo={class:"slide horizontal"},Zo={key:0,class:"indicator-bullets"},Ko=Vue.defineComponent({__name:"SlideHorizontal",props:{index:{type:Number,default:()=>0},name:{type:String,default:()=>""},autoplay:{type:Boolean,default:()=>!1},indicator:{type:Boolean,default:()=>!1},changeActiveIndexUseAnim:{type:Boolean,default:!0}},emits:["update:index"],setup(e,{emit:t}){const o=e,s=t;let n=null;const a=Vue.ref(null),l=Vue.reactive({judgeValue:20,type:L.HORIZONTAL,name:o.name,localIndex:o.index,needCheck:!0,next:!1,isDown:!1,start:{x:0,y:0,time:0},move:{x:0,y:0},wrapper:{width:0,height:0,childrenLength:0}});Vue.watch(()=>o.index,m=>{l.localIndex!==m&&(l.localIndex=m,o.changeActiveIndexUseAnim&&f(a.value,"transition-duration","300ms"),f(a.value,"transform",`translate3d(${F(l,a.value)}px, 0, 0)`))}),Vue.onMounted(()=>{Ve(a.value,l),o.autoplay&&setInterval(()=>{l.localIndex===l.wrapper.childrenLength-1?s("update:index",0):s("update:index",l.localIndex+1)},3e3),n=new MutationObserver(()=>{l.wrapper.childrenLength=a.value.children.length}),n.observe(a.value,{childList:!0})}),Vue.onUnmounted(()=>{n.disconnect()});function i(m){ve(m,a.value,l)}function u(m){_e(m,a.value,l)}function c(m){Ee(m,l),ye(m,a.value,l,s)}return(m,E)=>(Vue.openBlock(),Vue.createElementBlock("div",Wo,[e.indicator&&l.wrapper.childrenLength?(Vue.openBlock(),Vue.createElementBlock("div",Zo,[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(l.wrapper.childrenLength,(_,d)=>(Vue.openBlock(),Vue.createElementBlock("div",{class:Vue.normalizeClass(["bullet",{active:l.localIndex===_-1}]),key:d},null,2))),128))])):Vue.createCommentVNode("",!0),Vue.createElementVNode("div",{class:"slide-list",ref_key:"slideListEl",ref:a,onPointerdown:Vue.withModifiers(i,["prevent"]),onPointermove:Vue.withModifiers(u,["prevent"]),onPointerup:Vue.withModifiers(c,["prevent"])},[Vue.renderSlot(m.$slots,"default",{},void 0,!0)],544)]))}}),ni=A(Ko,[["__scopeId","data-v-9dfccaf6"]]),Xo={},Qo={class:"slide-item"};function $o(e,t){return Vue.openBlock(),Vue.createElementBlock("div",Qo,[Vue.renderSlot(e.$slots,"default")])}const ai=A(Xo,[["render",$o]]),Jo={name:"AutoInput",props:{modelValue:String,placeholder:{type:String,default:"留下你的精彩评论吧"}},mounted(){},computed:{},data:function(){return{}},methods:{changeText(){this.$emit("update:modelValue",this.$el.innerText)}}},es=["placeholder"];function ts(e,t,o,s,n,a){return Vue.openBlock(),Vue.createElementBlock("div",{ref:"input",placeholder:o.placeholder,class:"auto-input",contenteditable:"",onInput:t[0]||(t[0]=(...l)=>a.changeText&&a.changeText(...l))},Vue.toDisplayString(o.modelValue),41,es)}const os=A(Jo,[["render",ts],["__scopeId","data-v-196ec50e"]]),ss=e=>(Vue.pushScopeId("data-v-6e45f73d"),e=e(),Vue.popScopeId(),e),ns=ss(()=>Vue.createElementVNode("div",{class:"content"},null,-1)),as=[ns],ls=Vue.defineComponent({name:"FromBottomDialog",__name:"FromBottomDialog",props:{modelValue:{type:Boolean,default:!1},mode:{default:"dark"},maskMode:{default:"dark"},height:{default:"calc(var(--vh, 1vh) * 70)"},showHengGang:{type:Boolean,default:!0},pageId:null,borderRadius:{default:"15rem 15rem 0 0"},tag:{default:""}},emits:["update:modelValue","cancel"],setup(e,{emit:t}){Vue.useCssVars(k=>({"4192a9af":e.height}));const o=e,s=t,n=Vue.ref(null),a=Vue.ref(null),l=Vue.ref(0),i=Vue.ref(0),u=Vue.ref(0),c=Vue.ref(0),m=Vue.ref(null);Vue.watch(()=>o.modelValue,k=>{const r=document.getElementById(o.pageId);if(r)if(k){m.value=f(r,"position"),r.style.position="absolute",l.value=document.documentElement.scrollTop,document.body.style.position="fixed",document.body.style.top=-l.value+"px";const V=`<div class="Mask fade-in ${o.maskMode}"></div>`,v=new ne().create(V);setTimeout(()=>{v.on("click",y=>{x(y),E()})},200),r.appendChild(v.els[0])}else{r.style.position=m.value||"fixed",document.body.style.position="static",document.documentElement.scrollTop=l.value;const V=new ne(".Mask").replaceClass("fade-in","fade-out");setTimeout(()=>{V.remove()},250)}});const E=(k=!1)=>{s("update:modelValue",k),s("cancel")},_=k=>{var r;((r=a.value)==null?void 0:r.scrollTop)===0&&(i.value=k.touches[0].clientY,c.value=Date.now(),f(n.value,"transition-duration","0ms"))},d=k=>{var r;((r=a.value)==null?void 0:r.scrollTop)===0&&(u.value=k.touches[0].pageY-i.value,u.value>0&&(h.emit(p.DIALOG_MOVE,{tag:o.tag,e:u.value}),f(n.value,"transform",`translate3d(0, ${u.value}px, 0)`)))},I=()=>{var r;if(!n.value||Date.now()-c.value<150&&Math.abs(u.value)<30)return;const k=(r=n.value)==null?void 0:r.clientHeight;f(n.value,"transition-duration","250ms"),Math.abs(u.value)>k/2?(f(n.value,"transform","translate3d(0,100%,0)"),h.emit(p.DIALOG_END,{tag:o.tag,isClose:!0}),setTimeout(E,250)):(f(n.value,"transform","translate3d(0,0,0)"),h.emit(p.DIALOG_END,{tag:o.tag,isClose:!1}))};return(k,r)=>(Vue.openBlock(),Vue.createBlock(Vue.Transition,{name:"test"},{default:Vue.withCtx(()=>[e.modelValue?(Vue.openBlock(),Vue.createElementBlock("div",{key:0,ref_key:"dialog",ref:n,class:Vue.normalizeClass(["FromBottomDialog",e.mode,e.showHengGang?"":"no-heng-gang"]),onTouchstart:_,onTouchmove:d,onTouchend:I},[Vue.renderSlot(k.$slots,"header",{},void 0,!0),e.showHengGang?(Vue.openBlock(),Vue.createElementBlock("div",{key:0,class:Vue.normalizeClass(["heng-gang",e.mode])},as,2)):Vue.createCommentVNode("",!0),Vue.createElementVNode("div",{class:"wrapper",ref_key:"wrapper",ref:a},[Vue.renderSlot(k.$slots,"default",{},void 0,!0)],512)],34)):Vue.createCommentVNode("",!0)]),_:3}))}}),Ae=A(ls,[["__scopeId","data-v-6e45f73d"]]),is="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACn0lEQVRYR+2VPWgTYRjH/881nXQSQa0ogoNQRYciIqKTtIsfHXVQm6sOisM9p7GDHSzYoabcexTFQXOJdVCclIoYR7+olA6KCIJDUawK4qJOTfLI6yWktJfmvWjokoNbcu/zvL/7v09+R1jmi5Z5f7QAjBLwvEw3EW0XkS6A9oTHJi+IaFpE3rhu/5NGj7IugO9nr4nImTob3GK2+xqBWBJAqeADgM2AfAdoRL+tZZVe641KJWuHTgWQAYBWA/KLiPY7jv0qDkhNAKWClwB2A3gmUup13ZM/ohp73s1VRNZ9AHv1c2a7bqrz+0Qu9v3MOREaBSjHnEyavJFS2Swg+hiGme1Bkxq9ZhGA5+W6iUp5ADOFQmJbKnX8t0mzdHp8RSJReAtgk4jV47p9RoO5CECp4CKAywAGmO0rJptX1igVXAAwAmCQ2R42qY0C0Od5mAgHHcd+aNKkssb3gwMimADwgNnuNamNAvgMoANo72A+9sWkSTWB2+uAuVkAs8z2epPaiBkIPhJhA1FxreOc+mbSpJrAjTUibV9F8Ml17Y0mtREAmTtEdEREeuIarmzMvIjcdd3+ow0BKBWcB5AGkGK2R02azBvC2LVRCWjv57X9RGRLLQEtBAuFRO+1FeOkFykipYIcgBPagsz2PpMUlAqehjakCebkIZOaSBFV48z8BGiltmGh0Ha2lpBCARWvli2IuP+emt72/WCXCCbLQDMArhPhnUj79F9ymusSQSeA09p+4W80KYLHzMmhf05g3mBpK2o7LnGRD2AIkEfhB4wumUIYfbnK34edACq3hpnSt4g1VfH+2FjQWSzSPUC2mkIYAZjGqdfFhfjvAHEhmgIQB6JpAKYQTQWoQmAcoOfMSWfhPDUdoN4AtwBaCfwBBCEdMHp2b0sAAAAASUVORK5CYII=",rs=""+new URL("../assets/gray-close-full3-fA2Sk663.png",import.meta.url).href,cs={name:"Search",props:{placeholder:{type:String,default:"搜索"},modelValue:{type:String,default:""},rightTextColor:{type:String,default:"red"},isShowRightText:{type:Boolean,default:!1},isShowSearchIcon:{type:Boolean,default:!0},rightText:{type:String,default:"搜索"},mode:{type:String,default:"dark"}},methods:{clear(){this.value=""}},mounted(){},computed:{value:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e),e||this.$emit("clear")}}}},us={class:"search"},ds={key:0,class:"search-icon",src:is,alt:""},ms=["placeholder"],ps={class:"suffix"};function hs(e,t,o,s,n,a){return Vue.openBlock(),Vue.createElementBlock("div",{class:Vue.normalizeClass(["search-ctn",o.mode])},[Vue.createElementVNode("div",us,[o.isShowSearchIcon?(Vue.openBlock(),Vue.createElementBlock("img",ds)):Vue.createCommentVNode("",!0),Vue.withDirectives(Vue.createElementVNode("input",{type:"text",placeholder:o.placeholder,"onUpdate:modelValue":t[0]||(t[0]=l=>a.value=l)},null,8,ms),[[Vue.vModelText,a.value]]),Vue.createElementVNode("div",ps,[e.$slots.default?Vue.renderSlot(e.$slots,"default",{key:0},void 0,!0):Vue.createCommentVNode("",!0),a.value.length&&!e.$slots.default?(Vue.openBlock(),Vue.createElementBlock("img",{key:1,src:rs,onClick:t[1]||(t[1]=Vue.withModifiers((...l)=>a.clear&&a.clear(...l),["stop"]))})):Vue.createCommentVNode("",!0)])]),o.isShowRightText?(Vue.openBlock(),Vue.createElementBlock("div",{key:0,class:"rightTextColor",style:Vue.normalizeStyle({color:o.rightTextColor}),onClick:t[2]||(t[2]=Vue.withModifiers(l=>e.$emit("notice"),["stop"]))},Vue.toDisplayString(o.rightText),5)):Vue.createCommentVNode("",!0)],2)}const fs=A(cs,[["render",hs],["__scopeId","data-v-1ac7f3b0"]]),J=Te.create({baseURL:$e.baseUrl,timeout:6e4});J.interceptors.request.use(e=>(e.headers["Content-Type"]||(e.headers["Content-Type"]="application/json"),e),e=>Promise.reject(e));J.interceptors.response.use(e=>{const{data:t}=e;if(t==null||t==="")return T("请求失败,请稍后重试!"),{success:!1,code:500,data:[]};if(typeof t=="string")return{success:!0,code:200,data:t};{(t.data===void 0||t.data===null)&&(t.data={...t});let o=t.code;if(o){try{o=Number(o)}catch{t.code=o=500,t.success=!1}o===0&&(t.code=o=200,t.success=!0),o!==200?T(e.data.message||"请求失败,请稍后重试!"):t.success=!0}else t.code=200,t.success=!0;return t}},e=>{if(console.log("error",e),e.response===void 0)return T("服务器响应超时"),{success:!1,code:500,msg:"服务器响应超时",data:[]};if(e.response.status>=500)return T("服务器出现错误"),{success:!1,code:500,msg:"服务器出现错误",data:[]};if(e.response.status===404)return T("接口不存在"),{success:!1,code:404,msg:"接口不存在",data:[]};if(e.response.status===400)return T("接口报错"),{success:!1,code:400,msg:"接口报错",data:[]};if(e.response.status===401)return{success:!1,code:401,msg:"用户名或密码不正确",data:[]};{const t=e.response.data;if(t==null)return T("请求失败,请稍后重试!"),{success:!0,code:200,data:[]};{const o=t.code;return(t.data===void 0||t.data===null)&&(t.data={...t}),o&&typeof o=="number"&&o!==200?T("请求失败,请稍后重试!"):(t.code=200,t.success=!0),t}}});async function S(e){return J.request(e).then(({data:t})=>({success:!0,data:t})).catch(t=>({success:!1,data:t}))}function li(e,t){return S({url:"/user/video_list",method:"get",params:e,data:t})}function Vs(e,t){return S({url:"/user/panel",method:"get",params:e,data:t})}function gs(e,t){return S({url:"/user/friends",method:"get",params:e,data:t})}function ii(e,t){return S({url:"/user/collect",method:"get",params:e,data:t})}function ri(e,t){return S({url:"/post/recommended",method:"get",params:e,data:t})}function ci(e,t){return S({url:"/shop/recommended",method:"get",params:e,data:t})}const vs={DISPLAY_TYPE:{ALL:0,SCHOOL:1,ME:2},TRIGGER_TIME:{TIME40:40,TIME60:60,TIME90:90,TIME120:120}},_s={videos:[],my:[],users:{all:[{id:"224e9a00-ffa0-4bc1-bb07-c318c7b02fa5",avatar:new URL(""+new URL("../assets/0-DZZhXKhG.png",import.meta.url).href,import.meta.url).href,name:"何以为家",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"234",pinyin:"H",select:!1,type:q.RELATE_ENUM.REQUEST_FOLLOW},{id:"2b446aa8-5d31-429a-8e39-d4705eb4e900",avatar:new URL(""+new URL("../assets/19-o5iDqnlP.png",import.meta.url).href,import.meta.url).href,name:"浅唱↘我们的歌",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"33453",pinyin:"Q",select:!1,type:q.RELATE_ENUM.FOLLOW_ME},{id:"2d8622b4-7112-4bc7-a0cf-00a268a85504",avatar:new URL(""+new URL("../assets/25-BpMlL2TV.png",import.meta.url).href,import.meta.url).href,name:"‘心’之天空",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"234234",pinyin:"#",select:!1,type:q.RELATE_ENUM.FOLLOW_HE},{id:"2e38900b-65f7-426a-8e8b-edb403df35fb",avatar:new URL(""+new URL("../assets/18-B1BHsmp3.png",import.meta.url).href,import.meta.url).href,name:"◇、_保持微笑ゞ",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"1111",pinyin:"#",select:!1,type:q.RELATE_ENUM.FOLLOW_EACH_OTHER},{id:"3cd53cb5-04f8-4439-ad2b-e57b3f9b8c73",avatar:new URL(""+new URL("../assets/26-D4xua0cq.png",import.meta.url).href,import.meta.url).href,name:"好◇°我会Yi直在●",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"sdfs",pinyin:"H",select:!1},{id:"46c77017-9dc6-4a48-bf96-560c6e7db06f",avatar:new URL(""+new URL("../assets/4-Bth7xBtO.png",import.meta.url).href,import.meta.url).href,name:"甫韦茹",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"dgfdfg",pinyin:"F",select:!1},{id:"4df770d7-a414-4e02-8f9e-72ebd87eb93e",avatar:new URL(""+new URL("../assets/12-rrjFLbXW.png",import.meta.url).href,import.meta.url).href,name:"幸福泡泡",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"df",pinyin:"X",select:!1},{id:"5ebb4d7a-c7ad-43c7-a830-9eb3ee423cb7",avatar:new URL(""+new URL("../assets/3-CI9vl2P3.png",import.meta.url).href,import.meta.url).href,name:"蔡傲安",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"ssss",pinyin:"C",select:!1},{id:"7226092d-a2c5-4ffd-98d7-3b7ac814bca3",avatar:new URL(""+new URL("../assets/16-P9UU56wt.png",import.meta.url).href,import.meta.url).href,name:"心若向阳无谓伤悲",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"asdfasd",pinyin:"X",select:!1},{id:"72aef2a9-5573-4205-9288-706e19bccc7f",avatar:new URL(""+new URL("../assets/10-Blhm8lgt.png",import.meta.url).href,import.meta.url).href,name:"A倒影着稚嫩的少年",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"wfghdf",pinyin:"#",select:!1},{id:"77c82d2e-9be1-45c2-a733-00445d2e7f2c",avatar:new URL("data:image/png;base64,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",import.meta.url).href,name:"一只喵的旅行。",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"sadf",pinyin:"Y",select:!1},{id:"7b30566d-70eb-4a31-ae43-200917269a43",avatar:new URL(""+new URL("../assets/14-B48u_Fz3.png",import.meta.url).href,import.meta.url).href,name:"℉阳光下的小情绪",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"asdfa",pinyin:"#",select:!1},{id:"90c6ccd8-0653-4789-9348-28fba06d6ae3",avatar:new URL(""+new URL("../assets/11-Ckfe3bFJ.png",import.meta.url).href,import.meta.url).href,name:"思念一直在",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"as",pinyin:"S",select:!1},{id:"a2c1310f-1a3c-430f-9b7c-557b9ccdd33d",avatar:new URL(""+new URL("../assets/9-D9sQQ2wH.png",import.meta.url).href,import.meta.url).href,name:"阎韶丽",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"vbvd",pinyin:"Y",select:!1},{id:"a7443b4f-b0fa-4409-a693-5f090aa763ee",avatar:new URL(""+new URL("../assets/5-DWyY12-8.png",import.meta.url).href,import.meta.url).href,name:"马佳婉清",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"sdf",pinyin:"M",select:!1},{id:"b49fd828-f8a7-4be0-a3bc-0a8fa312b2e8",avatar:new URL(""+new URL("../assets/0-DZZhXKhG.png",import.meta.url).href,import.meta.url).href,name:"倒影着稚嫩的少年",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"eeee",pinyin:"D",select:!1},{id:"b632bffe-1cfb-408a-8255-b558e2faf49a",avatar:new URL(""+new URL("../assets/8-iptKbolh.png",import.meta.url).href,import.meta.url).href,name:"买易槐",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"xczxc",pinyin:"M",select:!1},{id:"c01f10dd-a270-42ab-876f-64a8beb22a69",avatar:new URL(""+new URL("../assets/7-D4XYyVtS.png",import.meta.url).href,import.meta.url).href,name:"章昊苍",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"gggggggggr",pinyin:"Z",select:!1},{id:"d0bf11a3-a25b-4865-a047-c67de8e8af7b",avatar:new URL(""+new URL("../assets/2-BN5PI5K_.png",import.meta.url).href,import.meta.url).href,name:"凌依晨",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"12",pinyin:"L",select:!1},{id:"d300b7a5-115d-41ba-a071-7d1781da331f",avatar:new URL("data:image/png;base64,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",import.meta.url).href,name:"为你锁住心",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"1629993515",pinyin:"W",select:!1},{id:"deceba30-80fc-45c2-bd56-8d65091bb104",avatar:new URL(""+new URL("../assets/13-DuB9LKef.png",import.meta.url).href,import.meta.url).href,name:"原味青春",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"werwe",pinyin:"Y",select:!1},{id:"e0c3d20d-5978-4339-962f-cffc6e29aff1",avatar:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAMAAAAKE/YAAAAAyVBMVEXEgIPlrlXtxX7////WmkXjq1FZV1fbn0jJhn3TlG/gpl7NjHfZnWbns17krFfrv3TXmmnQkHPswnjqvG/Qk4LdoWLmsVrfpU3iqVr++vXwzZbuyY3qu2vrwH7otmTKiYLTmYHtxHzLiXr9/Pqop6fapIHVl2zpuWj248P027TfrYDnun/jtH/35srx06Hz2Kv9+O/89ejl5eX78eLX1dP56tL137zHhYPWnoF2dHT67tpeXV3z8/PAv72zsrLOzMqZmJiGhYVpZ2d5FFCXAAAGoUlEQVR42uzBgQAAAACAoP2pF6kCAAAAAAAAAJg9O+lNGwjDADwvn2SNlxnsWkaxXXIA5MCBJWxSCE2X//+j6vFSe2wqtYd4iJTnFJEDL6Nv8cCnTw3XjxzH8WyXfRjBA2oPNvsYMuTS9WmZTgBEnH0ALnIrUp5HAJyPkNoBkFBlo1Kzu8eRe6Z26vusax7Yvu+XsyIAMKLGCJB3WCAzDzXPLdpwS42dADJ2b2y0eT6AE7WsgAd2D6p6CLgqB50sS7oxfwTMLxnXay2P5u+ncIJKfP3x6+Wt1Ys+M8t2cEO4jInmyxCF+YuVW1DpYHrquVVkAU1Sl0IK5bulvFJFAJyZkwGYri6x2nZqS1dS+iNB7ptVuDZTL2DGREByoD/iDQoibrXdGMDRUl6okpgsagfhhTSXR+Q21HIAsF6o6ji2OjFihkRI59RxEAAO1LYBtnRcLPZU2wKSmeEjob4lIEgTTzAizQqmOnHWRNF8wZR0CUT3g5laL5HYkXL8tqe2M1LSHTp7nNamnvQ4tpS7/lRbQ6+GlDpCJL3QGTMgKx8oFpZypJZxL/QGIu6G9pgB0VdS1H7uHHUypY4TsNIrKOcZaEWZ/i309omU+f5KlR30o95CeZixoVXtVizo170+0HbqH6+W9YMqE2hVnQIygIFdXs+Ixav16zvpoZdEe0t5a56QcKbaXKiSDgyMEBnWEfa9tkvqBn1pThpYUmVV3hK94VM72NFtCUSsh96hsIlJWU+q1SIHT+1hRbeFxbNGu0GXKInkvFyNAOk2l0kppePZnA0iQEg3xSrdgd7yRvw5p8KjCodSPex45qAlctkQZP+om2P9GtP1uG/GNCSP6nizPHHnjjbY3PYgnumGKZTxTn/FYWzmO06UcXURRsdgc5sD45h6Lig9XfRrIu9dhPsGKJEMGM2p6wtqSRF7HSIn4TGF+xKAydQOMIpJt0WLmI4FFJkB3broG+RLPi6BsV7X69tZXA74/broc9i7cwGIczvz5GYSzjj+kc/eXYDceE2lOEEt8rRfWTqHbLisAyhPyfl0Oqei/dZuBMWx2cyTqN1FgTBX4qas+CY14Cr8/wnY++MOeuwA8LShfGdHzZjfy1y8ZneG8j1V9e/q7GBJURgIwHCnayhQQGaAFQ8KYhVrFXrX93+yhQWmoQAFYsf4neb4T6qTABaszgTs7PrXIUcs44AatNd2q+biWWwDypxW38736lSvfXdkNNyKfat63TWfjzZ7LeTsQDXLEdIseEKbyTBM0zSUDjXdNIubv0pmfdArZG+WN5tfVO2AOiuxnPlVM4TSH2S+JZtpqdcwQtNmtdF/hew8U/TOghHazHPZTCJ66+J2EotFTS5tREV7cSe3zMRU9wDiSCYTQ9m7gC2ZTCJ1r11ruWRiqntsWskVE1Phu8B6ZjAVd5k00OyPTXYTU3ncG5lUPN7MvxOdsiaiFrMQVfUUW+ZS75TmDXDaFFHDGbWvKSKlr7c2NUswRNfaBk6rF0SbvWbg5VC0fDL/d2o68EyZ5Ej9ZyaH3kolV1ndgfdDN5x0sqqrxdoIqp5dTMlKh9oRv6J5g2y87YPeSbQY0dReCn5H9B9B6DIfYw70qp9pW/QMPGOYRWxRa2jyEdIRo4yGmGkrSq5/Ax6WYOCnvueliCF06PCtY9weKxnwWAsGMVauwENwcLFyABa24OBiLQEOP4IwRIdQ+JDoGNs7UetoP6bTo5bDL02PaR/9c/NX7QJEh0+lfR4WvHMce/gLWNhl9Wb3mui+BHhYJwtg/5Lx6AuB0VXIwwF3YJS7YhG3c871ZcAo2y+M3g9NB8mBUeYvHeSmOsAhV2B0RLoZxBwBeuWIbD0cdABGIfpNM7rzohG9wEtxBDBKEM91M3rPttxWEA8fuwEj/F/tlg201GdBglZ0a4JSfCwBRgdETKsCmpR0S6EYt0pdmo425bcLtviuqFbda42B34pOY1HaBvjW6Bw7fD/FUvtA27fvPv8cx0GKTx2BUYbDgnJCXB9L52bUkbw1+ohjPM/v/AfCTXWJDnESLwg8nOMOjG44mT7RcMDpdBmP+sz7sOgMWYTAhY6PD4tOkEUCrJAF9Oi/Ey/Qp/1OzIFXiAzu0Kf9nZgAswsWPmukq6H+sOngGOoDDNP6mSkEfjm+VgYjNH78GG3Wdz4OIYzQdz7yBEZpen5cQnhEx/vlcoRndNuK16fJ2i11HsIEOk319XiDaXQ5QK73BN7kdvm04lIyu/qSJfBut3zOCoeywf8A4zCbiVatKHUAAAAASUVORK5CYII=",import.meta.url).href,name:"一起走过的日子°",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"dfgdfg",pinyin:"Y",select:!1},{id:"e1fb6274-10fa-4d50-b9b1-6eefacfc2341",avatar:new URL(""+new URL("../assets/15-UOUFsCr7.png",import.meta.url).href,import.meta.url).href,name:"看,熟悉旳风景",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"aasdasd",pinyin:"K",select:!1},{id:"eab1ef9b-70e6-4249-8d78-b4f6e1b0cb08",avatar:new URL(""+new URL("../assets/20-BF-0hNcA.png",import.meta.url).href,import.meta.url).href,name:"dear°学会微笑",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"gggggg",pinyin:"#",select:!1},{id:"ecb405e2-d057-4c85-a12b-a5fe9a7b8a05",avatar:new URL(""+new URL("../assets/6-BVSjhc3O.png",import.meta.url).href,import.meta.url).href,name:"富察昕昕",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"ghjg",pinyin:"F",select:!1},{id:"f09652a3-d6e1-4517-a15e-583a24a250e1",avatar:new URL(""+new URL("../assets/17-CaODV7Zj.png",import.meta.url).href,import.meta.url).href,name:"蓝天下的迷彩?",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"yhjh",pinyin:"L",select:!1},{id:"f676cc30-cc81-487a-9450-cbb1f3c5cde8",avatar:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAAAyVBMVEW3pprpunf////Rl0rouXPRlUe9qJfqvXvjuHvFrJDntm3BqpNaWFjatYKzpZ3muXnVnVHVsob9+/juyJPcqF7OsIrsw4jfrGXet37ltXFNSkr9+fLks2735s3vzZzYoVdTUVH78+fx1arJrY7gr2napFr89uz57Nn24cPqv4LAoYDisWvy8vO3t7dwbm7z27fw0aNgXl7s7Ozj4eGNi4u9o4nJnGT68eLc3Nu/vr56eHjMy8uZmJjNmlisq6upqKiHhojDoHXg2c/Bmvl1AAAEsElEQVRo3u2a6XLaMBCAWXltg43xbWPOcEO5kjTNnV7v/1C1bBGRBtI2kezpDN9kknF+8LHa1a5sqJw4ceLEiRMnTvw3NBqVcvhx/aUMdeOTqiqlmK9VRb2ulMCToijqp+JD1hQqfqoUzhcl40ulYBqfMq96Xexac/GTVikQLlYK3lFcrP4oR1zgVuZihmmamlYpLG4uXtp2tWm5o2KqzAzHCiOGHNuqVWRjWjZ0mFed6AgMyWrNpZJkJw4A4Rm3Ig+zCRTsq1SrBPACS1qqazZTYOAoTn8Jv9GUZK5xhY6dBF5jVWRg2nAEuXnWqvAXSKhtC/6GqvA0j2AHotTFPr7Quv6W2BYccggMjCf9GF6C9O3wkGUE3AkURVWVfXMmTZbLZQczuW2Kz3AyUdS8VaYKThI4CsUJEhay4JIeUy31OggM9m+V9W5lzLIscKURlgrD6SBydeIoe3QAIRS70uiwuCaGHvkRdpgbHTWNmKH2acsWJ3YB9TF79cDvDtqff87mESJLcTDhUSeAAtsXrelAzb3nHlld1evfV94WnsEkdvhaW8JSDDuxOvE9Qh5b9XrripAu7s+rvprSR5HlVaMvHKs0hdglZLU5q9frm0tChkYWrmEYiDpOHCdAoIQNUW2LFdcEozYh3n0qPtusCLnJ2lZvPt/2dET6I/ZE4LIiGoPRIynr1lm99ZUQ0o4QoxmhTLc6ip6ODWvXGcEYEsrd/f3aS/96vhFNCWPgc7MrehRTMYdGPNu74uaqJld8gz4hD+vPu5h1sWutNWEHFe2xNbreVVppa3Y9RL7Wok9bM8KZ6uitW2mFX7CYuwY/6Qo+XqLvcXHPWJCrVFxvPZCM2bMYTBFi2AN7bab1hogL8o2K67ckY87FoaDGxcFoPvCIN+36CKh7l5vWWeuR5Jwjv6sQLgY0dN/3F7RNAnbJ5dfHO2+Xc+CYwsQcRMNYUDkaecp5wJywIV4M6HenHvEG3XM8594twh6WjIh7z3HOFr0B61tDfHVPIVicjSi+l/Vh92Yw20YILxkJFxtzJl3lTQPx4I2NK1ys54v7+er++202KCTcv3Hxq+aVbeCLS0J6CIepCRYbvXwmty7SLr2mjfOI2G1IEa8z8Tfi+ccibmqilzpP8UWrfpY26cEC4QimYPFiSigPm4vNHRsMhwklbafV7YoV9RGaAsci30+8Px/F1gSLMZrxmQxvEIp+wIUwnE3b7Zt5hPAWligxB3ERRbqB8Ca2KVDM1Qh/ZCRA/C4suQ8TBdS1aDGEZYmtssS2WZIYwrLEzbLEUCtL7MoTI2a/jz6zFy9mOj3nmD2UItYx6YzHccp42UHQD4YsWqxDEk8cR1FzFMVxguRQyGLFehL3s8f1z6iqEx/Ossjp1AkUVeHQi8kSdKF904RXYMBjzcJ2+jEKH8u1A+LOOA76aX5pYvtBvJRyBKodTDHV59ALKZ+/jeAAWMCMCuHDvE/sfthrm7I+R5WT4yYwCh7Kmv1hsdsQsJveQ62k2qpWSqqtUKRYfk03rJICbrjF7iXOSEDXEn/IlHqL7BZ9rOatq1gvJyzYy7FK8ja0ptwNfBztHTFXa0V9q+pfvsH3C6MXXXRh2GYoAAAAAElFTkSuQmCC",import.meta.url).href,name:"伱的微笑",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"ghj",pinyin:"N",select:!1}],recent:[{id:"3cd53cb5-04f8-4439-ad2b-e57b3f9b8c73",avatar:new URL(""+new URL("../assets/26-D4xua0cq.png",import.meta.url).href,import.meta.url).href,name:"好◇°我会Yi直在●",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"sdfs",pinyin:"H",select:!1},{id:"77c82d2e-9be1-45c2-a733-00445d2e7f2c",avatar:new URL("data:image/png;base64,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",import.meta.url).href,name:"一只喵的旅行。",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"sadf",pinyin:"Y",select:!1}],eachOther:[{id:"2b446aa8-5d31-429a-8e39-d4705eb4e900",avatar:new URL(""+new URL("../assets/19-o5iDqnlP.png",import.meta.url).href,import.meta.url).href,name:"浅唱↘我们的歌",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"33453",pinyin:"Q",select:!1},{id:"eab1ef9b-70e6-4249-8d78-b4f6e1b0cb08",avatar:new URL(""+new URL("../assets/20-BF-0hNcA.png",import.meta.url).href,import.meta.url).href,name:"dear°学会微笑",sex:"",age:25,idCard:null,phone:"",address:null,wechat:"",password:null,lastLoginTime:"1629993515",createTime:"1630035089",isDelete:0,account:"gggggg",pinyin:"#",select:!1}]},music:[{name:"龙卷风",mp3:"http://im5.tongbu.com/rings/singerring/zt_uunGo_1/5605.mp3",cover:new URL(""+new URL("../assets/1-B2qwjxda.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:99,use_count:37441e3,is_collect:!1,is_play:!1},{name:"爱在西元前",mp3:"http://m3.8js.net:99/1916/501204165042405.mp3",cover:new URL(""+new URL("../assets/2-Db579X3e.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"蜗牛",mp3:"http://im5.tongbu.com/rings/singerring/zt_uunGo_1/3684.mp3",cover:new URL(""+new URL("../assets/3-DiR1qHt5.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"半岛铁盒",mp3:"http://m3.8js.net:99/2016n/46/94745.mp3",cover:new URL(""+new URL("../assets/4-Bx-cSNLK.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"轨迹",mp3:"http://m3.8js.net:99/1832/411204324135934.mp3",cover:new URL(""+new URL("../assets/5-CjaAn3RD.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"七里香",mp3:"http://m3.8js.net:99/2016n/14/53717.mp3",cover:new URL(""+new URL("../assets/6-BEjtsDrB.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"发如雪",mp3:"http://m3.8js.net:99/2014/211204142150965.mp3",cover:new URL(""+new URL("../assets/7-CSyLQC03.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"霍元甲",mp3:"http://m3.8js.net:99/1921/261204212643140.mp3",cover:new URL(""+new URL("../assets/8-BPvsomB9.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"千里之外(周杰伦/费玉清)",mp3:"http://im5.tongbu.com/rings/singerring/zt_uunGo_1/121.mp3",cover:new URL(""+new URL("../assets/9-DKOQnEHT.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"菊花台",mp3:"http://im5.tongbu.com/rings/singerring/zt_uunGo_1/2022.mp3",cover:new URL(""+new URL("../assets/10-C31JqSQ8.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"不能说的秘密",mp3:"http://im5.tongbu.com/rings/singerring/zt_uunGo_1/165.mp3",cover:new URL(""+new URL("../assets/11-B5gau2r6.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"牛仔很忙",mp3:"http://im5.tongbu.com/rings/singerring/zt_uunGo_1/219.mp3",cover:new URL(""+new URL("../assets/12-CP8aD_jk.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"给我一首歌的时间",mp3:"http://m3.8js.net:99/1938/041204380445445.mp3",cover:new URL(""+new URL("../assets/18-C60ghDhY.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"烟花易冷",mp3:"http://m3.8js.net:99/1828/051204280535192.mp3",cover:new URL(""+new URL("../assets/14-BGdr9kCQ.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"惊叹号",mp3:"http://m3.8js.net:99/20111103/150.mp3",cover:new URL(""+new URL("../assets/15-CXZCqXSQ.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"明明就",mp3:"http://m3.8js.net:99/2016n/27/96537.mp3",cover:new URL(""+new URL("../assets/16-3OR16OKq.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"算什么男人",mp3:"http://m3.8js.net:99/20150107/429.mp3",cover:new URL(""+new URL("../assets/17-DI7FnnlK.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1},{name:"告白气球",mp3:"http://m3.8js.net:99/20161016/481.mp3",cover:new URL(""+new URL("../assets/18-C60ghDhY.jpg",import.meta.url).href,import.meta.url).href,author:"周杰伦",duration:60,use_count:37441e3,is_collect:!1,is_play:!1}]},z=Le("base",{state:()=>({bodyHeight:document.body.clientHeight,bodyWidth:document.body.clientWidth,maskDialog:!1,maskDialogMode:"dark",version:"17.1.0",excludeNames:[],judgeValue:20,homeRefresh:60,loading:!1,routeData:null,users:[],userinfo:{nickname:"",desc:"",user_age:"",signature:"",unique_id:"",province:"",city:"",gender:"",school:{name:"",department:null,joinTime:null,education:null,displayType:vs.DISPLAY_TYPE.ALL},avatar_168x168:{url_list:[]},avatar_300x300:{url_list:[]},cover_url:[{url_list:[]}],white_cover_url:[{url_list:[]}]},friends:_s.users}),getters:{selectFriends(){return this.friends.all.filter(e=>e.select)}},actions:{async init(){const e=await Vs();e.success&&(this.userinfo=Object.assign(this.userinfo,e.data));const t=await gs();t.success&&(this.users=t.data)},setUserinfo(e){this.userinfo=e},setMaskDialog(e){this.maskDialog=e.state,e.mode&&(this.maskDialogMode=e.mode)},updateExcludeNames(e){if(e.type==="add")this.excludeNames.find(t=>t===e.value)||this.excludeNames.push(e.value);else{const t=this.excludeNames.findIndex(o=>o===e.value);t!==-1&&this.excludeNames.splice(t,1)}}}});function ui(e,t){return S({url:"/video/historyOther",method:"get",params:e,data:t})}function di(e,t){return S({url:"/video/history",method:"get",params:e,data:t})}function mi(e,t){return S({url:"/video/recommended",method:"get",params:e,data:t})}function pi(e,t){return S({url:"/video/long/recommended/",method:"get",params:e,data:t})}function hi(e,t){return S({url:"/video/my",method:"get",params:e,data:t})}function fi(e,t){return S({url:"/video/private",method:"get",params:e,data:t})}function Vi(e,t){return S({url:"/video/like",method:"get",params:e,data:t})}function Es(e,t){return S({url:"/video/comments",method:"get",params:e,data:t})}const ys={name:"Comment",components:{AutoInput:os,ConfirmDialog:ue,FromBottomDialog:Ae,Loading:j,Search:fs},props:{modelValue:{type:Boolean,default(){return!1}},videoId:{type:String,default:null},pageId:{type:String,default:"home-index"},height:{type:String,default:"calc(var(--vh, 1vh) * 70)"}},computed:{...De(z,["friends"])},watch:{modelValue(e){e?this.getData():this.comments=[]}},data(){return{comment:"",test:"",comments:[],options:[{id:1,name:"私信回复"},{id:2,name:"复制"},{id:3,name:"搜一搜"},{id:4,name:"举报"}],selectRow:{},showPrivateChat:!1,isInput:!1,isCall:!1,loadChildren:!1,loadChildrenItemCId:-1}},mounted(){},methods:{_no:B,_time:Ho,_formatNumber:R,_checkImgUrl:H,async handShowChildren(e){this.loadChildrenItemCId=e.comment_id,this.loadChildren=!0,await he(500),this.loadChildren=!1,e.showChildren?e.children=e.children.concat(ie(this.comments,10)):(e.children=ie(this.comments,3),e.showChildren=!0)},send(){this.comments.push({id:"2",avatar:new URL(""+new URL("../assets/4-Bth7xBtO.png",import.meta.url).href,import.meta.url).href,name:"成都旅行",text:this.comment,loveNum:27,isLoved:!1,time:"2021-08-24 20:33",children:[]}),this.comment="",this.isCall=!1},async getData(){let e=await Es({id:this.videoId});e.success&&(e.data.map(t=>{t.showChildren=!1,t.digg_count=Number(t.digg_count)}),this.comments=e.data)},cancel(){this.$emit("update:modelValue",!1),this.$emit("close")},toggleCall(e){e.select=!e.select;let t=e.name;this.comment.includes("@"+t)?this.comment=this.comment.replace(`@${t} `,""):this.comment+=`@${t} `},loved(e){e.isLoved?e.digg_count--:e.digg_count++,e.user_digged=!e.user_digged},showOptions(e){zo(this.options,t=>{t.id===1&&(this.selectRow=e,this.showPrivateChat=!0)})}}},we=""+new URL("../assets/check-red-share-CbKqD1h3.png",import.meta.url).href,As="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA3RJREFUWEftllmoTlEUx3+3FB7InESEkFkUGQpJKGWeZyGKB4oUISkUMoYyJ/NQSiTzmCGZI6GQzPOQF/pr7du62/m+73xPN2XV7pyz91pn/de8CyhmKihm/fxzAEoDQ22VB8IqBbwB3tpzD6D1OpeH03qgHLAAGARUyPVTO/8KrAGmZ+NPA6AFsA1o5H70DLhuFr8DfgK13KrqeJ8DPYCbSUByAZgDzHWCN4AtwFZTnsm48cBCC1HgUfh+xALZALQGLjmBjcDYlO4PbNuBIfaxD+iXDwC5rIkJTADWJyjX+QfgaXSmnNG+aDfQ397bA+c9byYPeNdPBNZGCnTeG2hm+0+AzcA84CTQEegEnAIqWb5UB5YBU3MBKGkJUw84AnSPlB8AemUIhUCMsrNhgEIgUiUssvciRid5YDSgeItGWAUEfZucgkPALjsYCPSMQNUAVC0ieWu/vatCXgbeJADHgC7Ad6AK8MWYuwJH7X0VMDlSuA5Q9osuAm3deR3goX0rbIUlGQMQuhfGKFf3cT9R6Q0H7gNKJnU+T3K9PCSKY60S/GZnqq7LmTzQxtDr3CefWq4ajmgasDRSrs8xwAbbF3AZEKgpoB4iquzBxx5Qq91hjO2AC/beEriasO9xqFsq8URlgc/ucBKw2rxbzQvFAHz5lXHxVx2rnuWFignWa+se0CAh/joLveAc0CEbAO+B+sADYw7ArgGtEgD0BfbavobWLMejkg3hmAKszAbA58BgYKcxh9J8n2EannGWhQYk0YZmvQbZY6A58CkbAF8FGkLqbCI1o8P2HrfleGCF+KskZXGYov5/hRiS+sBxoDNwB2js0CoJlYwi/ew0IC+F2g+sK+zeoB4SSCU8Mil3kgCMc4NngN1sJCtFajZJJEB+bHseb7kfUn94kgAo+28BNQElnVpsaE5qIjNt0KhDPgJmG5/mhupd+xpO+ta17K6h0YDSoNKAUp5kBKADTawlxqP22y2D5Wm3fTKmAqAfS7H6v0hCSkg98yUNovkuGWVMmCk5r+W/Im2K5wngbA4Uda1y1Ff8UJoBLPayue6E4lUpLY8U6rZzxa7dr2zQqMdr1bZc8CIaXBrZAl+E0gCQgOaCgGjIlMgjBkpIXVJUPbeT5NICCLKyUHNBSyXl10fAr4NWzn4o/YUhXwB5GJ+O9T+A32kYuCFFG5afAAAAAElFTkSuQmCC",ws=""+new URL("../assets/emoji-black-jo1uFjky.png",import.meta.url).href,ks=""+new URL("../assets/up-D7v8_HVY.png",import.meta.url).href,ee=e=>(Vue.pushScopeId("data-v-4f08d430"),e=e(),Vue.popScopeId(),e),Cs={class:"title"},bs={class:"num"},Ns={class:"right"},Bs={class:"comment"},Ss={key:0,class:"wrapper"},Ts={class:"items"},Ls={class:"main"},Ds={class:"content"},Is=["src"],Ms={class:"comment-container"},Rs={class:"name"},xs={class:"time-wrapper"},Us={class:"left"},Os={class:"time"},Ps=ee(()=>Vue.createElementVNode("div",{class:"reply-text"},"回复",-1)),Gs={class:"right d-flex",style:{gap:"10rem"}},Hs=["onClick"],Ys={key:0},js=["onClick"],Fs={key:0,class:"replies"},zs={class:"content"},qs=["src"],Ws={class:"comment-container"},Zs={class:"name"},Ks={key:0,class:"reply-user"},Xs={class:"detail"},Qs={class:"time-wrapper"},$s={class:"left"},Js={class:"time"},en=ee(()=>Vue.createElementVNode("div",{class:"reply-text"},"回复",-1)),tn=["onClick"],on=["onClick"],sn=ee(()=>Vue.createElementVNode("div",{class:"gang"},null,-1)),nn={class:"input-toolbar"},an={key:0,class:"call-friend"},ln=["onClick"],rn=["src"],cn={key:0,class:"checked",src:we},un={class:"toolbar"},dn={class:"input-wrapper"},mn={class:"right"};function pn(e,t,o,s,n,a){const l=Vue.resolveComponent("dy-back"),i=Vue.resolveComponent("Icon"),u=Vue.resolveComponent("Loading"),c=Vue.resolveComponent("no-more"),m=Vue.resolveComponent("BaseMask"),E=Vue.resolveComponent("AutoInput"),_=Vue.resolveComponent("Search"),d=Vue.resolveComponent("ConfirmDialog"),I=Vue.resolveComponent("from-bottom-dialog"),k=Vue.resolveDirective("click");return Vue.openBlock(),Vue.createBlock(I,{"page-id":o.pageId,modelValue:o.modelValue,"onUpdate:modelValue":t[7]||(t[7]=r=>e.$emit("update:modelValue",r)),onCancel:a.cancel,"show-heng-gang":!1,maskMode:"light",height:o.height,tag:"comment",mode:"white"},{header:Vue.withCtx(()=>[Vue.createElementVNode("div",Cs,[Vue.createVNode(l,{mode:"dark",img:"close",direction:"right",style:{opacity:"0"}}),Vue.createElementVNode("div",bs,Vue.toDisplayString(a._formatNumber(n.comments.length))+"条评论",1),Vue.createElementVNode("div",Ns,[Vue.createVNode(i,{icon:"prime:arrow-up-right-and-arrow-down-left-from-center",onClick:Vue.withModifiers(a._no,["stop"])},null,8,["onClick"]),Vue.withDirectives(Vue.createVNode(i,{icon:"ic:round-close"},null,512),[[k,a.cancel]])])])]),default:Vue.withCtx(()=>[Vue.createElementVNode("div",Bs,[n.comments.length?(Vue.openBlock(),Vue.createElementBlock("div",Ss,[Vue.createElementVNode("div",Ts,[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(n.comments,(r,V)=>(Vue.openBlock(),Vue.createElementBlock("div",{class:"item",key:V},[Vue.createElementVNode("div",Ls,[Vue.createElementVNode("div",Ds,[Vue.createElementVNode("img",{src:a._checkImgUrl(r.avatar),alt:"",class:"head-image"},null,8,Is),Vue.createElementVNode("div",Ms,[Vue.createElementVNode("div",Rs,Vue.toDisplayString(r.nickname),1),Vue.createElementVNode("div",{class:Vue.normalizeClass(["detail",r.user_buried&&"gray"])},Vue.toDisplayString(r.user_buried?"该评论已折叠":r.content),3),Vue.createElementVNode("div",xs,[Vue.createElementVNode("div",Us,[Vue.createElementVNode("div",Os,Vue.toDisplayString(a._time(r.create_time))+Vue.toDisplayString(r.ip_location&&` · ${r.ip_location}`),1),Ps]),Vue.createElementVNode("div",Gs,[Vue.createElementVNode("div",{class:Vue.normalizeClass(["love",r.user_digged&&"loved"]),onClick:v=>a.loved(r)},[Vue.withDirectives(Vue.createVNode(i,{icon:"icon-park-solid:like",class:"love-image"},null,512),[[Vue.vShow,r.user_digged]]),Vue.withDirectives(Vue.createVNode(i,{icon:"icon-park-outline:like",class:"love-image"},null,512),[[Vue.vShow,!r.user_digged]]),r.digg_count?(Vue.openBlock(),Vue.createElementBlock("span",Ys,Vue.toDisplayString(a._formatNumber(r.digg_count)),1)):Vue.createCommentVNode("",!0)],10,Hs),Vue.createElementVNode("div",{class:"love",onClick:v=>r.user_buried=!r.user_buried},[r.user_buried?(Vue.openBlock(),Vue.createBlock(i,{key:0,icon:"icon-park-solid:dislike-two",class:"love-image"})):(Vue.openBlock(),Vue.createBlock(i,{key:1,icon:"icon-park-outline:dislike",class:"love-image"}))],8,js)])])])])]),Number(r.sub_comment_count)?(Vue.openBlock(),Vue.createElementBlock("div",Fs,[r.showChildren?(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,{key:0},Vue.renderList(r.children,(v,y)=>(Vue.openBlock(),Vue.createElementBlock("div",{class:"reply",key:y},[Vue.createElementVNode("div",zs,[Vue.createElementVNode("img",{src:a._checkImgUrl(v.avatar),alt:"",class:"head-image"},null,8,qs),Vue.createElementVNode("div",Ws,[Vue.createElementVNode("div",Zs,[Vue.createTextVNode(Vue.toDisplayString(v.nickname)+" ",1),v.replay?(Vue.openBlock(),Vue.createElementBlock("div",Ks)):Vue.createCommentVNode("",!0),Vue.createTextVNode(" "+Vue.toDisplayString(v.replay),1)]),Vue.createElementVNode("div",Xs,Vue.toDisplayString(v.content),1),Vue.createElementVNode("div",Qs,[Vue.createElementVNode("div",$s,[Vue.createElementVNode("div",Js,Vue.toDisplayString(a._time(v.create_time))+Vue.toDisplayString(v.ip_location&&` · ${r.ip_location}`),1),en]),Vue.createElementVNode("div",{class:Vue.normalizeClass(["love",v.user_digged&&"loved"]),onClick:w=>a.loved(r)},[Vue.withDirectives(Vue.createVNode(i,{icon:"icon-park-solid:like",class:"love-image"},null,512),[[Vue.vShow,v.user_digged]]),Vue.withDirectives(Vue.createVNode(i,{icon:"icon-park-outline:like",class:"love-image"},null,512),[[Vue.vShow,!v.user_digged]]),Vue.createElementVNode("span",null,Vue.toDisplayString(a._formatNumber(v.digg_count)),1)],10,tn)])])])]))),128)):Vue.createCommentVNode("",!0),n.loadChildren&&n.loadChildrenItemCId===r.comment_id?(Vue.openBlock(),Vue.createBlock(u,{key:1,type:"small","is-full-screen":!1})):(Vue.openBlock(),Vue.createElementBlock("div",{key:2,class:"more",onClick:v=>a.handShowChildren(r)},[sn,Vue.createElementVNode("span",null,"展开"+Vue.toDisplayString(r.showChildren?"更多":`${r.sub_comment_count}条`)+"回复",1),Vue.createVNode(i,{icon:"ep:arrow-down-bold"})],8,on))])):Vue.createCommentVNode("",!0)]))),128))]),Vue.createVNode(c)])):(Vue.openBlock(),Vue.createBlock(u,{key:1,style:{position:"absolute"}})),Vue.createVNode(Vue.Transition,{name:"fade"},{default:Vue.withCtx(()=>[n.isCall?(Vue.openBlock(),Vue.createBlock(m,{key:0,mode:"lightgray",onClick:t[0]||(t[0]=r=>n.isCall=!1)})):Vue.createCommentVNode("",!0)]),_:1}),Vue.createElementVNode("div",nn,[Vue.createVNode(Vue.Transition,{name:"fade"},{default:Vue.withCtx(()=>[n.isCall?(Vue.openBlock(),Vue.createElementBlock("div",an,[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(e.friends.all,(r,V)=>(Vue.openBlock(),Vue.createElementBlock("div",{class:"friend",key:V,onClick:v=>a.toggleCall(r)},[Vue.createElementVNode("img",{style:Vue.normalizeStyle(r.select?"opacity: .5;":""),class:"avatar",src:a._checkImgUrl(r.avatar),alt:""},null,12,rn),Vue.createElementVNode("span",null,Vue.toDisplayString(r.name),1),r.select?(Vue.openBlock(),Vue.createElementBlock("img",cn)):Vue.createCommentVNode("",!0)],8,ln))),128))])):Vue.createCommentVNode("",!0)]),_:1}),Vue.createElementVNode("div",un,[Vue.createElementVNode("div",dn,[Vue.createVNode(E,{modelValue:n.comment,"onUpdate:modelValue":t[1]||(t[1]=r=>n.comment=r),placeholder:"善语结善缘,恶言伤人心"},null,8,["modelValue"]),Vue.createElementVNode("div",mn,[Vue.createElementVNode("img",{src:As,onClick:t[2]||(t[2]=r=>n.isCall=!n.isCall)}),Vue.createElementVNode("img",{src:ws,onClick:t[3]||(t[3]=(...r)=>a._no&&a._no(...r))})])]),n.comment?(Vue.openBlock(),Vue.createElementBlock("img",{key:0,src:ks,onClick:t[4]||(t[4]=(...r)=>a.send&&a.send(...r))})):Vue.createCommentVNode("",!0)])]),Vue.createVNode(d,{title:"私信给","ok-text":"发送",visible:n.showPrivateChat,"onUpdate:visible":t[6]||(t[6]=r=>n.showPrivateChat=r)},{default:Vue.withCtx(()=>[Vue.createVNode(_,{mode:"light",modelValue:n.test,"onUpdate:modelValue":t[5]||(t[5]=r=>n.test=r),isShowSearchIcon:!1},null,8,["modelValue"])]),_:1},8,["visible"])])]),_:1},8,["page-id","modelValue","onCancel","height"])}const gi=A(ys,[["render",pn],["__scopeId","data-v-4f08d430"]]),hn=""+new URL("../assets/1-DnPioQn1.jpg",import.meta.url).href,ke=""+new URL("../assets/torichang-B57aPF9Q.png",import.meta.url).href,fn=""+new URL("../assets/comeonplay-CBgj5st0.png",import.meta.url).href,Vn=""+new URL("../assets/dou-BVYMo1lg.webp",import.meta.url).href,Ce=""+new URL("../assets/warring-BiI9cVFK.png",import.meta.url).href,be=""+new URL("../assets/feedback-CAkiAQnJ.webp",import.meta.url).href,gn=""+new URL("../assets/comeonlook-ko-wNrnF.webp",import.meta.url).href,vn=""+new URL("../assets/dislike-DmpeIsb8.png",import.meta.url).href,_n=""+new URL("../assets/bizhi-D939yTsF.webp",import.meta.url).href,Ne="data:image/webp;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAAXVBMVEUAAAD+K1X/KFD+K1X+LFX+LFT+LFX+K1T/KFT9LFT+KlX9K1P/K1T+K1X9KlX+LFX////+R2v/5er/lqr+YID+OV//8vT/ytX/sL/+iJ//vcr/2N/+e5X+bor/o7VmsaHEAAAAD3RSTlMA3xBw77+AkCBAX1DPrzDj/WLHAAACNElEQVRYw7WY2bKzIBCEBVE0W4NLNNv//o/5n6SOZyqyDIbKdxGrctFF9zDKUESQp1IfhcAP4lDpsi0+QZaVwppq12xWAbHS2iBTK0QQdZMrQ1IFTyuQgOCClxqJaBnTaQSSEU3ElsIG1D6kU2IjpV+nxmZqZj1Za9rjI1qnXgofoVa1kwIfIt73k8bHaE9A+TGRsTxzNbKomQ5LRsnNCxqH6Wzm0VnSxoSGf2fz5BpY0i5NpT+bhUCnVAmW+skQrlD1ippVuZAKWXtHkrNYvCse8HqruHiJrn/9Al5vXLzEbeiej9m/lVomXmK2t9dzgIdTUcbjJXrMhpy5IelovMQF/e/C4EM7WdvOeDgPi46x8HEsDnhn8ul0Fo8lcXgRTqP5dG4WdrF7DwlhhSefeQQZtvDjCF085cL4pzOBESLu3bpcwNUs3Hkhon8r1/sfNigk4GJnKhfpUONzVXP93Z46j3DjE4fiCGLt7zoCVHhqDw9V+BtrL4Oz02eE0MxphgpPjR9o2hPCUOE5Z2gLqRCCgmadwXnVRve5DWfNHfnGsyFuCPIcUCSI+C6/I0jDfiDHLtEZ5w2DWZjizgqmbph4ZyLlWEMtYtmTllQpeV8Txps6pUseCYOEFHzeXSQhokWUS2cmyx2P8w/s3xgh8ocaLiae/fcGv/xRNH84dtlvG9fbb1wg5F9p5F+y8NSslKplkUJTi0wZYhe+GitlsYnGo6VIZRttqavDy6YQR12eYir/AXbu8nHV8AWSAAAAAElFTkSuQmCC",g=e=>(Vue.pushScopeId("data-v-2b5bdb8a"),e=e(),Vue.popScopeId(),e),En={class:"share"},yn={class:"title"},An=g(()=>Vue.createElementVNode("span",null,"分享给朋友",-1)),wn={class:"content"},kn={class:"friends list"},Cn=["onClick"],bn=["src"],Nn={key:0,class:"checked",src:we},Bn=g(()=>Vue.createElementVNode("span",null,"更多朋友",-1)),Sn={class:"bottom"},Tn={key:0,class:"share2friend"},Ln=g(()=>Vue.createElementVNode("div",{class:"line"},null,-1)),Dn=g(()=>Vue.createElementVNode("div",{class:"comment"},[Vue.createElementVNode("textarea",{placeholder:"有什么想和好友说的..."}),Vue.createElementVNode("img",{class:"poster",src:hn,alt:""})],-1)),In={class:"btns"},Mn={key:1,class:"shares list"},Rn=g(()=>Vue.createElementVNode("img",{class:"avatar",src:ke,alt:""},null,-1)),xn=g(()=>Vue.createElementVNode("span",null,"转发",-1)),Un=[Rn,xn],On=g(()=>Vue.createElementVNode("span",null,"推荐给朋友",-1)),Pn=g(()=>Vue.createElementVNode("span",null,"复制链接",-1)),Gn=g(()=>Vue.createElementVNode("img",{class:"small",src:fn,alt:""},null,-1)),Hn=g(()=>Vue.createElementVNode("span",null,"合拍",-1)),Yn=[Gn,Hn],jn=g(()=>Vue.createElementVNode("img",{class:"small",src:Vn,alt:""},null,-1)),Fn=g(()=>Vue.createElementVNode("span",null,"帮上热门",-1)),zn=[jn,Fn],qn=g(()=>Vue.createElementVNode("img",{class:"small",src:Ce,alt:""},null,-1)),Wn=g(()=>Vue.createElementVNode("span",null,"举报",-1)),Zn=[qn,Wn],Kn=g(()=>Vue.createElementVNode("span",null,"私信朋友",-1)),Xn=g(()=>Vue.createElementVNode("span",null,"保存本地",-1)),Qn=g(()=>Vue.createElementVNode("img",{class:"small",src:be,alt:""},null,-1)),$n=g(()=>Vue.createElementVNode("span",null,"建群分享",-1)),Jn=[Qn,$n],ea=g(()=>Vue.createElementVNode("img",{class:"small",src:gn,alt:""},null,-1)),ta=g(()=>Vue.createElementVNode("span",null,"一起看视频",-1)),oa=[ea,ta],sa=g(()=>Vue.createElementVNode("img",{class:"small",src:vn,alt:""},null,-1)),na=g(()=>Vue.createElementVNode("span",null,"不感兴趣",-1)),aa=[sa,na],la=g(()=>Vue.createElementVNode("span",null,"生成图片",-1)),ia=g(()=>Vue.createElementVNode("img",{class:"small",src:_n,alt:""},null,-1)),ra=g(()=>Vue.createElementVNode("span",null,"动态壁纸",-1)),ca=[ia,ra],ua=g(()=>Vue.createElementVNode("img",{class:"small",src:be,alt:""},null,-1)),da=g(()=>Vue.createElementVNode("span",null,"播放反馈",-1)),ma=[ua,da],pa=g(()=>Vue.createElementVNode("img",{class:"small",src:Ne,alt:""},null,-1)),ha=g(()=>Vue.createElementVNode("span",null,"私信朋友",-1)),fa=[pa,ha],Va=g(()=>Vue.createElementVNode("img",{class:"small",src:Ce,alt:""},null,-1)),ga=g(()=>Vue.createElementVNode("span",null,"举报音乐",-1)),va=[Va,ga],_a=g(()=>Vue.createElementVNode("img",{class:"small",src:ke,alt:""},null,-1)),Ea=g(()=>Vue.createElementVNode("span",null,"转发到日常",-1)),ya=[_a,Ea],Aa=g(()=>Vue.createElementVNode("img",{class:"small",src:Ne,alt:""},null,-1)),wa=g(()=>Vue.createElementVNode("span",null,"私信朋友",-1)),ka=[Aa,wa],Ca=Object.assign({name:"Share"},{__name:"Share",props:{modelValue:{type:Boolean,default(){return!1}},item:{},videoId:{type:String,default(){return null}},pageId:{type:String,default(){return"home-index"}},canDownload:{type:Boolean,default(){return!0}},mode:{type:String,default(){return"video"}}},emits:["update:item"],setup(e,{emit:t}){const o=e,s=z(),n=t;async function a(){i(),jo(),await he(500),Fo(),Go(o.item.share_info.share_link_desc+o.item.share_info.share_url),T("复制成功")}function l(u){u.select=!u.select}function i(){s.friends.all=s.friends.all.map(u=>(u.select=!1,u)),n("update:modelValue",!1)}return(u,c)=>{const m=Vue.resolveComponent("dy-back"),E=Vue.resolveComponent("dy-button"),_=Vue.resolveComponent("Icon");return Vue.openBlock(),Vue.createBlock(Vue.unref(Ae),{"page-id":e.pageId,modelValue:e.modelValue,"onUpdate:modelValue":c[18]||(c[18]=d=>u.$emit("update:modelValue",d)),onCancel:i,"show-heng-gang":!1,"touch-moved":!1,maskMode:"light",height:"320rem",mode:"dark"},{default:Vue.withCtx(()=>[Vue.createElementVNode("div",En,[Vue.createElementVNode("div",yn,[An,Vue.createVNode(m,{mode:"light",img:"close",direction:"right",onClick:Vue.withModifiers(i,["stop"])})]),Vue.createElementVNode("div",wn,[Vue.createElementVNode("div",kn,[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(Vue.unref(s).friends.all,(d,I)=>(Vue.openBlock(),Vue.createElementBlock("div",{class:"option",key:I,onClick:Vue.withModifiers(k=>l(d),["stop"])},[Vue.createElementVNode("img",{style:Vue.normalizeStyle(d.select?"opacity: .5;":""),class:"avatar",src:Vue.unref(H)(d.avatar),alt:""},null,12,bn),Vue.createElementVNode("span",null,Vue.toDisplayString(d.name),1),d.select?(Vue.openBlock(),Vue.createElementBlock("img",Nn)):Vue.createCommentVNode("",!0)],8,Cn))),128)),Vue.createElementVNode("div",{class:"option",onClick:c[0]||(c[0]=Vue.withModifiers(d=>i(u.$router.push("/message/share-to-friend")),["stop"]))},[Vue.createVNode(m,{class:"more",mode:"light",direction:"right"}),Bn])]),Vue.createElementVNode("div",Sn,[Vue.unref(s).selectFriends.length?(Vue.openBlock(),Vue.createElementBlock("div",Tn,[Ln,Dn,Vue.createElementVNode("div",In,[Vue.unref(s).selectFriends.length>1?(Vue.openBlock(),Vue.createBlock(E,{key:0,type:"dark2",radius:"7",onClick:Vue.unref(B)},{default:Vue.withCtx(()=>[Vue.createTextVNode("建群并发送 ")]),_:1},8,["onClick"])):Vue.createCommentVNode("",!0),Vue.createVNode(E,{type:"primary",radius:"7",onClick:Vue.unref(B)},{default:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(Vue.unref(s).selectFriends.length>1?"分别发送":"发送"),1)]),_:1},8,["onClick"])])])):(Vue.openBlock(),Vue.createElementBlock("div",Mn,[e.mode==="video"?(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,{key:0},[Vue.createElementVNode("div",{class:"option",onClick:c[1]||(c[1]=Vue.withModifiers(d=>i(u.$emit("ShareToFriend")),["stop"]))},Un),Vue.createElementVNode("div",{class:"option",onClick:c[2]||(c[2]=Vue.withModifiers(d=>i(u.$emit("ShareToFriend")),["stop"]))},[Vue.createVNode(_,{icon:"icon-park-solid:good-two"}),On]),Vue.createElementVNode("div",{class:"option",onClick:Vue.withModifiers(a,["stop"])},[Vue.createVNode(_,{icon:"humbleicons:link"}),Pn]),Vue.createElementVNode("div",{class:"option",onClick:c[3]||(c[3]=Vue.withModifiers((...d)=>Vue.unref(B)&&Vue.unref(B)(...d),["stop"]))},Yn),Vue.createElementVNode("div",{class:"option",onClick:c[4]||(c[4]=Vue.withModifiers((...d)=>Vue.unref(B)&&Vue.unref(B)(...d),["stop"]))},zn),Vue.createElementVNode("div",{class:"option",onClick:c[5]||(c[5]=Vue.withModifiers(d=>u.$router.push("/home/report",{mode:this.mode}),["stop"]))},Zn),Vue.createElementVNode("div",{class:"option",onClick:c[6]||(c[6]=Vue.withModifiers(d=>i(u.$emit("ShareToFriend")),["stop"]))},[Vue.createVNode(_,{icon:"ion:paper-plane"}),Kn]),e.canDownload?(Vue.openBlock(),Vue.createElementBlock("div",{key:0,class:"option",onClick:c[7]||(c[7]=Vue.withModifiers(d=>i(u.$emit("download")),["stop"]))},[Vue.createVNode(_,{icon:"mingcute:download-fill"}),Xn])):Vue.createCommentVNode("",!0),Vue.createElementVNode("div",{class:"option",onClick:c[8]||(c[8]=Vue.withModifiers((...d)=>Vue.unref(B)&&Vue.unref(B)(...d),["stop"]))},Jn),Vue.createElementVNode("div",{class:"option",onClick:c[9]||(c[9]=Vue.withModifiers((...d)=>Vue.unref(B)&&Vue.unref(B)(...d),["stop"]))},oa),Vue.createElementVNode("div",{class:"option",onClick:c[10]||(c[10]=Vue.withModifiers(d=>i(u.$emit("dislike")),["stop"]))},aa),Vue.createElementVNode("div",{class:"option",onClick:c[11]||(c[11]=Vue.withModifiers(d=>i(u.$emit("showDouyinCode")),["stop"]))},[Vue.createVNode(_,{icon:"tabler:photo"}),la]),Vue.createElementVNode("div",{class:"option",onClick:c[12]||(c[12]=Vue.withModifiers((...d)=>Vue.unref(B)&&Vue.unref(B)(...d),["stop"]))},ca),Vue.createElementVNode("div",{class:"option",onClick:c[13]||(c[13]=Vue.withModifiers(d=>i(u.$emit("play-feedback")),["stop"]))},ma)],64)):Vue.createCommentVNode("",!0),e.mode==="music"?(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,{key:1},[Vue.createElementVNode("div",{class:"option",onClick:c[14]||(c[14]=Vue.withModifiers(d=>i(u.$emit("ShareToFriend")),["stop"]))},fa),Vue.createElementVNode("div",{class:"option",onClick:c[15]||(c[15]=Vue.withModifiers(d=>u.$router.push("/home/report",{mode:this.mode}),["stop"]))},va)],64)):Vue.createCommentVNode("",!0),e.mode==="my-music"?(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,{key:2},[Vue.createElementVNode("div",{class:"option",onClick:c[16]||(c[16]=Vue.withModifiers((...d)=>Vue.unref(B)&&Vue.unref(B)(...d),["stop"]))},ya),Vue.createElementVNode("div",{class:"option",onClick:c[17]||(c[17]=Vue.withModifiers(d=>i(u.$emit("ShareToFriend")),["stop"]))},ka)],64)):Vue.createCommentVNode("",!0)]))])])])]),_:1},8,["page-id","modelValue"])}}}),vi=A(Ca,[["__scopeId","data-v-2b5bdb8a"]]),ba=""+new URL("../assets/round-gray-CCJKEQe9.png",import.meta.url).href,Na=""+new URL("../assets/check-gray-BQ1qOG8x.png",import.meta.url).href,Ba=""+new URL("../assets/check-red-Cd_5M9ie.png",import.meta.url).href,Sa={name:"Check",props:{modelValue:{type:Boolean,default:!1},mode:{type:String,default:"gray"}},data(){return{}},computed:{},created(){},methods:{change(){this.$emit("update:modelValue",!this.modelValue),this.$emit("change",!this.modelValue)}}},Ta={src:ba,alt:""},La={src:Na,alt:""},Da={src:Ba,alt:""};function Ia(e,t,o,s,n,a){return Vue.openBlock(),Vue.createElementBlock("div",{class:"check",onClick:t[0]||(t[0]=Vue.withModifiers((...l)=>a.change&&a.change(...l),["stop"]))},[Vue.withDirectives(Vue.createElementVNode("img",Ta,null,512),[[Vue.vShow,!o.modelValue]]),Vue.withDirectives(Vue.createElementVNode("img",La,null,512),[[Vue.vShow,o.modelValue&&o.mode==="gray"]]),Vue.withDirectives(Vue.createElementVNode("img",Da,null,512),[[Vue.vShow,o.modelValue&&o.mode==="red"]])])}const _i=A(Sa,[["render",Ia],["__scopeId","data-v-cd382862"]]),Ma=""+new URL("../assets/douyin-code-eeWMfpEo.jpg",import.meta.url).href,Ra=""+new URL("../assets/toqq-b8LKxwoo.webp",import.meta.url).href,xa=""+new URL("../assets/tozone-B1zUONsP.webp",import.meta.url).href,Ua=""+new URL("../assets/towechatchat-B40NGJ6R.webp",import.meta.url).href,Oa="data:image/webp;base64,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",Pa="data:image/webp;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAAAaVBMVEUAAAD9YDr/Yz39YDr/YTr8YTr8YDr9YDr9YDv9Yjv9YTv9YTv/aUT/ZEP9Yjv8Yjz/Yjz8YDr////8clH9moL+2tH+1cv8iWz8aUX+8e79wLD9pI38e1v+9/X+49z9q5f+6eT9yLr9tqSho1GYAAAAEXRSTlMA4SLRTsa47ZeNf3IUC2hePPupHJQAAAMwSURBVGje7Ztdd6IwEIY7JHwo+PEGUUSrbf//j9y1rJuLdZNMwvRgT5+LXvX4nMCbZCDDyw8zJtN1VeSKSqAklRdVrbMXYRpdKTxEVbp5EWK7UHCiFtvprdmSEAAtp73qmxzB5JvJtGsCC1pPYV3VBDZUr1K9mhAF6bRIFYimSIjZEkksY4ebI5E8atC6RDKl5nsXmIQFdxIVmIiCNbEahclQDSNWhAmhjOOVMvO98uaGMDnUBORZQQDlz3YBEYq4dUN+JdEQQzsDXUKM0hXtHILkCfuv0P6cQZjMMZNEKTiJlk/2isCkb8GEHi1gNZicjBnApH4gJjAxvzmAB/3rXYNJexPvwGTNGDBHzB/yBgwSxNi4F0s5ce5etOTEyNyrtJx4yYgWQ8yM1xYMEsXYMgoelphTBCkwSBUr623AIFmMxr0hyont5liBQbq4ct9iObG9yXAgIIZnvZQTZ+5syYm1u+iRE9fuUMuJK3c9LScu3EWAnDh3T2M5sQrfjA/Xc6h4d+qBsC25BPy1uzkFiduLMW/wUAYvXN1N8hEgPhyDyvxg8bu58e4V78wnZ3gIvtTtm7nR9W7xx+i9hl5qgt/cmRuX1iHu9+bGqz/pxJlO468ez/8Vt5fxPw7wolgLyDCO5/BAbGNluhZ+ct6SeTWf7B6KT8bmz0vB2SRsZq8PxENArCwVa1u0l3OAFTNiZanZhcB5nFb73optrN7OCESzSx87razYESvvAyPC6e/T6i6+x2pAODHlrZ1Wo/geqxPCUZEF/fWP6vPP3s7uYKrYR5id+cvRxiocHf3Qdni16jHkLJr4x9Tz0VgG8FCxD+Z26tpYcVjEvYqw08puRjy2iS9fdt2ruXz04EJyhwKc100ZvoxM7PyFdxazwRexcbw2loT4L8rbofPjTfmafzTQmRDeuQP2F0AmiCP/MGRF8iOmVcSBVzvs/XjusZ7XEd8XHGrO7RhX+uB6jkf1os0J82zHkGtAmW/LjVCT0ZzbqmLM82xho2z+zYLTtkc+R0PoZC2wz9T0O0Gb8/M1die1sj9r837c5wrP/oEG95OU7/ERTuRnR0//odUPCfwCdv+pS1mvwScAAAAASUVORK5CYII=",Ga={name:"DouyinCode",props:{item:{},modelValue:{type:Boolean,default(){return!1}}},data(){return{}},computed:{},created(){},methods:{_no:B,_checkImgUrl:H,cancel(){this.$emit("update:modelValue",!1)}}},D=e=>(Vue.pushScopeId("data-v-75eb69c2"),e=e(),Vue.popScopeId(),e),Ha={key:0,class:"DouyinCode"},Ya={class:"content"},ja={class:"video-poster"},Fa=["src"],za={class:"desc"},qa={class:"left"},Wa={class:"user"},Za={class:"title"},Ka=D(()=>Vue.createElementVNode("img",{class:"code",src:Ma,alt:""},null,-1)),Xa={class:"toolbar"},Qa=D(()=>Vue.createElementVNode("div",{class:"title"},"分享到",-1)),$a={class:"shares"},Ja=D(()=>Vue.createElementVNode("img",{src:Ra,alt:""},null,-1)),el=D(()=>Vue.createElementVNode("span",null,"QQ好友",-1)),tl=[Ja,el],ol=D(()=>Vue.createElementVNode("img",{src:xa,alt:""},null,-1)),sl=D(()=>Vue.createElementVNode("span",null,"QQ空间",-1)),nl=[ol,sl],al=D(()=>Vue.createElementVNode("img",{src:Ua,alt:""},null,-1)),ll=D(()=>Vue.createElementVNode("span",null,"微信好友",-1)),il=[al,ll],rl=D(()=>Vue.createElementVNode("img",{src:Oa,alt:""},null,-1)),cl=D(()=>Vue.createElementVNode("span",null,"朋友圈",-1)),ul=[rl,cl],dl=D(()=>Vue.createElementVNode("img",{src:Pa,alt:""},null,-1)),ml=D(()=>Vue.createElementVNode("span",null,"保存到相册",-1)),pl=[dl,ml];function hl(e,t,o,s,n,a){return Vue.openBlock(),Vue.createBlock(Vue.Transition,{name:"fade"},{default:Vue.withCtx(()=>[o.modelValue?(Vue.openBlock(),Vue.createElementBlock("div",Ha,[Vue.createElementVNode("div",Ya,[Vue.createElementVNode("div",ja,[Vue.createElementVNode("img",{src:a._checkImgUrl(o.item.video.cover.url_list[0]),class:"poster"},null,8,Fa)]),Vue.createElementVNode("div",za,[Vue.createElementVNode("div",qa,[Vue.createElementVNode("div",Wa,"@"+Vue.toDisplayString(o.item.author.nickname),1),Vue.createElementVNode("div",Za,Vue.toDisplayString(o.item.desc),1)]),Ka])]),Vue.createElementVNode("div",Xa,[Qa,Vue.createElementVNode("div",$a,[Vue.createElementVNode("div",{class:"share-to",onClick:t[0]||(t[0]=(...l)=>a._no&&a._no(...l))},tl),Vue.createElementVNode("div",{class:"share-to",onClick:t[1]||(t[1]=(...l)=>a._no&&a._no(...l))},nl),Vue.createElementVNode("div",{class:"share-to",onClick:t[2]||(t[2]=(...l)=>a._no&&a._no(...l))},il),Vue.createElementVNode("div",{class:"share-to",onClick:t[3]||(t[3]=(...l)=>a._no&&a._no(...l))},ul),Vue.createElementVNode("div",{class:"share-to",onClick:t[4]||(t[4]=(...l)=>a._no&&a._no(...l))},pl)]),Vue.createElementVNode("div",{class:"cancel",onClick:t[5]||(t[5]=(...l)=>a.cancel&&a.cancel(...l))},"取消")])])):Vue.createCommentVNode("",!0)]),_:1})}const Ei=A(Ga,[["render",hl],["__scopeId","data-v-75eb69c2"]]),fl={class:"posters"},Vl=["onClick"],gl={class:"poster",alt:""},vl={class:"num"},_l={key:0,class:"top"},El={key:1,class:"date"},yl={class:"day"},Al={class:"month"},wl={key:0,class:"music"},kl=Object.assign({name:"Posters"},{__name:"Posters",props:{list:{type:[Array,Number],default:()=>[]},mode:{type:String,default:"normal"}},setup(e){const t=z(),o=VueRouter.useRouter(),s=e;function n(i){t.routeData=fe({list:s.list,index:i}),o.push({path:"/video-detail"})}function a(i){return new Date(i*1e3).getDate()}function l(i){switch(new Date(i*1e3).getMonth()+1){case 1:return"一月";case 2:return"二月";case 3:return"三月";case 4:return"四月";case 5:return"五月";case 6:return"六月";case 7:return"七月";case 8:return"八月";case 9:return"九月";case 10:return"十月";case 11:return"十一月";case 12:return"十二月"}}return(i,u)=>{const c=Vue.resolveComponent("Icon"),m=Vue.resolveDirective("lazy");return Vue.openBlock(),Vue.createElementBlock("div",fl,[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(e.list,(E,_)=>(Vue.openBlock(),Vue.createElementBlock("div",{class:"poster-item",key:_,onClick:d=>n(_)},[Vue.withDirectives(Vue.createElementVNode("img",gl,null,512),[[m,Vue.unref(H)(E.video.cover.url_list[0])]]),e.mode==="normal"?(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,{key:0},[Vue.createElementVNode("div",vl,[Vue.createVNode(c,{icon:"icon-park-outline:like"}),Vue.createElementVNode("span",null,Vue.toDisplayString(Vue.unref(R)(E.statistics.digg_count)),1)]),E.is_top?(Vue.openBlock(),Vue.createElementBlock("div",_l,"置顶")):Vue.createCommentVNode("",!0)],64)):Vue.createCommentVNode("",!0),e.mode==="date"?(Vue.openBlock(),Vue.createElementBlock("div",El,[Vue.createElementVNode("div",yl,Vue.toDisplayString(a(E.create_time)),1),Vue.createElementVNode("div",Al,Vue.toDisplayString(l(E.create_time)),1)])):Vue.createCommentVNode("",!0),e.mode==="music"?(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,{key:2},[_===0?(Vue.openBlock(),Vue.createElementBlock("div",wl,"首发")):Vue.createCommentVNode("",!0)],64)):Vue.createCommentVNode("",!0)],8,Vl))),128))])}}}),yi=A(kl,[["__scopeId","data-v-4472c8a0"]]),Cl={class:"waterfall"},bl={class:"waterfall-row"},Nl={class:"waterfall-row"},Bl={__name:"WaterfallList",props:{list:{type:Array,default(){return[]}}},setup(e){const t=e,o=Vue.computed(()=>t.list.filter((n,a)=>a%2===0)),s=Vue.computed(()=>t.list.filter((n,a)=>a%2!==0));return(n,a)=>(Vue.openBlock(),Vue.createElementBlock("div",Cl,[Vue.createElementVNode("div",bl,[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(o.value,l=>Vue.renderSlot(n.$slots,"default",{item:l},void 0,!0)),256))]),Vue.createElementVNode("div",Nl,[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(s.value,l=>Vue.renderSlot(n.$slots,"default",{item:l},void 0,!0)),256))])]))}},Ai=A(Bl,[["__scopeId","data-v-5412c735"]]),Sl={name:"Scroll",components:{Loading:j},props:{fixedHeight:{type:Number,default:-1},useRefresh:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},fullLoading:{type:Boolean,default:!1}},data(){return{wrapper:null,startMoveY:null,distance:null,refresh:!1}},computed:{pullUpStyle(){return{"transition-duration":this.refresh?"300ms":"0ms",transform:`translate3d(0px, ${this.distance!==null?this.distance:-40}px,0`}}},created(){},mounted(){Vue.nextTick(()=>{this.wrapper=this.$refs.wrapper})},methods:{move(e){if(this.refresh||this.wrapper.scrollTop>0)return;this.wrapper.scrollTop===0&&this.startMoveY===null&&(this.startMoveY=e.touches[0].pageY);let t=e.touches[0].pageY-this.startMoveY;this.distance=t-40<10?t-40:10},end(){this.startMoveY=null,this.distance!==null&&this.wrapper.scrollTop===0?(this.refresh=!0,this.distance=10,this.$emit("refresh")):this.distance=null},refreshEnd(){this.distance=null,setTimeout(()=>{this.refresh=!1},300)},async scroll(){this.fixedHeight!==-1&&this.$emit("fixed",this.fixedHeight<this.wrapper.scrollTop),this.$attrs.onPulldown&&this.wrapper.scrollHeight-this.wrapper.clientHeight<this.wrapper.scrollTop+60&&this.$emit("pulldown")},scrollBottom(){Vue.nextTick(()=>{this.wrapper.scrollTo({top:this.wrapper.scrollHeight-this.wrapper.clientHeight})})}}},Tl={class:"scroll-content"};function Ll(e,t,o,s,n,a){const l=Vue.resolveComponent("Loading");return o.useRefresh?(Vue.openBlock(),Vue.createElementBlock("div",{key:0,class:"scroll-wrapper scroll Scroll",ref:"wrapper",onTouchmove:t[0]||(t[0]=(...i)=>a.move&&a.move(...i)),onTouchend:t[1]||(t[1]=(...i)=>a.end&&a.end(...i)),onScroll:t[2]||(t[2]=(...i)=>a.scroll&&a.scroll(...i))},[Vue.createVNode(l,{"is-full-screen":!1,style:Vue.normalizeStyle(a.pullUpStyle)},null,8,["style"]),Vue.createElementVNode("div",{class:"scroll-content",style:Vue.normalizeStyle(a.pullUpStyle)},[Vue.renderSlot(e.$slots,"default",{},void 0,!0),o.loading?(Vue.openBlock(),Vue.createBlock(l,{key:0,"is-full-screen":!1})):Vue.createCommentVNode("",!0)],4)],544)):(Vue.openBlock(),Vue.createElementBlock("div",{key:1,class:"scroll-wrapper scroll Scroll",ref:"wrapper",onScroll:t[3]||(t[3]=(...i)=>a.scroll&&a.scroll(...i))},[Vue.createElementVNode("div",Tl,[Vue.renderSlot(e.$slots,"default",{},void 0,!0),o.loading?(Vue.openBlock(),Vue.createBlock(l,{key:0,"is-full-screen":o.fullLoading},null,8,["is-full-screen"])):Vue.createCommentVNode("",!0)])],544))}const Dl=A(Sl,[["render",Ll],["__scopeId","data-v-819dda3a"]]),Il={name:"NoMore"},Ml={class:"NoMore"},Rl={key:1};function xl(e,t,o,s,n,a){return Vue.openBlock(),Vue.createElementBlock("div",Ml,[e.$slots.default?Vue.renderSlot(e.$slots,"default",{key:0},void 0,!0):(Vue.openBlock(),Vue.createElementBlock("span",Rl,"暂时没有更多了"))])}const Ul=A(Il,[["render",xl],["__scopeId","data-v-e88529ee"]]);function Ol(){const e=Vue.ref();let t=Vue.ref(0);return Vue.onActivated(()=>{e.value&&e.value.wrapper&&(e.value.wrapper.scrollTop=t.value)}),Vue.onDeactivated(()=>{e.value&&e.value.wrapper&&(t.value=e.value.wrapper.scrollTop)}),e}const wi={__name:"ScrollList",props:{api:{type:Function,default(){return()=>{}}}},setup(e){const t=e,o=Ol(),s=Vue.reactive({list:[],total:0,pageNo:0,pageSize:10,loading:!1});function n(){s.loading||(s.pageNo++,a())}async function a(l=!1){if(l)s.pageNo=0;else if(s.total!==0&&s.total===s.list.length)return;if(s.loading)return;s.loading=!0;let i=await t.api({pageNo:s.pageNo,pageSize:s.pageSize});s.loading=!1,i.success?(l?s.list=i.data.list:s.list=s.list.concat(i.data.list),s.total=i.data.total):T("查询失败")}return Vue.onMounted(a),(l,i)=>(Vue.openBlock(),Vue.createBlock(Dl,{ref_key:"scroll",ref:o,loading:s.loading,"full-loading":!s.list.length,onPulldown:n},{default:Vue.withCtx(()=>[Vue.renderSlot(l.$slots,"default",{list:s.list}),s.total!==0&&s.total===s.list.length?(Vue.openBlock(),Vue.createBlock(Ul,{key:0})):Vue.createCommentVNode("",!0)]),_:3},8,["loading","full-loading"]))}},Pl={class:"slide slide-infinite"},M="slide-item",ki=Vue.defineComponent({__name:"SlideVerticalInfinite",props:{index:{type:Number,default:()=>-1},render:{type:Function,default:()=>null},list:{type:Array,default:()=>[]},virtualTotal:{type:Number,default:()=>5},name:{type:String,default:()=>""},uniqueId:{type:String,default:()=>""},loading:{type:Boolean,default:()=>!1},active:{type:Boolean,default:()=>!1}},emits:["update:index","loadMore","refresh"],setup(e,{expose:t,emit:o}){const s=e,n=o,a=new Map,l=Vue.ref(null),i=Vue.reactive({judgeValue:20,type:L.VERTICAL_INFINITE,name:s.name,localIndex:s.index,needCheck:!0,next:!1,isDown:!1,start:{x:0,y:0,time:0},move:{x:0,y:0},wrapper:{width:0,height:0,childrenLength:0}}),u=z();Vue.watch(()=>s.list,(r,V)=>{(r.length<V.length||V.length===0)&&c()}),Vue.watch(()=>s.index,(r,V)=>{i.localIndex=r,s.list.length&&(h.emit(p.CURRENT_ITEM,s.list[r]),h.emit(p.SINGLE_CLICK_BROADCAST,{uniqueId:s.uniqueId,index:r,type:p.ITEM_PLAY}),setTimeout(()=>{h.emit(p.SINGLE_CLICK_BROADCAST,{uniqueId:s.uniqueId,index:V,type:p.ITEM_STOP})},200))}),Vue.watch(()=>s.active,r=>{if(r&&!s.list.length)return n("refresh");let V=r?0:200;r&&h.emit(p.CURRENT_ITEM,s.list[i.localIndex]),setTimeout(()=>{h.emit(p.SINGLE_CLICK_BROADCAST,{uniqueId:s.uniqueId,index:i.localIndex,type:r===!1?p.ITEM_STOP:p.ITEM_PLAY})},V)},{immediate:!0}),Vue.onMounted(()=>{Ve(l.value,i)});function c(){if(!s.list.length)return;l.value.innerHTML="";let r=(s.virtualTotal-1)/2,V=0;i.localIndex>r&&(V=i.localIndex-r);let v=V+s.virtualTotal;if(v>=s.list.length&&(v=s.list.length,V=v-s.virtualTotal),V<0&&(V=0),s.list.slice(V,v).map((y,w)=>{let U=E(y,V+w,V+w===i.localIndex);l.value.appendChild(U)}),f(l.value,"transform",`translate3d(0px,${F(i,l.value)}px, 0px)`),i.localIndex>2&&s.list.length>5){let y=l.value.querySelectorAll(`.${M}`);y.forEach(w=>{y.length-i.localIndex>2?f(w,"top",(i.localIndex-2)*i.wrapper.height):f(w,"top",V*i.wrapper.height)})}i.wrapper.childrenLength=l.value.children.length,h.emit(p.CURRENT_ITEM,s.list[i.localIndex])}function m(){}t({dislike:m});function E(r,V,v=!1){let y=s.render(r,V,v,s.uniqueId);const w=document.createElement("div");return w.classList.add("slide-item"),w.setAttribute("data-index",V),Vue.render(y,w),a.set(V,{unmount:()=>{Vue.render(null,w),w.remove()}}),w}function _(r){ve(r,l.value,i)}function d(r){_e(r,l.value,i,k)}function I(r){let V=i.move.y<0;i.localIndex===0&&!V&&i.move.y>u.homeRefresh+u.judgeValue&&n("refresh"),Ee(r,i,k,v=>{let y=(s.virtualTotal-1)/2;if(s.list.length>s.virtualTotal){if(v){if(i.localIndex>s.list.length-s.virtualTotal&&i.localIndex>y&&n("loadMore"),i.localIndex>y&&i.localIndex<s.list.length-y){let w=i.localIndex+y;l.value.querySelector(`.${M}[data-index='${w}']`)||l.value.appendChild(E(s.list[w],w));let O=l.value.querySelector(`.${M}:first-child`).getAttribute("data-index");a.get(Number(O)).unmount(),l.value.querySelectorAll(`.${M}`).forEach(C=>{f(C,"top",(i.localIndex-y)*i.wrapper.height)})}}else if(i.localIndex>=y&&i.localIndex<s.list.length-(y+1)){let w=i.localIndex-y;w>=0&&(l.value.querySelector(`.${M}[data-index='${w}']`)||l.value.prepend(E(s.list[w],w)));let U=l.value.querySelector(`.${M}:last-child`).getAttribute("data-index");a.get(Number(U)).unmount(),l.value.querySelectorAll(`.${M}`).forEach(O=>{f(O,"top",(i.localIndex-y)*i.wrapper.height)})}i.wrapper.childrenLength=l.value.children.length}}),ye(r,l.value,i,n)}function k(r,V){return!(r.localIndex===0&&!V||r.localIndex===s.list.length-1&&V)}return(r,V)=>(Vue.openBlock(),Vue.createElementBlock("div",Pl,[s.loading&&s.list.length===0?(Vue.openBlock(),Vue.createBlock(j,{key:0})):Vue.createCommentVNode("",!0),Vue.createElementVNode("div",{class:"slide-list flex-direction-column",ref_key:"slideListEl",ref:l,onPointerdown:Vue.withModifiers(_,["prevent"]),onPointermove:Vue.withModifiers(d,["prevent"]),onPointerup:Vue.withModifiers(I,["prevent"])},[Vue.renderSlot(r.$slots,"default")],544)]))}}),Gl={name:"BaseMask",props:{mode:{type:String,default:"dark"}}};function Hl(e,t,o,s,n,a){return Vue.openBlock(),Vue.createElementBlock("div",{class:Vue.normalizeClass(["Mask",o.mode])},null,2)}const Ci=A(Gl,[["render",Hl]]),Yl={name:"Indicator",setup(){return{baseStore:z()}},props:{activeIndex:{type:Number,default:()=>0},tabStyleWidth:{type:String,default:()=>""},tabTexts:{type:Array,default:()=>[]},tabRender:{type:Function,default:null},name:{type:String,default:()=>""}},data(){return{currentSlideItemIndex:this.activeIndex,tabIndicatorRelationActiveIndexLefts:[],indicatorSpace:0}},computed:{},render(){return Vue.createVNode("div",{className:"indicator-ctn"},[this.tabRender?this.tabRender():Vue.createVNode("div",{className:"tabs",ref:"tabs"},[this.tabTexts.map((e,t)=>Vue.createVNode("div",{className:this.currentSlideItemIndex===t?"active tab":"tab",style:{width:this.tabStyleWidth||100/this.tabTexts.length+"%"},onClick:()=>this.changeIndex(t)},[Vue.createVNode("span",null,[Vue.createTextVNode(" "),e])]))]),Vue.createVNode("div",{className:"indicator",ref:"indicator",style:{width:this.tabStyleWidth||100/this.tabTexts.length+"%"}},null)])},mounted(){this.initTabs(),h.on(this.name+"-moved",this.move),h.on(this.name+"-end",this.end)},methods:{changeIndex(e){this.currentSlideItemIndex=e,this.$attrs["onUpdate:activeIndex"]&&this.$emit("update:active-index",this.currentSlideItemIndex),f(this.indicatorRef,"transition-duration","300ms"),f(this.indicatorRef,"left",this.tabIndicatorRelationActiveIndexLefts[this.currentSlideItemIndex]+"px")},initTabs(){let e=this.$refs.tabs;this.indicatorRef=this.$refs.indicator;for(let t=0;t<e.children.length;t++){let o=e.children[t];this.tabWidth=f(o,"width"),this.tabIndicatorRelationActiveIndexLefts.push(o.getBoundingClientRect().x-e.children[0].getBoundingClientRect().x+(this.indicatorType==="home"?this.tabWidth*.15:0))}this.indicatorSpace=this.tabIndicatorRelationActiveIndexLefts[1]-this.tabIndicatorRelationActiveIndexLefts[0],f(this.indicatorRef,"transition-duration","0ms"),f(this.indicatorRef,"left",this.tabIndicatorRelationActiveIndexLefts[this.currentSlideItemIndex]+"px")},move(e){f(this.indicatorRef,"left",this.tabIndicatorRelationActiveIndexLefts[this.currentSlideItemIndex]-e.x.distance/(this.baseStore.bodyWidth/this.indicatorSpace)+"px")},end(e){this.currentSlideItemIndex=e,f(this.indicatorRef,"transition-duration","300ms"),f(this.indicatorRef,"left",this.tabIndicatorRelationActiveIndexLefts[this.currentSlideItemIndex]+"px"),setTimeout(()=>{f(this.indicatorRef,"transition-duration","0ms")},300)}}},bi=A(Yl,[["__scopeId","data-v-5a09d1b6"]]);/*!
|
|
* mobileSelect.js
|
|
* (c) 2017-present onlyhom
|
|
* Released under the MIT License.
|
|
*/function re(e,t){return e.getElementsByClassName(t)}function ce(e){this.mobileSelect,this.wheelsData=e.wheels,this.jsonType=!1,this.cascadeJsonData=[],this.displayJson=[],this.curValue=[],this.curIndexArr=[],this.cascade=!1,this.startY,this.moveEndY,this.moveY,this.oldMoveY,this.offset=0,this.offsetSum=0,this.oversizeBorder,this.curDistance=[],this.clickStatus=!1,this.isPC=!0,this.init(e)}ce.prototype={constructor:ce,init:function(e){var t=this;if(e.wheels[0].data.length==0)return console.error("mobileSelect has been successfully installed, but the data is empty and cannot be initialized."),!1;if(t.keyMap=e.keyMap?e.keyMap:{id:"id",value:"value",childs:"childs"},t.checkDataType(),t.renderWheels(t.wheelsData,e.cancelBtnText,e.ensureBtnText),t.trigger=document.querySelector(e.trigger),!t.trigger)return console.error("mobileSelect has been successfully installed, but no trigger found on your page."),!1;if(t.wheel=re(t.mobileSelect,"wheel"),t.slider=re(t.mobileSelect,"selectContainer"),t.wheels=t.mobileSelect.querySelector(".wheels"),t.liHeight=t.mobileSelect.querySelector("li").offsetHeight,t.ensureBtn=t.mobileSelect.querySelector(".ensure"),t.cancelBtn=t.mobileSelect.querySelector(".cancel"),t.grayLayer=t.mobileSelect.querySelector(".grayLayer"),t.popUp=t.mobileSelect.querySelector(".content"),t.callback=e.callback||function(){},t.cancel=e.cancel||function(){},t.transitionEnd=e.transitionEnd||function(){},t.onShow=e.onShow||function(){},t.onHide=e.onHide||function(){},t.initPosition=e.position||[],t.titleText=e.title||"",t.connector=e.connector||" ",t.triggerDisplayData=typeof e.triggerDisplayData>"u"?!0:e.triggerDisplayData,t.trigger.style.cursor="pointer",t.setStyle(e),t.setTitle(t.titleText),t.checkIsPC(),t.checkCascade(),t.addListenerAll(),t.cascade&&t.initCascade(),t.initPosition.length<t.slider.length)for(var o=t.slider.length-t.initPosition.length,s=0;s<o;s++)t.initPosition.push(0);t.setCurDistance(t.initPosition),t.cancelBtn.addEventListener("click",function(){t.hide(),t.cancel(t.curIndexArr,t.curValue)}),t.ensureBtn.addEventListener("click",function(){t.hide(),t.liHeight||(t.liHeight=t.mobileSelect.querySelector("li").offsetHeight);for(var n="",a=0;a<t.wheel.length;a++)a==t.wheel.length-1?n+=t.getInnerHtml(a):n+=t.getInnerHtml(a)+t.connector;t.triggerDisplayData&&(t.trigger.innerHTML=n),t.curIndexArr=t.getIndexArr(),t.curValue=t.getCurValue(),t.callback(t.curIndexArr,t.curValue)}),t.trigger.addEventListener("click",function(){t.show()}),t.grayLayer.addEventListener("click",function(){t.hide(),t.cancel(t.curIndexArr,t.curValue)}),t.popUp.addEventListener("click",function(){event.stopPropagation()}),t.fixRowStyle()},setTitle:function(e){var t=this;t.titleText=e,t.mobileSelect.querySelector(".title").innerHTML=t.titleText},setStyle:function(e){var t=this;e.ensureBtnColor&&(t.ensureBtn.style.color=e.ensureBtnColor),e.cancelBtnColor&&(t.cancelBtn.style.color=e.cancelBtnColor),e.titleColor&&(t.title=t.mobileSelect.querySelector(".title"),t.title.style.color=e.titleColor),e.textColor&&(t.panel=t.mobileSelect.querySelector(".panel"),t.panel.style.color=e.textColor),e.titleBgColor&&(t.btnBar=t.mobileSelect.querySelector(".btnBar"),t.btnBar.style.backgroundColor=e.titleBgColor),e.bgColor&&(t.panel=t.mobileSelect.querySelector(".panel"),t.shadowMask=t.mobileSelect.querySelector(".shadowMask"),t.panel.style.backgroundColor=e.bgColor,t.shadowMask.style.background="linear-gradient(to bottom, "+e.bgColor+", rgba(255, 255, 255, 0), "+e.bgColor+")"),isNaN(e.maskOpacity)||(t.grayMask=t.mobileSelect.querySelector(".grayLayer"),t.grayMask.style.background="rgba(0, 0, 0, "+e.maskOpacity+")")},checkIsPC:function(){var e=this,t=navigator.userAgent.toLowerCase(),o=t.match(/ipad/i)=="ipad",s=t.match(/iphone os/i)=="iphone os",n=t.match(/midp/i)=="midp",a=t.match(/rv:1.2.3.4/i)=="rv:1.2.3.4",l=t.match(/ucweb/i)=="ucweb",i=t.match(/android/i)=="android",u=t.match(/windows ce/i)=="windows ce",c=t.match(/windows mobile/i)=="windows mobile";(o||s||n||a||l||i||u||c)&&(e.isPC=!1)},show:function(){this.mobileSelect.classList.add("mobileSelect-show"),typeof this.onShow=="function"&&this.onShow(this)},hide:function(){this.mobileSelect.classList.remove("mobileSelect-show"),typeof this.onHide=="function"&&this.onHide(this)},renderWheels:function(e,t,o){var s=this,n=t||"取消",a=o||"确认";s.mobileSelect=document.createElement("div"),s.mobileSelect.className="mobileSelect",s.mobileSelect.innerHTML='<div class="grayLayer"></div><div class="content"><div class="btnBar"><div class="fixWidth"><div class="cancel">'+n+'</div><div class="title"></div><div class="ensure">'+a+'</div></div></div><div class="panel"><div class="fixWidth"><div class="wheels"></div><div class="selectLine"></div><div class="shadowMask"></div></div></div></div>',document.body.appendChild(s.mobileSelect);for(var l="",i=0;i<e.length;i++){if(l+='<div class="wheel"><ul class="selectContainer">',s.jsonType)for(var u=0;u<e[i].data.length;u++)l+='<li data-id="'+e[i].data[u][s.keyMap.id]+'">'+e[i].data[u][s.keyMap.value]+"</li>";else for(var u=0;u<e[i].data.length;u++)l+="<li>"+e[i].data[u]+"</li>";l+="</ul></div>"}s.mobileSelect.querySelector(".wheels").innerHTML=l},addListenerAll:function(){for(var e=this,t=0;t<e.slider.length;t++)(function(o){e.addListenerWheel(e.wheel[o],o)})(t)},addListenerWheel:function(e,t){var o=this;e.addEventListener("touchstart",function(){o.touch(event,this.firstChild,t)},!1),e.addEventListener("touchend",function(){o.touch(event,this.firstChild,t)},!1),e.addEventListener("touchmove",function(){o.touch(event,this.firstChild,t)},!1),o.isPC&&(e.addEventListener("mousedown",function(){o.dragClick(event,this.firstChild,t)},!1),e.addEventListener("mousemove",function(){o.dragClick(event,this.firstChild,t)},!1),e.addEventListener("mouseup",function(){o.dragClick(event,this.firstChild,t)},!0))},checkDataType:function(){var e=this;typeof e.wheelsData[0].data[0]=="object"&&(e.jsonType=!0)},checkCascade:function(){var e=this;if(e.jsonType){for(var t=e.wheelsData[0].data,o=0;o<t.length;o++)if(e.keyMap.childs in t[o]&&t[o][e.keyMap.childs].length>0){e.cascade=!0,e.cascadeJsonData=e.wheelsData[0].data;break}}else e.cascade=!1},generateArrData:function(e){for(var t=[],o=this.keyMap.id,s=this.keyMap.value,n=0;n<e.length;n++){var a={};a[o]=e[n][this.keyMap.id],a[s]=e[n][this.keyMap.value],t.push(a)}return t},initCascade:function(){var e=this;e.displayJson.push(e.generateArrData(e.cascadeJsonData)),e.initPosition.length>0?(e.initDeepCount=0,e.initCheckArrDeep(e.cascadeJsonData[e.initPosition[0]])):e.checkArrDeep(e.cascadeJsonData[0]),e.reRenderWheels()},initCheckArrDeep:function(e){var t=this;if(e&&t.keyMap.childs in e&&e[t.keyMap.childs].length>0){t.displayJson.push(t.generateArrData(e[t.keyMap.childs])),t.initDeepCount++;var o=e[t.keyMap.childs][t.initPosition[t.initDeepCount]];o?t.initCheckArrDeep(o):t.checkArrDeep(e[t.keyMap.childs][0])}},checkArrDeep:function(e){var t=this;e&&t.keyMap.childs in e&&e[t.keyMap.childs].length>0&&(t.displayJson.push(t.generateArrData(e[t.keyMap.childs])),t.checkArrDeep(e[t.keyMap.childs][0]))},checkRange:function(e,t){for(var o=this,s=o.displayJson.length-1-e,n=0;n<s;n++)o.displayJson.pop();for(var a,n=0;n<=e;n++)n==0?a=o.cascadeJsonData[t[0]]:a=a[o.keyMap.childs][t[n]];o.checkArrDeep(a),o.reRenderWheels(),o.fixRowStyle(),o.setCurDistance(o.resetPosition(e,t))},resetPosition:function(e,t){var o=this,s=t,n;if(o.slider.length>t.length){n=o.slider.length-t.length;for(var a=0;a<n;a++)s.push(0)}else if(o.slider.length<t.length){n=t.length-o.slider.length;for(var a=0;a<n;a++)s.pop()}for(var a=e+1;a<s.length;a++)s[a]=0;return s},reRenderWheels:function(){var e=this;if(e.wheel.length>e.displayJson.length)for(var t=e.wheel.length-e.displayJson.length,o=0;o<t;o++)e.wheels.removeChild(e.wheel[e.wheel.length-1]);for(var o=0;o<e.displayJson.length;o++)(function(n){var a="";if(e.wheel[n]){for(var l=0;l<e.displayJson[n].length;l++)a+='<li data-id="'+e.displayJson[n][l][e.keyMap.id]+'">'+e.displayJson[n][l][e.keyMap.value]+"</li>";e.slider[n].innerHTML=a}else{var i=document.createElement("div");i.className="wheel",a='<ul class="selectContainer">';for(var l=0;l<e.displayJson[n].length;l++)a+='<li data-id="'+e.displayJson[n][l][e.keyMap.id]+'">'+e.displayJson[n][l][e.keyMap.value]+"</li>";a+="</ul>",i.innerHTML=a,e.addListenerWheel(i,n),e.wheels.appendChild(i)}})(o)},updateWheels:function(e){var t=this;if(t.cascade){if(t.cascadeJsonData=e,t.displayJson=[],t.initCascade(),t.initPosition.length<t.slider.length)for(var o=t.slider.length-t.initPosition.length,s=0;s<o;s++)t.initPosition.push(0);t.setCurDistance(t.initPosition),t.fixRowStyle()}},updateWheel:function(e,t){var o=this,s="";if(o.cascade)return console.error("级联格式不支持updateWheel(),请使用updateWheels()更新整个数据源"),!1;if(o.jsonType){for(var n=0;n<t.length;n++)s+='<li data-id="'+t[n][o.keyMap.id]+'">'+t[n][o.keyMap.value]+"</li>";o.wheelsData[e]={data:t}}else{for(var n=0;n<t.length;n++)s+="<li>"+t[n]+"</li>";o.wheelsData[e]=t}o.slider[e].innerHTML=s},fixRowStyle:function(){for(var e=this,t=(100/e.wheel.length).toFixed(2),o=0;o<e.wheel.length;o++)e.wheel[o].style.width=t+"%"},getIndex:function(e){return Math.round((2*this.liHeight-e)/this.liHeight)},getIndexArr:function(){for(var e=this,t=[],o=0;o<e.curDistance.length;o++)t.push(e.getIndex(e.curDistance[o]));return t},getCurValue:function(){var e=this,t=[],o=e.getIndexArr();if(e.cascade)for(var s=0;s<e.wheel.length;s++)t.push(e.displayJson[s][o[s]]);else if(e.jsonType)for(var s=0;s<e.curDistance.length;s++)t.push(e.wheelsData[s].data[e.getIndex(e.curDistance[s])]);else for(var s=0;s<e.curDistance.length;s++)t.push(e.getInnerHtml(s));return t},getValue:function(){return this.curValue},calcDistance:function(e){return 2*this.liHeight-e*this.liHeight},setCurDistance:function(e){for(var t=this,o=[],s=0;s<t.slider.length;s++)o.push(t.calcDistance(e[s])),t.movePosition(t.slider[s],o[s]);t.curDistance=o},fixPosition:function(e){return-(this.getIndex(e)-2)*this.liHeight},movePosition:function(e,t){e.style.webkitTransform="translate3d(0,"+t+"px, 0)",e.style.transform="translate3d(0,"+t+"px, 0)"},locatePosition:function(e,t){var o=this;this.curDistance[e]=this.calcDistance(t),this.movePosition(this.slider[e],this.curDistance[e]),o.cascade&&o.checkRange(e,o.getIndexArr())},updateCurDistance:function(e,t){e.style.transform?this.curDistance[t]=parseInt(e.style.transform.split(",")[1]):this.curDistance[t]=parseInt(e.style.webkitTransform.split(",")[1])},getDistance:function(e){return e.style.transform?parseInt(e.style.transform.split(",")[1]):parseInt(e.style.webkitTransform.split(",")[1])},getInnerHtml:function(e){var t=this,o=t.getIndex(t.curDistance[e]);return t.slider[e].getElementsByTagName("li")[o].innerHTML},touch:function(e,t,o){var s=this;switch(e=e||window.event,e.type){case"touchstart":s.startY=e.touches[0].clientY,s.startY=parseInt(s.startY),s.oldMoveY=s.startY;break;case"touchend":if(s.moveEndY=parseInt(e.changedTouches[0].clientY),s.offsetSum=s.moveEndY-s.startY,s.oversizeBorder=-(t.getElementsByTagName("li").length-3)*s.liHeight,s.offsetSum==0){var n=parseInt((document.documentElement.clientHeight-s.moveEndY)/40);if(n!=2){var a=n-2,l=s.curDistance[o]+a*s.liHeight;l<=2*s.liHeight&&l>=s.oversizeBorder&&(s.curDistance[o]=l,s.movePosition(t,s.curDistance[o]),s.transitionEnd(s.getIndexArr(),s.getCurValue()))}}else s.updateCurDistance(t,o),s.curDistance[o]=s.fixPosition(s.curDistance[o]),s.movePosition(t,s.curDistance[o]),s.curDistance[o]+s.offsetSum>2*s.liHeight?(s.curDistance[o]=2*s.liHeight,setTimeout(function(){s.movePosition(t,s.curDistance[o])},100)):s.curDistance[o]+s.offsetSum<s.oversizeBorder&&(s.curDistance[o]=s.oversizeBorder,setTimeout(function(){s.movePosition(t,s.curDistance[o])},100)),s.transitionEnd(s.getIndexArr(),s.getCurValue());s.cascade&&s.checkRange(o,s.getIndexArr());break;case"touchmove":e.preventDefault(),s.moveY=e.touches[0].clientY,s.offset=s.moveY-s.oldMoveY,s.updateCurDistance(t,o),s.curDistance[o]=s.curDistance[o]+s.offset,s.movePosition(t,s.curDistance[o]),s.oldMoveY=s.moveY;break}},dragClick:function(e,t,o){var s=this;switch(e=e||window.event,e.type){case"mousedown":s.startY=e.clientY,s.oldMoveY=s.startY,s.clickStatus=!0;break;case"mouseup":if(s.moveEndY=e.clientY,s.offsetSum=s.moveEndY-s.startY,s.oversizeBorder=-(t.getElementsByTagName("li").length-3)*s.liHeight,s.offsetSum==0){var n=parseInt((document.documentElement.clientHeight-s.moveEndY)/40);if(n!=2){var a=n-2,l=s.curDistance[o]+a*s.liHeight;l<=2*s.liHeight&&l>=s.oversizeBorder&&(s.curDistance[o]=l,s.movePosition(t,s.curDistance[o]),s.transitionEnd(s.getIndexArr(),s.getCurValue()))}}else s.updateCurDistance(t,o),s.curDistance[o]=s.fixPosition(s.curDistance[o]),s.movePosition(t,s.curDistance[o]),s.curDistance[o]+s.offsetSum>2*s.liHeight?(s.curDistance[o]=2*s.liHeight,setTimeout(function(){s.movePosition(t,s.curDistance[o])},100)):s.curDistance[o]+s.offsetSum<s.oversizeBorder&&(s.curDistance[o]=s.oversizeBorder,setTimeout(function(){s.movePosition(t,s.curDistance[o])},100)),s.transitionEnd(s.getIndexArr(),s.getCurValue());s.clickStatus=!1,s.cascade&&s.checkRange(o,s.getIndexArr());break;case"mousemove":e.preventDefault(),s.clickStatus&&(s.moveY=e.clientY,s.offset=s.moveY-s.oldMoveY,s.updateCurDistance(t,o),s.curDistance[o]=s.curDistance[o]+s.offset,s.movePosition(t,s.curDistance[o]),s.oldMoveY=s.moveY);break}}};export{Rt as $,ci as A,mt as B,_i as C,Zl as D,f as E,Ae as F,h as G,ii as H,bi as I,Vi as J,fi as K,j as L,zo as M,ce as N,Jl as O,yi as P,Mt as Q,L as R,fs as S,F as T,Ve as U,ve as V,Ai as W,_e as X,Ee as Y,ye as Z,A as _,jo as a,ei as a0,Ol as a1,Z as a2,p as a3,ki as a4,gi as a5,si as a6,ie as a7,li as a8,Go as a9,ri as aa,mi as ab,Ql as ac,pi as ad,Ci as ae,me as af,J as ag,oi as ah,_s as ai,Wl as aj,ql as ak,Ul as al,q as am,pe as an,vs as ao,Dt as ap,di as aq,ui as ar,gs as as,It as at,rt as au,ti as av,pt as aw,is as ax,hn as ay,he as b,fe as c,Fo as d,T as e,H as f,B as g,Xl as h,Kl as i,$l as j,x as k,ni as l,ai as m,hi as n,Dl as o,R as p,vi as q,Ei as r,ue as s,ae as t,z as u,le as v,ne as w,Yo as x,Lt as y,wi as z};
|