PageSourceSearch

https://www.missgoauction.com/_next/static/chunks/8350-b5d6dbf5eaa6a147.js

js missgoauction.com collected 2026-10-01 14:27:35 UTC 86,767 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8350],{70886:function(e,n,t){t.d(n,{y:function(){return useAuctionType}});var r=t(24033);let useAuctionType=()=>{let e=(0,r.useSearchParams)(),n=(0,r.usePathname)(),t=e.toString();return n.includes("/detail/auctionDetail")?"auction":n.includes("/detail/publicAuctionDetail")||n.includes("/pdf/onbid")?"public":"publicAuction"===e.get("main")&&"auctionDetail"===e.get("sub")?"auction":(null==t?void 0:t.includes("publicAuctionDetail"))||(null==t?void 0:t.includes("publicAuction"))?"public":"auction"}},3405:function(e,n,t){t.d(n,{i:function(){return r}});let r={useGetSummaryBaseInfo:"AuctionDetailV2Key.query.useGetSummaryBaseInfo",useGetDueList:"AuctionDetailV2Key.mutation.useGetDueList",useGetRightRiskInfo:"AuctionDetailV2Key.mutation.useGetRightRiskInfo",useGetRiskTag:"AuctionDetailV2Key.mutation.useGetRiskTag",useGetLesseeInfo:"AuctionDetailV2Key.mutation.useGetLesseeInfo",useGetSaleExample:"AuctionDetailV2Key.mutation.useGetSaleExample",useGetDocumentDeliveryList:"AuctionDetailV2Key.mutation.useGetDocumentDeliveryList",useGetRealPrice:"AuctionDetailV2Key.mutation.useGetRealPrice",useGetNearRealPrice:"AuctionDetailV2Key.query.useGetNearRealPrice",useGetDividendInfo:"AuctionDetailV2Key.query.useGetDividendInfo",useGetInfraInfo:"AuctionDetailV2Key.query.useGetInfraInfo",useGetSaleItemsList:"AuctionDetailV2Key.query.useGetSaleItemsList",useGetItemDocument:"AuctionDetailV2Key.query.useGetItemDocument",useGetEstimatedSalePrice:"AuctionDetailV2Key.query.useGetEstimatedSalePrice",useGetEstimatedSalePriceV2:"AuctionDetailV2Key.query.useGetEstimatedSalePriceV2",useGetItemRank:"AuctionDetailV2Key.query.useGetItemRank",useGetAIInsight:"AuctionDetailV2Key.query.useGetAIInsight",useGetTitleLandInfo:"AuctionDetailV2Key.query.useGetTitleLandInfo",useGetDetailVersion:"AuctionDetailV2Key.query.useGetDetailVersion",useGetDistributionOrder:"AuctionDetailV2Key.mutation.useGetDistributionOrder",useGetExpectGuess:"AuctionDetailV2Key.query.useGetExpectGuess",useGetDeungiHistory:"AuctionDetailV2Key.query.useGetDeungiHistory",useGetExpectGuessResult:"AuctionDetailV2Key.query.useGetExpectGuessResult",useGetOnbidReportPdf:"AuctionDetailV2Key.query.useGetOnbidReportPdf",useGetOnbidReportStreamStatus:"AuctionDetailV2Key.query.useGetOnbidReportStreamStatus",useGetNearbySummary:"AuctionDetailV2Key.query.useGetNearbySummary",useGetSaleCases:"AuctionDetailV2Key.query.useGetSaleCases",usePostMemo:"AuctionDetailV2Key.mutation.usePostMemo",usePostExpectGuessAlarm:"AuctionDetailV2Key.mutation.usePostExpectGuessAlarm",usePostOnbidReportPdf:"AuctionDetailV2Key.mutation.usePostOnbidReportPdf",usePostOnbidReportPdfStream:"AuctionDetailV2Key.mutation.usePostOnbidReportPdfStream",usePutDetailVersion:"AuctionDetailV2Key.mutation.usePutDetailVersion",useDeleteMemo:"AuctionDetailV2Key.mutation.useDeleteMemo"}},63217:function(e,n,t){var r=t(60230),i=t(57437),a=t(2071);t(2265);var l=t(55883),o=t(56636),c=t(5096);function _templateObject(){let e=(0,r._)(["\n    display: flex;\n    flex-direction: column;\n    justify-content: center;
1\n    align-items: center;\n    font-size: 10px;\n    background: #2275ee;\n    border-radius: 8px;\n    color: #ffffff;\n    border: none;\n    padding: 0;\n    width: 48px;\n    height: 48px;\n    cursor: pointer;\n    position: fixed;\n    z-index: 1;\n    box-shadow: 1px 2px 2px 0px #0000005c;\n\n    ","\n\n    @media screen and (max-width: 768px) {\n        display: none;\n    }\n"]);return _templateObject=function(){return e},e}n.Z=e=>{let{addStyles:n}=e,[t,r]=(0,l.FV)(c.Zh);return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(s,{$addStyle:n,onClick:e=>{e.stopPropagation(),r(e=>!e)},children:[(0,i.jsx)(a.Z,{}),(0,i.jsx)("p",{children:t?"닫기":"열기"})]})})};let s=o.ZP.button(_templateObject(),e=>e.$addStyle)},7019:function(e,n,t){t.d(n,{C:function(){return d}});var r=t(60230),i=t(57437),a=t(42714),l=t(2265),o=t(55883),c=t(56636),s=t(5096),u=t(1763),p=t(61739);function _templateObject(){let e=(0,r._)(["\n    background-color: #ffffff;\n    padding: ",";\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n    display: flex;\n    align-items: center;\n    gap: 6px;\n\n    @media screen and (max-width: 768px) {\n        margin-top: 14px;\n    }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n    display: flex;\n    align-items: center;\n    padding-top: 14px;\n    span {\n        margin: 0 7px;\n        padding: 0px 7px;\n        font-size: 18px;\n        line-height: 25px;\n        letter-spacing: 0px;\n        color: #a3a3a3;\n    }\n    input {\n        height: 48px;\n        flex: 1;\n        width: 113px;\n        left: 16px;\n        top: 0px;\n        border-radius: 8px;\n        background: #fbf8f8;\n        border: none;\n        padding: 0px 13px;\n        box-sizing: border-box;\n    }\n    input::placeholder {\n        height: 24px;\n        width: 27px;\n        left: 13px;\n        top: 14px;\n    }\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,r._)(["\n    display: flex;\n    width: 100%;\n    justify-content: space-between;\n    align-items: center;\n    ",";\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,r._)(["\n    display: flex;\n    justify-content: center;
1\n    align-items: center;\n    padding: 8px 12px;\n    box-sizing: border-box;\n    max-height: 48px;\n    border-radius: 999px;\n    background-color: ",";\n    color: ",";\n    text-align: center;\n    font-size: 16px;\n    cursor: pointer;\n\n    font-size: 13px;\n    font-weight: 700;\n\n    @media screen and (max-width: 768px) {\n        font-size: 14px;\n    }\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,r._)(["\n    display: inline-block;\n    width: fit-content;\n    padding: 8px 10px;\n    border-radius: 20px;\n    background-color: #f0f0f0;\n    background-color: ",";\n    color: ",";\n    text-align: center;\n    font-size: 14px;\n    white-space: noWrap;\n    font-weight: 400;\n    cursor: pointer;\n\n    &:hover {\n        background-color: ",";\n    }\n\n    @media screen and (max-width: 768px) {\n        font-size: 14px;\n        padding: 6px 12px;\n    }\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,r._)(["\n    display: flex;\n    justify-content: space-between;\n    gap: 12px;\n    margin-top: 30px;\n\n    button {\n        width: 100%;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        height: 40px;\n        border-radius: 14px;\n        padding: 14px;\n        background-color: #c3c3c3;\n        box-sizing: border-box;\n        font-size: 18px;\n        color: #ffffff;\n        line-height: 28px;\n        cursor: pointer;\n    }\n    button.active {\n        background-color: ",";\n    }\n"]);return _templateObject6=function(){return e},e}let d=["전체","신건","유찰"];n.Z=e=>{let{out:n=!0,isMainFilter:t=!1}=e,[r,c]=(0,o.FV)(s.z5),[u,j]=(0,l.useState)(r.skp_cnt),onChangeRange=(e,n)=>{let t=e.target.value;if(isNaN(Number(t)))return;let i=0===n?[t,r.skp_cnt[1]]:[r.skp_cnt[0],t];j([...i])},onClickSkipType=e=>{if(n)1===e?(c(e=>({...e,skp_type:1,skp_cnt:["",""]})),j(["",""])):2===e?(c(e=>({...e,skp_type:2,skp_cnt:["1",""]})),j(["1",""])):(c(e=>({...e,skp_type:0,skp_cnt:["",""]})),j(["",""]));else{if(0!==r.skp_type&&e!==r.skp_type){c(e=>({...e,skp_type:0,skp_cnt:["",""]})),j(["",""]);return}1===e?(c(e=>({...e,skp_type:2,skp_cnt:["1",""]})),j(["1",""])):(c(e=>({...e,skp_type:1,skp_cnt:["",""]})),j(["",""]))}},onSubmitSkipRange=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u;c({...r,skp_cnt:e})},onKeyDownEvent=e=>{("Enter"===e.code||"NumpadEnter"===e.code)&&onSubmitSkipRange()},onBlurEvent=(e,n)=>{let t=e.target.value;1>Number(t)&&0===n?(j(["1",u[1]]),onSubmitSkipRange(["1",u[1]])):Number(t)<Number(u[0])&&1===n?(j([u[0],u[0]]),onSubmitSkipRange([u[0],u[0]])):Number(t)>Number(u[1])&&0===n?(j([t,t]),onSubmitSkipRange([t,t])):onSubmitSkipRange()},v=(0,a.Z)("(max-width: 768px)"),[,_]=(0,o.FV)(s.XQ);return(0,i.jsxs)(x,{$isNotPartOfMainFilter:n,children:[(0,i.jsx)(h,{$isNotPartOfMainFilter:n,children:n?(0,i.jsx)(p.Z,{title:"유찰횟수",out:!v,refresh:!0,resetFn:()=>{c(e=>({...e,skp_type:0,skp_cnt:["",""]}))}}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(p.Z,{title:"유찰횟수",out:n})})}),(0,i.jsx)(f,{$isNotPartOfMainFilter:n,children:d.map(e=>{let t=d.findIndex(n=>n===e);return(0,i.jsx)(b,{$active:n?0===t?0===r.skp_type:r.skp_type===t:0===r.skp_type||r.skp_type===t,onClick:()=>onClickSkipType(t),children:e},e)})}),2===r.skp_type&&(0,i.jsxs)(m,{children:[(0,i.jsx)("input",{onChange:e=>onChangeRange(e,0),name:"minCount",value:u[0],maxLength:3,placeholder:"최소",onBlur:e=>{onBlurEvent(e,0)},onKeyDown:onKeyDownEvent}),(0,i.jsx)("span",{children:"~"}),(0,i.jsx)("input",{onChange:e=>onChangeRange(e,1),name:"maxCount",value:u[1],placeholder:"최대",maxLength:3,onBlur:e=>{onBlurEvent(e,1)},onKeyDown:onKeyDownEvent})]}),v&&t&&(0,i.jsx)(g,{children:(0,i.jsx)("button",{className:"active",onClick:()=>{_("")},children:"적용하기"})})]})};let x=c.ZP.div(_templateObject(),e=>e.$isNotPartOfMainFilter?"14px":"12px 0"),f=c.ZP.div(_templateObject1()),m=c.ZP.div(_templateObject2()),h=c.ZP.div(_templateObject3(),e=>!e.$isNotPartOfMainFilter&&{marginBottom:"16px"}
1),b=c.ZP.button(_templateObject4(),e=>e.$active?u.G.colors.aucMarkerColor:"#F0F0F0",e=>e.$active?"#ffffff":"#505050");c.ZP.button(_templateObject5(),e=>e.$active?u.G.colors.aucMarkerColor:"#F0F0F0",e=>e.$active?"#ffffff":"#0c002c",e=>e.$active?"":"#fff38a");let g=c.ZP.div(_templateObject6(),u.G.colors.aucMarkerColor)},72844:function(e,n,t){t.d(n,{Z:function(){return filter_AuctionStatusFilterPopup}});var r=t(60230),i=t(57437),a=t(16691),l=t.n(a),o=t(2265),c=t(56636),s=t(1763),u=t(48944),p={src:"/_next/static/media/redCurlyArrowIcon.b5aeaeba.svg",height:63,width:59,blurWidth:0,blurHeight:0};function _templateObject(){let e=(0,r._)(["\n    position: absolute;\n    transition:\n        opacity 1s ease-out,\n        visibility 1s ease-out;\n\n    &.fading {\n        opacity: 0;\n        visibility: hidden;\n    }\n\n    @media screen and (max-width: 768px) {\n        display: none;\n    }\n\n    .popupContent {\n        background-color: #ffffff;\n        padding: 14px;\n        border-radius: 14px;\n        border: 1px solid ",";\n        box-shadow: 2px 2px 6px 0px #04000e24;\n        font-size: 13px;\n        line-height: 20px;\n        display: flex;\n        gap: 10px;\n        margin-left: 36px;\n        min-width: max-content;\n        align-items: center;\n        button {\n            cursor: pointer;\n        }\n    }\n"]);return _templateObject=function(){return e},e}var filter_AuctionStatusFilterPopup=e=>{let{popupPosition:n,closePopup:t}=e,[r,a]=(0,o.useState)(!1),[c,s]=(0,o.useState)(!1),x=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let e=setTimeout(()=>{a(!0)},5e3);return()=>{clearTimeout(e)}},[]),(0,i.jsxs)(d,{ref:x,style:{top:"".concat(n.top,"px"),left:"".concat(n.left,"px")},className:r?"fading":"",onTransitionEnd:()=>{r&&t()},children:[(0,i.jsx)(l(),{src:p,alt:"curlyArrow"}),(0,i.jsxs)("div",{className:"popupContent",children:[(0,i.jsxs)("div",{children:["매각 클릭 시, 매각된 물건을 ",(0,i.jsx)("br",{}),"볼 수 있어요."]}),(0,i.jsx)("button",{type:"button",onClick:t,children:(0,i.jsx)(l(),{src:u.Z,alt:"deletePopup",width:16,height:16})})]})]})};let d=c.ZP.div(_templateObject(),s.G.colors.notiColor)},81503:function(e,n,t){var r=t(60230),i=t(57437),a=t(42714),l=t(95729),o=t(47453),c=t(20445),s=t(2265),u=t(8044);t(27230),t(63018);var p=t(55883),d=t(56636),x=t(5096),f=t(34010),m=t(93172),h=t(91796),b=t(1763),g=t(61739);function _templateObject(){let e=(0,r._)(["\n    padding: ",";\n    background-color: #ffffff;\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n                        background-image: linear-gradient(to right, white 50%, #dff0ff 50%);\n                    "]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n                        background-image: none;\n                        background: none;\n                    "]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,r._)(["\n                        background-image: linear-gradient(to right, #dff0ff 50%, white 50%);\n                    "]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,r._)(["\n                        background: none;\n                        background-image: none;\n                    "]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,r._)(["\n                    background-color: white !important;\n                "]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,r._)(["\n                    background: url(",");\n                "]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,r._)(["\n                        background: url(",");\n                    "]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,r._)(["\n                    background: url(",");\n                "]);return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,r._)(["\n    width: 100%;\n    .rdrMonth {\n        box-sizing: border-box;\n        width: 100%;\n        padding: 0;\n    }\n\n    .rdrDayHovered {\n        border: none !important;\n    }\n    .rdrDayEndPreview.rdrDayStartPreview {\n        display: none !important;\n    }\n\n    .rdrDayStartPreview {\n        display: none !important;\n    }\n\n    .rdrDayEndPreview {\n        display: none !important;\n    }\n\n    .rdrDayInPreview {\n        display: none !important;\n    }\n\n    .rdrDayDisabled {\n        background-color: rgba(248, 248, 248, 0.3);\n        opacity: 0.3;\n        .rdrDayNumber span {\n            color: black;\n        }\n    }\n    .rdrStartEdge {\n        background: ",";\n        height: 28px;\n        width: 28px;\n        z-index: 1;\n        border-radius: 24px;\n        & + .rdrDayNumber,\n        & + span + .rdrDayNumber {\n            width: 100%;\n            ","\n\n            span {\n                z-index: 2;\n                font-weight: 400;\n                color: blue;\n            }\n        }\n\n        .rdrDayActive {\n            display: none;\n        }\n    }\n\n    .rdrStartEdge.rdrEndEdge {\n        background: ",";\n        height: 28px;\n        width: 28px;\n        z-index: 1;\n        border-radius: 24px;\n\n        & + .rdrDayNumber,\n        & + span + .rdrDayNumber {\n            span {\n                z-index: 2;\n                font-weight: 400;\n                color: white;\n            }\n        }\n\n        .rdrDayActive {\n            display: none;\n        }\n    }\n\n    .rdrEndEdge {\n        background: ",";\n        height: 28px;\n        width: 28px;\n        border-radius: 24px;\n        z-index: 1;\n\n        & + .rdrDayNumber,\n        & + span + .rdrDayNumber {\n            background: #dff0ff;\n\n            ","\n            span {\n                z-index: 2;\n                color: white;\n            }\n        }\n    }\n\n    .rdrDayNumber {\n        span {\n            font-size: 14px;\n            line-height: 24px;\n            font-weight: 400;\n            text-align: center;\n            color: black;\n            z-index: 1;\n        }\n    }\n    .rdrInRange {\n        box-sizing: border-box;\n    }\n\n    .rdrInRange {\n        ",";\n    }\n    .rdrInRange:first-of-type {\n        background-color: #dff0ff;\n    }\n\n    .rdrDayToday:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span:after {\n        background: none;\n    }\n\n    .rdrDayToday:not(.rdrDayPassive) .rdrStartEdge ~ .rdrDayNumber span:after {\n        background: none;\n    }\n\n    .rdrDayToday:not(.rdrDayPassive) .rdrDayNumber span:after {\n        background: none;\n    }\n\n    .rdrDay:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span {\n        color: black;\n    }\n\n    .rdrDateDisplayWrapper {\n        display: none;\n    }\n\n    .rdrMonthAndYearPickers {\n        flex: none;\n        .rdrMonthPicker {\n            display: none;\n        }\n\n        .rdrYearPicker {\n            display: none;\n        }\n    }\n\n    .rdrMonthAndYearPickers::before {\n        content: ",";\n        font-size: 18px;\n        line-height: 28px;\n        text-align: center;\n    }\n\n    .rdrMonthAndYearWrapper {\n        justify-content: center;\n        padding-top: 0 !important;\n\n        .rdrNextPrevButton.rdrPprevButton {\n            ",";\n            background-repeat: no-repeat;\n            width: 17px;\n            height: 20px;\n            margin-right: 20px;\n            i {\n                display: none;\n            }\n        }\n\n        .rdrNextPrevButton.rdrNextButton {\n            ",";\n            background-repeat: no-repeat;\n            width: 17px;\n            height: 20px;\n            margin-left: 20px;\n            i {\n                display: none;\n            }\n        }\n    }\n\n    .rdrDayPassive {\n        opacity: 0.3;\n    }\n\n    .rdrDay {\n        display: flex;\n        justify-content: center;\n        align-items: center;\n    }\n\n    .rdrEndEdge {\n        position: initial;\n    }\n\n    .rdrStartEdge {\n        position: initial;\n    }\n\n    .rdrStartEdge.rdrEndEdge + .rdrDayNumber {\n        background: none !important;\n        background-image: none !important;\n    }\n\n    .rdrDayStartPreview + .rdrDayNumber {\n        background: none !important;\n        background-image: none !important;\n    }\n\n    .rdrDayEndPreview + .rdrDayNumber {\n        background: none !important;\n        background-image: none !important;\n    }\n\n    @media screen and (max-width: 768px) {\n        .rdrMonthAndYearPickers::before {\n            font-size: 14px;\n        }\n        .rdrDayNumber {\n            span {\n                font-size: 13px;\n            }\n        }\n    }\n"]);
1return _templateObject9=function(){return e},e}function _templateObject10(){let e=(0,r._)(["\n    display: flex;\n    justify-content: space-between;\n    margin-top: 30px;\n    gap: 12px;\n\n    button {\n        width: 100%;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        border-radius: 14px;\n        padding: 10px 16px;\n        background-color: #c3c3c3;\n        box-sizing: border-box;\n        font-size: 16px;\n        color: #ffffff;\n        line-height: 28px;\n        cursor: pointer;\n    }\n    button.active {\n        background-color: ",";\n    }\n"]);return _templateObject10=function(){return e},e}n.Z=e=>{let{out:n=!0,isMainFilter:t=!1}=e,[r,u]=(0,p.FV)(x.z5),[d,f]=(0,s.useState)((0,o.default)(new Date,"yyyy년 MM월")),[m,h]=(0,s.useState)([{startDate:r.due_date[0]?new Date(r.due_date[0]):null,endDate:r.due_date[1]?new Date(r.due_date[1]):null,key:"selection"}]),changeDate=e=>{if(e&&e.startDate&&e.endDate){let n=e.startDate&&(0,o.default)(e.startDate,"yyyy-MM-dd"),t=e.endDate&&(0,o.default)(e.endDate,"yyyy-MM-dd");u({...r,due_date:[n,t]});let i=(0,o.default)(e.startDate,"yyyy년 MM월");f(i)}},b=(0,a.Z)("(max-width: 768px)"),[,y]=(0,p.FV)(x.XQ);return(0,i.jsxs)(j,{$isNotPartOfMainFilter:n,children:[(0,i.jsx)(g.Z,{title:"매각기일",out:!b,resetFn:()=>{h([{startDate:null,endDate:null,key:"selection"}]),u({...r,due_date:["",""]})},refresh:!0}),(0,i.jsx)(v,{monthState:d,editableDateInputs:!0,onShownDateChange:e=>{let n=new Date(e),t=(0,o.default)(n,"yyyy년 MM월");f(t)},onChange:e=>{null===e.selection.startDate&&null!==e.selection.endDate&&(e.selection.startDate=e.selection.endDate),h([e.selection]),changeDate(e.selection)},moveRangeOnFirstSelection:!1,ranges:m,locale:c.Z,maxDate:(0,l.Z)(new Date,{years:1})}),b&&t&&(0,i.jsx)(_,{children:(0,i.jsx)("button",{className:"active",onClick:()=>{y("")},children:"적용하기"})})]})};let j=d.zo.div(_templateObject(),e=>e.$isNotPartOfMainFilter?"14px":"12px 0"),v=(0,d.zo)(u.C0)(_templateObject9(),b.G.colors.aucMarkerColor,e=>{let{ranges:n}=e;return n[0].endDate!==n[0].startDate?(0,d.iv)(_templateObject1()):n[0].endDate===n[0].startDate?(0,d.iv)(_templateObject2()):void 0},b.G.colors.aucMarkerColor,b.G.colors.aucMarkerColor,e=>{let{ranges:n}=e;return n[0].endDate!==n[0].startDate?(0,d.iv)(_templateObject3()):n[0].endDate===n[0].startDate?(0,d.iv)(_templateObject4()):void 0},e=>{let{ranges:n}=e;if(null===n[0].endDate&&null===n[0].startDate)return(0,d.iv)(_templateObject5())},e=>{let{monthState:n}=e;return'"'.concat(n,'"')},e=>{var n,t,r,i;let{monthState:a}=e;return new Date().getMonth(),new Date().getFullYear(),null===(t=a.split(" "))||void 0===t||null===(n=t[1])||void 0===n||n.slice(0,-1),null===(i=a.split(" "))||void 0===i||null===(r=i[0])||void 0===r||r.slice(0,-1),(0,d.iv)(_templateObject6(),f.Z.src)},e=>{var n,t,r,i,a,o;let{monthState:c}=e,s=(0,l.Z)(new Date,{years:1}).getMonth()+1,u=(0,l.Z)(new Date,{years:1}).getFullYear(),p=Number(null!==(a=null===(t=c.split(" "))||void 0===t?void 0:null===(n=t[1])||void 0===n?void 0:n.slice(0,-1))&&void 0!==a?a:""),x=Number(null!==(o=null===(i=c.split(" "))||void 0===i?void 0:null===(r=i[0])||void 0===r?void 0:r.slice(0,-1))&&void 0!==o?o:"");return p===s&&u===x?(0,d.iv)(_templateObject7(),m.Z.src):((0,l.Z)(new Date,{years:1}),(0,d.iv)(_templateObject8(),h.Z.src))}),_=d.zo.div(_templateObject10(),b.G.colors.aucMarkerColor)},22795:function(e,n,t){var r=t(60230),i=t(57437),a=t(42714);t(2265);var l=t(55883),o=t(56636),c=t(5096),s=t(1763),u=t(32642),p=t(61739);function _templateObject(){let e=(0,r._)(["\n    padding: ",";\n    background-color: #ffffff;\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n                .selected.start::before {\n                    content: '';\n                    position: absolute;\n                    right: 0;\n                    width: 50%;\n                    height: 100%;\n                    z-index: -99;\n                    background: transparent;\n                    background-color: #dff0ff;\n                }\n                .selected.end::before {\n                    content: '';\n                    position: absolute;\n                    left: 0;\n                    width: 50%;\n                    height: 100%;\n                    z-index: -99;\n                    background: transparent;\n                    background-color: #dff0ff;\n                }\n            "]);
1return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n    ",";\n    display: grid;\n    grid-template-columns: repeat(6, 1fr);\n\n    @media screen and (max-width: 768px) {\n        padding: 10px 14px;\n        row-gap: 3px;\n        margin-top: 0;\n    }\n\n    .wrapper {\n        position: relative;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        height: 40px;\n        span {\n            font-size: 14px;\n            white-space: nowrap;\n        }\n        border-radius: 24px;\n        cursor: pointer;\n        &:hover {\n            background-color: #fff38a;\n        }\n        .selected.start,\n        .selected.end {\n            z-index: 1;\n            height: 100%;\n            width: 100%;\n            border-radius: 24px;\n            & + span {\n                position: absolute;\n                display: flex;\n                justify-content: center;\n                align-items: center;\n                height: 100%;\n                width: 100%;\n                border-radius: 24px;\n                background: ",";\n                color: white;\n                font-size: 14px;\n            }\n        }\n        ","\n        .range {\n            position: absolute;\n            z-index: 1;\n            width: 100%;\n            height: 100%;\n            background: #dff0ff;\n        }\n        span {\n            z-index: 2;\n        }\n\n        @media screen and (max-width: 768px) {\n            height: 30px;\n            span {\n                font-size: 14px;\n            }\n\n            .selected.start,\n            .selected.end {\n                & + span {\n                    font-size: 14px;\n                }\n            }\n        }\n    }\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,r._)(["\n    display: flex;\n    justify-content: space-between;\n    gap: 12px;\n\n    button {\n        width: 100%;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        border-radius: 14px;\n        padding: 10px 16px;\n        background-color: #c3c3c3;\n        box-sizing: border-box;\n        font-size: 16px;\n        color: #ffffff;\n        line-height: 28px;\n        cursor: pointer;\n    }\n    button.active {\n        background-color: ",";\n    }\n"]);return _templateObject3=function(){return e},e}n.Z=e=>{let{out:n=!0,isMainFilter:t=!1}=e,[r,o]=(0,l.FV)(c.z5),getClassName=(e,n)=>{let t=Number(r.est_price[0]),i=Number(r.est_price[1]),a=Number(e);return"전체"===n&&r.est_price.every(e=>!e)?"selected start":"30000000000"===r.est_price[0]&&"higher"===e||a===i&&r.est_price[1]?"selected end":r.est_price.every(e=>e)&&"30000000000"!==r.est_price[0]&&a>t&&a<i?"range":""!==r.est_price[0]&&"30000000000"!==r.est_price[0]&&t===a?"selected start":""},onClickValue=(e,n)=>"전체"===n?o({...r,est_price:["",""]}):"higher"===e?o({...r,est_price:["30000000000",""]}):r.est_price.every(e=>!e)||"30000000000"===r.est_price[0]?o({...r,est_price:["",e]}):!r.est_price[0]&&Number(r.est_price[1])>Number(e)?o({...r,est_price:[e,r.est_price[1]]}):!r.est_price[0]&&Number(r.est_price[1])<Number(e)?o({...r,est_price:[r.est_price[1],e]}):void(r.est_price.every(e=>e)&&o({...r,est_price:["",e]})),[,s]=(0,l.FV)(c.XQ),m=(0,a.Z)("(max-width: 768px)");return(0,i.jsxs)(d,{$isNotPartOfMainFilter:n,children:[n?(0,i.jsx)(p.Z,{title:"감정가",out:!m,refresh:!0,resetFn:()=>onClickValue("","전체")}):(0,i.jsx)(p.Z,{title:"감정가",out:n}),(0,i.jsx)(x,{$isRange:r.est_price.every(e=>e),$isNotPartOfMainFilter:n,children:u.C.map(e=>(0,i.jsxs)("div",{className:"wrapper",onClick:()=>onClickValue(e.value,e.title),children:[(0,i.jsx)("div",{className:getClassName(e.value,e.title)}),(0,i.jsx)("span",{children:e.title})]},e.value))}),m&&t&&(0,i.jsx)(f,{children:(0,i.jsx)("button",{className:"active",onClick:()=>{s("")},children:"적용하기"})})]})};let d=o.zo.div(_templateObject(),e=>e.$isNotPartOfMainFilter?"14px":"12px 0"),x=o.zo.div(_templateObject2(),e=>{let{$isNotPartOfMainFilter:n}=e;return!n&&{marginTop:"16px"}},s.G.colors.aucMarkerColor,e=>
1e.$isRange&&(0,o.iv)(_templateObject1())),f=o.zo.div(_templateObject3(),s.G.colors.aucMarkerColor)},58767:function(e,n,t){t.d(n,{Z:function(){return filter_FilterHistory}});var r=t(60230),i=t(57437),a=t(42714),l=t(16691),o=t.n(l),c=t(2265),s=t(55883),u=t(56636),p=t(29745),d=t(5096),x=t(85487),f=t(1763),m=t(57880),h=t(24033),b=t(27227),g=t(43907),j=t(8323),v=t(44271);function _templateObject(){let e=(0,r._)(["\n    display: flex;\n    flex-wrap: wrap;\n    gap: 8px;\n    padding: 12px 14px 0;\n\n    span {\n        display: inline-flex;\n        align-items: center;\n        height: 20px;\n        padding: 0 8px;\n        border-radius: 100px;\n        background: #f6faff;\n        color: #2275ee;\n        font-size: 14px;\n        font-weight: 500;\n    }\n\n    .empty {\n        background: #f4f4f6;\n        color: #8a8798;\n    }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n    background-color: #ffffff;\n    padding: 8px 14px;\n    display: flex;\n    flex-direction: column;\n    box-sizing: border-box;\n    height: max-content;\n\n    .row {\n        display: flex;\n        align-items: flex-start;\n        padding: 6px 0;\n        border-bottom: 1px solid rgba(215, 215, 215);\n        position: relative;\n        gap: 6px;\n\n        p {\n            font-size: 14px;\n            display: flex;\n            align-items: center;\n        }\n\n        .borderBox {\n            width: 100%;\n            height: 100%;\n            position: absolute;\n            .border {\n                width: 100%;\n                height: 1px;\n                background: rgba(215, 215, 215);\n                position: absolute;\n            }\n        }\n\n        .title {\n            width: 70px;\n            flex-shrink: 0;\n            font-weight: 700;\n            height: 20px;\n        }\n        .content {\n            flex: 1;\n            font-weight: 500;\n            flex-wrap: wrap;\n            gap: 6px;\n            row-gap: 12px;\n\n            span {\n                flex-shrink: 0;\n                display: inline-flex;\n                border-radius: 100px;\n                height: 20px;\n                align-items: center;\n                padding: 0 8px;\n                background: #f6faff;\n                color: #0c002c;\n            }\n        }\n    }\n"]);return _templateObject1=function(){return e},e}let summarizeList=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,t=(null!=e?e:[]).filter(e=>e&&"전체"!==e);if(0===t.length)return null;let r=t.slice(0,n).join("\xb7"),i=t.length-n;return i>0?"".concat(r," 외 ").concat(i):r};var filter_NewSelectedFilterList=e=>{var n;let{value:t,hash:r,more:a}=e,[l,o]=(0,c.useState)(""),[s,u]=(0,c.useState)([]),[p,d]=(0,c.useState)(""),[x,f]=(0,c.useState)("전체"),[m,h]=(0,c.useState)([]),[b,g]=(0,c.useState)([]),[j,k]=(0,c.useState)(""),[O,w]=(0,c.useState)([]),[N,D]=(0,c.useState)([]),[z,P]=(0,c.useState)([]),[Z,G]=(0,c.useState)([]),[C,S]=(0,c.useState)("전체"),[F,T]=(0,c.useState)("전체"),[M,$]=(0,c.useState)("전체"),V=(0,c.useRef)(null),[A,L]=(0,c.useState)([]),E=(0,c.useRef)(null),[R,B]=(0,c.useState)([]),I=(0,c.useRef)(null),[H,K]=(0,c.useState)([]),q=(0,c.useRef)(null),[Q,X]=(0,c.useState)([]);function makeBorderLine(e,n){let t=[],r=e.clientHeight/32;for(let e=0;e<r;e++){let n=32*(e+1);t.push("".concat(n-6,"px"))}n(t)}(0,c.useEffect)(()=>{V.current&&makeBorderLine(V.current,L),E.current&&makeBorderLine(E.current,B),I.current&&makeBorderLine(I.current,K),q.current&&makeBorderLine(q.current,X)},[V,E,I,q,a]);let settingLocText=async()=>{if(t.loc[0]){let e=await (0,v.dV)(t.loc[0]);f(e.name)}
1};function listToSpan(e){let n=null==e?void 0:e.map((e,n)=>(0,i.jsx)("span",{children:e},"".concat(n).concat(r)));return n}(0,c.useEffect)(()=>{if(t){var e;let n,r,i,a,l,c,s,p,x,f;n=(0,v.PG)(t.type),r=(0,v.k4)(t.sales_method),i=(0,v.KX)(t.assets),a=(0,v.H0)(t.use),l=(0,v.mg)(t.auction_master_item),c=(0,v.ck)(t.status),s=(0,v.vQ)(t.skp_type,t.skp_cnt),p=(0,v.VI)(t.due_date),x=(0,v.TS)(t.est_price),f=(0,v.TS)(t.min_price),o(n),d(r),u(i),settingLocText(),h(a),D(l),P(c),G(s),S(p),T(x),$(f),g(null!==(e=t.zoning)&&void 0!==e?e:[]),t.conter_force?k((0,v.Bs)(t.conter_force)):w((0,v.U_)(t.counter_force_list))}},[t]);let U=null==A?void 0:A.map((e,n)=>(0,i.jsx)("div",{className:"border",style:{top:e}},"useBorder".concat(n))),W=null==R?void 0:R.map((e,n)=>(0,i.jsx)("div",{className:"border",style:{top:e}},"expertBorder".concat(n))),Y=null==H?void 0:H.map((e,n)=>(0,i.jsx)("div",{className:"border",style:{top:e}},"statusBorder".concat(n))),J=null==Q?void 0:Q.map((e,n)=>(0,i.jsx)("div",{className:"border",style:{top:e}},"zoningBorder".concat(n))),ee=[];if(l&&"전체"!==l&&ee.push(l),"공매"===l){p&&"전체"!==p&&ee.push(p);let e=summarizeList(s);e&&ee.push(e)}(null===(n=t.loc)||void 0===n?void 0:n[0])&&x&&"전체"!==x&&ee.push(x);let en=summarizeList(b);en&&ee.push(en);let et=summarizeList(m);if(et&&ee.push(et),j&&"전체"!==j)ee.push(j);else{let e=summarizeList(O);e&&ee.push(e)}let er=summarizeList(N);er&&ee.push(er);let ei=summarizeList(z);ei&&ee.push(ei);let ea=summarizeList(Z);return(ea&&ee.push(ea),C&&"전체"!==C&&ee.push("매각기일 ".concat(C)),F&&"전체"!==F&&ee.push("감정가 ".concat(F)),M&&"전체"!==M&&ee.push("최저가 ".concat(M)),a)?(0,i.jsxs)(y,{children:[(0,i.jsxs)("div",{className:"row",children:[(0,i.jsx)("p",{className:"title",children:"경공매"}),(0,i.jsx)("p",{className:"content",children:(0,i.jsx)("span",{children:l})})]}),"경매"!==l&&(0,i.jsxs)("div",{className:"row",children:[(0,i.jsx)("p",{className:"title",children:"처분방식"}),(0,i.jsx)("p",{className:"content",children:(0,i.jsx)("span",{children:p})})]}),"경매"!==l&&(0,i.jsxs)("div",{className:"row",children:[(0,i.jsx)("p",{className:"title",children:"자산구분"}),(0,i.jsx)("p",{className:"content",children:listToSpan(s)})]}),(0,i.jsxs)("div",{className:"row",children:[(0,i.jsx)("p",{className:"title",children:"소재지"}),(0,i.jsx)("p",{className:"content",children:(0,i.jsx)("span",{children:x})})]}),(0,i.jsxs)("div",{className:"row",ref:q,children:[(0,i.jsx)("p",{className:"title",children:"용도지역"}),(0,i.jsx)("p",{className:"content",children:listToSpan(b.length>0?b:["전체"])}),(0,i.jsx)("div",{className:"borderBox",children:J})]}),(0,i.jsxs)("div",{className:"row",ref:V,children:[(0,i.jsx)("p",{className:"title",children:"용도종류"}),(0,i.jsx)("p",{className:"content",children:listToSpan(m)}),(0,i.jsx)("div",{className:"borderBox",children:U})]}),(0,i.jsxs)("div",{className:"row",children:[(0,i.jsx)("p",{className:"title",children:"대항력"}),(0,i.jsx)("p",{className:"content",children:""!==j?(0,i.jsx)("span",{children:j}):(0,i.jsx)(i.Fragment,{children:listToSpan(O)})})]}),(0,i.jsxs)("div",{className:"row",ref:E,children:[(0,i.jsx)("p",{className:"title",children:"경매고수물건"}),(0,i.jsx)("p",{className:"content",children:listToSpan(N)}),(0,i.jsx)("div",{className:"borderBox",children:W})]}),(0,i.jsxs)("div",{className:"row",ref:I,children:[(0,i.jsx)("p",{className:"title",children:"진행상태"}),(0,i.jsx)("p",{className:"content",children:listToSpan(z)}),(0,i.jsx)("div",{className:"borderBox",children:Y})]}),(0,i.jsxs)("div",{className:"row",children:[(0,i.jsx)("p",{className:"title",children:"유찰횟수"}),(0,i.jsx)("p",{className:"content",children:listToSpan(Z)})]}),(0,i.jsxs)("div",{className:"row",children:[(0,i.jsx)("p",{className:"title",children:"매각기일"}),(0,i.jsx)("p",{className:"content",children:(0,i.jsx)("span",{children:C})})]}),(0,i.jsxs)("div",{className:"row",children:[(0,i.jsx)("p",{className:"title",children:"감정가"}),(0,i.jsx)("p",{className:"content",children:(0,i.jsx)("span",{children:F})})]}),(0,i.jsxs)("div",{className:"row",children:[(0,i.jsx)("p",{className:"title",children:"최저입찰가"}),(0,i.jsx)("p",{className:"content",children:(0,i.jsx)("span",{children:M})})]})]}):(0,i.jsx)(_,{children:ee.length>0?ee.map((e,n)=>(0,i.jsx)("span",{children:e},"".concat(n).concat(r))):(0,i.jsx)("span",{className:"empty",children:"조건 없음 — 전체 검색"})})};
1let _=u.ZP.div(_templateObject()),y=u.ZP.div(_templateObject1());function FilterHistoryBox_templateObject(){let e=(0,r._)(["\n    padding: 12px 0;\n    box-sizing: border-box;\n    border-radius: 14px;\n    border: 1px solid #ededf0;\n    margin-bottom: 12px;\n"]);return FilterHistoryBox_templateObject=function(){return e},e}function FilterHistoryBox_templateObject1(){let e=(0,r._)(["\n    padding: 0 14px;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n\n    .date {\n        color: #8a8798;\n        font-size: 13px;\n        font-weight: 400;\n        line-height: 16px;\n    }\n\n    .clearIcon {\n        width: 12px;\n        height: 12px;\n        cursor: pointer;\n    }\n"]);return FilterHistoryBox_templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n    display: flex;\n    align-items: center;\n    gap: 12px;\n    padding: 12px 14px 0;\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,r._)(["\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    height: 30px;\n    padding: 0 14px;\n    border-radius: 8px;\n    background: ",";\n    color: #ffffff;\n    font-size: 13px;\n    font-weight: 700;\n    cursor: pointer;\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,r._)(["\n    display: inline-flex;\n    align-items: center;\n    gap: 4px;\n    color: #8a8798;\n    font-size: 13px;\n    font-weight: 400;\n    cursor: pointer;\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,r._)(["\n    width: 0;\n    height: 0;\n    border-left: 4px solid transparent;\n    border-right: 4px solid transparent;\n    border-top: 5px solid #8a8798;\n    transform: ",";\n    transition: transform 0.15s ease;\n"]);return _templateObject5=function(){return e},e}let hasAnyCondition=e=>{var n,t,r,i,a,l,o,c,s;return!!e.type&&0!==e.type||null!==(n=e.loc)&&void 0!==n&&!!n[0]||null!==(t=e.zoning)&&void 0!==t&&!!t.length||null!==(r=e.use)&&void 0!==r&&!!r.length||!!e.conter_force||null!==(i=e.counter_force_list)&&void 0!==i&&!!i.length||null!==(a=e.auction_master_item)&&void 0!==a&&!!a.length||null!==(l=e.status)&&void 0!==l&&!!l.length||!!e.skp_type&&0!==e.skp_type||null!==(o=e.due_date)&&void 0!==o&&!!o[0]&&"null"!==e.due_date[0]||null!==(c=e.est_price)&&void 0!==c&&!!c[1]||null!==(s=e.min_price)&&void 0!==s&&!!s[1]};var filter_FilterHistoryBox=e=>{let{history:n,refetch:t}=e,r=(0,h.useRouter)(),[a,l]=(0,c.useState)(!1),u=(0,s.Zl)(d.z5),x=(0,s.Zl)(b.dd),f=(0,s.rb)(d.XQ),m=(0,s.Zl)(d.iu),v=(0,s.Zl)(d.Qb),_=(0,s.Zl)(d.c0),y=(0,p.dg)(()=>{t()},e=>{console.log("err>",e)}),onClickApplyHistory=async e=>{if(e.loc[0]){let n=await (0,p.yg)(e.loc[0]),t=15;switch(n.region.cortarType){case"city":t=n.region.cortarName.includes("도")?9:11,"제주도"===n.region.cortarName&&(t=11);break;case"dvsn":t=12;break;case"sec":t=15}let r=[];if("city"!==n.region.cortarType){if("city"!==n.parent.cortarType){let e={centerLat:0,centerLon:0,cortarName:n.parent.parentName,cortarNo:n.parent.parentNo,cortarType:"city"};r.push(e)}let e={centerLat:0,centerLon:0,cortarName:n.parent.cortarName,cortarNo:n.parent.cortarNo,cortarType:"dvsn"};r.push(e)}let i={centerLat:n.region.centerLat,centerLon:n.region.centerLon,cortarName:n.region.cortarName,cortarNo:n.region.cortarNo,cortarType:n.region.cortarType};r.push(i),_(r),x({lat:n.region.centerLat,lng:n.region.centerLon,zoom:t}),m({name:getDisplayLocationText(r),value:n.region.cortarNo})}else _([]),m(null);let n=g.Li.filter(e=>e.value.includes("A")).length-1,t=g.Li.filter(e=>e.value.includes("B")).length-1,i=g.Li.filter(e=>e.value.includes("C")).length-1,a=g.Li.filter(e=>e.value.includes("D")).length-1,l=e.use.filter(e=>e.includes("A")),o=e.use.filter(e=>e.includes("B")),c=e.use.filter(e=>e.includes("C")),s=e.use.filter(e=>e.includes("D")),d=[];d=n===l.length?[...d,"A"]:[...d,...l],d=t===o.length?[...d,"B"]:[...d,...o],d=i===c.length?[...d,"C"]:[...d,...c];let h=[];(d=a===s.length?[...d,"D"]:[...d,...s]).map(e=>{let n=function(e){let n=g.k2.find(n=>n.value===e);return n}(e);n&&h.push(n)}),u({...e,use:d}),v(h),f(),1==e.type?r.push("/auction/?main=auction"):r.push("/publicAuction/?main=publicAuction")},getDisplayLocationText=e=>e.map(e=>e.cortarName).join(" > "),P=hasAnyCondition(n.value);return(0,i.jsxs)(k,{children:[(0,i.jsxs)(O,{children:[(0,i.jsx)("p",{className:"date",children:null==n?void 0:n.updated_at}),(0,i.jsx)(o(),{className:"clearIcon",src:j.Z,alt:"clearIcon",onClick:()=>y.mutate(n.no)})]}),(0,i.jsx)(filter_NewSelectedFilterList,{value:n.value,hash:n.hash,more:a}),(0,i.jsxs)(w,{children:[(0,i.jsx)(N,{onClick:()=>
1onClickApplyHistory(n.value),children:"이 조건으로 검색"}),P&&(0,i.jsxs)(D,{onClick:()=>l(e=>!e),children:[a?"접어보기":"전체 조건 보기",(0,i.jsx)(z,{$open:a})]})]})]},n.hash)};let k=u.ZP.div(FilterHistoryBox_templateObject()),O=u.ZP.div(FilterHistoryBox_templateObject1()),w=u.ZP.div(_templateObject2()),N=u.ZP.button(_templateObject3(),f.G.colors.aucMarkerColor),D=u.ZP.button(_templateObject4()),z=u.ZP.span(_templateObject5(),e=>e.$open?"rotate(180deg)":"none");function FilterHistory_templateObject(){let e=(0,r._)(["\n    background-color: #ffffff;\n    min-height: calc(100vh - 48px);\n    padding-top: 8px;\n    padding-bottom: 68px;\n\n    .notice {\n        font-size: 13px;\n        line-height: 18px;\n        color: ",";\n        padding: 0 16px;\n        margin-bottom: 16px;\n    }\n"]);return FilterHistory_templateObject=function(){return e},e}function FilterHistory_templateObject1(){let e=(0,r._)(["\n    height: 79vh;\n    overflow-y: auto;\n\n    @media screen and (max-width: 768px) {\n        max-height: calc(100vh - 48px);\n        height: calc(100vh - 48px);\n    }\n"]);return FilterHistory_templateObject1=function(){return e},e}function FilterHistory_templateObject2(){let e=(0,r._)(["\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    flex-direction: column;\n    gap: 14px;\n    padding: 36px;\n    background-color: #ffffff;\n    color: #3c3c3c;\n    text-align: center;\n    font-size: 15px;\n    font-weight: 400;\n    border: 1px solid ",";\n    border-radius: 14px;\n    margin: 0 16px;\n\n    .noListText {\n        color: ",";\n        font-size: 18px;\n    }\n\n    .noticeText {\n        color: ",";\n    }\n    @media screen and (max-width: 768px) {\n        font-size: 13px;\n    }\n"]);return FilterHistory_templateObject2=function(){return e},e}function FilterHistory_templateObject3(){let e=(0,r._)(["\n    height: 50px;\n    padding: 0 16px;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n\n    .left {\n        display: flex;\n        align-items: center;\n        gap: 8px;\n        cursor: pointer;\n    }\n\n    .back {\n        color: #0c002c;\n        font-size: 24px;\n        line-height: 1;\n    }\n\n    h3 {\n        color: #0c002c;\n        font-size: 16px;\n        font-weight: 700;\n    }\n"]);return FilterHistory_templateObject3=function(){return e},e}function FilterHistory_templateObject4(){let e=(0,r._)(["\n    display: inline-flex;\n    align-items: center;\n    gap: 4px;\n    padding: 5px 10px;\n    border-radius: 24px;\n    background: #ffecec;\n    color: #f6494b;\n    font-size: 13px;\n    font-weight: 500;\n    line-height: 1;\n    white-space: nowrap;\n    cursor: pointer;\n"]);return FilterHistory_templateObject4=function(){return e},e}function FilterHistory_templateObject5(){let e=(0,r._)(["\n    padding: 0 16px;\n\n    @media screen and (max-width: 768px) {\n        padding-bottom: calc(env(safe-area-inset-bottom, 20px) + 40px);\n\n        &:last-child {\n            margin-bottom: 100px;\n        }\n    }\n"]);return FilterHistory_templateObject5=function(){return e},e}var filter_FilterHistory=()=>{let e=(0,a.Z)(m.P),n=(0,s.Zl)(d.XQ),{data:t,refetch:r}=(0,p.KN)(),l=(0,p.As)(()=>{r()},e=>{console.log("err>",e)});(0,c.useEffect)(()=>{r()},[]);let u=null==t?void 0:t.map(e=>{var n;return(null==e?void 0:null===(n=e.value)||void 0===n?void 0:n.type)!==void 0&&(0,i.jsx)(filter_FilterHistoryBox,{history:e,refetch:r},e.hash)});return(0,i.jsx)(P,{children:(0,i.jsxs)(Z,{$isMobile:e,children:[(0,i.jsxs)(C,{children:[(0,i.jsxs)("div",{className:"left",children:[e&&(0,i.jsx)(o(),{src:x.Z,className:"gobackIcon",alt:"gobackIcon",onClick:function(){n("mainFilter")},width:20,height:20}),(0,i.jsx)("h3",{children:"최근 검색 조건"})]}),(0,i.jsx)(S,{onClick:()=>{l.mutate()},children:"전체삭제 \uD83D\uDDD1"})]}),(0,i.jsx)("p",{className:"notice",children:"검색 조건에서 “적용하기”를 누르면 저장됩니다 \xb7 기본값(전체) 항목은 숨기고 달라진 조건만 표시"}),t&&(null==t?void 0:t.length)?(0,i.jsx)(F,{children:u}):(0,i.jsxs)(G,{children:[(0,i.jsx)("p",{className:"noListText",children:"최근 검색한 조건 목록이 없어요"}),(0,i.jsx)("p",{className:"noticeText",children:"필터를 이용해 물건을 검색해보세요!"})]})]})})};
1let P=u.zo.div(FilterHistory_templateObject(),f.G.colors.darkGrey04),Z=u.zo.div(FilterHistory_templateObject1()),G=u.zo.div(FilterHistory_templateObject2(),f.G.colors.darkGrey04,f.G.colors.normalTextColor,f.G.colors.darkGrey04),C=u.zo.div(FilterHistory_templateObject3()),S=u.zo.button(FilterHistory_templateObject4()),F=u.zo.div(FilterHistory_templateObject5())},17907:function(e,n,t){var r=t(60230),i=t(57437),a=t(2265),l=t(55883),o=t(56636),c=t(5096),s=t(18996);function _templateObject(){let e=(0,r._)(["\n    display: flex;\n    flex-wrap: wrap;\n    align-items: center;\n    justify-content: space-between;\n    margin: 6px 0;\n    padding: 14px 0;\n\n    @media screen and (max-width: 768px) {\n        padding: 0;\n    }\n"]);return _templateObject=function(){return e},e}n.Z=()=>{let e=(0,l.Zl)(c.z5),[n,t]=(0,l.FV)(c.iu);return(0,a.useEffect)(()=>{e(e=>({...e,loc:n?[n.value]:[]}))},[n]),(0,i.jsx)(u,{children:(0,i.jsx)(s.Z,{})})};let u=o.ZP.div(_templateObject())},22687:function(e,n,t){t.d(n,{Z:function(){return filter_MainFilterV3}});var r=t(60230),i=t(57437),a=t(42714),l=t(16691),o=t.n(l),c=t(24033),s=t(2265),u=t(55883),p=t(56636),d=t(29745),x=t(38094),f=t(5096),m=t(65302),h=t(62050),b=t(8323),g=t(67041),j=t(1763),v=t(57880),_=t(62426),y=t(7019),k=t(26761),O=t(91850),w=t(46325),N=t(81503),D=t(22795),z=t(18996),P=t(75199);function _templateObject(){let e=(0,r._)(["\n    display: flex;\n    justify-content: center;
1\n    align-items: center;\n\n    padding: 6px 12px;\n    background-color: #2275ee;\n    cursor: pointer;\n    color: #fff;\n    border-radius: 8px;\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    justify-content: start;\n    margin: 12px 0;\n\n    .titleText {\n        color: black;\n        display: inline-flex;\n        align-items: center;\n        gap: 4px;\n        font-size: 16px;\n        font-weight: 700;\n        line-height: 140%;\n        letter-spacing: -0.4px;\n\n        span {\n            font-weight: 400;\n            font-size: 12px;\n            color: ",";\n        }\n    }\n\n    .btns {\n        display: flex;\n        flex-direction: row;\n        gap: 6px;\n\n        button {\n            color: #2275ee;\n            font-size: 16px;\n            cursor: pointer;\n        }\n    }\n\n    .locations {\n        margin: 16px 0 0px 0;\n        display: flex;\n        flex-wrap: wrap;\n        max-height: 160px;\n        gap: 12px;\n        width: 100%;\n    }\n\n    .grey {\n        width: 100%;\n        margin-top: 14px;\n        font-size: 12px;\n        line-height: 20px;\n        color: #8d8d8d;\n        text-align: left;\n\n        span {\n            line-height: 16px;\n            display: inline-block;\n            border-bottom: 2px solid #00ff00;\n        }\n    }\n"]);return _templateObject1=function(){return e},e}var filter_LocationFilterV3Preview=e=>{let{savedLocations:n,setSavedLocations:t}=e,r=(0,u.Zl)(f.NU),a=(0,u.Zl)(f.c0);return(0,i.jsxs)(G,{children:[(0,i.jsxs)(g.X,{width:"100%",justifyContent:"space-between",alignItems:"center",children:[(0,i.jsx)("p",{className:"titleText",children:"소재지"}),(0,i.jsx)("div",{className:"btns",onClick:()=>{r("mainFilter-loc")},children:(0,i.jsx)("button",{children:"변경"})})]}),n?(0,i.jsx)("div",{className:"locations",children:(0,i.jsx)(P.Z,{value:n.name,onDeleteValue:()=>{t(null),a([])}},n.value)}):(0,i.jsx)(Z,{onClick:()=>{r("mainFilter-loc")},children:"소재지 선택하기"}),(0,i.jsxs)("p",{className:"grey",children:["*중복 선택은 ",(0,i.jsx)("span",{children:"종합검색"}),"에서만 가능합니다."]})]})};let Z=p.ZP.div(_templateObject()),G=p.ZP.div(_templateObject1(),j.G.colors.darkGrey04);var C=t(73002),S=t(64837),F=t(34498),T=t(95148);function MainFilterV3_templateObject(){let e=(0,r._)(["\n    position: relative;\n    box-shadow: 2px 2px 6px 0px #04000e24;\n\n    @media screen and (max-width: 768px) {\n        min-height: calc(100vh - 68px);\n        min-height: calc(100dvh - 68px);\n    }\n"]);return MainFilterV3_templateObject=function(){return e},e}function MainFilterV3_templateObject1(){let e=(0,r._)(["\n    @media screen and (max-width: 768px) {\n        height: calc(100vh - 58px);\n    }\n"]);return MainFilterV3_templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n    color: #0c002c;\n    text-align: left;\n    font-size: 18px;\n    font-weight: 700;\n    line-height: 28px;\n    padding: 14px;\n    position: relative;\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,r._)(["\n    width: fit-content;\n    height: fit-content;\n    display: flex;\n    padding: 4px 10px;\n    align-items: flex-start;\n\n    border-radius: 999px;\n    background: #f6faff;\n\n    color: #2275ee;\n    font-size: 16px;\n    font-weight: 700;\n    line-height: normal;\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,r._)(["\n            &::-webkit-scrollbar {\n                width: 10px;\n                margin-right: 10px;\n            }\n            &::-webkit-scrollbar-thumb {\n                border-radius: 4px;\n                background-color: #c9c9c9;\n            }\n            &::-webkit-scrollbar-track {\n                background-color: #f0f0f0;\n            }\n        "]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,r._)(["\n            scrollbar-width: none;\n            -ms-overflow-style: none;\n            &::-webkit-scrollbar {\n                display: none;\n            }\n        "]);
1return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,r._)(["\n    display: flex;\n    flex-direction: column;\n    height: 1200px;\n    max-height: 65vh;\n    padding: 0 14px;\n    padding-bottom: 100px;\n    box-sizing: border-box;\n    overflow-y: auto;\n    overflow-x: hidden;\n\n    ","\n\n    ","\n\n    @media screen and (max-width: 768px) {\n        padding: 0 14px;\n        max-height: calc(100vh - 58px - 84px);\n    }\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,r._)(["\n    padding: 14px 16px 24px;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 12px;\n    max-width: 98%;\n\n    button {\n        width: 100%;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        height: 56px;\n        border-radius: 14px;\n        padding: 14px;\n        background-color: #c3c3c3;\n        box-sizing: border-box;\n        font-size: 18px;\n        color: #ffffff;\n        line-height: 28px;\n        cursor: pointer;\n    }\n\n    button.active {\n        background-color: ",";\n    }\n\n    @media screen and (max-width: 768px) {\n        padding: 14px 16px;\n\n        button {\n            width: 100%;\n            border-radius: 8px;\n            font-size: 16px;\n            min-height: fit-content;\n            color: white;\n            cursor: pointer;\n            background-color: #c3c3c3;\n            padding: 10px 6px;\n        }\n    }\n"]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,r._)(["\n    position: absolute;\n    bottom: -10px;\n    left: 0;\n    width: 100%;\n    z-index: 999;\n    background-color: #ffffff;\n    .selectedFilterBox {\n        padding: 10px;\n    }\n\n    @media screen and (max-width: 768px) {\n        bottom: 0px;\n        background-color: #fff;\n        .selectedFilterBox {\n            display: none;\n        }\n    }\n"]);return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,r._)(["\n    position: absolute;\n    top: 50%;\n    right: 15px;\n    transform: translate(-50%, -50%);\n    cursor: pointer;\n"]);return _templateObject9=function(){return e},e}function _templateObject10(){let e=(0,r._)(["\n    width: 108%;\n    min-height: 1px;\n    background-color: #efeff3;\n    transform: translate(-14px);\n"]);return _templateObject10=function(){return e},e}var filter_MainFilterV3=()=>{var e;let[n,t]=(0,u.FV)(f.z5),r=(0,u.rb)(f.XQ),l=(0,u.Zl)(f.XQ),o=(0,u.Zl)(x._P),p=(0,u.sJ)(f.NU),{intializeFilterDisplayAll:j}=(0,m.Z)(),[P,Z]=(0,u.FV)(f.iu),[G,H]=(0,u.FV)(f.Qb),[K,q]=(0,u.FV)(f.c0),{mutate:Q}=(0,d.Hk)();(0,s.useEffect)(()=>{t(e=>({...e,loc:P?[P.value]:[]}))},[P]),(0,s.useEffect)(()=>{let e=G.map(e=>1!==e.value.length?e.value:"E"===e.value?["E01"]:(0,S.Q)(e.value).map(e=>e.value).filter(e=>1!==e.length)).flat();t(n=>({...n,use:e}))},[G]);let X=(0,a.Z)(v.P);return(0,c.usePathname)(),(0,i.jsxs)(M,{children:[null===p&&(0,i.jsxs)($,{children:[(0,i.jsxs)(V,{children:[(0,i.jsxs)(g.X,{gap:10,alignItems:"center",children:["검색 조건",(0,i.jsx)(A,{onClick:()=>{l("history")},children:"\uD83D\uDD58 최근 검색 조건"})]}),(0,i.jsx)(B,{src:b.Z,alt:"clearIcon",onClick:()=>{r(),o("")}})]}),(0,i.jsxs)(L,{$isMobile:X,children:[(0,i.jsx)(O.ZP,{out:!1}),(0,i.jsx)(I,{}),(0,i.jsx)(filter_LocationFilterV3Preview,{savedLocations:P,setSavedLocations:Z}),(0,i.jsx)(I,{}),(0,i.jsx)(T.Z,{value:null!==(e=n.zoning)&&void 0!==e?e:[],onChange:e=>t({...n,zoning:e})}),(0,i.jsx)(I,{}),(0,i.jsx)(F.Z,{savedUseList:G,setSavedUseList:H}),(0,i.jsx)(I,{}),(0,i.jsx)(w.ZP,{out:!1}),(0,i.jsx)(I,{}),(0,i.jsx)(_.Z,{out:!1}),(0,i.jsx)(I,{}),(0,i.jsx)(k.ZP,{out:!1}),(0,i.jsx)(I,{}),(0,i.jsx)(y.Z,{out:!1}),(0,i.jsx)(I,{}),(0,i.jsx)(N.Z,{out:!1}),(0,i.jsx)(I,{}),(0,i.jsx)(D.Z,{out:!1}),(0,i.jsx)(I,{}),(0,i.jsx)(C.Z,{out:!1}),(0,i.jsx)(R,{children:(0,i.jsxs)(E,{children:[(0,i.jsx)("button",{onClick:()=>{j(),t(h.wy),q([])},children:"초기화"}),(0,i.jsx)("button",{className:"active",onClick:()=>{Q(n),r(),o("")},children:"적용하기"})]})})]})]}),"mainFilter-loc"===p&&(0,i.jsx)(z.Z,{})]})};
1let M=p.ZP.div(MainFilterV3_templateObject()),$=p.ZP.div(MainFilterV3_templateObject1()),V=p.ZP.p(_templateObject2()),A=p.ZP.div(_templateObject3()),L=p.ZP.div(_templateObject6(),e=>!e.$isMobile&&(0,p.iv)(_templateObject4()),e=>e.$isMobile&&(0,p.iv)(_templateObject5())),E=p.ZP.div(_templateObject7(),j.G.colors.aucMarkerColor),R=p.ZP.div(_templateObject8()),B=(0,p.ZP)(o())(_templateObject9()),I=p.ZP.div(_templateObject10())},73002:function(e,n,t){var r=t(60230),i=t(57437),a=t(42714);t(2265);var l=t(55883),o=t(56636),c=t(5096),s=t(1763),u=t(32642),p=t(61739);function _templateObject(){let e=(0,r._)(["\n    padding: ",";\n    background-color: #ffffff;\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n                .selected.start::before {\n                    content: '';\n                    position: absolute;\n                    right: 0;\n                    width: 50%;\n                    height: 100%;\n                    z-index: -99;\n                    background: transparent;\n                    background-color: #dff0ff;\n                }\n                .selected.end::before {\n                    content: '';\n                    position: absolute;\n                    left: 0;\n                    width: 50%;\n                    height: 100%;\n                    z-index: -99;\n                    background: transparent;\n                    background-color: #dff0ff;\n                }\n            "]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n    ",";\n    display: grid;\n    grid-template-columns: repeat(6, 1fr);\n\n    @media screen and (max-width: 768px) {\n        padding: 10px 14px;\n        row-gap: 3px;\n        margin-top: 0;\n        margin-bottom: 50px;\n    }\n\n    .wrapper {\n        position: relative;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        height: 40px;\n        span {\n            font-size: 14px;\n            white-space: nowrap;\n        }\n        border-radius: 24px;\n        cursor: pointer;\n        .selected.start,\n        .selected.end {\n            z-index: 1;\n            height: 100%;\n            width: 100%;\n            border-radius: 24px;\n            & + span {\n                position: absolute;\n                display: flex;\n                justify-content: center;\n                align-items: center;\n                height: 100%;\n                width: 100%;\n                border-radius: 24px;\n                background: ",";\n                color: white;\n                font-size: 14px;\n            }\n        }\n        ","\n        .range {\n            position: absolute;\n            z-index: 1;\n            width: 100%;\n            height: 100%;\n            background: #dff0ff;\n        }\n        span {\n            z-index: 2;\n        }\n\n        @media screen and (max-width: 768px) {\n            height: 30px;\n            span {\n                font-size: 14px;\n            }\n\n            .selected.start,\n            .selected.end {\n                & + span {\n                    font-size: 14px;\n                }\n            }\n        }\n    }\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,r._)(["\n    display: flex;\n    justify-content: space-between;\n    gap: 12px;\n\n    button {\n        width: 100%;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        border-radius: 14px;\n        padding: 10px 16px;\n        background-color: #c3c3c3;\n        box-sizing: border-box;\n        font-size: 16px;\n        color: #ffffff;\n        line-height: 28px;\n        cursor: pointer;\n    }\n    button.active {\n        background-color: ",";\n    }\n"]);return _templateObject3=function(){return e},e}n.Z=e=>{let{out:n=!0,isMainFilter:t=!1}=e,[r,o]=(0,l.FV)(c.z5),getClassName=(e,n)=>{let t=Number(r.min_price[0]),i=Number(r.min_price[1]),a=Number(e);return"전체"===n&&r.min_price.every(e=>!e)?"selected start":"30000000000"===r.min_price[0]&&"higher"===e||a===i&&r.min_price[1]?"selected end":r.min_price.every(e=>e)&&"30000000000"!==r.min_price[0]&&a>t&&a<i?"range":""!==r.min_price[0]&&"30000000000"!==r.min_price[0]&&t===a?"selected start":""}
1,onClickValue=(e,n)=>"전체"===n?o({...r,min_price:["",""]}):"higher"===e?o({...r,min_price:["30000000000",""]}):r.min_price.every(e=>!e)||"30000000000"===r.min_price[0]?o({...r,min_price:["",e]}):!r.min_price[0]&&Number(r.min_price[1])>Number(e)?o({...r,min_price:[e,r.min_price[1]]}):!r.min_price[0]&&Number(r.min_price[1])<Number(e)?o({...r,min_price:[r.min_price[1],e]}):void(r.min_price.every(e=>e)&&o({...r,min_price:["",e]})),[,s]=(0,l.FV)(c.XQ),m=(0,a.Z)("(max-width: 768px)");return(0,i.jsxs)(d,{$isNotPartOfMainFilter:n,children:[n?(0,i.jsx)(p.Z,{title:"최저입찰가",out:!m,refresh:!0,resetFn:()=>onClickValue("","전체")}):(0,i.jsx)(p.Z,{title:"최저입찰가",out:n}),(0,i.jsx)(x,{$isRange:r.est_price.every(e=>e),$isNotPartOfMainFilter:n,children:u.C.map(e=>(0,i.jsxs)("div",{className:"wrapper",onClick:()=>onClickValue(e.value,e.title),children:[(0,i.jsx)("div",{className:getClassName(e.value,e.title)}),(0,i.jsx)("span",{children:e.title})]},e.value))}),m&&t&&(0,i.jsx)(f,{children:(0,i.jsx)("button",{className:"active",onClick:()=>{s("")},children:"적용하기"})})]})};let d=o.zo.div(_templateObject(),e=>e.$isNotPartOfMainFilter?"14px":"12px 0"),x=o.zo.div(_templateObject2(),e=>{let{$isNotPartOfMainFilter:n}=e;return!n&&{marginTop:"16px"}},s.G.colors.aucMarkerColor,e=>e.$isRange&&(0,o.iv)(_templateObject1())),f=o.zo.div(_templateObject3(),s.G.colors.aucMarkerColor)},77074:function(e,n,t){var r=t(57437),i=t(2265),a=t(55883),l=t(5096),o=t(64837);n.Z=e=>{let{isMainFilter:n=!1}=e,t=(0,a.Zl)(l.z5),[c,s]=(0,a.FV)(l.Qb);return(0,i.useEffect)(()=>{let e=c.map(e=>1!==e.value.length?e.value:"E"===e.value?["E01"]:(0,o.Q)(e.value).map(e=>e.value).filter(e=>1!==e.length)).flat();t(n=>({...n,use:e}))},[c]),(0,r.jsx)(o.Z,{savedUseList:c,setSavedUseList:s,isMainFilter:n})}},34498:function(e,n,t){var r=t(60230),i=t(57437),a=t(2265),l=t(56636),o=t(43907),c=t(1763),s=t(75199),u=t(68913),p=t(64837);function _templateObject(){let e=(0,r._)(["\n    margin: 12px 0;\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n\n    .titleText {\n        color: #0c002c;\n        display: inline-flex;\n        align-items: end;\n        gap: 4px;\n        font-size: 16px;\n        font-weight: 700;\n        line-height: 140%;\n        letter-spacing: -0.4px;\n\n        span {\n            color: #8a8798;\n            font-size: 12px;\n            font-weight: 500;\n        }\n    }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n    padding: 2px 4px;\n    font-size: 16px;\n    line-height: 24px;\n    cursor: pointer;\n    color: ",";\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,r._)(["\n    display: flex;\n    flex-wrap: wrap;\n    gap: 8px;\n    margin-top: 12px;\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,r._)(["\n    display: inline-flex;\n    align-items: center;\n    gap: 4px;\n    height: 34px;\n    padding: 0 12px;\n    border-radius: 8px;\n    font-size: 14px;\n    line-height: 1;\n    cursor: pointer;\n    box-sizing: border-box;\n\n    border: 1px solid ",";\n    background: ",";\n    color: ",";\n\n    em {\n        font-style: normal;\n        font-size: 12px;\n        font-weight: 700;\n    }\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,r._)(["\n    width: 0;\n    height: 0;\n    border-left: 4px solid transparent;\n    border-right: 4px solid transparent;\n    border-top: 5px solid ",";\n    transform: ",";\n    transition: transform 0.15s ease;\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,r._)(["\n    display: flex;\n    flex-wrap: wrap;\n    gap: 8px;\n    margin-top: 10px;\n    padding: 12px;\n    border-radius: 12px;\n    background: #f6f6f8;\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,r._)(["\n    width: 100%;\n    color: #8a8798;\n    font-size: 13px;\n    font-weight: 500;\n    line-height: 1;\n"]);
1return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,r._)(["\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    height: 34px;\n    padding: 0 12px;\n    border-radius: 8px;\n    font-size: 14px;\n    line-height: 1;\n    cursor: pointer;\n    box-sizing: border-box;\n\n    border: 1px solid ",";\n    background: ",";\n    color: ",";\n"]);return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,r._)(["\n    display: flex;\n    flex-wrap: wrap;\n    gap: 12px;\n    max-height: 160px;\n    overflow-y: auto;\n    margin-top: 16px;\n    box-sizing: border-box;\n"]);return _templateObject9=function(){return e},e}let d=o.k2.reduce((e,n)=>1===n.value.length?[...e,{name:n.name.split(">")[0].trim(),value:n.value}]:e,[]);n.Z=e=>{let{savedUseList:n,setSavedUseList:t,onSelectMax:r}=e,[l,o]=(0,a.useState)(null),[c,k]=(0,a.useState)(!1),notifyMax=()=>{r?r():k(!0)},handleSelect=e=>{let r=1===e.value.length,i=e.value[0],a=n.some(n=>n.value===e.value);if(r){a?t(n.filter(n=>n.value!==e.value)):t([e,...n.filter(e=>e.value[0]!==i)]);return}if(a){t(n.filter(n=>n.value!==e.value));return}if(n.some(e=>e.value===i)){t([e,...n.filter(e=>e.value!==i)]);return}if(n.length>=10){notifyMax();return}t([...n,e])},handleMajorClick=e=>{let n=(0,p.Q)(e.value);if(n.length<=1){1===n.length&&handleSelect(n[0]);return}o(n=>(null==n?void 0:n.value)===e.value?null:e)},selectedCountOf=e=>n.filter(n=>n.value[0]===e.value).length;return(0,i.jsxs)(x,{children:[(0,i.jsxs)(f,{children:[(0,i.jsxs)("p",{className:"titleText",children:["용도종류 ",(0,i.jsx)("span",{children:"중복 선택 가능"})]}),(0,i.jsx)(m,{$active:0===n.length,onClick:()=>{t([]),o(null)},children:"전체"})]}),(0,i.jsx)(h,{children:d.map(e=>{let n=selectedCountOf(e),t=(0,p.Q)(e.value).length>1;return(0,i.jsxs)(b,{$selected:n>0,$expanded:(null==l?void 0:l.value)===e.value,onClick:()=>handleMajorClick(e),children:[(0,i.jsx)("span",{children:e.name}),t&&n>0&&(0,i.jsx)("em",{children:n}),t&&(0,i.jsx)(g,{$open:(null==l?void 0:l.value)===e.value,$selected:n>0})]},e.value)})}),l&&(0,i.jsxs)(j,{children:[(0,i.jsxs)(v,{children:[l.name," 세부"]}),(0,p.Q)(l.value).map(e=>{var t,r;return(0,i.jsx)(_,{$selected:n.some(n=>n.value===e.value),onClick:()=>handleSelect(e),children:null!==(r=null===(t=e.name.split(">")[1])||void 0===t?void 0:t.trim())&&void 0!==r?r:"전체"},e.value)})]}),n.length>0&&(0,i.jsx)(y,{children:n.map(e=>(0,i.jsx)(s.Z,{value:e.name,onDeleteValue:()=>t(n.filter(n=>n.value!==e.value))},e.value))}),!r&&(0,i.jsx)(u.Z,{visible:c,setToastVisible:()=>k(!1),children:"최대 10개까지 선택 가능합니다."})]})};let x=l.ZP.div(_templateObject()),f=l.ZP.div(_templateObject1()),m=l.ZP.button(_templateObject2(),e=>e.$active?c.G.colors.aucMarkerColor:"#8a8798"),h=l.ZP.div(_templateObject3()),b=l.ZP.button(_templateObject4(),e=>e.$selected||e.$expanded?c.G.colors.aucMarkerColor:"#e3e3ea",e=>e.$selected?c.G.colors.aucMarkerColor:c.G.colors.white,e=>e.$selected?c.G.colors.white:c.G.colors.navyPrimary),g=l.ZP.span(_templateObject5(),e=>e.$selected?c.G.colors.white:"#8a8798",e=>e.$open?"rotate(180deg)":"none"),j=l.ZP.div(_templateObject6()),v=l.ZP.p(_templateObject7()),_=l.ZP.button(_templateObject8(),e=>e.$selected?c.G.colors.aucMarkerColor:"#e3e3ea",e=>e.$selected?c.G.colors.aucMarkerColor:c.G.colors.white,e=>e.$selected?c.G.colors.white:c.G.colors.navyPrimary),y=l.ZP.div(_templateObject9())},95148:function(e,n,t){var r=t(60230),i=t(57437),a=t(2265),l=t(56636),o=t(60317),c=t(1763),s=t(75199),u=t(68913);function _templateObject(){let e=(0,r._)(["\n    margin: 12px 0;\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n\n    .titleText {\n        color: #0c002c;\n        display: inline-flex;\n        align-items: end;\n        gap: 4px;\n        font-size: 16px;\n        font-weight: 700;\n        line-height: 140%;\n        letter-spacing: -0.4px;\n\n        span {\n            color: #8a8798;\n            font-size: 12px;\n            font-weight: 500;\n        }\n    }\n"]);
1return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n    padding: 2px 4px;\n    font-size: 16px;\n    line-height: 24px;\n    cursor: pointer;\n    color: ",";\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,r._)(["\n    display: flex;\n    flex-wrap: wrap;\n    gap: 8px;\n    margin-top: 12px;\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,r._)(["\n    display: inline-flex;\n    align-items: center;\n    gap: 4px;\n    height: 34px;\n    padding: 0 12px;\n    border-radius: 8px;\n    font-size: 16px;\n    line-height: 1;\n    cursor: pointer;\n    box-sizing: border-box;\n\n    border: 1px solid ",";\n    background: ",";\n    color: ",";\n\n    em {\n        font-style: normal;\n        font-size: 12px;\n        font-weight: 700;\n    }\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,r._)(["\n    width: 0;\n    height: 0;\n    border-left: 4px solid transparent;\n    border-right: 4px solid transparent;\n    border-top: 5px solid ",";\n    transform: ",";\n    transition: transform 0.15s ease;\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,r._)(["\n    display: flex;\n    flex-wrap: wrap;\n    gap: 8px;\n    margin-top: 10px;\n    padding: 12px;\n    border-radius: 12px;\n    background: #f6f6f8;\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,r._)(["\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    height: 34px;\n    padding: 0 12px;\n    border-radius: 8px;\n    font-size: 14px;\n    line-height: 1;\n    cursor: pointer;\n    box-sizing: border-box;\n\n    border: 1px solid ",";\n    background: ",";\n    color: ",";\n"]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,r._)(["\n    display: flex;\n    flex-wrap: wrap;\n    gap: 12px;\n    max-height: 160px;\n    overflow-y: auto;\n    margin-top: 16px;\n    box-sizing: border-box;\n"]);return _templateObject8=function(){return e},e}let p=Object.keys(o.S);n.Z=e=>{let{value:n,onChange:t,onSelectMax:r}=e,[l,c]=(0,a.useState)(null),[_,y]=(0,a.useState)(!1),notifyMax=()=>{r?r():y(!0)},toggleMinor=e=>{if(n.includes(e)){t(n.filter(n=>n!==e));return}if(n.length>=10){notifyMax();return}t([...n,e])},toggleAllOfMajor=e=>{let r=o.S[e],i=r.every(e=>n.includes(e));if(i){t(n.filter(e=>!r.includes(e)));return}let a=r.filter(e=>!n.includes(e));if(n.length+a.length>10){notifyMax();return}t([...n,...a])},handleMajorClick=e=>{let n=o.S[e];if(1===n.length){toggleMinor(n[0]);return}c(n=>n===e?null:e)},selectedCountOf=e=>o.S[e].filter(e=>n.includes(e)).length;return(0,i.jsxs)(d,{children:[(0,i.jsxs)(x,{children:[(0,i.jsxs)("p",{className:"titleText",children:["용도지역 ",(0,i.jsx)("span",{children:"중복 선택 가능"})]}),(0,i.jsx)(f,{$active:0===n.length,onClick:()=>{t([]),c(null)},children:"전체"})]}),(0,i.jsx)(m,{children:p.map(e=>{let n=selectedCountOf(e),t=1===o.S[e].length;return(0,i.jsxs)(h,{$selected:n>0,$expanded:l===e,onClick:()=>handleMajorClick(e),children:[(0,i.jsx)("span",{children:e}),!t&&n>0&&(0,i.jsx)("em",{children:n}),!t&&(0,i.jsx)(b,{$open:l===e,$selected:n>0})]},e)})}),l&&o.S[l].length>1&&(0,i.jsxs)(g,{children:[(0,i.jsx)(j,{$selected:o.S[l].every(e=>n.includes(e)),onClick:()=>toggleAllOfMajor(l),children:"전체"}),o.S[l].map(e=>(0,i.jsx)(j,{$selected:n.includes(e),onClick:()=>toggleMinor(e),children:e},e))]}),n.length>0&&(0,i.jsx)(v,{children:n.map(e=>(0,i.jsx)(s.Z,{value:e,onDeleteValue:()=>t(n.filter(n=>n!==e))},e))}),!r&&(0,i.jsx)(u.Z,{visible:_,setToastVisible:()=>y(!1),children:"최대 10개까지 선택 가능합니다."})]})};let d=l.ZP.div(_templateObject()),x=l.ZP.div(_templateObject1()),f=l.ZP.button(_templateObject2(),e=>e.$active?c.G.colors.aucMarkerColor:"#8a8798"),m=l.ZP.div(_templateObject3()),h=l.ZP.button(_templateObject4(),e=>e.$selected||e.$expanded?c.G.colors.aucMarkerColor:"#e3e3ea",e=>e.$selected?c.G.colors.aucMarkerColor:c.G.colors.white,e=>e.$selected?c.G.colors.white:c.G.colors.navyPrimary),b=l.ZP.span(_templateOb
1ject5(),e=>e.$selected?c.G.colors.white:"#8a8798",e=>e.$open?"rotate(180deg)":"none"),g=l.ZP.div(_templateObject6()),j=l.ZP.button(_templateObject7(),e=>e.$selected?c.G.colors.aucMarkerColor:"#e3e3ea",e=>e.$selected?c.G.colors.aucMarkerColor:c.G.colors.white,e=>e.$selected?c.G.colors.white:c.G.colors.navyPrimary),v=l.ZP.div(_templateObject8())},99729:function(e,n,t){var r=t(60230),i=t(57437),a=t(42714),l=t(2265),o=t(55883),c=t(56636),s=t(5096);t(43907);var u=t(60317),p=t(1763),d=t(61739),x=t(55410),f=t(75199),m=t(68913);function _templateObject(){let e=(0,r._)(["\n    background-color: #ffffff;\n    padding: ",";\n\n    .header {\n        padding: 0 14px;\n    }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n    max-height: ",";\n    display: grid;\n    grid-template-columns: repeat(3, 1fr);\n    ","\n    gap: 8px;\n    margin-top: 14px;\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n    max-height: ",";\n    display: grid;\n    grid-template-columns: repeat(3, 1fr);\n    ","\n    gap: 8px;\n    overflow-x: hidden;\n    overflow-y: auto;\n    padding: 0 14px;\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,r._)(["\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    width: 100%;\n    border-radius: 8px;\n    padding: 16px 0;\n    color: ",";\n    border: 1px solid #f0f0f0;\n    background: #f0f0f0;\n    font-size: 16px;\n    box-sizing: border-box;\n    max-height: 48px;\n    cursor: pointer;\n\n    ","\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,r._)(["\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    width: 100%;\n    border-radius: 8px;\n    color: ",";\n    border: 1px solid ",";\n    background: ",";\n    font-size: 16px;\n    box-sizing: border-box;\n    height: 48px;\n    cursor: pointer;\n    padding: 0px 12px;\n    ","\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,r._)(["\n    max-height: 80px;\n    ",";\n    display: flex;\n    flex-wrap: wrap;\n    gap: 12px;\n    overflow-y: auto;\n    box-sizing: border-box;\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,r._)(["\n    display: flex;\n    height: 48px;\n    ","\n    button {\n        flex: 1;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        height: 56px;\n        border-radius: 14px;\n        padding: 14px;\n        background: #c3c3c3;\n        cursor: pointer;\n        span {\n            font-size: 18px;\n            color: #ffffff;\n            line-height: 28px;\n        }\n    }\n    button.active {\n        background: ",";\n    }\n    button + button {\n        margin-left: 12px;\n    }\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,r._)(["\n    width: 100%;\n    z-index: 999;\n    background-color: #ffffff;\n"]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,r._)(["\n    width: 100%;\n"]);return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,r._)(["\n    margin: ",";\n    width: 100%;\n    height: 6px;\n    background-color: #f0f0f0;\n"]);return _templateObject9=function(){return e},e}function _templateObject10(){let e=(0,r._)(["\n    display: flex;\n    justify-content: space-between;\n    gap: 12px;\n    padding: 0 14px;\n    margin-top: 30px;\n\n    button {\n        width: 100%;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        border-radius: 14px;\n        padding: 10px 16px;\n        background-color: #c3c3c3;\n        box-sizing: border-box;\n        font-size: 16px;\n        color: #ffffff;\n        line-height: 28px;\n        cursor: pointer;\n    }\n    button.active {\n        background-color: ",";\n    }\n"]);return _templateObject10=function(){return e},e}n.Z=e=>{var n,t,r;let{withHeader:c=!0,withSummary:p=!0,onSelectMax:D,contentMaxHeight:z,isMainFilter:P=!1}=e,[Z,G]=(0,l.useState)(!1),[C,S]=(0,l.useState)(null),[F,T]=(0,o.FV)(s.XQ),[M,$]=(0,o.FV)(s.z5),V="mainFilter"!==F,A=(0,o.Zl)(s.NU),handleGoBack=()=>{A(null)},handleClose=()=>{T("")},L=Object.keys(u.S),handleMinorCategory=e=>{var n,t,r;if((null===(n=M.zoning)||void 0===n?void 0:n.length)===10){D?D():G(!0);return}(null===(t=M.zoning)||void 0===t?void 0:t.includes(e))?$({...M,zoning:M.zoning.filter(n=>n!==e)}):$({...M,zoning:[...null!==(r=M.zoning)&&void 0!==r?r:[],e]})},handleAll=()=>{$({...M,zoning:[]}),S(null)},handleAllSelectedZoning=e=>{var n,t,r,i;if(e.every(e=>{var n;return null===(n=M.zoning)||void 0===n?void 0:n.includes(e)})){let n=null===(t=M.zoning)||void 0===t?void 0:t.filter(n=>!e.includes(n));$({...M,zoning:n});return}if((null!==(r=null===(n=M.zoning)||void 0===n?void 0:n.length)&&void 0!==r?r:0)+e.length>10){D?D():G(!0);return}let a=new Set([...null!==(i=M.zoning)&&void 0!==i?i:[],...e]);$({...M,zoning:Array.from(a)})},E=(0,a.Z)("(max-width: 768px)");return(0,i.jsxs)(h,{$isNotParfOfMainFilter:V,children:[(0,i.jsx)("div",{className:"header",children:V?(0,i.jsx)(d.Z,{title:"용도지역",out:!E,refresh:!0,resetFn:handleAll}):(0,i.jsx)(x.Z,{onGoback:handleGoBack,onClose:()=>{handleGoBack(),handleClose()},children:"용도지역 선택"})}),(0,i.jsxs)(b,{$isNotParfOfMainFilter:V,children:[(0,i.jsx)(j,{$active:"전체"===C,onClick:handleAll,children:"전체"}),L.map(e=>(0,i.jsx)(j,{$active:C===e,onClick:()=>{S(e)},children:e},e))]}),C&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(w,{$isNotParfOfMainFilter:V}),(0,i.jsx)(O,{children:(0,i.jsx)(g,{$isNotParfOfMainFilter:V,$maxHeight:z,children:(0,i.jsxs)(i.Fragment,{children:[(null===(n=u.S[C])||void 0===n?void 0:n.length)>1&&(0,i.jsx)(v,{$active:!1,onClick:()=>handleAllSelectedZoning(u.S[C]),children:"전체"}),null===(t=u.S[C])||void 0===t?void 0:t.map(e=>{var n;return(0,i.jsx)(v,{$active:!!(null===(n=M.zoning)||void 0===n?void 0:n.includes(e)),onClick:()=>handleMinorCategory(e),children:e},e)})]})})})]}),p&&M.zoning&&M.zoning.length>0&&(0,i.jsx)(_,{$isNotParfOfMainFilter:V,children:null===(r=M.zoning)||void 0===r?void 0:r.map(e=>(0,i.jsx)(f.Z,{value:e,onDeleteValue:()=>{var n;let t=null===(n=M.zoning)||void 0===n?void 0:n.filter(n=>n!==e);$({...M,zoning:t})}},e))}),!V&&(0,i.jsx)(k,{children:(0,i.jsxs)(y,{$isNotParfOfMainFilter:V,children:[(0,i.jsx)("button",{onClick:()=>{$({...M,zoning:[]}),S(null)},children:(0,i.jsx)("span",{children:"초기화"})}),(0,i.jsx)("button",{className:"active",onClick:handleGoBack,children:(0,i.jsx)("span",{children:"완료"})})]})}),!D&&(0,i.jsx)(m.Z,{visible:Z,setToastVisible:()=>G(!1),addStyles:{bottom:V?"44px":"124px"},children:"최대 10개까지 선택 가능합니다."}),E&&P&&(0,i.jsx)(N,{children:(0,i.jsx)("button",{className:"active",onClick:()=>{T("")},children:"적용하기"})})]})};
1let h=c.ZP.div(_templateObject(),e=>e.$isNotParfOfMainFilter?"14px 0":0),b=c.ZP.div(_templateObject1(),e=>{var n;return null!==(n=e.$maxHeight)&&void 0!==n?n:"332px"},e=>e.$isNotParfOfMainFilter?{padding:"0 14px"}:{padding:"12px 16px"}),g=c.ZP.div(_templateObject2(),e=>{var n;return null!==(n=e.$maxHeight)&&void 0!==n?n:"332px"},e=>e.$isNotParfOfMainFilter?{padding:"0"}:{padding:"12px 16px"}),j=c.ZP.button(_templateObject3(),p.G.colors.navyPrimary,e=>e.$active&&{background:p.G.colors.aucMarkerColor,color:p.G.colors.white}),v=c.ZP.button(_templateObject4(),p.G.colors.aucMarkerColor,p.G.colors.aucMarkerColor,p.G.colors.white,e=>e.$active&&{background:p.G.colors.aucMarkerColor,color:p.G.colors.white}),_=c.ZP.div(_templateObject5(),e=>e.$isNotParfOfMainFilter?{margin:"12px 0 12px 14px"}:{margin:"14px 16px 4px"}),y=c.ZP.div(_templateObject6(),e=>e.$isNotParfOfMainFilter?{padding:"0 0 12px 0"}:{padding:" 14px 14px 24px 14px"},p.G.colors.aucMarkerColor),k=c.ZP.div(_templateObject7()),O=c.ZP.div(_templateObject8()),w=c.ZP.div(_templateObject9(),e=>e.$isNotParfOfMainFilter?"14px 0 24px":"2px 0 12px"),N=c.ZP.div(_templateObject10(),p.G.colors.aucMarkerColor)},32642:function(e,n,t){t.d(n,{C:function(){return r}});let r=[{title:"전체",showText:"",value:""},{title:"1천",showText:"1천",value:"10000000"},{title:"2천",showText:"2천",value:"20000000"},{title:"3천",showText:"3천",value:"30000000"},{title:"4천",showText:"4천",value:"40000000"},{title:"5천",showText:"5천",value:"50000000"},{title:"6천",showText:"6천",value:"60000000"},{title:"7천",showText:"7천",value:"70000000"},{title:"8천",showText:"8천",value:"80000000"},{title:"9천",showText:"9천",value:"90000000"},{title:"1억",showText:"1억",value:"100000000"},{title:"2억",showText:"2억",value:"200000000"},{title:"3억",showText:"3억",value:"300000000"},{title:"4억",showText:"4억",value:"400000000"},{title:"5억",showText:"5억",value:"500000000"},{title:"6억",showText:"6억",value:"600000000"},{title:"7억",showText:"7억",value:"700000000"},{title:"8억",showText:"8억",value:"800000000"},{title:"9억",showText:"9억",value:"900000000"},{title:"10억",showText:"10억",value:"1000000000"},{title:"12억",showText:"12억",value:"1200000000"},{title:"14억",showText:"14억",value:"1400000000"},{title:"16억",showText:"16억",value:"1600000000"},{title:"18억",showText:"18억",value:"1800000000"},{title:"20억",showText:"20억",value:"2000000000"},{title:"40억",showText:"40억",value:"4000000000"},{title:"60억",showText:"60억",value:"6000000000"},{title:"80억",showText:"80억",value:"8000000000"},{title:"100억",showText:"100억",value:"10000000000"},{title:"200억",showText:"200억",value:"20000000000"},{title:"300억",showText:"300억",value:"30000000000"},{title:"300억~",showText:"300억",value:"higher"}]},60317:function(e,n,t){t.d(n,{S:function(){return r}});let r={주거지역:["제1종전용주거지역","제2종전용주거지역","제1종일반주거지역","제2종일반주거지역","제3종일반주거지역","준주거지역"],상업지역:["중심상업지역","일반상업지역","근린상업지역","유통상업지역"],공업지역:["전용공업지역","일반공업지역","준공업지역"],녹지지역:["보전녹지지역","생산녹지지역","자연녹지지역"],관리지역:["보전관리지역","생산관리지역","계획관리지역"],농림지역:["농림지역"],자연환경보전지역:["자연환경보전지역"]}},88360:function(e,n,t){t.d(n,{t:function(){return getGeolocationPermissionState}});let getGeolocationPermissionState=async()=>{if("undefined"==typeof navigator||!navigator.permissions||!navigator.permissions.query)return"unsupported";try{let e=await navigator.permissions.query({name:"geolocation"});return e.state}catch(e){return"unsupported"}}},44271:function(e,n,t){t.d(n,{Bs:function(){return makeConterForceTextBefore},H0:function(){return makeUseText},KX:function(){return makeAssetsText},PG:function(){return makeTypeText},TS:function(){return makePriceText},U_:function(){return makeConterForceText},VI:function(){return makeDueDateText},ck:function(){return makeStatusText},dV:function(){return makeLocText},k4:function(){return makeMethodText},mg:function(){return makeMasterItemText},vQ:function(){return makeSkpText}});var r=t(29745),i=t(43907),a=t(531);let makeTypeText=e=>{let n="";switch(e){case 0:n="전체";break;case 1:n="경매";break;case 2:n="공매"}return n},makeMethodText=e=>{let n="전체";switch(e){case 1:n="매각";break;case 2:n="임대"}return n},makeAssetsText=e=>{let n=[];return null==e||e.map(e=>{switch(e){case 1:n.push("압류재산");break;case 2:n.push("국공유재산");break;case 3:n.push("신탁재산");break;case 4:n.push("기타재산")}}),0===n.length&&n.push("전체"),n},makeLocText=async e=>{let n="",t="",i="";return(n=await (0,r.RJ)("0000000000").then(n=>{var t,r;let i=n.filter(n=>{var t;return(null==n?void 0:null===(t=n.cortarNo)||void 0===t?void 0:t.slice(0,2))===e.slice(0,2)});return null!==(r=null==i?void 0:null===(t=i[0])||void 0===t?void 0:t.cortarName)&&void 0!==r?r:""}),"00000000"===e.slice(2))?{name:"".concat(n," > 전체"),value:e}:(t=await (0,r.RJ)("".concat(e.slice(0,2),"00000000")).then(n=>{var t;let r=n.filter(n=>{var t;return(null==n?void 0:null===(t=n.cortarNo)||void 0===t?void 0:t.slice(0,5))===e.slice(0,5)});return null==r?void 0:null===(t=r[0])||void 0===t?void 0:t.cortarName}),i="00000"!==e.slice(5)?await (0,r.RJ)("".concat(e.slice(0,5),"00000")).then(n=>{var t;let r=n.filter(n=>(null==n?void 0:n.cortarNo)===e);return null==r?void 0:null===(t=r[0])||void 0===t?void 0:t.cortarName}):"전체",{name:"".concat(n," > ").concat(t," > ").concat(i),value:e})},makeUseText=e=>{let n=[],t=[],r=i.Li.filter(e=>e.value.includes("A")).length-1,a=i.Li.filter(e=>e.value.includes("B")).length-1,l=i.Li.filter(e=>e.value.includes("C")).length-1,o=i.Li.filter(e=>e.value.includes("D")).length-1;null==e||e.map(e=>{let t=i.Li.find(n=>n.value===e);t&&n.push(t.name)});let c=n.filter(e=>e.includes("주거용")),s=n.filter(e=>e.includes("토지")),u=n.filter(e=>e.includes("산업용")),p=n.filter(e=>e.includes("상업/업무용"));return t=r===c.length?[...t,"주거용 > 전체"]:[...t,...c],t=a===s.length?[...t,"토지 > 전체"]:[...t,...s],t=l===u.length?[...t,"산업용 > 전체"]:[...t,...u],0===(t=o===p.length?[...t,"상업/업무용 > 전체"]:[...t,...p]).length&&t.push("전체"),t},makeConterForceTextBefore=e=>{let n="전체";switch(e){case 1:n="없음";break;case 2:n="있음";break;case 3:n="미상"}return n},makeConterForceText=e=>{let n=[];return null==e||e.map(e=>{switch(e){case 1:n.push("대항력 없음");break;case 2:n.push("대항력 있음");break;case 3:n.push("미상")}}),0===n.length&&n.push("전체"),n},makeMasterItemText=e=>{let n=[];return null==e||e.map(e=>{switch(e){case 1:n.push("유치권");break;case 2:n.push("분묘기지권");break;case 3:n.push("법정지상권");break;case 4:n.push("위반건축물");break;case 5:n.push("농취증필요");break;case 6:n.push("토지만입찰");break;case 7:n.push("건물만입찰");break;case 8:n.push("토지별도등기");break;case 9:n.push("지분매각");break;case 10:n.push("대지권미등기");break;case 11:n.push("HUG 임차권 인수조건 변경");break;case 12:n.push("가등기");break;case 13:n.push("가처분")}}),0===n.length&&n.push("전체"),n},makeStatusText=e=>{let n=[];return null==e||e.map(e=>{switch(e){case 2:n.push("진행중");break;case 3:n.push("매각");break;case 4:n.push("기타");break;case 5:n.push("변경");break;case 6:n.push("유찰(정지)");break;case 7:n.push("기각");break;case 8:n.push("취하");break;case 9:n.push("취소");break;case 10:n.push("입찰마감");break;case 11:n.push("입찰중");break;case 12:n.push("입찰준비중")}}),0===n.length&&n.push("전체"),n},makeSkpText=(e,n)=>{let t=[];switch(e){case 0:t.push("전체");break;case 1:t.push("신건");break;case 2:t.push("유찰")}if(2===e){let e=""===n[1]?"최대":"".concat(n[1],"회"),r="".concat(n[0],"회")+" ~ "+"".concat(e);t.push(r)}return t},makeDueDateText=e=>{let n="전체";return""!==e[0]&&(n=e[0]+" ~ "+e[1]),n.includes("null")&&(n="전체"),n},makePriceText=e=>{let n="전체";return""!==e[1]&&(n=(""===e[0]?"0":(0,a.Z)(Number(e[0])))+" ~ "+(0,a.Z)(Number(e[1]))),null==e[0]&&(null==e[1]?n="전체":n.replace("null","0")),n}}
1,34010:function(e,n){n.Z={src:"/_next/static/media/leftArrowIcon.2400e170.svg",height:18,width:16,blurWidth:0,blurHeight:0}},93172:function(e,n){n.Z={src:"/_next/static/media/rightArrowDisabledIcon.af45fd1c.svg",height:18,width:16,blurWidth:0,blurHeight:0}},91796:function(e,n){n.Z={src:"/_next/static/media/rightArrowIcon.e5051d6c.svg",height:18,width:16,blurWidth:0,blurHeight:0}}}]);

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.