"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[31763],{14061:function(e,n,t){t.d(n,{u:function(){return d}});var r=t(85893),i=t(12339),o=t(95631),s=t(24916),l=t(32630),a=t(67294);function c(e){0===e.clientHeight?e.style.visibility="hidden":e.style.visibility=""}function d(e){let n=function(){let e=function(e){let n=(0,a.useRef)(null),t=(0,a.useRef)(new ResizeObserver(t=>e(t,n.current)));return(0,a.useEffect)(()=>{let e=n.current;e&&t.current.observe(e);let r=t.current;return()=>{e&&r.unobserve(e)}},[]),n}((e,n)=>{if(n&&0!==e.length)for(let e of n.children)c(e)});return(0,l.LI)(()=>{if(e.current)for(let n of e.current.children)c(n)},[]),e}();return(0,r.jsx)(u,{ref:n,$rows:e.rows,$mobileRows:e.mobileMaxRows,className:e.className,children:e.children})}let u=(0,o.ZP)(s.i).withConfig({componentId:"sc-96f10c4f-0"})(["grid-template-rows:repeat(",",auto);margin-top:-24px;grid-auto-rows:0;row-gap:0;> li{margin:24px 0 0 0;}@media ","{margin:0;"," > li{margin:0;}}"],e=>e.$rows,e=>(0,i.kk)(e.theme.breakpoint.screen1),e=>e.$mobileRows&&(0,o.iv)(["grid-template-rows:repeat(",",auto);"],e.$mobileRows))},7181:function(e,n,t){t.d(n,{A:function(){return c}});var r=t(85893);t(67294);var i=t(85335),o=t(12339),s=t(95631),l=t(14061),a=t(79058);function c(e){var n,t,i;let o=null!==(t=e.mobileMaxRows)&&void 0!==t?t:3,s=null!==(i=e.desktopRows)&&void 0!==i?i:2;return e.useEmptySkelton?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d,{scale:s}),(0,r.jsx)(u,{children:(0,r.jsx)(l.u,{rows:s,mobileMaxRows:o,children:Array.from({length:2*o},(e,n)=>(0,r.jsx)(a.$,{children:(0,r.jsx)(h,{})},n))})})]}):(0,r.jsx)(l.u,{rows:s,mobileMaxRows:o,children:null===(n=e.items)||void 0===n?void 0:n.map(n=>(0,r.jsx)(a.$,{children:e.factory(n)},n.id))})}let d=s.ZP.div.withConfig({componentId:"sc-c7ead10a-0"})(["height:","px;@media ","{display:none;}"],e=>{let{scale:n}=e;return p*n+i.K_*(n-1)},e=>(0,o.kk)(e.theme.breakpoint.screen1)),u=s.ZP.div.withConfig({componentId:"sc-c7ead10a-1"})(["display:none;@media ","{display:block;}"],e=>(0,o.kk)(e.theme.breakpoint.screen1)),p=(0,i.iH)(2,i.hw,i.K_)+54,h=s.ZP.div.withConfig({componentId:"sc-c7ead10a-2"})(["display:none;@media ","{display:block;width:100%;height:auto;aspect-ratio:1;}"],e=>(0,o.kk)(e.theme.breakpoint.screen1))},22254:function(e,n,t){t.d(n,{X:function(){return a}});var r=t(85893),i=t(12339),o=t(95631),s=t(14061),l=t(40100);function a(e){var n;let t=void 0===e.hasBorder||e.hasBorder;return(0,r.jsx)(c,{rows:e.rows,mobileMaxRows:e.mobileMaxRows,rowsOnScreen2:e.mobileMaxRows,children:null===(n=e.items)||void 0===n?void 0:n.map(n=>(0,r.jsx)(l.j,{hasBorder:t,children:e.factory(n)},n.id))})}let c=(0,o.ZP)(s.u).withConfig({componentId:"sc-905a9846-0"})(["@media ","{","}"],e=>(0,i.kk)(e.theme.breakpoint.screen2),e=>e.rowsOnScreen2&&(0,o.iv)(["grid-template-rows:repeat(",",auto);"],e.rowsOnScreen2))},79058:function(e,n,t){t.d(n,{$:function(){return o}});var r=t(95631),i=t(24916);let o=(0,r.ZP)(i.U).withConfig({componentId:"sc-77eaa482-0"})(["grid-column:span 2;"])},43150:function(e,n,t){t.d(n,{C:function(){return s}});var r=t(85893);t(67294);var i=t(79058),o=t(24916);function s(e){return(0,r.jsx)(o.i,{children:e.items.map(n=>(0,r.jsx)(i.$,{children:e.factory(n)},n.id))})}},85406:function(e,n,t){t.d(n,{q:function(){return s}});var r=t(85893);t(67294);var i=t(40100),o=t(24916);function s(e){let n=void 0===e.hasBorder||e.hasBorder;return(0,r.jsx)(o.i,{children:e.items.map(t=>(0,r.jsx)(i.j,{hasBorder:n,children:e.factory(t)},t.id))})}},76270:function(e,n,t){t.d(n,{lX:function(){return u},vQ:function(){return d}});var r=t(85893);t(67294);var i=t(12339),o=t(95631),s=t(20079),l=t(26181);let a=function(e,n,t,l){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"text2",c=(0,o.iv)(["font-size:",";line-height:",";@media ","{font-size:",";line-height:",";}color:",";font-weight:bold;"],(0,i.px)(e),(0,i.px)(n),e=>(0,i.kk)(e.theme.breakpoint.screen1),(0,i.px)(20===e?16:e),(0,i.px)(28===n?24:n),e=>e.theme.color[a]);return function(e){let{as:n,count:o,children:a,subLabel:d,link:u,rightChildren:m,gtmClassForLink:j,rightSubLabel:b,cancelHalfLeading:k=!1}=e;return(0,r.jsxs)(r.Fragment,{children:[d&&(0,r.jsx)(g,{children:d}),(0,r.jsxs)(p,{marginBottom:k?l+4:l,children:[(0,r.jsxs)(h,{children:[(0,r.jsx)(x,{as:null!=n?n:t,$_css:c,$_css2:(0,i.px)(k?-4:0),children:a}),b&&(0,r.jsx)(g,{marginLeft:4,children:b}),void 0!==o&&o>0&&(0,r.jsx)(f,{children:(0,r.jsx)(s.Z,{value:o})})]}),u&&(u.to?(0,r.jsx)(v,{href:u.to,target:u.blank?"_blank":"",className:j?"gtm-".concat(j):"",children:u.label}):(0,r.jsx)(w,{onClick:u.handleOnClick,children:u.label})),!u&&m]})]})}},c=a(20,28,"h2",12);n.ZP=c;let d=a(16,24,"h3",12),u=a(14,22,"div",4,"text1"),p=o.ZP.div.withConfig({componentId:"sc-4472982d-0"})(["display:flex;align-items:center;justify-content:space-between;margin-top:0;margin-bottom:","px;"],e=>e.marginBottom),h=o.ZP.div.withConfig({componentId:"sc-4472982d-1"})(["display:flex;align-items:center;justify-content:start;"]),f=o.ZP.div.withConfig({componentId:"sc-4472982d-2"})(["margin-left:8px;"]),m=o.ZP.h3.withConfig({componentId:"sc-4472982d-3"})([""]);var x=(0,o.ZP)(m).withConfig({componentId:"sc-4472982d-4"})([""," margin:"," 0;"],e=>e.$_css,e=>e.$_css2);let g=o.ZP.div.withConfig({componentId:"sc-4472982d-5"})(["font-size:14px;line-height:22px;font-weight:normal;color:",";@media ","{font-size:12px;line-height:16px;}",""],e=>{let{theme:n}=e;return n.color.text3},e=>{let{theme:n}=e;return(0,i.kk)(n.breakpoint.screen1)},e=>{let{marginLeft:n}=e;return n&&(0,o.iv)(["margin-left:","px;"],n)}),v=(0,o.ZP)(l.Z).withConfig({componentId:"sc-4472982d-6"})(["color:",";padding-right:16px;"],e=>{let{theme:n}=e;return n.color.text3}),w=o.ZP.span.withConfig({componentId:"sc-4472982d-7"})(["color:",";cursor:pointer;"],e=>{let{theme:n}=e;return n.color.text3})},83777:function(e,n,t){t.d(n,{Rl:function(){return c},XE:function(){return a},sO:function(){return l}});var r=t(85893);t(67294);var i=t(12339),o=t(95631),s=t(43581);let l=o.ZP.section.withConfig({componentId:"sc-7b5ed552-0"})(["margin:0 auto 0;padding-top:36px;padding-bottom:","px;@media ","{padding-top:16px;padding-bottom:24px;}"],e=>e.narrowPadding?36:64,e=>{let{theme:n}=e;return(0,i.kk)(n.breakpoint.screen1)}),a=o.ZP.div.withConfig({componentId:"sc-7b5ed552-1"})(["",""],e=>{let{theme:n,highlight:t}=e;return t&&(0,o.iv)(["background-color:",";"],n.color.surface3)});function c(e){let{children:n,highlight:t,narrowPadding:i,id:o}=e;return(0,r.jsx)(a,{highlight:t,id:o,children:(0,r.jsx)(s.Mv,{children:(0,r.jsx)(l,{narrowPadding:i,children:n})})})}},34060:function(e,n,t){t.d(n,{Z:function(){return a}});var r=t(85893);t(67294);var i=t(95631),o=t(5849),s=t(94114),l=t(14607);function a(e){var n;let[t]=(0,l.$G)(l.XP.qB.ns),i=null!==(n=e.message)&&void 0!==n?n:t(l.XP.qB.Yzj);return(0,r.jsxs)(c,{children:[(0,r.jsx)(d,{children:!0===e.isSearch?(0,r.jsx)(s.Z,{size:72,center:!0}):(0,r.jsx)(o.Z,{size:72})}),(0,r.jsx)(u,{children:i})]})}let c=i.ZP.div.withConfig({componentId:"sc-5e9cbb59-0"})(["display:flex;flex-flow:column;align-items:center;justify-content:center;height:408px;width:100%;"]),d=i.ZP.div.withConfig({componentId:"sc-5e9cbb59-1"})(["margin-bottom:12px;color:",";"],e=>{let{theme:n}=e;return n.color.text4}),u=i.ZP.span.withConfig({componentId:"sc-5e9cbb59-2"})(["font-weight:bold;font-size:20px;line-height:28px;color:",";"],e=>{let{theme:n}=e;return n.color.text4})},31763:function(e,n,t){t.d(n,{B:function(){return v}});var r=t(85893),i=t(73625),o=t(26181),s=t(35395),l=t(82536),a=t(14607),c=t(67294),d=t(91619),u=t(88121),p=t(66014);function h(e){let n=(0,d.mb)(),[t,o]=(0,p.pm)({type:"success"}),[s]=(0,a.$G)([a.XP.z8.ns]),[l,h]=(0,c.useState)(!1),[f,m]=(0,c.useState)(e.subscribed),x=async()=>{h(!0),m(!0);try{await (0,u.hd)(n,{creatorUserId:Number(e.creatorUserId)}),o(s(a.XP.z8.N5.QT))}catch(e){m(!1)}finally{h(!1)}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.zx,{size:e.size,onClick:x,disabled:l||f,fullWidth:!0,children:f?s(a.XP.z8.N5._u):s(a.XP.z8.N5.cc)}),t]})}var f=t(11163),m=t(99400),x=t(96954);function g(e){let[n]=(0,a.$G)([a.XP.z8.ns]),t=function(e){let n="/users/[user_id]/request"===(0,f.useRouter)().pathname;return(0,c.useMemo)(()=>n?"#".concat(m.k):x.EA.request({userId:e}),[e,n])}(e.creatorUserId);return(0,r.jsx)(o.Z,{href:t,children:(0,r.jsx)(i.zx,{size:e.size,fullWidth:!0,children:n(a.XP.z8.N5.OW)})})}function v(e){var n;let[t]=(0,a.$G)([a.XP.z8.ns]),c=(0,s.g)();return(null===(n=(0,l.Sk)())||void 0===n?void 0:n.id)===e.creatorUserId?(0,r.jsx)(o.Z,{href:c,children:(0,r.jsx)(i.zx,{size:e.size,fullWidth:!0,children:t(a.XP.z8.N5.Lm)})}):e.accepting?(0,r.jsx)(g,{creatorUserId:e.creatorUserId,size:e.size}):(0,r.jsx)(h,{creatorUserId:e.creatorUserId,size:e.size,subscribed:e.subscribed})}},77755:function(e,n,t){t.d(n,{Z:function(){return l}});var r=t(85893);t(67294);var i=t(12339),o=t(95631),s=t(45407);function l(e){let{requests:n,row:t}=e;return(0,r.jsx)(a,{children:n.map((e,n)=>t?3*t>n&&(0,r.jsx)(s.Z,{request:e,isResponsive:!0},e.requestId):(0,r.jsx)(s.Z,{request:e,isResponsive:!0},e.requestId))})}let a=o.ZP.div.withConfig({componentId:"sc-a490118b-0"})(["display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;@media ","{grid-template-columns:1fr 1fr;}@media ","{grid-template-columns:1fr;grid-row-gap:16px;}"],e=>{let{theme:n}=e;return(0,i.kk)(n.breakpoint.screen3)},e=>{let{theme:n}=e;return(0,i.kk)(n.breakpoint.screen1)})},35395:function(e,n,t){t.d(n,{g:function(){return o}});var r=t(75221),i=t(96954);function o(){let[e]=(0,r.Rl)();return i.z8.manageRequests({},{type:e})}},75221:function(e,n,t){t.d(n,{ti:function(){return i},y$:function(){return o},$H:function(){return a},Rl:function(){return c},Pe:function(){return u},uy:function(){return p}});var r=t(91760);let i=e=>{r.rN(r.Ll("commission-fan-letter-draft_".concat(e),void 0))},o=e=>{r.rN(r.Ll("commission-request-draft_".concat(e),void 0))};var s=t(67294),l=t(32630);let a=e=>{let[n,t]=(0,l.pD)((0,s.useMemo)(()=>r.Ll("commission-fan-letter-draft_".concat(e),void 0),[e]));return[null!=n?n:null,t]},c=()=>{let[e,n]=(0,l.pD)((0,s.useMemo)(()=>r.Ll("commission-manage-request-last-visited-type",void 0),[]));return[e,n]};var d=t(82536);let u=e=>{var n;let t=null===(n=(0,d.Sk)())||void 0===n?void 0:n.id,[i,o,a]=(0,l.pD)((0,s.useMemo)(()=>r.Ll("commission-request-draft_".concat(t),void 0),[t]));return i&&i.creatorUserId===e&&void 0!==t?[i,o,a]:[null,o,a]},p=e=>{let[n,t]=(0,l.pD)((0,s.useMemo)(()=>r.Ll("commission-tip",void 0),[])),i=(0,s.useCallback)(()=>{t({...n||{},[e]:!0})},[t,n,e]);return n?[void 0===n[e],i]:[!0,i]}},99400:function(e,n,t){t.d(n,{k:function(){return J},Z:function(){return V}});var r=t(85893),i=t(67294),o=t(73625),s=t(12339),l=t(41664),a=t.n(l),c=t(2664),d=t(95631),u=t(54935),p=t(10585),h=t(83777),f=t(76270),m=t(11958),x=t(17578),g=t(71354),v=t(32630),w=t(3164),j=t(43581),b=t(62434),k=t(26181),P=t(81379),I=t(96954),y=t(14607),C=t(32237),Z=t(11468);function z(e){var n,t;let{plan:i,narrow:s=!1}=e,[l]=(0,y.$G)([y.XP.z8.ns]),a=(0,Z.$T)(),c=(0,P.uD)(i),d=(0,P.WK)(i),u=[i.planAcceptIllustFlg&&l(y.XP.z8.WY.request_post_work_type_illust),i.planAcceptUgoiraFlg&&l(y.XP.z8.WY.request_post_work_type_ugoira),i.planAcceptMangaFlg&&l(y.XP.z8.WY.request_post_work_type_manga),i.planAcceptNovelFlg&&l(y.XP.z8.WY.request_post_work_type_novel)].filter(e=>e).join(" , "),p=!!(null===(n=i.planCoverImage)||void 0===n?void 0:n.urls.card);return(0,r.jsx)(k.Z,{href:I.z8.requestPlansDetails({currentPlanId:i.currentPlanId},{}),children:(0,r.jsxs)(R,{children:[(0,r.jsx)(_,{backgroundImageUrl:null===(t=i.planCoverImage)||void 0===t?void 0:t.urls.card}),(0,r.jsxs)(q,{children:[(0,r.jsx)(X,{hasPlanCoverImage:p,children:l(y.XP.z8._.Nz,{requestTypes:u})}),(0,r.jsx)(N,{hasPlanCoverImage:p,children:d||i.planTitle.planOriginalTitle}),(0,r.jsx)($,{hasPlanCoverImage:p,children:(0,r.jsx)(b.o,{lineHeight:22,lineLimit:2,children:null!=c?c:i.planDescription.planOriginalDescription})}),(0,r.jsxs)(M,{children:[(0,r.jsx)(o.zx,{variant:p?"Overlay":"Default",children:l(y.XP.z8._.Sr)}),(0,r.jsxs)(S,{hasPlanCoverImage:p,children:[l(y.XP.z8.G$.Of),(0,r.jsx)("span",{children:": "}),a(i.planStandardPrice)]})]})]})]})})}let R=d.ZP.section.withConfig({componentId:"sc-a5e65548-0"})([""," box-sizing:border-box;min-width:392px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;@media ","{height:200px;border-radius:0;}"],(0,C.r)(e=>[e.width.full,e.height.column(3),e.borderRadius(16),e.bg.surface2]),e=>{let{theme:n}=e;return(0,s.kk)(n.breakpoint.screen1)}),_=d.ZP.div.withConfig({componentId:"sc-a5e65548-1"})([""," "," position:relative;transition:0.2s opacity;&:hover{opacity:0.8;}@media ","{border-radius:0;}"],(0,C.r)(e=>[e.width.full,e.height.full,e.borderRadius(16)]),e=>{let{backgroundImageUrl:n,theme:t}=e;return n&&(0,d.iv)(["background:linear-gradient(0deg,",",","),url(",");background-repeat:no-repeat;background-position:center;background-size:cover;"],t.color.surface4,t.color.surface4,n)},e=>{let{theme:n}=e;return(0,s.kk)(n.breakpoint.screen1)}),q=d.ZP.div.withConfig({componentId:"sc-a5e65548-2"})(["display:flex;flex-flow:column;align-items:flex-start;position:absolute;left:24px;bottom:24px;width:calc(100% - 48px);"]),X=d.ZP.div.withConfig({componentId:"sc-a5e65548-3"})([""," ",""],(0,C.r)(e=>[e.typography(12).bold.preserveHalfLeading]),e=>{let{hasPlanCoverImage:n}=e;return n?(0,C.r)(e=>e.font.text5):(0,C.r)(e=>e.font.text2)}),N=d.ZP.h1.withConfig({componentId:"sc-a5e65548-4"})([""," "," @media ","{width:100%;white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;}"],(0,C.r)(e=>[e.typography(20).preserveHalfLeading,e.margin.horizontal(0),e.margin.top(0),e.margin.bottom(8)]),e=>{let{hasPlanCoverImage:n}=e;return n?(0,C.r)(e=>e.font.text5):(0,C.r)(e=>e.font.text1)},e=>{let{theme:n}=e;return(0,s.kk)(n.breakpoint.screen1)}),$=d.ZP.div.withConfig({componentId:"sc-a5e65548-5"})([""," "," height:44px;"],(0,C.r)(e=>[e.typography(14).preserveHalfLeading]),e=>{let{hasPlanCoverImage:n}=e;return n?(0,C.r)(e=>e.font.text5):(0,C.r)(e=>e.font.text3)}),M=d.ZP.footer.withConfig({componentId:"sc-a5e65548-6"})([""," display:flex;align-items:center;gap:20px;"],(0,C.r)(e=>[e.margin.top(8),e.padding.top(4)])),S=d.ZP.p.withConfig({componentId:"sc-a5e65548-7"})([""," ",""],(0,C.r)(e=>[e.typography(14).bold]),e=>{let{hasPlanCoverImage:n}=e;return n?(0,C.r)(e=>e.font.text5):(0,C.r)(e=>e.font.text3)});function U(e){let{plans:n}=e,t=(0,x.Gz)(),o=(0,i.useRef)(null),[s,l]=(0,i.useState)(0),a=(0,i.useCallback)(e=>{l(e)},[]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(w.ZP,{scrollRestorationId:"PlanCarousel",onScroll:a,children:[!t&&(0,r.jsx)(j.w9,{children:(0,r.jsx)(A,{twoColumns:!t&&n.length<=2,children:n.map(e=>(0,r.jsx)(L,{narrow:n.length>=3,children:(0,r.jsx)(z,{plan:e,narrow:n.length>=3})},e.planId))})}),t&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(W,{ref:o,children:n.map(e=>(0,r.jsx)(D,{children:(0,r.jsx)(z,{plan:e,narrow:!1})},e.planId))})})]}),t&&(0,r.jsx)(O,{children:(0,r.jsx)(B,{carouselRef:o,carouselScrollPosition:s})})]})}let A=d.ZP.ul.withConfig({componentId:"sc-9a8f6687-0"})([""," padding:0;gap:24px;list-style:none;"],e=>{let{twoColumns:n}=e;return n?(0,d.iv)(["display:grid;grid-template-columns:repeat(2,1fr);"]):(0,d.iv)(["display:flex;"])}),L=d.ZP.li.withConfig({componentId:"sc-9a8f6687-1"})(["",""],e=>{let{narrow:n}=e;return(0,d.iv)(["width:",";"],n?"388px":"600px")}),W=d.ZP.ul.withConfig({componentId:"sc-9a8f6687-2"})(["padding:0;list-style:none;display:flex;"]),D=d.ZP.li.withConfig({componentId:"sc-9a8f6687-3"})(["width:100vw;"]);function B(e){var n;let{carouselRef:t,carouselScrollPosition:o}=e,s=(0,i.useRef)(document.documentElement),l=null===(n=t.current)||void 0===n?void 0:n.clientWidth,a=(0,v.h4)(s);if(!l||!a)return null;let c=a.width,d=Math.trunc(o/c);return(0,r.jsx)(r.Fragment,{children:Array.from({length:Math.trunc(l/c)}).map((e,n)=>(0,r.jsx)(T,{selected:n===d},n))})}let O=d.ZP.div.withConfig({componentId:"sc-9a8f6687-4"})(["margin-top:8px;margin-left:auto;margin-right:auto;width:fit-content;"]),T=d.ZP.div.withConfig({componentId:"sc-9a8f6687-5"})(["display:inline-block;height:6px;width:6px;border-radius:3px;margin-right:3px;margin-left:3px;background-color:",";"],e=>{let{selected:n,theme:t}=e;return n?t.color.text2:t.color.text4});var E=t(77755),F=t(42632),G=t(22505),H=t(31957),Y=t(91649),K=t(82536),Q=t(396);let J="profile-request-plan-scroll-target";function V(e){let{userId:n,pageState:t}=e,[i,s]=(0,y.$G)([y.XP.z8.ns]),l=(0,c.useSelector)(e=>(0,G.DY)(e,"adsHide")),d=(0,P.yl)(t.inProgressRequestIds),v=t.plans,w=(0,K.Sk)(),j=(null==w?void 0:w.id)===n,b=t.postArtworkRequestIds.length>0,k=t.postNovelRequestIds.length>0,C=(0,P.yl)(t.postArtworkRequestIds).map(e=>{var n;return null===(n=e.postWork)||void 0===n?void 0:n.postWorkId}).filter(Q.E),Z=(0,H.TB)(Y.Cs.Illust,C,{excludeMuted:!0}).slice(0,12),z=(0,P.yl)(t.postNovelRequestIds).map(e=>{var n;return null===(n=e.postWork)||void 0===n?void 0:n.postWorkId}).filter(Q.E),R=(0,H.TB)(Y.Cs.Novel,z,{excludeMuted:!0}).slice(0,6),_=(0,x.Gz)(),q=(0,g.Cq)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(ee,{children:[v.length>0&&(0,r.jsxs)(h.sO,{children:[(0,r.jsx)(m.Jx,{children:(0,r.jsx)(m.TP,{children:(0,r.jsxs)(en,{children:[(0,r.jsx)(f.ZP,{children:i(y.XP.z8.N5.q2)}),j&&(0,r.jsx)(et,{href:I.z8.manageRequests({},{}),children:i(y.XP.z8.N5.Lm)})]})})}),(0,r.jsx)("div",{id:J,children:(0,r.jsx)(U,{plans:v})})]}),d.length>0&&(0,r.jsxs)(h.sO,{children:[(0,r.jsxs)(m.w9,{children:[(0,r.jsx)(f.ZP,{count:t.inProgressRequestIds.length,children:i(y.XP.z8.N5.bz)}),(0,r.jsx)(E.Z,{requests:d,row:2})]}),(0,r.jsx)(er,{children:(0,r.jsx)(o.zx,{component:a(),href:I.EA.requestInProgress({userId:n,en:"en"===s.language}),variant:"Navigation",fullWidth:!0,children:i(y.XP.z8.N5.w6)})})]}),b&&(0,r.jsx)(F.Z,{label:i(y.XP.z8.sz.Hw),workType:Y.Cs.Illust,works:Z,total:Z.length,moreLink:I.EA.requestArtworks({userId:n,en:"en"===s.language}),hideUserData:!0}),k&&(0,r.jsx)(F.Z,{label:i(y.XP.z8.sz.u3),workType:Y.Cs.Novel,works:R,total:R.length,moreLink:I.EA.requestNovels({userId:n,en:"en"===s.language}),hideUserData:!0})]}),!_&&!l&&(0,r.jsx)(ei,{children:(0,r.jsx)(p.ZP,{kind:u.$.Footer})}),_&&q&&!l&&(0,r.jsx)(eo,{children:(0,r.jsx)(p.ZP,{kind:u.$.Responsive300x250})})]})}let ee=d.ZP.div.withConfig({componentId:"sc-b4bb8076-0"})([""]),en=d.ZP.div.withConfig({componentId:"sc-b4bb8076-1"})(["display:flex;justify-content:space-between;align-items:center;margin:0 auto;max-width:","px;"],1224),et=d.ZP.a.withConfig({componentId:"sc-b4bb8076-2"})(["",";"],(0,C.r)(e=>[e.font.text3,e.typography(14)])),er=d.ZP.div.withConfig({componentId:"sc-b4bb8076-3"})(["margin:36px auto 0;width:600px;@media ","{width:calc(100% - 16px * 2);margin-right:16px;margin-left:16px;}"],e=>{let{theme:n}=e;return(0,s.kk)(n.breakpoint.screen1)}),ei=d.ZP.div.withConfig({componentId:"sc-b4bb8076-4"})(["width:100%;"]),eo=d.ZP.div.withConfig({componentId:"sc-b4bb8076-5"})(["width:100%;"])},42632:function(e,n,t){t.d(n,{Z:function(){return k}});var r=t(85893),i=t(67294),o=t(73625),s=t(12339),l=t(41664),a=t.n(l),c=t(95631),d=t(7181),u=t(22254),p=t(43150),h=t(85406),f=t(83777),m=t(76270),x=t(39371),g=t(22195),v=t(34060),w=t(43581),j=t(91649),b=t(14607);function k(e){let{moreLink:n,label:t,total:s,works:l,workType:c,showAll:k,hideUserData:y=!1}=e,[C]=(0,b.$G)([b.XP.z8.ns]),Z=(0,i.useCallback)(e=>(0,r.jsx)(g.U,{workType:j.Cs.Illust,rawThumbnail:e,noUserData:y}),[y]),z=(0,i.useCallback)(e=>(0,r.jsx)(x.ZP,{type:j.Cs.Novel,thumbnail:e,size:x.RY.SizeAuto,hideUserData:y}),[y]),R=k?99999:2;return(0,r.jsxs)(f.Rl,{children:[(0,r.jsx)(I,{children:(0,r.jsx)(w.TP,{children:(0,r.jsx)(m.ZP,{as:"h2",count:s||0,children:t})})}),0===l.length&&(0,r.jsx)(v.Z,{}),c===j.Cs.Illust&&(k?(0,r.jsx)(p.C,{items:l,factory:Z}):(0,r.jsx)(d.A,{desktopRows:R,items:l,factory:Z})),c===j.Cs.Novel&&(k?(0,r.jsx)(h.q,{items:l,factory:z}):(0,r.jsx)(u.X,{items:l,factory:z,rows:R})),n&&(0,r.jsx)(P,{children:(0,r.jsx)(o.zx,{component:a(),href:n,variant:"Navigation",fullWidth:!0,children:C(b.XP.z8.N5.w6)})})]})}let P=c.ZP.div.withConfig({componentId:"sc-23dadc90-0"})(["margin:36px auto 0;width:600px;@media ","{width:calc(100% - 16px * 2);margin-right:16px;margin-left:16px;}"],e=>{let{theme:n}=e;return(0,s.kk)(n.breakpoint.screen1)}),I=c.ZP.div.withConfig({componentId:"sc-23dadc90-1"})(["display:flex;align-items:center;"])}}]);