PageSourceSearch

https://static-cos.mureka.ai/cos-prod/mureka/static/js/downloadCopyright-Cfizjj8X.js

js mureka.ai collected 2026-09-24 09:24:53 UTC 4,541 bytes, 1 lines download raw bytes

1import{a as e,u as l,al as a,s as o,am as i,C as t,b as r}from"./index-DIXwfVMT.js";import{g as n,at as s,r as d,V as u,f as m,x as p,y as c,B as f,U as v,O as b,u as _,K as g,J as h,G as w,I as y,w as x,a2 as C}from"./vendor-core-DockhpYX.js";import{g as j}from"./i18n-misc-CJ8HFqLU.js";import{b as R,a as V,c as $}from"./element-plus-CADUlNlv.js";import"./axios-C-1G2k3o.js";import"./@ffmpeg-CcTuH-sP.js";import"./@paypal-DitgUCQS.js";const k={class:"title"},D={class:"disabled olh"},I={class:"disabled olh"},F={__name:"index",props:{title:{type:String,default:""}},setup(t,{expose:r}){var x;const C=null==(x=n())?void 0:x.appContext.config.globalProperties,{$$t:F}=null==C?void 0:C.$i18n,U=e(),{createRenderType:P}=s(U),T=t,q=l(),O=d(null),B=u({full_name:"",email:""}),E=u({full_name:[{validator:(e,l,a)=>{""===l?a(new Error(F("store.requiredField"))):a()},trigger:"blur"}],email:[{validator:(e,l,a)=>{""===l?a(new Error(F("store.requiredField"))):a()},trigger:"blur"}]});r({submitForm:()=>new Promise((e,l)=>{const{full_name:i,email:t}=q.userRelData;B.full_name&&B.full_name==i&&B.email==t?e({data:B,code:200}):O.value.validate(i=>{i?a({data:B}).then(a=>{200==a.code?(q.setUserRelData(B),e(a)):6319==a.code&&(o.error({content:F("library.textinvalid")}),l('"some error descripetion"'))}).catch(()=>{l('"some error descripetion"')}):l('"some error descripetion"')})})});return m(()=>{if(q.userRelData&&q.userRelData.full_name){const{full_name:e,email:l}=q.userRelData;B.full_name=e,B.email=l}else i({}).then(e=>{if(200==e.code){const{full_name:l,email:a,address:o}=e.data;B.full_name=l||"",B.email=a||"",B.address=o||"",q.setUserRelData(e.data)}})}),(e,l)=>{const a=R,o=V,i=$;return c(),p("div",{class:y(["information-box",`${_(P)}-information-box`])},[f("div",k,b(T.title||_(F)("store.infoLicense")),1),v(i,{ref_key:"ruleFormRef",ref:O,rules:E,model:B},{default:g(()=>[v(a,null,{default:g(()=>{var e,l,a;return[f("div",D,b(_(F)("store.userid"))+": "+b(null==(a=null==(l=null==(e=_(q))?void 0:e.userInfo)?void 0:l.user)?void 0:a.user_id),1)]}),_:1}),v(a,null,{default:g(()=>{var e,l,a;return[f("div",I,b(_(F)("store.nickname"))+": "+b(null==(a=null==(l=null==(e=_(q))?void 0:e.userInfo)?void 0:l.user)?void 0:a.stage_name),1)]}),_:1}),v(a,{prop:"full_name"},{default:g(()=>[v(o,{modelValue:B.full_name,"onUpdate:modelValue":l[0]||(l[0]=e=>B.full_name=e),style:{"--el-fill-color-blank":"transparent","--el-border-width":"0","--el-input-hover-border-color":"red"},placeholder:_(F)("store.contactName")+"*"},null,8,["modelValue","placeholder"])]),_:1}),"Mureka"==_(j).appname?(c(),h(a,{key:0,prop:"email"},{default:g(()=>[v(o,{modelValue:B.email,"onUpdate:modelValue":l[1]||(l[1]=e=>B.email=e),style:{"--el-fill-color-blank":"transparent"},placeholder:_(F)("store.email")+"*"},null,8,["modelValue","placeholder"])]),_:1})):w("",!0)]),_:1},8,["rules","model"])],2)}}},U={class:"download-copyright-done-btn-box"},P={class:"download-copyright-done-btn"},T={__name:"downloadCopyright",props:{item:{type:Object,default:null},pitem:{type:Object,default:null},visible:{type:Boolean,default:!1},orderId:{type:Number,default:""}},emits:["update:visible","done","complete"],setup(a,{emit:o}){var i,p,w,j,R;const V=l(),$=e(),{createRenderType:k}=s($);null==(j=null==(w=null==(p=(n()||(null==(i=null==window?void 0:window.$getVueCurrentInstance)?void 0:i.call(window))).appContext)?void 0:p.config)?void 0:w.globalProperties)||j.$router;const{$$t:D}=(null==(R=n().appContext)?void 0:R.config.globalProperties.$i18n)??{},I=a,T=o,q=d(null),O=u({visible:I.visible,userCredits:V.credits,payDialogVisible:!1,qrCode:null,orderId:null}),B=async()=>{var e;null==(e=q.value)||e.submitForm().then(e=>{T("complete",{}
1,()=>{O.filename="",O.moodTag=null,O.styleTag=null,T("update:visible",!1)})})},E=()=>{O.visible=!1};return x(()=>I.visible,e=>{var l;O.visible=I.visible,O.filename=null==(l=I.item)?void 0:l.title}),x(()=>O.visible,e=>{T("update:visible",e)}),m(()=>{}),(e,l)=>(c(),h(r,{width:"600px","title-align":"left",title:_(D)("create.download_ownership_certificate"),visible:O.visible,"mobile-render-type":"drawerDialog",onClose:E},{default:g(()=>[f("div",{class:y(["height-all download-copyright flex-column",{"download-copyright-mobile":"mobile"==_(k)}])},[v(F,{ref_key:"childInfo",ref:q,title:_(D)("create.download_ownership_certificate_information")},null,8,["title"]),f("div",U,[f("div",P,[v(_(t),{onClick:B},{default:g(()=>[C(b(_(D)("create.download_ownership_certificate_btn")),1)]),_:1})])])],2)]),_:1},8,["title","visible"]))}};export{T 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.