1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7918],{21984:function(e,t,n){n.d(t,{Z:function(){return g}});var i,r,o,c,l,a,d,s=n(71383),u=n(67294),h=n(32125),f=function(e){(0,u.useEffect)((function(){return document.body.style.cssText="\n position: fixed; \n top: -".concat(window.scrollY,"px;\n overflow-y: scroll;\n width: 100%;"),function(){var e=document.body.style.top;document.body.style.cssText="",window.scrollTo(0,-1*parseInt(e||"0",10))}}),[e])},p=n(85893);function g(e){var t=e.show,n=e.noCancelBtn,i=e.children,r=e.onClickAction,o=e.inquiry;return f(t),(0,p.jsx)(p.Fragment,{children:t&&(0,p.jsxs)(x,{children:[(0,p.jsx)(m,{show:t,onClick:function(){return r("close")}}),(0,p.jsxs)(b,{children:[(0,p.jsx)(v,{children:i}),(0,p.jsxs)(y,{children:[(0,p.jsx)(j,{style:o?{width:400,marginRight:0}:{},confirm:!0,show:t,onClick:function(){return r("")},children:"\ud655\uc778"}),!n&&(0,p.jsx)(j,{cancel:!0,show:t,onClick:function(){return r("close")},children:"\ucde8\uc18c"})]}),(0,p.jsx)(w,{show:t,onClick:function(){return r("close")},children:(0,p.jsx)("img",{src:"/images/icon/ic-close-2x.png",style:{width:"100%"}})})]})]})})}var x=h.ZP.div(i||(i=(0,s.Z)(["\n\tposition: relative;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n\tz-index: 200;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\twhite-space: break-spaces;\n"]))),m=h.ZP.div(r||(r=(0,s.Z)(["\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n\tbackground-color: rgba(0, 0, 0, 0.4);\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\t",";\n"])),(function(e){return e.show?"display: block":"display: none"})),b=h.ZP.div(o||(o=(0,s.Z)(["\n\tposition: fixed;\n\ttop: 300px;\n\tleft: 700px;\n\tbox-sizing: border-box;\n\twidth: 500px;\n\theight: 227px;\n\tpadding: 60px 0;\n\tborder-radius: 10px;\n\tbackground-color: #ffffff;
1\n"]))),v=h.ZP.p(c||(c=(0,s.Z)(["\n\tmargin-bottom: 40px;\n\tfont-size: 16px;\n\tcolor: #180742;\n\tletter-spacing: -0.24px;\n\ttext-align: center;\n"]))),y=h.ZP.div(l||(l=(0,s.Z)(["\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n"]))),j=h.ZP.button(a||(a=(0,s.Z)(["\n\twidth: 200px;\n\theight: 48px;\n\t",";\n\t",";\n\tborder-radius: 2px;\n\tcursor: pointer;\n\t",";\n\t",";\n"])),(function(e){return e.confirm?"color: #ffffff":e.cancel?"color: #7b42ff":""}),(function(e){return e.confirm?"background-color: #7b42ff":e.cancel?"background-color: #E8F3FF":""}),(function(e){return e.show?"display: block":"display: none"}),(function(e){return e.confirm&&"margin-right: 10px"})),w=h.ZP.div(d||(d=(0,s.Z)(["\n\tposition: absolute;\n\ttop: 20px;\n\tright: 20px;\n\twidth: 20px;\n\tcursor: pointer;\n\t",";\n"])),(function(e){return e.show?"display: block":"display: none"}))},7307:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(67294),r=n(33587),o=n(91327),c=n(32125),l=n(85893);function a(e){var t=e.children,n=e.open,c=e.onClose,a=e.maxWidth;return(0,l.jsx)(r.u.Root,{show:n,as:i.Fragment,children:(0,l.jsx)(o.V,{style:{position:"fixed",zIndex:121,top:0,bottom:0,left:0,right:0,overflowY:"scroll"},onClose:c,children:(0,l.jsxs)(d,{children:[(0,l.jsx)(r.u.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,l.jsx)(o.V.Overlay,{style:{position:"fixed",top:0,bottom:0,left:0,right:0,backgroundColor:"rgba(160, 174, 192, 0.75)",transitionProperty:"opacity"}})}),(0,l.jsx)("span",{style:{display:"none"},"aria-hidden":"true",children:"\u200b"}),(0,l.jsx)(r.u.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:(0,l.jsxs)(s,{maxWidth:a,children:[(0,l.jsx)(u,{onClick:c,children:(0,l.jsx)("img",{src:"/images/icon/ic-close-2x.png",width:"100%"})}),t]})})]})})})}var d=c.ZP.div({display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center",minHeight:"100vh"}),s=c.ZP.div({position:"relative",width:"100%",height:"fit-content",backgroundColor:"#fff",overflow:"hidden",borderRadius:10,zIndex:20},(function(e){return{maxWidth:e.maxWidth||1200}})),u=c.ZP.button({position:"absolute",top:20,right:20,width:20,height:20})},13261:function(e,t,n){n.d(t,{As:function(){return j},Ct:function(){return b},DK:function(){return s},Dx:function(){return d},JK:function(){return x},KN:function(){return y},Mm:function(){return p},OM:function(){return h},PL:function(){return g},Wz:function(){return v},iz:function(){return u},qA:function(){return m},ui:function(){return f},xu:function(){return a}});var i,r,o,c=n(71383),l=n(32125),a=l.ZP.div({padding:"40px 0",background:"#fff",margin:"120px 150px 60px 150px",borderRadius:10,width:"100%",boxSizing:"border-box"}),d=l.ZP.h4({color:"#180742",fontWeight:900,fontSize:25,fontFamily:"Pretendard-Black"}),s=l.ZP.div({display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center",borderBottom:"3px solid #180742",paddingBottom:15,marginTop:21,marginBottom:30,color:"#180742",fontSize:13}),u=l.ZP.div({borderBottom:"1px solid #180742",paddingTop:8,height:1,marginBottom:30,opacity:.1}),h=l.ZP.div({borderBottom:"3px solid #180742",paddingTop:30,marginBottom:30}),f=l.ZP.div({display:"flex",justifyContent:"space-between",alignItems:"center"}),p=l.ZP.button({float:"right",borderRadius:2,fontSize:15,fontWeight:700,height:48,color:"#fff",width:190,"& img":{marginLeft:30}},(function(e){return{background:e.background,cursor:e.cursor}})),g=l.ZP.button(i||(i=(0,c.Z)(["\n\tfloat: right;\n\tborder-radius: 2px;\n\tfont-size: 18px; /* \ud3f0\ud2b8 \ud06c\uae30 \ud0a4\uc6c0 */\n\tfont-weight: 800; /* \ud3f0\ud2b8 \uad75\uae30\ub97c \ub354 \ub450\uaecd\uac8c \uc124\uc815 */\n\theight: 52px; /* \ubc84\ud2bc \ub192\uc774 \uc870\uc815 */\n\tcolor: #fff;\n\twidth: 200px;
1 /* \ubc84\ud2bc \ub108\ube44 \uc57d\uac04 \ud655\ub300 */\n\tbackground: ",";\n\tcursor: ",";\n\n\t& img {\n\t\tmargin-left: 20px;\n\t}\n\n\t@media (max-width: 768px) {\n\t\twidth: 100%;\n\t\theight: 20vh;\n\t\tfont-size: 15vmin; /* \ubaa8\ubc14\uc77c\uc5d0\uc11c \uc57d\uac04 \uc791\uc740 \ud06c\uae30 */\n\t}\n"])),(function(e){return e.background}),(function(e){return e.cursor})),x=l.ZP.button({width:99,height:48,padding:"15px 30px",background:"#f2eeff",color:"#6a5e87"}),m=l.ZP.button(r||(r=(0,c.Z)(["\n\twidth: 99px;\n\theight: 48px;\n\tpadding: 15px 30px;\n\tbackground: #f2eeff;\n\tcolor: #6a5e87;\n"]))),b=l.ZP.div({display:"block",background:"#FF0C7F",borderRadius:20,width:5,height:5}),v=l.ZP.div(o||(o=(0,c.Z)(["\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: flex-end;\n\twidth: 100%;\n"]))),y=l.ZP.div({width:"100%",marginBottom:20,"& > div:nth-child(1)":{display:"flex",alignItems:"flex-start","& p":{fontSize:11,color:"#180742",marginRight:5}},"& > div:nth-child(2)":{display:"flex",justifyContent:"flex-start",alignItems:"center",flexWrap:"wrap","& button":{marginTop:8,marginRight:8}}}),j=l.ZP.div({display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:40});l.ZP.div({display:"flex",justifyContent:"space-between",alignItems:"center"})},85782:function(e,t,n){n.d(t,{XD:function(){return o},Z6:function(){return r}});var i=n(67294),r=function(e){return(0,i.useMemo)((function(){return/^01([0|1|6|7|8|9])-?([0-9]{3,4})-?([0-9]{4})$/.test(e)}),[e])},o=function(e){return(0,i.useMemo)((function(){return/^([0-9a-zA-Z_\.-]+)@([0-9a-zA-Z_-]+)(\.[0-9a-zA-Z_-]+){1,2}$/.test(e)}),[e])}},69224:function(e,t,n){n.d(t,{Ct:function(){return a},Dx:function(){return l},U$:function(){return c},Wz:function(){return r},jO:function(){return o}});var i=n(32125),r=i.ZP.input({width:"100%",height:"100%",borderRadius:2,border:"1px solid #f2eeff",background:"#fff",fontSize:14,padding:"0 12px",boxSizing:"border-box","&::placeholder":{color:"#bfc2c7",fontSize:14},"&:focus":{border:"1px solid #7b42ff"}}),o=i.ZP.textarea({width:"100%",height:"100%",borderRadius:2,border:"1px solid #f2eeff",background:"#fff",fontSize:14,padding:"14px 12px",boxSizing:"border-box","&::placeholder":{fontFamily:'Pretendard", "\ub3cb\uc6c0", Helvetica, AppleSDGothicNeo, sans-serif',color:"#bfc2c7",fontSize:14},"&:focus":{border:"1px solid #7b42ff"}}),c=i.ZP.div({position:"absolute",bottom:14,right:12,color:"#bcbcbc",height:17,fontSize:14}),l=i.ZP.div({display:"flex",alignItems:"flex-start",fontSize:11,marginBottom:8,color:"#180742",fontWeight:400}),a=i.ZP.div({display:"inline-block",clear:"both",background:"#FF0C7F",borderRadius:20,width:5,height:5,marginLeft:5});i.ZP.button({color:"#7b42ff",position:"absolute",top:"50%",right:12,transform:"translateY(-50%)",fontStretch:"20px",width:14,height:14,lineHeight:1,textAlign:"center",fontSize:14,opacity:.6})},9618:function(e,t,n){n.d(t,{Z:function(){return d}});var i=n(59499),r=n(67294),o=n(69224),c=n(85893);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e){var t=e.ref,n=e.title,i=e.type,l=e.width,d=e.value,s=e.onChange,u=e.placeholder,h=e.disabled,f=e.textarea,p=e.minLength,g=e.maxLength,x=e.isRequired,m=e.name,b=e.style,v=e.rows,y=e.autocomplete,j=(0,r.useState)(!1),w=(j[0],j[1]);return(0,c.jsxs)("div",{style:a({maxWidth:l,width:"100%",marginBottom:20},b),children:[(0,c.jsxs)(o.Dx,{children:[(0,c.jsx)("span",{children:n}),x&&(0,c.jsx)(o.Ct,{})]}),f?(0,c.jsxs)("div",{style:{position:"relative"},children:[(0,c.jsx)(o.jO,{required:x,ref:t,placeholder:u,value:d,disabled:h,minLength:p,maxLength:g,onChange:s,name:m,rows:v,onFocus:function(){return w(!0)},onBlur:function(){return w(!1)},autoComplete:y}),g&&(0,c.jsx)(o.U$,{children:(0,c.jsxs)("p",{children:[d.length,"/",g]})})]}):(0,c.jsx)("div",{style:{width:"100%",position:"relative",height:45},children:(0,c.jsx)(o.Wz,{required:x,ref:t,type:i,placeholder:u,value:d,disabled:h,minLength:p,maxLength:g,onChange:s,name:m,onFocus:function(){return w(!0)},onBlur:function(){return w(!1)},autoComplete:y})})]})}},67918:function(e,t,n){n.d(t,{Z:function(){return W}});var i=n(50029),r=n(59499),o=n(87794),c=n.n(o),l=n(67294),a=n(40782),d=n(38281),s=n(7307),u=n(13261),h=n(9618),f=n(85782),p=n(15313),g=n(21984),x=n(98451),m=n(11163),b=n(60887),v=n(43343),y=n(32125),j=y.ZP.select({width:"100%",height:"100%",borderRadius:2,border:"1px solid #f2eeff",background:"#fff",fontSize:14,padding:"0 12px",boxSizing:"border-box",appearance:"none","&::placeholder":{color:"#bcbcbc",fontSize:14},"&:focus":{border:"1px solid #7b42ff"}}),w=y.ZP.div({display:"flex",alignItems:"flex-start",fontSize:11,marginBottom:8,color:"#180742"}),Z=y.ZP.div({display:"inline-block",clear:"both",background:"#FF0C7F",borderRadius:20,width:5,height:5,marginLeft:5}),P=y.ZP.div({width:0,height:0,position:"absolute",top:"50%",right:12,borderBottom:"6px solid #6a5e87",borderLeft:"5px solid transparent",borderRight:"5px solid transparent",transform:"translateY(-50%) rotate(-180deg)",transition:"0.5s"}),k=n(85893);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?C(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function O(e){var t=e.width,n=e.name,i=e.title,r=e.isRequired,o=e.options,c=e.onChange,l=e.placeholder,a=e.style,d=e.value;return(0,k.jsxs)("div",{style:S({maxWidth:t,width:"100%",marginBottom:20},a),children:[(0,k.jsxs)(w,{children:[(0,k.jsx)("span",{children:i}),r&&(0,k.jsx)(Z,{})]}),(0,k.jsxs)("div",{style:{width:"100%",position:"relative",height:45},children:[(0,k.jsxs)(j,{className:"select",name:n,onChange:c,value:d,children:[(0,k.jsx)("option",{value:"",children:l}),Array.isArray(o)?null===o||void 0===o?void 0:o.map((function(e,t){return(0,k.jsx)("option",{value:e.value,children:e.title},"selectArr".concat(t))})):null]}),(0,k.jsx)(P,{})]})]})}var z=n(14642);function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function W(e){var t=(0,p.I0)(),n=(0,m.useRouter)(),o=(0,p.v9)((function(e){return e.common})),y=o.termsList,j=o.inquiryTypeCode,w=(0,p.v9)((function(e){return e.charger})),Z=w.vehicleManufacturerNameCode,P=w.vehicleModelCodeInfo,C=e.open,S=e.message,R=e.onClose,W=(0,l.useState)({name:"",mobile:"",title:"",content:"",vehicleManufacturerName:"",vehicleModel:"",inquiryTypeCode:""}),A=W[0],F=W[1],T=(0,l.useState)(!1),N=T[0],M=(T[1],(0,l.useState)("")),q=M[0],I=(M[1],(0,l.useState)([])),L=I[0],D=I[1],E=(0,l.useState)([]),G=E[0],Y=E[1],U=(0,l.useState)([]),_=U[0],J=U[1],H=(0,l.useState)(!1),V=H[0],$=H[1],K=(0,l.useState)(!1),Q=K[0],X=K[1],ee=(0,l.useState)([null]),te=ee[0],ne=ee[1],ie=(0,l.useRef)(null),re=(0,l.useRef)(),oe=(0,l.useState)(""),ce=oe[0],le=oe[1],ae=(0,l.useState)(!1),de=ae[0],se=ae[1],ue=(0,l.useState)(""),he=ue[0],fe=ue[1],pe=function(e){var t=e.target,n=t.name,i=t.value;F(B(B({},A),{},(0,r.Z)({},n,i)))},ge=function(e){var t=e.target,n=t.name,i=t.value;F(B(B({},A),{},(0,r.Z)({},n,i)))};(0,l.useEffect)((function(){try{t(x.Z.fetchVehicleManufacturerNameCode()),t(x.Z.fetchVehicleModelCode()),t(z.Z.fetchGetInquiryTypeCode())}catch(e){}return function(){X(!1)}}),[]),(0,l.useEffect)((function(){var e,t,n=null===y||void 0===y?void 0:y.findIndex((function(e){return"\ud648\ud398\uc774\uc9c0 \ubb38\uc758 \uad00\ub828 \uac1c\uc778\uc815\ubcf4 \uc218\uc9d1 \ubc0f \uc774\uc6a9 \ub3d9\uc758\uc11c(1:1 \ubb38\uc758 \ubaa9\uc801)"===e.title}));n>-1&&null!==(e=y[n])&&void 0!==e&&e.link&&fe(null===(t=y[n])||void 0===t?void 0:t.link)}),[y]);var xe=[];(0,l.useEffect)((function(){try{for(var e=0;e<Object.values(P).length;e++)Object.values(P)[e].manufacturerValue==A.vehicleManufacturerName&&xe.push({title:Object.values(P)[e].title,value:Object.values(P)[e].value});ne([].concat(xe))}catch(t){}}),[A.vehicleManufacturerName]);var me=function(){var e=(0,i.Z)(c().mark((function e(t){var n,r,o,l,a,d,s,u;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=!1,o=!1,l=!1,L.length>0&&(r=!0),G.length>0&&(o=!0),_.length>0&&(l=!0),a=null===(n=t.target)||void 0===n?void 0:n.files,d=c().mark((function e(t){var n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===a[t]||null===a[t]){e.next=15;break}if(!(a[t].size>=10485760)){e.next=6;break}return e.abrupt("return",{v:le("10MB \ubbf8\ub9cc\uc758 JPG, PNG \ud615\uc2dd\uc758 \ud30c\uc77c\uc744 \ub4f1\ub85d\ud574\uc8fc\uc138\uc694")});case 6:if(a[t].name.match(/(.*?)\.(jpg|jpeg|png|JPG)$/)){e.next=11;break}return e.abrupt("return",{v:le("10MB \ubbf8\ub9cc\uc758 JPG, PNG \ud615\uc2dd\uc758 \ud30c\uc77c\uc744 \ub4f1\ub85d\ud574\uc8fc\uc138\uc694")});case 11:return n=new FileReader,e.next=14,n.readAsDataURL(a[t]);case 14:n.onloadend=(0,i.Z)(c().mark((function e(){var i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i={fileSize:a[t].size,fileName:a[t].name,downloadUrl:n.result,fileBase:a[t]},r?o?l||(J(_.concat(i)),l=!0):(Y(G.concat(i)),o=!0):(D(L.concat(i)),r
1=!0);case 2:case"end":return e.stop()}}),e)})));case 15:case"end":return e.stop()}}),e)})),s=0;case 9:if(!(s<a.length)){e.next=19;break}return e.delegateYield(d(s),"t0",11);case 11:if("break"!==(u=e.t0)){e.next=14;break}return e.abrupt("break",19);case 14:if("object"!==typeof u){e.next=16;break}return e.abrupt("return",u.v);case 16:s++,e.next=9;break;case 19:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),be=function(e,t){"first"===t?D(L.filter((function(t,n){return n!==e}))):"second"===t?Y(G.filter((function(t,n){return n!==e}))):"third"===t&&J(_.filter((function(t,n){return n!==e})))},ve=(0,f.Z6)(A.mobile);return(0,k.jsxs)(s.Z,{open:C,onClose:R,maxWidth:693,children:[N&&(0,k.jsx)("div",{style:{height:227,width:500,position:"absolute",zIndex:1,background:"#fff",top:"20vh",left:"6vw",display:"flex",justifyContent:"center",alignItems:"center",borderRadius:5,borderWidth:1,border:"1px solid #dfdfdf"},children:(0,k.jsxs)("div",{children:[(0,k.jsx)("p",{style:{fontSize:"1.2rem",fontWeight:500},children:"10MB \ubbf8\ub9cc\uc758 JPG, PNG \ud615\uc2dd\uc758 \ud30c\uc77c\uc744 \ub4f1\ub85d\ud574\uc8fc\uc138\uc694"}),(0,k.jsxs)("p",{style:{fontSize:"1.2rem",fontWeight:500,marginTop:"5%"},children:["\ud30c\uc77c\uba85: ",q]})]})}),(0,k.jsxs)(k.Fragment,{children:[de&&(0,k.jsx)(g.Z,{type:"inquiry",show:de,setShow:se,onClickAction:function(e){se(!1),"close"!==e&&n.push("/"),t(x.Z.fetchChargerReducer({type:"reset"}))},noCancelBtn:!0,inquiry:!0,children:S}),Q&&(0,k.jsx)(b.Z,{open:Q,data:he,onClose:function(){X(!1)}}),(0,k.jsxs)(d.fR,{ref:re,children:[(0,k.jsx)("h1",{children:"1:1 \ubb38\uc758\ud558\uae30"}),(0,k.jsxs)("h3",{children:[(0,k.jsx)(d.Ct,{})," \ud544\uc218\ud56d\ubaa9 (\ubb38\uc758 \ub0b4\uc5ed \ud655\uc778\uc744 \uc704\ud574 \uaf2d \uc785\ub825\ud574\uc8fc\uc138\uc694)"]}),(0,k.jsx)(d.iz,{}),(0,k.jsxs)("div",{className:"scrollContainer",children:[(0,k.jsx)(u.Wz,{children:(0,k.jsx)(O,{isRequired:!0,title:"\ubb38\uc758\uc720\ud615",name:"inquiryTypeCode",value:A.inquiryTypeCode,onChange:ge,options:Object.values(j||[{title:"\uc5c6\uc74c",value:"\uace0\uac1d\uc13c\ud130\uc5d0 \ubb38\uc758\ud574\uc8fc\uc138\uc694"}]),placeholder:"-\uc120\ud0dd-"})}),(0,k.jsxs)(u.Wz,{children:[(0,k.jsx)(h.Z,{isRequired:!0,title:"\uc774\ub984",name:"name",value:A.name,onChange:pe,placeholder:"\uc774\ub984\uc744 \uc785\ub825\ud574\uc8fc\uc138\uc694.",width:280}),(0,k.jsx)(h.Z,{isRequired:!0,title:"\ud734\ub300\ud3f0 \ubc88\ud638",name:"mobile",type:"tel",value:A.mobile,onChange:function(e){var t=e.target,n=t.name,i=t.value.replace(/[^0-9]/g,"");F(B(B({},A),{},(0,r.Z)({},n,i)))},placeholder:"\ud734\ub300\ud3f0 \ubc88\ud638\ub97c \uc785\ub825\ud574 \uc8fc\uc138\uc694. (- \uc5c6\uc774)",width:280})]}),(0,k.jsxs)(u.Wz,{children:[(0,k.jsx)(O,{title:"\ucc28\ub7c9\uc81c\uc870\uc0ac",name:"vehicleManufacturerName",value:A.vehicleManufacturerName,onChange:ge,options:Object.values(Z||[{title:"\uc5c6\uc74c",value:"\uace0\uac1d\uc13c\ud130\uc5d0 \ubb38\uc758\ud574\uc8fc\uc138\uc694"}]),placeholder:"-\uc120\ud0dd-",width:280}),(0,k.jsx)(O,{title:"\ucc28\ub7c9\ubaa8\ub378",name:"vehicleModel",value:A.vehicleModel,onChange:function(e){F(B(B({},A),{},(0,r.Z)({},e.target.name,e.target.value)))},options:te||[{title:"\uc5c6\uc74c",value:"\uace0\uac1d\uc13c\ud130\uc5d0 \ubb38\uc758\ud574\uc8fc\uc138\uc694"}],placeholder:"-\uc120\ud0dd-",width:280})]}),(0,k.jsx)(u.Wz,{children:(0,k.jsx)(h.Z,{isRequired:!0,title:"\uc81c\ubaa9",name:"title",value:A.title,onChange:pe,placeholder:"\ubb38\uc758 \uc81c\ubaa9\uc744 \uc785\ub825\ud574 \uc8fc\uc138\uc694. (\ucd5c\uc18c 3\uc790 \uc774\uc0c1 30\uc790 \uc774\ub0b4)",minLength:3,maxLength:30})}),(0,k.jsx)(u.Wz,{children:(0,k.jsx)(h.Z,{textarea:!0,isRequired:!0,title:"\ub0b4\uc6a9",name:"content",value:A.content,onChange:pe,placeholder:"\ubb38\uc758 \ub0b4\uc6a9\uc744 \uc785\ub825\ud574\uc8fc\uc138\uc694. (\ucd5c\uc18c 10\uc790 \uc774\uc0c1 500\uc790 \uc774\ub0b4)",minLength:10,maxLength:500,style:{marginTop:8},rows:10})})]}),(0,k.jsx)("h2",{children:"\ucca8\ubd80\uc774\ubbf8\uc9c0"}),(0,k.jsxs)(d.Y,{children:[void 0!==L&&void 0!==L&&L.length>0&&(0,k.jsxs)("div",{style:{position:"relative",marginRight:20,marginBottom:10},children:[(0,k.jsx)("div",{className:"imagebox",style:{backgroundImage:"url(".concat(L[0].downloadUrl,")")}}),(0,k.jsx)("p",{children:L[0].fileName}),(0,k.jsx)("button",{className:"deleteButton",onClick:function(){return be(0,"first")},children:(0,k.jsx)("img",{src:"/images/icon/ic-close-white-2x.png",alt:"",width:10,height:10})})]}),void 0!==G&&void 0!==G&&G.length>0&&(0,k.jsxs)("div",{style:{position:"relative",marginRight:20,marginBottom:10},children:[(0,k.jsx)("div",{className:"imagebox",style:{backgroundImage:"url(".concat(G[0].downloadUrl,")")}}),(0,k.jsx)("p",{children:G[0].fileName}),(0,k.jsx)("button",{className:"deleteButton",onClick:function(){return be(0,"second")},children:(0,k.jsx)("img",{src:"/images/icon/ic-close-white-2x.png",alt:"",width:10,height:10})})]}),void 0!==_&&void 0!==_&&_.length>0&&(0,k.jsxs)("div",{style:{position:"relative",marginRight:20,marginBottom:10},children:[(0,k.jsx)("div",{className:"imagebox",style:{backgroundImage:"url(".concat(_[0].downloadUrl,")")}}),(0,k.jsx)("p",{children:_[0].fileName}),(0,k.jsx)("button",{className:"deleteButton",onClick:function(){return be(0,"third")},children:(0,k.jsx)("img",{src:"/images/icon/ic-close-white-2x.png",alt:"",width:10,height:10})})]}),!(L.length>0&&G.length>0&&_.length>0)&&(0,k.jsxs)(d.qi,{onClick:function(){ie.current&&ie.current.click()},children:[(0,k.jsx)("img",{src:"/images/icon/ic-photo-plus-2x.png",alt:"",width:20,height:20}),(0,k.jsx)("input",{ref:ie,type:"file",name:"images",accept:"image/jpeg, image/png, image/jpg",multiple:!0,onChange:me})]})]}),(0,k.jsxs)("div",{style:{margin:"10px 0 20px 0"},children:[(0,k.jsx)("h5",{children:"\uc774\ubbf8\uc9c0\ub294 \ucd5c\ub300 3\uc7a5\uae4c\uc9c0 \ub4f1\ub85d \uac00\ub2a5\ud569\ub2c8\ub2e4."}),(0,k.jsx)("h5",{children:"10MB \ubbf8\ub9cc\uc758 JPG, PNG \ud615\uc2dd\uc758 \ud30c\uc77c\ub9cc \ub4f1\ub85d \uac00\ub2a5\ud569\ub2c8\ub2e4."})]}),(0,k.jsx)(d.iz,{}),(0,k.jsxs)(d.nt,{children:[(0,k.jsx)("input",{type:"checkbox",checked:V,onChange:function(e){return $(e.target.checked)}}),(0,k.jsxs)("p",{children:[(0,k.jsx)("span",{onClick:function(){X(!V),$((function(e){return!e}))},children:"\uac1c\uc778\uc815\ubcf4 \uc218\uc9d1 \uc57d\uad00"}),"\uc5d0 \ub3d9\uc758\ud569\ub2c8\ub2e4."]})]}),(0,k.jsx)(d.Mm,{type:"button",onClick:function(){if(""===(null===A||void 0===A?void 0:A.inquiryTypeCode)||""===(null===A||void 0===A?void 0:A.name)||""===(null===A||void 0===A?void 0:A.mobile)||""===(null===A||void 0===A?void 0:A.title)||""===(null===A||void 0===A?void 0:A.content))return le("\ud544\uc218\ud56d\ubaa9\uc744 \uc785\ub825\ud574\uc8fc\uc138\uc694.");if((null===A||void 0===A?void 0:A.title.length)<3)return le("\ubb38\uc758 \uc81c\ubaa9\uc744 3\u
1c790 \uc774\uc0c1 30\uc790 \uc774\ub0b4\ub85c \uc791\uc131\ud574 \uc8fc\uc138\uc694.");if((null===A||void 0===A?void 0:A.content.length)<10)return le("\ubb38\uc758 \ub0b4\uc6a9\uc744 10\uc790 \uc774\uc0c1 50\uc790 \uc774\ub0b4\ub85c \uc791\uc131\ud574 \uc8fc\uc138\uc694.");if(!ve)return le("\uc62c\ubc14\ub978 \ud734\ub300\ud3f0 \ubc88\ud638\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.");if(!V)return le("\uac1c\uc778\uc815\ubcf4 \uc218\uc9d1 \uc57d\uad00\uc5d0 \ub3d9\uc758\ud574\uc8fc\uc138\uc694.");try{se(!0);var e=[],n={name:A.name,mobile:A.mobile,title:A.title,content:A.content,vehicleManufacturerName:null===A||void 0===A?void 0:A.vehicleManufacturerName,vehicleModel:null===A||void 0===A?void 0:A.vehicleModel,inquiryTypeCode:A.inquiryTypeCode};L.length>0&&(e=e.concat(L)),G.length>0&&(e=e.concat(G)),_.length>0&&(e=e.concat(_)),e.length>0?(n={name:A.name,mobile:A.mobile,title:A.title,content:A.content,vehicleManufacturerName:null===A||void 0===A?void 0:A.vehicleManufacturerName,vehicleModel:null===A||void 0===A?void 0:A.vehicleModel,inquiryTypeCode:A.inquiryTypeCode,files:e},t(v.Z.fetchQnaAddToAppApi(n))):t(v.Z.fetchQnaAddWithoutFilesToAppApi(n))}catch(i){a.Am.error("\uc8c4\uc1a1\ud569\ub2c8\ub2e4. \ubb38\uc81c\uac00 \uc0dd\uacbc\uc2b5\ub2c8\ub2e4. \ub2e4\uc2dc \uc2dc\ub3c4 \ubd80\ud0c1\ub4dc\ub9bd\ub2c8\ub2e4.")}},children:"\ubb38\uc758\ub4f1\ub85d"}),(0,k.jsxs)(s.Z,{open:""!==ce,onClose:function(){return le("")},maxWidth:500,children:[(0,k.jsx)("p",{style:{padding:"60px 0 40px",height:19,fontWeight:400,textAlign:"center",fontSize:16,color:"#180742"},children:ce}),(0,k.jsx)("button",{onClick:function(){return le("")},style:{width:400,height:48,color:"#fff",background:"#7b42ff",marginBottom:60,borderRadius:2},children:"\ud655\uc778"})]})]})]})]})}},38281:function(e,t,n){n.d(t,{Ct:function(){return o},E2:function(){return f},Gi:function(){return p},Mm:function(){return s},OK:function(){return h},SC:function(){return x},Y:function(){return l},fR:function(){return r},iz:function(){return c},nt:function(){return d},qi:function(){return a},ss:function(){return g},yj:function(){return u}});var i=n(32125),r=i.ZP.form({width:590,margin:"40px auto",overflow:"auto",height:700,"-ms-overflow-style":"none","scrollbar-width":"none","::-webkit-scrollbar":{display:"none"},"& .scrollContainer":{width:"100%",padding:"20px 0"},"& h1":{height:36,color:"#061c31",fontSize:30,letterSpacing:"-0.6px",marginBottom:40,fontWeight:600},"& h2":{height:24,fontSize:20,fontWeight:600,textAlign:"left",color:"#180742",marginTop:20},"& h3":{textAlign:"right",color:"#180742",fontSize:13,letterSpacing:"-0.2px",fontWeight:400,marginBottom:10},"& h5":{color:"#bcbcbc",letterSpacing:"-0.17px",fontSize:11,height:14,textAlign:"left"}}),o=i.ZP.div({display:"inline-block",background:"#FF0C7F",borderRadius:20,width:5,height:5}),c=i.ZP.div({width:"100%",height:1,background:"#180742",opacity:.1}),l=i.ZP.div({display:"flex",margin:"30px 0 40px","& .imagebox":{width:120,height:120,borderRadius:4,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat","&:hover":{filter:"brightness(0.8)"}},"& .deleteButton":{display:"flex",justifyContent:"center",alignItems:"center",width:14,height:14,padding:2,borderRadius:2,background:"#bcbcbc",position:"absolute",top:4,right:4},"& p":{width:120,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}),a=i.ZP.div({width:120,height:120,background:"#F6F6F6",borderRadius:4,display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer","& input":{display:"none"}}),d=i.ZP.div({color:"#180742",fontSize:15,letterSpacing:"-0.23px",marginBottom:71,textAlign:"left",display:"flex",alignItems:"center",fontWeight:400,marginTop:31,"& input":{marginRight:10},"& span":{color:"#7b42ff"},"& p":{cursor:"pointer"}}),s=i.ZP.button({background:"#7b42ff",color:"#fff",width:190,height:48,borderRadius:2}),u=i.ZP.div({maxWidth:1200,width:"100%",margin:"90px auto",paddingTop:80,"& h1":{marginTop:80,fontSize:30,height:36,letterSpacing:"-0.6px",color:"#061c31",fontWeight:600,textAlign:"center"},"& h2":{marginTop:7,letterSpacing:"-0.2px",color:"#061c31",lineHeight:1.5,fontSize:16,height:24,fontWeight:400,textAlign:"center",marginBottom:84}}),h=i.ZP.div({display:"flex"}),f=i.ZP.p({height:24,padding:"0 15px",fontSize:16,fontWeight:600,lineHeight:1.5,letterSpacing:"-0.2px",cursor:"pointer","&":{borderLeft:"1px solid #e8e8e8 "}}),p=i.ZP.table({borderTop:"1px solid #4b4b4b",marginTop:20,width:"100%",borderCollapse:"collapse",".tableItem:hover":{background:"#f9f9f9"}}),g=i.ZP.tr({fontSize:15,width:"100%",color:"#bcbcbc",borderBottom:"1px solid #e8e8e8","& > th":{width:100,textAlign:"center",padding:"10px 0"},"& > th:nth-child(1), th:nth-child(3)":{position:"relative","&::after":{content:'""',position:"absolute",top:"50%",right:0,width:1,height:12,background:"#e8e8e8",transform:"translateY(-50%)"}},"& > th:nth-child(2)":{width:819,paddingLeft:40,textAlign:"left"},"& > th:nth-child(5)":{width:"50px !important",paddingRight:10}}),x=i.ZP.tr({fontSize:15,width:"100%",color:"#061c31",borderBottom:"1px solid #e8e8e8",cursor:"pointer","& > td":{width:100,textAlign:"center",padding:"17px 0",verticalAlign:"middle",fontWeight:400},"& > td:nth-child(2)":{width:819,paddingLeft:40,textAlign:"left"},"& > td:nth-child(5)":{width:"50px !important",paddingRight:10}})}}]);
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.