PageSourceSearch

https://www.esrks-reit.com/_next/static/chunks/808.9fa3607662e697f2.js

js esrks-reit.com collected 2026-10-05 23:00:26 UTC 8,301 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[808],{57:function(e,n,i){i.d(n,{Z:function(){return x}});var l=i(57437),t=i(2265),o=i(69258),r=i(36276),s=i(44787),a=i.n(s),d=i(37361);let u="h-[14px] w-[14px]",c=(0,l.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:u,children:[(0,l.jsx)("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),(0,l.jsx)("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]}),h=(0,l.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:u,children:[(0,l.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),(0,l.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),p=(0,l.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:u,children:(0,l.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})});function x(e){let{items:n,onItemsChange:i,columns:s,renderForm:u,makeNewItem:x,copyItem:v,itemLabel:f,listTitle:m,emptyText:b,getVisible:k,setVisible:g,visibleLabel:j,onRequestSave:w,searchText:y,searchPlaceholder:C,pageSize:N,pageSizeOptions:L}=e,{readOnly:S}=(0,d.YM)(),[E,K]=(0,t.useState)("list"),[_,M]=(0,t.useState)(null),[R,V]=(0,t.useState)(null),[A,D]=(0,t.useState)(null),[O,q]=(0,t.useState)(!1),[B,W]=(0,t.useState)(!1),Z="function"==typeof y,[z,F]=(0,t.useState)(""),[H,I]=(0,t.useState)(""),[T,P]=(0,t.useState)(null!=N?N:15),U=!!(k&&g),Y=S||B,J=H.trim().toLowerCase(),X=Z&&J?n.filter(e=>y(e).toLowerCase().includes(J)):n,G=Z&&""!==J,Q=async e=>{i(e),W(!0);try{let l=await w(e);return l||i(n),l}catch(e){throw i(n),e}finally{W(!1)}},$=(0,r.zw)(n,e=>{Q(e)}),ee=Y||G?{...$,canMoveUp:()=>!1,canMoveDown:()=>!1}:$,en=e=>{Y||(V(n[e]),D(n[e]),M(e),q(!1),K("form"))},ei=e=>{V(e),q(!0)},el=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(e||!O||window.confirm("변경한 내용이 저장되지 않았습니다. 목록으로 이동할까요?"))&&(K("list"),V(null),M(null),q(!1))},et=e=>{!Y&&window.confirm("삭제하시겠습니까?")&&Q(n.filter((n,i)=>i!==e))},eo=e=>{if(Y||!v)return;let i=v(n[e]);V(i),D(i),M(null),q(!0),K("form")},er=async()=>{if(null===R)return;let e=null===_?[...n,R]:n.map((e,n)=>n===_?R:e);await Q(e)&&el(!0)};if("form"===E&&null!==R)return(0,l.jsxs)("div",{className:"rounded-[5px] bg-white px-[22px] py-[17px] shadow-[0_2px_4px_rgba(126,142,177,0.12)]",children:[(0,l.jsxs)("h4",{className:"mb-4 flex items-center gap-2.5 text-[17px] font-medium text-[#212529]",children:[(0,l.jsx)("span",{"aria-hidden":!0,className:"inline-block h-3 w-[3px] rounded-[1px] bg-admin-primary"}),f," 등록/수정"]}),(0,l.jsxs)("fieldset",{disabled:S||B,className:S?"".concat(a().form," opacity-80"):a().form,children:[u(R,ei),U&&(0,l.jsx)(r.p7,{label:"공개",children:(0,l.jsx)(r.rs,{checked:k(R),onChange:e=>ei(g(R,e)),label:null!=j?j:"해당 ".concat(f,"을(를) 공개합니다.")})})]}),(0,l.jsx)(r.iN,{onList:()=>el(),onReset:()=>{null!==A&&(V(A),q(!1))},onSave:()=>{er()},saving:B,listLabel:"목록",saveLabel:"저장",readOnly:S})]});let es=new Map;n.forEach((e,n)=>{es.has(e)||es.set(e,String(n))});let ea=[{key:"__no",header:"No",width:"60px",align:"center",render:(e,n)=>n+1},...s,...U?[{key:"__visible",header:"노출",width:"70px",align:"center",render:e=>k(e)?(0,l.jsx)("span",{className:"font-semibold text-admin-primary",children:"Y"}):(0,l.jsx)("span",{className:"font-semibold text-[#dc3545]",children:"N"})}]:[]],ed=null!=N?{value:T,onChange:P,options:L}:void 0,eu=Z?{value:z,onChange:F,onSubmit:()=>I(z),onReset:()=>{F(""),I("")},placeholder:C,resultCount:J?X.length:void 0}:void 0;return(0,l.jsx)(o.Rd,{title:null!=m?m:"".concat(f," 리스트"),columns:ea,rows:X,rowKey:e=>{var i;return null!==(i=es.get(e))&&void 0!==i?i:String(n.indexOf(e))},emptyText:b,entries:ed,search:eu,clientPageSize:null!=N?T:void 0,actionsHeader:"실행",actionsWidth:v?"360px":"290px",rowActions:e=>{let i=n.indexOf(e);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.gO,{index:i,reorder:ee}),(0,l.jsx)(o.Au,{icon:c,onClick:()=>en(i),disabled:B,title:"수정",children:"수정"}),v&&(0,l.jsx)(o.Au,{icon:h,onClick:()=>eo(i),disabled:B,title:"복사",children:"복사"}),(0,l.jsx)(o.Au,{icon:p,variant:"danger",onClick:()=>et(i),disabled:B,title:"삭제",children:"삭제"})]})},addButton:Y?void 0:{label:"새 ".concat(f," 추가"),onClick:()=>
1{if(Y)return;let e=x();V(e),D(e),M(null),q(!1),K("form")}}})}},40808:function(e,n,i){i.r(n),i.d(n,{AffiliateListEditor:function(){return c}});var l=i(57437),t=i(57),o=i(42546),r=i(36276),s=i(90017),a=i(22895);function d(e){return"string"==typeof e?{ko:e,en:e}:e&&"object"==typeof e?{ko:"string"==typeof e.ko?e.ko:"",en:"string"==typeof e.en?e.en:""}:{ko:"",en:""}}let u=()=>({name:{ko:"",en:""},subtitle:{ko:"",en:""},description:{ko:"",en:""},link:{ko:"",en:""},isVisible:!0});function c(e){let{content:n,onChange:i}=e,c=n.affiliates||[],h=(0,o.R)();return(0,l.jsx)(t.Z,{items:c,onItemsChange:e=>i({...n,affiliates:e}),onRequestSave:e=>h?h({...n,affiliates:e}):Promise.resolve(!1),itemLabel:"관계회사",listTitle:"관계회사 리스트",emptyText:"등록된 관계회사가 없습니다.",makeNewItem:u,copyItem:e=>({...e,name:{...e.name},subtitle:{...e.subtitle},description:{...e.description},link:d(e.link)}),getVisible:e=>!1!==e.isVisible,setVisible:(e,n)=>({...e,isVisible:n}),columns:[{key:"name",header:"회사명",align:"left",render:e=>{var n,i;return(null===(n=e.name)||void 0===n?void 0:n.ko)||(null===(i=e.name)||void 0===i?void 0:i.en)||"(제목 없음)"}},{key:"subtitle",header:"부제목",align:"left",render:e=>{var n,i;return(null===(n=e.subtitle)||void 0===n?void 0:n.ko)||(null===(i=e.subtitle)||void 0===i?void 0:i.en)||"-"}}],renderForm:(e,n)=>{var i,t,o,u,c,h;let p=d(e.link);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.p7,{label:"회사명",required:!0,children:(0,l.jsx)(r.aD,{valueKo:(null===(i=e.name)||void 0===i?void 0:i.ko)||"",valueEn:(null===(t=e.name)||void 0===t?void 0:t.en)||"",onChangeKo:i=>n({...e,name:{...e.name,ko:i}}),onChangeEn:i=>n({...e,name:{...e.name,en:i}}),placeholderKo:"회사명",placeholderEn:"Company Name"})}),(0,l.jsx)(r.p7,{label:"부제목",children:(0,l.jsx)(r.aD,{valueKo:(null===(o=e.subtitle)||void 0===o?void 0:o.ko)||"",valueEn:(null===(u=e.subtitle)||void 0===u?void 0:u.en)||"",onChangeKo:i=>n({...e,subtitle:{...e.subtitle,ko:i}}),onChangeEn:i=>n({...e,subtitle:{...e.subtitle,en:i}}),placeholderKo:"부제목",placeholderEn:"Subtitle"})}),(0,l.jsx)(r.p7,{label:"설명",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 gap-4 xl:grid-cols-2",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"form-label",children:"설명 (KO)"}),(0,l.jsx)(s.Z,{value:(0,a.K0)((null===(c=e.description)||void 0===c?void 0:c.ko)||""),onChange:i=>n({...e,description:{...e.description,ko:i}}),placeholder:"설명",ariaLabel:"관계회사 설명 한국어"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"form-label",children:"Description (EN)"}),(0,l.jsx)(s.Z,{value:(0,a.K0)((null===(h=e.description)||void 0===h?void 0:h.en)||""),onChange:i=>n({...e,description:{...e.description,en:i}}),placeholder:"Description",ariaLabel:"Affiliate description English"})]})]})}),(0,l.jsx)(r.p7,{label:"웹사이트 링크",help:"한국어/영문 페이지가 다르면 각각 입력하세요.",children:(0,l.jsx)(r.aD,{type:"url",valueKo:p.ko,valueEn:p.en,onChangeKo:i=>n({...e,link:{...d(e.link),ko:i}}),onChangeEn:i=>n({...e,link:{...d(e.link),en:i}}),placeholderKo:"https://...",placeholderEn:"https://..."})})]})}})}},22895:function(e,n,i){i.d(n,{Jm:function(){return r},K0:function(){return s},V_:function(){return d}});var l=i(62483),t=i(44137);let o=/<\/?(?:p|br|b|i|u|s|strike|em|strong|a|ul|ol|li|h[1-6]|blockquote|pre|code|span|div|hr|sup|sub|table|thead|tbody|tr|td|th)(?:\s[^<>]*)?\/?>/i;function r(e){return!!e&&o.test(e)}function s(e){if(!e)return"";let n=r(e)?e:(0,l.R5)(e);return(0,t.Uq)(n)}let a=/<\/?(?:img|figure|figcaption|video|source)(?:\s[^<>]*)?\/?>/i;function d(e){if(!e)return"";let n=e&&(r(e)||a.test(e))?e:(0,l.R5)(e);return(0,t.xX)(n)}}}]);

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.