1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var s=1;s<arguments.length;s++){var t=arguments[s];if(null!=t)for(var l in t)t.hasOwnProperty(l)&&(e[l]=t[l])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:myfans-web":!0});var s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="5888ca79-cab7-4a2b-a9d4-0604374b80ef",e._sentryDebugIdIdentifier="sentry-dbid-5888ca79-cab7-4a2b-a9d4-0604374b80ef")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7895],{30276:(e,s,t)=>{t.d(s,{A:()=>U});var l=t(15383),a=t(99185),i=t(86449),r=t(51689),n=t(80747),d=t(68862),c=t(4964),x=t(99573),o=t(52496),p=t(99677),h=t.n(p),m=t(99689),g=t(23245),j=t(14343),f=t(72705),u=t(36929),v=t.n(u),b=t(90324),N=t(8397),y=t(11212),w=t(17222),_=t(39155),k=t(69598),E=t(7354),S=t(84611),C=t(11215);let F={all:["account_gacha_video"],detail:e=>[...F.all,"detail",e]};var A=t(98597),B=t(17506),$=t(79281),I=t(35918),z=t(75192),P=t(35528);function O({selectedGenreInputIndex:e,onClose:s,selectedGenreKeys:t,selectableGenres:i,setSelectedGenres:n}){let{t:c}=(0,P.Bd)();return(0,l.jsxs)(B.lGe,{open:null!==e,onClose:s,fullScreen:!0,noPadding:!0,fullHeight:!0,children:[(0,l.jsxs)("div",{className:"flex h-[48px] w-full items-center justify-between border-b-[0.5px] px-3 py-5",children:[(0,l.jsx)("div",{className:"flex flex-1 items-center justify-start",children:(0,l.jsx)(B.K0,{onClick:s,children:(0,l.jsx)("div",{className:"flex size-6 items-center",children:(0,l.jsx)(d.gc,{icon:r.Jyw,className:"text-lg text-black"})})})}),(0,l.jsx)("div",{className:"flex-[3] self-center truncate text-center text-base font-bold",children:c("ã¸ã£ã³ã«é¸æ")}),(0,l.jsx)("div",{className:"flex flex-1 items-center justify-end"})]}),(0,l.jsx)("div",{className:"overflow-auto px-4 py-5",children:0===i.length?(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center gap-8 py-40",children:[(0,l.jsx)(d.gc,{icon:a.JAe,className:"text-primary",fontSize:64}),(0,l.jsx)("div",{className:"text-[14px]/5 font-semibold text-primary",children:c("該å½ããã¸ã£ã³ã«ãããã¾ãã")})]}):(0,l.jsx)("div",{className:"grid grid-cols-2 gap-x-4 gap-y-2",children:i.map(a=>{let i=t.includes(a.key);return(0,l.jsx)(B.$nd,{variant:i?"contained":"outlined",size:"small",className:"!text-[14px]/5",sx:{height:36},disabled:i,onClick:()=>(l=>{if(null===e)return;let a=[...t];e<a.length?a[e]=l:a.push(l),n(a),s()})(a.key),children:c(`ã¸ã£ã³ã«ã¿ã°_${a.key}`)},a.key)})})})]})}var M=t(13269),T=t(38327),J=t(83788),R=t(24374),D=t(73454),L=t(34111);let K={S:"rankTitleS",A:"rankTitleA",B:"rankTitleB",C:"rankTitleC"},W={S:"ã¿ã¤ãã«ä¾ï¼è¶
大å½ããï¼æªå
¬éåç»",A:"ã¿ã¤ãã«ä¾ï¼å¤§å½ããï¼ç§å¯åç»",B:"ã¿ã¤ãã«ä¾ï¼å½ããï¼æ®ãä¸ããåç»",C:"ã¿ã¤ãã«ä¾ï¼ã¨ã£ã¦ããåç»"},q=["S","A","B","C"],G={"& .MuiOutlinedInput-root":{borderRadius:"8px",padding:"12px 16px 12px 12px","& fieldset":{borderColor:"rgba(0,0,0,0.2)"},"&:hover fieldset":{borderColor:"rgba(0,0,0,0.3)"}},"& .MuiOutlinedInput-input":{padding:0,fontSize:"15px",lineHeight:1.4,"&::placeholder":{color:"#ADACAC",opacity:1}}};function U({initialValues:e,gachaId:s,initialRankPosts:t,initialSRankPosts:p,initialThumbnailUrl:u,initialSRankSettings:H,initialGachaPostIdMap:V={},initialLastOnePostId:Y,initialLastOnePost:Q,initialLastOneSecreted:Z=!1,initialGenres:ee=[],firstPublished:es=!1,editStatus:et="not_editable"}){let{t:el}=(0,P.Bd)(),ea=(0,m.useRouter)(),{enqueueSnackbar:ei}=(0,g.dh)(),{currentCurrencySign:er,numberWithExchangeRate:en}=(0,w.Rf)(),ed=(0,_.Mdd)(),ec=(0,k.FV)(),ex=(0,k.Ii)(),eo=(0,k.yL)(),ep=(0,k.xP)(),{completeFunnel:eh}=(0,R.o)(),em=!!s,eg=em&&es,ej=el("å
¬éæ¸ã¿ã¬ãã£ã®ã·ã¼ã¯ã¬ããè¨å®ã¯å¤æ´ã§ãã¾ãã"),[ef,eu]=(0,j.use
1State)(0),[ev,eb]=(0,j.useState)(!1),[eN,ey]=(0,j.useState)(!1),[ew,e_]=(0,j.useState)(!1),[ek,eE]=(0,j.useState)(null),[eS,eC]=(0,j.useState)(u??null),{data:eF,refetch:eA}=(0,k.QL)(s??""),{current:eB,applying:e$,rejected_reason:eI}=eF||{},ez="editable"===et,eP="not_editable"===et,eO=em&&!!ek&&!e$&&ez,eM=e=>{eE(e),eC(URL.createObjectURL(e))};(0,j.useEffect)(()=>()=>{eS&&URL.revokeObjectURL(eS)},[eS]);let eT=async()=>{if(s&&ek){e_(!0);try{e$&&await (0,b.V8)(s);let e=new FormData;e.append("thumbnail_image",ek),await (0,b.Dj)(s,e),eE(null),eC(null),await eA(),ey(!0)}catch(e){ei(e instanceof o.pe&&e.response?.data?.error?e.response.data.error:el("ãµã ãã¤ã«ã®ç³è«ã«å¤±æãã¾ãã"),{variant:"error"})}finally{e_(!1)}}},eJ=async()=>{if(s)try{await (0,b.V8)(s),ei(el("ãµã ãã¤ã«ç»åã®ç³è«ããã£ã³ã»ã«ãã¾ãã"),{variant:"success"}),await eA()}catch(e){ei(e instanceof o.pe&&e.response?.data?.error?e.response.data.error:el("ãµã ãã¤ã«ã®ç³è«ãã£ã³ã»ã«ã«å¤±æãã¾ãã"),{variant:"error"})}},[eR,eD]=(0,j.useState)(!1),[eL,eK]=(0,j.useState)(null),{progress:eW,uploadFileHandler:eq,resetProgress:eG}=(0,A.v)({getUploadUrl:b.rI,completeUpload:b.rK}),eU=void 0!==eW,{data:eX,refetch:eH}=(e=>{let{data:s,...t}=(0,E.I)({queryKey:F.detail(e),queryFn:()=>S.lzy(e),...C._$,refetchInterval:e=>{let s=e=>e?.status==="processing";return!!(s(e?.current)||s(e?.applying))&&5e3},refetchOnMount:!0,enabled:!!e});return{data:s,flat:s,...t}})(s),{current:eV,applying:eY,rejected_reason:eQ}=eX||{},eZ=!es,e0=em&&!!eL?.video_url&&!eY&&eZ,e1=async e=>{if(e.size>y.$M)return void ei(el("{{max}} ãè¶
ãããã¡ã¤ã«ã¯ã¢ãããã¼ãã§ãã¾ããã",{max:y.dH}),{variant:"error"});let s=await (0,L.Gk)(e);if(!s)return void ei(el("åç»ãèªã¿è¾¼ãã¾ããã§ãããå¥ã®åç»ã§ã試ããã ããã"),{variant:"error"});if(s.videoDuration<y.cd)return void ei(el("åç»ã®é·ãã{{min}}ç§ã«æºããªããããµã³ãã«åç»ã¯è¨å®ã§ãã¾ããã",{min:y.cd}),{variant:"error"});if(s.videoDuration>y.cO)return void ei(el("ãµã³ãã«åç»ã¯{{minutes}}å以ä¸ã®åç»ã鏿ãã¦ãã ãã",{minutes:y.cO/60}),{variant:"error"});try{let t=await eq(e);eK({video_url:t,width:Math.round(s.videoWidth),height:Math.round(s.videoHeight),duration:s.videoDuration})}catch{ei(el("åç»ã®ã¢ãããã¼ãã«å¤±æãã¾ããã"),{variant:"error"})}finally{eG()}},e5=async()=>{if(s&&eL?.video_url){eD(!0);try{await (0,b.p7)(s,{raw_video_url:eL.video_url,width:eL.width,height:eL.height}),eK(null),await eH(),ey(!0)}catch(e){ei(e instanceof o.pe&&e.response?.data?.error?e.response.data.error:el("ãµã³ãã«åç»ã®ç³è«ã«å¤±æãã¾ãã"),{variant:"error"})}finally{eD(!1)}}},e2=async()=>{if(s)try{await (0,b.lt)(s),ei(el("ãµã³ãã«åç»ã®ç³è«ããã£ã³ã»ã«ãã¾ãã"),{variant:"success"}),await eH()}catch(e){ei(e instanceof o.pe&&e.response?.data?.error?e.response.data.error:el("ãµã³ãã«åç»ã®ç³è«ãã£ã³ã»ã«ã«å¤±æãã¾ãã"),{variant:"error"})}}
1,[e4,e8]=(0,j.useState)(t??{S:[],A:[],B:[],C:[]}),[e3,e6]=(0,j.useState)(H??{}),[e7,e9]=(0,j.useState)(Y??null),[se,ss]=(0,j.useState)(Z),{flat:st}=(0,k.dU)({}),sl=(0,j.useMemo)(()=>{let e=new Map;return p?.forEach(s=>e.set(s.id,s)),Q&&e.set(Q.id,Q),st?.forEach(s=>e.set(s.id,s)),e},[p,Q,st]),{data:sa=[]}=(0,k.p5)(s??""),[si,sr]=(0,j.useState)([]),sn=(0,j.useRef)(!1);(0,j.useEffect)(()=>{!sn.current&&sa.length>0&&(sr(sa),sn.current=!0)},[sa]);let sd=async(e,s)=>{let t=e4[e],l=s.some(e=>!t.includes(e)),a=t.some(e=>!s.includes(e));if(e8(t=>({...t,[e]:s})),l||a){let t={...e4,[e]:s},i=q.flatMap(e=>t[e]);await sA(i,e7??void 0,l,a)}"S"===e&&e6(e=>{let t={...e};return s.forEach(e=>{t[e]||(t[e]={isSecretEnabled:!1})}),Object.keys(t).forEach(e=>{s.includes(e)||delete t[e]}),t})},sc=async(e,s)=>{let t=e3[e];if(e6(t=>({...t,[e]:s})),em&&s.gachaPostId)try{await ep.mutateAsync({gachaPostId:s.gachaPostId,data:{secreted:s.isSecretEnabled}})}catch{e6(s=>({...s,[e]:t})),ei(el("ã·ã¼ã¯ã¬ããè¨å®ã®æ´æ°ã«å¤±æãã¾ãã"),{variant:"error"})}},sx=q.flatMap(e=>e4[e]),so=async e=>{let s=e[0]??null;if(e9(s),s||ss(!1),s!==e7){let e=q.flatMap(e=>e4[e]);await sA(e,s??void 0,!!s,!!e7)}},sp=async e=>{if(ss(e),em&&s)try{await (0,b.t$)(s,{last_one_secreted:e})}catch{ss(se),ei(el("ã·ã¼ã¯ã¬ããè¨å®ã®æ´æ°ã«å¤±æãã¾ãã"),{variant:"error"})}},sh=e7?sl.get(e7)??null:null,sm=e4.S.map(e=>sl.get(e)).filter(e=>!!e),sg={title:"",description:"",price:void 0,autoPublish:!1,publishStartAt:void 0,publishEndAt:void 0,genres:ee,purchaseTarget:"everyone",rankTitleS:"",rankTitleA:"",rankTitleB:"",rankTitleC:"",...e},{control:sj,handleSubmit:sf,getValues:su,watch:sv,setValue:sb}=(0,f.mN)({defaultValues:sg,mode:"onChange"}),sN=sv("title"),sy=sv("description"),sw=sv("price"),s_=sv("autoPublish"),sk=sv("genres"),[sE,sS]=(0,j.useState)(!1),[sC,sF]=(0,j.useState)(!1),sA=async(e,s,t,l)=>{try{let a=await (0,b.uV)({post_ids:e,last_one_post_id:s});sr(a),l&&(e=>{let s=e.map(e=>e.key),t=su("genres"),l=t.filter(e=>!s.includes(e));if(0===l.length)return;let a=t.filter(e=>s.includes(e));if(sb("genres",a),0===a.length){let e=l.map(e=>`${el(`ã¸ã£ã³ã«ã¿ã°_${e}`)}`);ei(el("{{names}}ãè§£é¤ããã¾ãããã¸ã£ã³ã«ã1件以ä¸è¨å®ãã¦ãã ãã",{names:e.join("ã")}),{variant:"warning"})}})(a),t&&(e=>{let s=su("genres");if(s.length>=3)return;let t=e.filter(e=>!s.includes(e.key)).map(e=>e.key).slice(0,3-s.length);t.length>0&&sb("genres",[...s,...t])})(a)}catch(e){ei(e instanceof o.pe&&e.response?.data?.error?e.response.data.error:el("ã¸ã£ã³ã«åè£ã®åå¾ã«å¤±æãã¾ãã"),{variant:"error"})}},[sB,s$]=(0,j.useState)(null),sI=q.reduce((e,s)=>e+e4[s].length,0),sz=(sw||0)*sI,sP=e4.B.length>0&&0===e4.A.length||e4.C.length>0&&0===e4.B.length,sO=[{key:"title",label:el("ã¬ãã£ã®ã¿ã¤ãã«ãå
¥åãã"),done:!!sN?.trim()},{key:"description",label:el("説ææãå
¥åãã"),done:!!sy?.trim()},{key:"thumbnail",label:el("ãµã ãã¤ã«ç»åãè¨å®ãã"),done:em?!!eB||!!e$&&"rejected"!==e$.status:!!eS},{key:"posts",label:el("æç¨¿ã3ã30ä»¶ãSè³ã¾ãã¯Aè³ããé ã«è¨å®ãã"),done:sI>=3&&sI<=30&&(e4.S.length>0||e4.A.length>0)&&!sP},{key:"genres",label:el("ã¸ã£ã³ã«ã1ã3ã¤è¨å®ãã"),done:sk.length>=1&&sk.length<=3},{key:"price",label:(0,l.jsx)(P.x6,{i18nKey:"ä¾¡æ ¼ã{{min}}ã{{max}}ã§è¨å®ãã",components:{min:(0,l.jsx)(N.S,{amount:100,size:"xs",bold:!0,className:"text-[#171717]"}),max:(0,l.jsx)(N.S,{amount:2e4,size:"xs",bold:!0,className:"text-[#171717]"})}}),done:!!sw&&sw>=(en(100)??100)&&sw<=(en(2e4)??2e4)}],sM=sO.filter(e=>!e.done),sT=(sO.length-sM.length)/sO.length*100,sJ=(0,j.useRef)({}),sR=e=>s=>{s&&(sJ.current[e]=s)},sD=(0,j.useRef)(null),[sL,sK]=(0,j.useState)(null);(0,j.useEffect)(()=>
1{if(!sL||0!==ef)return;let e=sJ.current[sL];if(e){let s=48+(sD.current?.offsetHeight??0)+8;window.scrollTo({top:e.getBoundingClientRect().top+window.scrollY-s,behavior:"smooth"})}sK(null)},[sL,ef]);let sW=async e=>{try{let l={S:"s",A:"a",B:"b",C:"c"},a=[];if(q.forEach(e=>{e4[e].forEach(s=>{let t=V[s];a.push({post_id:s,rank:l[e],secreted:"S"===e&&(e3[s]?.isSecretEnabled??!1),...t?{gacha_post_id:t}:{}})})}),eP&&s){if(0===e.genres.length)return void ei(el("ã¸ã£ã³ã«ãè¨å®ããã¦ãã¾ãã"),{variant:"error"});try{await eo.mutateAsync({gachaId:s,genreKeys:e.genres}),ei(el("ã¸ã£ã³ã«ãæ´æ°ãã¾ãã"),{variant:"success"}),ea.replace(T.y.account.gachas.$url())}catch(s){let e=s instanceof o.pe&&s.response?.data?.error?s.response.data.error:el("ã¸ã£ã³ã«ã®æ´æ°ã«å¤±æãã¾ãã");ei(e,{variant:"error"})}return}if(em){let l=t?q.flatMap(e=>t[e]):[],i=q.flatMap(e=>e4[e]);l.filter(e=>!i.includes(e)).forEach(e=>{let s=V[e];s&&a.push({post_id:e,rank:"s",secreted:!1,gacha_post_id:s,delete_flag:!0})}),await ex.mutateAsync({id:s,data:{title:e.title,description:e.description??"",price:e.price??0,auto_publish:e.autoPublish,publish_start_at:e.publishStartAt?.toISOString(),publish_end_at:e.publishEndAt?.toISOString(),gacha_posts:a,last_one_post_id:e7??null,last_one_secreted:!!e7&&se,genre_keys:e.genres,purchase_target:e.purchaseTarget,rank_s_title:(e.rankTitleS??"").trim(),rank_a_title:(e.rankTitleA??"").trim(),rank_b_title:(e.rankTitleB??"").trim(),rank_c_title:(e.rankTitleC??"").trim()}}),ei(el("ã¬ãã£ãæ´æ°ãã¾ãã"),{variant:"success"})}else{let s=new FormData;s.append("title",e.title),s.append("description",e.description??""),s.append("price",String(e.price??0)),s.append("auto_publish",String(e.autoPublish)),s.append("purchase_target",e.purchaseTarget),e.publishStartAt&&s.append("publish_start_at",e.publishStartAt.toISOString()),e.publishEndAt&&s.append("publish_end_at",e.publishEndAt.toISOString()),ek&&s.append("thumbnail",ek),eL?.video_url&&(s.append("video",eL.video_url),eL.width&&s.append("video_width",String(eL.width)),eL.height&&s.append("video_height",String(eL.height))),a.forEach(e=>{s.append("gacha_posts[][post_id]",e.post_id),s.append("gacha_posts[][rank]",e.rank),s.append("gacha_posts[][secreted]",String(e.secreted))}),e7&&s.append("last_one_post_id",e7),s.append("last_one_secreted",e7?String(se):String(!1)),s.append("rank_s_title",(e.rankTitleS??"").trim()),s.append("rank_a_title",(e.rankTitleA??"").trim()),s.append("rank_b_title",(e.rankTitleB??"").trim()),s.append("rank_c_title",(e.rankTitleC??"").trim()),e.genres.forEach(e=>s.append("genre_keys[]",e)),await ec.mutateAsync(s),ei(el("ã¬ãã£ã使ãã¾ãã"),{variant:"success"}),eh("gacha_create")}ea.replace(T.y.account.gachas.$url())}catch(e){ei(e instanceof o.pe&&e.response?.data?.error?e.response.data.error:el(em?"ã¬ãã£ã®æ´æ°ã«å¤±æãã¾ãã":"ã¬ãã£ã®ä½æã«å¤±æãã¾ãã"),{variant:"error"})}};return(0,l.jsxs)("form",{className:"flex flex-col gap-5 px-4 pt-6",onSubmit:sf(sW),children:[sM.length>0&&(0,l.jsx)("div",{ref:sD,className:"sticky top-[48px] z-[2] -mx-4 -mt-6 bg-[#F5F5F5] p-3",children:(0,l.jsxs)("div",{className:"rounded-[12px] bg-white",children:[(0,l.jsx)(B.vJ3,{className:"w-full",onClick:()=>sS(e=>!e),children:(0,l.jsxs)("div",{className:"flex flex-col gap-1 p-3",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("div",{className:"text-[14px]/5 font-semibold",children:el("å
¬éã¾ã§ãã¨{{count}}é
ç®",{count:sM.length})}),(0,l.jsx)(d.gc,{icon:r.Jt$,className:`text-[16px] text-[#171717] ${sE?"rotate-180":""}`})]}),(0,l.jsxs)("div",{className:"relative h-1 w-full",children:[(0,l.jsx)("div",{className:"absolute left-0 top-1/2 h-[2px] w-full -translate-y-1/2 rounded-full bg-[#A3A3A3]/[0.38]"}),(0,l.jsx)("div",{className:"absolute left-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-primary",style:{width:`${sT}%`,minWidth:"5px"}})]})]})}),sE&&(0,l.jsxs)("div",{className:"flex flex-col gap-3 px-3 pb-3",children:[sM.map(e=>(0,l.jsx)(B.vJ3,{className:"w-full",onClick:()=>{var s;"thumbnail"===(s=e.key)&&em?eu(1):(0!==ef&&eu(0),sK(s))},children:(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(d.gc,{icon:i.QRE,className:"shrink-0 text-base text-primary"}),(0,l.jsx)("div",{className:"text-[12px]/4 text-[#171717] font-semibold",children:e.label})]}),(0,l.jsx)(d.gc,{icon:i.XkK,className:"shrink-0 text-[16px] text-[#8B8B8B]"})]})},e.key)),(0,l.jsx)("div",{className:"text-[10px]/4 font-light text-[#8B8B8B]",children:el("使ããã¨ãµã ãã¤ã«ã»ãµã
1³ãã«åç»ã審æ»ã«é²ã¿ã¾ãã審æ»ãå®äºããã¨å
¬éã§ãã¾ãã")})]})]})}),0===sM.length&&(0,l.jsx)("div",{className:"sticky top-[48px] z-[2] -mx-4 -mt-6 mb-1 bg-[#F5F5F5] p-3",children:(0,l.jsxs)("div",{className:"flex flex-col gap-1 rounded-[12px] bg-white p-3",children:[(0,l.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,l.jsx)(d.gc,{icon:r.QRE,className:"text-[16px] text-[#10B981]"}),(0,l.jsx)("span",{className:"text-sm font-semibold text-black",children:el("å
¬éã«å¿
è¦ãªé
ç®ãæãã¾ããï¼")})]}),(0,l.jsx)("div",{className:"h-1 w-full rounded-full bg-[#10B981]"})]})}),eP&&(0,l.jsxs)("div",{className:"flex items-center gap-2 bg-[#DBEAFE] px-3 py-4",children:[(0,l.jsx)(d.gc,{icon:r.mEO,className:"shrink-0 text-sm text-[#0587FF]"}),(0,l.jsx)("p",{className:"text-xs font-light leading-[1.4] text-[#0587FF]",children:el("ãã®ã¬ãã£ã«ã¸ã£ã³ã«ã®è¨å®ãå¯è½ã«ãªãã¾ããã")})]}),em&&(0,l.jsxs)(z.A,{value:ef,onChange:(e,s)=>eu(s),centered:!0,sx:{"& .MuiTab-root":{fontSize:"14px","&.Mui-selected":{fontSize:"20px"}}},children:[(0,l.jsx)(I.A,{label:el("åºæ¬æ
å ±")}),(0,l.jsx)(I.A,{label:el("ãµã ãã¤ã«")}),(0,l.jsx)(I.A,{label:el("ãµã³ãã«åç»")})]}),eP&&(0,l.jsx)("div",{className:"text-center text-primary text-[12px]/4 font-semibold -mt-3",children:el("â»ãã®æç¨¿ã¯å
¬éæ¸ã¿ã®ããç·¨éã§ãã¾ããã")}),0===ef&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{ref:sR("title"),className:"flex flex-col gap-3",children:[(0,l.jsxs)("div",{className:"flex gap-1 text-base font-semibold leading-6",children:[(0,l.jsx)("div",{className:"text-primary",children:"*"}),(0,l.jsx)("div",{className:"text-black",children:el("ã¿ã¤ãã«")})]}),(0,l.jsx)(f.xI,{name:"title",control:sj,rules:{required:el("ã¿ã¤ãã«ãå
¥åãã¦ãã ããã")},render:({field:e,fieldState:{error:s}})=>(0,l.jsx)(B.pde,{...e,placeholder:el("ããã¹ã"),fullWidth:!0,disabled:eP,error:!!s,helperText:s?.message,ref:null})})]}),(0,l.jsxs)("div",{ref:sR("description"),className:"flex flex-col gap-3",children:[(0,l.jsx)("div",{className:"flex gap-1 text-base font-semibold leading-6",children:(0,l.jsx)("div",{className:"text-black",children:el("説ææ")})}),(0,l.jsx)(f.xI,{name:"description",control:sj,render:({field:e,fieldState:{error:s}})=>(0,l.jsx)(B.pde,{...e,placeholder:el("ããã¹ã"),fullWidth:!0,disabled:eP,multiline:!0,minRows:3,error:!!s,helperText:s?.message,ref:null})})]}),!em&&(0,l.jsxs)("div",{ref:sR("thumbnail"),className:"flex flex-col gap-3",children:[(0,l.jsx)("div",{className:"text-base font-semibold leading-6 text-black",children:el("ãµã ããè¨å®ãã")}),(0,l.jsxs)("div",{className:"flex gap-2.5 rounded bg-[#F5F5F5] p-2",children:[(0,l.jsx)("div",{className:"shrink-0",children:(0,l.jsx)(h(),{src:"/images/gacha/gacha_thumbnail.svg",alt:"",width:93,height:77,unoptimized:!0})}),(0,l.jsx)("div",{className:"flex-1 text-[10px] font-light leading-[14px] text-black",children:el("ã¬ãã£ä¸è¦§ãã¼ã¸ã®TOPã«è¡¨ç¤ºããããµã ãã¤ã«ã§ããæ¨å¥¨ãµã¤ãºã¯1280\xd7720ãã¯ã»ã«ã§ãã")})]}),(0,l.jsx)(B._OO,{accept:"image/jpeg,image/png",name:"thumbnail",setAcceptedFile:eM,children:eS?(0,l.jsx)("div",{className:"cursor-pointer rounded-[4px] bg-[#eee] p-2",children:(0,l.jsxs)("div",{className:"relative aspect-video overflow-hidden rounded-[4px] border-2 border-white",children:[(0,l.jsx)(h(),{src:eS,alt:"",fill:!0,className:"object-cover"}),(0,l.jsx)("div",{className:"absolute bottom-1 right-1 flex size-5 items-center justify-center rounded-full border-2 border-white bg-[#989898]",children:(0,l.jsx)(d.gc,{icon:r.rwq,className:"text-[10px] text-white"})})]})}):(0,l.jsxs)("div",{className:"flex cursor-pointer flex-col items-center justify-center gap-2 rounded-[6px] border border-solid border-primary px-4 py-[36.5px]",children:[(0,l.jsx)(d.gc,{icon:r.rwq,className:"text-[56px] text-primary"}),(0,l.jsx)("div",{className:"text-sm font-semibold leading-5 text-primary",children:el("ç»åãã¢ãããã¼ããã")}),(0,l.jsxs)("div",{className:"text-left text-[10px] font-light leading-[14px] text-[#858585]",children:[(0,l.jsx)("div",{children:el("â»è¨å®/æ´æ°ããã¨å¯©æ»å¯¾è±¡ã¨ãªããå©ç¨è¦ç´éåããã£ãå ´åã¯ã")}),(0,l.jsx)("div",{children:el("äºåãªãã¢ã«ã¦ã³ããåçµãããå¯è½æ§ãããã¾ãã")})]})]})})]}),!em&&(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsx)("div",{className:"text-base font-semibold leading-6 text-black",children:el("ãµã³ãã«åç»ãè¨å®ãã")}),(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)(B._OO,{accept:"video/mp4,video/quicktime",name:"sample_video",setAcceptedFile:e1,children:eU?(0,l.jsx)("div",{className:"rounded bg-[#EEEEEE] p-2",children:(0,l.jsxs)("div",{className:"relative flex aspect-video items-center justify-center overflow-hidden border-2 border-white",children:[(0,l.jsx)(c.A,{variant:"determinate",value:eW}),(0,l.jsx)("div",{className:"absolute text-xs text-black",children:`${eW}%`})]})}):eL?(0,l.jsxs)("div",{className:"cursor-pointer rounded bg-[#EEEEEE] p-2 flex flex-col gap-2",children:[!!eL.duration&&eL.duration>0&&(0,l.jsxs)("div",{className:"flex items-center justify-between py-2 px-1 text-base",children:[(0,l.jsx)("div",{className:"text-[14px]/5",children:`${el("åç»ã®é·ã")}
1 ${(0,J.Xd)(eL.duration,{two_digit:!0})}`}),(0,l.jsxs)(B.vJ3,{className:"flex items-center gap-1 text-[#FF5757]",onClick:e=>{e.stopPropagation(),eK(null)},children:[(0,l.jsx)(d.gc,{className:"text-[12px]",icon:a.sjs}),(0,l.jsx)("div",{className:"text-[12px]/4",children:el("åç»ãåé¤")})]})]}),(0,l.jsx)("div",{className:"relative aspect-video overflow-hidden border-2 border-white",children:(0,l.jsx)(v(),{controls:!0,width:"100%",height:"100%",url:eL.video_url,config:D.P})})]}):(0,l.jsxs)("div",{className:"flex cursor-pointer flex-col items-center justify-center gap-2 rounded-[6px] border border-solid border-primary px-4 py-[36.5px]",children:[(0,l.jsx)(d.gc,{icon:r.XYj,className:"text-[56px] text-primary"}),(0,l.jsx)("div",{className:"text-sm font-semibold leading-5 text-primary",children:el("åç»ãã¢ãããã¼ããã")}),(0,l.jsxs)("div",{className:"text-left text-[10px] font-light leading-[14px] text-[#858585]",children:[(0,l.jsx)("div",{children:el("â»è¨å®/æ´æ°ããã¨å¯©æ»å¯¾è±¡ã¨ãªããå©ç¨è¦ç´éåããã£ãå ´åã¯ã")}),(0,l.jsx)("div",{children:el("äºåãªãã¢ã«ã¦ã³ããåçµãããå¯è½æ§ãããã¾ãã")})]})]})}),(0,l.jsx)("div",{className:"text-[10px]/[14px] font-light text-[#858585]",children:`ã»${el("ãã¡ã¤ã«å®¹é{{max_video_size}}ã¾ã§ãæé·{{max_video_duration}}åã®åç»ãã¢ãããã¼ãå¯è½ã§ã",{max_video_size:y.dH,max_video_duration:y.cO/60})}`})]})]}),(0,l.jsx)("div",{className:"mt-1 border-t-[0.5px] border-solid border-[#CCC]"}),(0,l.jsxs)("div",{ref:sR("posts"),className:"flex flex-col gap-3",children:[(0,l.jsx)("div",{className:"text-base font-semibold leading-6 text-black",children:el("åè³ã©ã³ã¯ã«å«ããæç¨¿")}),(0,l.jsxs)("div",{className:"rounded-[8px] bg-[#DBEAFE] p-3 flex flex-col gap-3",children:[(0,l.jsx)(B.vJ3,{className:"w-full",onClick:()=>sF(e=>!e),children:(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(d.gc,{icon:i.mEO,className:"shrink-0 text-[14px] text-[#3B82F6]"}),(0,l.jsx)("div",{className:"text-[12px]/4 font-semibold text-[#3B82F6]",children:el("è³ã©ã³ã¯è¨å®ã«é¢ããã«ã¼ã«")})]}),(0,l.jsx)(d.gc,{icon:r.Jt$,className:`shrink-0 text-[14px] text-[#171717] ${sC?"rotate-180":""}`})]})}),sC&&(0,l.jsx)("div",{className:"rounded-[8px] bg-white p-3",children:(0,l.jsxs)("div",{className:"text-xs font-light leading-4 text-black",children:[(0,l.jsx)("div",{children:el("ã»åè³ã«å«ããæç¨¿ã«ä¸éã¯ããã¾ããã")}),(0,l.jsx)("div",{children:el("ã»Sè³ãAè³ã®ããããã«1æç¨¿ã®è¨å®ãå¿
è¦ã§ãã")}),(0,l.jsx)("div",{children:el("ã»Sè³(1ä»¶)ãAè³(0ä»¶)ãBè³(1ä»¶)ã®ããã«ãéã®è³ã©ã³ã¯ã®è¨å®ã0ä»¶ã«ãããã¨ã¯åºæ¥ã¾ããã")})]})})]})]}),sI>0&&(sI<3||sI>30)&&(0,l.jsxs)("div",{className:"flex items-center gap-2 bg-[#FEE2E2] px-4 py-2",children:[(0,l.jsx)(d.gc,{icon:r.lEd,className:"shrink-0 text-[16px] text-[#EF4444]"}),(0,l.jsx)("div",{className:"text-[12px]/4 font-light text-[#EF4444]",children:el("è³ã¯åè¨ã§3件以ä¸30件以ä¸ã§è¨å®ãã¦ãã ãã")})]}),q.map(e=>{let t;return(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)("div",{className:"text-[16px]/6 font-semibold",children:el("{{label}}è³",{label:e})}),(0,l.jsx)(f.xI,{name:K[e],control:sj,rules:{validate:e=>(0,M.O7)((e??"").trim())<=y.Jy||el("{{max}}æå以å
ã§å
¥åãã¦ãã ããã",{max:y.Jy})},render:({field:s,fieldState:{error:t}})=>(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)(B.pde,{...s,value:s.value??"",placeholder:eP?void 0:el(W[e]),fullWidth:!0,disabled:eP,error:!!t,helperText:t?.message,ref:null}),(0,l.jsx)("div",{className:"text-right text-[12px]/4 font-light text-[#858585]",children:`${(0,M.O7)((s.value??"").trim())} / ${y.Jy}`})]})})]}),(0,l.jsx)(B.uv4,{rank:e,selectedPostIds:e4[e],disabledPostIds:(t=q.filter(s=>s!==e).flatMap(e=>e4[e]),e7?[...t,e7]:t),onSelectionChange:s=>sd(e,s),hideSelectButton:eP,exceptGachaId:s,..."S"===e&&{secretPostIds:Object.entries(e3).filter(([,e])=>e.isSecretEnabled).map(([e])=>e)}}),"A"===e&&e4.B.length>0&&0===e4.A.length&&(0,l.jsxs)("div",{className:"flex items-center gap-2 bg-[#FEE2E2] px-4 py-2",children:[(0,l.jsx)(d.gc,{icon:r.lEd,className:"shrink-0 text-[16px] text-[#EF4444]"}),(0,l.jsx)("div",{className:"text-[12px]/4 font-light text-[#EF4444]",children:el("Bè³ãè¨å®ããå ´åãAè³ã®é¸æãå¿
è¦ã§ã")})]}),"B"===e&&e4.C.length>0&&0===e4.B.length&&(0,l.jsxs)("div",{className:"flex items-center gap-2 bg-[#FEE2E2] px-4 py-2",children:[(0,l.jsx)(d.gc,{icon:r.lEd,className:"shrink-0 text-[16px] text-[#EF4444]"}),(0,l.jsx)("div",{className:"text-[12px]/4 font-light text-[#EF4444]",children:el("Cè³ãè¨å®ããå ´åã
1Bè³ã®é¸æãå¿
è¦ã§ã")})]})]},e)}),(0,l.jsx)("div",{className:"mt-1 border-t-[0.5px] border-solid border-[#CCC]"}),sm.length>0&&(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsx)("div",{className:"text-base font-semibold leading-6 text-black",children:el("Sè³ã®è©³ç´°è¨å®")}),(0,l.jsxs)("div",{className:"flex gap-2.5 rounded bg-[#F5F5F5] p-2",children:[(0,l.jsx)("div",{className:"shrink-0",children:(0,l.jsx)(h(),{src:"/images/gacha/sprise_detail_setting.svg",alt:"",width:62,height:66,unoptimized:!0})}),(0,l.jsx)("div",{className:"flex-1 text-[10px] font-light leading-[14px] text-black",children:el("ã·ã¼ã¯ã¬ããè¨å®ãæå¹ã«ããã¨ãããµã ããã¨ãã¿ã¤ãã«ããã·ã¼ã¯ã¬ããã«ãããã¨ãã§ãã¾ãã(Sè³ã®ä¸èº«ãå½ã¦ã人ã«ããåãããªããããã¬ãã£è³¼å
¥ã¦ã¼ã¶ã¼ã®ã¯ã¯ã¯ã¯æãä¸ããã¾ãã)")})]})]}),sm.length>0&&sm.map(e=>(0,l.jsx)(B.mZ,{post:e,isSecretEnabled:e3[e.id]?.isSecretEnabled??!1,onSecretEnabledChange:s=>sc(e.id,{...e3[e.id],isSecretEnabled:s}),disabled:eg,disabledReason:ej},e.id)),(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsx)("div",{className:"text-base font-semibold leading-6 text-black",children:el("ã©ã¹ãã¯ã³è³ã®è¨å®")}),(0,l.jsxs)("div",{className:"flex items-center gap-[10px] rounded bg-[#F5F5F5] p-2",children:[(0,l.jsxs)("div",{className:"flex aspect-[265/88] w-[132.5px] flex-shrink-0 items-center gap-[6px] bg-[url('/images/gacha/last-one-bg.webp')] bg-cover bg-center px-[1px] py-[1px]",children:[(0,l.jsx)(h(),{src:"/images/gacha/last-one.webp",alt:"last one prize",width:41,height:41,unoptimized:!0}),(0,l.jsx)("div",{className:"flex items-center gap-4 pr-[5px]",children:(0,l.jsxs)("div",{className:"flex items-center gap-[1.5px]",children:[(0,l.jsx)(B.Qlf,{size:9,color:"#FF3700"}),(0,l.jsx)("div",{className:"text-[6px]/[1] font-semibold",children:el("{{label}}è³",{label:el("ã©ã¹ãã¯ã³")})})]})})]}),(0,l.jsx)("div",{className:"text-[10px] font-light leading-[14px] text-[#858585]",children:el("ã¬ãã£ã®æå¾ã®1åãå¼ããã¦ã¼ã¶ã¼ã«ãç¹å¥ãªç¹å
¸ãä»ä¸ã§ãã¾ãã")})]}),(0,l.jsx)(B.uv4,{label:el("ã©ã¹ãã¯ã³è³ã«å«ããæç¨¿"),selectedPostIds:e7?[e7]:[],disabledPostIds:sx,singleSelect:!0,hideSelectButton:eP,onSelectionChange:so,exceptGachaId:s})]}),(0,l.jsx)("div",{className:"my-1 border-t-[0.5px] border-solid border-[#CCC]"}),sh&&(0,l.jsx)(B.mZ,{post:sh,isSecretEnabled:se,onSecretEnabledChange:sp,disabled:eg,disabledReason:ej}),(0,l.jsxs)("div",{ref:sR("genres"),className:"flex flex-col gap-3",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,l.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,l.jsxs)("div",{className:"flex gap-1 text-base font-semibold leading-6",children:[(0,l.jsx)("div",{className:"text-primary",children:"*"}),(0,l.jsx)("div",{className:"text-black",children:el("ã¸ã£ã³ã«")})]}),(0,l.jsx)("div",{className:"text-black text-[11px] font-light",children:el("ï¼å¿
ã1ã¤ã¯æå®ãã¦ãã ããï¼")})]}),(0,l.jsx)("div",{className:"text-black text-[11px] font-light",children:el("ãã®ã¬ãã£ã«å«ã¾ããæç¨¿ã«è¨å®ããã¦ããã¸ã£ã³ã«ããæå¤§3ã¤ã¾ã§è¨å®å¯è½ã§ãã")})]}),Array.from({length:3}).map((e,s)=>{let t=sk?.[s];return t?(0,l.jsx)(B.vJ3,{onClick:()=>s$(s),children:(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2 rounded-lg border p-3 hover:border-black/30",children:[(0,l.jsx)("div",{className:"w-full truncate text-left text-base",children:el(`ã¸ã£ã³ã«ã¿ã°_${t}`)}),(0,l.jsx)(d.gc,{icon:r.bnw,fontSize:16,className:"text-[#ADACAC]",onClick:e=>{let t;e.stopPropagation(),(t=[...sk]).splice(s,1),sb("genres",t)}})]})},t):(0,l.jsx)(B.vJ3,{onClick:()=>s$(s),children:(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2 rounded-lg border p-3 hover:border-black/30",children:[(0,l.jsx)("div",{className:"text-base text-placeholder",children:`${el("ã¸ã£ã³ã«")}${s+1}`}),(0,l.jsx)(d.gc,{icon:i.XkK,className:"text-[12px]"})]})},s)}),(0,l.jsx)(O,{selectedGenreInputIndex:sB,onClose:()=>s$(null),selectedGenreKeys:sk||[],selectableGenres:si,setSelectedGenres:e=>sb("genres",e)})]}),(0,l.jsx)("div",{className:"my-1 border-t-[0.5px] border-solid border-[#CCC]"}),(0,l.jsxs)("div",{className:"flex flex-col gap-5 pb-10",children:[(0,l.jsx)("div",{className:"text-[20px]/7 font-semibold",children:el("å
¬éè¨å®")}),(0,l.jsxs)("div",{className:`flex flex-col gap-3 ${em?"border-b border-[#
1E0E0E0] pb-6":""}`,children:[(0,l.jsx)("div",{className:"text-base font-semibold leading-6 text-black",children:el("å
¬éæé")}),(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsx)(f.xI,{name:"publishStartAt",control:sj,render:({field:e})=>(0,l.jsx)(B.lrV,{disabledMinutes:!0,disabled:eP,onChange:e.onChange,placeholder:el("éå§æ¥ã鏿"),value:e.value,slots:{openPickerIcon:()=>(0,l.jsx)(d.gc,{icon:i.okg,className:"text-xl text-[#858585]"})},sx:G})}),(0,l.jsx)(f.xI,{name:"publishEndAt",control:sj,rules:{validate:e=>{let{publishStartAt:s}=su();return!s||!e||e>s||el("çµäºæ¥æã¯éå§æ¥æããå¾ã«ãã¦ãã ããã")}},render:({field:e,fieldState:{error:s}})=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(B.lrV,{disablePast:!0,disabledMinutes:!0,disabled:eP,onChange:e.onChange,placeholder:el("çµäºæ¥ã鏿"),value:e.value,slots:{openPickerIcon:()=>(0,l.jsx)(d.gc,{icon:i.okg,className:"text-xl text-[#858585]"})},sx:G}),s&&(0,l.jsx)("div",{className:"text-xs text-red-500",children:s.message})]})})]})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsx)("div",{className:"text-base font-semibold leading-6 text-black",children:el("å
¬éæ¹æ³")}),(0,l.jsx)(f.xI,{name:"autoPublish",control:sj,render:({field:{onChange:e,value:s}})=>(0,l.jsxs)("div",{className:`flex flex-col gap-3 ${eP?"pointer-events-none opacity-50":""}`,children:[(0,l.jsx)(B.vJ3,{onClick:()=>e(!1),children:(0,l.jsxs)("div",{className:"flex flex-col items-start text-left",children:[(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)(B.ZYi,{checked:!1===s||void 0===s}),(0,l.jsx)("div",{className:"text-sm font-light leading-5 text-black",children:el("æåå
¬é")})]}),(0,l.jsx)("div",{className:"text-[10px] font-light leading-[14px] text-[#8B8B8B]",children:el("ï¼å
¬éæ¡ä»¶ãæºãããå¾ãå
¬éããããã¿ã³ãæ¼ä¸ããã¿ã¤ãã³ã°ã§å
¬éï¼")})]})}),(0,l.jsx)(B.vJ3,{onClick:()=>e(!0),children:(0,l.jsxs)("div",{className:"flex flex-col items-start text-left",children:[(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)(B.ZYi,{checked:!0===s}),(0,l.jsx)("div",{className:"text-sm font-light leading-5 text-black",children:el("èªåå
¬é")})]}),(0,l.jsx)("div",{className:"text-[10px] font-light leading-[14px] text-[#8B8B8B]",children:el("ï¼å
¬éæ¡ä»¶ããã¹ã¦æºãããæç¹ã§ãèªåã§å
¬éï¼")})]})})]})})]}),(0,l.jsxs)("div",{ref:sR("price"),className:"flex flex-col gap-3",children:[(0,l.jsx)("div",{className:"flex gap-1 text-base font-semibold leading-6",children:(0,l.jsx)("div",{className:"text-black",children:el("1åãããã®ä¾¡æ ¼")})}),(0,l.jsx)(f.xI,{name:"price",control:sj,rules:{pattern:{value:ed?/^\d+(\.\d{0,2})?$/:/^[0-9]*$/,message:el("åè§æ°åã§å
¥åãã¦ãã ããã")},min:{value:en(100)??100,message:"è²©å£²ä¾¡æ ¼ã¯ã{{price}}以ä¸ã«è¨å®ãã¦ãã ããã"}},render:({field:e,fieldState:{error:s}})=>(0,l.jsx)(B.pde,{...e,type:"number",fullWidth:!0,disabled:eP,error:!!s,helperText:s?.type==="min"?(0,l.jsx)(P.x6,{i18nKey:"è²©å£²ä¾¡æ ¼ã¯ã{{price}}以ä¸ã«è¨å®ãã¦ãã ããã",components:{price:(0,l.jsx)(N.S,{amount:100,size:"sm",color:"error"})}}):s?.message,ref:null,value:e.value||"",placeholder:"0",onChange:s=>{let t=s.target.value;if(""===t)return void e.onChange(0);let l=Number(t);e.onChange(Number.isNaN(l)?0:l)},inputProps:{className:"[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"},sx:{"& input::placeholder":{color:"#000 !important",opacity:"1 !important"}},onFocus:s=>{0===e.value&&s.target.select()},InputProps:{startAdornment:(0,l.jsx)("span",{className:"mr-1 text-base text-black",children:er})}})})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg bg-[#F5F5F5] p-2",children:[(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("div",{className:"text-xs font-semibold leading-4 text-black",children:el("å
¨åè³¼å
¥æã®åè¨éé¡")}),(0,l.jsx)("div",{className:"text-[10px] font-light leading-[14px] text-[#858585]",children:el("è¨å®ããä¾¡æ ¼ã»æç¨¿æ°ã«å¿ãã¦ãèªåè¨ç®ãã¾ãã")})]}),(0,l.jsxs)("div",{className:"flex items-baseline justify-between",children:[(0,l.jsxs)("div",{className:"flex gap-6 items-center text-xs font-light text-[#858585]",children:[(0,l.jsx)("span",{children:(0,l.jsx)(P.x6,{i18nKey:"ä¾¡æ ¼ï¼{{currencySign}}{{price}}/å",components:{price:(0,l.jsx)(N.S,{amount:sw||0,size:"sm",className:"text-[#858585]"})}})}),(0,l.jsx)("span",{children:el("æç¨¿æ°ï¼{{count}}",{count:sI})})]}),(0,l.jsx)(N.S,{amount:sz,size:"md",bold:!0})]})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsx)("div",{className:"text-base font-semibold leading-6 text-black",children:el("è³¼å
¥å¯è½ã¦ã¼ã¶ã¼ã®è¨å®")}),(0,l.jsx)(f.xI,{name:"purchaseTarget",control:sj,render:({field:e})=>(0,l.jsxs)(B.l6P,{...e,displayEmpty:!0,fullWidth:!0,disabled:eP,ref:null,sx:{"& .MuiSelect-icon":{right:"12px"}},IconComponent:e=>(0,l.jsx)("div",{className:"text-[12px] text-black",children:(0,l.jsx)(d.gc,{icon:r.Jt$,...e})}),children:[(0,l.jsx)(x.A,{value:"everyone",children:el("ãã¹ã¦ã®ã¦ã¼ã¶ã¼")}),(0,l.jsx)(x.A,{value:"only_plan_subscribers",children:el("ãã©ã³å å
¥è
éå®")})]})})]})]})]}),(!em||0===ef)&&(0,l.jsxs)("div",{className:"sticky bottom-[53px] z-[1] -mb-[11px] -mt-3 flex flex-col gap-2 bg-white pb-4 pt-2",children:[s_&&(0,l.jsx)("p",{className:"text-[10px]/[16px] font-light text-primary text-center",children:el("â»æ¡ä»¶ãæºããã¦ããå ´åã«ã¯èªåã§å
¬éããã¾ã")}),(0,l.jsxs)("div",{className:"flex gap-3",children:[(0,l.jsx)("button",{type:"button",onClick:()=>eb(!0),className:"shrink-0 rounded-full border border-primary bg-white px-4 py-2 text-base font-semibold leading-6 text-primary",children:el("ãã£ã³ã»ã«")}),(0,l.jsx)("button",{type:"submit",disabled:!sN||ec.isLoading||ex.isLoading||eo.isLoading,className:"flex-1 rounded-full px-4 py-2 text-base font-semibold leading-6 enabled:bg-primary enabled:text-white disabled:bg-[#EBEBEB] disabled:text-[#ADACAC]",children:ec.isLoading||ex.isLoading||eo.isLoading?(0,l.jsx)(c.A,{size:14,color:"inherit"}):el(em?"æ´æ°ãã":"使ãã")})]})]}),1===ef&&(0,l.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsx)("div",{className:"text-base font-semibold leading-6 text-black",children:el("ãµã ããè¨å®ãã")}),(0,l.jsxs)("div",{className:"flex gap-2.5 rounded bg-[#F5F5F5] p-2",children:[(0,l.jsx)("div",{className:"shrink-0",children:(0,l.jsx)(h(),{src:"/images/gacha/gacha_thumbnail.svg",alt:"",width:93,height:77,unoptimized:!0})}),(0,l.jsx)("div",{className:"flex-1 text-[10px] font-light leading-[14px] text-black",children:el("ã¬ãã£ä¸è¦§ãã¼ã¸ã®TOPã«è¡¨ç¤ºããããµã ãã¤ã«ã§ããæ¨å¥¨ãµã¤ãºã¯1280\xd7720ãã¯ã»ã«ã§ãã")})]})]}),!eB&&!e$&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(B._OO,{accept:"image/jpeg,image/png",name:"thumbnail",setAcceptedFile:eM,children:eS?(0,l.jsx)("div",{className:"cursor-pointer rounded-[4px] bg-[#eee] p-2",children:(0,l.jsxs)("div",{className:"relative aspect-video overflow-hidden rounded-[4px] border-2 border-white",children:[(0,l.jsx)(h(),{src:eS,alt:"",fill:!0,className:"object-cover"}),(0,l.jsx)("div",{className:"absolute bottom-1 right-1 flex size-5 items-center justify-center rounded-full border-2 border-white bg-[#989898]",children:(0,l.jsx)(d.gc,{icon:r.rwq,className:"text-[10px] text-white"})})]})}):(0,l.jsxs)("div",{className:"flex cursor-pointer flex-col items-center justify-center gap-2 rounded-[6px] border border-solid border-primary px-4 py-[36.5px]",children:[(0,l.jsx)(d.gc,{icon:r.rwq,className:"text-[56px] text-primary"}),(0,l.jsx)("div",{className:"text-sm font-semibold leading-5 text-primary",children:el("ç»åãã¢ãããã¼ããã")}),(0,l.jsxs)("div",{className:"text-left text-[10px] font-light leading-[14px] text-[#858585]",children:[(0,l.jsx)("div",{children:el("â»è¨å®/æ´æ°ããã¨å¯©æ»å¯¾è±¡ã¨ãªããå©ç¨è¦ç´éåããã£ãå ´åã¯ã")}),(0,l.jsx)("div",{children:el("äºåãªãã¢ã«ã¦ã³ããåçµãããå¯è½æ§ãããã¾ãã")})]})]})}),ez&&(0,l.jsx)("button",{type:"button",disabled:!eO||ew,onClick:eT,className:"w-full rounded-full py-3 text-lg font-semibold enabled:bg-primary enabled:text-white disabled:bg-[#ebebeb] disabled:text-[#adacac]",children:ew?(0,l.jsx)(c.A,{size:14,color:"inherit"}):el("ç³è«ãã")})]}),eB&&!e$&&(0,l.jsxs)("div",{className:"rounded-[4px] bg-[#eee] p-2",children:[(0,l.jsx)("div",{className:"relative aspect-video overflow-hidden rounded-[4px] border-2 border-white",children:(0,l.jsx)(h(),{src:eB.image_url??"",alt:"",fill:!0,className:"object-cover"})}),(0,l.jsx)("div",{className:"mt-2 flex items-center justify-center border-2 border-white bg-white p-2 text-[13px]",children:(0,l.jsxs)("span",{className:"text-[#15aa86]",children:[(0,l.jsx)(d.gc,{icon:i.e68,className:"mr-1"}),(0,l.jsx)("span",{children:el("æ¿èªæ¸ã¿")})]})})]}),eB&&e$&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"rounded-[4px] bg-[#eee] p-2",children:[(0,l.jsx)("div",{className:"relative aspect-video overflow-hidden rounded-[4px] border-2 border-white",children:(0,l.jsx)(h(),{src:eB.image_url??"",alt:"",fill:!0,className:"object-cover"})}),(0,l.jsx)("div",{className:"mt-2 flex items-center justify-center border-2 border-white bg-white p-2 text-[13px]",children:(0,l.jsxs)("span",{className:"text-[#15aa86]",children:[(0,l.jsx)(d.gc,{icon:i.e68,className:"mr-1"}),(0,l.jsx)("span",{children:el("æ¿èªæ¸ã¿")})]})})]}),(0,l.jsxs)("div",{className:"flex gap-8 p-5",children:[(0,l.jsx)(d.gc,{className:"text-5xl text-[#858585]",icon:n.B0C}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-xs font-semibold",children:el("ç»åã®å¤æ´ç³è«ä¸ã§ã")}),(0,l.jsx)("p",{className:"mt-1 text-[11px] text-[#989898]",children:el("夿´ã®ç³è«ãæ¿èªãããã¾ã§ã¯ãæ¿èªæ¸ã¿ã®ç»åãæå¹ã¨ãªãã¾ã")})]})]}),(0,l.jsxs)("div",{className:"rounded-[4px] bg-[#eee] p-2",children:[(0,l.jsx)("div",{className:"relative aspect-video overflow-hidden rounded-[4px] border-2 border-white",children:(0,l.jsx)(h(),{src:e$.image_url??"",alt:"",fill:!0,className:"object-cover"})}),(0,l.jsxs)("div",{className:"mt-2 flex items-center justify-center border-2 border-white bg-white p-2 text-[13px]",children:["under_review"===e$.status&&(0,l.jsx)("span",{className:"text-[#858585]",children:el("審æ»ä¸")}),"rejected"===e$.status&&(0,l.jsxs)("span",{className:"text-[#ff5757]",children:[(0,l.jsx)(d.gc,{icon:i.Jyw,className:"mr-1"}),(0,l.jsx)("span",{children:el("ç³è«å´ä¸")})]})]})]}),(0,l.jsx)("div",{className:"text-[10px]/[14px] font-light text-[#858585]",children:`ã»${el("è¨å®ããã¨å¯©æ»å¯¾è±¡ã¨ãªããå©ç¨è¦ç´éåããã£ãå ´åã¯ãäºåãªãã¢ã«ã¦ã³ããåçµãããå¯è½æ§ãããã¾ãã")}`}),"rejected"===e$.status&&(0,l.jsxs)("div",{children:[eI&&(0,l.jsx)(X,{rejectedReason:eI}),(0,l.jsx)("div",{className:"mt-[14px] text-center",children:(0,l.jsx)(B.$nd,{size:"small",variant:"outlined",onClick:eJ,sx:{height:"36px"},children:(0,l.jsx)("div",{className:"flex items-center gap-1",children:(0,l.jsx)("div",{className:"text-xs font-semibold",children:el("ç³è«å´ä¸ã確èª")})})})})]})]}),!eB&&e$&&(0,l.jsxs)(l.Fragment,{children:["under_review"===e$.status?(0,l.jsxs)("div",{className:"rounded-[4px] bg-[#eee] p-2",children:[(0,l.jsx)("div",{className:"relative aspect-video overflow-hidden rounded-[4px] border-2 border-white",children:(0,l.jsx)(h(),{src:e$.image_url??"",alt:"",fill:!0,className:"object-cover"})}),(0,l.jsx)("div",{className:"mt-2 flex items-center justify-center border-2 border-white bg-white p-2 text-[13px]",children:(0,l.jsx)("span",{className:"text-[#858585]",children:el("審æ»ä¸")})})]}):ez?(0,l.jsx)(B._OO,{accept:"image/jpeg,image/png",name:"thumbnail",setAcceptedFile:eM,children:(0,l.jsxs)("div",{className:"cursor-pointer rounded-[4px] bg-[#eee] p-2",children:[(0,l.jsxs)("div",{className:"relative aspect-video overflow-hidden rounded-[4px] border-2 border-white",children:[(0,l.jsx)(h(),{src:eS??e$.image_url??"",alt:"",fill:!0,className:"object-cover"}),(0,l.jsx)("div",{className:"absolute bottom-1 right-1 flex size-5 items-center justify-center rounded-full border-2 border-white bg-[#989898]",children:(0,l.jsx)(d.gc,{icon:r.rwq,className:"text-[10px] text-white"})})]}),!ek&&"rejected"===e$.status&&(0,l.jsx)("div",{className:"mt-2 flex items-center justify-center border-2 border-white bg-white p-2 text-[13px]",children:(0,l.jsxs)("span",{className:"text-[#ff5757]",children:[(0,l.jsx)(d.gc,{icon:i.Jyw,className:"mr-1"}),(0,l.jsx)("span",{children:el("ç³è«å´ä¸")})]})})]})}):(0,l.jsxs)("div",{className:"rounded-[4px] bg-[#eee] p-2",children:[(0,l.jsx)("div",{className:"relative aspect-video overflow-hidden rounded-[4px] border-2 border-white",children:(0,l.jsx)(h(),{src:e$.image_url??"",alt:"",fill:!0,className:"object-cover"})}),"rejected"===e$.status&&(0,l.jsx)("div",{className:"mt-2 flex items-center justify-center border-2 border-white bg-white p-2 text-[13px]",children:(0,l.jsxs)("span",{className:"text-[#ff5757]",children:[(0,l.jsx)(d.gc,{icon:i.Jyw,className:"mr-1"}),(0,l.jsx)("span",{children:el("ç³è«å´ä¸")})]})})]}),"rejected"===e$.status?(0,l.jsxs)("div",{children:[eI&&(0,l.jsx)(X,{rejectedReason:eI}),(0,l.jsx)("div",{className:"mt-[14px] text-center",children:(0,l.jsx)(B.$nd,{size:"small",variant:"outlined",onClick:eJ,sx:{height:"36px"},children:(0,l.jsx)("div",{className:"flex items-center gap-1",children:(0,l.jsx)("div",{className:"text-xs font-semibold",children:el("ç³è«å´ä¸ã確èª")})})})})]}):null]})]}),2===ef&&(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[!eV&&!eY&&eZ&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(B._OO,{accept:"video/mp4,video/quicktime",name:"sample_video",setAcceptedFile:e1,children:eU?(0,l.jsx)("div",{className:"rounded-[4px] bg-[#eee] p-2",children:(0,l.jsxs)("div",{className:"relative flex aspect-video items-center justify-center overflow-hidden border-2 border-white",children:[(0,l.jsx)(c.A,{variant:"determinate",value:eW}),(0,l.jsx)("div",{className:"absolute text-xs text-black",children:`${eW}%`})]})}):eL?(0,l.jsxs)("div",{className:"cursor-pointer rounded bg-[#EEEEEE] p-2 flex flex-col gap-2",children:[!!eL.duration&&eL.duration>0&&(0,l.jsxs)("div",{className:"flex items-center justify-between py-2 px-1 text-base",children:[(0,l.jsx)("div",{className:"text-[14px]/5",children:`${el("åç»ã®é·ã")}
1 ${(0,J.Xd)(eL.duration,{two_digit:!0})}`}),(0,l.jsxs)(B.vJ3,{className:"flex items-center gap-1 text-[#FF5757]",onClick:e=>{e.stopPropagation(),eK(null)},children:[(0,l.jsx)(d.gc,{className:"text-[12px]",icon:a.sjs}),(0,l.jsx)("div",{className:"text-[12px]/4",children:el("åç»ãåé¤")})]})]}),(0,l.jsx)("div",{className:"relative aspect-video overflow-hidden border-2 border-white",children:(0,l.jsx)(v(),{controls:!0,width:"100%",height:"100%",url:eL.video_url,config:D.P})})]}):(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsxs)("div",{className:"flex cursor-pointer flex-col items-center justify-center gap-2 rounded-[6px] border border-solid border-primary px-4 py-[36.5px]",children:[(0,l.jsx)(d.gc,{icon:r.XYj,className:"text-[56px] text-primary"}),(0,l.jsx)("div",{className:"text-sm font-semibold leading-5 text-primary",children:el("åç»ãã¢ãããã¼ããã")}),(0,l.jsxs)("div",{className:"text-left text-[10px] font-light leading-[14px] text-[#858585]",children:[(0,l.jsx)("div",{children:el("â»è¨å®/æ´æ°ããã¨å¯©æ»å¯¾è±¡ã¨ãªããå©ç¨è¦ç´éåããã£ãå ´åã¯ã")}),(0,l.jsx)("div",{children:el("äºåãªãã¢ã«ã¦ã³ããåçµãããå¯è½æ§ãããã¾ãã")})]})]}),(0,l.jsx)("div",{className:"text-[10px]/[14px] font-light text-[#858585]",children:`ã»${el("ãã¡ã¤ã«å®¹é{{max_video_size}}ã¾ã§ãæé·{{max_video_duration}}åã®åç»ãã¢ãããã¼ãå¯è½ã§ã",{max_video_size:y.dH,max_video_duration:y.cO/60})}`})]})}),(0,l.jsx)(B.$nd,{fullWidth:!0,variant:"contained",color:"primary",size:"large",className:"!py-3 !text-lg font-semibold",loading:eR,disabled:!e0,onClick:e5,children:el("ç³è«ãã")})]}),eV&&!eY&&(0,l.jsxs)("div",{className:"rounded bg-[#eee] p-2",children:[!!eV.duration_ms&&eV.duration_ms>0&&(0,l.jsx)("div",{className:"px-1 py-2 text-[14px]/5",children:`${el("åç»ã®é·ã")} ${(0,J.Xd)(eV.duration_ms/1e3,{two_digit:!0})}`}),(0,l.jsx)("div",{className:"relative aspect-video overflow-hidden border-2 border-white",children:(0,l.jsx)(v(),{controls:!0,width:"100%",height:"100%",url:eV.video_url??"",config:D.P})}),(0,l.jsx)("div",{className:"mt-2 flex items-center justify-center border-2 border-white bg-white p-2 text-[13px]",children:(0,l.jsxs)("span",{className:"text-[#15aa86]",children:[(0,l.jsx)(d.gc,{icon:i.e68,className:"mr-1"}),(0,l.jsx)("span",{children:el("æ¿èªæ¸ã¿")})]})})]}),eY&&(0,l.jsxs)(l.Fragment,{children:["processing"===eY.status&&(0,l.jsxs)("div",{className:"flex items-center gap-2 bg-[#DBEAFE] px-4 py-2",children:[(0,l.jsx)(d.gc,{icon:r.mEO,className:"shrink-0 text-[14px] text-[#3B82F6]"}),(0,l.jsx)("p",{className:"text-[12px]/4 font-light text-[#3B82F6]",children:el("夿å¦çä¸ã§ãããã°ãããå¾
ã¡ãã ããã")})]}),"conversion_failed"===eY.status&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 bg-[#FEE2E2] px-4 py-2",children:[(0,l.jsx)(d.gc,{icon:r.lEd,className:"shrink-0 text-[14px] text-[#EF4444]"}),(0,l.jsx)("p",{className:"text-[12px]/4 font-light text-[#EF4444]",children:el("夿ã«å¤±æãã¾ããã")})]}),(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsx)(B.$nd,{size:"small",variant:"outlined",onClick:e2,sx:{height:"36px"},children:(0,l.jsx)("div",{className:"flex items-center gap-1",children:(0,l.jsx)("div",{className:"text-xs font-semibold",children:el("ç³è«ãåãä¸ãã")})})})})]}),"processing"!==eY.status&&"conversion_failed"!==eY.status&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"rounded bg-[#eee] p-2",children:[!!eY.duration_ms&&eY.duration_ms>0&&(0,l.jsx)("div",{className:"px-1 py-2 text-[14px]/5",children:`${el("åç»ã®é·ã")} ${(0,J.Xd)(eY.duration_ms/1e3,{two_digit:!0})}`}),(0,l.jsx)("div",{className:"relative aspect-video overflow-hidden border-2 border-white",children:(0,l.jsx)(v(),{controls:!0,width:"100%",height:"100%",url:eY.video_url??"",config:D.P})}),(0,l.jsx)("div",{className:"mt-2 flex items-center justify-center border-2 border-white bg-white p-2 text-[13px]",children:"under_review"===eY.status?(0,l.jsx)("span",{className:"text-[#858585]",children:el("審æ»ä¸")}):(0,l.jsxs)("span",{className:"text-[#ff5757]",children:[(0,l.jsx)(d.gc,{icon:i.Jyw,className:"mr-1"}),(0,l.jsx)("span",{children:el("ç³è«å´ä¸")})]})})]}),"under_review"===eY.status&&(0,l.jsx)("div",{className:"text-[10px]/[14px] font-light text-[#858585]",children:`ã»${el("è¨å®ããã¨å¯©æ»å¯¾è±¡ã¨ãªããå©ç¨è¦ç´éåããã£ãå ´åã¯ãäºåãªãã¢ã«ã¦ã³ããåçµãããå¯è½æ§ãããã¾ãã")}`}),"rejected"===eY.status&&eQ&&(!!eQ.description||(eQ.uncensored_reasons?.length??0)>0)&&(0,l.jsxs)("div",{className:"bg-[#ff5757]/[0.12] p-4",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-3 text-[#ff5757]",children:[(0,l.jsx)(d.gc,{className:"text-[28px]",icon:r.
1nEM}),(0,l.jsxs)("div",{className:"text-xs font-semibold",children:[(0,l.jsx)("div",{children:el("èªè¨¼ãå®äºã§ãã¾ããã§ãã")}),(0,l.jsx)("div",{children:el("å¦èªçç±ã確èªããåç³è«ãã¦ãã ãã")})]})]}),(0,l.jsx)("div",{className:"mt-4 rounded-md bg-white px-5 py-5",children:(0,l.jsxs)("div",{className:"flex flex-col gap-7 text-center text-xs font-light leading-[140%]",children:[(eQ.uncensored_reasons?.length??0)>0&&(0,l.jsxs)("div",{className:"flex flex-col gap-3 items-center",children:[(0,l.jsx)("div",{className:"text-[#858585]",children:el("å¦èªçç±")}),(0,l.jsx)("div",{className:"flex flex-col gap-3",children:eQ.uncensored_reasons?.map(e=>(0,l.jsx)("div",{className:"text-black",children:e.title},e.title))})]}),eQ.description&&(0,l.jsxs)("div",{className:"flex flex-col gap-3 items-center",children:[(0,l.jsx)("div",{className:"text-[#858585]",children:el("å¦èªè©³ç´°")}),(0,l.jsx)("div",{className:"text-black",children:eQ.description})]})]})})]}),(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsx)(B.$nd,{size:"small",variant:"outlined",onClick:e2,sx:{height:"36px"},children:(0,l.jsx)("div",{className:"flex items-center gap-1",children:(0,l.jsx)("div",{className:"text-xs font-semibold",children:el("ç³è«ãåãä¸ãã")})})})})]})]})]}),(0,l.jsx)($.A,{open:ev,onClose:()=>eb(!1),title:el("ã¬ãã£å
¥åå
容ãç ´æ£ããã¾ã"),PaperProps:{sx:{borderRadius:"16px",maxWidth:340}},actions:[(0,l.jsx)("button",{type:"button",onClick:()=>eb(!1),className:"h-[45px] w-[280px] self-center rounded-full bg-primary text-base font-semibold leading-[1.4] text-white",children:em?el("ç·¨éã«æ»ã"):el("ä½æã«æ»ã")},"back"),(0,l.jsx)("button",{type:"button",onClick:()=>ea.push(T.y.account.gachas.$url()),className:"self-center bg-transparent text-sm font-semibold leading-[1.4] text-primary",children:el("ãã£ã³ã»ã«ãã")},"cancel")],children:(0,l.jsx)("div",{className:"whitespace-pre-line text-center text-[13px] font-light leading-[1.8] text-[#858585]",children:el("ãã£ã³ã»ã«ããã¨å
¥åå
容ã\nç ´æ£ããã¾ã")})}),(0,l.jsx)($.A,{fullWidth:!0,maxWidth:"xs",open:eN,onClose:()=>ey(!1),title:el("ç³è«ãå®äºãã¾ãã"),actions:[(0,l.jsx)(B.$nd,{onClick:()=>ey(!1),size:"large",variant:"outlined",children:el("éãã")},"close")],children:(0,l.jsx)("div",{className:"text-sm text-black/[0.48]",children:el("審æ»å®äºã¾ã§ãã°ãããå¾
ã¡ä¸ãã")})})]})}function X({rejectedReason:e}){let{t:s}=(0,P.Bd)();return e.description||(e.uncensored_reasons?.length??0)>0?(0,l.jsxs)("div",{className:"bg-[#ff5757]/[0.12] p-4",children:[(0,l.jsxs)("div",{className:"flex items-center justify-center gap-3 text-[#ff5757]",children:[(0,l.jsx)(d.gc,{className:"text-[28px]",icon:r.nEM}),(0,l.jsxs)("p",{className:"text-xs font-semibold",children:[(0,l.jsx)("div",{children:s("ãµã ã審æ»ãå¦èªããã¾ãã")}),(0,l.jsx)("div",{children:s("å¦èªçç±ã確èªããåç³è«ãã¦ãã ãã")})]})]}),(0,l.jsx)("div",{className:"mt-4 rounded-md bg-white px-5 py-5",children:(0,l.jsxs)("div",{className:"flex flex-col gap-7 text-center text-xs font-light leading-[140%]",children:[(e.uncensored_reasons?.length??0)>0&&(0,l.jsxs)("div",{className:"flex flex-col gap-3 items-center",children:[(0,l.jsx)("div",{className:"text-[#858585]",children:s("å¦èªçç±")}),(0,l.jsx)("div",{className:"flex flex-col gap-3",children:e.uncensored_reasons?.map(e=>(0,l.jsx)("div",{className:"text-black",children:e.title},e.title))})]}),e.description&&(0,l.jsxs)("div",{className:"flex flex-col gap-3 items-center",children:[(0,l.jsx)("div",{className:"text-[#858585]",children:s("å¦èªè©³ç´°")}),(0,l.jsx)("div",{className:"text-black",children:e.description})]})]})})]}):null}}}]);
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.