PageSourceSearch

https://www.missgoauction.com/_next/static/chunks/1398.7d5a532a8590da06.js

js missgoauction.com collected 2026-10-01 14:25:21 UTC 156,858 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1398],{68430:function(e,n,t){t.d(n,{M:function(){return useGetItemRank}});var i=t(59077),r=t(69),l=t(3405);let getItemRank=async e=>{let{data:n}=await r.be.get("".concat(r.VN,"/items/detail/summary/rank/").concat(e.itemId),{params:e});return n},useGetItemRank=(e,n)=>(0,i.useQuery)({queryKey:[l.i.useGetItemRank,e],queryFn:()=>getItemRank(e),enabled:n})},81398:function(e,n,t){t.d(n,{Z:function(){return components_MissgoAI}});var i=t(60230),r=t(57437),l=t(42714),o=t(24033),a=t(2265),s=t(59077),c=t(55883),d=t(56636),p=t(63529),u=t(62219),x=t(90963),h=t(29787),g=t(90665),f=t(12537),m=t(53055),b=t(57880),j=t(86939),_=t(34051),v=t(74497),w=t(67863),O=t(93942),y=t(962),A=t(9417),k=t(21905),C=t(1763),ui_LoadingIcon=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",children:(0,r.jsx)("rect",{width:"10",height:"10",rx:"1.5",fill:"white"})}),ui_SubmitIcon=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16",fill:"none",children:(0,r.jsx)("path",{d:"M6 14.6663V1.33301M6 1.33301L1 6.33301M6 1.33301L11 6.33301",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});function _templateObject(){let e=(0,i._)(["\n    width: 100%;\n    box-sizing: border-box;\n    position: relative;\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    padding: 13px 12px;\n    border-radius: 5px;\n\n    background-color: ",";\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,i._)(["\n    width: 100%;\n    height: 20px;\n    padding: 0;\n    margin-right: 12px;\n    border: none;\n    outline: none;\n    resize: none;\n    overflow-y: auto;\n    font-size: 14px;\n    line-height: 140%;\n    font-family: inherit;\n    background-color: ",";\n\n    &::placeholder {\n        color: #9e9e9e;\n    }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,i._)(["\n    min-width: 28px;\n    min-height: 28px;\n    padding: 4px;\n    border: none;\n    border-radius: 50%;\n    cursor: pointer;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n\n    &:hover {\n        background-color: #0056b3;\n    }\n\n    svg {\n        fill: white;\n    }\n"]);return _templateObject2=function(){return e},e}let P=d.ZP.div(_templateObject(),C.G.colors.grey02),I=d.ZP.textarea(_templateObject1(),C.G.colors.grey02),S=d.ZP.button(_templateObject2());var components_ChatInput=e=>{let{onSubmit:n,onCancel:t,isLoading:i,isDisabled:l=!1,onHeightChange:o}=e,[s,c]=(0,a.useState)(""),[d,p]=(0,a.useState)(!1),u=(0,a.useRef)(null),x=(0,a.useCallback)(()=>{let e=u.current;if(e){e.style.height="auto";let n=e.scrollHeight;e.style.height="".concat(Math.min(n,80),"px"),null==o||o(Math.min(n,80))}},[]),handleSubmit=()=>{!i&&s.trim()&&(null==n||n(s),i||c(""),setTimeout(x,0))};return(0,r.jsxs)(P,{children:[(0,r.jsx)(I,{ref:u,value:s,onChange:e=>{c(e.target.value),x()},rows:1,maxLength:200,placeholder:"무엇이든 물어보세요. (최대 200자)",onCompositionStart:()=>p(!0),onCompositionEnd:()=>p(!1),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||i||d||(e.preventDefault(),handleSubmit())},disabled:l}),(0,r.jsx)(S,{type:"button",onClick:()=>{i?null==t||t():handleSubmit()},style:{backgroundColor:""!==s||i?"#000":C.G.colors.grey04},children:i?(0,r.jsx)(ui_LoadingIcon,{}):(0,r.jsx)(ui_SubmitIcon,{})})]})};function Message_templateObject(){let e=(0,i._)(["\n        background-color: #f1f1f1;\n        color: #000000;\n        border-bottom-left-radius: 4px;\n    "]);return Message_templateObject=function(){return e},e}function Message_templateObject1(){let e=(0,i._)(["\n        background-color: #000000;\n        color: #ffffff;\n        border-bottom-right-radius: 4px;\n    "]);return Message_templateObject1=function(){return e},e}function Message_templateObject2(){let e=(0,i._)(["\n    display: flex;\n    justify-content: ",";\n    margin-bottom: 12px;\n"]);
1return Message_templateObject2=function(){return e},e}function _templateObject3(){let e=(0,i._)(["\n    max-width: 90%;\n    padding: 10px 14px;\n    border-radius: 20px;\n    white-space: pre-wrap;\n    line-height: 1.5;\n    font-size: 15px;\n    word-break: break-word;\n\n    ","\n"]);return _templateObject3=function(){return e},e}let E={assistant:(0,d.iv)(Message_templateObject()),user:(0,d.iv)(Message_templateObject1())},T=d.ZP.div(Message_templateObject2(),e=>{let{role:n}=e;return"user"===n?"flex-end":"flex-start"}),D=d.ZP.div(_templateObject3(),e=>{let{role:n}=e;return E[n]});var components_Message=e=>{let{role:n,content:t}=e;return(0,r.jsx)(T,{role:n,children:(0,r.jsx)(D,{role:n,children:t})})},N=t(74964),M=t(42899);function MessageLoading_templateObject(){let e=(0,i._)(["\n    display: flex;\n    justify-content: 'flex-start';\n    margin-bottom: 12px;\n"]);return MessageLoading_templateObject=function(){return e},e}function MessageLoading_templateObject1(){let e=(0,i._)(["\n    max-width: 90%;\n    padding: 10px 0 10px 14px;\n    border-radius: 20px;\n    white-space: pre-wrap;\n    line-height: 1.5;\n    font-size: 15px;\n    word-break: break-word;\n\n    background-color: #f1f1f1;\n    color: #000000;\n    border-bottom-left-radius: 4px;\n"]);return MessageLoading_templateObject1=function(){return e},e}function MessageLoading_templateObject2(){let e=(0,i._)(["\n    width: 100%;\n    display: flex;\n    flex-direction: column;\n    justify-content: center;
1\n    align-items: center;\n    width: 60px;\n    height: 30px;\n"]);return MessageLoading_templateObject2=function(){return e},e}let R=d.ZP.div(MessageLoading_templateObject()),z=d.ZP.div(MessageLoading_templateObject1()),B=d.ZP.div(MessageLoading_templateObject2());var components_MessageLoading=()=>(0,r.jsx)(R,{children:(0,r.jsx)(z,{children:(0,r.jsx)(B,{children:(0,r.jsx)(N.Z,{loop:!0,animationData:M})})})});function MessageLoadingThink_templateObject(){let e=(0,i._)(["\n  from {\n    background-position: 100% 50%;\n  }\n  to {\n    background-position: 0% 50%;\n  }\n"]);return MessageLoadingThink_templateObject=function(){return e},e}function MessageLoadingThink_templateObject1(){let e=(0,i._)(["\n    background: linear-gradient(90deg, #000 30%, white 50%, #000 70%);\n    background-size: 200% auto;\n\n    background-clip: text;\n    -webkit-background-clip: text;\n    color: transparent;\n\n    animation: "," 1.2s linear infinite;\n"]);return MessageLoadingThink_templateObject1=function(){return e},e}function MessageLoadingThink_templateObject2(){let e=(0,i._)(["\n    display: flex;\n    justify-content: flex-start;\n    margin-bottom: 12px;\n"]);return MessageLoadingThink_templateObject2=function(){return e},e}function MessageLoadingThink_templateObject3(){let e=(0,i._)(["\n    max-width: 90%;\n    padding: 10px 14px;\n    border-radius: 20px;\n    white-space: pre-wrap;\n    line-height: 1.5;\n    font-size: 15px;\n    word-break: break-word;\n\n    background-color: #f1f1f1;\n    color: #000000;\n    border-bottom-left-radius: 4px;\n"]);return MessageLoadingThink_templateObject3=function(){return e},e}let L=(0,d.F4)(MessageLoadingThink_templateObject()),Z=d.ZP.span(MessageLoadingThink_templateObject1(),L),G=d.ZP.div(MessageLoadingThink_templateObject2()),F=d.ZP.div(MessageLoadingThink_templateObject3());var components_MessageLoadingThink=()=>(0,r.jsx)(G,{children:(0,r.jsx)(F,{children:(0,r.jsx)(Z,{children:"더 좋은 응답을 위해 더 오래 생각하는 중..."})})});function ChatLog_templateObject(){let e=(0,i._)(["\n    /* 높이를 직접 지정받는 영역이라 content-box 로 두면 여백이 바깥으로 붙어\n       영역이 입력창 아래로 더 내려간다(실측 769px → 849px). */\n    box-sizing: border-box;\n    flex-grow: 1;\n    overflow-y: scroll;\n    overscroll-behavior: contain;\n    padding: 26px 0 0 0;\n    padding-right: 8px;\n"]);return ChatLog_templateObject=function(){return e},e}let V=d.ZP.div(ChatLog_templateObject());var components_ChatLog=e=>{let{data:n,isLoading:t=!1,ticketBoxState:i="HIDDEN",calculatedHeight:l,bottomGap:o=0}=e,s=(0,a.useRef)(null),[c,d]=(0,a.useState)(!1),p=(0,a.useRef)(!0);return(0,a.useEffect)(()=>{let e=s.current;if(!e)return;let i=[...n].reverse().find(e=>""!==e.content);if((null==i?void 0:i.role)==="user"&&(p.current=!0),!p.current)return;let r=e.scrollHeight-e.scrollTop-e.clientHeight;e.scrollTo({top:e.scrollHeight,behavior:!t&&r<600?"smooth":"auto"});let l=setTimeout(()=>{let e=s.current;e&&p.current&&e.scrollTo({top:e.scrollHeight,behavior:"auto"})},200);return()=>clearTimeout(l)},[n,t]),(0,a.useEffect)(()=>{if(t){let e=setTimeout(()=>{d(!0)},5e3);return()=>clearTimeout(e)}d(!1)},[t]),(0,r.jsxs)(V,{ref:s,onScroll:()=>{let e=s.current;e&&(p.current=e.scrollHeight-e.scrollTop-e.clientHeight<80)},style:{maxHeight:l,height:l,paddingBottom:o},children:[n.map((e,n)=>""!==e.content&&(0,r.jsx)(components_Message,{role:e.role,content:e.content},n)),t&&!c&&(0,r.jsx)(components_MessageLoading,{}),t&&c&&(0,r.jsx)(components_MessageLoadingThink,{})]})},H=JSON.parse('{"a":[{"role":"assistant","content":"안녕하세요. 미스고 AI 챗봇입니다.\\n 궁금한것은 무엇이든 물어보세요!"}]}');function MissgoAIChatbot_templateObject(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    box-sizing: border-box;\n    overflow: hidden;\n    gap: 10px;\n\n    .sidePadding14 {\n        padding: 0 14px;\n    }\n"]);return MissgoAIChatbot_templateObject=function(){return e},e}function MissgoAIChatbot_templateObject1(){let e=(0,i._)(["\n    position: fixed;\n    left: 0;\n    right: 0;\n    z-index: 100;\n    width: 100%;\n    box-sizing: border-box;\n    background-color: white;\n    flex-shrink: 0;\n"]);
1return MissgoAIChatbot_templateObject1=function(){return e},e}function MissgoAIChatbot_templateObject2(){let e=(0,i._)(["\n    width: 100%;\n    box-sizing: border-box;\n    padding: 0 14px 14px 14px;\n\n    position: relative;\n"]);return MissgoAIChatbot_templateObject2=function(){return e},e}function MissgoAIChatbot_templateObject3(){let e=(0,i._)(["\n    position: absolute;\n    top: 0;\n    right: 0;\n    width: 100%;\n    height: 68px;\n\n    background-color: transparent;\n"]);return MissgoAIChatbot_templateObject3=function(){return e},e}function _templateObject4(){let e=(0,i._)(["\n    display: flex;\n    align-items: center;\n    gap: 9px;\n    margin-top: 4px;\n    padding: 10px 11px;\n    border: 1px solid #e5e8ef;\n    border-radius: 10px;\n    background: #f6faff;\n\n    img,\n    .noThumb {\n        flex-shrink: 0;\n        width: 32px;\n        height: 32px;\n        border-radius: 6px;\n        background: #cfd6e4;\n        object-fit: cover;\n    }\n\n    .tx {\n        flex: 1;\n        min-width: 0;\n        display: flex;\n        flex-direction: column;\n        gap: 2px;\n    }\n\n    .tx > b {\n        font-size: 12px;\n        font-weight: 700;\n        line-height: 140%;\n        color: #0c002c;\n    }\n\n    .tx > em {\n        font-size: 12px;\n        font-weight: 500;\n        font-style: normal;\n        line-height: 140%;\n        color: #505050;\n        overflow: hidden;\n        text-overflow: ellipsis;\n        white-space: nowrap;\n    }\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,i._)(["\n    margin: 4px 0 0;\n    font-size: 16px;\n    font-weight: 700;\n    line-height: 150%;\n    color: #0c002c;\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,i._)(["\n    margin: 4px 0 0;\n    font-size: 12px;\n    font-weight: 500;\n    line-height: 150%;\n    color: #505050;\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    gap: 8px;\n    margin-top: 12px;\n\n    button {\n        display: flex;\n        align-items: center;\n        gap: 9px;\n        width: 100%;\n        padding: 12px;\n        border: 1px solid #e5e8ef;\n        border-radius: 10px;\n        background: #fff;\n        font-family: inherit;\n        text-align: left;\n        cursor: pointer;\n        transition: background 0.15s ease;\n    }\n\n    button:disabled {\n        opacity: 0.5;\n        cursor: default;\n    }\n\n    button:not(:disabled):active {\n        background: #f6f7fa;\n    }\n\n    button > i {\n        flex-shrink: 0;\n        width: 22px;\n        height: 22px;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        border-radius: 6px;\n        background: #fdecec;\n        color: #f6494b;\n        font-size: 12px;\n        font-style: normal;\n        font-weight: 700;\n    }\n\n    button > span {\n        flex: 1;\n        min-width: 0;\n        font-size: 14px;\n        font-weight: 700;\n        line-height: 150%;\n        color: #0c002c;\n        word-break: keep-all;\n    }\n\n    button > em {\n        flex-shrink: 0;\n        color: #c6cbd6;\n        font-style: normal;\n    }\n"]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,i._)(["\n    width: 100%;\n    display: flex;\n    flex-direction: row;\n    align-items: center;\n    justify-content: center;\n    gap: 30px;\n    box-sizing: border-box;\n    padding: 8px;\n    text-align: center;\n\n    border-radius: 4px;\n    border: 1px solid #000;\n    background: #fff;\n\n    color: #000;\n    font-size: 12px;\n    font-weight: 400;\n    line-height: 140%;\n"]);return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,i._)(["\n    width: 100%;\n    display: flex;\n    flex-direction: row;\n    justify-content: space-between;\n    align-items: center;\n    padding: 8px 12px;\n    box-sizing: border-box;\n\n    border-radius: 5px;\n    background: #000;\n\n    color: #fff;\n    font-size: 14px;\n    font-weight: 400;\n    line-height: 140%;\n"]);
1return _templateObject9=function(){return e},e}function _templateObject10(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    justify-content: space-between;\n    gap: 8px;\n\n    button {\n        cursor: pointer;\n        padding: 5px 12px;\n\n        border-radius: 30px;\n        background-color: #fff;\n\n        color: #000;\n        font-size: 10px;\n        font-weight: 400;\n        line-height: 140%;\n    }\n"]);return _templateObject10=function(){return e},e}let U=["이 물건 사면 뭐가 위험한가요?","얼마에 쓰면 될까요?","지금 쓰는 사람은 내보낼 수 있나요?","낙찰받으면 돈이 얼마나 드나요?"],W=d.ZP.div(MissgoAIChatbot_templateObject()),Y=d.ZP.div(MissgoAIChatbot_templateObject1()),K=d.ZP.div(MissgoAIChatbot_templateObject2()),Q=d.ZP.div(MissgoAIChatbot_templateObject3()),q=d.ZP.div(_templateObject4()),$=d.ZP.p(_templateObject5()),J=d.ZP.p(_templateObject6()),X=d.ZP.div(_templateObject7()),ee=d.ZP.div(_templateObject8()),en=d.ZP.div(_templateObject9()),et=d.ZP.div(_templateObject10());var components_MissgoAIChatbot=e=>{var n,t,i,l,s;let{onOpenUserSubUpgradeModal:c,onOpenPaymentModal:d,isMobilePopup:x}=e,h=(0,o.useRouter)(),g=(0,o.usePathname)(),f=(0,o.useSearchParams)(),m=null!==(l=f.get("itemId"))&&void 0!==l?l:"",[b,j]=(0,a.useState)(H.a),[_,v]=(0,a.useState)(!1),[w,O]=(0,a.useState)("HIDDEN"),[C,P]=(0,a.useState)(20),{startStream:I,isLoading:S,cancelStream:E,error:T}=(0,p.Uk)(),{data:D,isLoading:N,refetch:M}=(0,p.g7)(m,{enabled:!!m});(0,a.useEffect)(()=>{let e=H.a.length;(null==D?void 0:D.data)&&b.length===e&&j([...H.a,...D.data])},[D]);let{data:R,refetch:z}=(0,p.iW)(),{data:B}=(0,p.U0)(),L=(0,a.useRef)(null),Z=(0,k.y)(),G=(0,y.u)(),F=b.length<=H.a.length,{data:V}=(0,u.U$)(m,!!m),ei=null==V?void 0:null===(t=V.payload)||void 0===t?void 0:null===(n=t.result)||void 0===n?void 0:n.section_initial,er=Array.isArray(null==ei?void 0:ei.images)?null==ei?void 0:null===(i=ei.images)||void 0===i?void 0:i[0]:void 0,el=(()=>{var e;let n=Number(String(null!==(e=null==ei?void 0:ei.min_price)&&void 0!==e?e:"").replace(/[^0-9]/g,""));return n>0?"".concat((0,A.Sf)(n),"원"):""})();(0,a.useEffect)(()=>{M(),z(),(null==R?void 0:R.remainCount)===0&&(null==R?void 0:R.ticketCount)===0&&"VVIP"===Z&&O("TICKET"),(null==R?void 0:R.remainCount)===0&&(null==R?void 0:R.ticketCount)===0&&"VIP"===Z&&O("UPGRADE"),(null==R?void 0:R.remainCount)===0&&("BASIC"===Z||"STANDARD"===Z||"NONE"===Z||"FREE_TRIAL"===Z)&&O("ONLY_UPGRADE"),((null==R?void 0:R.remainCount)>0||(null==R?void 0:R.ticketCount)>0)&&O("HIDDEN")},[R,Z]);let handleSendMessage=e=>{let n={role:"user",content:e},t={role:"assistant",content:""};j(e=>[...e,n,t]),I({itemId:m,question:e},{onChunk:e=>{j(n=>{let t=[...n],i=t.length-1;return i>=0&&(t[i].content+=e),t})},onDone:()=>{_||v(!0),j(e=>{let n=[...e],t=n.length-1;if(t<0)return n;let i=n[t].content;return i.endsWith("\n")&&(n[t].content=i.slice(0,-1)),n}),v(!1),z()},onError:e=>{console.log(e),j(e=>{let n=[...e],t=n.length-1;return t>=0&&(n[t].content="오류가 발생했습니다."),n}),_||v(!0),z()}})},eo=g.includes("/detail/auctionDetail"),ea=(0,a.useMemo)(()=>{if(x)return"100%";if(eo){if("HIDDEN"===w)return"calc(100vh - 360px - ".concat(C,"px)");if("TICKET"===w||"ONLY_UPGRADE"===w)return"calc(100vh - 430px)";if("UPGRADE"===w)return"calc(100vh - 460px)"}if(!eo){if("HIDDEN"===w)return"calc(100vh - 200px - ".concat(C,"px)");if("TICKET"===w||"ONLY_UPGRADE"===w)return"calc(100vh - 270px)";if("UPGRADE"===w)return"calc(100vh - 300px)"}return""},[eo,x,w,C]);return(0,r.jsxs)(W,{style:{height:eo||x?"100%":"100vh",position:x?"relative":void 0},children:[(null==ei?void 0:ei.case_name)&&(0,r.jsx)("div",{className:"sidePadding14",style:{flexShrink:0},children:(0,r.jsxs)(q,{children:[er?(0,r.jsx)("img",{src:er,alt:""}):(0,r.jsx)("span",{className:"noThumb"}),(0,r.jsxs)("span",{className:"tx",children:[(0,r.jsxs)("b",{children:[ei.case_name,ei.use_detail?" \xb7 ".concat(ei.use_detail):""]}),(0,r.jsxs)("em",{children:[null!==(s=ei.adrs_jibun)&&void 0!==s?s:"",el?" \xb7 최저가 ".concat(el):""]})]})]})}),(0,r.jsx)("div",{className:"sidePadding14",style:{flexShrink:0},children:(0,r.jsxs)(ee,{children:[(0,r.jsxs)("div",{children:["남은 횟수 : ",(null==R?void 0:R.remainCount)>0&&(null==R?void 0:R.ticketExpiredAt)===null&&"VVIP"===Z||(null==R?void 0:R.remainCount)>0&&(null==R?void 0:R.ticketExpiredAt)===null&&"VVIP"!==Z||(null==R?void 0:R.ticketCount)>0&&(null==R?void 0:R.ticketExpiredAt)!==null?"".concat((null==R?void 0:R.ticketCount)+(null==R?void 0:R.remainCount),"회/1달"):(null==R?void 0:R.remainCount)===0&&(null==R?void 0:R.ticketCount)===0&&(null==R?void 0:R.ticketExpiredAt)===null?"0회":void 0]}),(null==B?void 0:B.isFreeIssued)&&!(null==B?void 0:B.isExpierd)&&"VVIP"!==Z?(0,r.jsxs)("div",{children:["무료체험 만료일 : ",null==B?void 0:B.expiredAt]}):(null==R?void 0:R.remainCount)>0&&(null==R?void 0:R.ticketExpiredAt)===null&&"VVIP"===Z?"":(0,r.jsxs)("div",{children:["만료일 : ",(null==R?void 0:R.ticketExpiredAt)?function(e){let n=new Date(e),t=n.getFullYear(),i=String(n.getMonth()+1).padStart(2,"0"),r=String(n.getDate()).padStart(2,"0"),l=String(n.getHours()).padStart(2,"0"),o=String(n.getMinutes()).padStart(2,"0");return"".concat(t,"-").concat(i,"-").concat(r," ").concat(l,":").concat(o)}(null==R?void 0:R.ticketExpiredAt):"-"]})]})}),(0,r.jsx)("div",{style:{height:x?void 0:"fit-content",flex:x?"1 1 0":void 0,minHeight:x?0:void 0,padding:"0 4px 0 14px",overflow:x?"hidden":void 0},children:(0,r.jsx)(components_ChatLog,{data:b,isLoading:N||S&&!_,ticketBoxState:w,calculatedHeight:ea,bottomGap:x?0:80})}),F&&"HIDDEN"===w&&(0,r.jsxs)("div",{className:"sidePadding14",children:[(0,r.jsx)($,{children:"이 물건, 무엇이 궁금하세요?"}),(0,r.jsx)(J,{children:"눌러서 바로 물어보실 수 있어요."}),(0,r.jsx)(X,{children:U.map((e,n)=>(0,r.jsxs)("button",{type:"button",disabled:S,onClick:()=>handleSendMessage(e),children:[(0,r.jsx)("i",{children:n+1}),(0,r.jsx)("span",{children:e}),(0,r.jsx)("em",{children:"›"})]},e))})]}),"HIDDEN"!==w&&(0,r.jsx)("div",{className:"sidePadding14",children:(0,r.jsxs)(en,{children:[(0,r.jsx)("div",{children:"티켓이 모두 소진되었습니다."}),(0,r.jsxs)(et,{children:["TICKET"===w&&(0,r.jsx)("button",{onClick:()=>{null==d||d("ticket")},children:"AI 챗봇 이용권 구매하기"}),"UPGRADE"===w&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{onClick:()=>{null==d||d("ticket")},children:"AI 챗봇 이용권 구매하기"}),(0,r.jsx)("button",{onClick:()=>{h.push("/subscriptionInfo")},children:"구독권 업그레이드"})]}),"ONLY_UPGRADE"===w&&(0,r.jsx)("button",{onClick:()=>{h.push("/subscriptionInfo")},children:"구독권 업그레이드"})]})]})}),(0,r.jsx)(Y,{ref:L,style:{position:x?"relative":"fixed",bottom:x?"auto":(eo?0:68)+G,flexShrink:0},children:"HIDDEN"!==w?(0,r.jsxs)(K,{children:[(0,r.jsx)(components_ChatInput,{onSubmit:handleSendMessage,onCancel:E,isLoading:S,isDisabled:!0,onHeightChange:P}),(0,r.jsx)(Q,{})]}):(0,r.jsx)(K,{children:(0,r.jsx)(components_ChatInput,{onSubmit:handleSendMessage,onCancel:E,isLoading:S,onHeightChange:P})})})]})},ei=t(38094),er=JSON.parse('{"S":{"a":[{"option":"info","value":"진행 중"},{"option":"##","value":"&**[2025타경12345]\\n강남 핵심 상권, 수익형 상가 분석 리포트&**"},{"option":"p","value":"&**안녕하세요. 이 상가 물건의 í
1ˆ¬ìž 가치를 한눈에 파악할 수 있도록 핵심 정보만 정리했습니다.&** \\n안정적인 월세 수익을 기대하는 투자자라면 주목해야 할 포인트들을 순서대로 알려드릴게요."},{"option":"---","value":"divider"},{"option":"###","value":"&**1. 핵심 분석: 그래서, 이 상가에 투자할 만한가요?&**"},{"option":"p","value":"&**결론부터 말씀드리면,\\n이 물건은 높은 임대 수익률이 기대되지만, 여러 임차인의 계약 ì¡°ê±´ê³¼ 권리 관계를 명확히 분석하는 것이 선행되어야 합니다.**"},{"option":"p","value":"가장 먼저 \'수익의 안정성\'ê³¼ \'입찰 기본 정보\'를 확인해야 합니다."},{"option":"p","value":"&- &**안전한가?&** → &**조건부 안전. 임차인 권리 분석이 필수입니다.&**"},{"option":"p","value":"&-- &**총 3명의 임차인이 있으며, 일부는 \'상가임대차보호법\'상 대항력을 주장할 수 있습니다.** 각 임차인의 보증금, 월세, 계약 기간을 정확히 파악하여 인수 조건을 확인해야 합니다."},{"option":"p","value":"&- &**언제, 얼마가 필요한가?&**"},{"option":"table","value":"| 항목 | 내용 |\\n|---|---|\\n|다음 경매일|2025년 9월 15일 (월)|\\n|최저 입찰가|1,200,000,000원|\\n|입찰 보증금|120,000,000원|"},{"option":"blockquote","value":"&**요약 :&** 입지는 매우 우수하나, &**모든 임차인의 계약 내용을 인수한다는 전제하에 수익률을 계산&**하고 입찰가를 결정해야 합니다. 이제 가격의 매력도를 살펴보겠습니다."},{"option":"####","value":"&**⚠️\'조건부 안전\' 판단의 핵심 근거는 다음과 같습니다.&**"},{"option":"p","value":"&-- &**선순위 근저당보다 전입일이 빠른 사업자 등록 임차인이 존재합니다.** 이 경우, 보증금 전액을 매수인이 인수할 수 있으므로, 해당 금액을 고려하여 자금 계획을 세워야 합니다. 이는 예상 수익률에 직접적인 영향을 미칩니다."},{"option":"dataTable","value":"근거 항목 :\\n","fileData":[{"name":"임차인 현황","url":"&1"},{"name":"건물 등기부등본","url":"&6"},{"name":"매각물건명세서","url":"https://missgo-deungi.s3.ap-northeast-2.amazonaws.com/spec/auction/2025/20250130501735B000280-1.pdf"}]},{"option":"---","value":"divider"},{"option":"###","value":"&**2. 가격 분석: 얼마에 사야 할까요?&**"},{"option":"p","value":"본 상가는 1회 유찰되어 최저가가 감정가 대비 20% 하락한 상태입니다. 주변 상가의 최근 실거래가 및 임대료 시세와 비교하여 가격 경쟁력을 판단해야 합니다."},{"option":"p","value":"&- &**시장 가격(시세)&** : 인근 유사 면적 상가의 평균 매매가는 약 14~16억 원 수준이며, 월 임대료는 500~600만 원으로 형성되어 있습니다."},{"option":"p","value":"&- &**참고 가격(감정가)&** : 감정평가액은 1,500,000,000원입니다. 현재 최
1저가는 1,200,000,000원으로, 시세 및 감정가 대비 매력적인 수준입니다."},{"option":">","value":"&**ê²°ë¡ &** : 현재 최저가는 시세 대비 저렴하여 가격 경쟁력이 있습니다. 하지만 &**인수해야 할 임차보증금 총액을 포함한 \'실질적인 매입 가격\'을 계산&**하고, 기대수익률을 충족하는지 반드시 확인 후 입찰가를 결정해야 합니다."},{"option":"---","value":"divider"},{"option":"###","value":"&**3. 물건 상세: 정확히 무엇을 사는 건가요?&**"},{"option":"table","value":"| 항목 | 내용 |\\n|---|---|\\n| 임차인 수 | 3명 |\\n| 주소 | 서울특별시 강남구 테헤란로 123, 드림타워 201호 |\\n| 용도 | 제2종근린생활시설 (사무소) |\\n| 건물 면적(㎡) | 150 |\\n| 대지 면적(㎡) | 45 |\\n| 기타 특이사항 | 임차인 전원 현재 영업 중 |"},{"option":"####","value":"&**✔️매각 서류에 명시된 구체적인 자산 내역은 다음과 같습니다.&**"},{"option":"dataTable","value":"근거 항목 :\\n","fileData":[{"name":"매각물건 현황","url":"&2"},{"name":"매각물건명세서","url":"https://missgo-deungi.s3.ap-northeast-2.amazonaws.com/spec/auction/2025/20250130501735B000280-1.pdf"},{"name":"감정평가서","url":"https://missgo-appraisal.s3.ap-northeast-2.amazonaws.com/auction/2025/20250130501735B000280-1.pdf"}]},{"option":"---","value":"divider"},{"option":"###","value":"ê²°ë¡ "},{"option":"p","value":"이 물건은 &**강남 핵심 상권이라는 입지적 장점과 시세 대비 낮은 최저가라는 명확한 기회 요인&**이 있습니다. 하지만 &**여러 임차인의 권리 관계, 특히 인수해야 할 보증금 규모가 투자의 성패를 가르는 핵심 변수&**입니다.\\n\\n성공적인 투자를 위해서는 입찰 전 현장 방문을 통해 실제 임차 현황을 확인하고, 서류상 모든 권리 관계를 분석하여 총 투자금 대비 기대수익률을 정밀하게 ê
1³„산하는 과정이 필수적입니다."},{"option":"warning","value":"본 정보는 대법원 경매정보 및 감정평가서와 기타 공부 상의 내용을 기초로 제공됩니다. 내용의 변경 및 입력 착오로 사실과 다를 수 있으며, 면책 조건으로 정보를 제공합니다."}]}}'),el=t(68430);function ReportHead_templateObject(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    padding: 16px;\n    border-radius: 14px;\n    background: ",";\n    color: #fff;\n\n    .kicker {\n        font-size: 12px;\n        font-weight: 500;\n        line-height: 140%;\n        opacity: 0.8;\n    }\n\n    > strong {\n        margin-top: 4px;\n        font-size: 18px;\n        font-weight: 700;\n        line-height: 140%;\n    }\n\n    .addr {\n        margin-top: 6px;\n        font-size: 12px;\n        font-weight: 500;\n        line-height: 150%;\n        opacity: 0.85;\n        word-break: keep-all;\n    }\n\n    .foot {\n        display: flex;\n        align-items: center;\n        justify-content: space-between;\n        margin-top: 12px;\n        padding-top: 10px;\n        border-top: 1px solid rgba(255, 255, 255, 0.24);\n    }\n\n    .foot > em {\n        font-style: normal;\n        font-size: 12px;\n        font-weight: 500;\n        opacity: 0.82;\n    }\n\n    .foot > b {\n        font-size: 12px;\n        font-weight: 700;\n    }\n"]);return ReportHead_templateObject=function(){return e},e}function ReportHead_templateObject1(){let e=(0,i._)(["\n    display: grid;\n    grid-template-columns: repeat(3, 1fr);\n    gap: 8px;\n    margin-top: 12px;\n\n    > div {\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n        gap: 3px;\n        padding: 10px 8px;\n        border: 1px solid #e5e8ef;\n        border-radius: 10px;\n    }\n\n    span {\n        font-size: 12px;\n        font-weight: 500;\n        line-height: 140%;\n        color: #505050;\n    }\n\n    b {\n        font-size: 14px;\n        font-weight: 700;\n        line-height: 140%;\n        color: #0c002c;\n    }\n"]);return ReportHead_templateObject1=function(){return e},e}function ReportHead_templateObject2(){let e=(0,i._)(["\n    margin-top: 12px;\n    border: 1px solid ",";\n    border-radius: 12px;\n    overflow: hidden;\n\n    .vh {\n        display: flex;\n        align-items: center;\n        gap: 8px;\n        padding: 12px 14px;\n    }\n\n    .dots {\n        display: flex;\n        gap: 3px;\n    }\n\n    .dots > i {\n        display: block;\n        width: 16px;\n        height: 5px;\n        border-radius: 3px;\n    }\n\n    .lv {\n        font-size: 12px;\n        font-weight: 700;\n        line-height: 140%;\n    }\n\n    .vb {\n        padding: 12px 14px 14px;\n    }\n\n    .vb > .t {\n        margin: 0;\n        font-size: 18px;\n        font-weight: 700;\n        line-height: 140%;\n        color: #0c002c;\n        white-space: pre-line;\n    }\n\n    .vb > ul {\n        margin: 10px 0 0;\n        padding: 0;\n        list-style: none;\n        display: flex;\n        flex-direction: column;\n        gap: 6px;\n    }\n\n    .vb li {\n        display: flex;\n        align-items: flex-start;\n        gap: 8px;\n        padding: 9px 10px;\n        border-radius: 8px;\n        background: #f8f9fb;\n    }\n\n    .cat {\n        flex-shrink: 0;\n        min-width: 38px;\n        font-size: 12px;\n        font-weight: 700;\n        line-height: 150%;\n        color: #8a8f9c;\n    }\n\n    .tx {\n        flex: 1;\n        min-width: 0;\n        font-size: 12px;\n        font-weight: 500;\n        line-height: 150%;\n        color: #0c002c;\n        word-break: keep-all;\n    }\n"]);return ReportHead_templateObject2=function(){return e},e}let worstLevel=e=>e.includes("BAD")?"BAD":e.includes("WARNING")?"WARNING":"GOOD",eo={BAD:{label:"위험",title:"낙찰 전에 반드시\n확인하셔야 합니다",dots:3,color:"#d64545",bg:"#fff4f2",line:"#ffd9d2"},WARNING:{label:"주의",title:"살펴봐야 할 것이\n있습니다",dots:2,color:"#d98324",bg:"#fff8ef",line:"#ffe4c4"},GOOD:{label:"안전",title:"입찰해도 되는\n물건입니다",dots:1,color:"#1c8a4a",bg:"#eef8f2",line:"#cfe6d8"}},ea={PRICE:"가격",RIGHTS:"권리",LESSEE:"세입자",INFRA:"입지"};var components_ReportHead=e=>{var n,t,i,l;let{itemId:o,accent:s,kicker:c}=e,[d,p]=(0,a.useState)(null!=o?o:"");(0,a.useEffect)(()=>{var e;if(o){p(o);return}let n=new URLSearchParams(window.location.search).get("itemId"),t=null!==(e=window.location.pathname.split("/").filter(
1Boolean).pop())&&void 0!==e?e:"";p(n||t)},[o]);let{data:x}=(0,u.U$)(d,!!d),{data:h}=(0,el.M)({itemId:d},!!d),g=null==x?void 0:null===(t=x.payload)||void 0===t?void 0:null===(n=t.result)||void 0===n?void 0:n.section_initial;if(!(null==g?void 0:g.case_name))return null;let f=g.recent_sale_due_date||g.sale_date||"",m=String(null!==(i=g.skp_cnt)&&void 0!==i?i:"").replace(/^유찰\s*/,"").trim(),b=(()=>{var e;let n=Number(String(null!==(e=g.min_price)&&void 0!==e?e:"").replace(/[^0-9]/g,""));return n>0?"".concat((0,A.Sf)(n),"원"):""})(),j=(()=>{var e;let n=Number(String(null!==(e=g.est_price)&&void 0!==e?e:"").replace(/[^0-9]/g,""));return n>0?"".concat((0,A.Sf)(n),"원"):""})(),_=(null!==(l=null==h?void 0:h.rankedReason)&&void 0!==l?l:[]).filter(e=>null==e?void 0:e.text),v=_.length?eo[worstLevel(_.map(e=>e.level))]:null;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(es,{$accent:s,children:[(0,r.jsx)("span",{className:"kicker",children:c}),(0,r.jsx)("strong",{children:g.case_name}),(0,r.jsx)("span",{className:"addr",children:[g.use_detail,g.adrs_jibun].filter(Boolean).join(" \xb7 ")}),(0,r.jsxs)("span",{className:"foot",children:[(0,r.jsx)("em",{children:f?"다음 매각기일":"용도"}),(0,r.jsx)("b",{children:f||g.use||"-"})]})]}),(0,r.jsxs)(ec,{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{children:"감정가"}),(0,r.jsx)("b",{children:j||"-"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{children:"최저가"}),(0,r.jsx)("b",{style:{color:s},children:b||"-"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{children:"유찰"}),(0,r.jsx)("b",{children:m||"없음"})]})]}),v&&(0,r.jsxs)(ed,{$line:v.line,children:[(0,r.jsxs)("div",{className:"vh",style:{background:v.bg},children:[(0,r.jsx)("span",{className:"dots",children:[0,1,2].map(e=>(0,r.jsx)("i",{style:{background:e<v.dots?v.color:"#e3e5ea"}},e))}),(0,r.jsxs)("span",{className:"lv",style:{color:v.color},children:[v.label,(null==h?void 0:h.rankLabel)?" \xb7 ".concat(h.rankLabel):""]})]}),(0,r.jsxs)("div",{className:"vb",children:[(0,r.jsx)("p",{className:"t",children:v.title}),(0,r.jsx)("ul",{children:_.map(e=>{var n,t;return(0,r.jsxs)("li",{children:[(0,r.jsx)("span",{className:"cat",children:null!==(t=ea[null!==(n=e.category)&&void 0!==n?n:""])&&void 0!==t?t:"확인"}),(0,r.jsx)("span",{className:"tx",children:e.text})]},"".concat(e.category).concat(e.text))})})]})]})]})};let es=d.ZP.div(ReportHead_templateObject(),e=>{let{$accent:n}=e;return n}),ec=d.ZP.div(ReportHead_templateObject1()),ed=d.ZP.div(ReportHead_templateObject2(),e=>{let{$line:n}=e;return n});var ep=t(42835),eu=t.n(ep),ex=t(16691),eh=t.n(ex),eg=t(34040),ef=t(36240),em=t(5833),public_ArrowIcon=e=>{let{direction:n="right",width:t=16,height:i=16,color:l="white"}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:i,viewBox:"0 0 16 16",fill:"none",style:{transform:"rotate(".concat({right:-90,down:0,left:90,up:180}[n],"deg)")},children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.20031 6.33662C1.93323 6.07517 1.93323 5.64527 2.20031 5.38382L2.39803 5.19027C2.65719 4.93658 3.07159 4.93658 3.33075 5.19027L7.71365 9.48078L12.0966 5.19027C12.3557 4.93658 12.7701 4.93658 13.0293 5.19027L13.227 5.38382C13.4941 5.64527 13.4941 6.07517 13.227 6.33662L8.18001 11.2772C7.92086 11.5309 7.50645 11.5309 7.24729 11.2772L2.20031 6.33662Z",fill:l,stroke:l,strokeWidth:"0.2"})})},eb={src:"/_next/static/media/PDFIcon.b976787a.png",height:20,width:15,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAYAAADaxo44AAAAvklEQVR4nDXOzcoBYRyG8ft+HvTyzqg3LwtZkY9mEHtlr5wJS1HOwMbJOBIk5WNjMVs1o5hmnr+xcG1/m4u3urNVZEf8h+iOw3TbHetcbkOv7kisKLj7SPW7zDQbvrKs0QdMnP0hjYB526jiv2IUBR+Q6HTANwFMulJV9GotySzn0Hkb0fkC2jbC1VroDYYmu5gxVShAggfC4xGv6SQBtyexHwgrZdL6hTldRevk81Zt7Qm4SHbxDMHSH41SuzdrS0j1OWFwPQAAAABJRU5ErkJggg==",blurWidth:6,blurHeight:8},ej=t(75103);function StringParser_templateObject(){let e=(0,i._)(["\n    padding-left: ","px;\n    list-style-position: inside;\n    list-style-type: disc;\n"]);return StringParser_templateObject=function(){return e},e}
1function StringParser_templateObject1(){let e=(0,i._)(["\n    margin: 0;\n    padding-left: 0;\n"]);return StringParser_templateObject1=function(){return e},e}let e_=d.ZP.li(StringParser_templateObject(),e=>e.level>1?(e.level-1)*20:0),ListItem=e=>{let{item:n}=e;return(0,r.jsxs)(e_,{level:n.level,children:[(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:n.content.replace(/\*\*|&/g,"")}}),n.children.length>0&&(0,r.jsx)(ev,{children:n.children.map((e,n)=>(0,r.jsx)(ListItem,{item:e},n))})]})},StringParser=e=>{if(!e)return null;let n=e.split("\n"),t=n.some(e=>e.trim().startsWith("& -")||e.trim().startsWith("&-"));if(t){let e=[],t=[];return n.forEach(n=>{let i=n.trim(),r=i.match(/^&(-+)\s*(.*)/);if(r){let n=r[1].length,i={level:n,content:r[2],children:[]};for(;t.length>0&&t[t.length-1].level>=n;)t.pop();t.length>0?t[t.length-1].children.push(i):e.push(i),t.push(i)}}),(0,r.jsx)(ev,{children:e.map((e,n)=>(0,r.jsx)(ListItem,{item:e},n))})}let i=e.replace(/-+/g,"•");return(0,r.jsx)("span",{style:{whiteSpace:"pre-wrap"},dangerouslySetInnerHTML:{__html:i.replace(/\*\*|&/g,"")}})},ev=d.ZP.ul(StringParser_templateObject1());function animationStyle_templateObject(){let e=(0,i._)(["\n  from {\n    opacity: 0;\n    transform: translateY(-15px);\n  }\n  to {\n    opacity: 1;\n    transform: translateY(0);\n  }\n"]);return animationStyle_templateObject=function(){return e},e}function animationStyle_templateObject1(){let e=(0,i._)(["\n    width: 100%;\n    animation: "," 0.35s ease-out forwards;\n"]);return animationStyle_templateObject1=function(){return e},e}let ew=(0,d.F4)(animationStyle_templateObject()),eO=d.ZP.div(animationStyle_templateObject1(),ew);function AuctionExpectedOrderPreview_templateObject(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    gap: 14px;\n"]);return AuctionExpectedOrderPreview_templateObject=function(){return e},e}function AuctionExpectedOrderPreview_templateObject1(){let e=(0,i._)(["\n    display: flex;\n    justify-content: space-between;\n\n    & > h4 {\n        font-size: 18px;\n        font-weight: 600;\n        line-height: 28px;\n        text-align: left;\n    }\n"]);return AuctionExpectedOrderPreview_templateObject1=function(){return e},e}function AuctionExpectedOrderPreview_templateObject2(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    border-spacing: 0;\n    position: relative;\n"]);return AuctionExpectedOrderPreview_templateObject2=function(){return e},e}function AuctionExpectedOrderPreview_templateObject3(){let e=(0,i._)(["\n    display: flex;\n    justify-content: space-evenly;\n    align-items: center;\n    width: 100%;\n    height: 32px;\n    background: #17366d;\n    margin-bottom: 14px;\n\n    .colorWhite {\n        color: white;\n    }\n\n    & p {\n        font-size: 14px;\n        font-weight: 600;\n        color: white;\n    }\n\n    .title1Td {\n        width: calc(20% - 4px);\n        text-align: center;\n    }\n    .title2Td {\n        width: calc(16% - 4px);\n        text-align: center;\n    }\n    .title3Td {\n        width: calc(32% - 4px);\n        text-align: center;\n    }\n    .title4Td {\n        width: calc(32% - 4px);\n        text-align: center;\n    }\n"]);return AuctionExpectedOrderPreview_templateObject3=function(){return e},e}function AuctionExpectedOrderPreview_templateObject4(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    gap: 14px;\n"]);return AuctionExpectedOrderPreview_templateObject4=function(){return e},e}function AuctionExpectedOrderPreview_templateObject5(){let e=(0,i._)(["\n    display: flex;\n    flex-wrap: wrap;\n    width: 100%;\n\n    & div {\n        box-sizing: border-box;\n        border-collapse: collapse;\n        min-height: 32px;\n    }\n\n    & div:nth-child(-n + 4) {\n        /* width: calc(25% - 1.2px); // minus border-size */\n        width: 25%;\n    }\n\n    & div:nth-child(n + 5):nth-child(-n + 6) {\n        background-color: #c9c9c9;\n    }\n\n    & div:nth-child(n + 5):nth-child(-n + 8) {\n        /* width: calc(50% - 1.2px); // minus border-size */\n        width: 50%;\n    }
1\n\n    & div:nth-child(1) {\n        /* width: calc(21% - 1.2px); */\n        width: 20%;\n    }\n\n    & div:nth-child(2) {\n        /* width: calc(19% - 5.2px); // border-size[0.6px * 2] + padding-size(left)[4px] */\n        width: 16%;\n        text-align: left;\n        padding-left: 4px;\n    }\n\n    & div:nth-child(3) {\n        /* width: calc(30% - 5.2px); // border-size[0.6px * 2] + padding-size(left)[4px] */\n        width: 32%;\n        justify-content: flex-end;\n        padding-right: 4px;\n    }\n\n    & div:nth-child(4) {\n        /* width: calc(30% - 5.2px); // border-size + padding-size(left) */\n        width: 32%;\n        justify-content: flex-end;\n        padding-right: 4px;\n    }\n"]);return AuctionExpectedOrderPreview_templateObject5=function(){return e},e}function AuctionExpectedOrderPreview_templateObject6(){let e=(0,i._)(["\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    border: 0.6px solid #8d8d8d;\n    font-size: 14px;\n    font-weight: 400;\n    line-height: 24px;\n    text-align: center;\n"]);return AuctionExpectedOrderPreview_templateObject6=function(){return e},e}function AuctionExpectedOrderPreview_templateObject7(){let e=(0,i._)(["\n    border: none !important;\n    border-radius: 14px;\n    background-color: #f0f0f0;\n    padding: 14px;\n    color: #8d8d8d;\n    font-size: 14px;\n    font-weight: 600;\n    line-height: 24px;\n    text-align: center;\n"]);return AuctionExpectedOrderPreview_templateObject7=function(){return e},e}let ey=d.zo.main(AuctionExpectedOrderPreview_templateObject()),eA=d.zo.header(AuctionExpectedOrderPreview_templateObject1()),ek=d.zo.table(AuctionExpectedOrderPreview_templateObject2()),eC=d.zo.section(AuctionExpectedOrderPreview_templateObject3()),eP=d.zo.section(AuctionExpectedOrderPreview_templateObject4()),eI=d.zo.article(AuctionExpectedOrderPreview_templateObject5()),eS=d.zo.div(AuctionExpectedOrderPreview_templateObject6()),eE=d.zo.div(AuctionExpectedOrderPreview_templateObject7());var DataTable_AuctionExpectedOrderPreview=e=>{let{auctionData:n}=e,{estimatedDividend:t,auctionPriceNoDataMessageType:i}=n;return(0,r.jsx)(eO,{children:(0,r.jsxs)(ey,{children:[(0,r.jsx)(eA,{children:(0,r.jsx)("h4",{children:"예상 배당순서"})}),(0,r.jsx)(ek,{children:4===i||5===i?(0,r.jsx)(eE,{children:"예상 배당표 관련 정보는 매각물건명세서가 제공된 이후 시점 매각기일 7일전부터 제공됩니다"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(eC,{children:[(0,r.jsx)("p",{className:"title1Td colorWhite",children:"권리 종류"}),(0,r.jsx)("p",{className:"colorWhite",children:"|"}),(0,r.jsx)("p",{className:"title2Td colorWhite",children:"배당자"}),(0,r.jsx)("p",{className:"colorWhite",children:"|"}),(0,r.jsx)("p",{className:"title3Td colorWhite",children:"예상 배당액"}),(0,r.jsx)("p",{className:"colorWhite",children:"|"}),(0,r.jsx)("p",{className:"title4Td colorWhite",children:"배당 후 잔액"})]}),(0,r.jsx)(eP,{children:null==t?void 0:t.dividendOrderTable.dividendOrder.map(e=>(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(eI,{children:[(0,r.jsx)(eS,{children:e.rightsTypes}),(0,r.jsx)(eS,{children:e.dividend}),(0,r.jsx)(eS,{children:e.dividendAmount}),(0,r.jsx)(eS,{children:e.balance}),(0,r.jsx)(eS,{children:"배당비율"}),(0,r.jsx)(eS,{children:"미배당금액"}),(0,r.jsx)(eS,{children:"number"==typeof e.dividendRatio?"".concat(e.dividendRatio.toFixed(2),"%"):e.dividendRatio}),(0,r.jsx)(eS,{children:e.undistributedAmount})]})}))})]})})]})})};function AuctionPricePreview_templateObject(){let e=(0,i._)(["\n    h4 {\n        color: #0c002c;\n        font-size: 18px;\n        font-weight: 600;\n        line-height: 28px;\n    }\n\n    table {\n        margin-top: 14px;\n        width: 100%;\n        border-collapse: collapse;\n\n        th {\n            color: #ffffff;\n            font-size: 14px;\n            font-weight: 600;\n            line-height: 24px;\n            background-color: #17366d;\n        }\n\n        td {\n            font-size: 14px;\n            font-style: normal;\n            font-weight: 400;\n            line-height: 24px;\n            white-space: pre-wrap;\n        }\n\n        /* tr td:nth-child(2) {\n            text-align: right;\n        } */\n\n        .last-row,\n        .last-row th,\n        .last-row td {\n            background-color: #edf0f6 !important;\n            color: #0c002c;\n            font-weight: 600;\n        }\n\n        th,\n        td {\n            border: 0.6px solid #8d8d8d;\n            padding: 2px 4px;\n        }\n\n        .no-data td {\n            border: none !important;\n            border-radius: 4px;\n            background-color: #f0f0f0;\n            padding: 14px;\n            color: #8d8d8d;\n            font-size: 14px;\n            font-weight: 400;\n            line-height: 24px;\n            text-align: center;\n        }\n\n        .no-data-narrow td {\n            border: none !important;\n            border-radius: 14px;\n            background-color: #f0f0f0;\n            padding: 14px;\n            color: #8d8d8d;\n            font-size: 14px;\n            font-weight: 600;\n            line-height: 24px;\n            text-align: center;\n        }\n    }\n"]);
1return AuctionPricePreview_templateObject=function(){return e},e}let eT={registrationTax:"등록세",educationTax:"교육세",filingFees:"등기신청수수료",deliveryCharges:"송달료",biddingFees:"유찰수수료",newsAdvertisingRates:"신문공고료",appraisalFees:"감정료",statusSurveyFees:"현황조사료",divestitureFees:"매각수수료",auctionPrice:"총 경매비용"},eD={registrationTax:"청구금액 x 0.002",educationTax:"등록세액 x 0.2",filingFees:"부동산 1필지 당 3,000원",deliveryCharges:"(신청서상 이해관계인수 + 3) x 10회분",biddingFees:"유찰 1회 당 6,000원",newsAdvertisingRates:"부동산 1필지 당 220,000원\n※경매목적물이 다수인 경우 신문공고료가 추가 발생될 수 있습니다.",appraisalFees:"※감정가의 60% 기준금액을 바탕으로 감정수수료를 계산되어 실제 금액과 상이할 수 있습니다.",statusSurveyFees:"※도서지역 등 특수한 경우에는 현황조사 수수료가 추가 발생될 수 있습니다.",divestitureFees:"※매각가의 기준금액에 따라 다르게 부과됩니다.",auctionPrice:"※경매비용은 실제 금액과 약간 상이할 수 있습니다."},eN=Object.keys(eT),eM=d.zo.div(AuctionPricePreview_templateObject());var DataTable_AuctionPricePreview=e=>{let{auctionData:n}=e,t=(0,o.usePathname)(),i="/detail/auctionDetail/"==t?"wide":"default",{auctionPrice:l,auctionPriceNoDataMessageType:s}=n;return(0,r.jsx)(eO,{children:(0,r.jsxs)(eM,{children:[(0,r.jsx)("h4",{children:"경매비용"}),(0,r.jsx)("div",{children:(0,r.jsxs)("table",{children:[(0,r.jsx)("colgroup",{children:"wide"===i?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("col",{width:"20%"}),(0,r.jsx)("col",{width:"20%"}),(0,r.jsx)("col",{width:"60%"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("col",{width:"30%"}),(0,r.jsx)("col",{width:"70%"})]})}),(0,r.jsx)("tbody",{children:l&&4!==s&&5!==s?eN.map(e=>{let n=e===eN[eN.length-1],t=n?"last-row":"";return"wide"===i?(0,r.jsxs)("tr",{className:t,children:[(0,r.jsx)("th",{children:eT[e]}),(0,r.jsx)("td",{children:l[e]}),(0,r.jsx)("td",{children:eD[e]})]},e):(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)("tr",{className:t,children:[(0,r.jsx)("th",{rowSpan:2,children:eT[e]}),(0,r.jsx)("td",{style:{textAlign:"left"},children:l[e]})]}),(0,r.jsx)("tr",{className:t,children:(0,r.jsx)("td",{children:eD[e]})})]},e)}):(0,r.jsx)("tr",{className:"wide"===i?"no-data":"no-data-narrow",children:(0,r.jsx)("td",{colSpan:"wide"===i?3:2,children:"예상 배당표 관련 정보는 매각물건명세서가 제공된 이후 시점 매각기일 7일전부터 제공됩니다"})})})]})})]})})};function AuctionRightCheckPreview_templateObject(){let e=(0,i._)(["\n    padding: 0 14px;\n    display: flex;\n    flex-direction: column;\n    .titleContainer {\n        display: flex;\n        height: 36px;\n        justify-content: space-between;\n        align-items: baseline;\n        p {\n            color: #0c002c;\n            font-size: 16px;\n            font-style: normal;\n            font-weight: 700;\n            line-height: 26px;\n        }\n        span {\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            width: 68px;\n            height: 28px;\n            background-color: #ff0000;\n            border-radius: 14px;\n            color: #fff;\n            text-align: center;\n            font-size: 12px;\n            font-weight: 400;\n            line-height: 20px;\n        }\n    }\n    .contents {\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        height: 72px;\n        border-radius: 14px;\n        gap: 8px;\n        background-color: #ffdad8;\n        font-size: 14px;\n        font-weight: 700;\n        line-height: 24px;\n        letter-spacing: 0em;\n        text-align: center;\n        color: #0c002c;\n        margin-bottom: 14px;\n    }\n    .greyContents {\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        height: 72px;\n        border-radius: 14px;\n        gap: 8px;\n        background-color: #f0f0f0;\n        font-size: 14px;\n        font-weight: 700;\n        line-height: 24px;\n        letter-spacing: 0em;\n        text-align: center;\n        color: #a3a3a3;\n        margin-bottom: 14px;\n        padding: 0px 24px;\n    }\n"]);
1return AuctionRightCheckPreview_templateObject=function(){return e},e}function AuctionRightCheckPreview_templateObject1(){let e=(0,i._)(["\n    table {\n        width: 100%;\n        border-collapse: collapse;\n        table-layout: fixed;\n        margin-top: 16px;\n        font-size: 14px;\n\n        .tableType {\n            font-size: 14px;\n            font-style: normal;\n            font-weight: 700;\n            line-height: 20px;\n            color: ",";\n        }\n\n        .tableData {\n            font-size: 14px;\n            font-style: normal;\n            font-weight: 400;\n            line-height: 20px;\n            color: ",";\n        }\n    }\n\n    th,\n    td {\n        border: 1px solid #c9c9c9;\n        text-align: center;\n        vertical-align: middle;\n        word-break: keep-all;\n    }\n\n    th {\n        background-color: #17366d;\n        color: white;\n        font-size: 12px;\n        font-weight: 700;\n        line-height: 20px;\n        padding: 4px 0;\n    }\n\n    thead tr th:nth-child(1) {\n        width: 20%;\n    }\n\n    thead tr th:nth-child(2) {\n        width: 27%;\n    }\n\n    thead tr th:nth-child(3) {\n        width: 40%;\n    }\n\n    thead tr th:nth-child(4) {\n        width: 13%;\n    }\n\n    tbody {\n        font-size: 14px;\n        font-weight: 400;\n        line-height: 20px;\n    }\n\n    tbody tr:first-child td:first-child {\n        background-color: #edf0f6;\n    }\n\n    tbody tr:first-child td:nth-child(2) {\n        padding: 6px 10px;\n        text-align: left;\n    }\n\n    tbody tr:nth-child(2) td {\n        padding: 6px 10px;\n        text-align: left;\n    }\n\n    tbody tr:nth-child(3) td {\n        padding: 6px 10px;\n        text-align: left;\n    }\n\n    tbody tr:last-of-type td,\n    tbody tr:nth-last-of-type(2) td[colSpan='4'] {\n        background-color: #edf0f6;\n        color: ",";\n        text-align: left;\n        padding: 8px 0 8px 15px;\n    }\n\n    .textSpaceTd3 {\n        display: flex;\n        max-width: 110px;\n        cursor: pointer;\n        color: ",";\n        font-size: 14px;\n        font-style: normal;\n        font-weight: 400;\n        text-decoration-line: underline;\n        text-underline-offset: 3px;\n    }\n    .descBox1 {\n        display: flex;\n        flex-direction: row;\n        align-items: center;\n        justify-content: center;\n        gap: 8px;\n\n        & .depositContainer {\n            cursor: pointer;\n            display: flex;\n            flex-direction: row;\n            align-items: center;\n            justify-content: center;\n            gap: 4px;\n        }\n    }\n    .depositBox1 {\n        display: flex;\n        width: 16px;\n        height: 16px;\n        border-radius: 2px;\n        background: rgba(0, 71, 255, 0.8);\n        font-size: 12px;\n        font-weight: 400;\n        line-height: 140%;\n        letter-spacing: 0px;\n        color: #ffffff;\n        align-items: center;\n        justify-content: center;\n        flex-shrink: 0;\n        padding: 1px 1px;\n    }\n    .descBox {\n        display: flex;\n        flex-direction: row;\n        align-items: center;\n        gap: 4px;\n    }\n    .feeBox {\n        display: flex;\n        width: 16px;\n        height: 16px;\n        background-color: ",";\n        font-size: 12px;\n        font-weight: 400;\n        line-height: 140%;\n        letter-spacing: 0px;\n        color: #ffffff;\n        border-radius: 4px;\n        align-items: center;\n        justify-content: center;\n        flex-shrink: 0;\n        padding: 1px 1px;\n    }\n    .titleContainer {\n        display: flex;\n        height: 36px;\n        justify-content: space-between;\n        align-items: baseline;\n\n        p {\n            color: #0c002c;\n            font-size: 16px;\n            font-style: normal;\n            font-weight: 700;\n            line-height: 26px;\n        }\n        span {\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            padding: 2px 5px;\n            background-color: ",";\n            border-radius: 30px;\n            color: #fff;\n            text-align: center;\n            font-size: 12px;\n            font-weight: 400;\n            line-height: 140%;\n        }\n    }\n    .totalContainer {\n        margin-top: 20px;\n        margin-bottom: 8px;\n        border: 0.6px solid #b1aeb8;\n        border-bottom: 0;\n        .descBox {\n            display: flex;
1\n            min-height: 26px;\n            border-bottom: 0.6px solid #b1aeb8;\n        }\n\n        p {\n            width: 120px;\n            font-size: 14px;\n            font-style: normal;\n            font-weight: 700;\n            line-height: 140%;\n            color: #ffffff;\n            background-color: #17366d;\n            text-align: center;\n            padding: 12px 13px 12px 13px;\n\n            display: flex;\n            align-items: center;\n            justify-content: start;\n\n            height: 100%;\n            box-sizing: border-box;\n        }\n        span {\n            color: #0c002c;\n            font-size: 14px;\n            font-weight: 400;\n            line-height: 140%;\n            padding: 12px 13px 12px 13px;\n        }\n    }\n    .infoChartBox {\n        display: flex;\n        flex-direction: row;\n        justify-content: space-between;\n        gap: 10px;\n        width: 100%;\n    }\n    .infoChart {\n        border-radius: 8px;\n        display: flex;\n        flex-direction: column;\n        border: 1px solid #b1aeb8;\n        width: 100%;\n\n        .titleBox {\n            display: flex;\n            justify-content: center;\n            align-items: center;\n            color: #fff;\n            text-align: center;\n            font-size: 16px;\n            font-style: normal;\n            font-weight: 700;\n            line-height: 140%;\n            background-color: ",";\n            border-top-left-radius: 8px;\n            border-top-right-radius: 8px;\n            padding: 8px 0;\n            white-space: nowrap;\n        }\n        .descBox {\n            display: flex;\n            justify-content: center;\n            align-items: center;\n            color: #0c002c;\n            text-align: center;\n            font-size: 14px;\n            font-style: normal;\n            font-weight: 700;\n            padding: 8px 0;\n            line-height: 140%;\n        }\n    }\n\n    @media screen and (max-width: 768px) {\n        width: 100%;\n        box-sizing: border-box;\n        .infoChart {\n            .titleBox {\n                width: 100%;\n            }\n\n            .descBox {\n                width: 100%;\n            }\n        }\n    }\n"]);return AuctionRightCheckPreview_templateObject1=function(){return e},e}function AuctionRightCheckPreview_templateObject2(){let e=(0,i._)(["\n    font-size: 14px;\n    font-style: normal;\n    font-weight: 400;\n    line-height: 140%;\n    margin-top: 12px !important;\n    color: "," !important;\n\n    .highlight {\n        color: #f00;\n    }\n"]);return AuctionRightCheckPreview_templateObject2=function(){return e},e}function AuctionRightCheckPreview_templateObject3(){let e=(0,i._)(["\n    box-sizing: border-box;\n"]);return AuctionRightCheckPreview_templateObject3=function(){return e},e}function AuctionRightCheckPreview_templateObject4(){let e=(0,i._)(["\n    gap: 4px;\n    white-space: pre-wrap;\n    border: 0.5px solid #b1aeb8;\n    box-sizing: border-box;\n    .etcDesc {\n        padding: 12px 8px;\n        color: #0c002c;\n        font-size: 14px;\n        font-style: normal;\n        font-weight: 400;\n        line-height: 24px;\n        white-space: pre-wrap;\n    }\n\n    .etcDesc.textLine {\n        text-decoration: underline;\n        text-underline-position: under;\n        text-decoration-color: #a3a3a3;\n    }\n"]);return AuctionRightCheckPreview_templateObject4=function(){return e},e}function AuctionRightCheckPreview_templateObject5(){let e=(0,i._)(["\n    color: white !important;\n    border-bottom: 0.5px solid #b1aeb8;\n    width: 100%;\n    font-size: 14px;\n    background-color: #17366d;\n    font-weight: bold;\n    padding: 4px 8px;\n    line-height: 24px;\n    box-sizing: border-box;\n"]);return AuctionRightCheckPreview_templateObject5=function(){return e},e}let eR=d.ZP.div(AuctionRightCheckPreview_templateObject()),ez=d.ZP.div(AuctionRightCheckPreview_templateObject1(),C.G.colors.navyPrimary,C.G.colors.darkGrey03,C.G.colors.navyPrimary,C.G.colors.blue,C.G.colors.efficiencyColor,C.G.colors.notiColor,C.G.colors.aucMarkerColor),eB=d.ZP.p(AuctionRightCheckPreview_templateOb
1ject2(),C.G.colors.normalTextColor),eL=d.ZP.div(AuctionRightCheckPreview_templateObject3()),eZ=d.ZP.div(AuctionRightCheckPreview_templateObject4()),eG=d.ZP.p(AuctionRightCheckPreview_templateObject5());var DataTable_AuctionRightCheckPreview=e=>{var n,t;let{auctionData:i}=e,l=(0,o.useSearchParams)(),s=null!==(t=l.get("itemId"))&&void 0!==t?t:"",c=null==i?void 0:i.etc_note;return(null==c?void 0:c.startsWith("\n"))&&(c=c.substring(1)),c=null==c?void 0:c.split("\n").map((e,n)=>(0,r.jsxs)(a.Fragment,{children:[e,(0,r.jsx)("br",{})]},n.toString())),(0,r.jsxs)(eO,{children:[(null==i?void 0:i.lessee_type)==="2"?(0,r.jsxs)(eR,{children:[(0,r.jsx)("div",{className:"titleContainer",children:(0,r.jsx)("p",{children:"임차인현황"})}),(0,r.jsx)("div",{className:"contents",children:"전부를 소유자가 점유합니다"})]}):(null==i?void 0:i.lessee_type)==="3"?(0,r.jsxs)(eR,{children:[(0,r.jsx)("div",{className:"titleContainer",children:(0,r.jsx)("p",{children:"임차인현황"})}),(0,r.jsx)("div",{className:"contents",children:"조사된 임차 내역이 없어요."})]}):(null==i?void 0:i.lessee_type)==="4"?(0,r.jsxs)(eR,{children:[(0,r.jsx)("div",{className:"titleContainer",children:(0,r.jsx)("p",{children:"임차인현황"})}),(0,r.jsx)("div",{className:"greyContents",children:"해당 물건은 신건으로, 매각물건명세서가 나오지 않아 입찰일 7일 전 제공될 예정입니다"})]}):(null==i?void 0:i.lessee_type)==="5"?(0,r.jsxs)(eR,{children:[(0,r.jsx)("div",{className:"titleContainer",children:(0,r.jsx)("p",{children:"임차인현황"})}),(0,r.jsx)("div",{className:"greyContents",children:"해당 물건은 매각물건명세서가 나오지 않아 입찰일 7일 전 제공될 예정입니다"})]}):(null==i?void 0:i.lessee_type)==="6"||(null==i?void 0:i.lessee_type)==="7"?(0,r.jsxs)(eR,{children:[(0,r.jsx)("div",{className:"titleContainer",children:(0,r.jsx)("p",{children:"임차인현황"})}),(0,r.jsx)("div",{className:"greyContents",children:"이 물건의 매각물건명세서는 아직 수집되지 않았어요 "})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(ez,{children:[(0,r.jsxs)("div",{className:"titleContainer",children:[(0,r.jsx)("p",{children:"임차인현황"}),(null==i?void 0:i.total_counter_force)&&(0,r.jsx)("span",{children:"대항력있음"})]}),(0,r.jsxs)("div",{className:"infoChartBox",children:[(0,r.jsxs)("div",{className:"infoChart",children:[(0,r.jsx)("div",{className:"titleBox",children:"말소기준권리"}),(0,r.jsx)("div",{className:"descBox",children:null==i?void 0:i.expunge_right.split("\n")[0]})]}),(0,r.jsxs)("div",{className:"infoChart",children:[(0,r.jsx)("div",{className:"titleBox",children:"배당요구종기"}),(0,r.jsx)("div",{className:"descBox",children:null==i?void 0:i.distrib_req_duedate})]})]})]}),(0,r.jsxs)(ez,{children:[null==i?void 0:null===(n=i.lessee_list)||void 0===n?void 0:n.map((e,n)=>(0,r.jsxs)("table",{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:"임차인"}),(0,r.jsx)("th",{children:"전입/확정/배당"}),(0,r.jsx)("th",{children:"보증금/임차인"}),(0,r.jsx)("th",{children:"대항력"})]})}),(0,r.jsxs)("tbody",{children:[(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{rowSpan:3,children:e.lessee}),(0,r.jsxs)("td",{children:[(0,r.jsx)("div",{className:"tableType",children:"전입"}),(0,r.jsx)("div",{className:"tableData",children:e.transfer_date})]}),(0,r.jsxs)("td",{rowSpan:3,children:[(0,r.jsx)("div",{className:"descBox1",children:(0,r.jsxs)("div",{className:"depositContainer",children:[(0,r.jsx)("span",{className:"depositBox1",children:"보"}),(0,r.jsx)("a",{className:"textSpaceTd3",onClick:()=>window.open("".concat("https://www.missgoauction.com","/auction/deposit-detail?itemId=").concat(s,"&occupier=").concat(e.lessee),"_blank","width=786,height=786"),children:e.deposit})]})}),"-"===e.fee||"미상"===e.fee||"0원"===e.fee||"0"===e.fee?"":(0,r.jsxs)("div",{className:"descBox1",children:[(0,r.jsx)("span",{className:"feeBox",children:"월"}),(0,r.jsx)("p",{children:e.fee})]})]}),(0,r.jsx)("td",{rowSpan:3,children:"있음"===e.counter_force_str?(0,r.jsx)("p",{style:{color:"red"},children:"있음"}):(0,r.jsx)("p",{children:e.counter_force_str})})]}),(0,r.jsx)("tr",{children:(0,r.jsxs)("td",{children:[(0,r.jsx)("div",{className:"tableType",children:"확정"}),(0,r.jsx)("div",{className:"tableData",children:e.confirm_date})]})}),(0,r.jsx)("tr",{children:(0,r.jsxs)("td",{children:[(0,r.jsx)("div",{className:"tableType",children:"배당"}),(0,r.jsx)("div",{className:"tableData",children:e.distrib_req_date})]})}),(0,r.jsx)("tr",{children:(0,r.jsxs)("td",{colSpan:4,children:["점유부분 : ",e.occu_part]})}),e.acquisition_amount&&(0,r.jsx)("tr",{children:(0,r.jsxs)("td",{colSpan:4,children:["인수금액: ",e.acquisition_amount]})})]})]},n)),(0,r.jsxs)(eB,{children:[(0,r.jsx)("span",{className:"highlight",children:"*"}),"보증금 금액을 클릭하면 상세 정보를 확인할 수 있습니다."," "]})]})]}),(0,r.jsx)(ez,{children:((null==i?void 0:i.lessee_list.length)>0||(null==i?void 0:i.total_acquisition_amount)!=="0원")&&(0,r.jsx)("div",{className:"totalContainer",children:(null==i?void 0:i.lessee_list.length)>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"descBox",children:[(0,r.jsx)("p",{children:"총 임차인 수"}),(0,r.jsx)("span",{children:null==i?void 0:i.total_lessee_cnt})]}),(0,r.jsxs)("div",{className:"descBox",children:[(0,r.jsx)("p",{children:"보증금합계"}),(0,r.jsx)("span",{children:null==i?void 0:i.total_lease_deposit})]}),(0,r.jsxs)("div",{className:"descBox",children:[(0,r.jsx)("p",{children:"월세합계"}),(0,r.jsx)("span",{children:null==i?void 0:i.total_monthly_rent})]})]})})}),(null==i?void 0:i.etc_note)&&(0,r.jsx)(eL,{children:(0,r.jsxs)(eZ,{children:[(0,r.jsx)(eG,{children:"기타사항"}),(0,r.jsx)("div",{className:"etcDesc textLine",children:c})]})})]})},eF=t(37792),eV=t(15443),eH=t(73826),eU=t(65662),eW=t(53496),eY=t(43813),eK=t(29849),eQ=t(79158);
1function AuctionSaleItemPreview_templateObject(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    overflow: hidden;\n\n    h4 {\n        color: #0c002c;\n        font-size: 18px;\n        font-weight: 600;\n        line-height: 28px;\n        padding-bottom: 10px;\n    }\n    .chartPosition {\n        margin-top: 14px;\n        max-width: 390px;\n        overflow: hidden;\n    }\n    .chartWrapper {\n        width: 100%;\n        border-collapse: collapse;\n        font-size: 13px;\n        font-weight: 400;\n        line-height: 20px;\n        text-align: center;\n\n        .thWrapper {\n            border: 0.5px solid #c9c9c9;\n            border-right: none;\n            background-color: #fbf8f8;\n            color: #0c002c;\n        }\n        .thContainer {\n            text-align: center;\n            font-size: 13px;\n            font-style: normal;\n            font-weight: bold;\n            background-color: #17366d;\n            white-space: nowrap;\n            padding: 5px;\n            color: #fff;\n            line-height: 24px;\n            border-right: 0.5px solid #c9c9c9;\n        }\n        .tdWrapper {\n            border: 0.5px solid #c9c9c9;\n            border-right: none;\n            min-height: 52px;\n        }\n        .greyText01 {\n            color: #505050;\n            font-size: 14px;\n            font-style: normal;\n            font-weight: 400;\n            line-height: 24px;\n        }\n        .tdContainer {\n            border-right: 0.5px solid #c9c9c9;\n            padding: 6px;\n            white-space: pre-wrap;\n            word-break: break-word;\n        }\n        .tdBlueContainer {\n            border: 0.5px solid #c9c9c9;\n\n            td {\n                padding: 12px 6px;\n                padding-left: 40px;\n                background-color: #f6faff;\n                color: #0c002c;\n                font-size: 14px;\n                font-weight: 400;\n                line-height: 24px;\n                text-align: left;\n            }\n        }\n        .tdGreyContainer {\n            border: 0.5px solid #c9c9c9;\n            background-color: #f0f0f0;\n            padding: 12px;\n            padding-left: 40px;\n            color: #0c002c;\n            font-size: 14px;\n            font-weight: 400;\n            line-height: 24px;\n            white-space: pre-wrap;\n            text-align: left;\n        }\n        .tdPinkContainer {\n            border: 0.5px solid #c9c9c9;\n            padding: 6px;\n        }\n\n        .tdEstPositionContainer {\n            display: flex;\n            flex-direction: row;\n            justify-content: space-between;\n            align-items: stretch;\n        }\n\n        .tdEstPosition {\n            display: flex;\n            flex-direction: row;\n            justify-content: center;\n            flex: 1;\n            vertical-align: middle;\n            width: 100%;\n            color: #0c002c;\n            text-align: center;\n            font-size: 13px;\n            font-style: normal;\n            font-weight: 400;\n\n            p {\n                padding: 6px;\n                width: 100%;\n                box-sizing: border-box;\n                display: flex;\n                justify-content: center;\n                align-items: center;\n            }\n\n            p:last-child {\n                border-left: 0.5px solid #c9c9c9;\n                justify-content: start;\n            }\n        }\n\n        .tdEstPosition.area {\n            p:first-child {\n                width: 72px;\n                min-width: 71px;\n                box-sizing: border-box;\n            }\n        }\n\n        .tdEstPosition.estPrice {\n            border-left: 0.5px solid #c9c9c9;\n\n            p:first-child {\n                min-width: 60px;\n                box-sizing: border-box;\n            }\n        }\n    }\n\n    .cntContainer {\n        width: 100%;\n        display: flex;\n        align-items: center;\n        justify-content: space-between;\n        gap: 8px;\n    }\n    .cntBox {\n        display: flex;\n        flex-direction: row;\n        align-items: center;\n        justify-content: center;\n        width: fit-content;\n        height: 40px;\n        padding: 0 6px;\n        border-radius: 8px;\n        background-color: #ebfbfa;\n    }\n\n    .cntBox.land {\n        background-color: #e3f5e2;\n    }
1\n    .cntBox.build {\n        background-color: #e0f2fe;\n    }\n    .cntBox.colBuild {\n        background-color: #e0f2fe;\n    }\n    .cntBox.etc {\n        background-color: #f7f8fa;\n        border: 1px solid #c9c9c9;\n    }\n    .cntText {\n        color: #0c002c;\n        text-align: center;\n        font-size: 14px;\n        font-style: normal;\n        font-weight: 400;\n        line-height: 24px;\n        margin-left: 6px;\n    }\n\n    @media screen and (max-width: 768px) {\n        width: 100%;\n        box-sizing: border-box;\n\n        .chartPosition {\n            max-width: none;\n        }\n\n        .chartWrapper {\n            width: 100%;\n            & > colgroup {\n                & > col:nth-of-type(1) {\n                    width: 14%;\n                }\n                & > col:nth-of-type(2) {\n                    width: 20%;\n                }\n                & > col:nth-of-type(3) {\n                    width: 52%;\n                }\n                & > col:nth-of-type(4) {\n                    width: 14%;\n                }\n            }\n        }\n    }\n"]);return AuctionSaleItemPreview_templateObject=function(){return e},e}function AuctionSaleItemPreview_templateObject1(){let e=(0,i._)(["\n    display: flex;\n    box-sizing: border-box;\n    width: 100%;\n    height: 111px;\n    background-color: #f6faff;\n    margin-top: 14px;\n    padding: 0 20px;\n    border-radius: 8px;\n\n    .totalContainer {\n        width: 100%;\n        display: flex;\n        align-items: center;\n        flex-direction: column;\n    }\n    .totalBox {\n        width: 100%;\n        padding: 9px 0;\n        border-bottom: 0.6px solid #dadada;\n        margin-bottom: 8px;\n    }\n    .descBox {\n        width: 100%;\n        display: flex;\n        flex-direction: row;\n        justify-content: space-between;\n        align-items: center;\n        span {\n            color: #282828;\n            font-size: 16px;\n            font-style: normal;\n            font-weight: 700;\n            line-height: 26px;\n        }\n        b {\n            color: #0c002c;\n            font-size: 16px;\n            font-style: normal;\n            font-weight: 400;\n            line-height: 26px;\n        }\n        p {\n            color: #3c3c3c;\n            font-size: 14px;\n            font-style: normal;\n            font-weight: 400;\n            line-height: 24px;\n        }\n        .appraisalDateText {\n            color: #282828;\n            font-size: 14px;\n            font-weight: 700;\n            line-height: 24px;\n        }\n        .appraisalDateContentText {\n            color: #0c002c;\n            font-size: 14px;\n            font-weight: 400;\n            line-height: 24px;\n        }\n    }\n\n    @media screen and (max-width: 768px) {\n        max-width: none;\n        .totalContainer {\n            width: 100%;\n            .totalBox {\n                width: 100%;\n                .descBox {\n                    width: 100%;\n                }\n            }\n            .descBox {\n                width: 100%;\n            }\n        }\n    }\n"]);return AuctionSaleItemPreview_templateObject1=function(){return e},e}function AuctionSaleItemPreview_templateObject2(){let e=(0,i._)(["\n    border-right: 0.5px solid #c9c9c9;\n    padding: 6px;\n    white-space: pre-wrap;\n    word-break: break-word;\n\n    background-color: ",";\n"]);return AuctionSaleItemPreview_templateObject2=function(){return e},e}function AuctionSaleItemPreview_templateObject3(){let e=(0,i._)(["\n    color: #0047ff;\n    text-align: left;\n    font-size: 14px;\n    font-style: normal;\n    font-weight: 400;\n    line-height: 24px;\n"]);return AuctionSaleItemPreview_templateObject3=function(){return e},e}let TotalPriceArea=e=>{let{totalPyong:n,totalPrice:t}=e;return(0,r.jsxs)("tr",{className:"tdPinkContainer",children:[(0,r.jsx)("td",{className:"tdContainer",children:"총"}),(0,r.jsx)("td",{colSpan:2,children:(0,r.jsxs)("div",{className:"tdEstPositionContainer",children:[(0,r.jsxs)("div",{className:"tdEstPosition area",children:[(0,r.jsx)("p",{children:"면적"}),(0,r.jsx)("p",{children:n||"-"})]}),(0,r.jsxs)("div",{className:"tdEstPosition estPrice",children:[(0,r.jsx)("p",{children:"감정가"}),(0,r.jsx)("p",{children:t||"-"})]})]})})]})},getSaleItemRowSpan=e=>{var n;return(null==e?void 0:null===(n=e.land_right_info)||void 0===n?void 0:n.no)?3:e.shr_sale_flag?4:(null==e?void 0:e.est_price)?3:2},SaleItemRow=e=>{var n,t;let{item:i,convertType:l,jibun:o}=e,s=null==i?void 0:null===(n=i.detail_info)||void 0===n?void 0:n.split("/"),c=null==s?void 0:s.map(e=>
1e.trim()).filter(Boolean);return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)("tr",{className:"tdWrapper",children:[(0,r.jsx)("td",{rowSpan:getSaleItemRowSpan(i),className:"tdContainer",children:null==i?void 0:i.no}),(0,r.jsxs)(eJ,{$type:i.type,children:[(0,r.jsx)("span",{children:null==i?void 0:i.type}),(0,r.jsx)("p",{className:"greyText01",children:null==i?void 0:i.detail_type})]}),(0,r.jsx)("td",{className:"tdContainer",children:null==i?void 0:i.address})]}),i.est_price&&(0,r.jsx)("tr",{className:"tdPinkContainer",children:(0,r.jsx)("td",{colSpan:2,children:(0,r.jsxs)("div",{className:"tdEstPositionContainer",children:[(0,r.jsxs)("div",{className:"tdEstPosition area",children:[(0,r.jsx)("p",{children:"면적"}),(0,r.jsx)("p",{children:"meter"===l?null==i?void 0:i.area.square:null==i?void 0:i.area.pyong})]}),(0,r.jsxs)("div",{className:"tdEstPosition estPrice",children:[(0,r.jsx)("p",{children:"감정가"}),(0,r.jsxs)("p",{children:[i.est_price," ",(0,r.jsx)("br",{}),i.price_land_per_pyong&&(0,r.jsxs)(r.Fragment,{children:["(평당 ",i.price_land_per_pyong,")"]})]})]})]})})}),i.shr_sale_flag&&(0,r.jsx)("tr",{className:"tdBlueContainer",children:(0,r.jsx)("td",{colSpan:2,children:(0,r.jsxs)("div",{children:[(0,r.jsxs)(eX,{children:["해당 ",i.type,"(은)는 지분 매각입니다."]}),(0,r.jsx)("p",{children:i.shr_sale_info})]})})}),(0,r.jsx)("tr",{className:"tdWrapper",children:(0,r.jsxs)("td",{colSpan:2,className:"tdGreyContainer",children:[(0,r.jsx)("p",{children:null!==(t=null==c?void 0:c.join(" / "))&&void 0!==t?t:"-"}),(0,eH.W)(null==i?void 0:i.type)&&(null==i?void 0:i.pnu)&&(0,r.jsx)(eU.ZP,{pnu:i.pnu,address:i.address}),(0,eU.Qd)(null==i?void 0:i.type)&&(0,r.jsx)(eH.Z,{jibun:null!=o?o:i.address,auctionType:"auctionDetail"})]})})]})},SaleItemGroup=e=>{let{items:n,convertType:t,jibun:i,totalPyong:l,totalPrice:o,isCollectiveBuilding:s=!1,totalLandRightAreaPyong:c}=e;return n&&0!==n.length?(0,r.jsxs)(r.Fragment,{children:[n.map(e=>(0,r.jsx)(SaleItemRow,{item:e,convertType:t,jibun:i},e.no)),(0,r.jsx)(TotalPriceArea,{totalPyong:l,totalPrice:o}),s&&n.map(e=>{var n;return(0,r.jsx)(a.Fragment,{children:null===(n=e.land_right_info_list)||void 0===n?void 0:n.map(e=>{var n,i;return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)("tr",{className:"tdWrapper",children:[(0,r.jsx)("td",{className:"tdContainer",rowSpan:2,children:e.no}),(0,r.jsxs)(eJ,{$type:null==e?void 0:e.type,children:[(0,r.jsx)("span",{children:null==e?void 0:e.type}),(0,r.jsx)("p",{className:"greyText01",children:null==e?void 0:e.detail_type})]}),(0,r.jsx)("td",{className:"tdContainer",children:null==e?void 0:e.address})]}),(0,r.jsx)("tr",{className:"tdPinkContainer",children:(0,r.jsx)("td",{colSpan:2,children:(0,r.jsxs)("div",{className:"tdEstPositionContainer",children:[(0,r.jsxs)("div",{className:"tdEstPosition area",children:[(0,r.jsx)("p",{children:"면적"}),(0,r.jsx)("p",{children:"meter"===t?null==e?void 0:null===(n=e.area)||void 0===n?void 0:n.square:null==e?void 0:null===(i=e.area)||void 0===i?void 0:i.pyong})]}),(0,r.jsxs)("div",{className:"tdEstPosition estPrice",children:[(0,r.jsx)("p",{children:"감정가"}),(0,r.jsx)("p",{children:"-"})]})]})})})]},e.no)})},"land-right-".concat(e.no))}),s&&(0,r.jsx)(TotalPriceArea,{totalPyong:c})]}):null},eq=d.ZP.div(AuctionSaleItemPreview_templateObject()),e$=d.ZP.div(AuctionSaleItemPreview_templateObject1()),eJ=d.ZP.td(AuctionSaleItemPreview_templateObject2(),e=>"대지지분"===e.$type||"대지권"===e.$type||"토지"===e.$type?"#E3F5E2":"건물"===e.$type||"집합건물"===e.$type?"#E0F2FE":""),eX=d.ZP.p(AuctionSaleItemPreview_templateObject3());var DataTable_AuctionSaleItemPreview=e=>{let{auctionData:n,jibun:t}=e,{land:i,buid:l,etc:o,agg_bd:s}=(null==n?void 0:n.sale_items_cnt)||{},{sale_items_list:c,sale_items_total_info:d}=n,p=(0,eF.X)(c),[u,x]=(0,a.useState)("meter"),handleConvertType=e=>{x(e)};return(0,r.jsxs)(eO,{children:[(0,r.jsxs)(eq,{children:[(0,r.jsx)("h4",{children:"매각물건 현황"}),(0,r.jsxs)("div",{className:"cntContainer",children:[(0,r.jsxs)(r.Fragment,{children:[!(null==i?void 0:i.includes("00"))&&(0,r.jsxs)("div",{className:"cntBox land",children:[(0,r.jsx)(eh(),{src:eQ.Z,alt:"토지",width:28,height:28}),(0,r.jsx)("p",{className:"cntText",children:i})]}),!(null==l?void 0:l.includes("00"))&&(0,r.jsxs)("div",{className:"cntBox build",children:[(0,r.jsx)(eh(),{src:eY.Z,alt:"건물",width:28,height:28}),(0,r.jsx)("p",{className:"cntText",children:l})]}),!(null==o?void 0:o.includes("00"))&&(0,r.jsxs)("div",{className:"cntBox etc",children:[(0,r.jsx)(eh(),{src:eK.Z,alt:"기타",width:28,height:28}),(0,r.jsx)("p",{className:"cntText",children:o})]}),!(null==s?void 0:s.includes("00"))&&(0,r.jsxs)("div",{className:"cntBox colBuild",children:[(0,r.jsx)(eh(),{src:eW.Z,alt:"집합건물",width:28,height:28}),(0,r.jsx)("p",{className:"cntText",children:s})]})]}),(0,r.jsx)("div",{className:"convertButton",children:(0,r.jsx)(eV.Z,{handleConvert:()=>handleConvertType("meter"===u?"pyeong":"meter")})})]}),(0,r.jsx)("div",{className:"chartPosition",children:(0,r.jsxs)("table",{className:"chartWrapper",children:[(0,r.jsxs)("colgroup",{children:[(0,r.jsx)("col",{width:"34px"}),(0,r.jsx)("col",{width:"72px"}),(0,r.jsx)("col",{width:"auto"})]}),(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{className:"thWrapper",children:[(0,r.jsx)("th",{className:"thContainer",children:"번호"}),(0,r.jsx)("th",{className:"thContainer",children:"구분"}),(0,r.jsx)("th",{className:"thContainer",children:"소재지"})]})}),(0,r.jsxs)("tbody",{children:[(0,r.jsx)(SaleItemGroup,{items:p.토지,convertType:u,totalPyong:null==d?void 0:d.total_land_area_pyong,totalPrice:null==d?void 0:d.total_land_est_price}),(0,r.jsx)(SaleItemGroup,{items:p.집합건물,convertType:u,jibun:t,totalPyong:null==d?void 0:d.total_agg_bd_area_pyong,totalPrice:null==d?void 0:d.total_agg_bd_est_price,isCollectiveBuilding:!0,totalLandRightAreaPyong:null==d?void 0:d.total_land_right_area_pyong}),(0,r.jsx)(SaleItemGroup,{items:p.건물,convertType:u,jibun:t,totalPyong:null==d?void 0:d.total_build_area_pyong,totalPrice:null==d?void 0:d.total_build_est_price}),(0,r.jsx)(SaleItemGroup,{items:p.기타,convertType:u,totalPyong:null==d?void 0:d.total_other_area_pyong,totalPrice:null==d?void 0:d.total_other_est_price})]})]})})]}),(0,r.jsx)(e$,{children:(0,r.jsxs)("div",{className:"totalContainer",children:[(0,r.jsxs)("div",{className:"totalBox",children:[(0,r.jsxs)("div",{className:"descBox",children:[(0,r.jsx)("span",{children:"총 감정가"}),(0,r.jsx)("b",{children:null==n?void 0:n.est_price})]}),(0,r.jsxs)("div",{className:"descBox",children:[(0,r.jsx)("p",{children:"평당"}),(0,r.jsx)("p",{children:null==n?void 0:n.est_price_per_pyong})]})]}),(0,r.jsxs)("div",{className:"descBox",children:[(0,r.jsx)("p",{className:"appraisalDateText",children:"감정평가 기준일"}),(0,r.jsx)("p",{className:"appraisalDateContentText",children:null==n?void 0:n.appraisal_date})]})]})})]})},ui_LinkIcon=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,r.jsx)("path",{d:"M14 6L14 2M14 2H10M14 2L8.66667 7.33333M6.66667 3.33333H5.2C4.0799 3.33333 3.51984 3.33333 3.09202 3.55132C2.71569 3.74307 2.40973 4.04903 2.21799 4.42535C2 4.85318 2 5.41323 2 6.53333V10.8C2 11.9201 2 12.4802 2.21799 12.908C2.40973 13.2843 2.71569 13.5903 3.09202 13.782C3.51984 14 4.0799 14 5.2 14H9.46667C10.5868 14 11.1468 14 11.5746 13.782C11.951 13.5903 12.2569 13.2843 12.4487 12.908C12.6667 12.4802 12.6667 11.9201 12.6667 10.8V9.33333",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});
1function DataTable_templateObject(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    gap: 8px;\n    margin-top: 12px;\n"]);return DataTable_templateObject=function(){return e},e}function DataTable_templateObject1(){let e=(0,i._)(["\n    margin-top: 8px;\n\n    p {\n        margin: 0;\n        color: #333;\n    }\n"]);return DataTable_templateObject1=function(){return e},e}function DataTable_templateObject2(){let e=(0,i._)(["\n    display: flex;\n    flex-wrap: wrap;\n"]);return DataTable_templateObject2=function(){return e},e}function DataTable_templateObject3(){let e=(0,i._)(["\n    gap: 8px;\n    display: inline-flex;\n    border: none;\n    padding: 8px 12px;\n    border-radius: 4px;\n    cursor: pointer;\n    margin-right: 8px;\n    margin-bottom: 8px;\n    transition: background-color 0.2s;\n    font-weight: bold;\n    text-decoration: none;\n    align-items: center;\n    color: white;\n    height: 34px;\n\n    background-color: ",";\n\n    &:hover {\n        background-color: ",";\n    }\n"]);return DataTable_templateObject3=function(){return e},e}let e0=d.ZP.div(DataTable_templateObject()),e1=d.ZP.div(DataTable_templateObject1()),e2=d.ZP.div(DataTable_templateObject2()),e4=d.ZP.button(DataTable_templateObject3(),e=>e.$isToggleButton?"#007bff":C.G.colors.grey04,e=>e.$isToggleButton?"#007bff":C.G.colors.grey04);var optionUtils_DataTable=e=>{var n,t,i,l,s,c,d,p,x,h,g,f;let{value:m,fileData:b}=e,j=(0,o.useRouter)(),_=(0,o.useSearchParams)(),v=null!==(f=_.get("itemId"))&&void 0!==f?f:"",[w,O]=(0,a.useState)(0),{data:y}=(0,u.kJ)(v),{data:A}=(0,ef.HO)(v),k=null==y?void 0:null===(l=y.payload)||void 0===l?void 0:null===(i=l.result)||void 0===i?void 0:null===(t=i.tab_right_check)||void 0===t?void 0:null===(n=t.list)||void 0===n?void 0:n[0],C=null==y?void 0:null===(d=y.payload)||void 0===d?void 0:null===(c=d.result)||void 0===c?void 0:null===(s=c.section_initial)||void 0===s?void 0:s.adrs_jibun,P=null==y?void 0:null===(g=y.payload)||void 0===g?void 0:null===(h=g.result)||void 0===h?void 0:null===(x=h.tab_sale_items)||void 0===x?void 0:null===(p=x.list)||void 0===p?void 0:p[0],{data:I}=(0,ef.xV)(v),{data:S}=(0,ef.D9)(v),handleInstPopUp=()=>{if(!(null==k?void 0:k.status_insp_info))return;let e=window.screenX+(window.outerWidth-600)/2,n=window.screenY+(window.outerHeight-700)/2,t=window.open("","LeaseInspPopUp","width=".concat(600,",height=").concat(700,",left=").concat(e,",top=").concat(n));if(t){t.document.title="현황조사서";let e=t.document.createElement("div");t.document.body.appendChild(e),eg.createRoot(e).render((0,r.jsx)(em.r,{data:k.status_insp_info,InspDate:eu().decode(k.status_insp_info.insp_date||""),onClose:()=>t.close()}))}},E=(0,a.useMemo)(()=>({1:k?(0,r.jsx)(DataTable_AuctionRightCheckPreview,{auctionData:k}):null,2:P?(0,r.jsx)(DataTable_AuctionSaleItemPreview,{auctionData:P,jibun:C}):null,3:(0,r.jsx)(DataTable_AuctionPricePreview,{auctionData:{auctionPrice:I,auctionPriceNoDataMessageType:A}}),4:S?(0,r.jsx)(DataTable_AuctionExpectedOrderPreview,{auctionData:{estimatedDividend:S,auctionPriceNoDataMessageType:A}}):null}),[k,P,C,I,A,S]),handleFileClick=e=>{var n,t;let i=null==e?void 0:null===(n=e.url)||void 0===n?void 0:n.startsWith("&");if(i){let n=parseInt(null==e?void 0:null===(t=e.url)||void 0===t?void 0:t.replace("&",""),10);5===n?handleInstPopUp():O(e=>e===n?0:n)}else{if("rn"===(0,ej.LY)())return j.push("/pdf/viewer?url=".concat(null==e?void 0:e.url));window.open("/pdf/viewer?url=".concat(null==e?void 0:e.url),"현황조사서")}},T=E[w]||null;return(0,r.jsxs)(e0,{children:[(0,r.jsx)("strong",{children:StringParser(m)}),(0,r.jsx)(e2,{children:Array.isArray(b)&&b.map((e,n)=>{var t,i;let l=null==e?void 0:null===(t=e.url)||void 0===t?void 0:t.startsWith("&"),o=l?parseInt(null==e?void 0:null===(i=e.url)||void 0===i?void 0:i.replace("&",""),10):0;return(0,r.jsxs)(e4,{$isToggleButton:l,onClick:()=>handleFileClick(e),children:[!l&&(0,r.jsx)(eh(),{src:eb,alt:"pdfIcon"}),e.name,l&&5!==o&&(0,r.jsx)(public_ArrowIcon,{direction:w===o?"down":"right"}),l&&5===o&&(0,r.jsx)(ui_LinkIcon,{})]},n)})}),0!==w&&(0,r.jsx)(e1,{children:T})]})};
1function Table_templateObject(){let e=(0,i._)(["\n    width: 100%;\n    margin-top: 10px;\n    border-collapse: collapse;\n    font-size: 14px;\n\n    th,\n    td {\n        padding: 10px 0;\n        line-height: 150%;\n        text-align: left;\n        vertical-align: top;\n        border-bottom: 1px solid #f0f1f5;\n        /* 한글은 글자 단위로 끊지 않는다 */\n        word-break: keep-all;\n    }\n\n    th {\n        /* 고정폭이 없으면 내용이 긴 오른쪽 칸이 공간을 다 가져가 라벨이 쪼개진다 */\n        width: 92px;\n        min-width: 92px;\n        white-space: nowrap;\n        font-weight: 500;\n        color: #8a8f9c;\n    }\n\n    td {\n        color: #0c002c;\n    }\n\n    tr:last-child th,\n    tr:last-child td {\n        border-bottom: 0;\n    }\n"]);return Table_templateObject=function(){return e},e}function Table_templateObject1(){let e=(0,i._)(["\n    margin-top: 10px;\n    overflow-x: auto;\n    -webkit-overflow-scrolling: touch;\n"]);return Table_templateObject1=function(){return e},e}function Table_templateObject2(){let e=(0,i._)(["\n    width: max-content;\n    min-width: 100%;\n    border-collapse: collapse;\n    border: 1px solid #eceef3;\n    font-size: 14px;\n\n    th,\n    td {\n        padding: 8px;\n        line-height: 150%;\n        text-align: left;\n        border: 1px solid #eceef3;\n        word-break: keep-all;\n    }\n\n    th {\n        background-color: #f6f7fa;\n        font-weight: 700;\n        white-space: nowrap;\n    }\n"]);return Table_templateObject2=function(){return e},e}var optionUtils_Table=e=>{let{value:n}=e,t=n.trim().split("\n").map(e=>e.split("|").map(e=>e.trim()).slice(1,-1));if(t.length<2)return null;let i=t[0],l=t.slice(2),o=2===i.length;return o?(0,r.jsx)(e3,{children:(0,r.jsx)("tbody",{children:l.map((e,n)=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:StringParser(e[0])}),(0,r.jsx)("td",{children:StringParser(e[1])})]},n))})}):(0,r.jsx)(e5,{children:(0,r.jsxs)(e6,{children:[(0,r.jsx)("thead",{children:(0,r.jsx)("tr",{children:i.map((e,n)=>(0,r.jsx)("th",{children:StringParser(e)},n))})}),(0,r.jsx)("tbody",{children:l.map((e,n)=>(0,r.jsx)("tr",{children:e.map((e,n)=>(0,r.jsx)("td",{children:StringParser(e)},n))},n))})]})})};let e3=d.ZP.table(Table_templateObject()),e5=d.ZP.div(Table_templateObject1()),e6=d.ZP.table(Table_templateObject2());function MarkdownParsing_templateObject(){let e=(0,i._)(["\n    font-size: 20px;\n    font-weight: 700;\n    line-height: 140%;\n    padding: 4px 0;\n    min-height: 28px;\n"]);return MarkdownParsing_templateObject=function(){return e},e}function MarkdownParsing_templateObject1(){let e=(0,i._)(["\n    font-size: 18px;\n    font-weight: 700;\n    line-height: 140%;\n    padding: 4px 0;\n    min-height: 25px;\n\n    color: black;\n"]);return MarkdownParsing_templateObject1=function(){return e},e}function MarkdownParsing_templateObject2(){let e=(0,i._)(["\n    font-size: 16px;\n    font-weight: 700;\n    line-height: 140%;\n    padding: 4px 0;\n    min-height: 22px;\n\n    color: ",";\n"]);return MarkdownParsing_templateObject2=function(){return e},e}function MarkdownParsing_templateObject3(){let e=(0,i._)(["\n    font-size: 14px;\n    font-weight: 700;\n    line-height: 140%;\n    padding: 4px 0;\n    min-height: 20px;\n\n    color: ",";\n"]);return MarkdownParsing_templateObject3=function(){return e},e}function MarkdownParsing_templateObject4(){let e=(0,i._)(["\n    font-size: 14px;\n    font-weight: 400;\n    line-height: 140%;\n    min-height: 20px;\n\n    color: ",";\n"]);return MarkdownParsing_templateObject4=function(){return e},e}function MarkdownParsing_templateObject5(){let e=(0,i._)(["\n    padding: 1px 8px;\n    border-left: 3px solid #b1d0ff;\n    font-style: italic;\n    font-size: 14px;\n    margin-top: 18px;\n    margin-bottom: 8px;\n    min-height: 20px;\n"]);return MarkdownParsing_templateObject5=function(){return e},e}function MarkdownParsing_templateObject6(){let e=(0,i._)(["\n    margin: 12px 0;\n    border-bottom: 1px solid ",";\n"]);
1return MarkdownParsing_templateObject6=function(){return e},e}function MarkdownParsing_templateObject7(){let e=(0,i._)(["\n    padding: 8px;\n    background-color: #f0f0f0;\n    color: #8d8d8d;\n    font-size: 12px;\n    font-style: normal;\n    font-weight: 400;\n    line-height: 20px;\n"]);return MarkdownParsing_templateObject7=function(){return e},e}let e8=d.ZP.h1(MarkdownParsing_templateObject()),e7=d.ZP.h2(MarkdownParsing_templateObject1()),e9=d.ZP.h3(MarkdownParsing_templateObject2(),C.G.colors.aucMarkerColor),ne=d.ZP.h4(MarkdownParsing_templateObject3(),C.G.colors.aucMarkerColor),nn=d.ZP.div(MarkdownParsing_templateObject4(),C.G.colors.navyPrimary),nt=d.ZP.blockquote(MarkdownParsing_templateObject5()),ni=d.ZP.div(MarkdownParsing_templateObject6(),C.G.colors.grey04),nr=d.ZP.div(MarkdownParsing_templateObject7());var optionUtils_MarkdownParsing=e=>{let{data:n}=e;return(0,r.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"12px",color:C.G.colors.navyPrimary},children:null==n?void 0:n.map((e,n)=>{let t="".concat(n,"-").concat(null==e?void 0:e.option);switch(null==e?void 0:e.option){case"#":return(0,r.jsx)(e8,{children:StringParser(null==e?void 0:e.value)},t);case"##":return(0,r.jsx)(e7,{children:StringParser(null==e?void 0:e.value)},t);case"###":return(0,r.jsx)(e9,{children:StringParser(null==e?void 0:e.value)},t);case"####":return(0,r.jsx)(ne,{children:StringParser(null==e?void 0:e.value)},t);case"---":return(0,r.jsx)(ni,{},t);case"table":return(0,r.jsx)(optionUtils_Table,{value:null==e?void 0:e.value},t);case"dataTable":return(null==e?void 0:e.fileData)?(0,r.jsx)(optionUtils_DataTable,{value:null==e?void 0:e.value,fileData:null==e?void 0:e.fileData},t):null;case"blockquote":return(0,r.jsx)(nt,{children:StringParser(null==e?void 0:e.value)},t);case"warning":return(0,r.jsx)(nr,{children:StringParser(null==e?void 0:e.value)},t);default:return(0,r.jsx)(nn,{children:StringParser(null==e?void 0:e.value)},t)}})})};function MissgoAIGuide_templateObject(){let e=(0,i._)(["\n    margin-top: 24px;\n    padding-top: 16px;\n    border-top: 1px solid #f0f1f5;\n    display: flex;\n    flex-direction: column;\n    gap: 10px;\n\n    > p {\n        margin: 0;\n        font-size: 12px;\n        font-weight: 500;\n        line-height: 150%;\n        color: #8a8f9c;\n        text-align: center;\n    }\n\n    > button {\n        width: 100%;\n        padding: 14px 0;\n        border: 0;\n        border-radius: 10px;\n        background: #3478f6;\n        color: #fff;\n        font-family: inherit;\n        font-size: 14px;\n        font-weight: 700;\n        cursor: pointer;\n    }\n"]);return MissgoAIGuide_templateObject=function(){return e},e}function MissgoAIGuide_templateObject1(){let e=(0,i._)(["\n    margin: 18px 0 0;\n    padding-top: 12px;\n    border-top: 1px solid #f0f1f5;\n    font-size: 12px;\n    font-weight: 500;\n    line-height: 150%;\n    color: #b0b5bf;\n"]);return MissgoAIGuide_templateObject1=function(){return e},e}function MissgoAIGuide_templateObject2(){let e=(0,i._)(["\n    max-width: 768px;\n    height: 100%;\n    margin: 0 auto;\n    padding: 14px;\n    padding-bottom: 30px;\n    color: #333;\n"]);return MissgoAIGuide_templateObject2=function(){return e},e}let nl=d.ZP.div(MissgoAIGuide_templateObject()),no=d.ZP.p(MissgoAIGuide_templateObject1()),na=d.ZP.div(MissgoAIGuide_templateObject2());var components_MissgoAIGuide=e=>{let{summaryData:n,charDelay:t=3,wordDelay:i=8,isAnimationEnabled:l=!0,isSuccess:o}=e,[s,d]=(0,a.useState)([]),[p,u]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=o?n:er.S.a;if(!e)return;if(!l||!o){d(e),u(!0);return}d([]),u(!1);let r=!0,typeSequentially=async()=>{let n=new Set(["#","##","###","####","p","blockquote"]);for(let l=0;l<e.length&&r;l++){let o=e[l];if(!n.has(o.option)){d(e=>[...e,o]);continue}let a={...o,value:""};d(e=>[...e,a]);let s="",c=o.value.split(" ");for(let e of c){if(!r)break;for(let n of e){if(!r)break;await new Promise(e=>setTimeout(e,t)),s+=n,d(e=>{let n=[...e];return n[l]={...n[l],value:s},n})}await new Promise(e=>setTimeout(e,i)),s+=" ",d(e=>{let n=[...e];return n[l]={...n[l],value:s},n})}}};return typeSequentially(),()=>{r=!1}},[n,l,t,i,o]),(0,a.useEffect)(()=>{var e,t;let i=null!==(t=null===(e=o?n:er.S.a)||void 0===e?void 0:e.length)&&void 0!==t?t:0;i>0&&s.length>=i&&u(!0)}
1,[s,n,o]);let x=(0,c.Zl)(ei.Jc),h=(0,c.Zl)(ei.kb);return(0,r.jsxs)(na,{children:[(0,r.jsx)(components_ReportHead,{accent:"#3478F6",kicker:"경매 길잡이"}),(0,r.jsx)(optionUtils_MarkdownParsing,{data:s}),p&&(0,r.jsxs)(nl,{children:[(0,r.jsxs)("p",{children:["길잡이가 끝났습니다.",(0,r.jsx)("br",{}),"보관함에 저장돼 언제든 다시 보실 수 있어요."]}),(0,r.jsx)("button",{type:"button",className:"primary",onClick:()=>{x(e=>({...e,isOpen:!1})),h(!1)},children:"매물 상세로 돌아가기"})]}),(0,r.jsx)(no,{children:"본 정보는 미스고 데이터를 토대로 한 생성형 AI 결과입니다. 무단수집 시 민\xb7형사상 책임을 물을 수 있습니다."})]})},ns=t(14478),nc=t(16307),nd=t(79618),np=t(31748);function MissgoAIGuideDeep_templateObject(){let e=(0,i._)(["\n    margin-top: 24px;\n    padding-top: 16px;\n    border-top: 1px solid #f0f1f5;\n    display: flex;\n    flex-direction: column;\n    gap: 10px;\n\n    > p {\n        margin: 0;\n        font-size: 12px;\n        font-weight: 500;\n        line-height: 150%;\n        color: #8a8f9c;\n        text-align: center;\n    }\n\n    > button {\n        width: 100%;\n        padding: 14px 0;\n        border: 0;\n        border-radius: 10px;\n        background: #1b3a6b;\n        color: #fff;\n        font-family: inherit;\n        font-size: 14px;\n        font-weight: 700;\n        cursor: pointer;\n    }\n"]);return MissgoAIGuideDeep_templateObject=function(){return e},e}function MissgoAIGuideDeep_templateObject1(){let e=(0,i._)(["\n    margin: 18px 0 0;\n    padding-top: 12px;\n    border-top: 1px solid #f0f1f5;\n    font-size: 12px;\n    font-weight: 500;\n    line-height: 150%;\n    color: #b0b5bf;\n"]);return MissgoAIGuideDeep_templateObject1=function(){return e},e}function MissgoAIGuideDeep_templateObject2(){let e=(0,i._)(["\n    from { transform: rotate(0deg); }\n    to { transform: rotate(360deg); }\n"]);return MissgoAIGuideDeep_templateObject2=function(){return e},e}function MissgoAIGuideDeep_templateObject3(){let e=(0,i._)(["\n    from { transform: translateX(-100%); }\n    to { transform: translateX(200%); }\n"]);return MissgoAIGuideDeep_templateObject3=function(){return e},e}function MissgoAIGuideDeep_templateObject4(){let e=(0,i._)(["\n    0%, 100% { transform: scale(1); opacity: 1; }\n    50% { transform: scale(1.3); opacity: 0.3; }\n"]);return MissgoAIGuideDeep_templateObject4=function(){return e},e}function MissgoAIGuideDeep_templateObject5(){let e=(0,i._)(["\n    0%, 100% { transform: scale(0.8); }\n    50% { transform: scale(1.1); }\n"]);return MissgoAIGuideDeep_templateObject5=function(){return e},e}function MissgoAIGuideDeep_templateObject6(){let e=(0,i._)(["\n    0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }\n    50% { opacity: 1; transform: translateY(-50%) scale(1.5); }\n"]);return MissgoAIGuideDeep_templateObject6=function(){return e},e}function MissgoAIGuideDeep_templateObject7(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    padding: 40px 20px;\n    gap: 6px;\n"]);return MissgoAIGuideDeep_templateObject7=function(){return e},e}function MissgoAIGuideDeep_templateObject8(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    padding: 120px 35px 0;\n    gap: 14px;\n\n    @media screen and (max-width: 768px) {\n        padding: 40px 35px 0;\n    }\n"]);return MissgoAIGuideDeep_templateObject8=function(){return e},e}function MissgoAIGuideDeep_templateObject9(){let e=(0,i._)(["\n    width: 120px;\n    height: 120px;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n"]);return MissgoAIGuideDeep_templateObject9=function(){return e},e}function MissgoAIGuideDeep_templateObject10(){let e=(0,i._)(["\n    width: 48px;\n    height: 48px;\n    border: 4px solid rgba(0, 0, 0, 0.08);\n    border-top-color: #2275ee;\n    border-radius: 50%;\n    animation: "," 0.8s linear infinite;\n"]);return MissgoAIGuideDeep_templateObject10=function(){return e},e}function _templateObject11(){let e=(0,i._)(["\n    font-size: 16px;\n    font-weight: 700;\n    color: #0c002c;\n    text-align: center;\n"]);
1return _templateObject11=function(){return e},e}function _templateObject12(){let e=(0,i._)(["\n    width: 100%;\n    display: flex;\n    flex-direction: row;\n    align-items: center;\n    justify-content: center;\n    gap: 30px;\n    box-sizing: border-box;\n    padding: 8px;\n    text-align: center;\n\n    border-radius: 4px;\n    border: 1px solid #000;\n    background: #fff;\n\n    color: #000;\n    font-size: 12px;\n    font-weight: 400;\n    line-height: 140%;\n"]);return _templateObject12=function(){return e},e}function _templateObject13(){let e=(0,i._)(["\n    width: 72px;\n    height: 72px;\n    border-radius: 50%;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    background: radial-gradient(circle at center, #eef4ff, #ddeaff);\n"]);return _templateObject13=function(){return e},e}function _templateObject14(){let e=(0,i._)(["\n    font-size: 16px;\n    font-weight: 700;\n    color: #0c002c;\n    text-align: center;\n    margin: 16px 0;\n"]);return _templateObject14=function(){return e},e}function _templateObject15(){let e=(0,i._)(["\n    width: 100%;\n    margin-top: 20px;\n    padding: 14px;\n    border: none;\n    border-radius: 12px;\n    background: #2275ee;\n    color: #ffffff;\n    font-size: 16px;\n    font-weight: 700;\n    line-height: 24px;\n    cursor: pointer;\n"]);return _templateObject15=function(){return e},e}function _templateObject16(){let e=(0,i._)(["\n    display: flex;\n    align-items: center;\n    gap: 12px;\n    width: 100%;\n    padding: 14px;\n    border: 1px solid #d9e8ff;\n    border-radius: 14px;\n    background: #f6faff;\n    box-sizing: border-box;\n"]);return _templateObject16=function(){return e},e}function _templateObject17(){let e=(0,i._)(["\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    flex-shrink: 0;\n    width: 48px;\n    height: 48px;\n    border-radius: 12px;\n    background: #ffffff;\n    font-size: 24px;\n    line-height: 1;\n"]);return _templateObject17=function(){return e},e}function _templateObject18(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    gap: 2px;\n"]);return _templateObject18=function(){return e},e}function _templateObject19(){let e=(0,i._)(["\n    margin: 0;\n    color: #505050;\n    font-size: 12px;\n    font-weight: 500;\n    line-height: 18px;\n"]);return _templateObject19=function(){return e},e}function _templateObject20(){let e=(0,i._)(["\n    margin: 0;\n    color: #0c002c;\n    font-size: 20px;\n    font-weight: 700;\n    line-height: 28px;\n\n    em {\n        color: #2275ee;\n        font-style: normal;\n    }\n"]);return _templateObject20=function(){return e},e}function _templateObject21(){let e=(0,i._)(["\n    display: flex;\n    align-items: flex-start;\n    gap: 8px;\n    width: 100%;\n    margin-top: 8px;\n    padding: 12px 14px;\n    border-radius: 12px;\n    background: #f5f5f7;\n    box-sizing: border-box;\n\n    .bulb {\n        flex-shrink: 0;\n        font-size: 14px;\n        line-height: 20px;\n    }\n\n    p {\n        margin: 0;\n        color: #505050;\n        font-size: 13px;\n        font-weight: 500;\n        line-height: 20px;\n\n        strong {\n            color: #0c002c;\n            font-weight: 700;\n        }\n    }\n"]);return _templateObject21=function(){return e},e}function _templateObject22(){let e=(0,i._)(["\n    width: 100%;\n    max-width: 350px;\n    margin-top: 16px;\n    margin-bottom: 10px;\n"]);return _templateObject22=function(){return e},e}function _templateObject23(){let e=(0,i._)(["\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    margin-bottom: 8px;\n"]);return _templateObject23=function(){return e},e}function _templateObject24(){let e=(0,i._)(["\n    font-size: 14px;\n    font-weight: 700;\n    color: #2275ee;\n"]);return _templateObject24=function(){return e},e}function _templateObject25(){let e=(0,i._)(["\n    width: 100%;\n    height: 8px;\n    background: #eef0f5;\n    border-radius: 9999px;\n    overflow: hidden;\n    position: relative;\n"]);return _templateObject25=function(){return e},e}
1function _templateObject26(){let e=(0,i._)(["\n    height: 100%;\n    border-radius: 9999px;\n    background: linear-gradient(to right, #2275ee, #5a9bff);\n    position: relative;\n    overflow: hidden;\n    transition: width 0.1s linear;\n"]);return _templateObject26=function(){return e},e}function _templateObject27(){let e=(0,i._)(["\n    position: absolute;\n    inset: 0;\n    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);\n    animation: "," 1.5s linear infinite;\n"]);return _templateObject27=function(){return e},e}function _templateObject28(){let e=(0,i._)(["\n    position: absolute;\n    top: 50%;\n    width: 4px;\n    height: 4px;\n    background: #fff;\n    border-radius: 50%;\n    animation: "," 1s infinite;\n"]);return _templateObject28=function(){return e},e}function _templateObject29(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    gap: 4px;\n    width: 100%;\n    max-width: 350px;\n"]);return _templateObject29=function(){return e},e}function _templateObject30(){let e=(0,i._)(["\n    display: flex;\n    align-items: center;\n    gap: 12px;\n    padding: 13px 15px;\n    border-radius: 8px;\n    background: ",";\n    border: 1px solid ",";\n    transition: all 0.5s;\n"]);return _templateObject30=function(){return e},e}function _templateObject31(){let e=(0,i._)(["\n    flex-shrink: 0;\n    width: 20px;\n    height: 20px;\n"]);return _templateObject31=function(){return e},e}function _templateObject32(){let e=(0,i._)(["\n    width: 20px;\n    height: 20px;\n    border-radius: 50%;\n    background: #2275ee;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n"]);return _templateObject32=function(){return e},e}function _templateObject33(){let e=(0,i._)(["\n    position: relative;\n    width: 20px;\n    height: 20px;\n"]);return _templateObject33=function(){return e},e}function _templateObject34(){let e=(0,i._)(["\n    position: absolute;\n    inset: 0;\n    border-radius: 50%;\n    border: 2px solid #2275ee;\n    animation: "," 1.5s infinite;\n"]);return _templateObject34=function(){return e},e}function _templateObject35(){let e=(0,i._)(["\n    position: absolute;\n    inset: 0;\n    border-radius: 50%;\n    border: 2px solid #2275ee;\n"]);return _templateObject35=function(){return e},e}function _templateObject36(){let e=(0,i._)(["\n    position: absolute;\n    inset: 5px;\n    border-radius: 50%;\n    background: #2275ee;\n    animation: "," 1.2s infinite;\n"]);return _templateObject36=function(){return e},e}function _templateObject37(){let e=(0,i._)(["\n    width: 20px;\n    height: 20px;\n    border-radius: 50%;\n    border: 2px solid #dadada;\n"]);return _templateObject37=function(){return e},e}function _templateObject38(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    gap: 2px;\n"]);return _templateObject38=function(){return e},e}function _templateObject39(){let e=(0,i._)(["\n    font-size: 14px;\n    font-weight: ",";\n    color: ",";\n"]);return _templateObject39=function(){return e},e}function _templateObject40(){let e=(0,i._)(["\n    font-size: 11px;\n    font-weight: 500;\n    color: #6688cc;\n"]);return _templateObject40=function(){return e},e}function _templateObject41(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    gap: 10px;\n    padding: 10px;\n"]);return _templateObject41=function(){return e},e}function _templateObject42(){let e=(0,i._)(["\n    font-size: 18px;\n    font-weight: 700;\n    line-height: 28px;\n    color: #0c002c;\n    text-align: center;\n"]);return _templateObject42=function(){return e},e}function _templateObject43(){let e=(0,i._)(["\n    font-size: 14px;\n    font-weight: 400;\n    line-height: 24px;\n    color: #888;\n    text-align: center;\n"]);return _templateObject43=function(){return e},e}function _templateObject44(){let e=(0,i._)(["\n    display: flex;\n    gap: 12px;\n    align-items: flex-start;\n    width: 320px;\n    padding: 14px;\n    border-radius: 10px;\n    background: #f0f4ff;\n    box-sizing: border-box;\n"]);
1return _templateObject44=function(){return e},e}function _templateObject45(){let e=(0,i._)(["\n    width: 18px;\n    height: 18px;\n    flex-shrink: 0;\n    font-size: 18px;\n    line-height: 18px;\n    color: #2275ee;\n"]);return _templateObject45=function(){return e},e}function _templateObject46(){let e=(0,i._)(["\n    font-size: 14px;\n    font-weight: 400;\n    line-height: 24px;\n    color: #444;\n"]);return _templateObject46=function(){return e},e}function _templateObject47(){let e=(0,i._)(["\n    color: #2275ee;\n"]);return _templateObject47=function(){return e},e}function _templateObject48(){let e=(0,i._)(["\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    gap: 4px;\n    width: 320px;\n    padding: 16px 32px;\n    border-radius: 10px;\n    background: #2275ee;\n    box-shadow: 0px 4px 16px 0px rgba(34, 117, 238, 0.25);\n    color: #fff;\n    font-size: 16px;\n    font-weight: 700;\n    line-height: 26px;\n    cursor: pointer;\n    box-sizing: border-box;\n\n    &:disabled {\n        opacity: 0.6;\n        cursor: not-allowed;\n    }\n\n    span {\n        font-size: 20px;\n    }\n"]);return _templateObject48=function(){return e},e}function _templateObject49(){let e=(0,i._)(["\n    max-width: 768px;\n    height: 100%;\n    margin: 0 auto;\n    padding: 14px;\n    padding-bottom: 30px;\n    color: #333;\n"]);return _templateObject49=function(){return e},e}function _templateObject50(){let e=(0,i._)(["\n    border: 1px solid #ddd;\n    margin-bottom: 24px;\n"]);return _templateObject50=function(){return e},e}let nu=[{key:"preparing",label:"서류 준비 중",desc:""},{key:"thinking",label:"경매 분석 중",desc:"경매 이력 및 입찰 현황을 분석하고 있습니다."},{key:"web_search",label:"시세 검색 중",desc:"주변 시세 및 실거래가를 조회하고 있습니다."},{key:"writing",label:"보고서 작성 중",desc:"분석 결과를 보고서로 정리하고 있습니다."},{key:"parsing",label:"결과 정리 중",desc:"최종 결과를 정리하고 있습니다."}],nx=[0,15,35,55,80,100],nh=d.ZP.div(MissgoAIGuideDeep_templateObject()),ng=d.ZP.p(MissgoAIGuideDeep_templateObject1()),NoDataIconSvg=()=>(0,r.jsxs)("svg",{width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M32 10H68L88 30V98C88 101.314 85.314 104 82 104H32C28.686 104 26 101.314 26 98V16C26 12.686 28.686 10 32 10Z",fill:"#E8EDF5"}),(0,r.jsx)("path",{d:"M68 10L88 30H72C69.791 30 68 28.209 68 26V10Z",fill:"#CDD5E0"}),(0,r.jsx)("rect",{x:"38",y:"42",rx:"2",width:"36",height:"4",fill:"#B0BAC9"}),(0,r.jsx)("rect",{x:"38",y:"54",rx:"2",width:"28",height:"4",fill:"#B0BAC9"}),(0,r.jsx)("rect",{x:"38",y:"66",rx:"2",width:"20",height:"4",fill:"#B0BAC9"}),(0,r.jsx)("rect",{x:"38",y:"78",rx:"2",width:"32",height:"4",fill:"#B0BAC9"}),(0,r.jsx)("circle",{cx:"80",cy:"88",r:"18",fill:"white",stroke:"#2275EE",strokeWidth:"3"}),(0,r.jsx)("circle",{cx:"80",cy:"88",r:"8",fill:"#2275EE",fillOpacity:"0.15"}),(0,r.jsx)("line",{x1:"93",y1:"99",x2:"100",y2:"106",stroke:"#2275EE",strokeWidth:"3",strokeLinecap:"round"})]}),nf=(0,d.F4)(MissgoAIGuideDeep_templateObject2()),nm=(0,d.F4)(MissgoAIGuideDeep_templateObject3()),nb=(0,d.F4)(MissgoAIGuideDeep_templateObject4()),nj=(0,d.F4)(MissgoAIGuideDeep_templateObject5()),n_=(0,d.F4)(MissgoAIGuideDeep_templateObject6()),nv=d.ZP.div(MissgoAIGuideDeep_templateObject7()),nw=d.ZP.div(MissgoAIGuideDeep_templateObject8()),nO=d.ZP.div(MissgoAIGuideDeep_templateObject9()),ny=d.ZP.div(MissgoAIGuideDeep_templateObject10(),nf),nA=d.ZP.p(_templateObject11()),nk=d.ZP.div(_templateObject12()),nC=d.ZP.div(_templateObject13()),nP=d.ZP.p(_templateObject14()),nI=d.ZP.button(_templateObject15()),nS=d.ZP.div(_templateObject16()),nE=d.ZP.div(_templateObject17()),nT=d.ZP.div(_templateObject18()),nD=d.ZP.p(_templateObject19()),nN=d.ZP.p(_templateObject20()),nM=d.ZP.div(_templateObject21()),nR=d.ZP.div(_templateObject22()),nz=d.ZP.div(_templateObject23()),nB=d.ZP.p(_templateObject24()),nL=d.ZP.div(_templateObject25()),nZ=d.ZP.div(_templateOb
1ject26()),nG=d.ZP.div(_templateObject27(),nm),nF=d.ZP.div(_templateObject28(),n_),nV=d.ZP.div(_templateObject29()),nH=d.ZP.div(_templateObject30(),e=>{let{$isActive:n}=e;return n?"linear-gradient(170deg, #eef4ff 0%, #f5f8ff 100%)":"transparent"},e=>{let{$isActive:n}=e;return n?"#d1ddf8":"transparent"}),nU=d.ZP.div(_templateObject31()),nW=d.ZP.div(_templateObject32()),nY=d.ZP.div(_templateObject33()),nK=d.ZP.div(_templateObject34(),nb),nQ=d.ZP.div(_templateObject35()),nq=d.ZP.div(_templateObject36(),nj),n$=d.ZP.div(_templateObject37()),nJ=d.ZP.div(_templateObject38()),nX=d.ZP.p(_templateObject39(),e=>{let{$isActive:n}=e;return n?700:500},e=>{let{$isDone:n,$isActive:t}=e;return n?"#2275ee":t?"#0c002c":"#dadada"}),n0=d.ZP.p(_templateObject40()),n1=d.ZP.div(_templateObject41()),n2=d.ZP.p(_templateObject42()),n4=d.ZP.p(_templateObject43()),n3=d.ZP.div(_templateObject44()),n5=d.ZP.div(_templateObject45()),n6=d.ZP.p(_templateObject46()),n8=d.ZP.span(_templateObject47()),n7=d.ZP.button(_templateObject48()),n9=d.ZP.div(_templateObject49());d.ZP.div(_templateObject50());var components_MissgoAIGuideDeep=e=>{var n,t,i;let{isSuccess:l,onOpenDeepTicketModal:d,autoAnalyzeTrigger:u}=e,x=(0,o.useSearchParams)(),h=(0,o.usePathname)(),g=(0,o.useRouter)(),f=(0,s.useQueryClient)(),m=null!==(t=x.get("itemId"))&&void 0!==t?t:"",[b,j]=(0,c.FV)(ei.kb),[_,v]=(0,c.FV)(ei.Jc),{data:w,isLoading:O}=(0,p.fm)(m),{data:y,isLoading:A}=(0,p.XI)(m),{data:k}=(0,p.cO)(m),{mutate:C}=(0,p.PY)(),{connect:P,disconnect:I}=(0,p.mT)(),[S,E]=(0,a.useState)(!1),[T,D]=(0,a.useState)(0),[N,M]=(0,a.useState)(""),[R,z]=(0,a.useState)(0),[B,L]=(0,a.useState)([]),Z=(0,a.useRef)(""),G=(0,a.useRef)(!1),F=(0,a.useRef)(m),V=null!==(i=null==w?void 0:null===(n=w.summary)||void 0===n?void 0:n.data)&&void 0!==i?i:null,H=null==y?void 0:y.status;(0,a.useEffect)(()=>{V&&(L(V),E(!1))},[V]),(0,a.useEffect)(()=>()=>I(),[]),(0,a.useEffect)(()=>{F.current!==m&&(F.current=m,I(),G.current=!1,Z.current="",D(0),M(""),z(0),L([]),E(!1))},[m]),(0,a.useEffect)(()=>{var e;let n=null!==(e=nx[T+1])&&void 0!==e?e:nx[T],t=Date.now(),animate=()=>{let e=Date.now()-t,i=Math.min(e/2500,1);z(R+(n-R)*(1-Math.pow(1-i,3))),i<1&&requestAnimationFrame(animate)};requestAnimationFrame(animate)},[T]);let U=(0,a.useCallback)(e=>{E(!0),P(e,{onProgress:e=>{if(e.phase){let n=nu.findIndex(n=>n.key===e.phase);n>=0&&e.phase!==Z.current&&(D(n),Z.current=e.phase)}e.message&&M(e.message)},onDone:()=>{D(nu.length-1),z(100),f.invalidateQueries(["deepSummaryAuctionAI",e])},onError:()=>{f.invalidateQueries(["deepSummaryAuctionAI",e])}})},[P,f]);(0,a.useEffect)(()=>{!A&&!S&&!G.current&&m&&("running"===H||(0,nd.Tr)(m))&&(G.current=!0,U(m))},[H,A,m]),(0,a.useEffect)(()=>{let handleDone=e=>{var n;let t=null===(n=e.detail)||void 0===n?void 0:n.itemId;t&&(f.invalidateQueries(["deepSummaryAuctionAI",t]),f.invalidateQueries(["deepSummaryStatus",t]))};return window.addEventListener(nd.nj,handleDone),()=>window.removeEventListener(nd.nj,handleDone)},[f]);let handleAnalyze=()=>{D(0),M(""),z(0),Z.current="",E(!0),(0,np.QS)(),C(m,{onSuccess:e=>{f.invalidateQueries(["getDeepSummaryUsage",m]),(null==e?void 0:e.status)==="done"?f.invalidateQueries(["deepSummaryAuctionAI",m]):U(m)},onError:()=>{E(!1)}})};return((0,a.useEffect)(()=>{u&&u>0&&handleAnalyze()},[u]),O||A)?(0,r.jsxs)(nv,{children:[(0,r.jsx)(nO,{children:(0,r.jsx)(ny,{})}),(0,r.jsx)(nA,{children:"데이터를 불러오는 중..."})]}):S||"running"===H&&!V?(0,r.jsxs)(nv,{children:[(0,r.jsx)(ns.E.div,{animate:{scale:[1,1.08,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},children:(0,r.jsx)(nC,{children:(0,r.jsx)(ns.E.div,{animate:{rotate:360},transition:{duration:3,repeat:1/0,ease:"linear"},children:(0,r.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,r.jsx)("circle",{cx:"16",cy:"16",r:"12",stroke:"#2275ee",strokeWidth:"2",strokeDasharray:"20 60",strokeLinecap:"round"}),(0,r.jsx)("circle",{cx:"16",cy:"16",r:"6",stroke:"#5a9bff",strokeWidth:"1.5",strokeDasharray:"10 30",strokeLinecap:"round"})]})})})}),(0,r.jsx)(ns.E.div,{initial:{opacity:0,y:10}
1,animate:{opacity:1,y:0},transition:{duration:.6},children:(0,r.jsx)(nP,{children:"AI가 분석 중입니다..."})}),(0,r.jsxs)(ns.E.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.3,duration:.6},style:{width:"100%"},children:[(0,r.jsxs)(nS,{children:[(0,r.jsx)(nE,{children:"⏱"}),(0,r.jsxs)(nT,{children:[(0,r.jsx)(nD,{children:"예상 소요 시간"}),(0,r.jsxs)(nN,{children:[(0,r.jsx)("em",{children:"약 1분"})," 걸려요"]})]})]}),(0,r.jsxs)(nM,{children:[(0,r.jsx)("span",{className:"bulb",children:"\uD83D\uDCA1"}),(0,r.jsxs)("p",{children:["지금 화면을 나가도 괜찮아요.",(0,r.jsx)("br",{}),"분석이 ",(0,r.jsx)("strong",{children:"끝나면 알림"}),"으로 알려드릴게요."]})]})]}),(0,r.jsxs)(nR,{children:[(0,r.jsx)(nz,{children:(0,r.jsxs)(nB,{children:[Math.round(R),"%"]})}),(0,r.jsxs)(nL,{children:[(0,r.jsx)(nZ,{style:{width:"".concat(R,"%")},children:(0,r.jsx)(nG,{})}),(0,r.jsx)(nF,{style:{left:"".concat(Math.max(R-1,0),"%")}})]})]}),(0,r.jsx)(nV,{children:nu.map((e,n)=>{let t=n<T,i=n===T,l=i&&N?N:e.label;return(0,r.jsx)(ns.E.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.1*n,duration:.4},children:(0,r.jsxs)(nH,{$isActive:i,children:[(0,r.jsx)(nU,{children:t?(0,r.jsx)(ns.E.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:300},children:(0,r.jsx)(nW,{children:(0,r.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:(0,r.jsx)("path",{d:"M2.5 6L5 8.5L9.5 4",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})}):i?(0,r.jsxs)(nY,{children:[(0,r.jsx)(nK,{}),(0,r.jsx)(nQ,{}),(0,r.jsx)(nq,{})]}):(0,r.jsx)(n$,{})}),(0,r.jsxs)(nJ,{children:[(0,r.jsx)(nX,{$isDone:t,$isActive:i,children:l}),(0,r.jsx)(nc.M,{children:i&&e.desc&&(0,r.jsx)(ns.E.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3},children:(0,r.jsx)(n0,{children:e.desc})})})]})]})},e.key)})}),!h.includes("/detail/auctionDetail")&&(0,r.jsx)(nI,{onClick:()=>{(0,np.QS)(),v({..._,isOpen:!1});let e=new URLSearchParams(Array.from(x.entries()));e.delete("MissgoAIType"),g.replace("".concat(h,"?").concat(e.toString())),j(!1)},children:"\uD83D\uDD14 알림 받고 다른 일 하기"})]}):V?(0,r.jsxs)(n9,{children:[(0,r.jsx)(components_ReportHead,{itemId:m,accent:"#1B3A6B",kicker:"권리분석 리포트"}),(0,r.jsx)(optionUtils_MarkdownParsing,{data:B}),(0,r.jsxs)(nh,{children:[(0,r.jsxs)("p",{children:["리포트가 끝났습니다.",(0,r.jsx)("br",{}),"보관함에 저장돼 언제든 다시 보실 수 있어요."]}),(0,r.jsx)("button",{type:"button",className:"primary",onClick:()=>{v(e=>({...e,isOpen:!1})),j(!1)},children:"매물 상세로 돌아가기"})]}),(0,r.jsx)(ng,{children:"본 정보는 미스고 데이터를 토대로 한 생성형 AI 결과입니다. 무단수집 시 민\xb7형사상 책임을 물을 수 있습니다."})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{style:{padding:"0 14px"},children:(0,r.jsxs)(nk,{children:[(0,r.jsxs)("div",{children:["남은 횟수 : ",null==k?void 0:k.remain,"회/1달"]}),(0,r.jsxs)("div",{children:["남은 티켓 : ",null==k?void 0:k.ticketCount,"개"]})]})}),(0,r.jsxs)(nw,{children:[(0,r.jsx)(nO,{children:(0,r.jsx)(NoDataIconSvg,{})}),(0,r.jsxs)(n1,{children:[(0,r.jsx)(n2,{children:"분석 결과가 여기에 표시됩니다."}),(0,r.jsxs)(n4,{children:["AI가 이 물건의 핵심 정보를 분석해 드립니다.",(0,r.jsx)("br",{}),"아래 버튼을 눌러 분석을 요청해 보세요."]})]}),(0,r.jsxs)(n3,{children:[(0,r.jsx)(n5,{children:"ⓘ"}),(0,r.jsxs)(n6,{children:["분석에는 약 ",(0,r.jsx)(n8,{children:"1분"}),"이 소요됩니다.",(0,r.jsx)("br",{}),"권리 분석, 가격 분석, 물건 상세 등 맞춤형",(0,r.jsx)("br",{}),"경매 리포트를 생성합니다.",(0,r.jsx)("br",{}),"denied"===(0,np.qO)()?(0,r.jsx)(n8,{children:"브라우저 알림 권한이 차단되어 있어요."}):(0,r.jsx)(n8,{children:"완료되면 브라우저 알림으로 알려드립니다."})]})]}),(0,r.jsxs)(n7,{onClick:()=>{var e,n;if(k&&(null!==(e=k.remain)&&void 0!==e?e:0)===0&&(null!==(n=k.ticketCount)&&void 0!==n?n:0)===0&&d){d();return}handleAnalyze()},children:[(0,r.jsx)("span",{children:"★"}),"분석 요청하기"]})]})]})};
1function MissgoAILawChatbot_templateObject(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    box-sizing: border-box;\n    overflow: hidden;\n    gap: 10px;\n\n    .sidePadding14 {\n        padding: 0 14px;\n    }\n"]);return MissgoAILawChatbot_templateObject=function(){return e},e}function MissgoAILawChatbot_templateObject1(){let e=(0,i._)(["\n    position: fixed;\n    left: 0;\n    right: 0;\n    z-index: 100;\n    width: 100%;\n    box-sizing: border-box;\n    background-color: white;\n    flex-shrink: 0;\n"]);return MissgoAILawChatbot_templateObject1=function(){return e},e}function MissgoAILawChatbot_templateObject2(){let e=(0,i._)(["\n    width: 100%;\n    box-sizing: border-box;\n    padding: 0 14px 14px 14px;\n\n    position: relative;\n"]);return MissgoAILawChatbot_templateObject2=function(){return e},e}function MissgoAILawChatbot_templateObject3(){let e=(0,i._)(["\n    position: absolute;\n    top: 0;\n    right: 0;\n    width: 100%;\n    height: 68px;\n\n    background-color: transparent;\n"]);return MissgoAILawChatbot_templateObject3=function(){return e},e}function MissgoAILawChatbot_templateObject4(){let e=(0,i._)(["\n    width: 100%;\n    display: flex;\n    flex-direction: row;\n    align-items: center;\n    justify-content: center;\n    gap: 30px;\n    box-sizing: border-box;\n    padding: 8px;\n    text-align: center;\n\n    border-radius: 4px;\n    border: 1px solid #000;\n    background: #fff;\n\n    color: #000;\n    font-size: 12px;\n    font-weight: 400;\n    line-height: 140%;\n"]);return MissgoAILawChatbot_templateObject4=function(){return e},e}function MissgoAILawChatbot_templateObject5(){let e=(0,i._)(["\n    width: 100%;\n    display: flex;\n    flex-direction: row;\n    justify-content: space-between;\n    align-items: center;\n    padding: 8px 12px;\n    box-sizing: border-box;\n\n    border-radius: 5px;\n    background: #000;\n\n    color: #fff;\n    font-size: 14px;\n    font-weight: 400;\n    line-height: 140%;\n"]);return MissgoAILawChatbot_templateObject5=function(){return e},e}function MissgoAILawChatbot_templateObject6(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    justify-content: space-between;\n    gap: 8px;\n\n    button {\n        cursor: pointer;\n        padding: 5px 12px;\n\n        border-radius: 30px;\n        background-color: #fff;\n\n        color: #000;\n        font-size: 10px;\n        font-weight: 400;\n        line-height: 140%;\n    }\n"]);return MissgoAILawChatbot_templateObject6=function(){return e},e}let te=[{role:"assistant",content:"안녕하세요. 미스고 AI 법령 도우미 입니다.\n 법에 관련한것은 무엇이든 물어보세요!"},{role:"assistant",content:"※ AI 법령 도우미는 정보 제공 목적이며 법률상담이 아닙니다. 실제 판단 및 해석은 전문가와 상의하시기 바랍니다"}],tn=d.ZP.div(MissgoAILawChatbot_templateObject()),tt=d.ZP.div(MissgoAILawChatbot_templateObject1()),ti=d.ZP.div(MissgoAILawChatbot_templateObject2()),tr=d.ZP.div(MissgoAILawChatbot_templateObject3()),tl=d.ZP.div(MissgoAILawChatbot_templateObject4()),to=d.ZP.div(MissgoAILawChatbot_templateObject5()),ta=d.ZP.div(MissgoAILawChatbot_templateObject6());var components_MissgoAILawChatbot=e=>{var n,t;let{onOpenUserSubUpgradeModal:i,onOpenPaymentModal:l,isMobilePopup:s}=e,c=(0,o.useRouter)(),d=(0,o.usePathname)(),u=(0,o.useSearchParams)(),x=null!==(n=u.get("itemId"))&&void 0!==n?n:"",[h,g]=(0,a.useState)(te),[f,m]=(0,a.useState)(!1),[b,j]=(0,a.useState)(20),{startStream:_,isLoading:v,cancelStream:w}=(0,p.Uk)("law"),{data:O,refetch:y}=(0,p.V4)(),{data:A,refetch:C}=(0,p.iW)(),{data:P}=(0,p.U0)(),I=(0,a.useRef)(null),S=(0,k.y)();(0,a.useEffect)(()=>{y()},[]);let E=(null==O?void 0:O.remaining)===0,handleSendMessage=e=>{let n={role:"user",content:e},t={role:"assistant",content:""};g(e=>[...e,n,t]),_({itemId:x,question:e},{onChunk:e=>{g(n=>{let t=[...n],i=t.length-1;return i>=0&&(t[i].content+=e),t})},onDone:()=>{f||m(!0),g(e=>{let n=[...e],t=n.length-1;if(t<0)return n;let i=n[t].content;return i.endsWith("\n")&&(n[t].content=i.slice(0,-1)),n}),m(!1),y()},onError:()=>{g(e=>{let n=[...e],t=n.length-1;return t>=0&&(n[t].content="오류가 발생했습니다."),n}),f||m(!0),y()}})},T=d.includes("/detail/auctionDetail"),D=(0,a.useMemo)(()=>s?"100%":T?E?"calc(100vh - 430px)":"calc(100vh - 360px - ".concat(b,"px)"):E?"calc(100vh - 270px)":"calc(100vh - 200px - ".concat(b,"px)"),[T,s,E,b]);return(0,r.jsxs)(tn,{style:{height:T||s?"100%":"100vh",position:s?"relative":void 0},children:[(0,r.jsx)("div",{className:"sidePadding14",style:{flexShrink:0},children:(0,r.jsxs)(tl,{children:[(0,r.jsxs)("div",{children:["남은 횟수 : ",null!==(t=null==O?void 0:O.remaining)&&void 0!==t?t:0,"회 / 1달"]}),(null==P?void 0:P.isFreeIssued)&&!(null==P?void 0:P.isExpierd)&&"VVIP"!==S?(0,r.jsxs)("div",{children:["무료체험 만료일 : ",null==P?void 0:P.expiredAt]}):(null==A?void 0:A.remainCount)>0&&(null==A?void 0:A.ticketExpiredAt)===null&&"VVIP"===S?"":(0,r.jsxs)("div",{children:["만료일 : ",(null==A?void 0:A.ticketExpiredAt)?(e=>{let n=new Date(e),t=n.getFullYear(),i=String(n.getMonth()+1).padStart(2,"0"),r=String(n.getDate()).padStart(2,"0"),l=String(n.getHours()).padStart(2,"0"),o=String(n.getMinutes()).padStart(2,"0");return"".concat(t,"-").concat(i,"-").concat(r," ").concat(l,":").concat(o)})(null==A?void 0:A.ticketExpiredAt):"-"]})]})}),(0,r.jsx)("div",{style:{height:s?void 0:"fit-content",flex:s?"1 1 0":void 0,minHeight:s?0:void 0,padding:"0 4px 0 14px",overflow:s?"hidden":void 0},children:(0,r.jsx)(components_ChatLog,{data:h,isLoading:v&&!f,ticketBoxState:E?"TICKET":"HIDDEN",calculatedHeight:D,bottomGap:s?0:80})}),E&&(0,r.jsx)("div",{className:"sidePadding14",children:(0,r.jsxs)(to,{children:[(0,r.jsx)("div",{children:"사용 횟수가 모두 소진되었습니다."}),(0,r.jsx)(ta,{children:(0,r.jsx)("button",{onClick:()=>c.push("/subscriptionInfo"),children:"구독권 업그레이드"})})]})}),(0,r.jsx)(tt,{ref:I,style:{position:s?"relative":"fixed",bottom:s?"auto":T?"0":"68px",flexShrink:0},children:E?(0,r.jsxs)(ti,{children:[(0,r.jsx)(components_ChatInput,{onSubmit:handleSendMessage,onCancel:w,isLoading:v,isDisabled:!0,onHeightChange:j}),(0,r.jsx)(tr,{})]}):(0,r.jsx)(ti,{children:(0,r.jsx)(components_ChatInput,{onSubmit:handleSendMessage,onCancel:w,isLoading:v,onHeightChange:j})})})]})},ts=t(1107),tc=t(40125),td=t(90952),tp=t(44889),tu=t(43957),tx={src:"/_next/static/media/CalendarIcon.97234584.png"},th=t(82116),tg={src:"/_next/static/media/NoDeungiIcon.38292546.png"},tf=t(76695),tm=t(76257),tb=t(92792);let tj={LOADING:"LOADING",NOT_LOGGED_IN:"NOT_LOGGED_IN",ANALYSIS_IN_PROGRESS:"ANALYSIS_IN_PROGRESS",NEW_ITEM_ER
1ROR:"NEW_ITEM_ERROR",NO_SOURCE_DATA:"NO_SOURCE_DATA",NO_SPEC_DATA:"NO_SPEC_DATA",NOT_PROVIDED:"NOT_PROVIDED",NEEDS_FREE_TRIAL:"NEEDS_FREE_TRIAL",NEEDS_SUBSCRIPTION:"NEEDS_SUBSCRIPTION",NEEDS_CHATBOT_FREE_TRIAL:"NEEDS_CHATBOT_FREE_TRIAL",NEEDS_CHATBOT_SUBSCRIPTION:"NEEDS_CHATBOT_SUBSCRIPTION",NEEDS_CHATBOT_UPGRADE:"NEEDS_CHATBOT_UPGRADE",NEEDS_CHATBOT_TICKET:"NEEDS_CHATBOT_TICKET",NEEDS_CHATBOT_TICKET_UPGRADE:"NEEDS_CHATBOT_TICKET_UPGRADE",SUCCESS:"SUCCESS"},useAuthorization=e=>{var n,t,i,r,l,s,c;let{missgoAIType:d,userSubs:x,isSampleItem:h}=e,g=(0,o.useSearchParams)(),{userSession:f}=(0,tb.useSession)(),[m,b]=(0,a.useState)(!1),j=null!==(r=g.get("itemId"))&&void 0!==r?r:"";(0,a.useEffect)(()=>{var e;b(!!(null==f?void 0:null===(e=f.value)||void 0===e?void 0:e.accessToken))},[f]);let{data:_,isLoading:v,refetch:w}=(0,p.NC)(null!==(l=g.get("itemId"))&&void 0!==l?l:""),{data:O}=(0,u.U$)(null!==(s=g.get("itemId"))&&void 0!==s?s:""),y=null==O?void 0:null===(i=O.payload)||void 0===i?void 0:null===(t=i.result)||void 0===t?void 0:null===(n=t.section_initial)||void 0===n?void 0:n.status_text,{data:A}=(0,p.g7)(null!==(c=g.get("itemId"))&&void 0!==c?c:""),{data:k}=(0,p.U0)(),{data:C}=(0,p.iW)(),{data:P}=(0,p.cO)(j),I=null==_?void 0:_.code,S=null==k?void 0:k.isFreeIssued,E=null==k?void 0:k.isExpierd,T=(null==A?void 0:A.data.length)===0,D=(0,a.useMemo)(()=>{var e;if(204===I)return tj.ANALYSIS_IN_PROGRESS;if(400===I)return tj.NEW_ITEM_ERROR;if(424===I)return tj.NO_SOURCE_DATA;if(425===I)return tj.NO_SPEC_DATA;let n=(null==_?void 0:_.code)!==200&&"진행"!==y;if(!v&&n)return tj.NOT_PROVIDED;if(!m)return tj.NOT_LOGGED_IN;if(v)return tj.LOADING;if("guide"===d){if(("NONE"===x||"FREE_TRIAL"===x)&&h||"VVIP"===x||"VIP"===x)return tj.SUCCESS;if("BASIC"===x||"STANDARD"===x||"NONE"===x||"FREE_TRIAL"===x){if(S&&E)return tj.NEEDS_SUBSCRIPTION;if(!S&&!E)return tj.NEEDS_FREE_TRIAL}if(403===I)return tj.NEEDS_SUBSCRIPTION}if("guide-deep"===d)return"VVIP"===x||(null==P?void 0:P.alreadyGenerated)||(null==P?void 0:P.isRunning)?tj.SUCCESS:tj.NEEDS_SUBSCRIPTION;if("chat"===d||"chat-statute"===d){if("VVIP"===x){if(!T||(null==C?void 0:C.remainCount)>0||(null==C?void 0:C.ticketCount)>0)return tj.SUCCESS;if((null==C?void 0:C.remainCount)===0||(null==C?void 0:C.ticketCount)===0)return tj.NEEDS_CHATBOT_TICKET}if("VIP"===x){if(!S)return tj.NEEDS_CHATBOT_FREE_TRIAL;if(!T)return tj.SUCCESS;if(E)return(null==C?void 0:C.remainCount)>0||(null==C?void 0:C.ticketCount)>0?tj.SUCCESS:tj.NEEDS_CHATBOT_TICKET_UPGRADE;if(!E){if((null==C?void 0:C.remainCount)>0||(null==C?void 0:C.ticketCount)>0)return tj.SUCCESS;if((null==C?void 0:C.remainCount)===0&&(null==C?void 0:C.ticketCount)===0)return tj.NEEDS_CHATBOT_TICKET_UPGRADE}}if("BASIC"===x||"STANDARD"===x||"NONE"===x||"FREE_TRIAL"===x){if(!S)return tj.NEEDS_CHATBOT_FREE_TRIAL;if(!T)return tj.SUCCESS;if(E)return tj.NEEDS_CHATBOT_SUBSCRIPTION;if(!E){if((null==C?void 0:C.remainCount)>0||(null==C?void 0:C.ticketCount)>0)return tj.SUCCESS;(null==C?void 0:C.remainCount)===0&&(null==C||C.ticketCount)}return tj.NEEDS_CHATBOT_SUBSCRIPTION}}return(null==_?void 0:null===(e=_.summary)||void 0===e?void 0:e.data)?tj.SUCCESS:tj.LOADING},[m,v,I,S,_,d,x,C,T,j,h,null==P?void 0:P.alreadyGenerated,null==P?void 0:P.isRunning,O,y]);return{status:D,AISummaryData:_,AISummaryDataRefetch:w,isLogin:m}};function authOverlay_templateObject(){let e=(0,i._)(["\n    margin-top: 12px;\n    padding: 12px 20px;\n    border-radius: 8px;\n    background: #fff;\n    border: 1.5px solid ",";\n    color: ",";\n    font-size: 14px;\n    font-weight: 700;\n    line-height: 22px;\n    cursor: pointer;\n    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.08);\n\n    &:hover {\n        opacity: 0.85;\n    }\n"]);return authOverlay_templateObject=function(){return e},e}function authOverlay_templateObject1(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    gap: 6px;\n    width: 100%;\n"]);return authOverlay_templateObject1=function(){return e},e}function authOverlay_templateObject2(){let e=(0,i._)(["\n    width: 100%;\n    height: 52px;\n    padding: 12px 24px;\n    border-radius: 8px;\n    background: #fff;\n    border: 1.5px solid #1b3a6b;\n    color: #1b3a6b;\n    font-size: 16px;\n    font-weight: 700;\n    line-height: 28px;\n    cursor: pointer;\n    white-space: nowrap;\n\n    &:hover {\n        opacity: 0.85;\n    }\n"]);
1return authOverlay_templateObject2=function(){return e},e}function authOverlay_templateObject3(){let e=(0,i._)(["\n    width: 100%;\n    height: 52px;\n    padding: 12px 24px;\n    border-radius: 8px;\n    background: #1b3a6b;\n    border: none;\n    color: #fff;\n    font-size: 16px;\n    font-weight: 700;\n    line-height: 28px;\n    cursor: pointer;\n    white-space: nowrap;\n\n    &:hover {\n        opacity: 0.85;\n    }\n"]);return authOverlay_templateObject3=function(){return e},e}let OverlayContent=e=>{let{status:n,userSubs:t,missgoAIType:i,setFreeTrialModalOpen:l,setGoSubsModalOpen:s,setUserLoginCheck:d,setIsOpenPaymentModal:u,onOpenDeepTicketModal:x,onUseDeepTicket:h,deepRemain:g}=e,m=(0,o.useRouter)(),[b,_]=(0,a.useState)(!1),[v,O]=(0,a.useState)(!1),y=(0,c.Zl)(ei.oZ),A=(0,c.Zl)(ei.kb),k=(0,c.sJ)(ei.oZ),C="VIP"===t,{data:P}=(0,f.P)(),{data:I}=(0,p.U0)(),S=!(null==I?void 0:I.isFreeIssued)&&!(null==I?void 0:I.isExpierd),E=i?({guide:"#3478F6","guide-deep":"#1B3A6B",chat:"#F6494B","chat-statute":"#F6A72D"})[i]:void 0,T=!["VVIP","VIP"].includes(t),handleHideFor10Days=()=>{(0,tm.sx)(),y(!0),A(!1),_(!1)};(0,a.useEffect)(()=>{["VIP","VVIP"].includes(t)&&((0,tm.S2)(),y(!1))},[t,y]);let HideButton=()=>(0,r.jsx)("div",{style:{marginTop:"12px",fontSize:"14px",color:"#FFF",textAlign:"center",textDecoration:"underline",cursor:"pointer"},onClick:()=>_(!0),children:"10일간 보지 않기"}),VerticalWrapper=e=>{let{children:n}=e;return(0,r.jsx)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:n})},ConfirmationDialog=()=>(0,r.jsx)(r.Fragment,{children:b&&(0,r.jsx)(j.Z,{open:b,onCloseVie
1w:()=>_(!1),contents:(0,r.jsx)(w.cZ,{title:"미스고 AI 10일간 보지 않기",description:"앞으로 10일 동안 미스고 AI가 표시되지 않습니다.\n이대로 진행하시겠어요?"}),cancelText:"아니요",confirmText:"예",onClickSubmit:handleHideFor10Days})}),D=(null==P?void 0:P.isFreeIssueSubs)===!0,N=C&&!D,M=N?"VVIP 업그레이드":"VVIP Full 구독하러 가기",R=N?()=>O(!0):()=>m.push("/subscriptionInfo"),renderVVIPUpgradeDialog=()=>(0,r.jsx)(tu.Z,{open:v,onClose:()=>O(!1),onConfirm:()=>u("upgrade")});switch(n){case tj.LOADING:return(0,r.jsx)(w.gb,{});case tj.NOT_LOGGED_IN:return(0,r.jsx)(w.ak,{icon:tf.Z.src,buttonColor:E,buttonText:"로그인 후 5일 무료체험",onButtonClick:()=>d({userLoginCheck:!0}),sampleButtonText:"샘플보기",onSampleButtonClick:()=>d({userLoginCheck:!0}),textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"유료회원만 상세정보를"}),(0,r.jsx)("p",{children:"확인할 수 있어요"})]})});case tj.NEEDS_FREE_TRIAL:return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(VerticalWrapper,{children:[(0,r.jsx)(w.ak,{icon:tf.Z.src,buttonColor:E,buttonText:"1일간 무료체험하기",onButtonClick:()=>l(!0),textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"경매 길잡이는 아래와 같은"}),(0,r.jsx)("p",{children:"기능을 제공해요!"})]})}),T&&!k&&(0,r.jsx)(HideButton,{})]}),(0,r.jsx)(ConfirmationDialog,{})]});case tj.NEEDS_SUBSCRIPTION:if("guide-deep"===i)return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(VerticalWrapper,{children:[(0,r.jsx)(w.ak,{icon:tf.Z.src,textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"AI 권리분석 리포트가"}),(0,r.jsx)("p",{children:"궁금하다면?"})]}),isChatbot:!0}),(0,r.jsxs)(tv,{children:[(0,r.jsx)(tw,{onClick:g&&g>0?()=>null==h?void 0:h():null!=x?x:()=>{},children:g&&g>0?"AI 권리분석 리포트 이용권 사용":"AI 권리분석 리포트 이용권 구매"}),(0,r.jsx)(tO,{onClick:R,children:M})]}),S&&(0,r.jsx)(t_,{$color:E,onClick:()=>l(!0),children:"1일간 무료체험하기"}),T&&!k&&(0,r.jsx)(HideButton,{})]}),(0,r.jsx)(ConfirmationDialog,{}),renderVVIPUpgradeDialog()]});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(VerticalWrapper,{children:[(0,r.jsx)(w.ak,{icon:tf.Z.src,buttonColor:E,buttonText:M,onButtonClick:N?R:()=>s(!0),textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"경매 길잡이는 아래와 같은"}),(0,r.jsx)("p",{children:"기능을 제공해요!"})]})}),T&&!k&&(0,r.jsx)(HideButton,{})]}),(0,r.jsx)(ConfirmationDialog,{}),renderVVIPUpgradeDialog()]});case tj.NOT_PROVIDED:return(0,r.jsx)(w.Bc,{icon:th.Z.src,alt:"AI 미제공",textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"미스고 데이터 수집 시,"}),(0,r.jsxs)("p",{children:[(0,r.jsx)("span",{className:"highLight",children:"진행 중인 물건"}),"을 우선으로"]}),(0,r.jsx)("p",{children:"경매 길잡이를 제공합니다."})]})});case tj.ANALYSIS_IN_PROGRESS:return(0,r.jsx)(w.Bc,{icon:th.Z.src,alt:"분석 중",textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"미스고 AI가"}),(0,r.jsxs)("p",{children:["매물을 ",(0,r.jsx)("span",{className:"highLight",children:"분석 중"}),"입니다."]})]})});case tj.NO_SPEC_DATA:return(0,r.jsx)(w.Bc,{icon:th.Z.src,alt:"매각물건명세서 없음",textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{style:{fontSize:"20px"},children:"법원에서 제공하지 않거나"}),(0,r.jsx)("p",{style:{fontSize:"20px"},children:"불가피한 사유로"}),(0,r.jsx)("span",{className:"highLight",style:{color:"#0047FF"},children:"매각물건명세서가 없어서"}),(0,r.jsx)("p",{children:"준비 중입니다."})]})});case tj.NO_SOURCE_DATA:return(0,r.jsx)(w.Bc,{icon:tg.src,alt:"분석 자료 없음",textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"등기부등본이 아직 없어"}),(0,r.jsx)("span",{className:"highLight",style:{color:"#0047FF"},children:"AI 분석을 준비 중입니다."}),(0,r.jsx)("p",{children:"자료가 들어오면 열립니다."})]})});
1case tj.NEW_ITEM_ERROR:return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(VerticalWrapper,{children:[(0,r.jsx)(w.Bc,{icon:tx.src,alt:"신건",textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"해당 매물은 신건으로"}),(0,r.jsx)("span",{className:"highLight",children:"매각기일 7일 전부터"}),(0,r.jsx)("p",{children:"확인할 수 있습니다."})]})}),T&&!k&&(0,r.jsx)(HideButton,{})]}),(0,r.jsx)(ConfirmationDialog,{})]});case tj.NEEDS_CHATBOT_FREE_TRIAL:return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(VerticalWrapper,{children:[(0,r.jsx)(w.ak,{icon:tf.Z.src,buttonColor:E,buttonText:M,onButtonClick:N?R:()=>s(!0),textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"미스고 AI가"}),(0,r.jsx)("p",{children:"궁금하다면?"})]}),isChatbot:!0}),(0,r.jsx)(t_,{$color:E,onClick:()=>l(!0),children:"1일간 무료체험하기"}),T&&!k&&(0,r.jsx)(HideButton,{})]}),(0,r.jsx)(ConfirmationDialog,{}),renderVVIPUpgradeDialog()]});case tj.NEEDS_CHATBOT_SUBSCRIPTION:return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(VerticalWrapper,{children:[(0,r.jsx)(w.ak,{icon:tf.Z.src,buttonColor:E,buttonText:M,onButtonClick:N?R:()=>s(!0),textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"미스고 AI가"}),(0,r.jsx)("p",{children:"궁금하다면?"})]}),isChatbot:!0}),T&&!k&&(0,r.jsx)(HideButton,{})]}),(0,r.jsx)(ConfirmationDialog,{}),renderVVIPUpgradeDialog()]});case tj.NEEDS_CHATBOT_UPGRADE:return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(w.ak,{icon:tf.Z.src,buttonColor:E,buttonText:M,onButtonClick:R,textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"미스고 AI가"}),(0,r.jsx)("p",{children:"궁금하다면?"})]}),isChatbot:!0}),renderVVIPUpgradeDialog()]});case tj.NEEDS_CHATBOT_TICKET_UPGRADE:if("chat-statute"===i)return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(w.ak,{icon:tf.Z.src,buttonColor:E,buttonText:M,onButtonClick:R,textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"미스고 AI가"}),(0,r.jsx)("p",{children:"궁금하다면?"})]}),isChatbot:!0}),renderVVIPUpgradeDialog()]});return(0,r.jsx)(r.Fragment,{children:renderVVIPUpgradeDialog()});case tj.NEEDS_CHATBOT_TICKET:return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(w.ak,{icon:tf.Z.src,buttonColor:E,buttonText:"chat-statute"===i?M:"AI 챗봇 이용권 구매",onButtonClick:"chat-statute"===i?R:()=>u("ticket"),textContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"미스고 AI가"}),(0,r.jsx)("p",{children:"궁금하다면?"})]}),isChatbot:!0}),renderVVIPUpgradeDialog()]});case tj.SUCCESS:default:return null}},renderOverlay=e=>(0,r.jsx)(OverlayContent,{...e}),t_=d.ZP.button(authOverlay_templateObject(),e=>{let{$color:n}=e;return null!=n?n:"#2275ee"},e=>{let{$color:n}=e;return null!=n?n:"#2275ee"}),tv=d.ZP.div(authOverlay_templateObject1()),tw=d.ZP.button(authOverlay_templateObject2()),tO=d.ZP.button(authOverlay_templateObject3());function MissgoAI_templateObject(){let e=(0,i._)(["\n    height: 100%;\n    position: relative;\n    display: flex;\n    flex-direction: column;\n"]);return MissgoAI_templateObject=function(){return e},e}function MissgoAI_templateObject1(){let e=(0,i._)(["\n    height: 100%;\n    flex-grow: 1;\n    position: relative;\n"]);return MissgoAI_templateObject1=function(){return e},e}function MissgoAI_templateObject2(){let e=(0,i._)(["\n    height: ",";\n    filter: blur(",");\n\n    @media screen and (max-width: 768px) {\n        height: ",";\n    }\n"]);return MissgoAI_templateObject2=function(){return e},e}function MissgoAI_templateObject3(){let e=(0,i._)(["\n    position: absolute;\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    display: flex;\n    /* safe center: 콘텐츠가 컨테이너보다 클 때 중앙정렬로 인해 위/아래가 잘리는 걸 방지 */\n    align-items: safe center;\n    justify-content: safe center;\n    /* 잘릴 만큼 크면 스크롤로 접근 가능하게 */\n    overflow-y: auto;\n    overscroll-behavior: contain;\n    background-color: rgba(0, 0, 0, 0.5);\n    box-sizing: border-box;\n    padding: 16px 0;\n"]);
1return MissgoAI_templateObject3=function(){return e},e}function MissgoAI_templateObject4(){let e=(0,i._)(["\n    position: sticky;\n    top: 0;\n    z-index: 1000;\n    background-color: white;\n    width: 100%;\n    box-sizing: border-box;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    padding: 14px;\n\n    @media screen and (max-width: 768px) {\n        display: none;\n    }\n"]);return MissgoAI_templateObject4=function(){return e},e}function MissgoAI_templateObject5(){let e=(0,i._)(["\n    position: relative;\n    width: 100%;\n    box-sizing: border-box;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    padding: 2px;\n    border-radius: 8px;\n    background: var(--Fill-Normal, rgba(112, 115, 124, 0.08));\n"]);return MissgoAI_templateObject5=function(){return e},e}function MissgoAI_templateObject6(){let e=(0,i._)(["\n    position: absolute;\n    top: 2px;\n    left: 2px;\n    width: calc(50% - 2px);\n    height: calc(100% - 4px);\n    border-radius: 8px;\n    background-color: ",";\n    transition:\n        transform 0.2s ease-in-out,\n        background-color 0.2s ease-in-out;\n    transform: ",";\n"]);return MissgoAI_templateObject6=function(){return e},e}function MissgoAI_templateObject7(){let e=(0,i._)(["\n    width: 50%;\n    display: flex;\n    justify-content: center;
1\n    align-items: center;\n    gap: 4px;\n    padding: 8px 0;\n    cursor: pointer;\n\n    border-radius: 8px;\n    background: transparent;\n    z-index: 1;\n    color: ",";\n    transition: color 0.2s ease-in-out;\n\n    .text {\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        font-size: 14px;\n        font-style: normal;\n        font-weight: 700;\n        line-height: 140%;\n    }\n"]);return MissgoAI_templateObject7=function(){return e},e}function MissgoAI_templateObject8(){let e=(0,i._)(["\n    display: flex;\n    flex-direction: column;\n    gap: 14px;\n    align-items: center;\n\n    .titleText {\n        text-align: center;\n        font-size: 16px;\n        font-weight: 700;\n        line-height: 26px;\n        color: #0c002c;\n    }\n\n    .ticketCountBox {\n        width: 100%;\n        background-color: #f0f0f0;\n        border-radius: 4px;\n        padding: 8px 14px;\n    }\n\n    .ticketCount {\n        text-align: center;\n        font-size: 16px;\n        font-weight: 500;\n        line-height: 26px;\n        color: #0c002c;\n    }\n\n    .chargeWarningText {\n        text-align: center;\n        font-size: 14px;\n        font-weight: 500;\n        line-height: 24px;\n        color: #ff0000;\n    }\n"]);return MissgoAI_templateObject8=function(){return e},e}function MissgoAI_templateObject9(){let e=(0,i._)(["\n    text-align: center;\n    font-size: 18px;\n    font-weight: 500;\n    line-height: 28px;\n    border-radius: 14px;\n    background-color: #ebebeb;\n    padding: 14px;\n"]);return MissgoAI_templateObject9=function(){return e},e}function MissgoAI_templateObject10(){let e=(0,i._)(["\n    text-align: center;\n    font-size: 18px;\n    font-weight: 500;\n    line-height: 28px;\n    border-radius: 14px;\n    background-color: #2275ee;\n    color: #ffffff;\n    padding: 14px;\n"]);return MissgoAI_templateObject10=function(){return e},e}var components_MissgoAI=e=>{var n,t,i,d,y,A,C;let{type:P="guide",isMobilePopup:I}=e,S=(0,o.useRouter)(),E=(0,s.useQueryClient)(),T=(0,o.useSearchParams)(),D=null!==(i=T.get("itemId"))&&void 0!==i?i:"",N=(0,l.Z)(b.P),M=T.get("MissgoAIType"),R=(0,c.Zl)(m.Gm),z="chat"===P?"chat":"guide",[B,L]=(0,a.useState)(N&&M?M:z),[Z,G]=(0,a.useState)(!1),[F,V]=(0,a.useState)(!1),[H,U]=(0,a.useState)(!1),[W,Y]=(0,a.useState)(!1),[K,Q]=(0,a.useState)(!1),[q,$]=(0,a.useState)(x.Y),[J,X]=(0,a.useState)(null),[ee,en]=(0,a.useState)(!1),[et,ei]=(0,a.useState)(!1),[er,el]=(0,a.useState)(0),{mutate:eo}=(0,p.$Y)(),{data:ea}=(0,p.cO)(D),es=(0,k.y)(),{data:ec}=(0,u._l)(D||void 0,!0),ed=!!(null==ec?void 0:null===(n=ec.result)||void 0===n?void 0:n.isSample),{status:ep,AISummaryData:eu,AISummaryDataRefetch:ex,isLogin:eh}=useAuthorization({missgoAIType:B,userSubs:es,isSampleItem:ed}),{data:eg}=(0,g.B)(!0),{data:ef}=(0,g.d)("VIP"===es),{data:em}=(0,f.P)(),{data:eb}=(0,h.ct)(_.TB.DISPLAYED),ej=(0,a.useRef)(!0);(0,a.useEffect)(()=>{if(M){let e="guide"===M||"guide-deep"===M,n="chat"===M||"chat-statute"===M,t=N||"guide"===P&&e||"chat"===P&&n;if(t){L(M);return}}L("chat"===P?"chat":"guide")},[P,N,M]),(0,a.useEffect)(()=>{if(ep&&eu){let e=setTimeout(()=>{ej.current=!1},350);return()=>clearTimeout(e)}},[eu,ep]),(0,a.useEffect)(()=>{var e,n,t,i,r;if("VIP"===es&&(null==ef?void 0:null===(e=ef.list)||void 0===e?void 0:e.length)){let e=null!==(t=null==em?void 0:em.productName)&&void 0!==t?t:"",n=e.includes("1년"),r=null!==(i=ef.list.find(t=>n?t.name.includes("연"):e.includes("6개월")?t.name.includes("6개월"):!e.includes("12개월")||t.name.includes("12개월")))&&void 0!==i?i:ef.list[0];r&&X(r)}else if(eg&&Array.isArray(eg.list)&&eg.list.length>0){let e=eg.list.find(e=>e.name.includes("VVIP"));e&&X(e)}(null==eb?void 0:null===(n=eb.list)||void 0===n?void 0:n.length)>0&&(null==eb||null===(r=eb.list)||void 0===r||r.filter(e=>e.type===_.E4.AI_CHATBOT_TICKET).map((e,n)=>{0===n&&$(e)}))},[eg,eb,es,ef,em]),(0,a.useEffect)(()=>{eh&&ex()},[eh,T,ex]);let e_=ep!==tj.SUCCESS,ev=ep===tj.NOT_LOGGED_IN||ep===tj.NEEDS_FREE_TRIAL||ep===tj.NEEDS_SUBSCRIPTION||ep===tj.ANALYSIS_IN_PROGRESS||ep===tj.NEW_ITEM_ER
1ROR||ep===tj.NO_SOURCE_DATA||ep===tj.NO_SPEC_DATA||ep===tj.NOT_PROVIDED||ep===tj.NEEDS_CHATBOT_FREE_TRIAL||ep===tj.NEEDS_CHATBOT_SUBSCRIPTION||ep===tj.NEEDS_CHATBOT_UPGRADE||ep===tj.NEEDS_CHATBOT_TICKET||ep===tj.NEEDS_CHATBOT_TICKET_UPGRADE,ew="guide"===B||"guide-deep"===B,eO="guide"===B||"chat"===B,ChangeMissgoAIType=e=>{L(e);let n=new URL(window.location.href);n.searchParams.set("MissgoAIType",e),window.history.replaceState(null,"",n.toString())};return(0,r.jsxs)(ty,{children:[(0,r.jsx)(tP,{children:(0,r.jsxs)(tI,{children:[(0,r.jsx)(tE,{$isFirst:eO,$activeType:B}),"guide"===P?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(tT,{$isActive:"guide"===B,onClick:()=>ChangeMissgoAIType("guide"),children:[(0,r.jsx)("div",{className:"text",children:"AI 경매 길잡이"}),(0,r.jsx)(tc.Z,{color:"guide"===B?"#FFF":"rgba(55, 56, 60, 0.61)"})]}),(0,r.jsxs)(tT,{$isActive:"guide-deep"===B,onClick:()=>ChangeMissgoAIType("guide-deep"),children:[(0,r.jsx)("div",{className:"text",children:"AI 권리분석 리포트"}),(0,r.jsx)(td.Z,{color:"guide-deep"===B?"#FFF":"rgba(55, 56, 60, 0.61)"})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(tT,{$isActive:"chat"===B,onClick:()=>ChangeMissgoAIType("chat"),children:[(0,r.jsx)("div",{className:"text",children:"AI 챗봇"}),(0,r.jsx)(ts.Z,{color:"chat"===B?"#FFF":"rgba(55, 56, 60, 0.61)"})]}),(0,r.jsxs)(tT,{$isActive:"chat-statute"===B,onClick:()=>ChangeMissgoAIType("chat-statute"),children:[(0,r.jsx)("div",{className:"text",children:"AI 법령 도우미"}),(0,r.jsx)(tp.Z,{color:"chat-statute"===B?"#FFF":"rgba(55, 56, 60, 0.61)"})]})]})]})}),(0,r.jsxs)(tA,{children:[(0,r.jsx)(tk,{$isBlurred:ev,style:{overflowY:ew?"auto":"hidden",overscrollBehavior:ew?"contain":"none"},$isGuide:ew,children:"guide"===B?(0,r.jsx)(components_MissgoAIGuide,{summaryData:null==eu?void 0:null===(t=eu.summary)||void 0===t?void 0:t.data,isAnimationEnabled:ej.current,isSuccess:ep===tj.SUCCESS}):"guide-deep"===B?(0,r.jsx)(components_MissgoAIGuideDeep,{isSuccess:ep===tj.SUCCESS,onOpenDeepTicketModal:()=>en(!0),autoAnalyzeTrigger:er}):"chat-statute"===B?(0,r.jsx)(components_MissgoAILawChatbot,{onOpenUserSubUpgradeModal:()=>Y(!0),onOpenPaymentModal:e=>Q(e),isMobilePopup:I}):(0,r.jsx)(components_MissgoAIChatbot,{onOpenUserSubUpgradeModal:()=>Y(!0),onOpenPaymentModal:e=>Q(e),isMobilePopup:I})}),e_&&(0,r.jsx)(tC,{children:renderOverlay({status:ep,userSubs:es,missgoAIType:B,setFreeTrialModalOpen:G,setGoSubsModalOpen:V,setUserLoginCheck:R,setIsOpenPaymentModal:Q,onOpenDeepTicketModal:()=>en(!0),onUseDeepTicket:()=>{E.invalidateQueries(["getDeepSummaryUsage",D]),el(e=>e+1)},deepRemain:(null!==(d=null==ea?void 0:ea.remain)&&void 0!==d?d:0)+(null!==(y=null==ea?void 0:ea.ticketCount)&&void 0!==y?y:0)})})]}),!(T.get("paymentKey")&&"guide-deep"===M)&&(0,r.jsx)(v.Z,{open:!!K,onClose:()=>Q(!1),selectedProductList:"upgrade"===K?[J||{}]:"ticket"===K?[q]:[],backUrl:window.location.pathname+window.location.search}),Z&&(0,r.jsx)(j.Z,{open:Z,onCloseView:()=>G(!1),contents:(0,r.jsx)(w.cZ,{title:"미스고 AI",description:"1일간 무료체험 진행하시겠습니까?"}),cancelText:"아니요",confirmText:"예",onClickSubmit:()=>{eo(void 0,{onSuccess:async()=>{await Promise.all([E.invalidateQueries({queryKey:["freeWhetherToUse"]}),E.invalidateQueries({queryKey:["getChatAvailableCount"]}),E.invalidateQueries({queryKey:["beforeChatLog"]}),E.invalidateQueries({queryKey:["summaryAuctionAI"]})])}}),G(!1)}}),F&&(0,r.jsx)(j.Z,{open:F,onCloseView:()=>V(!1),contents:(0,r.jsx)(w.cZ,{title:"AI 경매 길잡이",description:"VVIP Full 구독권을 구매하시겠습니까?"}),cancelText:"아니요",confirmText:"예",onClickSubmit:()=>S.push("/subscriptionInfo")}),H&&(0,r.jsx)(j.Z,{open:H,onCloseView:()=>U(!1),contents:(0,r.jsx)(w.cZ,{title:"미스고 AI",description:"AI 챗봇 구독권을 구매하시겠습니까?"}),cancelText:"아니요",confirmText:"예",onClickSubmit:()=>S.push("/subscriptionInfo")}
1),ee&&(0,r.jsx)(j.Z,{open:ee,onCloseView:()=>en(!1),width:"312px",contents:(0,r.jsxs)(tD,{children:[(0,r.jsx)("p",{className:"titleText",children:"AI 권리분석 리포트"}),(0,r.jsx)("div",{className:"ticketCountBox",children:(0,r.jsxs)("p",{className:"ticketCount",children:["보유 AI 권리분석 리포트 ",null!==(A=null==ea?void 0:ea.ticketCount)&&void 0!==A?A:0,"장"]})}),(0,r.jsx)("p",{className:"chargeWarningText",children:"AI 권리분석 리포트 이용권을 충전해주세요."})]}),cancelText:"취소",cancelStyle:tN,confirmStyle:tM,confirmText:"충전하기",onClickSubmit:()=>{en(!1),ei(!0)}}),(0,r.jsx)(O.Z,{open:et,onClose:()=>ei(!1),ticketCount:null!==(C=null==ea?void 0:ea.ticketCount)&&void 0!==C?C:0,onPaymentSuccess:()=>el(e=>e+1)}),W&&(0,r.jsx)(j.Z,{open:W,onCloseView:()=>Y(!1),contents:(0,r.jsx)(w.cZ,{title:"VVIP Full 구독권",description:"VVIP Full 업그레이드 시\n AI 챗봇을 매번 결제할 필요없이\n 매달 300회씩 자유롭게 이용하실 수 있습니다.\n 남은 구독 기간도 VVIP로\n 업그레이드 됩니다.\n\n 예) 기존 구독이 3개월 남았다면,\n 총 VVIP 15개월로 업그레이드"}),cancelText:"닫기",confirmText:"업그레이드",onClickSubmit:()=>Q("upgrade")})]})};let ty=d.ZP.div(MissgoAI_templateObject()),tA=d.ZP.div(MissgoAI_templateObject1()),tk=d.ZP.div(MissgoAI_templateObject2(),e=>e.$isGuide?"calc(100% - 75px)":"100%",e=>e.$isBlurred?"10px":"0px",e=>e.$isGuide?"calc(100% - 25px)":"100%"),tC=d.ZP.div(MissgoAI_templateObject3()),tP=d.ZP.div(MissgoAI_templateObject4()),tI=d.ZP.div(MissgoAI_templateObject5()),tS={guide:"#000","guide-deep":"#1B3A6B",chat:"#F6494B","chat-statute":"#F6A72D"},tE=d.ZP.div(MissgoAI_templateObject6(),e=>{let{$activeType:n}=e;return tS[n]},e=>{let{$isFirst:n}=e;return n?"translateX(0%)":"translateX(100%)"}),tT=d.ZP.button(MissgoAI_templateObject7(),e=>{let{$isActive:n}=e;return n?"#FFF":"rgba(55, 56, 60, 0.61)"}),tD=d.ZP.div(MissgoAI_templateObject8()),tN=(0,d.iv)(MissgoAI_templateObject9()),tM=(0,d.iv)(MissgoAI_templateObject10())},962:function(e,n,t){t.d(n,{m:function(){return useViewportHeight},u:function(){return useKeyboardHeight}});var i=t(2265);let useKeyboardHeight=()=>{let[e,n]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let e=window.visualViewport;if(!e)return;let handleResize=()=>{let t=window.innerHeight-e.height-e.offsetTop;n(t>0?t:0)};return e.addEventListener("resize",handleResize),e.addEventListener("scroll",handleResize),handleResize(),()=>{e.removeEventListener("resize",handleResize),e.removeEventListener("scroll",handleResize)}},[]),e},useViewportHeight=()=>{let[e,n]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let e=window.visualViewport,handleResize=()=>{n(e?e.height:window.innerHeight)};return handleResize(),e&&(e.addEventListener("resize",handleResize),e.addEventListener("scroll",handleResize)),window.addEventListener("resize",handleResize),()=>{e&&(e.removeEventListener("resize",handleResize),e.removeEventListener("scroll",handleResize)),window.removeEventListener("resize",handleResize)}},[]),e}}
1,82116:function(e,n){n.Z={src:"/_next/static/media/MagnifyingGlassIcon.1e712f79.png",height:201,width:200,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAzUlEQVR42mOAgbNnzngcP37cDMTOSAhnZEAGJ44fX7pp08Yz27Zuvb5/3/5KkNjWLVuYwZI3b9zw37d37ykQe8PaVbyHDh68t3/fAQkQ/9jRY4wMp0+etD944MDVq9fvsD56+MDwwP7959Pya5lACvbs2QuxatvWLU1A4+8A6curVq46P2XyNE2Q+IxpM5jg7pgxfboMkGJsb21zjYmK++/tGRAAl9y1cyczsqNtLG0LvD19v4WEREnABVetXMnY3d0N956utq6qmLgcCwDnvFZGSg54SwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},29849:function(e,n){n.Z={src:"/_next/static/media/etcIcon.b73f24c9.png",height:28,width:28,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAp0lEQVR42j2PMarCQABE92C5zueDeAhbDyEeQJFcwUZsRDsLCWslQkxjRMR15qmbYDXD8HgwwXYBxE8CfMNdd2VTBKDKg62UEpBB9XwMHY1ehvvtSt1Cc8uGDIXeR2oOrPctgxKGpTjWnSJk+f2CdmNGZWIbxXxjJisBdgB47qZSXLI9wd/sxf9CHM4SQABiao7o+RBAfRVNK4GxqUJ/swJ+/7pOBBdv5aHwsGkEL04AAAAASUVORK5CYII=",blurWidth:8,blurHeight:8}},42899:function(e){e.exports=JSON.parse('{"nm":"Loading","ddd":0,"h":500,"w":500,"meta":{"g":"@lottiefiles/toolkit-js 0.25.4"},"layers":[{"ty":4,"nm":"Shape Layer 3","sr":1,"st":-359.00001462237,"op":30.0000012219251,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":1,"k":[{"o":{"x":0.167,"y":0},"i":{"x":0.833,"y":1},"s":[454,266,0],"t":9,"ti":[0,0,0],"to":[0,-11,0]},{"o":{"x":0.167,"y":0},"i":{"x":0.833,"y":1},"s":[454,200,0],"t":13,"ti":[0,-11,0],"to":[0,0,0]},{"s":[454,266,0],"t":17.0000006924242}],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Ellipse 1","ix":1,"cix":2,"np":3,"it":[{"ty":"el","bm":0,"hd":false,"mn":"ADBE Vector Shape - Ellipse","nm":"Ellipse Path 1","d":1,"p":{"a":0,"k":[0,0],"ix":3},"s":{"a":0,"k":[45.137,45.137],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":1,"lj":1,"ml":4,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":8,"ix":5},"c":{"a":0,"k":[0.7372549019607844,0.7372549019607844,0.7372549019607844],"ix":3}},{"ty":"fl","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Fill","nm":"Fill 1","c":{"a":0,"k":[0.7372549019607844,0.7372549019607844,0.7372549019607844],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[-167.432,-17.432],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":2},{"ty":4,"nm":"Shape Layer 2","sr":1,"st":0,"op":30.0000012219251,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":1,"k":[{"o":{"x":0.167,"y":0},"i":{"x":0.833,"y":1},"s":[365,266,0],"t":4,"ti":[0,0,0],"to":[0,-11,0]},{"o":{"x":0.167,"y":0},"i":{"x":0.833,"y":1},"s":[365,200,0],"t":9,"ti":[0,-11,0],"to":[0,0,0]},{"s":[365,266,0],"t":13.0000005295009}],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Ellipse 1","ix":1,"cix":2,"np":3,"it":[{"ty":"el","bm":0,"hd":false,"mn":"ADBE Vector Shape - Ellipse","nm":"Ellipse Path 1","d":1,"p":{"a":0,"k":[0,0],"ix":3},"s":{"a":0,"k":[45.137,45.137],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":1,"lj":1,"ml":4,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":8,"ix":5},"c":{"a":0,"k":[0.7372549019607844,0.7372549019607844,0.7372549019607844],"ix":3}},{"ty":"fl","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Fill","nm":"Fill 1","c":{"a":0,"k":[0.7372549019607844,0.7372549019607844,0.7372549019607844],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[-167.432,-17.432],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":3},{"ty":4,"nm":"Shape Layer 1","sr":1,"st":0,"op":30.0000012219251,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":1,"k":[{"o":{"x":0.167,"y":0},"i":{"x":0.833,"y":1},"s":[277,266,0],"t":0,"ti":[0,0,0],"to":[0,-11,0]},{"o":{"x":0.167,"y":0},"i":{"x":0.833,"y":1},"s":[277,200,0],"t":4,"ti":[0,-11,0],"to":[0,0,0]},{"s":[277,266,0],"t":9.00000036657752}],"ix":2},"r":{"a":0,"k":0,"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Ellipse 1","ix":1,"cix":2,"np":3,"it":[{"ty":"el","bm":0,"hd":false,"mn":"ADBE Vector Shape - Ellipse","nm":"Ellipse Path 1","d":1,"p":{"a":0,"k":[0,0],"ix":3},"s":{"a":0,"k":[45.137,45.137],"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":1,"lj":1,"ml":4,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":8,"ix":5},"c":{"a":0,"k":[0.7372549019607844,0.7372549019607844,0.7372549019607844],"ix":3}},{"ty":"fl","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Fill","nm":"Fill 1","c":{"a":0,"k":[0.7372549019607844,0.7372549019607844,0.7372549019607844],"ix":4},"r":1,"o":{"a":0,"k":100,"ix":5}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[-167.432,-17.432],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]}],"ind":4}],"v":"5.7.8","fr":29.9700012207031,"op":30.0000012219251,"ip":0,"assets":[]}')}}]);

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.