PageSourceSearch

https://www.mieum.kr/static/js/1541.932a15a8.chunk.js

js mieum.kr collected 2026-10-03 21:17:59 UTC 5,445 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkshop_react_web=self.webpackChunkshop_react_web||[]).push([[1541],{1541:(e,i,t)=>{t.r(i),t.d(i,{default:()=>b});var n=t(65043),s=t(73216),r=t(61158),a=t(35509),l=t(399),p=t(97605),d=t(40186),c=t(20524),h=t(59116),x=t(52110),o=t(17988),g=t(28568),j=t(23178),u=t(7685),m=t(58801),w=t(26708),v=t(48120),f=t(62991),$=t(70579);const b=()=>{var e,i;const t=(0,s.Zp)(),{questionId:b}=(0,s.g)(),k=f.b8.extraLong,Q=(0,j.W)((e=>e.setToast)),{patchQuestionParams:y,presignedUrlList:C,uploadImageList:T,setQuestionId:W,updateParams:S,addMultipleImages:z,removeImage:A,removeExistImage:H,putQuestion:N}=(0,o.A)(),[I,L]=(0,n.useState)(!1),M=(0,n.useRef)(null),[P,_]=(0,n.useState)(!1),q=()=>{Q("1:1 \ubb38\uc758 \uc218\uc815\uc774 \uc644\ub8cc\ub418\uc5c8\uc5b4\uc694.","success"),t("/cs/question/".concat(b),{replace:!0})};return(0,n.useEffect)((()=>{L(!1),W(Number(b))}),[]),(0,n.useEffect)((()=>{""!==y.title&&""!==y.content?L(!0):L(!1)}),[y]),(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(r.A,{title:"\ubb38\uc758 \uae00 \uc218\uc815",onClose:()=>_(!0)}),(0,$.jsx)(p.He,{padding:"26px 24px",margin:"24px 0 0",$marginWt:"20px 0 0 ",$paddingWt:"16px 20px",children:(0,$.jsxs)(p.pT,{direction:"column",gap:"16px",children:[(0,$.jsx)(p.bQ,{width:"100%",children:(0,$.jsxs)(p.pT,{gap:"16px",width:"100%",align:"top",$gapWt:"14px",children:[(0,$.jsx)(p.bQ,{width:"60px",padding:"12px 0",children:(0,$.jsx)(l.ld,{$whiteSpace:"pre",children:"\ubb38\uc758 \uc81c\ubaa9"})}),(0,$.jsxs)(p.bQ,{children:[(0,$.jsx)(d.pd,{value:y.title,onChange:e=>S("putQuestionParams",[{valueName:"title",newValue:(0,u.aM)(e.target.value,100)}]),placeholder:"\uc81c\ubaa9\uc744 \uc785\ub825\ud574 \uc8fc\uc138\uc694.",maxLength:100}),(0,$.jsxs)(p.pT,{justify:"space-between",padding:"6px 0",children:[(0,$.jsx)(l.x5,{color:"var(--color-gray-300)",fontSize:h.$N.size12,$lineHeight:h.kj.height20,children:"\uc81c\ubaa9\uc740 100\uc790\uae4c\uc9c0 \uc785\ub825\ud560 \uc218 \uc788\uc5b4\uc694."}),(0,$.jsxs)(l.x5,{align:"right",color:"var(--color-gray-300)",fontSize:h.$N.size12,$lineHeight:h.kj.height20,children:[(null===(e=y.title)||void 0===e?void 0:e.length)||0,"/100"]})]})]})]})}),(0,$.jsx)(p.bQ,{width:"100%",children:(0,$.jsxs)(p.pT,{gap:"16px",width:"100%",align:"top",$gapWt:"14px",children:[(0,$.jsx)(p.bQ,{width:"60px",padding:"12px 0",children:(0,$.jsx)(l.ld,{$whiteSpace:"pre",children:"\ubb38\uc758 \ub0b4\uc6a9"})}),(0,$.jsxs)(p.bQ,{children:[(0,$.jsx)(d.M0,{children:(0,$.jsx)(d.fs,{placeholder:"\uc0c1\uc138 \ub0b4\uc6a9\uc744 \uc785\ub825\ud574 \uc8fc\uc138\uc694.",$minHeight:"300px",$minHeightWt:"240px",value:y.content,onChange:e=>S("putQuestionParams",[{valueName:"content",newValue:(0,u.aM)(e.target.value,k)}]),maxLength:k})}),(0,$.jsxs)(p.pT,{justify:"space-between",padding:"6px 0",children:[(0,$.jsxs)(l.x5,{color:"var(--color-gray-300)",fontSize:h.$N.size12,$lineHeight:h.kj.height20,children:["\uc0c1\uc138 \ub0b4\uc6a9\uc740 ",k,"\uc790\uae4c\uc9c0 \uc785\ub825\ud560 \uc218 \uc788\uc5b4\uc694."]}),(0,$.jsxs)(l.x5,{align:"right",color:"var(--color-gray-300)",fontSize:h.$N.size12,$lineHeight:h.kj.height20,children:[(null===(i=y.content)||void 0===i?void 0:i.length)||0,"/",k]})]})]})]})}),(0,$.jsx)(p.bQ,{width:"100%",children:(0,$.jsxs)(p.pT,{gap:"16px",width:"100%",align:"top",$gapWt:"14px",children:[(0,$.jsx)(p.bQ,{width:"60px",padding:"12px 0",children:(0,$.jsx)(l.ld,{$whiteSpace:"pre",children:"\ucca8\ubd80\ud30c\uc77c"})}),(0,$.jsxs)(p.bQ,{children:[(0,$.jsx)(p.pT,{gap:"8px",justify:"start",align:"start",direction:"column",width:"100%",height:"52px",padding:"14px",$gapWt:"12px",border:"1px solid var(--color-gray-200)",radius:v.A.corner12,$hasCursor:!0,onClick:()=>{M.current.click()},children:(0,$.jsxs)(p.pT,{gap:"8px",children:[(0,$.jsx)("input",{hidden:!0,type:"file",multiple:!0,accept:"image/jpeg, image/png, image/gif",ref:M,onChange:e=>{const i=e.target.files?Array.from(e.target.files):[];z(i),M.current&&(M.current.value="")}}),(0,$.jsx)("img",{src:w.A,alt:"\uc5c5\ub85c\ub4dc"}),(0,$.jsx)(l.ld,{color:"var(--color-gray-300)",fontWeight:h.sO.regular,children:"\ud30c\uc77c\uc744 \uc5c5\ub85c\ub4dc\ud574 \uc8fc\uc138\uc694"})]})}
1),(0,$.jsxs)(p.pT,{wrap:"wrap",justify:"start",gap:"8px",padding:"8px 0 0 0",children:[null===C||void 0===C?void 0:C.map(((e,i)=>(0,$.jsxs)(c.n,{width:"90px",height:"90px",$widthWt:"120px",$heightWt:"120px",children:[(0,$.jsx)(x.Rj,{onClick:()=>H(e),children:(0,$.jsx)("img",{src:m.A,alt:"\uc9c0\uc6b0\uae30"})}),(0,$.jsx)("div",{children:(0,$.jsx)("img",{src:e.presignedUrl})})]},i))),T.length>0&&(0,$.jsx)($.Fragment,{children:T.map(((e,i)=>(0,$.jsxs)(c.n,{width:"90px",height:"90px",children:[(0,$.jsx)(x.Rj,{type:"button",onClick:()=>A(i),children:(0,$.jsx)("img",{src:m.A,alt:"\uc9c0\uc6b0\uae30"})}),(0,$.jsx)("div",{children:(0,$.jsx)("img",{src:e.previewUrl})})]},i)))})]})]})]})})]})}),(0,$.jsxs)(p.pT,{margin:"56px auto 0",gap:"16px",$marginWt:"40px auto 0",children:[(0,$.jsx)(a.cO,{width:"240px",onClick:()=>_(!0),children:"\uc774\uc804"}),(0,$.jsx)(a.oT,{disabled:!I,width:"240px",onClick:()=>N(q),children:"\uc644\ub8cc"})]}),(0,$.jsx)(g.A,{modal:P,setModal:_,onSubmit:()=>{_(!1),t("/cs/question/".concat(b),{replace:!0})},description:"\ubb38\uc758 \uae00 \uc218\uc815\uc744 \ucde8\uc18c\ud560\uae4c\uc694?",caption:"\ucde8\uc18c\ud55c \uc815\ubcf4\ub294 \ub418\ub3cc\ub9b4 \uc218 \uc5c6\uc5b4\uc694."})]})}}}]);
2//# sourceMappingURL=1541.932a15a8.chunk.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.