1(self.webpackChunkcontainer=self.webpackChunkcontainer||[]).push([[8479],{37630:function(e,n,t){"use strict";t.d(n,{J:function(){return p}});var r=t(30315),o=t(88130),i=t(56177),a=t(5897),s=t(68885),l=t(19538),c=t(49626),u=t(90854),d=["anchor","isNewPage","lawyerSlug","selectContext","isAdLawyer"];function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function p(){var e=(0,a.useRouter)(),n=(0,l.e)().amplitudePageLocation,t=(0,c.H)().navigateTo,p=(0,s.useCallback)(function(){try{localStorage.setItem("dataForProfileNewPage",JSON.stringify({from:n,fromParams:e.query}))}catch(e){console.error("Failed to save current state:",e)}},[n,e.query]),m=(0,s.useCallback)(function(e){var a=e.anchor,s=e.isNewPage,l=e.lawyerSlug,c=e.selectContext,m=e.isAdLawyer,v=(0,o.Z)(e,d);(0,i.ue)(m||!1),(0,i.OX)(l,c||"normal"),void 0!==a&&a&&u.OC.set("profileAnchor",{id:"reservation_anchor",timeout:1500},!0);var y=(0,i.ss)(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach(function(n){(0,r.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}({lawyerSlug:l,selectContext:c,isAdLawyer:m,pageState:n},v));s&&p();var h=t(y,{newPage:s});s&&h&&(0,i.M0)()},[e,n,p,t]),v=(0,s.useCallback)(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.XN)(n),m(e)},[m]);return{goToProfile:m,goToReservation:v}}},90854:function(e,n,t){"use strict";t.d(n,{Q6:function(){return y},Bw:function(){return v},e1:function(){return m},OC:function(){return f}});var r=t(81068),o="lawtalk.xds.",i="lawtalk.",a=function(e,n){if("undefined"!=typeof document)try{var t=JSON.stringify(n),r=new Date;r.setTime(r.getTime()+864e5);var o="https:"===window.location.protocol,i=["".concat(e,"=").concat(encodeURIComponent(t)),"expires=".concat(r.toUTCString()),"path=/",o?"Secure":"","SameSite=Lax"].filter(
1Boolean).join("; ");document.cookie=i}catch(e){console.error("Failed to set cookie:",e)}},s=function(e){if("undefined"==typeof document)return null;try{var n=e+"=",t=document.cookie.split(";").map(function(e){return e.trim()}).find(function(e){return e.startsWith(n)});if(t){var r=decodeURIComponent(t.substring(n.length));return JSON.parse(r)}}catch(e){console.error("Failed to get cookie:",e)}return null},l=function(e){"undefined"!=typeof document&&(document.cookie="".concat(e,"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"))},c=function(e){try{var n=sessionStorage.getItem(e);return n?JSON.parse(n):null}catch(e){return console.error("Failed to get from sessionStorage:",e),null}},u=function(e,n){try{sessionStorage.setItem(e,JSON.stringify(n))}catch(e){console.error("Failed to set to sessionStorage:",e)}},d=function(e){try{sessionStorage.removeItem(e)}catch(e){console.error("Failed to remove from sessionStorage:",e)}},f={load:function(){if("undefined"!=typeof document)try{document.cookie.split(";").map(function(e){return e.trim()}).filter(function(e){return e.startsWith(o)}).forEach(function(e){var n=e.split("="),t=(0,r.Z)(n,1)[0],i=t.replace(o,""),a=s(t);null!==a&&(u(i,a),l(t))})}catch(e){console.error("Failed to load xDomainStorage:",e)}},set:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t?a(o+e,n):u(i+e,n)},get:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=c(i+e),r=s(o+e);return n&&f.remove(e),t||r},remove:function(e){d(i+e),l(o+e)}},p=t(37481),m=function(e){var n=e.type,t=e.text;f.set(p.Q.SNACKBAR,{type:n,text:t})},v=function(e){f.set(p.Q.SNACKBAR_RESERVATION_SURVEY,e)},y=function(){f.remove(p.Q.SNACKBAR_RESERVATION_SURVEY)}},68219:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return eo},default:function(){return ei}});var r=t(30315),o=t(770),i=t(25814),a=t.n(i),s=t(17635),l=t(26602),c=t(91629),u=t(56631),d=t(5897),f=t(68885),p=t(55068),m=t(48922),v=t(91659),y=t.n(v),h=t(41903),b=t.n(h),g=t(16361),C=t(54421),x=t.n(C),_=t(65492),j=y().bind(x()),k=function(e){var n,t=e.channel,r=e.messages,o=e.isMobile,i=void 0!==o&&o,a=e.onOpenGuideModal,s=null===(n=r[r.length-1])||void 0===n?void 0:n.senderType;return"closed_by_user"===t.status?(0,_.jsx)("div",{className:j("notice",{mobile:i}),children:(0,_.jsx)(g.j4,{userType:"client"})}):["closed","blocked"].includes(t.status)&&t.reason?(0,_.jsxs)("div",{className:j("closed-info"),children:[(0,_.jsx)(g.Kf,{type:"received",showAvatar:"lawyer"!==s,lawyerProfileImage:t.lawyer.profileImageUrl||"",lawyerName:t.lawyer.name||"",children:(0,_.jsx)(g.bJ,{closeReason:t.reason,customReasonText:t.otherReason,side:"received",isMobile:i})}),(0,_.jsx)(g.H6,{})]}):"auto_closed"===t.status?(0,_.jsx)("div",{className:j("notice"),children:(0,_.jsx)(g.vH,{senderType:s})}):(0,g.BV)(t)?null:(0,_.jsx)("div",{className:j("notice",{mobile:i}),children:(0,_.jsx)(g.NE,{isMobile:i,onDetailClick:a})})},w=t(87979),O=t.n(w),R=y().bind(O()),I=function(e){var n=e.isClosed,t=e.canReplyNow,r=e.isLastMessageFromClient,o=e.isMobile,i=void 0!==o&&o,a=e.onClickReply,s=e.onClickConsultReservation,l=!n&&t,c=(0,_.jsx)(m.F$,{startIcon:p.X$z,style:"outline",variant:"dark",size:"L",width:r?"full":"fixed",fixedValue:r?void 0:"50%",state:r?"disabled":"default",onClick:a,children:"ëµì¥"});return(0,_.jsxs)("div",{className:R("footer",{mobile:i}),children:[l&&(r?(0,_.jsx)(m.u,{containerClassName:R("tooltip-container"),horizontalAlignment:"left",position:"top",tailAlignment:"start",tooltipBodyProps:{contents:[{body:[{type:"text",content:"ë³í¸ì¬ì ëµë³ì 기ë¤ë¦¬ê³ ììµëë¤.".concat(i?"\n":" ","ëµë³ì´ ëì°©íë©´ ì¶ê° ë©ìì§ë¥¼ ë³´ë¼ ì ììµëë¤.")}]}]},children:c}):c),(0,_.jsx)(m.F$,{startIcon:p.FEz,style:"solid",variant:"orange",size:"L",width:l?"fixed":"full",fixedValue:l?"50%":void 0,onClick:s,children:"ìë´ ìì½"})]})},P=t(79267),S=t.n(P),M=y().bind(S()),N=function(e){var n=e.lawyerName,t=e.status,r=(e.responseRate,e.isMobile),o=void 0!==r&&r,i=e.isClosed,a=void 0!==i&&i,s=e.onClickBack,l=e.onClickClose,c=e.onClickLeave,u=(0,f.useState)(!1),d=u[0],v=u[1],y=(0,g.dR)(t),h=y.label,b
1=y.variant;return(0,_.jsxs)("div",{className:M("component",{mobile:o}),children:[o&&(0,_.jsx)(m.Ei,{style:"ghost",shape:"round",variant:"dark",size:"M",Icon:p.DYJ,onClick:s}),(0,_.jsxs)("div",{className:M("left"),children:[(0,_.jsx)(m.ZT,{purpose:o?"label/bold":"label/semibold",size:o?16:18,color:"grey80",className:M("lawyer-name"),children:n}),(0,_.jsx)(m.Ct,{type:"secondary",variant:b,size:"S",state:"square",label:h})]}),(!a&&l||c)&&(0,_.jsxs)("div",{className:M("menu-anchor"),children:[(0,_.jsx)(m.Ei,{style:"ghost",shape:"square",variant:"dark",size:"M",Icon:p.T6w,onClick:function(){return v(function(e){return!e})}}),(0,_.jsx)(g.pX,{isOpen:d,isMobile:o,items:[{key:"close",disabled:a||!l,icon:p.VQv,label:"ìë´ ì¢
ë£",tone:"default",onClick:function(){return null==l?void 0:l()}},{key:"leave",disabled:!c,icon:p.rce,label:"ëê°ê¸°",tone:"danger",onClick:function(){return null==c?void 0:c()}}],onClose:function(){return v(!1)}})]})]})},T=t(61753),q=t.n(T),E=y().bind(q()),L=function(e){var n=e.open,t=e.onClose,r=e.onConfirm,o=e.isMobile,i=void 0!==o&&o;return n?(0,_.jsxs)(m.u_,{open:n,onClickDimmed:t,size:400,children:[(0,_.jsx)(m.u_.Header,{isMobile:i,type:"Text",title:"ìë´ì ì¢
ë£íìê² ì´ì?"}),(0,_.jsx)(m.u_.Container,{className:E("content"),children:(0,_.jsxs)(m.ZT,{purpose:"body/regular",size:16,color:"grey80",variant:"p",children:["ìë´ ì¢
ë£ ì, í´ë¹ ë³í¸ì¬ëê³¼ ì뢰ì¸"," ",(0,_.jsx)(m.ZT,{purpose:"label/semibold",size:16,color:"grey80",variant:"span",children:"모ë ë©ìì§ ìì±ì´ ë¶ê°ë¥"}),"í´ì§ë©°, ì´ì ê¹ì§ ëë ëíë´ìì ê·¸ëë¡ ì ì§ë©ëë¤."]})}),(0,_.jsxs)(m.u_.Footer,{className:E("modal-footer",{mobile:i}),children:[(0,_.jsx)(m.F$,{style:"contained",variant:"dark",size:"L",width:i?"fixed":"fit",fixedValue:i?"50%":void 0,onClick:t,children:"ì·¨ì"}),(0,_.jsx)(m.F$,{style:"solid",variant:"red",size:"L",width:i?"fixed":"fit",fixedValue:i?"50%":void 0,onClick:r,children:"ì¢
ë£"})]})]}):null},D=t(41616),F=t.n(D),z=y().bind(F()),Z=function(e){var n=e.open,t=e.onClose,r=e.onConfirm,o=e.isMobile,i=void 0!==o&&o;return n?(0,_.jsxs)(m.u_,{open:n,onClickDimmed:t,size:400,children:[(0,_.jsx)(m.u_.Header,{isMobile:i,type:"Text",title:"ì±í
ë°©ì ëê°ìê² ì´ì?"}),(0,_.jsx)(m.u_.Container,{className:z("content"),children:(0,_.jsxs)(m.ZT,{purpose:"body/regular",size:16,color:"grey80",variant:"p",children:["ì±í
ë°©ì ëê°ë©´ ìë´ì´ ì¢
ë£ëë©°,",(0,_.jsx)("br",{}),(0,_.jsx)(m.ZT,{purpose:"label/bold",size:16,color:"grey80",variant:"span",children:"ì´ì ëíë´ìì ë¤ì íì¸í ì ìì´ì."}),(0,_.jsx)("br",{}),"í´ë¹ ë³í¸ì¬ëìê² ì¶ê° ëµë³ì ë°ì ì ìì¼ë©°, ë¤ì ìë´ì ìíì¤ ê²½ì° ìë¡ê² ìì²í´ 주ì
ì¼ í´ì."]})}),(0,_.jsxs)(m.u_.Footer,{className:z("modal-footer",{mobile:i}),children:[(0,_.jsx)(m.F$,{style:"contained",variant:"dark",size:"L",width:i?"fixed":"fit",fixedValue:i?"50%":void 0,onClick:t,children:"ì·¨ì"}),(0,_.jsx)(m.F$,{style:"solid",variant:"red",size:"L",width:i?"fixed":"fit",fixedValue:i?"50%":void 0,onClick:r,children:"ëê°ê¸°"})]})]}):null};function A(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}var H=y().bind(b()),V=function(e){var n,t=e.channel,i=e.messages,s=e.isMobile,c=void 0!==s&&s,u=e.hasMoreMessages,d=void 0!==u&&u,v=e.isFetchingMoreMessages,y=void 0!==v&&v,h=e.onClickBack,b=e.onClickReply,C=e.onClickConsultReservation,x=e.isLoading,j=e.onReachTop,w=e.onCloseChannel,O=e.onLeaveChannel,R=(0,f.useState)(!1),P=R[0],S=R[1],M=(0,f.useState)(!1),T=M[0],q=M[1],E=(0,f.useState)(!1),D=E[0],F=E[1],z=!!t&&(0,g.vs)(t.status),V=!!t&&(0,g.BV)(t),B=(0,f.useMemo)(function(){return(0,g.py)(i)},[i]),Q=(0,f.useMemo)(function(){var e;return null===(e=i.find(function(e){return"user"===e.senderType}))||void 0===e?void 0:e.id},[i]),J=(0,f.useRef)(null),U=(0,f.useRef)(null);(0,f.useEffect)(function(){if(!y){var e=J.current;e&&null===U.current&&(e.scrollTop=e.scrollHeight)}},[y,i]);var Y=(0,f.useCallback)((0,o.Z)(a().mark(function e(){var n;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(!(n=J.current)||!d||y||n.scrollTop>80)){e.next=3;break}return e.abrupt("return");case 3:return U.current=n.scrollHeight-n.scrollTop,e.next=6,null==j?void 0:j();case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0=0;case 9:if(0!==e.t0){e.next=13;break}return U.current=null,e.abrupt("return");case 13:requestAnimationFrame(function(){var e=J.current;e&&null!==U.current&&(e.scrollTop=e.scrollHeight-U.current,U.current=null)});case 14:case"end":return e.stop()}},e)})),[d,y,j]),X=(0,f.useCallback)(function(){return S(!0)},[]),K=(0,f.useCallback)(function(){return S(!1)},[]),$=(0,f.useCallback)(function(){return q(!0)},[]),W=(0,f.useCallback)(function(){return q(!1)},[]),G=(0,f.useCallback)((0,o.Z)(a().mark(function e(){return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,null==w?void 0:w();case 3:q(!1),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),l.E.error("ìë´ ì¢
ë£ì ì¤í¨íìµëë¤. ì ì í ë¤ì ìëí´ì£¼ì¸ì.");case 9:case"end":return e.stop()}},e,null,[[0,6]])})),[w]),ee=(0,f.useCallback)(function(){return F(!0)},[]),en=(0,f.useCallback)(function(){return F(!1)},[]),et=(0,f.useCallback)((0,o.Z)(a().mark(function e(){return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null==O?void 0:O();case 2:F(!1);case 3:case"end":return e.stop()}},e)})),[O]);return(0,_.jsxs)("div",{className:H("component",{mobile:c}
1),children:[(0,_.jsx)(N,{lawyerName:t?"".concat(t.lawyer.name," ë³í¸ì¬"):"ë³í¸ì¬",status:null!==(n=null==t?void 0:t.status)&&void 0!==n?n:"waiting",responseRate:null==t?void 0:t.lawyer.responseRate,isMobile:c,isClosed:z,onClickBack:h,onClickClose:w?$:void 0,onClickLeave:O?ee:void 0}),void 0!==x&&x||!t?(0,_.jsx)(_.Fragment,{}):(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{ref:J,className:H("message-list"),onScroll:function(){Y()},children:[0!==i.length&&(0,_.jsx)("div",{className:H("guide-text"),children:(0,_.jsxs)(m.ZT,{purpose:"caption/regular",size:12,color:"grey50",variant:"p",children:[g.Xy,"ë 첫 문ì를 í¬í¨íì¬",(0,_.jsx)("br",{}),(0,_.jsxs)(m.ZT,{purpose:"label/semibold",size:12,color:"grey50",variant:"span",children:["ìµë 3ë²ê¹ì§"," "]}),"ì¶ê° 문ì를 í ì ììµëë¤."]})}),B.map(function(e){var n=e.dateKey,o=e.messages;return(0,_.jsxs)("div",{children:[(0,_.jsx)(g.Wr,{date:o[0].createdAt}),(0,_.jsx)("div",{className:H("message-group"),children:o.map(function(e,n){var i,a="lawyer"===e.senderType,s=o[n-1],l=a&&(0===n||(null==s?void 0:s.senderType)!=="lawyer");return(0,_.jsx)(g.Kf,{className:H(a?"message-row-received":"message-row-sent"),type:a?"received":"sent",showAvatar:l,lawyerProfileImage:t.lawyer.profileImageUrl||"",lawyerName:null!==(i=t.lawyer.name)&&void 0!==i?i:"",children:(0,_.jsx)(g.Oi,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?A(Object(t),!0).forEach(function(n){(0,r.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):A(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}({isMobile:c,type:a?"received":"sent",content:e.content,isDeleted:!!e.isDeleted},e.id===Q&&!y&&{title:"문ìë´ì©",titleIcon:(0,_.jsx)(p.Jcr,{})}))},e.id)})})]},n)}),(0,_.jsx)(k,{channel:t,messages:i,isMobile:c,onOpenGuideModal:X})]}),V&&(0,_.jsxs)("button",{type:"button",className:H("remaining-bar",{mobile:c}),onClick:X,children:[(0,_.jsxs)(m.ZT,{purpose:"body/regular",size:14,color:"grey0",children:["ëµì¥ ê°ë¥ íìê°"," ",(0,_.jsxs)(m.ZT,{purpose:"label/bold",size:14,color:"grey0",variant:"span",children:[t.remainingReplyCount,"í"]})," ","ë¨ììµëë¤."]}),(0,_.jsx)(p.c8C,{width:16,height:16,className:H("chevron-icon")})]}),(0,_.jsx)(I,{isClosed:z,canReplyNow:V,isLastMessageFromClient:"user"===t.lastMessage.senderType,isMobile:c,onClickReply:b,onClickConsultReservation:C}),(0,_.jsx)(g.fi,{open:P,isMobile:c,onClose:K}),(0,_.jsx)(L,{open:T,isMobile:c,onClose:W,onConfirm:G}),(0,_.jsx)(Z,{open:D,isMobile:c,onClose:en,onConfirm:et})]})]})},B=t(44068),Q=t(19538),J=t(74353),U=t(14291),Y=t(37630),X=t(55904),K=t(37373);function $(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function W(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?$(Object(t),!0).forEach(function(n){(0,r.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var G=function(){(0,J.f)();var e,n,t,r=(0,U.I)(),i=(0,d.useRouter)(),p=i.query.channelId,m=(0,g.yd)(),v=m.activeChannel,y=m.messages,h=m.isFetchingDetail,b=m.messagesHasMore,C=m.isFetchingMoreMessages,x=m.fetchChannelDetail,j=m.fetchMoreMessages,k=m.pollMessages,w=m.clearDetail,O=m.sendReply,R=m.closeChannel,I=m.leaveChannel,P=m.pollChannels,S=(0,g.FC)(),M=S.trackClickReply,N=S.trackClickReservation,T=S.trackClickCloseQuickChat,q=S.trackClickQuitQuickChat,E=(0,g.Rc)(),L=E.trackSendSimpleInquiry,D=E.trackCloseSimpleInquiry,F=(0,Y.J)().goToProfile,z=(0,Q.e)().amplitudePageLocation;(0,f.useEffect)(function(){if(p)return x(p).then(function(e){e||i.replace(B.ln.INQUIRY_LIST)}),function(){w()}},[p,x,w,i]);var Z=(0,f.useState)(!1),A=Z[0],H=Z[1],$=(0,f.useState)(!1),G=$[0],ee=$[1],en=(0,f.useMemo)(function(){var e=v||{},n=e.maxReplyCount,t=e.remainingReplyCount,r=e.lawyerMessageCount;return{lawyer_slug:(null==v?void 0:v.lawyer.slug)||"",reply_count:(void 0===n?0:n)-(void 0===t?0:t),"lawyer-reply_count":void 0===r?0:r}},[v]),et=(0,f.useCallback)(function(){var e=i.query.filter;i.replace({pathname:B.ln.INQUIRY_LIST,query:e?{filter:e}:void 0})},[i]),er=(0,f.useCallback)(function(){M(en),H(!0)},[en]),eo=(0,f.useCallback)(function(){D({pageLocation:z}),H(!1)},[D,z]),ei=(0,f.useCallback)((e=(0,o.Z)(a().mark(function e(n){var t,r,o,i;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return ee(!0),e.prev=1,e.next=4,O(p,n.content);case 4:r=e.sent,L({lawyerSlug:null!==(t=null==v?void 0:v.lawyer.slug)&&void 0!==t?t:"",channelId:p,objectId:r.message.id,replyCount:r.maxReplyCount-r.remainingReplyCount,pageLocation:z}),l.E.success("ì ì¡ì´ ìë£ëììµëë¤."),H(!1),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(1),i=(e.t0 instanceof Error&&"response"in e.t0?null===(o=e.t0.response)||void 0===o||null===(o=o.data)||void 0===o||null===(o=o.message)||void 0===o?void 0:o[0]:null)||(e.t0 instanceof Error?e.t0.message:null)||"ì ì¡ì ì¤í¨íìµëë¤. ë¤ì ìëí´ì£¼ì¸ì.",l.E.error(i);case 14:return e.prev=14,ee(!1),e.finish(14);case 17:case"end":return e.stop()}},e,null,[[1,10,14,17]])})),function(n){return e.apply(this,arguments)}),[p,O,L,v,z]),ea=(0,f.useCallback)((0,o.Z)(a().mark(function e(){return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,T(en),e.next=4,R(p);case 4:l.E.info("ìë´ì ì¢
ë£íìµëë¤."),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),l.E.error("ìë´ ì¢
ë£ì ì¤í¨íìµëë¤. ì ì í ë¤ì ìëí´ì£¼ì¸ì.");case 10:case"end":return e.stop()}},e,null,[[0,7]])})),[p,R,en,T]),es=(0,f.useCallback)((0,o.Z)(a().mark(function e(){var n,t;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return q(en),e.prev=1,e.next=4,I(p);case 4:e.next=14;break;case 6:if(e.prev=6,e.t0=e.catch(1),(t=u.Z.isAxiosError(e.t0)?null===(n=e.t0.response)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.message:void 0)!==g.OA){e.next=12;break}return i.replace(B.ln.INQUIRY_LIST),e.abrupt("return");case 12:return l.E.error(null!=t?t:"ëíìì ëê° ì ììµëë¤. ì ì í ë¤ì ìëí´ì£¼ì¸ì."),e.abrupt("return");case 14:l.E.info("ì±í
ë°©ìì ëê°ì´ì. ì´ì ëíë ë¤ì ë³¼ ì ìì´ì."),i.replace(B.ln.INQUIRY_LIST);case 16:case"end":return e.stop()}},e,null,[[1,6]])})),[p,I,i,en,q]),el=(0,f.useCallback)(function(){v&&(N(W(W({},en),{},{status:null==v?void 0:v.status,result:null==v?void 0:v.reason})),F({lawyerSlug:v.lawyer.slug||"",source:"quick-chat",selectContext:"normal"}))},[v,en,F]),ec=(0,f.useCallback)((0,o.Z)(a().mark(function e(){var n;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(p&&!(0,g.vs)(null!==(n=null==v?void 0:v.status)&&void 0!==n?n:"waiting"))){e.next=3;break}return e.next=3,k(p);case 3:P();case 4:case"end":return e.stop()}},e)})),[p,v,k,P]);return(0,K.R)(ec),(0,X.W)(ec,3e4),(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(g.Eh,{hasHeader:!r,hasMobileBottomMenu:!1,mainPanel:"right",activeChannelId:p,rightPanel:(0,_.jsx)(V,{isLoading:h||!v,isMobile:r,channel:v||void 0,messages:y,hasMoreMessages:b,is
1FetchingMoreMessages:C,onClickBack:et,onClickReply:er,onCloseChannel:ea,onLeaveChannel:es,onClickConsultReservation:el,onReachTop:function(){return j(p)}})}),(0,_.jsx)(s.QH,{mode:"reply",open:A,onClose:eo,isMobile:r,lawyerName:null!==(n=null==v?void 0:v.lawyer.name)&&void 0!==n?n:"",minLength:c.l6,maxLength:c.Sl,senderName:null!==(t=null==v?void 0:v.client.name)&&void 0!==t?t:"",isSubmitting:G,onSubmit:ei})]})},ee=function(){var e="".concat(g.Xy," | ë¡í¡");return[(0,_.jsx)("title",{children:e},"title"),(0,_.jsx)("meta",{name:"robots",content:"noindex, nofollow"},"robots")]},en=t(91682),et=t.n(en);function er(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}var eo=!0;function ei(e){return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(et(),{children:ee()}),(0,_.jsx)(G,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?er(Object(t),!0).forEach(function(n){(0,r.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):er(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}({},e))]})}},53970:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/inquiry/[channelId]",function(){return t(68219)}])},54421:function(e){e.exports={notice:"InquiryChatRoomBottomStatus_notice__IOdmk","closed-info":"InquiryChatRoomBottomStatus_closed-info__pB_az"}},87979:function(e){e.exports={footer:"InquiryChatRoomFooter_footer__QuHde","tooltip-container":"InquiryChatRoomFooter_tooltip-container__TDJzn"}},79267:function(e){e.exports={component:"InquiryChatRoomHeader_component__vNfmS",mobile:"InquiryChatRoomHeader_mobile__LiIn4",left:"InquiryChatRoomHeader_left__9jKEJ","lawyer-name":"InquiryChatRoomHeader_lawyer-name__SSNm5","menu-anchor":"InquiryChatRoomHeader_menu-anchor__4oCwj",right:"InquiryChatRoomHeader_right__CLzDY","thunder-icon":"InquiryChatRoomHeader_thunder-icon__0GUkF"}},41903:function(e){e.exports={ltDesktop:"InquiryChatRoomPanel_ltDesktop__QNB9w",ltMobile:"InquiryChatRoomPanel_ltMobile__0J97M",component:"InquiryChatRoomPanel_component__h7MkP",mobile:"InquiryChatRoomPanel_mobile__Y5COK","message-list":"InquiryChatRoomPanel_message-list__SRYsc","guide-text":"InquiryChatRoomPanel_guide-text__gALgV","message-group":"InquiryChatRoomPanel_message-group__6DVKQ","message-row-received":"InquiryChatRoomPanel_message-row-received__mySAm","message-row-sent":"InquiryChatRoomPanel_message-row-sent__80VtV","remaining-bar":"InquiryChatRoomPanel_remaining-bar__JyyuH","chevron-icon":"InquiryChatRoomPanel_chevron-icon__4VcZm"}},61753:function(e){e.exports={content:"InquiryCloseConfirmModal_content__nrDq7","modal-footer":"InquiryCloseConfirmModal_modal-footer__StaC0",mobile:"InquiryCloseConfirmModal_mobile__Pu7sH"}},41616:function(e){e.exports={content:"InquiryLeaveConfirmModal_content__cQAgH","modal-footer":"InquiryLeaveConfirmModal_modal-footer__YVTP_",mobile:"InquiryLeaveConfirmModal_mobile__XPs9u"}}},function(e){"function"==typeof e.x?e.x():console.warn("[Module Federation] __webpack_require__.x is not a function, skipping startup extension"),_N_E=Promise.all([e.f.consumes||function(e,n){},e.f.remotes||function(e,n){}].reduce(function(e,n){return n("8479",e),e},[])).then(function(){return e.X(0,[4178,3453,3846,7338,9965,8574,4992,1974,1318,730,5798,6472,2654,7841,9916,6893,5509,2888,179],function(){return e(e.s=53970)})})}]);
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.