1import{_ as q}from"./CgveeyhN.js";import{_ as Z}from"./CIprNgse.js";import{_ as G}from"./BIhiHMH8.js";import{_ as Y,I as K}from"./DUXzUGrg.js";import{d as k,u as w,c as S,o as h,aQ as Q,w as d,a as v,b as j,g as s,k as n,e as t,t as a,i as I,r as D,y as X,f as g,D as ee,E as te,s as y,_ as ne,M as oe,T as ie,j as se,R as ae}from"./CU4fuhWu.js";import{_ as le}from"./CXibsHtB.js";import{_ as re}from"./DfR9mtzb.js";import{a as ce}from"./B-TMqBVr.js";import{u as de}from"./BKYW02G2.js";import{u as V,a as ue}from"./Df43urqL.js";import{_ as pe}from"./q40zvCRV.js";import"./k-JwXle6.js";import"./7NUP23WA.js";import"./CyBBg-Zt.js";import"./BAisoB8R.js";import"./D6BEHNqf.js";import"./C7L0SZyV.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};i.SENTRY_RELEASE={id:"31c5c0c572a1991c8c8a93453bd4206e2dc3fc50"};var e=new i.Error().stack;e&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[e]="193fb318-7a86-49e5-886d-3e744147c4c1",i._sentryDebugIdIdentifier="sentry-dbid-193fb318-7a86-49e5-886d-3e744147c4c1")}catch{}})();const _e={key:0,class:"image-placeholder"},me={class:"text"},be={class:"text"},B=k({__name:"HoMypageProfileInputSingleImage",props:{validatorName:{},imageAlt:{},optionalAccept:{},modelValue:{},defaultImageUrl:{},validatorRules:{},error:{},previewRounded:{type:Boolean},isRemovable:{type:Boolean},isRequired:{type:Boolean},needCropper:{type:Boolean},cropWidth:{},cropHeight:{},cropExt:{}},emits:["update:model-value"],setup(i,{emit:e}){const r=i,p=e,c=w();return(o,l)=>{const _=Y;return h(),S(_,Q(r,{"model-value":r.modelValue,class:"ho-mypage-profile-input-single-image","onUpdate:modelValue":l[0]||(l[0]=m=>p("update:model-value",m))}),{default:d(()=>[!o.modelValue&&!r.defaultImageUrl?(h(),v("div",_e,[s(t(K),{class:"icon"}),n("div",null,[n("p",me,a(t(c).t("text.1")),1),n("p",be,a(t(c).t("text.2")),1)])])):j("",!0)]),_:1},16,["model-value"])}}});function M(i){const e=i;e.__i18n=e.__i18n||[],e.__i18n.push({locale:"",resource:{ja:{text:{1:{t:0,b:{t:2,i:[{t:3}],s:"ãã¡ã¤ã«ã鏿ãããã"}},2:{t:0,b:{t:2,i:[{t:3}],s:"ãã©ãã°ãã¦ãã ããã"}}}},en:{text:{1:{t:0,b:{t:2,i:[{t:3}],s:"Select a file to upload..."}},2:{t:0,b:{t:2,i:[{t:3}],s:"or simply drag and drop!"}}}}}})}typeof M=="function"&&M(B);const he=Object.assign(I(B,[["__scopeId","data-v-e2dffdfb"]]),{__name:"HoMypageProfileInputSingleImage"}),fe={class:"ho-mypage-profile-confirm-dialog"},ge={class:"title"},ve={class:"button-container"},xe={class:"text"},R=k({__name:"HoMypageProfileConfirmDialog",props:{disabled:{type:Boolean}},emits:["confirm"],setup(i,{emit:e}){const r=i,p=e,c=w(),o=D(),l=()=>{o.value?.close()},_=()=>{p("confirm"),l()};return(m,C)=>{const x=re;return h(),v("div",fe,[s(ce,{ref_key:"confirmDialog",ref:o,"open-button-html-tag":"div","open-button-disabled":r.disabled,class:X({disabled:r.disabled}),disabled:r.disabled},{open:d(()=>[s(x,{class:"save-button",disabled:r.disabled,size:"lg",visual:"pink"},{default:d(()=>[g(a(t(c).t("button.save")),1)]),_:1},8,["disabled"])]),header:d(()=>[n("h2",ge,a(t(c).t("title")),1)]),body:d(()=>[n("div",ve,[s(x,{class:"confirm-button",size:"lg",visual:"purple",onClick:_},{default:d(()=>[g(a(t(c).t("button.confirm")),1)]),_:1}),n("button",{class:"cancel-button",size:"lg",onClick:l},[n("span",xe,a(t(c).t("button.cancel")),1)])])]),_:1},8,["open-button-disabled","class","disabled"])])}}});function $(i){const e=i;e.__i18n=e.__i18n||[],e.__i18n.push({locale:"",resource:{ja:{title:{t:0,b:{t:2,i:[{t:3}],s:"ä¿åãã¾ãã"}},button:{save:{t:0,b:{t:2,i:[{t:3}],s:"ä¿å"}},confirm:{t:0,b:{t:2,i:[{t:3}],s:"ä¿åãã"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"ãã£ã³ã»ã«"}}}},en:{title:{t:0,b:{t:2,i:[{t:3}],s:"Are you sure you want to save?"}},button:{save:{t:0,b:{t:2,i:[{t:3}],s:"Save"}},confirm:{t:0,b:{t:2,i:[{t:3}],s:"Save Profile"}}
1,cancel:{t:0,b:{t:2,i:[{t:3}],s:"Cancel"}}}}}})}typeof $=="function"&&$(R);const ye=Object.assign(I(R,[["__scopeId","data-v-2c4fda44"]]),{__name:"HoMypageProfileConfirmDialog"}),ke={class:"ho-profile-form"},we={class:"form-container"},Ie={class:"left"},Ce={class:"heading-container"},Le={class:"icon-note-container"},Ee={class:"note"},Me={class:"note"},$e={class:"note"},Ue={class:"note"},He={class:"right"},Pe={class:"heading-container"},Se={class:"heading-container"},je={class:"note"},De={class:"user-name-input-group"},Ve={class:"user-name-label-ja"},Be={class:"user-name-input-group"},Re={class:"user-name-label-en"},Fe={class:"heading-container"},Te={class:"note"},Je={class:"web-site-input-group"},Ne={key:0,class:"error"},F=k({__name:"HoMypageProfileForm",setup(i){const e=w(),r=de(),p=ee(V)??te("no provide useUser"),{exhibitionUser:c,updateExhibitionUserForm:o,updateExhibitionUser:l}=p,_=y(()=>c.value?.vketId),m=D(!1),C=y(()=>m.value?"":c.value?.icon.url),x=y(()=>!o.values.externalLink1?.url&&!o.values.externalLink2?.url&&!o.values.externalLink3?.url&&!o.values.externalLink4?.url&&!o.values.externalLink5?.url),L=y(()=>!!(!o.isSubmitting.value&&o.meta.value.valid&&o.values.nameJa&&o.values.nameEn&&!x.value)),J=u=>{if(m.value=!u,!u)return o.setValues({icon:void 0});o.setValues({icon:u})},N=y(()=>
1{if(o.values.icon&&o.values.icon instanceof File)return o.values.icon}),A=()=>{L.value||r.addToast(e.t("validate.error"),"error"),o.handleSubmit(async u=>{const E=[u.externalLink1,u.externalLink2,u.externalLink3,u.externalLink4,u.externalLink5].filter(b=>b.url!=="");return l({nameJa:u.nameJa,nameEn:u.nameEn,externalLinks:E,icon:m.value?"":u.icon}).then(()=>{r.addToast(e.t("toast.success"))}).catch(b=>{console.error(b),r.addToast(e.t("toast.error"))})})()};return(u,E)=>{const b=G,z=he,W=ne,f=le,O=ye;return h(),v("div",ke,[n("div",we,[n("div",Ie,[n("div",Ce,[s(b,null,{default:d(()=>[g(a(t(e).t("icon.title")),1)]),_:1}),s(W,null,{default:d(()=>[s(z,{class:"icon-image","default-image-url":t(C),"validator-name":"icon","optional-accept":".jpg,.jpeg,.png,.gif,.webp,.apng","crop-width":512,"crop-height":512,"need-cropper":"","is-removable":"","hide-details":!t(o).errors.value.icon,"model-value":t(N),"onUpdate:modelValue":J},null,8,["default-image-url","hide-details","model-value"]),n("div",Le,[n("span",Ee,a(t(e).t("icon.note.1")),1),n("span",Me,a(t(e).t("icon.note.2")),1),n("span",$e,a(t(e).t("icon.note.3")),1),n("span",Ue,a(t(e).t("icon.note.4")),1)])]),_:1})])]),n("div",He,[n("div",Pe,[s(b,null,{default:d(()=>[g(a(t(e).t("vket_id.title")),1)]),_:1}),g(" "+a(t(_)),1)]),n("div",Se,[s(b,{required:""},{default:d(()=>[g(a(t(e).t("user_name.title")),1)]),_:1}),n("p",je,a(t(e).t("user_name.note")),1),n("div",De,[n("span",Ve,a(t(e).t("user_name.input.label.ja")),1),s(f,{class:"user-name-input-ja",placeholder:t(e).t("user_name.input.placeholderJa"),"validator-name":"nameJa","hide-details":!t(o).errors.value.nameJa},null,8,["placeholder","hide-details"])]),n("div",Be,[n("span",Re,a(t(e).t("user_name.input.label.en")),1),s(f,{class:"user-name-input-en",placeholder:t(e).t("user_name.input.placeholderEn"),"validator-name":"nameEn","hide-details":!t(o).errors.value.nameEn},null,8,["placeholder","hide-details"])])]),n("div",Fe,[s(b,{required:""},{default:d(()=>[g(a(t(e).t("website.title")),1)]),_:1}),n("span",Te,[n("p",null,a(t(e).t("website.note")),1),n("p",null,a(t(e).t("website.description")),1)]),n("ul",Je,[n("li",null,[s(f,{class:"web-site-input",placeholder:t(e).t("website.input.placeholder"),"validator-name":"externalLink1.url","hide-details":!t(o).errors.value["externalLink1.url"]},null,8,["placeholder","hide-details"])]),n("li",null,[s(f,{class:"web-site-input",placeholder:t(e).t("website.input.placeholder"),"validator-name":"externalLink2.url","hide-details":!t(o).errors.value["externalLink2.url"]},null,8,["placeholder","hide-details"])]),n("li",null,[s(f,{class:"web-site-input",placeholder:t(e).t("website.input.placeholder"),"validator-name":"externalLink3.url","hide-details":!t(o).errors.value["externalLink3.url"]},null,8,["placeholder","hide-details"])]),n("li",null,[s(f,{class:"web-site-input",placeholder:t(e).t("website.input.placeholder"),"validator-name":"externalLink4.url","hide-details":!t(o).errors.value["externalLink4.url"]},null,8,["placeholder","hide-details"])]),n("li",null,[s(f,{class:"web-site-input",placeholder:t(e).t("website.input.placeholder"),"validator-name":"externalLink5.url","hide-details":!t(o).errors.value["externalLink5.url"]},null,8,["placeholder","hide-details"])])]),t(x)?(h(),v("p",Ne,a(t(e).t("website.error_message")),1)):j("",!0)])])]),s(O,{class:"confirm-dialog",disabled:!t(L),onConfirm:A},null,8,["disabled"])])}}});function U(i){const e=i;e.__i18n=e.__i18n||[],e.__i18n.push({locale:"",resource:{ja:{icon:{title:{t:0,b:{t:2,i:[{t:3}],s:"ãããã£ã¼ã«ç»å"}},note:{1:{t:0,b:{t:2,i:[{t:3}],s:"â» ã¦ã¼ã¶ã¼ã¢ã¤ã³ã³ããä»»æã®ç»åã«å¤æ´ãããã¨ãã§ãã¾ã"}},2:{t:0,b:{t:2,i:[{t:3}],s:"â» æ¡å¼µåã .png .jpg .jpeg .webp .gif .apng ã®ããããã§ããç»åã鏿ãã¦ãã ãã"}},3:{t:0,b:{t:2,i:[{t:3}],s:"⻠縦512pxãæ¨ª512pxãã大ããç»åã¯ã縦横512pxã®å¤§ããã«åãåããã¨ãã§ãã¾ã"}},4:{t:0,b:{t:2,i:[{t:3}],s:"â» 5MB æªæºã®ç»åãã¡ã¤ã«ã鏿ãã¦ãã ãã"}}}},vket_id:{title:{t:0,b:{t:2,i:[{t:3}],s:"Vket ID"}}},user_name:{title:{t:0,b:{t:2,i:[{t:3}],s:"表示å"}}
1,input:{label:{ja:{t:0,b:{t:2,i:[{t:3}],s:"æ¥æ¬èª"}},en:{t:0,b:{t:2,i:[{t:3}],s:"è±èª"}}},placeholderJa:{t:0,b:{t:2,i:[{t:3}],s:"64æå以å ã§å ¥åãã¦ãã ãã"}},placeholderEn:{t:0,b:{t:2,i:[{t:3}],s:"128æå以å ã§å ¥åãã¦ãã ãã"}}},note:{t:0,b:{t:2,i:[{t:3}],s:"â» å ¬å¼WEBãã¼ã¸ã®ã«ã¿ãã°ã«å ¬éããããã®ã§ããæ¬åãç»é²ããéã¯ã注æãã ããã"}}},website:{title:{t:0,b:{t:2,i:[{t:3}],s:"Webãµã¤ãURL"}},description:{t:0,b:{t:2,i:[{t:3}],s:"â» å¿ ã1ã¤ã¯å ¥åãã¦ãã ããã"}},input:{placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Webãµã¤ãURL"}}},error_message:{t:0,b:{t:2,i:[{t:3}],s:"â» å¿ ã1ã¤ã¯å ¥åãã¦ãã ããã"}},note:{t:0,b:{t:2,i:[{t:3}],s:"ãµã¼ã¯ã«ã¦ã§ããµã¤ã/SNS/é ä¿¡ãã©ãããã©ã¼ã ãªã©ã®URLãæå¤§5ã¤è¨å®ããã«ã¿ãã°ãããªã³ã¯ããããã¨ãã§ãã¾ãã"}}},button:{save:{t:0,b:{t:2,i:[{t:3}],s:"ä¿å"}}},toast:{success:{t:0,b:{t:2,i:[{t:3}],s:"ä¿åãã¾ãã"}},error:{t:0,b:{t:2,i:[{t:3}],s:"Validation Error"}}}},en:{icon:{title:{t:0,b:{t:2,i:[{t:3}],s:"Profile Image"}},note:{1:{t:0,b:{t:2,i:[{t:3}],s:"*Click the box above to change the user icon to a new image."}},2:{t:0,b:{t:2,i:[{t:3}],s:"*Select a file with the supported format: .png, .jpg, .jpeg, .webp, .gif, .anpg."}},3:{t:0,b:{t:2,i:[{t:3}],s:"*Image size: Images larger than 512px in height and 512px in width can be cropped to a 512px square."}},4:{t:0,b:{t:2,i:[{t:3}],s:"*File size: Image size must be smaller than 5MB."}}}},vket_id:{title:{t:0,b:{t:2,i:[{t:3}],s:"Vket ID"}}},user_name:{title:{t:0,b:{t:2,i:[{t:3}],s:"Display Name"}},input:{label:{ja:{t:0,b:{t:2,i:[{t:3}],s:"JAPANESE"}},en:{t:0,b:{t:2,i:[{t:3}],s:"ENGLISH"}}},placeholderJa:{t:0,b:{t:2,i:[{t:3}],s:"Please enter within 64 characters"}},placeholderEn:{t:0,b:{t:2,i:[{t:3}],s:"Please enter within 128 characters"}}},note:{t:0,b:{t:2,i:[{t:3}],s:`*Please be aware that this display name will be shown on the catalog webpage. 2Be careful if you are going to register your real name... it will be open to the public! 3`}}},website:{title:{t:0,b:{t:2,i:[{t:3}],s:"Website URL"}},description:{t:0,b:{t:2,i:[{t:3}],s:"*Please set at least one URL."}},input:{placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Website URL"}}},error_message:{t:0,b:{t:2,i:[{t:3}],s:"*Please set at least one URL."}},note:{t:0,b:{t:2,i:[{t:3}],s:"You may set up to 5 links to display on your catalog page, such as your own website, social media, stream platforms, and more!"}}},button:{save:{t:0,b:{t:2,i:[{t:3}],s:"Save"}}},toast:{success:{t:0,b:{t:2,i:[{t:3}],s:"Save Completed!"}},error:{t:0,b:{t:2,i:[{t:3}],s:"Validation Error"}}}}}})}typeof U=="function"&&U(F);const Ae=Object.assign(I(F,[["__scopeId","data-v-6b528486"]]),{__name:"HoMypageProfileForm"}),ze={width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},We={id:"ri-account-circle-fill"},Oe=["fill"],qe=["id"];function Ze(i,e){return h(),v("svg",ze,[n("g",We,[n("path",{id:"Vector",d:"M14.0002 2.3335C20.4402 2.3335 25.6668 7.56016 25.6668 14.0002C25.6668 20.4402 20.4402 25.6668 14.0002 25.6668C7.56016 25.6668 2.3335 20.4402 2.3335 14.0002C2.3335 7.56016 7.56016 2.3335 14.0002 2.3335ZM7.02737 17.9858C8.73946 20.5415 11.3111 22.1668 14.1865 22.1668C17.0618 22.1668 19.6335 20.5415 21.3456 17.9858C19.4701 16.2369 16.9532 15.1668 14.1865 15.1668C11.4197 15.1668 8.90294 16.2369 7.02737 17.9858ZM14.0002 12.8335C15.9332 12.8335 17.5002 11.2665 17.5002 9.3335C17.5002 7.4005 15.9332 5.8335 14.0002 5.8335C12.0671 5.8335 10.5002 7.4005 10.5002 9.3335C10.5002 11.2665 12.0671 12.8335 14.0002 12.8335Z",fill:"url(#"+i.idMap.paint0_linear_2857_126431+")"},null,8,Oe)]),n("defs",null,[n("linearGradient",{id:i.idMap.paint0_linear_2857_126431,x1:"14.0002",y1:"2.3335",x2:"14.0002",y2:"25.6668",gradientUnits:"userSpaceOnUse"},[...e[0]||(e[0]=[n("stop",{"stop-color":"#FF82C5"},null,-1),n("stop",{offset:"1","stop-color":"#DC72FF"},null,-1)])],8,qe)])])}const Ge=oe({name:"hikky-icons-mypage-ri-account-circle-fill",render:Ze,setup(){return{idMap:{paint0_linear_2857_126431:"uicons-"+M
3ath.random().toString(36).substr(2,10)}}}}),Ye={class:"ht-mypage-profile"},Ke={class:"icon-wrapper"},T=k({__name:"HtMypageProfile",setup(i){const e=w();return(r,p)=>{const c=q,o=Z,l=Ae,_=pe;return h(),v("div",Ye,[s(o,{title:t(e).t("title"),description:t(e).t("description")},{icon:d(()=>[n("div",Ke,[s(t(Ge),{class:"icon"})])]),hint:d(()=>[s(c,{title:t(e).t("hint.title"),body:t(e).t("hint.body"),class:"guide"},null,8,["title","body"])]),_:1},8,["title","description"]),s(_,null,{default:d(()=>[s(l,{class:"form"})]),_:1})])}}});function H(i){const e=i;e.__i18n=e.__i18n||[],e.__i18n.push({locale:"",resource:{ja:{title:{t:0,b:{t:2,i:[{t:3}],s:"ãããã£ã¼ã«"}},hint:{title:{t:0,b:{t:2,i:[{t:3}],s:"ç»é²æ å ±ã¯ã«ã¿ãã°ã«è¡¨ç¤ºããã¾ãã"}},body:{t:0,b:{t:2,i:[{t:3}],s:"â» Vket IDãé¤ããããã£ã¼ã«æ å ±ã¯ãã«ã¿ãã°ãã¼ã¸ã«ã¦å ¬éããã¾ãã"}}}},en:{title:{t:0,b:{t:2,i:[{t:3}],s:"User Profile"}},hint:{title:{t:0,b:{t:2,i:[{t:3}],s:"Hint"}},body:{t:0,b:{t:2,i:[{t:3}],s:"*All profile information except for the Vket ID will be displayed on the catalog page."}}}}}})}typeof H=="function"&&H(T);const Qe=Object.assign(I(T,[["__scopeId","data-v-d1d8bb93"]]),{__name:"HtMypageProfile"}),Xe=k({__name:"index",setup(i){const e=w(),r=ue();ae(V,r);const{exhibitionUser:p,updateExhibitionUserForm:c}=r;ie({title:()=>e.t("title"),ogTitle:()=>e.t("title")});const o=(l,_)=>l[_]??{url:""};return se(()=>{if(p.value){const l=p.value.externalLinks??[];c.setValues({nameJa:p.value.nameJa,nameEn:p.value.nameEn,icon:void 0,externalLink1:o(l,0),externalLink2:o(l,1),externalLink3:o(l,2),externalLink4:o(l,3),externalLink5:o(l,4)})}}),(l,_)=>{const m=Qe;return h(),S(m)}}});function P(i){const e=i;e.__i18n=e.__i18n||[],e.__i18n.push({locale:"",resource:{ja:{title:{t:0,b:{t:2,i:[{t:3}],s:"ãããã£ã¼ã«"}}},en:{title:{t:0,b:{t:2,i:[{t:3}],s:"Edit Profile"}}}}})}typeof P=="function"&&P(Xe);export{Xe as default}; 4//# sourceMappingURL=DzfcPJne.js.map
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.