1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4237,2511],{6906:function(t,e,n){"use strict";n.d(e,{I:function(){return o}});var r=n(5543),c=n(9515),i=n(5944),o=function(t){var e=t.children,n=t.color,o=t.style,u=t.alt;return(0,i.tZ)("span",{className:"text-badge","aria-label":u&&u,css:[(0,c.c2)(r.O9.feature.service[n]?r.O9.feature.service[n]:r.O9.feature.status[n]),o,"",""],children:e})}},1158:function(t,e,n){"use strict";n.d(e,{D:function(){return h}});var r=n(29),c=n(7794),i=n.n(c),o=n(2710),u=n(6196),a=n(7976),s=n(2299),l=n(2484),f=n(1163),d=n(7294),v=n(5944),h=function(){var t=(0,f.useRouter)().query.id,e=(0,d.useState)(),n=e[0],c=e[1],h=function(){var t=(0,r.Z)(i().mark((function t(e){var n;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,o.O2)(e);case 2:null!==(n=t.sent)&&void 0!==n&&n.differResponseData&&c(n.differResponseData.noticebbsItem);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return(0,d.useEffect)((function(){t&&h(t)}),[t]),(0,v.tZ)(v.HY,{children:n&&(0,v.BX)(l.$0,{children:[(0,v.tZ)(s.lv,{border:!0,disabled:!0,data:{href:"#",subject:n.title,eyebrow:n.csCenterCategoryNm,summary:(0,v.tZ)(a.ER,{children:["\ub4f1\ub85d ".concat((0,u.t6)(n.createdt,"YYYY-MM-DD")," ~ \uc870\ud68c\uc218 ").concat(n.viewcnt)]})}}),(0,v.tZ)(l.Bt,{padding:"none",data:n.content})]})})}},9364:function(t,e,n){"use strict";var r=n(9538),c=n(9277),i=n(7571),o=n(5944);e.Z=function(t){var e=t.children,n=t.title,u=t.disabledSearch;return(0,o.BX)("div",{css:i.vw,children:[(0,o.tZ)(c.bU,{disabledSearch:u,children:n}),(0,o.tZ)(c.fv,{}),(0,o.tZ)("main",{children:e}),(0,o.tZ)(r.V,{}),(0,o.tZ)(c.$_,{})]})}},2789:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return S}});var r=n(9008),c=n.n(r),i=n(9364),o=n(7812),u=n(29),a=n(7794),s=n.n(a),l=n(2710),f=n(6196),d=n(8958),v=n(2299),h=n(2484),b=n(7294),m=n(6906),Z=n(7976),p=n(5364),y=n(5944),w=(0,b.memo)((function(t){var e=t.notice;return(0,y.tZ)(v.lv,{data:{href:"".concat(p.$S.path,"/").concat(e.noticeId),eyebrow:e.csCenterCategoryNm,subject:(0,y.BX)(y.HY,{children:[(0,y.BX)("strong",{className:"notice-title",children:[" ",e.title]}),1===e.isMain&&(0,y.tZ)("div",{className:"notice-badge",children:(0,y.tZ)(m.I,{color:"ad",children:"\uacf5\uc9c0"})})]}),summary:(0,y.tZ)(Z.ER,{children:["\ub4f1\ub85d ".concat((0,f.t6)(e.createdt,"YYYY-MM-DD")),"\uc870\ud68c\uc218 ".concat(e.viewcnt)]})}})})),g=function(){var t,e=(0,b.useState)(1),n=e[0],r=e[1],c=(0,b.useState)(!1),i=c[0],a=c[1],m=(0,b.useState)({items:[],totalCount:0}),Z=m[0],p=m[1],g=(0,b.useRef)(!0),C=(0,b.useRef)(null),_=function(t){0!==t[0].intersectionRatio&&(t[0].isIntersecting&&g.current&&(g.current=!1,r((function(t){return t+1}))))},S=(0,b.useCallback)((0,u.Z)(s().mark((function t(){var e,r,c;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a(!0),t.next=3,new Promise((function(t){return setTimeout(t,800)}));case 3:return t.next=5,(0,l.hw)(n,f.$5);case 5:c=t.sent,a(!1),null!==(e=c.differResponseData)&&void 0!==e&&null!==(r=e.noticebbsList)&&void 0!==r&&r.items&&(p((function(t){var e,n;return{items:[].concat((0,o.Z)(t.items),(0,o.Z)(c.differResponseData.noticebbsList.items)),totalCount:null===(e=c.differResponseData)||void 0===e||null===(n=e.noticebbsList)||void 0===n?void 0:n.totalCount}})),g.current=!0);case 8:case"end":return t.stop()}}),t)}))),[n]);return(0,b.useEffect)((function(){var t=new IntersectionObserver(_,{threshold:1});return C.current&&t.observe(C.current),Z.totalCount/f.$5<n&&t.disconnect(),function(){return t.disconnect()}}),[Z.totalCount,n]),(0,b.useEffect)((function(){S().then()}),[S]),(0,y.BX)(y.HY,{children:[(0,y.BX)(h.$0,{children:[(0,y.tZ)(v.ve,{border:!0,children:null===(t=Z.items)||void 0===t?void 0:t.map((function(t){return(0,y.tZ)(w,{notice:t},t.noticeId)}))}),(0,y.tZ)(d.g,{loading:i})]}),(0,y.tZ)("div",{ref:C})]})},C=(n(1158),function(){return(0,y.BX)("section",{children:[(0,y.tZ)(c(),{children:(0,y.tZ)("title",{children:"\ub2e5\ud130\ube4c | ".concat(_)})}),(0,y.tZ)(g,{})]})});C.getLayout=function(t){return(0,y.tZ)(i.Z,{title:_,children:t})};var _="\uacf5\uc9c0\uc0ac\ud56d",S=C},4457:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/cscenter/notice",function(){return n(2789)}])},2587:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{Z:function(){return r}})},7812:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(2587);var c=n(2937);function i(t){return function(t){if(Array.isArray(t))return(0,r.Z)(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||(0,c.Z)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},2937:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(2587);function c(t,e){if(t){if("string"===typeof t)return(0,r.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(t,e):void 0}}}},function(t){t.O(0,[8692,2807,6349,2484,7976,2299,9774,2888,179],(function(){return e=4457,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
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.