PageSourceSearch

https://www.ship-da.com/_next/static/chunks/5680-aa324d53342bf96c.js

js ship-da.com collected 2026-09-26 07:01:20 UTC 20,674 bytes, 2 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="56e57564-6f99-429c-9bbe-ac58bf9d97c3",e._sentryDebugIdIdentifier="sentry-dbid-56e57564-6f99-429c-9bbe-ac58bf9d97c3")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5680],{72604:function(e,t,n){n.d(t,{Z:function(){return useUploadFiles}});var r=n(31549),i=n(44194),l=n(34321),o=n(43702),a=n(52049),c=n(20360),u=n(77053);function useUploadFiles(e){let{Trans:t,useTranslation:n}=e,{t:s}=n(),d=(0,l.I0)(),[p,f]=(0,i.useState)(!1),[m,h]=(0,i.useState)(!1),b=(0,i.useMemo)(()=>m?(0,r.jsx)(u.Z,{active:!0,uiType:"content",title:s("errors:errorInUploading"),body:(0,r.jsx)(r.Fragment,{children:s("errors:askSupport")}),actionPositive:{label:(0,r.jsx)(t,{i18nKey:"common:confirm"}),handleClick:()=>{h(!1)}}}):null,[m,s,t]),_=(0,i.useCallback)(e=>{let{...t}=e,{files:n,onUploadSuccess:r,onUploadFailure:i,bind:l,data:c,apiType:u}=t,getTargetId=()=>
1{if("forwarding"===u){let{domain:e}=c[0],{kindOfFileInfo:n}=t;return"brn"===e&&"user"===n.type?n.userId:("purchaseOrder"===e||"purchaseOrderRemittance"===e||"purchaseOrderInvoice"===e)&&"PO"===n.type?n.POId:"purchaseOrderRemittance"===n.type?n.poInvoiceId:"bid"===n.type||"POInBid"===n.type?n.bidId:void 0}return"nonMembers"===u?t.promotionId:c[0].targetId};f(!0);let s="forwarding"===u||"nonMembers"===u?c.map(e=>{let{name:t,domain:n,mimeType:r}=e;return{name:t,mimeType:r,type:n}}):c;function handleFailure(){i&&i(),h(!0),f(!1)}d(a.Nw.GET_PRESIGNED_URL({uploadFilesInfo:s,apiType:t.apiType,_postSuccessCallback:e=>{!function(n,i){let c=n.map((e,t)=>{let{url:n}=e;return{id:t,url:n}}),u=(0,o.nf)(c,i);if(!u)return;let s=u.map(e=>{if(e)return fetch(e.url,e.option).then(e=>{if(e.ok)return e;throw Error(e.statusText)}).catch(handleFailure)});Promise.all(s).then(n=>{if(n.every(e=>null==e?void 0:e.ok)){let n=e.map(e=>{let{key:n}=e;return{key:n,domain:t.data[0].domain,targetId:getTargetId(),subTargetId:t.subTargetId}});l?(f(!1),l&&l(n)):d(a.Nw.BIND_FILE_AFTER_UPLOAD({data:n,apiType:t.apiType,_postSuccessCallback:e=>{r&&r(e,n),f(!1)},_postFailureCallback:handleFailure}))}else throw Error("S3 Error")}).catch(handleFailure)}(e,n)},_postFailureCallback:handleFailure}))},[d]),v=(0,i.useMemo)(()=>(0,r.jsx)(c.Z,{active:p}),[p]);return[_,v,b,f]}},43702:function(e,t,n){function mergeFileInfoToUploadUrls(e,t){if(!t||!e)return;let n=t.map(e=>{let{fileInfo:t,id:n}=e;return{id:n,option:{id:n,method:"PUT",body:t}}});return e.map((e,t)=>Object.assign({},e,n[t]))}function convertBytesToMegabytes(e){return e/1048576}function convertFileSize(e){let{size:t,fromUnit:n,toUnit:r}=e,i={B:1,KB:1024,MB:1048576,GB:1073741824,TB:1099511627776},l=t*i[n],o=l/i[r];return o}n.d(t,{Q0:function(){return convertBytesToMegabytes},hy:function(){return convertFileSize},nf:function(){return mergeFileInfoToUploadUrls}})},30894:function(e,t,n){n.d(t,{Mi:function(){return downloadFromUrl},Sv:function(){return downloadFile},iC:function(){return checkFileExtension},ii:function(){return checkFileSize},mD:function(){return getFileExtension}});let checkFileExtension=e=>{let{allowedFileExtensionList:t,fileName:n}=e,r=n.split(".").pop()||"";return!t||t.includes(r)},getFileExtension=e=>{let t=e.split(".");return t.length>1?t[t.length-1].toLowerCase():""},checkFileSize=e=>{let{allowedFileSize:t,fileSize:n}=e;return!t||n<=t},downloadFile=e=>{let{fileName:t,fileContent:n,type:r="application/octet-stream"}=e,i=new Blob([n],{type:r}),l=window.URL.createObjectURL(i),o=document.createElement("a");o.style.display="none",o.href=l,o.download=t,document.body.appendChild(o),o.click(),document.body.contains(o)&&document.body.removeChild(o),window.URL.revokeObjectURL(l)},downloadFromUrl=async e=>{let{url:t,fileName:n,t:r,type:i}=e;try{let e=await fetch(t);if(!e.ok){alert(r("utils:downloadFromUrl.파일_다운로드에_실패했습니다."));return}let l=await e.blob();downloadFile({fileName:n,fileContent:l,type:i})}catch(e){alert(r("utils:downloadFromUrl.파일_다운로드에_실패했습니다."))}}},51760:function(e,t,n){n.d(t,{Z:function(){return DropField}});var r=n(31549),i=n(44194),l=n(94638),o=n(30894),a=n(99137),c=n(73983),u=n(9518),s=n(5357),d=n(15138),p=n(20753),f=n(5079),m=n(73354),h=n(3718),b=n(97377);function _templateObject(){let e=(0,f._)(["\n  width: ",";\n  height: auto;\n  display: flex;\n  flex-direction: column;\n  pointer-events: ",";\n\n  .invisible-input-file {\n    display: none;\n  }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,f._)(["\n    height: 216px;\n  "]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,f._)(["\n  width: 100%;\n  height: 232px;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n\n  border-radius: 4px;\n  background: ",";\n  border: ",";\n\n  ","\n\n  .add-file-button {\n    margin-top: 24px;\n  }\n\n  &.hover {\n    background-color: ",";\n  }\n  &.active {\n    border-color: ",";\n    background-color: ",";\n  }\n"]);return _templateObject2=function(){return e},e}
1function _templateObject3(){let e=(0,f._)(["\n    margin-top: 32px;\n  "]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,f._)(["\n  margin-top: 40px;\n\n  ","\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,f._)(["\n  display: flex;\n  text-align: center;\n  ",";\n  color: ",";\n  margin-top: 8px;\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,f._)(["\n  width: 100%;\n  height: auto;\n  display: flex;\n  flex-direction: column;\n  margin-top: 8px;\n  gap: 8px;\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,f._)(["\n      border: 2px solid ",";\n    "]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,f._)(["\n  width: 100%;\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  padding: 12px 16px;\n  background: ",";\n  ",";\n  color: ",";\n  border-radius: 2px;\n  pointer-events: all;\n\n  ","\n\n  > .thumbnail {\n    border-radius: 4px;\n    border: 1px solid ",";\n  }\n\n  > .item-container {\n    flex-grow: 1;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n  }\n\n  .file-clear-button {\n    cursor: pointer;\n  }\n"]);return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,f._)(["\n  margin-top: 4px;\n  padding: 0 4px;\n  ",";\n  color: ",";\n"]);return _templateObject9=function(){return e},e}let _=m.ZP.div.withConfig({componentId:"sc-45193a73-0"})(_templateObject(),e=>{let{width:t}=e;return t||"100%"},e=>{let{isDisabled:t}=e;return t?"none":"auto"}),v=m.ZP.div.withConfig({componentId:"sc-45193a73-1"})(_templateObject2(),e=>{let{isDisabled:t}=e;return t?s.r$.grayScale_100:s.r$.wh},e=>{let{isDisabled:t}=e;return t?"none":"1px solid #bdbdbd"},(0,h.ai)((0,m.iv)(_templateObject1())),s.r$.grayScale_50,s.r$.grayScale_500,s.r$.grayScale_50),g=m.ZP.div.withConfig({componentId:"sc-45193a73-2"})(_templateObject4(),(0,h.ai)((0,m.iv)(_templateObject3()))),j=m.ZP.div.withConfig({componentId:"sc-45193a73-3"})(_templateObject5(),(0,b.j)("Body2"),e=>{let{isDisabled:t}=e;return t?s.ou.black_disabled:s.ou.black_4}),x=m.ZP.ul.withConfig({componentId:"sc-45193a73-4"})(_templateObject6()),w=m.ZP.div.withConfig({componentId:"sc-45193a73-5"})(_templateObject8(),s.r$.grayScale_200,(0,b.j)("Body3"),s.ou.black_2,e=>{let{isError:t}=e;return t&&(0,m.iv)(_templateObject7(),s.r$.error_400)},s.r$.grayScale_300),y=m.ZP.p.withConfig({componentId:"sc-45193a73-6"})(_templateObject9(),(0,b.j)("Caption"),s.r$.error_400);var O={container:_,dropFieldContainer:v,iconContainer:g,descriptionContainer:j,fileListContainer:x,fileItem:w,errorMessage:y};function EmptyImage(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_6836_25810)",children:[(0,r.jsx)("rect",{width:"42",height:"42",rx:"4",fill:"#FAFAFA"}),(0,r.jsx)("path",{d:"M1 1L41 41",stroke:"#E0E0E0"}),(0,r.jsx)("path",{d:"M41 1L0.999999 41",stroke:"#E0E0E0"})]}),(0,r.jsx)("rect",{x:"0.5",y:"0.5",width:"41",height:"41",rx:"3.5",stroke:"#E0E0E0"}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_6836_25810",children:(0,r.jsx)("rect",{width:"42",height:"42",rx:"4",fill:"white"})})})]})}function DropField(e){let{width:t,files:n,setFiles:f,isDisabled:m,showsThumbnail:h,allowedFileExtensionList:b,customErrorMessage:_,allowedFileSize:v,className:g,dropFiledDescription:j,onError:x,onDelete:w,...y}=e,C=(0,i.useRef)(null),I=(0,i.useRef)(0),k=(0,i.useRef)(null),F=(0,i.useRef)(null),[L,T]=(0,i.useState)(!1),handleOverFileCountModalOpen=()=>{T(!0)},E=y.isMultiple?n.length===y.allowedFileCount:1===n.length,Z=!!n.find(e=>{let t=(0,o.iC)({allowedFileExtensionList:b,fileName:e.fileInfo.name}),n=(0,o.ii)({allowedFileSize:v,fileSize:e.fileInfo.size});return!t||!n}),{isMobile:S}=(0,a.G6)(),handleInputClick=()=>{C.current&&C.current.click()},handleFileRemove=e=>{null==w||w(n.find(t=>t.id===e)),f(n.filter(t=>t.id!==e))},D=(0,i.useCallback)(e=>{if(!e)return;let t=n.slice();for(let n of e)t.push({id:I.current++,fileInfo:n,url:URL.createObjectURL(n)});let r=!!y.isMultiple&&t.length>y.allowedFileCount;if(r){handleOverFileCountModalOpen();return}f(t)},[n,y,f]),P=(0,i.useCallback)(e=>{e.preventDefault(),e.stopPropagation()},[]),M=(0,i.useCallback)(e=>{e.preventDefault(),e.stopPropagation()},[]),U=(0,i.useCallback)(e=>{e.preventDefault(),e.stopPropagation()},[]),B=(0,i.useCallback)(e=>{var t;e.preventDefault(),e.stopPropagation(),D(null===(t=e.dataTransfer)||void 0===t?void 0:t.files)},[D]),N=(0,i.useCallback)(e=>{var t;D(null===(t=e.target)||void 0===t?void 0:t.files),e.currentTarget.value=""},[D]),$=(0,i.useCallback)(()=>{k&&k.current&&(k.current.addEventListener("dragenter",P),k.current.addEventListener("dragleave",M),k.current.addEventListener("dragover",U),k.current.addEventListener("drop",B))},[P,M,U,B]),R=(0,i.useCallback)(()=>{k&&k.current&&(k.current.removeEventListener("dragenter",P),k.current.removeEventListener("dragleave",M),k.current.removeEventListener("dragover",U),k.current.removeEventListener("drop",B))},[P,M,U,B]);return(0,i.useEffect)(()=>($(),()=>R()),[$,R]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(O.container,{width:t,isDisabled:m||E,ref:k,className:"".concat(g||""," drop-field"),children:[(0,r.jsxs)(O.dropFieldContainer,{isDisabled:m||E,className:"drop-field-container",ref:F,children:[(0,r.jsx)(O.iconContainer,{children:(0,r.jsx)(c.Z,{width:40,height:40,color:m||E?s.r$.grayScale_300:s.r$.grayScale_400})}),(0,r.jsxs)(O.descriptionContainer,{isDisabled:m||E,children:[(null==j?void 0:j.topLine)?j.topLine:(0,r.jsx)(l.c,{i18nKey:"sds-v2:DropField_파일첨부_안내"}),(0,r.jsx)("br",{}),S?(null==j?void 0:j.bottomLine)?null==j?void 0:j.bottomLine:(0,r.jsx)(l.c,{i18nKey:"sds-v2:DropField_업로드_안내_모바일"}):(null==j?void 0:j.bottomLine)?null==j?void 0:j.bottomLine:(0,r.jsx)(l.c,{i18nKey:"sds-v2:DropField_업로드_안내"})]}),(0,r.jsx)("label",{htmlFor:"file-upload-drag",children:(0,r.jsx)(d.Z,{theme:"tertiary",borderType:"filled",size:"small",label:(0,r.jsx)(l.c,{i18nKey:"sds-v2:DropField_업로드_버튼"}),handleClick:e=>{e.preventDefault(),handleInputClick()},className:"add-file-button",disabled:m||E||Z,onMouseEnter:()=>{var e;null===(e=F.current)||void 0===e||e.classList.add("hover")},onMouseLeave:()=>{var e,t;null===(e=F.current)||void 0===e||e.classList.remove("hover"),null===(t=F.current)||void 0===t||t.classList.remove("active")},onMouseDown:()=>{var e;null===(e=F.current)||void 0===e||e.classList.add("active")},onMouseUp:()=>{var e;null===(e=F.current)||void 0===e||e.classList.remove("active")}})}),(0,r.jsx)("input",{type:"file",accept:"*",ref:C,className:"invisible-input-file",onChange:N,multiple:y.isMultiple})]}),(0,r.jsx)(O.fileListContainer,{className:"file-list-container",children:n.map(e=>{let t=(0,o.iC)({allowedFileExtensionList:b,fileName:e.fileInfo.name}),n=(0,o.ii)({allowedFileSize:v,fileSize:e.fileInfo.size}),i=!t||!n,a=(()=>{var e,i,o;if(!t&&!n){let t=null!==(e=null==_?void 0:_.common)&&void 0!==e?e:(0,r.jsx)(l.c,{i18nKey:"sds-v2:DropField_파일형식_용량_오류"});return null==x||x(t),(0,r.jsxs)(r.Fragment,{children:["파일 형식이 올바르지 않으며, 용량이 큽니다.",(0,r.jsx)("br",{}),"삭제 후 재업로드 해주세요."]})}if(t&&!n){let e=null!==(i=null==_?void 0:_.fileSize)&&void 0!==i?i:(0,r.jsx)(l.c,{i18nKey:"sds-v2:DropField_용량_오류"});return null==x||x(e),e}if(!t&&n){let e=null!==(o=null==_?void 0:_.fileExtension)&&void 0!==o?o:(0,r.jsx)(l.c,{i18nKey:"sds-v2:DropField_파일형식_오류"});return null==x||x(e),e}return""})();return(0,r.jsxs)("li",{children:[(0,r.jsxs)(O.fileItem,{isError:i,children:[h?e.url?(0,r.jsx)("img",{className:"thumbnail",src:e.url,alt:"thumbnail",width:44,height:44}):(0,r.jsx)(EmptyImage,{}):null,(0,r.jsxs)("div",{className:"item-container",children:[e.fileInfo.name,(0,r.jsx)(u.Z,{width:16,height:16,color:s.r$.grayScale_800,onClick:()=>{handleFileRemove(e.id)},className:"file-clear-button"})]})]}),i&&(0,r.jsx)(O.errorMessage,{children:a})]},e.id)})})]}),y.isMultiple&&(0,r.jsx)(p.Z,{uiType:"onlyDescription",active:L,desc:(0,r.jsx)(l.c,{i18nKey:"sds-v2:DropField_개수제한_안내",values:{fileCount:y.allowedFileCount}}),actionPositive:{label:(0,r.jsx)(l.c,{i18nKey:"sds-v2:DropField_개수제한_안내_확인_버튼"}),handleClick:()=>{T(!1)}}})]})}},53949:function(e,t,n){n.d(t,{Z:function(){return Toast}});var r=n(5079),i=n(31549),l=n(73354),o=n(99137),a=n(84568),c=n(40954),u=n(5357),s=n(71669),d=n(1450);function CheckBoxCircleSelectedFilledIcon(e){return(0,i.jsx)(d.Z,{...e,children:(0,i.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("g",{clipPath:"url(#clip0_917_7743)",children:(0,i.jsx)("path",{d:"M2 20C2 10.0578 10.0578 2 20 2C29.9422 2 38 10.0578 38 20C38 29.9422 29.9422 38 20 38C10.0578 38 2 29.9422 2 20ZM28.1422 16.8922C28.9086 16.1258 28.9086 14.8742 28.1422 14.1078C27.3758 13.3414 26.1242 13.3414 25.3578 14.1078L17.75 21.7156L14.6422 18.6078C13.8758 17.8414 12.6242 17.8414 11.8578 18.6078C11.0914 19.3742 11.0914 20.6258 11.8578 21.3922L16.3578 25.8922C17.1242 26.6586 18.3758 26.6586 19.1422 25.8922L28.1422 16.8922Z",fill:"currentColor"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_917_7743",children:(0,i.jsx)("rect",{width:"36",height:"36",fill:"white",transform:"translate(2 2)"})})})]})})}var p=n(84916),f=n(9518),m=n(3718),h=n(97377);
1function _templateObject(){let e=(0,r._)(["\n      margin-top: 0;\n      margin-bottom: 8px;\n    "]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n    width: 328px;\n  "]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n        background-color: ",";\n      "]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,r._)(["\n        background-color: ",";\n      "]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,r._)(["\n      background-color: ",";\n    "]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,r._)(["\n  width: fit-content;\n  ","\n  padding: 10px 0px 10px 16px;\n  border-radius: 4px;\n  display: flex;\n  user-select: none;\n\n  &:not(:first-child) {\n    margin-top: 16px;\n\n    ","\n  }\n\n  ","\n\n  ","\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,r._)(["\n  display: flex;\n  align-items: center;\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,r._)(["\n  margin-left: ",";\n  color: ",";\n"]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,r._)(["\n  margin-left: auto;\n  margin-right: 8px;\n  background: none;\n  position: relative;\n  white-space: nowrap;\n  display: flex;\n  align-items: center;\n\n  .toast-text-button {\n    right: ",";\n    position: absolute;\n  }\n\n  .toast-clear-icon {\n    cursor: pointer;\n  }\n"]);return _templateObject8=function(){return e},e}let b=l.ZP.div.withConfig({componentId:"sc-6c9c6195-0"})(_templateObject5(),(0,h.j)("SubHead3"),(0,m.ai)((0,l.iv)(_templateObject())),(0,m.ai)((0,l.iv)(_templateObject1())),e=>{let{status:t}=e;return"positive"===t?(0,l.iv)(_templateObject2(),u.r$.success_400):"negative"===t?(0,l.iv)(_templateObject3(),u.r$.error_400):(0,l.iv)(_templateObject4(),u.r$.grayScale_800)}),_=l.ZP.div.withConfig({componentId:"sc-6c9c6195-1"})(_templateObject6()),v=l.ZP.div.withConfig({componentId:"sc-6c9c6195-2"})(_templateObject7(),e=>{let{status:t}=e;return"neutral"!==t?"8px":"0px"},u.ou.white_1),g=l.ZP.div.withConfig({componentId:"sc-6c9c6195-3"})(_templateObject8(),e=>{let{showsClearIcon:t}=e;return t?"40px":"16px"});var j={toastContainer:b,iconContainer:_,messageContainer:v,buttonContainer:g};function Toast_templateObject(){let e=(0,r._)(["\n      /* V1 모달이 99997이므로 99998로 설정 */\n      z-index: 99998;\n      position: fixed;\n      transform: translateX(-50%);\n      left: 50%;\n      display: flex;\n    "]);return Toast_templateObject=function(){return e},e}function Toast_templateObject1(){let e=(0,r._)(["\n          ","\n          /* 모바일일때는 아래에서 위로 정렬한다 */\n          flex-direction: column-reverse;\n          top: auto;\n          bottom: 72px;\n        "]);return Toast_templateObject1=function(){return e},e}function Toast_templateObject2(){let e=(0,r._)(["\n          ","\n          flex-direction: column;\n          top: 72px;\n        "]);return Toast_templateObject2=function(){return e},e}function Toast(e){var t;let{status:n,message:r,reset:d,className:m,...h}=e,b="clearIcon"===h.uiType||"clearIconWithButton"===h.uiType,{isVisibleToast:_,setIsVisibleToast:v}=(0,c.Z)({reset:d,disablesAutoClose:b}),{isMobile:g}=(0,o.G6)();if(!_)return null;let x=(()=>{let e=(0,l.iv)(Toast_templateObject());return g?(0,l.iv)(Toast_templateObject1(),e):(0,l.iv)(Toast_templateObject2(),e)})();return(0,i.jsx)(a.Z,{selector:"#app-portal",subContainerInfo:{id:"sds-v2-toast-list-container",style:x},children:(0,i.jsxs)(j.toastContainer,{className:"".concat(m||""," toast"),status:n,children:["onlyMessage"!==h.uiType&&(0,i.jsxs)(j.iconContainer,{children:[("positive"===n||"informative"===n)&&(0,i.jsx)(CheckBoxCircleSelectedFilledIcon,{width:16,height:16,color:u.r$.wh}),"negative"===n&&(0,i.jsx)(p.Z,{width:16,height:16,color:u.r$.wh})]}),(0,i.jsx)(j.messageContainer,{status:n,children:r}),(0,i.jsxs)(j.buttonContainer,{showsClearIcon:b,children:[("button"===h.uiType||"clearIconWithButton"===h.uiType)&&(0,i.jsx)(s.Z,{theme:"neutral"===n?"primary":"white",fontSize:14,label:(null===(t=h.buttonInfo)||void 0===t?void 0:t.label)||"버튼",handleClick:()=>{var e;(null===(e=h.buttonInfo)||void 0===e?void 0:e.onClick)&&h.buttonInfo.onClick()},className:"toast-text-button"}),b&&(0,i.jsx)(f.Z,{width:16,height:16,color:"neutral"===n?u.r$.grayScale_500:u.r$.wh,onClick:()=>{v(!1),d()},className:"toast-clear-icon"})]})]})})}},73983:function(e,t,n){n.d(t,{Z:function(){return DocumentUploadIcon}});var r=n(31549),i=n(1450);function DocumentUploadIcon(e){return(0,r.jsx)(i.Z,{...e,children:(0,r.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_697_5086)",children:(0,r.jsx)("path",{d:"M23.3337 3.33325H10.0003C8.16699 3.33325 6.68366 4.83325 6.68366 6.66659L6.66699 33.3333C6.66699 35.1666 8.15032 36.6666 9.98366 36.6666H30.0003C31.8337 36.6666 33.3337 35.1666 33.3337 33.3333V13.3333L23.3337 3.33325ZM30.0003 33.3333H10.0003V6.66659H21.667V14.9999H30.0003V33.3333ZM13.3337 25.0166L15.6837 27.3666L18.3337 24.7333V31.6666H21.667V24.7333L24.317 27.3833L26.667 25.0166L20.017 18.3333L13.3337 25.0166Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_697_5086",children:(0,r.jsx)("rect",{width:"40",height:"40",fill:"none"})})})]})})}},40954:function(e,t,n){var r=n(44194);t.Z=function(e){let{reset:t,disablesAutoClose:n}=e,[i,l]=(0,r.useState)(!0),o=(0,r.useCallback)(()=>{setTimeout(()=>{l(!1),t()},5e3)},[t]);return(0,r.useEffect)(()=>{n||o()},[n,o]),{isVisibleToast:i,setIsVisibleToast:l}}}}]);
2//# sourceMappingURL=5680-aa324d53342bf96c.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.