PageSourceSearch

https://static-cos.mureka.ai/cos-prod/mureka/static/js/index-CuXWFgJ6.js

js mureka.ai collected 2026-09-24 09:24:01 UTC 56,822 bytes, 1 lines download raw bytes

1import{_ as e}from"./back-DZCzplRH.js";import{_ as l,a as i,u as o,g as a,cK as n,C as s,b as t,bi as r,s as u,K as d,o as c,aI as v,Q as f,h as p,a6 as m,aM as g,bP as _,m as h,e2 as y,e3 as w,ax as b,cn as k,c as C,E as j,a1 as I,n as x,N as S,aE as A,a_ as E,b0 as D,e4 as L,e5 as T,w as z,aD as M,ck as U,cq as P}from"./index-DIXwfVMT.js";import{au as R,g as q,r as O,V as F,w as B,f as H,x as N,y as V,U as $,K as G,B as W,O as J,u as X,G as K,a2 as Y,H as Q,Q as Z,n as ee,C as le,I as ie,P as oe,at as ae,c as ne,J as se,a6 as te,D as re,aA as ue,aH as de}from"./vendor-core-DockhpYX.js";import{_ as ce,a as ve}from"./PullTo-BIvbThln.js";import{C as fe}from"./CharacterPickerCard-BzIbnSij.js";import pe from"./createSimilar-DJYvmX9c.js";import{_ as me}from"./audioItem-CPCNFcBP.js";import{_ as ge}from"./VideoGrid-D8YZ-PVH.js";import{u as _e}from"./useMusicVideoPreviewActions-Jm-RqGtk.js";import{S as he}from"./feedbackSupportDialog-c3jwKPug.js";import{L as ye}from"./LazyLoadImg-Bzjg4n3F.js";import{k as we,j as be,E as ke,g as Ce,i as je,p as Ie}from"./i18n-misc-CJ8HFqLU.js";import{g as xe,C as Se,s as Ae}from"./countryRegionPreference-DIcESfjY.js";import Ee from"./expirationDialog-BpFn7O8P.js";import{a as De}from"./element-plus-CADUlNlv.js";import{i as Le}from"./icon-left-CtRC4buD.js";import"./axios-C-1G2k3o.js";import"./@ffmpeg-CcTuH-sP.js";import"./@paypal-DitgUCQS.js";import"./LoaderWave-BLdNKbR3.js";import"./AudioPlayer-C0e_oCjk.js";import"./LoaderCircle-CVBYnNOL.js";import"./utils-BoALak89.js";import"./createEdit-DCDal1xa.js";import"./apiResource-Bn1KBcBO.js";import"./createAiFlag-LgHpF5sP.js";import"./characterCreateAccess-B4uI1uxL.js";import"./VoiceRecordDetail-iZNy8DLL.js";import"./pause-BwjHkNid.js";import"./editorEdit-CfjQUuy2.js";import"./vue-filepond.esm-CVTHONcd.js";import"./sharedResourceTrack-DLCZiMHU.js";import"./refer-edit-ico-CUWXKntO.js";import"./reportDialog-dfPF1U9u.js";import"./validationTools-DPj-hFp5.js";import"./sharedResourceLibraryRow-DmiJcO2T.js";import"./songEditEntry-C3dKR02T.js";import"./extendEditingDialog-BLmRjFp0.js";import"./audioDragUpload-C8aSPnj5.js";import"./clipUtil-Cm1WHU6U.js";import"./addLinkDialog-CEL1E-f2.js";import"./LoaderProgressCircle-CjjKxBhW.js";import"./loadingWaveSkeleton-Boo7wKEw.js";import"./colorUtil-Dc0piSax.js";import"./ClippingSelectDuration-CxBC1WN6.js";import"./ClippingSelectDurationOparation-BrSZggMq.js";import"./const-DIcblchm.js";import"./inputLyric-DeVXPDiN.js";import"./ClippingFixedDuration-CditvG3N.js";import"./handlePreviewMvEntryClick-k3_soxwd.js";import"./useMusicVideoStore-DCHuX_cz.js";import"./useVideosStore-CUXDBCiv.js";import"./apiPlaylists-Beo81x_K.js";import"./AudioWavForm-5hQe80uG.js";import"./trimEditingDialog-DWc3LmCS.js";import"./AudioItemMoreMenuList-JqslN4xG.js";import"./music-iFGXTDVs.js";import"./index.vue_vue_type_style_index_0_lang-BjXEh3JP.js";import"./PlaylistCover.vue_vue_type_style_index_0_lang-CaUKF6_r.js";import"./index-7J1yMQU2.js";import"./templateTracking-DKZyR1Vo.js";import"./CreationTemplateList-DGJttMN5.js";import"./referMusicListUpload-BV15Gxs2.js";import"./tracking-cDgVhpcg.js";import"./play-light-ico-DL4sX3mX.js";import"./AudioPlayerSlider-DS_NgRbv.js";import"./openInStudioUtils-quOvGHei.js";import"./data-Dlp3D-33.js";import"./dislikeFeedback-X0g7eabf.js";import"./downloadCopyright-Cfizjj8X.js";import"./editSongBasicInfo-BthMad-N.js";import"./uploadClipImage-_rfQuZBk.js";import"./img-empty-BTiNkDHg.js";import"./goToPublish-_z8U_UTt.js";import"./agentEasyStore-CW2xDNfZ.js";import"./editGender-CeRbgpvt.js";import"./notEnoughGold-C4hxEgy9.js";import"./wavesurfer.js-mJ2Olc46.js";import"./styleDataStore-B6bZDdst.js";import"./showdown-CJX62pKm.js";import"./showdown-lqIcKInw.js";import"./createEdit-Buqm8lB4.js";import"./close-ico-BC4C3kzG.js";import"./prev-BM8kEqdX.js";import"./next-bV_04vVC.js";import"./swiper-DJTO6NsM.js";import"./generateStepDialog-BQupNTN0.js";import"./coverVoiceDialog-eLeQaDGT.js";import"./editorWavePlayer-Ba3mFj5w.js";import"./uploadClipImageMini-D9rFUyTf.js";import"./lyricsTranslateDialog-Bd--BKtX.js";import"./InfoIcon-BWlUGKD9.js";import"./song-icon-dZqFm9-1.js";import"./workspaceProjectUtils-CPviSWaj.js";import"./feedbackDialog-C80G63ni.js";const Te={class:"edit-profile-content"},ze={class:"dialog-title"},Me={class:"avatar-section"},Ue=["src"],Pe={key:0,class:"user-email"},Re={key:1,class:"user-id"},qe={class:"form-section"},Oe={class:"form-item"},Fe={class:"input-wrapper"},Be={class:"char-count"},He={class:"delete-section"},Ne={class:"delete-info"},Ve={class:"delete-title"},$e={class:"delete-desc"},Ge={class:"dialog-footer"},We=l({__name:"editProfileDialog",props:{visible:{type:Boolean,default:!1},userInfo:{type:Object,default:()=>({})}},emits:["close","success"],setup(e,{emit:l}){var f,p,m;
1const g=R(),_=null==(f=q())?void 0:f.appContext.config.globalProperties,{$$t:h}=(null==_?void 0:_.$i18n)??{},y=e,w=l,b=i(),k=o(),C=O(null),j=O(""),I=O(!1),x=O(!1),S=F({username:(null==(m=null==(p=null==k?void 0:k.userInfo)?void 0:p.user)?void 0:m.stage_name)||""});B(()=>y.visible,e=>{var l,i;e&&(S.username=(null==(i=null==(l=null==k?void 0:k.userInfo)?void 0:l.user)?void 0:i.stage_name)||"",j.value="")});const A=()=>{w("close")},E=async()=>{await k.checkLoginStatus()&&C.value.click()},D=async e=>{const l=e.target.files[0];if(!l)return;if(!["image/png","image/jpg","image/jpeg"].includes(l.type))return void u.warning({content:h("mine.png"),position:"top"});if(l.size>10485760)return void u.warning({content:h("mine.10max"),position:"top"});I.value=!0;const i=u.info({content:h("mine.uploading")});try{const e=await c.uploadFileToObjectStorage(l);i.clear(),j.value=a(e.pathKey)}catch(o){i.clear(),u.error({content:h("create.upload_failed"),position:"top"})}finally{I.value=!1,e.target.value=""}},L=()=>{const e=k.userInfo.user.user_id.toString();we(e).then(e=>{u.success({content:h("credit.copied"),position:"top"})})},T=()=>{x.value=!0},z=async()=>{try{const e=await d.deleteAccount();if(200===e.code)return x.value=!1,k.clearAll(!0),b.toggleCreateEditOpenState(!0),v().init(!1),void g.push({name:"create"});u.error({content:e.msg||"Failed to delete account",position:"top"})}catch(e){u.error({content:"Error deleting account",position:"top"})}},M=async()=>{var e;if(!S.username.trim())return void u.warning({content:h("mine.Usernameisrequired"),position:"top"});const l=j.value?(e=>{if(!e)return"";const l=e.match(/^(?:https?:\/\/)?(?:localhost|\d{1,3}(?:\.\d{1,3}){3}|[^\/]+)(:\d+)?\/?(.*)$/);return l?l[2]:""})(j.value):"",i={user:{stage_name:S.username,...l&&{profile_image:l}}},o=await d.updateUserInfo(i);if(200===o.code){const l=k.userInfo;l.user.stage_name=S.username,j.value&&(l.user.profile_image=j.value),k.updateUserInfo(l),u.success({content:h("mine.Profileupdated"),position:"top"}),w("success",{stage_name:S.username,profile_image:j.value||(null==(e=y.userInfo)?void 0:e.profile_image)}),A()}else{({9008:()=>u.error({content:h("library.too_frequently"),position:"top"}),6319:()=>u.error({content:h("library.textinvalid"),position:"top"}),6320:()=>u.error({content:h("library.imageinvalid"),position:"top"})}[o.code]||(()=>u.error({content:o.msg,position:"top"})))()}};return H(()=>{_.logCustomEvent("profile_page_edit_show",{})}),(l,i)=>{const o=De;return V(),N(Q,null,[$(t,{visible:e.visible,"mobile-render-type":"drawerDialog","title-align":"left",title:null,width:"480px","custom-class":"edit-profile-dialog",onClose:A},{default:G(()=>{var e,l,t,r,u,d,c,v,f;return[W("div",Te,[W("div",ze,J(X(h)("mine.Editprofile")),1),W("div",Me,[W("div",{class:"avatar-wrapper",onClick:E},[W("img",{src:j.value||X(a)(null==(t=null==(l=null==(e=X(k))?void 0:e.userInfo)?void 0:l.user)?void 0:t.profile_image),class:"avatar-img",alt:"Profile"},null,8,Ue),i[3]||(i[3]=W("div",{class:"camera-icon flex-center"},[W("img",{class:"icon",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKZSURBVHgB7ZmBcdswDAChTuARuEEzgjJBPYI3iDewN7AygbNBu0HTCdwNqE7QboASJyaRQFAiIUp27vx3vDMVgABICCQVgDufGETcuHZwzWI+F9eeXDNwDciw0nGOXT2Igs73g9iAgi+g4+CagXIY1/awFhjOfpMzg9i9Ow0b4y8sjTd84ssPSshpNtZJm0rS4LUf0OI4Z1DidI8TY1OlOmPOSx6Z5RgWZ1QQb8sm2ppeHT/gJXFAiwXKH+ZVtMtoEJg28xa7pS+Tqx9B7DFt8k5jg0jO1iWdzcHZ3aK8OrUkfBacv4rjzC/pPWkkQb58W7gRfBYMJlcSGgAK/GxRLn9ns2b9sx0o8OOO+zcpMG2E8pVvTBJWE8iiAWD6vtHnkGljmQCwuw9oOWXYKR+AE9sJTlEa0T5R9+QeXHuJBJFULJYKwDI16psReWnXpYAny3XxAFCefZOgZzB82SfvAjH/tBca4hvrv1RV1U4peZln9rgGJXMCMKz/DOm8sv5XUFK9/eBp42aqGlPMlZ+rH5OfswI3wZwA2n4HpRNiBCf7wB79BiVzAuBGa0jnifX/wFxiZWpEfo9hPTcJetK9Y5egN+7fpEAov8GwnlvM38iSvmoUD8DrbFHmjL08x+48f0D5tLpLtFU+AK/XoJ5jhp1lAvC6R8ynybSxXABen85GNsFxSqPs6+riAbBAYldKqlyqDwUx/9RHibWJ+dffyFqmYOBGEHxp3370A/jHhPh2f024L20ggWE5tPjJPmzVGEKK22ukE3a7duzTookpzdmU1mIw+xULgFLmJ9xW/vehE/CjK0Dv7+vgOO3/8Ah518O1IJ8GzhPRWo9dntHXArqvGij7X8kUWugq4y/XfjjHX+HOnTsB/wEWNhMROkuYuwAAAABJRU5ErkJggg==",alt:""})],-1))]),(null==(d=null==(u=null==(r=X(k))?void 0:r.userInfo)?void 0:u.user)?void 0:d.email)?(V(),N("div",Pe,J(X(k).userInfo.user.email),1)):K("",!0),(null==(f=null==(v=null==(c=X(k))?void 0:c.userInfo)?void 0:v.user)?void 0:f.user_id)?(V(),N("div",Re,[W("span",null,"User ID: "+J(X(k).userInfo.user.user_id),1),W("img",{src:n,class:"copy-icon",alt:"copy",onClick:L})])):K("",!0)]),W("div",qe,[W("div",Oe,[W("label",null,J(X(h)("mine.username")),1),W("div",Fe,[$(o,{modelValue:S.username,"onUpdate:modelValue":i[0]||(i[0]=e=>S.username=e),placeholder:X(h)("mine.username"),maxlength:"50",class:"custom-el-input"},{suffix:G(()=>[W("span",Be,J(S.username.length)+"/50",1)]),_:1},8,["modelValue","placeholder"])])]),W("div",He,[W("div",Ne,[W("div",Ve,J(X(h)("mine.Deleteaccount")),1),W("div",$e,J(X(h)("mine.account_deleti
1on_warning")),1)]),$(X(s),{class:"delete-btn",type:"secondary",status:"danger",onClick:T},{default:G(()=>[Y(J(X(h)("mine.Deleteaccount")),1)]),_:1})])]),W("div",Ge,[$(X(s),{class:"save-btn",onClick:M},{default:G(()=>[Y(J(X(h)("mine.Save")),1)]),_:1})])]),W("input",{ref_key:"fileInputRef",ref:C,type:"file",accept:"image/png, image/jpeg, image/jpg",style:{display:"none"},onChange:D},null,544)]}),_:1},8,["visible"]),$(X(r),{visible:x.value,"onUpdate:visible":i[1]||(i[1]=e=>x.value=e),class:"edit-profile-delete-modal",variant:"form",status:"danger",title:X(h)("mine.Deleteaccount"),"ok-text":X(h)("mine.Deleteaccount"),"cancel-text":X(h)("mine.Cancel"),onOk:z,onCancel:i[2]||(i[2]=e=>x.value=!1)},{default:G(()=>[W("p",null,J(X(h)("mine.deleteyouraccount")),1)]),_:1},8,["visible","title","ok-text","cancel-text"])],64)}}},[["__scopeId","data-v-dab2de95"]]),Je={class:"followers-tabs-content"},Xe=l({__name:"FollowersTabs",props:{activeTab:{type:String,default:"followers"},visible:{type:Boolean,default:!1},renderType:{type:String,default:""},followersText:{type:String,default:""},followingText:{type:String,default:""},showFollowing:{type:Boolean,default:!0}},emits:["change"],setup(e,{emit:l}){const i=e,o=l,{followersTabRef:a,followingTabRef:n,tabMaskStyle:s}=(({activeTab:e,visible:l,renderType:i,followersText:o,followingText:a,showFollowing:n})=>{const s=O(null),t=O(null),r=O({width:"0px",left:"0px"}),u=()=>{ee(()=>{const l=("followers"===e.value||!1===(null==n?void 0:n.value)?s:t).value;l&&(r.value={width:`${l.offsetWidth}px`,left:`${l.offsetLeft}px`})})};return B(e,()=>{u()}),B(l,e=>{e&&u()},{immediate:!0}),B(i,()=>{u()}),B([o,a,n],()=>{u()},{immediate:!0}),H(()=>{u(),window.addEventListener("resize",u)}),Z(()=>{window.removeEventListener("resize",u)}),{followersTabRef:s,followingTabRef:t,tabMaskStyle:r}})({activeTab:le(i,"activeTab"),visible:le(i,"visible"),renderType:le(i,"renderType"),followersText:le(i,"followersText"),followingText:le(i,"followingText"),showFollowing:le(i,"showFollowing")}),t=e=>{(i.showFollowing||"following"!==e)&&o("change",e)};return(l,i)=>(V(),N("div",{class:ie(["followers-tabs",{"followers-tabs--mobile":"mobile"===e.renderType}])},[W("div",Je,[e.showFollowing?(V(),N("button",{key:0,ref_key:"followingTabRef",ref:n,class:ie(["tab-btn",{active:"following"===e.activeTab}]),onClick:i[0]||(i[0]=e=>t("following"))},J(e.followingText),3)):K("",!0),W("button",{ref_key:"followersTabRef",ref:a,class:ie(["tab-btn",{active:"followers"===e.activeTab||!e.showFollowing}]),onClick:i[1]||(i[1]=e=>t("followers"))},J(e.followersText),3),W("div",{class:"tab-active-mask",style:oe(X(s))},null,4)])],2))}},[["__scopeId","data-v-0008bff8"]]),Ke={key:0,class:"dialog-header flex-row-center"},Ye=["src"],Qe={class:"followers-content flex1 height-0"},Ze={class:"followers-item flex-row-center"},el=["onClick"],ll={class:"user-info flex1 flex-column"},il=["onClick"],ol={class:"user-desc flex-row-center"},al=["onClick"],nl=["onClick"],sl={key:0,class:"action-btn flex-center"},tl={key:1,class:"action-btn-placeholder","aria-hidden":"true"},rl=l({__name:"followersDialog",props:{visible:{type:Boolean,default:!1},userId:{type:String,default:""},initialTab:{type:String,default:"followers"},hideFollowingTab:{type:Boolean,default:!1}},emits:["close","update:visible"],setup(e,{emit:l}){var n;const r=R(),c=i(),v=f(),g=o(),{createRenderType:_}=ae(c),h=ne(()=>{var e;return null==(e=g.userInfo)?void 0:e.user}),y=null==(n=q())?void 0:n.appContext.config.globalProperties,{$$t:w}=null==y?void 0:y.$i18n,b=be("/mureka/icons/biz-character-empty-ba6cf080.webp"),k=e,C=l,j=O("followers"),I=F({listData:[],refreshing:!1,loadingMore:!1,isLoading:!1,loadError:!1,finished:!1,initLoading:!1,lastId:0}),x=()=>{C("update:visible",!1),C("close")},S=()=>{x()},A=ne(()=>{var e;return String(k.userId)===String(null==(e=h.value)?void 0:e.user_id)}),E=e=>{var l;return String(null==e?void 0:e.user_id)===String(null==(l=h.value)?void 0:l.user_id)},D=()=>{I.listData=[],I.lastId=0,I.finished=!1,I.loadError=!1},L=e=>!(null==e||""===e||0===Number(e)),T=e=>{const l={user_id:k.userId};L(e)&&(l.last_id=e);return k.hideFollowingTab||"followers"===j.value?d.getFollowers(l):d.getFollowing(l)},z=(e,l)=>{I.refreshing=!0,T().then(i=>{var o,a,n;if(200===i.code){const l=(null==(o=i.data)?void 0:o.users)||[],s=null==(a=i.data)?void 0:a.last_id;I.listData=(null==(n=i.data)?void 0:n.users)||[],I.lastId=s,I.finished=0===l.length||!L(s),I.loadError=!1,null==e||e(l,I.finished)}else I.loadError=!0,null==l||l()}).catch(()=>{I.loadError=!0,null==l||l()}).finally(()=>{I.refreshing=!1})},M=(e,l)=>{if(!L(I.lastId))return I.finished=!0,void(null==e||e([],!0));I.loadingMore=!0,T(I.lastId).then(i=>{var o,a;if(200===i.code){const l=(null==(o=i.data)?void 0:o.users)||[],n=null==(a=i.data)?void 0:a.last_id;I.listData.push(...l),I.lastId=n,I.finished=0===l.length||!L(n),I.loadError=!1,null==e||e(l,I.finished)}else I.loadError=!0,null==l||l()}).catch(()=>{I.loadError=!0,null==l||l()}).finally(()=>{I.loadingMore=!1})},U=()=>{D(),I.initLoading=!0,z(()=>{I.initLoading=!1})},P=e=>{const l=I.listData.findIndex(l=>String(l.user_id)===String(e));-1!==l&&(I.listData.splice(l,1),0===I.listData.length&&(I.finished=!0))},H=async(e,l)=>{if(null==e?void 0:e.user_id)try{const i=l?await d.followUser({followee_id:e.user_id}):await d.unfollowUser({followee_id:e.user_id});if(200===(null==i?void 0:i.code))return l||null==y||y.logCustomEvent("profile_page_unfollow",{source:"follow"}),void((e,l)=>{e.is_followed=l,e.follower_count=Math.max((e.follower_count||0)+(l?1:-1),0),I.listData.forEach(i=>
1{i.user_id===e.user_id&&(i.is_followed=l,i.follower_count=Math.max((i.follower_count||0)+(l?1:-1),0))}),A.value&&v.profileUserInfo&&(v.profileUserInfo.following_count=Math.max((v.profileUserInfo.following_count||0)+(l?1:-1),0)),!l&&"following"===j.value&&A.value&&P(e.user_id)})(e,l);if(2119===(null==i?void 0:i.code))return u.warning({content:w("mine.this_account_has_been_deleted"),position:"top"}),void P(e.user_id);u.error({maskClosable:!0,content:null==i?void 0:i.msg,position:"top"})}catch{}},Q=async(e,l)=>{l?await H(e,!0):m({title:w("mine.unfollow")||"Unfollow",titleAlign:"left",width:"min(500px, calc(100vw - 32px))",customClass:"followers-unfollow-dialog",content:w("mine.confirm_unfollow"),confirmLabel:w("common.confirm")||"Confirm",cancelLabel:w("common.cancel")||"Cancel",confirm:async l=>{await H(e,!1),l()},cancel:e=>{e()}})},Z=e=>{k.hideFollowingTab&&"following"===e||(j.value=e,null==y||y.logViewEvent("profile_page_follow",{source:j.value}),D(),I.initLoading=!0,z(()=>{I.initLoading=!1}))},ee=e=>{r.push({name:"profile",query:{source:"followers",user_id:e}}),x()};return B(()=>k.visible,e=>{e&&(j.value=k.hideFollowingTab?"followers":"following"===k.initialTab?"following":"followers",null==y||y.logCustomEvent("profile_page_follow_show",{source:j.value}),D(),I.initLoading=!0,z(()=>{I.initLoading=!1}))}),B(()=>k.hideFollowingTab,e=>{k.visible&&e&&"following"===j.value&&Z("followers")}),(l,i)=>(V(),N("div",null,[$(t,{width:"mobile"===X(_)?"100%":"600px",height:"mobile"===X(_)?"100%":"574px",visible:e.visible,"custom-class":"followers-dialog","mobile-render-type":"drawerDialog","hide-close-btn":"mobile"===X(_),onClose:x},{default:G(()=>["mobile"===X(_)?(V(),N("div",Ke,[W("img",{src:X(Le),class:"back-icon pointer",onClick:S},null,8,Ye)])):K("",!0),W("div",{class:ie(["height-all followers-list-container flex-column",`followers-list--${X(_)}`])},[$(Xe,{"active-tab":j.value,visible:e.visible,"render-type":X(_),"followers-text":X(w)("mine.followers"),"following-text":X(w)("mine.following"),"show-following":!e.hideFollowingTab,onChange:Z},null,8,["active-tab","visible","render-type","followers-text","following-text","show-following"]),W("div",Qe,[I.loadError||I.initLoading?(V(),se(ce,{key:0,loading:I.initLoading,onRetry:U},null,8,["loading"])):(V(),se(ve,{key:1,refreshing:I.refreshing,"onUpdate:refreshing":i[0]||(i[0]=e=>I.refreshing=e),"loading-more":I.loadingMore,"onUpdate:loadingMore":i[1]||(i[1]=e=>I.loadingMore=e),"is-loading":I.isLoading,"onUpdate:isLoading":i[2]||(i[2]=e=>I.isLoading=e),finished:I.finished,"onUpdate:finished":i[3]||(i[3]=e=>I.finished=e),"item-id-field":"user_id",datas:I.listData,"show-info":{emptydata:X(w)("mine.this_list_is_empty_for_now")},"empty-icon-url":X(b),onRefresh:z,onLoadMore:M},{default:G(e=>{var l,i,o;return[W("div",Ze,[W("div",{class:"avatar pointer",onClick:l=>ee(e.item.user_id)},[$(ye,{src:X(a)(e.item.profile_image)},null,8,["src"])],8,el),W("div",ll,[W("div",{class:"user-name pointer",onClick:l=>ee(e.item.user_id)},J(e.item.stage_name||"Anonymous"),9,il),W("div",ol,[W("div",{class:"pointer",onClick:l=>ee(e.item.user_id)},J(X(w)("mine.following_count",{count:X(ke)((null==(l=null==e?void 0:e.item)?void 0:l.following_count)||0)})),9,al),W("div",{class:"pointer",onClick:l=>ee(e.item.user_id)},J(1==(null==(i=null==e?void 0:e.item)?void 0:i.follower_count)?X(w)("mine.one_follower"):X(w)("mine.followers_count",{count:X(ke)((null==(o=null==e?void 0:e.item)?void 0:o.follower_count)||0)})),9,nl)])]),E(e.item)?(V(),N("div",tl)):(V(),N("div",sl,[e.item.is_followed&&e.item.is_follower?(V(),se(X(s),{key:0,class:"following-btn mutual-btn pointer",type:"secondary",size:"small",onClick:()=>{var l;null==(l=X(y))||l.logClickEvent("profile_page_mutualfollow",{source:"follow"}),Q(e.item,!1)}},{prefix:G(()=>[$(X(p),{name:"sys-follow",color:"#48e1eb",size:18})]),default:G(()=>[Y(" "+J(X(w)("mine.following")),1)]),_:2},1032,["onClick"])):e.item.is_followed?(V(),se(X(s),{key:1,class:"following-btn pointer",type:"secondary",size:"small",onClick:()=>{var l;null==(l=X(y))||l.logClickEvent("profile_page_following",{source:"follow"}),Q(e.item,!1)}},{prefix:G(()=>[$(X(p),{name:"sys-check-mark-ico",color:"#2CD982",size:18})]),default:G(()=>[Y(" "+J(X(w)("mine.following")),1)]),_:2},1032,["onClick"])):(V(),se(X(s),{key:2,class:"follow-btn pointer",size:"small",onClick:()=>{var l;null==(l=X(y))||l.logClickEvent("profile_page_follow",{source:"follow"}),Q(e.item,!0)}},{prefix:G(()=>[$(X(p),{name:"sys-plus",color:"#000",size:18})]),default:G(()=>[Y(" "+J(X(w)("mine.follow")),1)]),_:2},1032,["onClick"]))]))])]}),_:1},8,["refreshing","loading-more","is-loading","finished","datas","show-info","empty-icon-url"]))])],2)]),_:1},8,["width","height","visible","hide-close-btn"])]))}},[["__scopeId","data-v-9a615f6b"]]),ul={class:"header-title"},dl={class:"menu-page"},cl={class:"menu-card"},vl=["onClick"],fl={class:"left flex-row-center"},pl={class:"menu-label"},ml=l({__name:"profileMoreDialog",props:{visible:{type:Boolean,default:!1}},emits:["update:visible","close","select"],setup(e,{emit:l}){const i=l,{$$t:o}=q().appContext.config.globalProperties.$i18n,a=ne(()=>[{label:o("mine.Editprofile"),key:"edit_profile",iconName:"biz-user-edit"},{label:Ce.appname===je?"商用 API":"API Platform",key:"api_platform",iconName:"biz-nav-api-platform"},Ce.appname!==je&&{label:o("mine.what_new"),key:"whats_new",iconName:"biz-more-ne
1ws"},{label:o("mine.TermsofService"),key:"terms_of_service",iconName:"biz-more-service"},{label:o("mine.PrivacyPolicy"),key:"privacy_policy",iconName:"biz-more-policy"},{label:"Research",key:"research",iconName:"biz-more-research"},Ce.appname!==je&&{label:"FAQ",key:"faq",iconName:"biz-more-faq"},{label:o("editor.feedback_support_title"),key:"feedback",iconName:"biz-more-feedback"},Ce.appname!==je&&{label:o("mine.Region"),key:"region",iconName:"sys-linear-publish"},{label:o("mine.Logout"),key:"logout",iconName:"sys-more-horizontal"}].filter(Boolean)),n=ne(()=>a.value.filter(e=>"logout"!==e.key)),s=ne(()=>a.value.find(e=>"logout"===e.key)||null),r=()=>{i("update:visible",!1),i("close")},u=e=>{i("select",e.key),r()};return(l,i)=>(V(),se(t,{visible:e.visible,"mobile-render-type":"drawerDialog","title-align":"left",title:"","hide-close-btn":!0,height:"100%","custom-class":"profile-more-dialog",onClose:r},{default:G(()=>[W("div",{class:"dialog-header",onClick:r},[$(X(p),{name:"sys-chevron-left",class:"back-icon",size:24,color:"#fff"}),W("span",ul,J(X(o)("create.more")),1),i[1]||(i[1]=W("span",{class:"header-placeholder","aria-hidden":"true"},null,-1))]),W("div",dl,[W("div",cl,[(V(!0),N(Q,null,te(n.value,(e,l)=>(V(),N("div",{key:l,class:"menu-item flex-row-center pointer",onClick:l=>u(e)},[W("div",fl,[$(X(p),{name:e.iconName,class:"menu-icon",size:20,color:"#fff",opacity:"0.8"},null,8,["name"]),W("span",pl,J(e.label),1)]),$(X(p),{name:"sys-chevron-right",class:"arrow-icon",size:20,opacity:"0.5"})],8,vl))),128))]),s.value?(V(),N("div",{key:0,class:"logout-card pointer",onClick:i[0]||(i[0]=e=>u(s.value))},J(s.value.label),1)):K("",!0)])]),_:1},8,["visible"]))}},[["__scopeId","data-v-3a1e1b63"]]),gl=["data-creator-kind"],_l={class:"avatar"},hl={class:"user-details flex1 width-0 flex-column"},yl={class:"name flex-row-center"},wl={class:"olh"},bl={class:"following flex"},kl={class:"following-item flex-row-center dis-pointer"},Cl={key:0,class:"actions flex-row-center"},jl={class:"credit-entry__value"},Il={class:"actions-right"},xl={key:0,class:"red-dot"},Sl={key:1,class:"guest-mobile-header flex1 width-0"},Al={class:"guest-mobile-header__info"},El={class:"guest-mobile-header__name olh"},Dl={class:"guest-mobile-header__meta"},Ll={class:"guest-mobile-header__meta-value"},Tl={class:"guest-mobile-header__meta-label"},zl={class:"guest-mobile-header__meta-value"},Ml={class:"guest-mobile-header__meta-label"},Ul={class:"avatar"},Pl={class:"user-details flex1 width-0 flex-column"},Rl={class:"name flex-row-center"},ql={class:"olh flex1 width-0"},Ol={class:"following flex"},Fl={class:"following-value"},Bl={class:"following-label"},Hl={class:"following-value"},Nl={class:"following-label"},Vl={class:"following-item"},$l={class:"following-value"},Gl={class:"following-label"},Wl={class:"device-id-dialog-content"},Jl={class:"device-id-dialog-desc"},Xl=["disabled"],Kl=l({__name:"personalHeader",props:{userInfo:{type:Object,default:null},isSelf:{type:Boolean,default:!0},renderType:{type:String,default:"pc"},isLogin:{type:Boolean,default:!1},hasPlayableSongs:{type:Boolean,default:!0},showLogout:{type:Boolean,default:!0}},emits:["logout","follow","unfollow","editSuccess","play"],setup(e,{emit:l}){var i;const n=g(),s=o(),r=_(),u=R(),d=e,c=l,v=null==(i=q())?void 0:i.appContext.config.globalProperties,{$$t:f}=null==v?void 0:v.$i18n,m=O(!1),b=O(!1),k=O(!1),C=O(xe()),j=O(!1),I=O("followers"),x=O(!1),S=O(""),A=O(!1),E=O(null);let D=null,L=0,T=null;const z=ne(()=>y(d.userInfo||{})),M=ne(()=>{var e;return!!(null==(e=d.userInfo)?void 0:e.is_rights_subject)}),U=ne(()=>{var e;return!(d.isSelf||M.value&&!(null==(e=d.userInfo)?void 0:e.user_id))}),P=ne(()=>M.value),F=()=>{m.value=!1},H=()=>{m.value=!0},Y=()=>{n.openNotificationsDialog()},Z=()=>{A.value=!0},ee=ne(()=>{var e;return(null==(e=d.userInfo)?void 0:e.is_followed)?"sys-check-mark-ico":"sys-add"}),le=ne(()=>{var e;return(null==(e=d.userInfo)?void 0:e.is_followed)?"var(--m-color-accent)":"rgba(255, 255, 255, 0.6)"}),oe=ne(()=>{var e;return(null==(e=d.userInfo)?void 0:e.is_followed)?f("mine.following"):f("mine.follow")}),ae=()=>{var e;
1(null==(e=d.userInfo)?void 0:e.is_followed)?(()=>{var e;U.value&&c("unfollow",null==(e=d.userInfo)?void 0:e.user_id)})():(async()=>{var e;U.value&&await s.checkLoginStatus({source:"follow"})&&c("follow",null==(e=d.userInfo)?void 0:e.user_id)})()},te=async()=>{try{await we(window.location.href),h.success({content:f("credit.copied")||"Copied",position:"top"})}catch{h.error({content:f("common.prompt_copy_failed")||"Copy failed",position:"top"})}},ue=e=>{c("editSuccess",e)},de=()=>{null==v||v.logClickEvent("profile_page_followers"),I.value="followers",j.value=!0},ce=()=>{M.value||(null==v||v.logClickEvent("profile_page_followingnum"),I.value="following",j.value=!0)},ve=(e,l="")=>{const i="__COUNT__";return((null==f?void 0:f(e,{count:i}))||l).replace(i,"").replace(/\s+/g," ").trim()||l},fe=()=>{b.value=!0,null==v||v.logCustomEvent("more_click",{})},pe=()=>{k.value=!1},me=e=>{C.value=C.value===e?"":e,Ae(C.value),k.value=!1,null==v||v.logCustomEvent("country_region_click",{country_code:e,selected:C.value===e})},ge=()=>{L=0,T&&(clearTimeout(T),T=null)},_e=()=>{L+=1,T&&clearTimeout(T),T=setTimeout(()=>{ge()},1500),L<5||(S.value=(()=>{var e;const l=w((null==document?void 0:document.cookie)??"","sensorsdata2015jssdkcross");if(!l)return"";try{return(null==(e=JSON.parse(l))?void 0:e.first_id)??""}catch{return""}})(),x.value=!0,ge())},be=async()=>{if(S.value)try{await we(S.value),h.success({content:f("credit.copied")||"Copied",position:"top"})}catch{h.error({content:f("common.prompt_copy_failed")||"Copy failed",position:"top"})}},De=e=>{switch(e){case"edit_profile":H();break;case"api_platform":{const e="platform",l=Ce.appname===je?"cn":"ai";window.open(`https://${e}.mureka.${l}`,"_blank");break}case"region":k.value=!0,null==v||v.logCustomEvent("region_click",{});break;case"whats_new":n.openWhatsNewsDialog();break;case"terms_of_service":window.open(Ce.appname==je?Ie("/static/terms-cn-20250829.pdf"):Ie("/static/terms-20260513.pdf"),"_blank");break;case"privacy_policy":window.open(Ce.appname==je?Ie("/static/privacy.pdf"):Ie("/static/privacy-20250709.pdf"),"_blank");break;case"research":{const e=Ce.appname===je,l="platform",i=e?"cn":"ai",o=e?"cn":"en";window.open(`https://${l}.mureka.${i}/docs/${o}/ai-music-o1-moment.html`,"_blank");break}case"feedback":he();break;case"logout":c("logout");break;case"faq":if(Ce.appname===je)break;window.open(u.resolve({name:"faq"}).href,"_blank")}};return B([()=>E.value,()=>{var e;return null==(e=d.userInfo)?void 0:e.user_id},()=>{var e;return null==(e=d.userInfo)?void 0:e.is_followed}],([e,,l])=>{e&&l?(D&&(D.disconnect(),D=null),E.value&&(D=new IntersectionObserver(e=>{e.forEach(e=>{var l;e.isIntersecting&&(null==v||v.logCustomEvent("profile_page_following_show",{target_id:null==(l=d.userInfo)?void 0:l.user_id}),D.disconnect(),D=null)})},{threshold:.5}),D.observe(E.value))):D&&(D.disconnect(),D=null)}),re(()=>{D&&D.disconnect(),ge()}),(l,i)=>{var o,n,u,d,c,v,g,_,h,y,w,D,L,T,U,R,q,O;return V(),N("div",{class:ie(["personal-header flex-row-center",[`personal-header-${e.renderType}`,{"personal-header--guest-mobile":"mobile"===e.renderType&&!e.isSelf}]]),"data-creator-kind":M.value?"rights-subject":z.value?"external":"internal"},["pc"===e.renderType?(V(),N(Q,{key:0},[W("div",_l,[$(ye,{src:l.$imageUrl(X(a)(null==(o=e.userInfo)?void 0:o.profile_image)),onClick:_e},null,8,["src"])]),W("div",hl,[W("div",yl,[W("span",wl,J(null==(n=e.userInfo)?void 0:n.stage_name),1),e.isSelf?K("",!0):(V(),N("div",{key:0,ref_key:"followingBtnRef",ref:E,class:ie(["add-btn flex-center pointer",{"add-btn--following":null==(u=e.userInfo)?void 0:u.is_followed}]),onClick:ae},[$(X(p),{class:"add-btn__icon",name:ee.value,size:20,color:le.value},null,8,["name","color"]),W("span",null,J(oe.value),1)],2)),e.isSelf?(V(),N("div",{key:1,class:"edit-btn flex-center pointer",onClick:H},[$(X(p),{name:"sys-edit",size:18})])):K("",!0),e.isSelf?(V(),N("div",{key:2,class:"share-btn flex-center pointer",onClick:te},[$(X(p),{name:"sys-share",size:18})])):K("",!0)]),W("div",bl,[P.value?K("",!0):(V(),N("div",{key:0,class:"following-item flex-row-center pointer",onClick:ce},[W("div",null,J(X(f)("mine.following_count",{count:X(ke)((null==(d=e.userInfo)?void 0:d.following_count)||0)})),1)])),W("div",{class:"following-item flex-row-center pointer",onClick:de},[W("div",null,J(1==(null==(c=e.userInfo)?void 0:c.follower_count)?X(f)("mine.one_follower"):X(f)("mine.followers_count",{count:X(ke)((null==(v=e.userInfo)?void 0:v.follower_count)||0)})),1)]),W("div",kl,[W("div",null,J(1==(null==(g=e.userInfo)?void 0:g.liked_count)?X(f)("mine.one_like",{c
1ount:1}):X(f)("mine.likes_count",{count:X(ke)((null==(_=e.userInfo)?void 0:_.liked_count)||0)})),1)])])])],64)):"mobile"===e.renderType?(V(),N(Q,{key:1},[e.isSelf?(V(),N("div",Cl,[W("div",{class:"credit-entry pointer",onClick:Z},[$(X(p),{class:"credit-entry__icon",name:"biz-subscribe-star",size:18,opacity:"0.6"}),W("span",jl,J(X(s).credits||0),1)]),W("div",Il,[W("div",{class:"action-item",onClick:Y},[$(X(p),{name:"biz-nav-notification",size:24}),X(r).notification>0?(V(),N("div",xl)):K("",!0)]),W("div",{class:"action-item",onClick:fe},[$(X(p),{name:"sys-more-horizontal",size:24})])])])):K("",!0),e.isSelf?(V(),N(Q,{key:2},[W("div",Ul,[$(ye,{src:l.$imageUrl(X(a)(null==(D=e.userInfo)?void 0:D.profile_image)),onClick:_e},null,8,["src"])]),W("div",Pl,[W("div",Rl,[W("span",ql,J(null==(L=e.userInfo)?void 0:L.stage_name),1),e.isSelf?K("",!0):(V(),N("div",{key:0,ref_key:"followingBtnRef",ref:E,class:ie(["add-btn flex-center pointer",{"add-btn--following":null==(T=e.userInfo)?void 0:T.is_followed}]),onClick:ae},[$(X(p),{class:"add-btn__icon",name:ee.value,size:20,color:le.value},null,8,["name","color"]),W("span",null,J(oe.value),1)],2))]),W("div",Ol,[P.value?K("",!0):(V(),N("div",{key:0,class:"following-item pointer",onClick:ce},[W("div",Fl,J(X(ke)((null==(U=e.userInfo)?void 0:U.following_count)||0)),1),W("div",Bl,J(X(f)("mine.following")),1)])),W("div",{class:"following-item pointer",onClick:de},[W("div",Hl,J(X(ke)((null==(R=e.userInfo)?void 0:R.follower_count)||0)),1),W("div",Nl,J(X(f)("mine.followers")),1)]),W("div",Vl,[W("div",$l,J(X(ke)((null==(q=e.userInfo)?void 0:q.liked_count)||0)),1),W("div",Gl,J(ve("mine.likes_count","Likes")),1)])])])],64)):(V(),N("div",Sl,[W("div",Al,[W("span",El,J(null==(h=e.userInfo)?void 0:h.stage_name),1),W("div",Dl,[P.value?K("",!0):(V(),N("button",{key:0,type:"button",class:"guest-mobile-header__meta-item",onClick:ce},[W("span",Ll,J(X(ke)((null==(y=e.userInfo)?void 0:y.following_count)||0)),1),W("span",Tl,J(X(f)("mine.following")),1)])),W("button",{type:"button",class:"guest-mobile-header__meta-item",onClick:de},[W("span",zl,J(X(ke)((null==(w=e.userInfo)?void 0:w.follower_count)||0)),1),W("span",Ml,J(X(f)("mine.followers")),1)])])]),e.isSelf?K("",!0):(V(),N("div",{key:0,ref_key:"followingBtnRef",ref:E,class:"guest-mobile-header__follow flex-center pointer",onClick:ae},[$(X(p),{class:"guest-mobile-header__follow-icon",name:ee.value,size:18,color:"#fff"},null,8,["name"]),W("span",null,J(oe.value),1)],512))]))],64)):K("",!0),$(We,{ref:"editProfileDialogRef",visible:m.value,"onUpdate:visible":i[0]||(i[0]=e=>m.value=e),"user-info":e.userInfo,onClose:F,onSuccess:ue},null,8,["visible","user-info"]),$(ml,{visible:b.value,"onUpdate:visible":i[1]||(i[1]=e=>b.value=e),onSelect:De},null,8,["visible"]),$(t,{visible:k.value,title:X(f)("mine.CountryRegion"),"title-align":"left","mobile-render-type":"drawerDialog","custom-class":"country-region-dialog",onClose:pe},{default:G(()=>[k.value?(V(),se(Se,{key:0,variant:"mobile","show-heading":!1,title:X(f)("mine.CountryRegion"),"selected-code":C.value,"picker-qa":"mobile-country-region-dialog",onSelect:me},null,8,["title","selected-code"])):K("",!0)]),_:1}
1,8,["visible","title"]),X(s).isLogin&&A.value?(V(),se(Ee,{key:2,visible:A.value,"onUpdate:visible":i[2]||(i[2]=e=>A.value=e)},null,8,["visible"])):K("",!0),$(rl,{visible:j.value,"onUpdate:visible":i[3]||(i[3]=e=>j.value=e),"user-id":null==(O=e.userInfo)?void 0:O.user_id,"initial-tab":I.value,"hide-following-tab":M.value},null,8,["visible","user-id","initial-tab","hide-following-tab"]),$(t,{visible:x.value,"onUpdate:visible":i[4]||(i[4]=e=>x.value=e),"custom-class":"device-id-dialog",width:"mobile"===e.renderType?"calc(100vw - 32px)":"420px",title:"Device ID",background:"#121216",onClose:i[5]||(i[5]=e=>x.value=!1)},{default:G(()=>[W("div",Wl,[W("div",Jl,J(S.value||"No sensors first_id found"),1),W("button",{type:"button",class:"device-id-copy-btn flex-row-center",disabled:!S.value,onClick:be},[i[6]||(i[6]=W("img",{src:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_10822_8855)'%3e%3cpath%20d='M11.3092%205.98773C11.3076%204.02096%2011.2778%203.00223%2010.7052%202.30469C10.5947%202.16998%2010.4712%202.04646%2010.3365%201.93591C9.60057%201.33203%208.5073%201.33203%206.32062%201.33203C4.13396%201.33203%203.04064%201.33203%202.30476%201.93591C2.17004%202.04646%202.04651%202.16998%201.93595%202.30469C1.33203%203.04052%201.33203%204.13378%201.33203%206.32028C1.33203%208.5068%201.33203%209.6%201.93595%2010.3359C2.0465%2010.4705%202.17004%2010.5941%202.30476%2010.7046C3.00234%2011.2771%204.02115%2011.3069%205.98804%2011.3085'%20stroke='white'%20stroke-width='1.33'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M9.35224%206.0167L11.3294%205.98828M9.34291%2014.6679L11.32%2014.6394M14.6478%209.3484L14.6291%2011.3215M6.00693%209.35746L5.98828%2011.3305M7.65824%206.0167C7.10304%206.11614%206.21191%206.21842%206.00693%207.3662M12.9964%2014.6394C13.5531%2014.5485%2014.4457%2014.4599%2014.6684%2013.3154M12.9964%206.0167C13.5516%206.11614%2014.4428%206.21842%2014.6478%207.3662M7.66671%2014.6385C7.11151%2014.5394%206.2203%2014.4376%206.01469%2013.2899'%20stroke='white'%20stroke-width='1.33'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_10822_8855'%3e%3crect%20width='16'%20height='16'%20fill='white'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",alt:"copy"},null,-1)),W("span",null,J(X(f)("credit.copy")||"Copy"),1)],8,Xl)])]),_:1},8,["visible","width"])],10,gl)}}},[["__scopeId","data-v-24d842d4"]]),Yl={key:0,class:"homepage__topbar"},Ql={class:"homepage__topbar-left"},Zl={class:"content flex1 flex-column"},ei={class:"credits__content"},li={class:"credits__title"},ii={key:0,class:"credits__subtitle"},oi={key:0,class:"toptip"},ai={key:3,class:"homepage__content-state flex1 height-0"},ni={class:"flex1 height-0 list-box"},si={class:"homepage__songs"},ti={key:0,class:"homepage__songs-empty"},ri={key:1,class:"homepage__videos-panel"},ui={key:2,class:"homepage__characters-panel"},di={key:0,class:"homepage__characters-grid"},ci={key:1,class:"homepage__empty-state flex-center"},vi={class:"homepage-empty"},fi={class:"homepage-empty__art","aria-hidden":"true"},pi={class:"homepage-empty__text"},mi={key:5,class:"homepage__content-state flex1 height-0"},gi=l({__name:"index",setup(l){var n;const t=ue(),r=R(),c=o(),v=i(),_=b(),h=k(),y=g(),w=C(),F=j(),Z=null==(n=q())?void 0:n.appContext.config.globalProperties,{$$t:ee}=Z.$i18n??{},le=f(),he=I(),ye=x(),we=S(),{homepageData:be,profileUserInfo:ke}=ae(le),{createRenderType:Ce}=ae(v),{isLogin:je}=ae(c),Ie=O(null),xe={SONGS:"songs",VIDEOS:"videos",CHARACTERS:"characters"},Se=(e={})=>{const l=Array.isArray(e.tab)?e.tab[0]:e.tab;return Object.values(xe).includes(l)?l:""},Ae=O(Se(t.query)||xe.SONGS),Ee=O(!0),De=O({list:[],lastId:0,refreshing:!1,loadingMore:!1,isLoading:!1,finished:!1,initialized:!1}),Le=O({list:[],lastId:0,refreshing:!1,loadingMore:!1,isLoading:!1,loadError:!1,finished:!1,initialized:!1}),Te=O(!1),{publishingVideoId:ze,sharingVideoId:Me,publishMusicVideoItem:Ue,shareMusicVideoItem:Pe,restoreMusicVideoItem:Re,downloadMusicVideoItem:qe,deleteMusicVideoItem:Oe,getFullSongItem:Fe}=_e({onPublishStateChange:(e,l)=>{0===Number(l)&&xl(null==e?void 0:e.video_id)},onDelete:e=>{xl(null==e?void 0:e.video_id)},onRestore:e=>{var l;r.push({name:"videoDetail",query:{songId:null==(l=null==e?void 0:e.song_id)?void 0:l.toString()}})}}),Be=ne(()=>(De.value.list||[]).map(e=>({...e,renderId:e.id}))),He=ne(()=>be.value.loadError||(be.value.list||[]).length>0),Ne=ne(()=>Be.value.length>0),Ve=ne(()=>Le.value.list.length>0),$e=ne(()=>!Te.value||!Le.value.initialized||!De.value.initialized),Ge=ne(()=>{const e=[];return He.value&&e.push({key:xe.SONGS,label:ee("common.track")}),Ve.value&&e.push({key:xe.VIDEOS,label:ee("library.tab_videos")}),Ne.value&&e.push({key:xe.CHARACTERS,label:ee("library.tab_character")}),e}),We=()=>{const e=Ge.value;if($e.value||!e.length)return;if(!Ee.value&&e.some(e=>e.key===Ae.value))return;const l=Se(t.query),i=e.some(e=>e.key===l);Ae.value=i?l:e[0].key,Ee.value=!1},Je=ne(()=>({networkerror:ee("common.network_error"),nodata:ee("common.no_data"),loadingmoretext:ee("common.loading"),emptydata:ee("library.character_my_empty")})),Xe=ne(()=>({networkerror:ee("common.network_error"),nodata:ee("common.no_data"),loadingmoretext:ee("common.loading"),emptydata:ee("common.empty_data")})),Ke=ne(()=>{var e;return null==(e=t.query)?void 0:e.subject_id}),Ye=ne(()=>{var e,l;return!!Ke.value&&("rights_subject"===(null==(e=t.query)?void 0:e.profile_entity_type)||"artist"===(null==(l=t.query)?void 0:l.profile_entity_type))}),Qe=ne(()=>{var e,l;return Ye.value?Ke.value:(null==(e=ke.value)?void 0:e.is_rights_subject)&&(null==(l=ke.value)?void 0:l.rights_subject_id)?ke.value.rights_subject_id:""}
1),Ze=ne(()=>{var e,l;return Ye.value||!(!(null==(e=ke.value)?void 0:e.is_rights_subject)||!(null==(l=ke.value)?void 0:l.rights_subject_id))}),el=ne(()=>{var e,l,i;if(Ze.value)return!1;const o=null==(l=null==(e=null==c?void 0:c.userInfo)?void 0:e.user)?void 0:l.user_id;if(!o)return!1;const a=t.query.user_id||(null==(i=ke.value)?void 0:i.user_id);return!a||a==o}),ll=ne(()=>el.value?"active_state":"passive_state"),il=(e,l={})=>{var i;null==(i=null==Z?void 0:Z.logCustomEvent)||i.call(Z,e,l)},ol=(e=Ae.value)=>{Object.values(xe).includes(e)&&(e!==xe.CHARACTERS?e===xe.SONGS&&il("profile_song_show",{type:ll.value}):il("profile_character_show",{type:ll.value}))},al=()=>{window.history.length>1?r.go(-1):r.replace({name:"create"})},nl=ne(()=>({networkerror:ee("common.network_error"),nodata:ee("common.no_data"),loadingmoretext:ee("common.loading"),emptydata:ee("common.empty_data")})),sl=ne(()=>({emptydata:ee("common.empty_data")})),tl=ne(()=>L(be.value.list||[],ke.value||{})),rl=ne(()=>{var e,l;const i=Ze.value?{profile_entity_type:"rights_subject",artist_source:"rights_subject",is_rights_subject:!0}:{},o="label_info"===(null==(e=t.query)?void 0:e.artist_source)?{artist_source:"label_info",artist_role:null==(l=t.query)?void 0:l.artist_role,is_label_song_artist:!0}:{},a={...ke.value||{},...i,...o};return{...a,profile_image:T(a,tl.value)}}),ul=ne(()=>{var e;if("mobile"!==Ce.value||el.value)return{};const l=null==(e=rl.value)?void 0:e.profile_image;if(!l)return{};return{backgroundImage:`url(${a(l)})`}}),dl=ne(()=>le.formatPlayData(tl.value||[]).length>0),cl=ne(()=>{var e;return(null==(e=F.phase2TrialPlans)?void 0:e[0])||null}),vl=ne(()=>{var e,l;return!(null==(l=null==(e=null==c?void 0:c.userInfo)?void 0:e.user)?void 0:l.is_vip)&&!!cl.value&&F.hasUsd1TrialOffer}),fl=ne(()=>{var e,l;return!!(null==(l=null==(e=null==c?void 0:c.userInfo)?void 0:e.user)?void 0:l.is_vip)}),pl=ne(()=>{var e,l;const i=null==(l=null==(e=null==c?void 0:c.userInfo)?void 0:e.user)?void 0:l.vip_end;return i?`Expires: ${z(1e3*i,"YYYY-MM-DD")}`:""}),ml=(e,l)=>{var i;null==(i=Ie.value)||i.initSimilar(l)},gl=()=>{var e,l,i,o,a;if(Ze.value){const i=(null==(e=t.query)?void 0:e.subject_type)||(null==(l=ke.value)?void 0:l.subject_type);return{subject_id:Qe.value,profile_entity_type:"rights_subject",...i?{subject_type:i}:{},rights_subject_entry:1}}return"artist"!==(null==(i=t.query)?void 0:i.profile_entity_type)?{}:{profile_entity_type:"artist",...(null==(o=t.query)?void 0:o.artist_source)?{profile_entity_source:t.query.artist_source}:{},...(null==(a=t.query)?void 0:a.artist_role)?{artist_role:t.query.artist_role}:{}}},_l=e=>({...Ze.value?{}:{user_id:e},...gl()}),hl=e=>200==(null==e?void 0:e.code)||0==(null==e?void 0:e.code),yl=ne(()=>{var e;return Ye.value||"artist"===(null==(e=t.query)?void 0:e.profile_entity_type)}),wl=()=>yl.value||c.isLogin,bl=()=>{De.value={list:[],lastId:0,refreshing:!1,loadingMore:!1,isLoading:!1,finished:!1,initialized:!1}},kl=()=>{Le.value={list:[],lastId:0,refreshing:!1,loadingMore:!1,isLoading:!1,loadError:!1,finished:!1,initialized:!1}},Cl=async({refresh:e=!1}={})=>{var l,i,o,n;const s=(null==(l=t.query)?void 0:l.user_id)||(null==(i=ke.value)?void 0:i.user_id)||(null==(n=null==(o=null==c?void 0:c.userInfo)?void 0:o.user)?void 0:n.user_id);if(!s||Ze.value)return Le.value.list=[],Le.value.finished=!0,Le.value.initialized=!0,{list:[],finished:!0};const r=Le.value;e?r.refreshing=!0:r.loadingMore=!0,r.isLoading=!0;try{const l=await d.getUserPublishedVideos({user_id:s,last_id:e?0:r.lastId});if(!hl(l))throw l;const{list:i,lastId:o,finished:n}=(e=>{const l=(null==e?void 0:e.data)??{};return{list:(Array.isArray(l.list)?l.list:[]).map(e=>({...e,video_url:a(e.video_url),video_cover_url:a(e.video_cover_url)})),lastId:l.last_id??0,finished:!l.has_more}})(l);return r.list=e?i:[...r.list,...i],r.lastId=o,r.finished=n,r.loadError=!1,{list:i,finished:n}}catch(u){throw r.loadError=!0,u}finally{r.initialized=!0,r.refreshing=!1,r.loadingMore=!1,r.isLoading=!1}},jl=e=>{Cl({refresh:!0}).then(({list:l,finished:i})=>{null==e||e(l,i)}).catch(()=>{null==e||e([],!0)})},Il=e=>{Le.value.finished?null==e||e([],!0):Cl({refresh:!1}).then(({list:l,finished:i})=>{null==e||e(l,i)}).catch(()=>{null==e||e([],!0)})};function xl(e){e&&(Le.value.list=Le.value.list.filter(l=>l.video_id!==e))}
1async function Sl(e){(null==e?void 0:e.video_id)&&(await r.replace({query:{...t.query,tab:xe.VIDEOS}}),await r.push({name:"libraryVideoDetail",query:{video_id:e.video_id.toString()}}))}async function Al(e,l){switch(e){case"publish":await Ue(l);break;case"share":await Pe(l);break;case"download":await qe(l);break;case"restore":await async function(e){var l,i;2!==(null==e?void 0:e.type)?r.push({name:"soundtrackVideoDetail",query:{songId:null==(l=null==e?void 0:e.song_id)?void 0:l.toString(),videoId:null==(i=null==e?void 0:e.video_id)?void 0:i.toString()}}):await Re(e)}(l);break;case"getFullSong":Fe(l);break;case"delete":Oe(l)}}const El=async({refresh:e=!1}={})=>{var l,i,o,a;const n=(null==(l=t.query)?void 0:l.user_id)||(null==(i=ke.value)?void 0:i.user_id)||(null==(a=null==(o=null==c?void 0:c.userInfo)?void 0:o.user)?void 0:a.user_id);if(!n||Ze.value)return De.value.list=[],De.value.finished=!0,De.value.initialized=!0,{list:[],finished:!0};const s=De.value;e?s.refreshing=!0:s.loadingMore=!0,s.isLoading=!0;try{const l=await E.getHomepageCharacters({user_id:n,last_id:e?0:s.lastId,size:20});if(200!==(null==l?void 0:l.code))throw l;const{list:i,lastId:o,finished:a}=(e=>{const l=(null==e?void 0:e.data)??{};return{list:(Array.isArray(l.list)?l.list:[]).map(D),lastId:l.last_id??0,finished:!l.more}})(l);return s.list=e?i:[...s.list,...i],s.lastId=o,s.finished=a,{list:i,finished:a}}finally{s.initialized=!0,s.refreshing=!1,s.loadingMore=!1,s.isLoading=!1}},Dl=e=>{(null==e?void 0:e.id)&&(il("profile_card_click",{type:ll.value}),r.push({name:"characterDetail",query:{source:"profile"},params:{character_id:e.id}}))},Ll=e=>{var l;const i=P({character:e,createAdvanceDataStore:_,createLayoutStore:v,vocalMusicStore:w,museDataStore:h});i&&(il("profile_card_use_click",{type:ll.value}),null==(l=null==Z?void 0:Z.logCustomEvent)||l.call(Z,"character_use_click",{source:"profile",character_id:String((null==e?void 0:e.id)??"")}),r.push({name:"create",query:{character_id:String((null==e?void 0:e.id)??""),...(null==i?void 0:i.id)?{vocal_id:String(i.id)}:{}}}))},Tl=()=>{il("profile_card_play_click",{type:ll.value})},zl=(e,l)=>{El({refresh:!0}).then(({list:l,finished:i})=>{null==e||e(l,i)}).catch(()=>{u.error({position:"top",content:ee("library.character_load_failed")}),null==l||l()})},Ml=(e,l)=>{De.value.finished?null==e||e([],!0):El({refresh:!1}).then(({list:l,finished:i})=>{null==e||e(l,i)}).catch(()=>{u.error({position:"top",content:ee("library.character_load_failed")}),null==l||l()})};B(()=>c.isLogin,e=>{var l,i,o;if(e){const e=(null==(l=null==t?void 0:t.query)?void 0:l.user_id)||Ke.value||(null==(o=null==(i=null==c?void 0:c.userInfo)?void 0:i.user)?void 0:o.user_id);(e||Ze.value)&&$l(e)}});const Ul=()=>{var e,l,i,o;if(null==(l=null==(e=null==c?void 0:c.userInfo)?void 0:e.user)?void 0:l.vip_end){const e=((null==(o=null==(i=null==c?void 0:c.userInfo)?void 0:i.user)?void 0:o.vip_end)??0)-Math.floor(Date.now()/1e3);return e>=0&&e<=432e3}return!1},Pl=()=>{var e;const l=null==(e=null==c?void 0:c.userInfo)?void 0:e.user,i=(null==l?void 0:l.vip_end)??0,o=Math.floor(Date.now()/1e3);return Math.max(0,Math.floor((i-o)/86400))},Rl=e=>{var l,i;const o=(null==e?void 0:e.subject_id)||(null==e?void 0:e.user_id)||(null==(l=null==t?void 0:t.query)?void 0:l.user_id);if(!o)return;const a=le.formatPlayData(tl.value||[]);if(!a.length)return void u.warning({content:ee("common.empty_data"),position:"top"});const n=a[0];null==Z||Z.logCustomEvent("profile_page_songplay_click",{creator_id:String(o)});const s=ye.getPlayerKey(n),r=null==(i=null==Z?void 0:Z.$globalMediaUtils)?void 0:i.globalAudioPlayer;ye.setCurPlayGroup("profile_list"),ye.setPlayMode(U.ORDER),ye.setPlayDatas(a,n),null==r||r.registerPlayUrl(s,{duration:((null==n?void 0:n.duration_milliseconds)??0)/1e3}),null==r||r.play(s,!0)},ql=()=>{var e;const l=null==(e=null==c?void 0:c.userInfo)?void 0:e.user;r.push({name:"subscribe",query:{...vl.value?{membership_source1:"H5_me_upgrade_tab",membership_source2:"H5_me_upgrade_tab"}:{},buy_type:(null==l?void 0:l.is_vip)&&!Ul()?"credits":"vip"}})},Ol=()=>{var e,l;Z.logCustomEvent("profile_page_signout_click",{}),d.userLoginOut({},null==(l=null==(e=null==c?void 0:c.userInfo)?void 0:e.user)?void 0:l.user_id).then(e=>{200==(null==e?void 0:e.code)?(Z.logCustomEvent("profile_page_signout_success",{}),c.clearAll(!0),le.initHomepageData(),bl(),kl(),ye.clearAll(),r.push({name:"create"})):u.error({maskClosable:!0,position:"top",content:null==e?void 0:e.msg})})},Fl=async e=>{e&&(null==Z||Z.logClickEvent("profile_page_follow",{source:"profile"}),d.followUser({followee_id:e}).then(e=>{hl(e)?(we.logInteraction("follow"),le.setFollowed()):u.error({maskClosable:!0,position:"top",content:null==e?void 0:e.msg})}))},Bl=e=>{var l,i;e&&((null==(l=ke.value)?void 0:l.is_follower)&&(null==(i=ke.value)?void 0:i.is_followed)?null==Z||Z.logClickEvent("profile_page_mutualfollow_click",{source:"profile"}):null==Z||Z.logCustomEvent("profile_page_following_click",{source:"profile"}),m({content:ee("mine.confirm_unfollow"),confirmLabel:ee("mine.unfollow"),cancelLabel:ee("common.cancel"),confirm:async l=>{d.unfollowUser({followee_id:e}).then(e=>{hl(e)?(Z.logCustomEvent("profile_page_unfollow",{source:"profile"}),le.setUnfollowed()):u.error({maskClosable:!0,position:"top",content:null==e?void 0:e.msg})}),l()},cancel:e=>{e()}}))},Hl=e=>{le.setProfileUserInfo({profile_image:e.profile_image,stage_name:e.stage_name})},Nl=e=>{var l,i,o;wl()?le.doLoadMore(e,_l((null==(l=null==t?void 0:t.query)?void 0:l.user_id)||Ke.value||(null==(o=null==(i=null==c?void 0:c.userInfo)?void 0:i.user)?void 0:o.user_id
1))):null==e||e(be.value,!0)},Vl=e=>{var l,i,o;if(!wl())return le.initHomepageData(),Te.value=!0,bl(),kl(),De.value.initialized=!0,Le.value.initialized=!0,void(null==e||e(be.value,!0));const a=_l((null==(l=null==t?void 0:t.query)?void 0:l.user_id)||Ke.value||(null==(o=null==(i=null==c?void 0:c.userInfo)?void 0:i.user)?void 0:o.user_id));le.doRefresh(e,a).finally(()=>{Te.value=!0}),El({refresh:!0}).catch(()=>{u.error({position:"top",content:ee("library.character_load_failed")})}),Cl({refresh:!0}).catch(()=>{})},$l=async e=>{if(!e&&!Ye.value)return;if(Ee.value=!0,Ae.value=Se(t.query)||xe.SONGS,Te.value=!1,le.initHomepageData(),bl(),kl(),!wl())return Te.value=!0,De.value.initialized=!0,void(Le.value.initialized=!0);be.value.isLoading=!0;const l=await(async e=>{var l;if(!wl())return le.initHomepageData(),bl(),kl(),!1;const i=Ye.value?d.getRightsSubjectDetail(_l(e)):d.getPersonalProfile(_l(e));try{const e=await i;if(hl(e))return le.setProfileUserInfo(Ye.value?((e={})=>({user_id:e.user_id,subject_id:e.subject_id,rights_subject_id:e.rights_subject_id||e.subject_id,subject_type:e.subject_type,stage_name:e.name,profile_image:e.avatar,description:e.description,is_followed:e.is_followed,follower_count:e.follower_count,liked_count:e.liked_count,is_rights_subject:!0,is_external_creator:!0,artist_source:"rights_subject",profile_entity_type:"rights_subject"}))((null==e?void 0:e.data)||{}):(null==(l=null==e?void 0:e.data)?void 0:l.user)||{}),!0;2119==e.code&&(u.error({maskClosable:!0,position:"top",content:ee("mine.account_has_been_deleted")}),window.location.replace("/404.html"))}catch{}return!1})(e);if(!l)return be.value.isLoading=!1,Te.value=!0,De.value.initialized=!0,void(Le.value.initialized=!0);const i=_l(e);await Promise.allSettled([le.doRetry(i).finally(()=>{Te.value=!0}),Cl({refresh:!0}),El({refresh:!0})])};return B(()=>[Ge.value.map(e=>e.key).join(","),$e.value],()=>{We()},{immediate:!0}),B(()=>Ae.value,(e,l)=>{e!==l&&ol(e),e===xe.CHARACTERS&&(De.value.initialized||De.value.isLoading||El({refresh:!0}).catch(()=>{u.error({position:"top",content:ee("library.character_load_failed")})}))}),B(()=>t.query,(e,l)=>{var i,o,a,n,s;const r=Se(e);r&&(Ee.value=!0,Ae.value=r,We());const u=(null==e?void 0:e.subject_id)||(null==e?void 0:e.user_id)||(null==(o=null==(i=null==c?void 0:c.userInfo)?void 0:i.user)?void 0:o.user_id),d=(null==l?void 0:l.subject_id)||(null==l?void 0:l.user_id)||(null==(n=null==(a=null==c?void 0:c.userInfo)?void 0:a.user)?void 0:n.user_id);Z.logCustomEvent("profile_page_show",{is_self:el.value?1:0,source:null==(s=null==t?void 0:t.query)?void 0:s.source}),ol(),u!==d&&u&&$l(u)},{deep:!0}),H(async()=>{var e,l;const{user_id:i,subject_id:o,source:a}=(null==t?void 0:t.query)||{},n=i||o||(null==(l=null==(e=null==c?void 0:c.userInfo)?void 0:e.user)?void 0:l.user_id);Z.logCustomEvent("profile_page_show",{is_self:el.value?1:0,source:a}),ol(),n?$l(n):(Te.value=!0,Le.value.initialized=!0,De.value.initialized=!0)}),de(async e=>{"home"===(null==e?void 0:e.name)&&await he.refreshHomeFeaturedCreators()}),re(()=>{y.closeNotificationsDialog()}),(l,i)=>{var o,a,n;return V(),N("div",{class:ie(["homepage height-all",[`homepage-${X(Ce)}`,{"homepage--guest-mobile":"mobile"===X(Ce)&&!el.value}]])},["pc"===X(Ce)?(V(),N("div",Yl,[W("div",Ql,[W("button",{type:"button",class:"homepage__back-btn",onClick:al},[$(X(p),{name:"sys-chevron-left",size:18})]),i[10]||(i[10]=W("div",{class:"homepage__title"},"Profile",-1))]),el.value&&X(je)?(V(),se(X(s),{key:0,type:"ghost",onClick:Ol},{prefix:G(()=>[$(X(p),{name:"sys-logout",size:20,opacity:"0.6"})]),default:G(()=>[W("span",null,J(X(ee)("mine.Logout")),1)]),_:1})):K("",!0)])):K("",!0),W("div",Zl,["mobile"!==X(Ce)||el.value?(V(),se(Kl,{key:1,"is-self":el.value,"user-info":rl.value,"render-type":X(Ce),"is-login":X(je),"has-playable-songs":dl.value,"show-logout":"pc"!==X(Ce),onLogout:Ol,onFollow:Fl,onUnfollow:Bl,onEditSuccess:Hl,onPlay:Rl},null,8,["is-self","user-info","render-type","is-login","has-playable-songs","show-logout"])):(V(),N("div",{key:0,class:"homepage__guest-hero",style:oe(ul.value)},[i[11]||(i[11]=W("div",{class:"homepage__guest-hero-overlay"},null,-1)),W("div",{class:"back-box"},[W("img",{src:e,alt:"",onClick:al})]),$(Kl,{"is-self":el.value,"user-info":rl.value,"render-type":X(Ce),"is-login":X(je),"has-playable-songs":dl.value,"show-logout":"pc"!==X(Ce),onLogout:Ol,onFollow:Fl,onUnfollow:Bl,onEditSuccess:Hl,onPlay:Rl},null,8,["is-self","user-info","render-type","is-login","has-playable-songs","show-logout"])],4)),"mobile"===X(Ce)&&el.value&&X(je)?(V(),N("div",{key:2,class:ie(["credits",{"credits--member":fl.value}]),onClick:ql},[$(X(p),{class:"credits__badge",name:"biz-homepage-subscription",size:40}),W("div",ei,[W("div",li,J(fl.value?X(ee)("credit.mySubscription"):X(ee)("credit.subscribeToStartCreating")),1),fl.value&&pl.value?(V(),N("div",ii,J(pl.value),1)):K("",!0)]),$(X(p),{class:"credits__arrow",name:"sys-arrow-right",size:20,color:"#fff"}),(null==(n=null==(a=null==(o=X(c))?void 0:o.userInfo)?void 0:a.user)?void 0:n.is_vip)&&Ul()?(V(),N("div",oi,J(`Expires in ${Pl()} Days`),1)):K("",!0)],2)):K("",!0),$e.value?(V(),N("div",ai,[$(ce,{type:"emptydata",loading:!0,"hide-retry":!0})])):Ge.value.length?(V(),N(Q,{key:4},[$(X(A),{modelValue:Ae.value,"onUpdate:modelValue":i[0]||(i[0]=e=>Ae.value=e),size:"medium",class:"homepage__tabs"},{default:G(()=>[(V(!0),N(Q,null,te(Ge.value,e=>(V(),se(X(M),{key:e.key,class:"homepage__tab",value:e.key},{default:G(()=>[Y(J(e.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"]),W("div",ni,[Ae.value===xe.SONGS&&He.value?(V(),se(ve,{key:0,"loading-more":X(be).loadingMore,"onUpdate:loadingMore":i[1]||(i[1]=e=>X(be).loadingMore=e),"is-loading":X(be).isLoading,"onUpdate:isLoading":i[2]||(i[2]=e=>X(be).isLoading=e),finished:X(be).finished,"onUpdate:finished":i[3]||(i[3]=e=>X(be).finished=e),"show-info":nl.value,onLoadMore:Nl,onRefresh:Vl},{customContent:G(()=>{var e;return[W("div",si,[0!==(null==(e=X(be).list)?void 0:e.length)||X(be).isLoading?K("",!0):(V(),N("div",ti,[$(ce,{type:"emptydata",info:nl.value,"hide-retry":!0},null,8,["info"])])),(V(!0),N(Q,null,te(X(be).list,e=>{var l;return V(),se(me,{key:null==(l=null==e?void 0:e.song)?void 0:l.song_id,"is-self":el.value,pitem:e,item:null==e?void 0:e.song,"render-type":"homepage",onHandleSimilar:ml},null,8,["is-self","pitem","item"])}),128))])]}),_:1},8,["loading-more","is-loading","finished","show-info"])):Ae.value===xe.VIDEOS&&Ve.value?(V(),N("div",ri,[$(ge,{"is-loading":Le.value.isLoading,"onUpdate:isLoading":i[4]||(i[4]=e=>Le.value.isLoading=e),finished:Le.value.finished,"onUpdate:finished":i[5]||(i[5]=e=>Le.value.finished=e),"class-prefix":"videos-page",list:Le.value.list,"load-error":Le.value.loadError,"show-info":Xe.value,"is-mobile":"mobile"===X(Ce),"is-login":X(je),"is-owner":el.value,"public-actions-only":!0,"publishing-video-id":X(ze),"sharing-video-id":X(Me),"empty-title":X(ee)("c
1ommon.empty_data"),"empty-description":"",onPreview:Sl,onMoreOptionClick:Al,onRefresh:jl,onLoadMore:Il,onRetry:jl},null,8,["is-loading","finished","list","load-error","show-info","is-mobile","is-login","is-owner","publishing-video-id","sharing-video-id","empty-title"])])):Ae.value===xe.CHARACTERS&&Ne.value?(V(),N("div",ui,[$(ve,{refreshing:De.value.refreshing,"onUpdate:refreshing":i[6]||(i[6]=e=>De.value.refreshing=e),"loading-more":De.value.loadingMore,"onUpdate:loadingMore":i[7]||(i[7]=e=>De.value.loadingMore=e),"is-loading":De.value.isLoading,"onUpdate:isLoading":i[8]||(i[8]=e=>De.value.isLoading=e),finished:De.value.finished,"onUpdate:finished":i[9]||(i[9]=e=>De.value.finished=e),datas:Be.value,"show-info":Je.value,"item-id-field":"renderId",onLoadMore:Ml,onRefresh:zl},{customContent:G(()=>[Be.value.length?(V(),N("div",di,[(V(!0),N(Q,null,te(Be.value,e=>(V(),se(fe,{key:e.renderId,character:e,compact:!0,mobile:"mobile"===X(Ce),onSelect:Dl,onUse:Ll,onPlay:Tl},null,8,["character","mobile"]))),128))])):De.value.isLoading?K("",!0):(V(),N("div",ci,[W("div",vi,[W("div",fi,[$(X(p),{class:"homepage-empty__icon",name:"biz-character-empty",size:120})]),W("div",pi,J(X(ee)("library.character_my_empty")),1)])]))]),_:1},8,["refreshing","loading-more","is-loading","finished","datas","show-info"])])):K("",!0)])],64)):(V(),N("div",mi,[$(ce,{type:"emptydata",info:sl.value,"hide-retry":!0},null,8,["info"])]))]),el.value?K("",!0):(V(),se(pe,{key:1,ref_key:"refCreateSimilar",ref:Ie,"sourec-type":"homepage"},null,512))],2)}}},[["__scopeId","data-v-fd1ed2ad"]]);export{gi as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.