티스토리 수익 글 보기

티스토리 수익 글 보기

!function(){try{var e=”undefined”!=typeof window?window:”undefined”!=typeof global?global:”undefined”!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=”c467b58b-9ee1-4032-830a-c707d9b7177b”,e._sentryDebugIdIdentifier=”sentry-dbid-c467b58b-9ee1-4032-830a-c707d9b7177b”)}catch(e){}}();”use strict”;(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3633],{97109:function(e,t,i){i.d(t,{W:function(){return l}});var n=i(65956),o=i(67294);let l=()=>{let e=(0,n._)((0,o.useState)(!1),2),t=e[0],i=e[1];return(0,o.useEffect)(()=>{var e,t;i((null===(e=window)||void 0===e?void 0:e.self)!==(null===(t=window)||void 0===t?void 0:t.top))},[]),t}},38188:function(e,t,i){i.d(t,{l:function(){return n}});function n(e){let t,i,n;if(!e)return 0;let o=!1,l=!1,r=null;if(o=0==e.indexOf(“#”),l=0==e.indexOf(“rgb”),o&&(r=e.substr(1).match(7==e.length?/(\S{2})/g:/(\S{1})/g))){var a,s,d;t=parseInt(null!==(a=r[0])&&void 0!==a?a:””,16),i=parseInt(null!==(s=r[1])&&void 0!==s?s:””,16),n=parseInt(null!==(d=r[2])&&void 0!==d?d:””,16)}return(l&&(r=e.match(/(\d+){3}/g))&&(t=+Number(r[0]),i=+Number(r[1]),n=+Number(r[2])),”number”==typeof t&&”number”==typeof i&&”number”==typeof n)?(299*t+587*i+114*n)/1e3:0}},38330:function(e,t,i){i.d(t,{y:function(){return n}});function n(e){throw Error(“Unexpected object: “+e)}},43622:function(e,t,i){var n=i(19521);let o=(0,n.iv)([“ol{.ql-indent-1{margin-left:13px;}.ql-indent-2{margin-left:33px;}.ql-indent-3{margin-left:53px;}.ql-indent-4{margin-left:73px;}.ql-indent-5{margin-left:93px;}.ql-indent-6{margin-left:113px;}.ql-indent-7{margin-left:123px;}.ql-indent-8{margin-left:153px;}}ul{.ql-indent-1{margin-left:17px;list-style:circle !important;}.ql-indent-2{margin-left:37px;list-style:circle !important;}.ql-indent-3{margin-left:57px;list-style:circle !important;}.ql-indent-4{margin-left:77px;list-style:circle !important;}.ql-indent-5{margin-left:97px;list-style:circle !important;}.ql-indent-6{margin-left:117px;list-style:circle !important;}.ql-indent-7{margin-left:137px;list-style:circle !important;}.ql-indent-8{margin-left:157px;list-style:circle !important;}}.ql-align-center{text-align:center;}.ql-align-right{text-align:right;}.ql-align-justify{text-align:justify;}”]),l=(0,n.iv)([“*{font-size:14px;font-weight:400;line-height:22px;font-family:’Noto Sans Korean’,sans-serif !important;-webkit-font-smoothing:antialiased !important;-moz-osx-font-smoothing:grayscale !important;box-sizing:border-box !important;word-break:break-all;}html{height:100% !important;overflow:scroll;overflow:overlay !important;}body{padding:12px 8px;margin:0 auto;width:100%;max-width:920px;box-sizing:border-box !important;}img{max-width:100%;height:auto;}p,ol,ul,h1,h2,h3,h4,h5,h6,span,strong,em,a,s,li{margin:0px;background:none !important;}ol,ul{padding-inline-start:24px;}strong,strong *{font-weight:700;}img{max-width:100%;height:auto;}strong,strong *{color:inherit;}em,em *{color:inherit;}a,a *{color:#5f3cfa;text-decoration:underline;}hr{border:none;height:1px;background:#dddfe4;margin:0;}.mce-preview-object{width:100%;max-width:918px;border:1px solid #f0f0f0;margin:0px;}.mce-content-body [contentEditable=’false’][data-mce-selected]{outline:none;}.mce-content-body:not([dir=’rtl’])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:8px;}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:#9fa2af;}”]),r=(0,n.iv)([“h1,h1 *{font-size:28px;line-height:42px;}h2,h2 *{font-size:24px;line-height:34px;}h3,h3 *{font-size:20px;line-height:30px;}h4,h4 *{font-size:18px;line-height:28px;}”]),a=(0,n.iv)([“*{font-size:13px;font-weight:400;line-height:22px;font-family:’Noto Sans Korean’,sans-serif !important;-webkit-font-smoothing:antialiased !important;-moz-osx-font-smoothing:grayscale !important;box-sizing:border-box !important;word-break:break-all;}html{height:100% !important;overflow:scroll;overflow:overlay !important;}body{padding:12px 8px;margin:0 auto;width:100%;max-width:920px;box-sizing:border-box !important;}img{max-width:100%;height:auto;}p,ol,ul,h1,h2,h3,h4,h5,h6,span,strong,em,a,s,li{margin:0px;background:none !important;}ol,ul{padding-inline-start:24px;}strong,strong *{font-weight:700;}img{max-width:100%;height:auto;}strong,strong *{color:inherit;}em,em *{color:inherit;}a,a *{color:#5f3cfa;text-decoration:underline;}hr{border:none;height:1px;background:#dddfe4;margin:0;}.mce-preview-object{width:100%;max-width:918px;border:1px solid #f0f0f0;margin:0px;}.mce-content-body [contentEditable=’false’][data-mce-selected]{outline:none;}.mce-content-body:not([dir=’rtl’])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:8px;}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:#9fa2af;}h1,h1 *{font-size:28px;line-height:42px;font-weight:600;}h2,h2 *{font-size:24px;line-height:34px;font-weight:600;}h3,h3 *{font-size:20px;line-height:30px;font-weight:600;}h4,h4 *{font-size:18px;line-height:28px;font-weight:600;}”]),s=(0,n.iv)([“font-family:’Pretendard’,sans-serif;box-shadow:none !important;word-break:keep-all;word-wrap:break-word;”]),d=(0,n.iv)([“p,ol,ul,h1,h2,h3,h4,h5,h6{color:inherit;margin:0px;}ol,ul{list-style-position:inside;padding-inline-start:24px;margin:4px 0;}h3{font-weight:700;font-size:38px;line-height:1.5;}h4{font-weight:700;font-size:28px;line-height:1.5;}h5{font-weight:700;font-size:24px;line-height:1.5;}h6{font-weight:400;font-size:20px;line-height:1.6;}p,li,td{font-size:15px;line-height:1.6;}li > *:not(ol,ul){display:inline;}strong,strong *{font-weight:700 !important;}width:100%;cursor:text;a,a:hover{color:inherit;}.mce-content-body [contentEditable=’false’][data-mce-selected]{outline:none;}.mce-content-body:not([dir=’rtl’])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:0px;}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:#a8aab6;cursor:text;}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{font-family:’Pretendard’;color:#a8aab6;cursor:text;font-size:15px;line-height:24px;}”]),c=(0,n.iv)([“*{font-family:’Pretendard’ !important;font-size:18px;line-height:32px;word-break:keep-all;word-wrap:break-word;}body{color:#666872;padding:20px 8px 100px 8px;}table{max-width:100%;}iframe{max-width:100%;}h1,h2,h3,h4,h5,h6{margin-bottom:0;padding:14px 0;}p{min-height:20px;}p,p *{font-size:18px;line-height:32px;margin:0;}h1,h1 *{font-size:32px;line-height:45px;font-weight:600;}h2,h2 *{font-size:26px;line-height:36px;font-weight:600;}h3,h3 *{font-size:22px;line-height:31px;font-weight:600;}h4,h4 *{font-size:18px;line-height:28px;font-weight:600;}hr{border:none;height:1px;background:#dddfe4;margin:40px 0;}li,li *{font-size:18px !important;line-height:29px;}li + li{margin-top:8px;}li > ul,li > ol{margin-top:8px;}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{font-family:’Pretendard’ !important;font-size:18px;line-height:32px;cursor:text;}”]),p={default_editor:(0,n.iv)([“”,” “,” “,””],l,r,o),default_preview:(0,n.iv)([“”,” “,” “,””],l,r,o),custom_agreement:(0,n.iv)([“”,””],a),homepage_bulder_editor_text:(0,n.iv)([“”,” “,””],s,d),homepage_builder_text:(0,n.iv)([“”,””],s),job_posting_content:(0,n.iv)([“”,” “,” “,” “,””],l,r,o,c)};t.Z=p},77040:function(e,t,i){i.d(t,{Z:function(){return w}});var n=i(85893),o=i(37054),l=i(11956),r=i(67294),a=i(19521),s=i(11360),d=i(3401),c=i(6605),p=e=>{let t=e.color,i=e.size,o=void 0===i?”md”:i;return(0,n.jsxs)(n.Fragment,{children:[“md”===o&&(0,n.jsxs)(“svg”,{width:”19″,height:”24″,viewBox:”0 0 19 24″,fill:”none”,xmlns:”http://www.w3.org/2000/svg”,children:[(0,n.jsx)(“path”,{fillRule:”evenodd”,clipRule:”evenodd”,d:”M7.21601 1.12203C2.94601 2.07503 -0.0479885 6.09403 0.120012 10.466C0.252012 13.9 2.35901 16.972 8.62801 22.999C9.02401 23.379 9.65801 23.381 10.055 23C16.539 16.767 18.571 13.695 18.571 10.113C18.571 4.32303 13.238 -0.221967 7.21601 1.12303″,fill:t||”#5F3CFA”}),(0,n.jsx)(“circle”,{cx:”9.5″,cy:”10″,r:”3″,fill:”white”})]}),”sm”===o&&(0,n.jsxs)(“svg”,{width:”16″,height:”18″,viewBox:”0 0 16 18″,fill:”none”,xmlns:”http://www.w3.org/2000/svg”,children:[(0,n.jsx)(“path”,{fillRule:”evenodd”,clipRule:”evenodd”,d:”M0.688822 7.75889C0.558311 4.3625 2.8842 1.24033 6.20135 0.499996C10.8795 -0.544868 15.0225 2.98669 15.0225 7.48466C15.0225 10.2673 13.4439 12.6538 8.40683 17.4959C8.09842 17.7919 7.6059 17.7904 7.29827 17.4952C2.42819 12.8131 0.791366 10.4266 0.688822 7.75889Z”,fill:t||”#5F3CFA”}),(0,n.jsx)(“circle”,{cx:”8″,cy:”7″,r:”2.6″,fill:”white”})]})]})};let h=(0,a.ZP)(c.Z).attrs(()=>({size:15,bold:!0})).withConfig({displayName:”GoogleMapOverlay__MarkerLocationName”,componentId:”sc-b0e30c7d-0″})([“max-width:320px;”]),g=a.ZP.div.withConfig({displayName:”GoogleMapOverlay__OverlayItem”,componentId:”sc-b0e30c7d-1″})([“display:flex;gap:8px;align-items:center;height:max-content;background:rgba(255,255,255,0.8);border:”,”;box-sizing:border-box;border-radius:50px;padding:8px 16px 8px 12px;”,””],e=>e.color?`1px solid ${e.color}`:”1px solid #5F3CFA”,e=>e.viewtype===l.P.MOBILE&&(0,a.iv)([“padding:4px 12px 4px 8px;gap:4px;”,”{font-size:10px;line-height:10px;}”],h));var x=e=>{let t=e.locations,i=e.viewtype,a=e.color,c=(0,s.c)().getLanguageValue;return(0,n.jsx)(r.Fragment,{children:t.map((e,t)=>{var r,s;let x=c(e,”placeName”);return(0,n.jsx)(o.Rj,{position:{lat:null!==(r=e.y)&&void 0!==r?r:0,lng:null!==(s=e.x)&&void 0!==s?s:0},mapPaneName:o.xT.OVERLAY_MOUSE_TARGET,children:(0,n.jsxs)(g,{color:null!=a?a:d.Z.PURPLE_6,viewtype:i,children:[(0,n.jsx)(p,{color:null!=a?a:d.Z.PURPLE_6,size:i===l.P.MOBILE?”sm”:”md”}),(0,n.jsx)(h,{children:x})]})},t)})})};let f=a.ZP.div.withConfig({displayName:”GoogleMap__LoadingPlaceHolder”,componentId:”sc-58272212-0″})([“width:100%;height:100%;background:”,”;”],d.Z.GRAY_8),m=a.ZP.div.withConfig({displayName:”GoogleMap__GoogleMapContainer”,componentId:”sc-58272212-1″})([“width:100%;height:”,”;border-radius:8px;overflow:hidden;isolation:isolate;will-change:transform;”],e=>e.viewtype===l.P.MOBILE?”220px”:”100%”),u={width:”100%”,height:”100%”};var w=(0,r.forwardRef)((e,t)=>{let i=e.locations,l=e.color,a=e.viewtype,s=e.isLoaded,d=e.onLoad;return(0,n.jsx)(r.Fragment,{children:s?(0,n.jsx)(m,{viewtype:a,children:(0,n.jsx)(o.b6,{onLoad:d,ref:t,mapContainerStyle:u,zoom:16,options:{maxZoom:18,minZoom:0,gestureHandling:”cooperative”},children:(0,n.jsx)(x,{locations:i,color:l,viewtype:a})})}):(0,n.jsx)(f,{})})})},29665:function(e,t,i){i.d(t,{ZP:function(){return H},YP:function(){return V}});var n=i(65956),o=i(85893),l=i(37054),r=i(83321);let a={lng:127.5773931680816,lat:35.933265771659286},s=(e,t,i)=>{let n=new google.maps.LatLngBounds;if(0===e.length){i.current=t,t.setCenter(a),t.setZoom(7);return}e.forEach(e=>{var t;n.extend(new google.maps.LatLng(null!==(t=e.y)&&void 0!==t?t:0,e.x))}),i.current=t,t.fitBounds(n)},d=(e,t)=>{var i,n;let o=new google.maps.LatLngBounds;Array.isArray(e)?e.forEach(e=>{var t;o.extend(new google.maps.LatLng(null!==(t=e.y)&&void 0!==t?t:0,e.x))}):o.extend(new google.maps.LatLng(null!==(i=e.y)&&void 0!==i?i:0,e.x));try{null===(n=t.current)||void 0===n||n.fitBounds(o)}catch(e){(0,r.Z)(e,{level:”debug”})}};var c=i(11956),p=i(67294),h=i(19521),g=i(79765),x=i(11360),f=i(3401),m=i(93431),u=i(38292),w=i(60680),v=i(6605),b=i(50416),y=i(90882);let L=”location-list_container”,_=(0,h.ZP)(u.Z).withConfig({displayName:”LocationList__TitleInner”,componentId:”sc-946ffc25-0″})([“width:100%;”]),C=h.ZP.div.withConfig({displayName:”LocationList__Container”,componentId:”sc-946ffc25-1″})([“width:100%;height:100%;display:flex;flex-direction:column;border:1px solid “,”;border-radius:8px;overflow:hidden;background-color:”,”;”],f.Z.PURPLE_GRAY_3,f.Z.WHITE),j=h.ZP.span.withConfig({displayName:”LocationList__Placeholder”,componentId:”sc-946ffc25-2″})([“width:100%;padding:16px;line-height:160%;margin:auto auto;white-space:pre-line;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;”]),P=h.ZP.div.withConfig({displayName:”LocationList__AdreessCopyIcon”,componentId:”sc-946ffc25-3″})([“width:18px;min-width:18px;height:18px;min-height:18px;justify-content:center;align-items:center;background:”,”;border:1px solid “,”;border-radius:3px;display:none;position:absolute;top:50%;left:100%;transform:translateY(-50%);”],f.Z.WHITE,f.Z.PURPLE_GRAY_3),I=h.ZP.li.withConfig({displayName:”LocationList__Item”,componentId:”sc-946ffc25-4″})([“display:flex;align-items:center;width:100%;padding:16px;border-bottom:1px solid “,”;cursor:pointer;transition:background 0.18s;”,”;@media (hover:hover) and (pointer:fine){:hover{“,”{display:flex !important;}}}”,””],f.Z.PURPLE_GRAY_3,e=>e.isSingleLocationSelected?(0,h.iv)([“cursor:default;”]):(0,h.iv)([“@media (hover:hover) and (pointer:fine){:hover{background:”,”;}}”],f.Z.PURPLE_GRAY_1),P,e=>e.viewtype===c.P.MOBILE&&(0,h.iv)([“”,”{display:flex !important;}”],P)),E=h.ZP.ul.withConfig({displayName:”LocationList__List”,componentId:”sc-946ffc25-5″})([“margin:0;padding:0;width:100%;”,””],e=>e.isSingleLocationSelected&&(0,h.iv)([“”,”{border-bottom:none;}”],I)),k=h.ZP.div.withConfig({displayName:”LocationList__Info”,componentId:”sc-946ffc25-6″})([“display:flex;flex-direction:column;align-items:flex-start;margin-right:auto;overflow:hidden;width:100%;”]),Z=h.ZP.div.withConfig({displayName:”LocationList__Title”,componentId:”sc-946ffc25-7″})([“display:flex;justify-content:space-between;align-items:center;font-weight:bold;font-size:16px;line-height:150%;overflow:hidden;width:100%;span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:”,”;}”],e=>e.color&&e.color),R=h.ZP.div.withConfig({displayName:”LocationList__AddressContainer”,componentId:”sc-946ffc25-8″})([“display:flex;align-items:center;overflow:hidden;width:100%;margin-top:4px;”,” + &{margin-top:9px;}”],Z),N=h.ZP.span.withConfig({displayName:”LocationList__Address”,componentId:”sc-946ffc25-9″})([“font-family:’Pretendard’,sans-serif;position:relative;display:flex;justify-content:space-between;align-items:center;white-space:pre-wrap;word-break:break-all;font-size:13px;line-height:140%;color:”,”;max-width:calc(100% – 26px);padding-right:8px;cursor:pointer;&:hover{color:”,”;”,”{background:”,”;}}”],f.Z.GRAY_8,f.Z.GRAY_9,P,f.Z.GRAY_3),T=(0,h.ZP)(v.Z).attrs({size:13,color:f.Z.GRAY_8}).withConfig({displayName:”LocationList__PhoneNumber”,componentId:”sc-946ffc25-10″})([“display:flex;align-items:center;overflow:hidden;width:95%;margin-top:4px;”]);var A=e=>{let t=e.locations,i=e.selectedLocations,l=e.viewtype,r=e.color,a=e.onClickPlace,s=(0,b.q)().translate,d=(0,x.c)().getLanguageValue,h=(0,g.Z)().openToast,u=(0,n._)((0,p.useState)(null),2),A=u[0],z=u[1],M=(0,p.useMemo)(()=>1===i.length,[i]);return(0,o.jsx)(C,{id:L,children:t.length?(0,o.jsx)(m.Z,{autoHide:!0,padding:0,borderradius:”0px”,children:(0,o.jsx)(E,{isSingleLocationSelected:M,children:i.map((e,t)=>{let i=d(e,”placeName”),n=d(e,”addressName”);return(0,o.jsx)(I,{viewtype:l,isSingleLocationSelected:M,onClick:()=>{M||a(t)},children:(0,o.jsxs)(k,{children:[(0,o.jsx)(Z,{color:i?void 0:f.Z.GRAY_6,children:(0,o.jsxs)(_,{children:[(0,o.jsx)(w.Z,{name:”Location18″,color:r,style:{marginRight:8}}),(0,o.jsx)(“span”,{children:i||”건물명 없음”})]})}),(0,o.jsx)(R,{children:(0,o.jsxs)(N,{onClick:e=>{e.stopPropagation(),navigator.clipboard.writeText(n).then(()=>{h(s(“주소가 복사되었습니다.”))})},onMouseEnter:()=>z(t),onMouseLeave:()=>z(null),children:[n,(0,o.jsx)(y.Z,{content:l===c.P.DESKTOP?”복사”:null,placement:”bottom”,getPopupContainer:e=>{let t=document.getElementById(L);return null!=t?t:e},autoAdjustOverflow:!1,open:l===c.P.DESKTOP&&A===t,align:{offset:[0,-2]},style:{pointerEvents:”none”},children:(0,o.jsx)(P,{children:(0,o.jsx)(w.Z,{name:”Copy12″,color:f.Z.GRAY_6})})})]})}),e.phone&&(0,o.jsxs)(T,{children:[(0,o.jsx)(w.Z,{name:”Phone12″,color:f.Z.GRAY_8,style:{marginRight:6}}),(0,o.jsx)(“span”,{children:e.phone})]})]})},t)})})}):(0,o.jsxs)(j,{children:[(0,o.jsx)(w.Z,{name:”Location20″,color:f.Z.GRAY_6}),(0,o.jsx)(v.Z,{size:14,color:f.Z.GRAY_6,children:”등록된 장소가 없습니다.”})]})})},z=i(38188),M=i(35430);let S=h.ZP.div.withConfig({displayName:”LocationChips__LocationChipsWrapper”,componentId:”sc-9674165b-0″})([“width:100%;display:flex;gap:8px;flex-wrap:wrap;”]),B=(0,h.ZP)(v.Z).attrs({bold:!0,color:f.Z.GRAY_8}).withConfig({displayName:”LocationChips__LocationChipText”,componentId:”sc-9674165b-1″})([“z-index:1;”]),O=h.ZP.div.withConfig({displayName:”LocationChips__LocationChip”,componentId:”sc-9674165b-2″})([“flex:0 0 max-content;display:flex;justify-content:center;align-items:center;padding:8px 16px;border:1px solid “,”;border-radius:100px;background:”,”;cursor:pointer;position:relative;::before{content:”;display:none;position:absolute;inset:0;background:rgba(0,0,0,0.1);border-radius:100px;cursor:pointer;}@media (hover:hover) and (pointer:fine){:hover{::before{display:block;z-index:1;}}}”,””],f.Z.GRAY_4,f.Z.WHITE,e=>{let t=e.selected,i=e.color,n=e.isColorBright;return t&&(0,h.iv)([“background:”,”;”,”{color:”,”;}”],i,B,n?f.Z.GRAY_8:f.Z.WHITE)}),G=h.ZP.div.withConfig({displayName:”LocationChips__LocationChipsWrapperMobile”,componentId:”sc-9674165b-3″})([“width:calc(100% + 24px);display:flex;gap:8px;flex-wrap:nowrap;padding-right:24px;overflow:scroll;-ms-overflow-style:none;scrollbar-width:none;&::-webkit-scrollbar{display:none;}”]);var Y=e=>{let t=e.locations,i=e.chipColor,n=e.selectedLocationChipIndex,l=e.setSelectedLocationChipIndex,r=e.viewtype,a=()=>{l(null)},s=e=>{if(n===e){a();return}l(e)},d=(0,b.q)().translate,h=(0,M.ZP)().selectedLanguage,g=(0,x.c)().getLanguageValue,f=(0,p.useMemo)(()=>(0,z.l)(i)>170,[i]),m=(0,p.useMemo)(()=>t.map(e=>g(e,”placeName”)),[t,h]);return t.length<=1?null:(0,o.jsxs)(o.Fragment,{children:[(r===c.P.DESKTOP||r===c.P.TABLET)&&(0,o.jsxs)(S,{children:[(0,o.jsx)(O,{selected:null==n,color:i,isColorBright:f,onClick:a,children:(0,o.jsx)(B,{size:16,children:d("전체")})}),m.map((e,t)=>(0,o.jsx)(O,{selected:n===t,color:i,isColorBright:f,onClick:()=>{s(t)},children:(0,o.jsx)(B,{size:16,children:e})},t))]}),r===c.P.MOBILE&&(0,o.jsxs)(G,{children:[(0,o.jsx)(O,{selected:null==n,color:i,isColorBright:f,onClick:a,children:(0,o.jsx)(B,{size:14,children:d(“전체”)})}),m.map((e,t)=>(0,o.jsx)(O,{selected:n===t,color:i,isColorBright:f,onClick:()=>{s(t)},children:(0,o.jsx)(B,{size:14,children:e})},t))]})]})},q=i(77040);let D=h.ZP.div.withConfig({displayName:”Map__Container”,componentId:”sc-75c4e966-0″})([“display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;user-select:none;”]),F=h.ZP.div.withConfig({displayName:”Map__Content”,componentId:”sc-75c4e966-1″})([“width:100%;display:flex;flex-direction:column;gap:”,”;”],e=>e.viewtype===c.P.MOBILE?”24px”:”40px”),W=h.ZP.div.withConfig({displayName:”Map__MapWrapper”,componentId:”sc-75c4e966-2″})([“width:100%;height:”,”;display:flex;align-items:flex-start;”,” “,””],e=>e.viewtype===c.P.MOBILE?e.isSinglePlace?”max-content”:”auto”:”470px”,e=>e.viewtype==c.P.MOBILE&&(0,h.iv)([“flex-direction:column-reverse;”]),e=>{let t=e.isSinglePlace,i=e.viewtype;return t&&(0,h.iv)([“flex-direction:”,”;gap:”,”;”,”{width:100%;height:fit-content;”,”{border:none;}}”],i===c.P.MOBILE?”column-reverse”:”column”,i===c.P.MOBILE?”0px”:”16px”,U,I)}),U=h.ZP.div.withConfig({displayName:”Map__List”,componentId:”sc-75c4e966-3″})([“width:320px;min-width:320px;height:100%;margin-right:8px;display:flex;flex-direction:column;position:relative;justify-content:space-between;”,”;”,”;”],e=>e.viewtype==c.P.TABLET&&(0,h.iv)([“margin-right:24px;”]),e=>e.viewtype===c.P.MOBILE&&(0,h.iv)([“margin:8px 0 0 0;height:auto;max-height:470px;width:100%;min-width:100%;”])),V=(e,t)=>{let i=(0,n._)((0,p.useState)([“places”,”geometry”]),1)[0],o=(0,n._)((0,p.useState)(null),2),r=o[0],a=o[1],c=(0,p.useMemo)(()=>{let t=e[r];return null==t?e:[t]},[e.length,r]),h=(0,l.Ji)({googleMapsApiKey:”AIzaSyDgsWp70nzXoGHmpLp6iGd2FBfN4iTnLzM”,libraries:i}),g=h.isLoaded,x=h.loadError,f=(0,p.useMemo)(()=>1===c.length,[c.length]),m=(0,p.useCallback)(i=>{s(e,i,t)},[e]),u=(0,p.useCallback)(e=>{a(e)},[t,t.current]);return(0,p.useEffect)(()=>{if(g){if(null==r)d(e,t);else{let i=e[r];i&&d(i,t)}}},[r]),{selectedPlaceChipIndex:r,setSelectedPlaceChipIndex:a,isSinglePlace:f,selectedPlaces:c,onLoad:m,onClickPlace:u,loadError:x,isGoogleMapApiLoaded:g}};var H=e=>{let t=e.locations,i=e.color,n=e.viewtype,l=(0,p.useRef)(null),r=V(t,l),a=r.loadError,s=r.selectedPlaceChipIndex,d=r.setSelectedPlaceChipIndex,c=r.isSinglePlace,h=r.selectedPlaces,g=r.onClickPlace,x=r.onLoad,f=r.isGoogleMapApiLoaded;return a?(0,o.jsx)(“div”,{children:”Map cannot be loaded right now, sorry.”}):(0,o.jsx)(D,{children:(0,o.jsxs)(F,{viewtype:n,children:[(0,o.jsx)(Y,{locations:t,selectedLocationChipIndex:s,setSelectedLocationChipIndex:d,chipColor:i,viewtype:n}),(0,o.jsxs)(W,{viewtype:n,isSinglePlace:c,children:[(0,o.jsx)(U,{viewtype:n,children:(0,o.jsx)(A,{locations:t,selectedLocations:h,color:i,viewtype:n,onClickPlace:g})}),(0,o.jsx)(q.Z,{locations:h,color:i,viewtype:n,ref:l,isLoaded:f,onLoad:x})]})]})})}},9183:function(e,t,i){i.d(t,{Bj:function(){return p},WR:function(){return h},Wj:function(){return g}});var n=i(50416),o=i(11360),l=i(35430),r=i(4206),a=i(80778),s=i(30381),d=i.n(s),c=i(67294);r.ko.FULL_TIME,r.ko.CONTRACTOR,r.ko.INTERN,r.ko.PART_TIME,r.ko.FREELANCER,r.ko.DISPATCHED,r.ko.DAY_LABOR,r.ko.TRAINEE;let p={[r.ko.FULL_TIME]:”정규직”,[r.ko.CONTRACTOR]:”계약직”,[r.ko.INTERN]:”인턴”,[r.ko.PART_TIME]:”아르바이트”,[r.ko.FREELANCER]:”프리랜서”,[r.ko.DISPATCHED]:”파견직”,[r.ko.DAY_LABOR]:”일용직”,[r.ko.TRAINEE]:”교육생”},h={[r.re.NEWCOMER]:”신입”,[r.re.EXPERIENCED]:”경력”,[r.re.IRRELEVANT]:”경력 무관”},g=(e,t)=>{let i=(0,l.ZP)().selectedLanguage,s=(0,o.c)().getLanguageValue,h=(0,n.q)().translate,g=(0,a.U)();return(0,c.useMemo)(()=>{var i,n,o;if(!e)return[];let l=[];if(!(null==t?void 0:t.exclusiveTargetInfos.affiliation)&&(null===(i=e.affiliation)||void 0===i?void 0:i.title)&&l.push(s(e.affiliation,”title”)),!(null==t?void 0:t.exclusiveTargetInfos.jobGroup)&&(null===(n=e.jobGroup)||void 0===n?void 0:n.title)&&l.push(s(e.jobGroup,”title”)),!(null==t?void 0:t.exclusiveTargetInfos.jobTask)&&(null===(o=e.jobTask)||void 0===o?void 0:o.title)&&l.push(s(e.jobTask,”title”)),!(null==t?void 0:t.exclusiveTargetInfos.career)&&e.career){let t=g(e.career);l.push(t)}if(!(null==t?void 0:t.exclusiveTargetInfos.employmentType)&&e.employmentType&&Array.isArray(e.employmentType)&&e.employmentType.length){let t=e.employmentType.map(e=>h(p[e])).join(” \xb7 “);l.push(t)}if(!(null==t?void 0:t.exclusiveTargetInfos.jobLocations)&&e.jobLocations&&Array.isArray(e.jobLocations)&&e.jobLocations.length){let t=e.jobLocations.map(e=>s(e,”placeName”)).join(” \xb7 “);l.push(t)}return(null==t?void 0:t.exclusiveTargetInfos.deadline)||(e.status===r.VV.CLOSED||e.status===r.VV.DISABLED?l.push(h(“지원 마감”)):e.deadlineValue?l.push(h(“일 마감”,d()(e.deadlineValue).format(“YYYY.MM.DD”))):e.deadlineType===r.bL.UNTIL_FILLED?l.push(h(“채용 시 마감”)):l.push(h(“상시 모집”))),l},[e,i])}},80778:function(e,t,i){i.d(t,{U:function(){return r}});var n=i(50416),o=i(9183),l=i(4206);let r=()=>{let e=(0,n.q)().translate,t=e=>{if(!e)return””;let t=e.over,i=e.below;return t||i?t?t===i?[“x년”,t]:i?[`x~y년`,t,i]:[`년 이상`,t]:[`년 이하`,i]:[“”]};return i=>{let n=i.type;return n===l.re.EXPERIENCED?`${e(o.WR[n])} ${e(…t(i.range))}`:e(o.WR[n])}}}}]);