1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5206aede-dc0e-40cc-ab88-29314aa23b36",e._sentryDebugIdIdentifier="sentry-dbid-5206aede-dc0e-40cc-ab88-29314aa23b36")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17462],{1095:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/strike-icon.db0649c1.svg",height:24,width:24,blurWidth:0,blurHeight:0}},3058:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/block-working-record.39b4dfe1.svg",height:28,width:28,blurWidth:0,blurHeight:0}},4216:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/thumbtack.38b2fd7b.svg",height:16,width:16,blurWidth:0,blurHeight:0}},6945:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/up-double-quote-icon.88342e7a.svg",height:24,width:24,blurWidth:0,blurHeight:0}},7004:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/image-insert-icon.7933f8b6.svg",height:32,width:32,blurWidth:0,blurHeight:0}},9845:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var i=r(95155),o=r(67853),l=r.n(o);let n=JSON.parse('{"nm":"Loading-2","ddd":0,"h":150,"w":300,"meta":{"g":"@lottiefiles/toolkit-js 0.33.2"},"layers":[{"ty":4,"nm":"icon 2","sr":1,"st":39,"op":79,"ip":39,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[53,53,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[150,75,0],"ix":2},"r":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[-90],"t":39},{"s":[270],"t":79}],"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Group 1","ix":1,"cix":2,"np":2,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,-15.464],[15.464,0],[0,15.464],[-15.464,0]],"o":[[0,15.464],[-15.464,0],[0,-15.464],[15.464,0]],"v":[[28,0],[0,28],[-28,0],[0,-28]]},"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":1,"ml":10,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"c":{"a":0,"k":[0.0471,0.7765,0],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[53,53],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]},{"ty":"tm","bm":0,"hd":false,"mn":"ADBE Vector Filter - Trim","nm":"Trim Paths 1","ix":2,"e":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[0],"t":39},{"s":[100],"t":64}],"ix":2},"o":{"a":0,"k":0,"ix":3},"s":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[0],"t":51},{"s":[100],"t":79}],"ix":1},"m":1}],"ind":1},{"ty":4,"nm":"icon","sr":1,"st":0,"op":40,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[53,53,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6},"sk":{"a":0,"k":0},"p":{"a":0,"k":[150,75,0],"ix":2},"r":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[-90],"t":0},{"s":[270],"t":40}],"ix":10},"sa":{"a":0,"k":0},"o":{"a":0,"k":100,"ix":11}},"ef":[],"shapes":[{"ty":"gr","bm":0,"hd":false,"mn":"ADBE Vector Group","nm":"Group 1","ix":1,"cix":2,"np":2,"it":[{"ty":"sh","bm":0,"hd":false,"mn":"ADBE Vector Shape - Group","nm":"Path 1","ix":1,"d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,-15.464],[15.464,0],[0,15.464],[-15.464,0]],"o":[[0,15.464],[-15.464,0],[0,-15.464],[15.464,0]],"v":[[28,0],[0,28],[-28,0],[0,-28]]},"ix":2}},{"ty":"st","bm":0,"hd":false,"mn":"ADBE Vector Graphic - Stroke","nm":"Stroke 1","lc":2,"lj":1,"ml":10,"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":10,"ix":5},"c":{"a":0,"k":[0.0471,0.7765,0],"ix":3}},{"ty":"tr","a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"sk":{"a":0,"k":0,"ix":4},"p":{"a":0,"k":[53,53],"ix":2},"r":{"a":0,"k":0,"ix":6},"sa":{"a":0,"k":0,"ix":5},"o":{"a":0,"k":100,"ix":7}}]},{"ty":"tm","bm":0,"hd":false,"mn":"ADBE Vector Filter - Trim","nm":"Trim Paths 1","ix":2,"e":{"a":1,"k":[{"o":{"x":0.333,"y":0}
1,"i":{"x":0.667,"y":1},"s":[0],"t":0},{"s":[100],"t":25}],"ix":2},"o":{"a":0,"k":0,"ix":3},"s":{"a":1,"k":[{"o":{"x":0.333,"y":0},"i":{"x":0.667,"y":1},"s":[0],"t":12},{"s":[100],"t":40}],"ix":1},"m":1}],"ind":2}],"v":"5.5.5","fr":25,"op":79,"ip":0,"assets":[]}');function s(e){let{title:t,description:r}=e;return(0,i.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-white/40 backdrop-blur-2xl",children:(0,i.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,i.jsx)(l(),{className:"h-37.5 w-75",animationData:n,loop:!0}),(0,i.jsxs)("div",{className:"flex flex-col gap-1 text-center",children:[(0,i.jsx)("h2",{className:"font-bold text-neutral-900 text-title-2",children:t}),r&&(0,i.jsx)("p",{className:"font-medium text-body-3 text-neutral-500",children:r})]})]})})}},13871:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/block-review.4917adb6.svg",height:24,width:24,blurWidth:0,blurHeight:0}},14550:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/empty-files.16d5d3de.svg",height:100,width:80,blurWidth:0,blurHeight:0}},14722:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/sns-instagram.6f7d4a99.svg",height:24,width:24,blurWidth:0,blurHeight:0}},14829:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/sns-youtube.741c2336.svg",height:24,width:24,blurWidth:0,blurHeight:0}},17462:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Editor:()=>eo});var i=r(95155),o=r(12115),l=r(17726),n=r(21670),s=r(12751),a=r(55792),d=r(56135),c=r(77004),u=r(75699),h=r(85210),p=r(67327),f=r(19148),g=r(8624),b=r(43419),m=r(34036),v=r(80762),x=r(51876),w=r(154),y=r(36722),k=r(22963),j=r(54727),N=r(52645),F=r(50084),E=r(73903),A=r(9845);let C=r(444).Ay.extend({addAttributes:()=>({variant:{default:null,parseHTML:e=>e.getAttribute("data-variant")||null,renderHTML:e=>e.variant?{"data-variant":e.variant}:{}}})}),L=/(?:^|\n)[ \t]{0,3}(?:#{1,6}
1 |[-*+] |\d+[.)] |> |```|~~~|(?:---|\*\*\*|___)[ \t]*(?:\n|$)|(?:\|[ \t]*)?:?-+:?[ \t]*\|[-:|\t ]*(?:\n|$))|\*\*[^\n*]+\*\*|!?\[[^\]\n]*\]\([^\s)]+\)/,_=r(37445).A.extend({parseMarkdown:(e,t)=>{var r;let i=t.parseInline(null!=(r=e.tokens)?r:[]);return 1===i.length&&"text"===i[0].type&&(" "===i[0].text||"\xa0"===i[0].text)?t.createNode("paragraph",void 0,[]):t.createNode("paragraph",void 0,i)}});async function R(e,t,r){let i=0,o=Array.from({length:Math.min(t,e.length)},async()=>{for(;i<e.length;){let t=e[i];i+=1,await r(t)}});await Promise.all(o)}let H=/^(?:https?:\/\/)?(?:www\.)?(?:player\.)?vimeo\.com\/(?:channels\/[\w-]+\/|groups\/[\w-]+\/videos\/|showcase\/\d+\/video\/|event\/\d+\/videos\/|video\/)?(\d+)(?:\/([\w]+))?(?:\?.*)?$/;function D(e){return H.test(e.trim())}let W=e=>{let{node:t,updateAttributes:r,selected:l}=e,n={width:t.attrs.width||400,height:t.attrs.height||225,left:t.attrs.left||0,top:t.attrs.top||0},[s,a]=(0,o.useState)(n),[d,c]=(0,o.useState)(!0),[u,h]=(0,o.useState)(null),p=(0,o.useRef)(null);return(0,o.useEffect)(()=>{l||c(!0)},[l]),(0,o.useEffect)(()=>{r(s)},[s,r]),(0,i.jsxs)(w.VR,{ref:p,style:{display:"block",position:"relative",width:s.width,height:s.height,maxWidth:"100%",margin:(e=>{switch(e){case"center":case"justify":return"8px auto";case"right":return"8px 0 8px auto";default:return"8px auto 8px 0"}})(t.attrs.textAlign),left:s.left,top:s.top,textAlign:t.attrs.textAlign||void 0,boxSizing:"border-box"},children:[(0,i.jsx)("figure",{style:{margin:0,width:"100%",height:"100%",display:"flex",justifyContent:(e=>{switch(e){case"center":return"center";case"right":return"flex-end";case"justify":return"space-between";default:return"flex-start"}})(t.attrs.textAlign),maxWidth:"100%",overflow:"hidden"},children:(0,i.jsx)("iframe",{className:"resizable-youtube-iframe",src:(e=>{if(!e)return"";let t=e.match(/(?:youtube\.com\/watch\?v=|youtube\.com\/shorts\/|youtu\.be\/)([\w-]{11})/);return t?"https://www.youtube.com/embed/".concat(t[1]):e})(t.attrs.src),title:"YouTube video player",style:{width:"100%",height:s.height,maxWidth:"100%",display:"block",pointerEvents:d?"none":"auto"},frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}),(0,i.jsx)("div",{className:"youtube-click-overlay",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"rgba(0,0,0,0)",cursor:l?"move":"pointer",zIndex:l?8:15},onClick:e=>{e.preventDefault(),e.stopPropagation()}}),l&&(0,i.jsxs)(i.Fragment,{children:[d&&(0,i.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",border:"2px solid #03C124",boxSizing:"border-box",pointerEvents:"none",zIndex:5}}
1),d&&[{dir:"nw",style:{top:-6,left:-6,cursor:"nwse-resize"}},{dir:"n",style:{top:-6,left:"50%",transform:"translateX(-50%)",cursor:"ns-resize"}},{dir:"ne",style:{top:-6,right:-6,cursor:"nesw-resize"}},{dir:"e",style:{top:"50%",right:-6,transform:"translateY(-50%)",cursor:"ew-resize"}},{dir:"se",style:{bottom:-6,right:-6,cursor:"nwse-resize"}},{dir:"s",style:{bottom:-6,left:"50%",transform:"translateX(-50%)",cursor:"ns-resize"}},{dir:"sw",style:{bottom:-6,left:-6,cursor:"nesw-resize"}},{dir:"w",style:{top:"50%",left:-6,transform:"translateY(-50%)",cursor:"ew-resize"}}].map(e=>(0,i.jsx)("div",{onMouseDown:(e=>t=>{var r,i;t.preventDefault(),t.stopPropagation(),h(e);let o=t.clientX,l=t.clientY,n=s.width,d=s.height,c=s.left,u=s.top,f=(null==(r=p.current)?void 0:r.closest(".ProseMirror"))||(null==(i=p.current)?void 0:i.parentElement),g=f?f.getBoundingClientRect():{width:9999,height:9999},b=Math.max(200,g.width-32),m=t=>{let r=n,i=d,s=c,h=u,p=t.clientX-o,f=t.clientY-l;if(e.includes("e")&&(r=Math.max(200,Math.min(b,n+p))),e.includes("s")&&(i=Math.max(150,d+f)),e.includes("w")){let e=Math.max(200,Math.min(b,n-p));r=e,s=c+(n-e)}e.includes("n")&&(i=Math.max(150,d-f),h=0),r=Math.min(r,b),s=Math.max(0,Math.min(s,b-r)),i=Math.min(i,g.height-h),h=Math.max(0,Math.min(h,g.height-i)),a({width:r,height:i,left:s,top:h})},v=()=>{h(null),window.removeEventListener("mousemove",m),window.removeEventListener("mouseup",v)};window.addEventListener("mousemove",m),window.addEventListener("mouseup",v)})(e.dir),style:{position:"absolute",width:12,height:12,background:"#fff",border:"2px solid #03C124",borderRadius:"50%",zIndex:20,boxSizing:"border-box",...e.style,pointerEvents:"auto"}},e.dir))]})]})};function M(e){let{src:t,selected:r}=e;return(0,i.jsxs)("div",{style:{padding:"56.25% 0 0 0",position:"relative"},children:[(0,i.jsx)("iframe",{src:t,frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media; web-share",referrerPolicy:"strict-origin-when-cross-origin",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none"},title:"Vimeo video player",allowFullScreen:!0}),(0,i.jsx)("div",{className:"youtube-click-overlay",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"rgba(0,0,0,0)",cursor:"pointer",zIndex:10},onClick:e=>{e.preventDefault(),e.stopPropagation()}}),r&&(0,i.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",border:"2px solid #03C124",boxSizing:"border-box",pointerEvents:"none",zIndex:5}})]})}let z=e=>{var t;let{node:r,selected:o}=e,l=null!=(t=r.attrs.src)?t:"";return l.includes("player.vimeo.com")?(0,i.jsx)(w.VR,{style:{display:"block",position:"relative",width:"100%"},children:(0,i.jsx)(M,{src:l,selected:o})}):(0,i.jsx)(W,{...e})};var S=r(38579);function I(e,t){let{state:r,view:i}=e,o=null;return r.doc.descendants((e,r)=>{if(o)return!1;if("table"!==e.type.name)return;let l=i.nodeDOM(r);(l===t||l instanceof HTMLElement&&l.contains(t))&&(o={node:e,pos:r})}),o}function P(e){let{editor:t,containerRef:r}=e,[l,n]=(0,o.useState)(null),[s,a]=(0,o.useState)(null),[d,c]=(0,o.useState)(null),[u,h]=(0,o.useState)(!1),p=(0,o.useCallback)(()=>{let e=r.current;if(!l||!l.isConnected||!e)return void a(null);a(function(e,t){let r=e.rows[0];if(!r)return null;let i=t.getBoundingClientRect(),o=t.scrollLeft-i.left,l=t.scrollTop-i.top,n=e=>{let t=e.getBoundingClientRect();return{left:t.left+o,top:t.top+l,width:t.width,height:t.height}},s=e.closest(".tableWrapper"),a=n(null!=s?s:e);return{table:n(e),cols:[...r.cells].map(e=>{let t=n(e);return{left:t.left,width:t.width}}),rows:[...e.rows].map(e=>{let t=n(e);return{top:t.top,height:t.height}}),clip:{left:a.left,right:a.left+a.width}}}(l,e))},[l,r]),f=(0,o.useCallback)(()=>{var e;if(!t||!t.isActive("table"))return null;let r=t.view.domAtPos(t.state.selection.head).node,i=r.nodeType===Node.ELEMENT_NODE?r:r.parentElement;return null!=(e=null==i?void 0:i.closest("table"))?e:null},[t]);(0,o.useEffect)(()=>{if(!t)return;let e=t.view.dom,r=e=>{var t,r,i;if(d)return;let o=e.target;if(null==o?void 0:o.closest("[data-table-control]"))return;let l=null==o||null==(t=o.closest(".tableWrapper"))?void 0:t.querySelector("table"),s=null!=(i=null!=(r=null==o?void 0:o.closest("table"))?r:l)?i:f();n(e=>e===s?e:s)},i=()=>{d||n(f())};return e.addEventListener("pointermove",r),e.addEventListener("pointerleave",i),()=>{e.removeEventListener("pointermove",r),e.removeEventListener("pointerleave",i)}},[t,d,f]),(0,o.useEffect)(()=>
1{if(!t)return;let e=t.view.dom,r=r=>{var i,o;if(!e.classList.contains("resize-cursor"))return;let l=null==(o=r.target)||null==(i=o.closest("td, th"))?void 0:i.closest("table"),n=null==l?void 0:l.rows[0];if(!l||!n)return;let s=[...n.cells].map(e=>Math.round(e.getBoundingClientRect().width));setTimeout(()=>{let e=I(t,l);if(!e)return;let r=t.state.tr;e.node.forEach((t,i)=>{t.forEach((t,o,l)=>{if(t.attrs.colwidth)return;let n=s[l];if(!n)return;let a=e.pos+1+i+1+o;r.setNodeMarkup(a,void 0,{...t.attrs,colwidth:[n]})})}),r.docChanged&&t.view.dispatch(r)},0)};return e.addEventListener("mousedown",r),()=>{e.removeEventListener("mousedown",r)}},[t]),(0,o.useEffect)(()=>{if(!t)return;let e=()=>{let e=f();h(!!e),e&&!d&&n(e)};return e(),t.on("selectionUpdate",e),t.on("update",e),t.on("focus",e),()=>{t.off("selectionUpdate",e),t.off("update",e),t.off("focus",e)}},[t,d,f]),(0,o.useEffect)(()=>{if(!t||!l)return void a(null);p();let e=new ResizeObserver(p);for(let t of(e.observe(l),l.rows))e.observe(t);let r=l.closest(".tableWrapper");return r&&(e.observe(r),r.addEventListener("scroll",p)),t.on("update",p),t.on("selectionUpdate",p),window.addEventListener("resize",p),()=>{e.disconnect(),null==r||r.removeEventListener("scroll",p),t.off("update",p),t.off("selectionUpdate",p),window.removeEventListener("resize",p)}},[t,l,p]),(0,o.useEffect)(()=>{if(!d)return;let e=()=>c(null);return window.addEventListener("pointerdown",e),window.addEventListener("keydown",e),window.addEventListener("scroll",e,{capture:!0}),()=>{window.removeEventListener("pointerdown",e),window.removeEventListener("keydown",e),window.removeEventListener("scroll",e,{capture:!0})}},[d]);let g=(0,o.useCallback)((e,r)=>{var i,o;if(!t||!l)return;let n=I(t,l);if(!n)return;let{schema:s}=t.state,a=s.nodes.tableHeader,d=s.nodes.tableCell;if(!a||!d)return;let u="row"===e?[...null!=(o=null==(i=l.rows[r])?void 0:i.cells)?o:[]]:[...l.rows].map(e=>e.cells[r]),h=u.length>0&&u.every(e=>(null==e?void 0:e.tagName)==="TH")?d:a,p=t.state.tr;n.node.forEach((t,i,o)=>{t.forEach((t,l,s)=>{if(!("row"===e?o===r:s===r)||t.type===h)return;let a=n.pos+1+i+1+l;p.setNodeMarkup(a,h,t.attrs)})}),p.docChanged&&t.view.dispatch(p),c(null)},[t,l]),b=(0,o.useCallback)((e,r,i)=>{var o,n,s;if(!t||!l)return;let a="col"===e?null==(o=l.rows[0])?void 0:o.cells[r]:null==(n=l.rows["table"===e?0:r])?void 0:n.cells[0];if(!a)return;let d=t.view.posAtDOM(null!=(s=a.firstElementChild)?s:a,0);d<0||(t.chain().focus().setTextSelection(d)[i]().run(),c(null))},[t,l]);if(!(null==t?void 0:t.isEditable)||!s)return null;let{table:m,cols:v,rows:x,clip:w}=s;return(0,i.jsxs)(i.Fragment,{children:[v.map((e,t)=>{let r;return(r=e.left)+e.width>w.left&&r<w.right?(0,i.jsx)(T,{label:"".concat(t+1,"ë²ì§¸ ì´ ë©ë´"),orientation:"horizontal",style:{left:Math.max(e.left,w.left)+2,top:m.top-14+3,width:Math.max(Math.min(e.left+e.width,w.right)-Math.max(e.left,w.left)-4,4),height:14},onClick:e=>c({axis:"col",index:t,x:e.clientX,y:e.clientY})},"col-".concat(e.left)):null}),x.map((e,t)=>(0,i.jsx)(T,{label:"".concat(t+1,"ë²ì§¸ í ë©ë´"),orientation:"vertical",style:{left:m.left-14+3,top:e.top+2,width:14,height:Math.max(e.height-4,4)},onClick:e=>c({axis:"row",index:t,x:e.clientX,y:e.clientY})},"row-".concat(e.top))),(0,i.jsx)(O,{label:"ì´ ì¶ê°",style:{left:Math.min(m.left+m.width,w.right)+6,top:m.top,width:14,height:m.height},onClick:()=>b("col",v.length-1,"addColumnAfter")}),(0,i.jsx)(O,{label:"í ì¶ê°",style:{left:Math.max(m.left,w.left),top:m.top+m.height+6,width:Math.min(m.left+m.width,w.right)-Math.max(m.left,w.left),height:14},onClick:()=>b("row",x.length-1,"addRowAfter")}),u?(0,i.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute z-10 rounded-[3px] border-2 border-primary-500",style:{left:m.left-2,top:m.top-2,width:m.width+4,height:m.height+4}}):null,u?(0,i.jsx)("div",{"data-table-control":"",className:"absolute z-20 flex items-center gap-0.5 rounded-lg border border-neutral-200 bg-white p-1 shadow-popover",style:{left:Math.max(m.left,w.left),top:m.top-8-34>=0?m.top-8-34:m.top+m.height+8},onPointerDown:e=>e.preventDefault(),children:B.map(e=>(0,i.jsx)("button",{type:"button",title:e.label,onClick:()=>{"lastRow"===e.target?b("row",x.length-1,e.command):"lastCol"===e.target?b("col",v.length-1,e.command):b("table",0,e.command)},className:(0,S.cn)("cursor-pointer whitespace-nowrap rounded-md px-2 py-1 text-neutral-700 text-sm transition-colors hover:bg-primary-50 hover:text-primary-600",e.danger&&"text-red-600 hover:bg-red-50 hover:text-red-600"),children:e.label},e.command))}):null,d?(0,i.jsxs)("div",{className:"fixed z-modal w-44 rounded-xl bg-white p-1 shadow-popover",style:{left:Math.min(d.x,window.innerWidth-176-8),top:Math.min(d.y,window.innerHeight-180-8)},onPointerDown:e=>e.stopPropagation(),children:["col"===d.axis||"row"===d.axis?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{type:"button",onClick:()=>g(d.axis,d.index),className:"w-full cursor-pointer rounded-lg px-3 py-2 text-left text-base text-neutral-700 transition-colors hover:bg-primary-50 hover:text-primary-600",children:((e,t)=>{var r,i;if(!l||"table"===e)return!1;let o="row"===e?[...null!=(i=null==(r=l.rows[t])?void 0:r.cells)?i:[]]:[...l.rows].map(e=>e.cells[t]);return o.length>0&&o.every(e=>(null==e?void 0:e.tagName)==="TH")})(d.axis,d.index)?"col"===d.axis?"머리 ì´ í´ì ":"머리 í í´ì ":"col"===d.axis?"머리 ì´ë¡ ì§ì ":"머리 íì¼ë¡ ì§ì "}
1),(0,i.jsx)("span",{"aria-hidden":!0,className:"mx-3 my-1 block h-px bg-neutral-200"})]}):null,V[d.axis].map(e=>(0,i.jsx)("button",{type:"button",onClick:()=>b(d.axis,d.index,e.command),className:(0,S.cn)("w-full cursor-pointer rounded-lg px-3 py-2 text-left text-base text-neutral-700 hover:bg-primary-50 hover:text-primary-600",e.danger&&"text-red-600 hover:bg-red-50 hover:text-red-600"),children:e.label},e.command))]}):null]})}function T(e){let{label:t,orientation:r,style:o,onClick:l}=e;return(0,i.jsx)("button",{type:"button","aria-label":t,"data-table-control":"",style:o,onPointerDown:e=>e.stopPropagation(),onClick:l,className:(0,S.cn)("group absolute z-20 flex cursor-pointer bg-transparent p-0 opacity-0 transition-opacity","hover:opacity-100 focus-visible:opacity-100","horizontal"===r?"items-end justify-center":"items-center justify-end"),children:(0,i.jsx)("span",{style:"horizontal"===r?{height:8,width:"100%"}:{width:8,height:"100%"},className:"pointer-events-none rounded-xs bg-neutral-300 transition-colors group-hover:bg-primary-600"})})}function O(e){let{label:t,style:r,onClick:o}=e;return(0,i.jsx)("button",{type:"button","aria-label":t,title:t,"data-table-control":"",style:r,onPointerDown:e=>e.stopPropagation(),onClick:o,className:"absolute z-20 flex cursor-pointer items-center justify-center rounded-xs bg-neutral-100 text-neutral-500 text-xs leading-none opacity-0 transition-[opacity,background-color,color] hover:bg-primary-50 hover:text-primary-600 hover:opacity-100 focus-visible:opacity-100",children:"+"})}let B=[{label:"í ì¶ê°",command:"addRowAfter",target:"lastRow"},{label:"ì´ ì¶ê°",command:"addColumnAfter",target:"lastCol"},{label:"í ìì ",command:"deleteTable",target:"table",danger:!0}],V={col:[{label:"ì¼ìª½ì ì´ ì¶ê°",command:"addColumnBefore"},{label:"ì¤ë¥¸ìª½ì ì´ ì¶ê°",command:"addColumnAfter"},{label:"ì´ ìì ",command:"deleteColumn",danger:!0}],row:[{label:"ìì í ì¶ê°",command:"addRowBefore"},{label:"ìëì í ì¶ê°",command:"addRowAfter"},{label:"í ìì ",command:"deleteRow",danger:!0}],table:[]};var U=r(15239),q=r(64581);function Y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"left",t=(0,o.useId)(),r="ep".concat(t.replaceAll(":","")),i=(0,o.useRef)(null),l=(0,o.useRef)(null),[n,s]=(0,o.useState)(!1),a=(0,o.useCallback)((t,r)=>{let i=r.getBoundingClientRect();t.style.position="fixed",t.style.top="".concat(i.bottom+4,"px"),t.style.bottom="auto","right"===e?(t.style.right="".concat(window.innerWidth-i.right,"px"),t.style.left="auto"):(t.style.left="".concat(i.left,"px"),t.style.right="auto")},[e]),d=(0,o.useCallback)(()=>{let e=l.current,t=i.current;if(e){if(e.matches(":popover-open"))return void e.hidePopover();t&&a(e,t),e.showPopover()}},[a]);return(0,o.useEffect)(()=>{let e=l.current;if(!e)return;let t=e=>{s("open"===e.newState)},r=()=>{let t=i.current;if(!t||!e.matches(":popover-open"))return;let r=t.getBoundingClientRect();if(r.bottom<0||r.top>window.innerHeight){try{e.hidePopover()}catch(e){}return}a(e,t)};return e.addEventListener("toggle",t),window.addEventListener("scroll",r,{capture:!0}),()=>{e.removeEventListener("toggle",t),window.removeEventListener("scroll",r,{capture:!0})}},[a]),{popoverId:r,triggerRef:i,popoverRef:l,isOpen:n,toggle:d}}let G="[filter:brightness(0)_invert(41%)_sepia(99%)_saturate(1000%)_hue-rotate(80deg)]";function Q(e){let{editor:t}=e,r=t&&(t.isActive("orderedList")||t.isActive("bulletList")||t.isActive("taskList")),l=Y("left"),n=Y("left"),s=Y("left"),[,a]=(0,o.useState)({});if((0,o.useEffect)(()=>{if(!t)return;let e=()=>a({});return t.on("selectionUpdate",e),()=>{t.off("selectionUpdate",e)}},[t]),!t)return;let d=e=>{var r;if(t.isActive("blockquote"))t.chain().focus().updateAttributes("blockquote",{variant:e}).run();else{let r=(null==t?void 0:t.state)?t.state.doc.textBetween(t.state.selection.from,t.state.selection.to," "):"";(null==r?void 0:r.trim())?t.chain().focus().insertContent({type:"blockquote",attrs:{variant:e},content:[{type:"paragraph",content:[{type:"text",text:r}]}]}).run():t.chain().focus().insertContent({type:"blockquote",attrs:{variant:e},content:[{type:"paragraph"}]}).run()}null==(r=l.popoverRef.current)||r.hidePopover()};return(0,i.jsx)("div",{className:"items-center border-r border-r-[#D7D7D7] p-1.5 max-desktop:p-0.5",children:(0,i.jsxs)("div",{className:"flex h-9.5 gap-1",children:[(0,i.jsx)("button",{ref:l.triggerRef,type:"button",title:"Blockquote",onClick:l.toggle,className:(0,S.cn)("group relative flex size-9.5 cursor-pointer items-center justify-center rounded-lg transition-colors hover:bg-[#
1E6FAF0]",{"bg-[#E6FAF0]":l.isOpen}),children:(0,i.jsxs)("div",{className:"flex items-center",children:[(0,i.jsx)(U.default,{src:q.V0,alt:"Quote Icon",width:24,height:24,className:(0,S.cn)("size-6 max-desktop:size-5","group-hover:".concat(G),{[G]:l.isOpen})}),(0,i.jsx)(U.default,{src:q.ak,alt:"Dropdown Arrow",width:16,height:16,className:(0,S.cn)("size-4 max-desktop:size-3","group-hover:".concat(G),{[G]:l.isOpen,"rotate-180":l.isOpen})})]})}),(0,i.jsxs)("div",{ref:l.popoverRef,id:l.popoverId,popover:"auto",className:"editor-toolbar-popover flex min-w-25 gap-1 rounded border border-[#ddd] bg-white p-1",children:[(0,i.jsx)("button",{type:"button",className:"group w-full cursor-pointer rounded p-1 text-left hover:bg-[#E6FAF0]",onClick:()=>d("default"),children:(0,i.jsx)(U.default,{src:q.Gx,alt:"Quote Icon",width:24,height:24,className:(0,S.cn)("inline-block rotate-180","group-hover:".concat(G))})}),(0,i.jsx)("button",{type:"button",className:"group w-full cursor-pointer rounded p-1 text-left hover:bg-[#E6FAF0]",onClick:()=>d("line"),children:(0,i.jsx)(U.default,{src:q.OQ,alt:"Line Quote Icon",width:28,height:28,className:"group-hover:".concat(G)})}),(0,i.jsx)("button",{type:"button",className:"group w-full cursor-pointer rounded p-1 text-left hover:bg-[#E6FAF0]",onClick:()=>{var e;t.isActive("blockquote")&&t.chain().focus().unsetBlockquote().run(),null==(e=l.popoverRef.current)||e.hidePopover()},children:(0,i.jsx)(U.default,{src:q.H3,alt:"Justify Text Icon",width:28,height:28,className:"group-hover:".concat(G)})})]}),(0,i.jsx)("button",{ref:n.triggerRef,type:"button",title:"ì ë ¬",onClick:n.toggle,className:(0,S.cn)("group relative flex size-9.5 cursor-pointer items-center justify-center rounded-lg transition-colors hover:bg-[#E6FAF0]",{"bg-[#E6FAF0]":n.isOpen}),children:(0,i.jsxs)("div",{className:"flex items-center",children:[(0,i.jsx)(U.default,{src:q.Q_,alt:"Align Left Icon",width:24,height:24,className:(0,S.cn)("size-6 max-desktop:size-5","group-hover:".concat(G),{[G]:n.isOpen})}),(0,i.jsx)(U.default,{src:q.ak,alt:"Dropdown Arrow",width:16,height:16,className:(0,S.cn)("size-4 max-desktop:size-3","group-hover:".concat(G),{[G]:n.isOpen,"rotate-180":n.isOpen})})]})}),(0,i.jsx)("div",{ref:n.popoverRef,id:n.popoverId,popover:"auto",className:"editor-toolbar-popover w-fit rounded border border-[#ddd] bg-white p-1",children:[{icon:q.Q_,alt:"Align Left",align:"left"},{icon:q.Iw,alt:"Align Center",align:"center"},{icon:q.p4,alt:"Align Right",align:"right"},{icon:q.H3,alt:"Justify",align:"justify"}].map(e=>{let{icon:r,alt:o,align:l}=e;return(0,i.jsx)("button",{type:"button",className:"group size-7 rounded p-1 text-left hover:bg-[#E6FAF0]",onClick:()=>{var e;if(t.isActive("youtube")){let{from:e,to:r}=t.state.selection;t.state.doc.nodesBetween(e,r,(e,r)=>{if("youtube"===e.type.name)return t.chain().focus().updateAttributes("youtube",{textAlign:l}).run(),!1})}else t.chain().focus().setTextAlign(l).run();null==(e=n.popoverRef.current)||e.hidePopover()},children:(0,i.jsx)(U.default,{src:r,alt:o,width:24,height:24,className:"group-hover:".concat(G)})},l)})}),(0,i.jsx)("button",{ref:s.triggerRef,type:"button",title:"리ì¤í¸",onClick:s.toggle,className:(0,S.cn)("group relative flex size-9.5 cursor-pointer items-center justify-center rounded-lg transition-colors hover:bg-[#E6FAF0]",{"bg-[#E6FAF0]":s.isOpen||r}),children:(0,i.jsxs)("div",{className:"flex items-center",children:[(0,i.jsx)(U.default,{src:q.h2,alt:"Bullet List Icon",width:24,height:24,className:(0,S.cn)("size-6 max-desktop:size-5","group-hover:".concat(G),{[G]:s.isOpen||r})}),(0,i.jsx)(U.default,{src:q.ak,alt:"Dropdown Arrow",width:16,height:16,className:(0,S.cn)("size-4 max-desktop:size-3","group-hover:".concat(G),{[G]:s.isOpen||r,"rotate-180":s.isOpen})})]})}),(0,i.jsxs)("div",{ref:s.popoverRef,id:s.popoverId,popover:"auto",className:"editor-toolbar-popover w-fit rounded border border-[#ddd] bg-white p-1",children:[(0,i.jsx)("button",{type:"button",onClick:()=>{var e;t.chain().focus().toggleOrderedList().run(),null==(e=s.popoverRef.current)||e.hidePopover()},className:(0,S.cn)("group cursor-pointer rounded p-1 text-left transition-colors hover:bg-[#
1E6FAF0]",{"bg-[#E6FAF0]":t.isActive("orderedList")}),children:(0,i.jsx)(U.default,{src:q.Lz,alt:"Number List Icon",width:24,height:24,className:(0,S.cn)("group-hover:".concat(G),{[G]:t.isActive("orderedList")})})}),(0,i.jsx)("button",{type:"button",onClick:()=>{var e;t.chain().focus().toggleBulletList().run(),null==(e=s.popoverRef.current)||e.hidePopover()},className:(0,S.cn)("group cursor-pointer rounded p-1 text-left transition-colors hover:bg-[#E6FAF0]",{"bg-[#E6FAF0]":t.isActive("bulletList")}),children:(0,i.jsx)(U.default,{src:q.h2,alt:"Bullet List Icon",width:24,height:24,className:(0,S.cn)("group-hover:".concat(G),{[G]:t.isActive("bulletList")})})}),(0,i.jsx)("button",{type:"button",onClick:()=>{var e;t.chain().focus().toggleTaskList().run(),null==(e=s.popoverRef.current)||e.hidePopover()},className:(0,S.cn)("group cursor-pointer rounded p-1 text-left transition-colors hover:bg-[#E6FAF0]",{"bg-[#E6FAF0]":t.isActive("taskList")}),children:(0,i.jsx)(U.default,{src:q.qN,alt:"Checklist Icon",width:24,height:24,className:(0,S.cn)("group-hover:".concat(G),{[G]:t.isActive("taskList")})})})]})]})})}function X(e){let{editor:t}=e,r=[{label:"ëì 목1",value:"36px"},{label:"ëì 목2",value:"28px"},{label:"ëì 목3",value:"24px"},{label:"ìì 목",value:"20px"},{label:"본문",value:"18px"}],[l,n]=(0,o.useState)(r[4]),{popoverId:s,triggerRef:a,popoverRef:d,isOpen:c,toggle:u}=Y("left");return(0,i.jsxs)("div",{className:"items-center border-t-0 border-r border-r-[#D7D7D7] border-b-0 border-l-0 p-1.5 max-desktop:p-0.5",children:[(0,i.jsxs)("button",{ref:a,type:"button",onClick:u,className:(0,S.cn)("group flex h-9.5 w-full min-w-25 cursor-pointer items-center justify-between rounded-lg p-3 font-normal text-body-2 transition-colors duration-200 hover:bg-[#E6FAF0] active:bg-[#F1F1F1]",{"bg-[#F7F7F8]":c,"border-none bg-transparent":!c}),title:"ê¸ì¨ í¬ê¸°",children:[l.label,(0,i.jsx)(U.default,{src:q.ak,alt:"Dropdown Arrow",width:18,height:18,className:(0,S.cn)("group-hover:filter-[brightness(0)_invert(41%)_sepia(99%)_saturate(1000%)_hue-rotate(80deg)] transition-transform duration-200",{"rotate-180":c})})]}),(0,i.jsx)("div",{ref:d,id:s,popover:"auto",className:"editor-toolbar-popover flex min-w-30 flex-col overflow-hidden rounded-lg border border-[#D7D7D7] bg-white shadow-lg",children:r.map(e=>(0,i.jsx)("button",{type:"button",className:(0,S.cn)("w-full px-3 py-2 text-left text-[13px] transition-colors duration-200 hover:bg-[#F1F1F1]",{"bg-[#F1F1F1]":l.value===e.value,"font-bold":"본문"!==e.label,"font-medium":"본문"===e.label}),onClick:()=>{var r,i,o;return r=e.value,i=e.label,void(t&&t.chain().focus().setMark("textStyle",{fontSize:r}).run(),n({label:i,value:r}),null==(o=d.current)||o.hidePopover())},children:e.label},e.value))})]})}let $="[filter:brightness(0)_invert(41%)_sepia(99%)_saturate(1000%)_hue-rotate(80deg)]",J={black:["#FFFFFF","#F7F7F8","#565656","#000000"],green:["#F4FFF5","#03C124","#027416","#01440D"],blue:["#E9F3FE","#4E9DF7","#1F78DF","#0E3767"],red:["#FDEAEA","#F07070","#E82929","#801717"],yellow:["#FFF7E6","#FFC654","#FFAA00","#6B4700"]},Z=[{name:"í¬ëª
",color:"transparent"},{name:"ì´ë¡",color:"#03C124"},{name:"ë
¸ë",color:"#FFC654"}];function K(e){let{editor:t}=e,r=Y("right"),l=Y("right"),[n,s]=(0,o.useState)("#FFFFFF"),[a,d]=(0,o.useState)("#FFFFFF");if((0,o.useEffect)(()=>{if(!t)return;let e=()=>{d(t.getAttributes("textStyle").color||"#000000")};return t.on("selectionUpdate",e),t.on("transaction",e),()=>{t.off("selectionUpdate",e),t.off("transaction",e)}},[t]),(0,o.useEffect)(()=>{if(!t)return;let e=()=>{var e;s((null==(e=t.getAttributes("highlight"))?void 0:e.color)||"transparent")};return t.on("selectionUpdate",e),t.on("transaction",e),()=>{t.off("selectionUpdate",e),t.off("transaction",e)}},[t]),t)return(0,i.jsx)("div",{className:"border-r border-r-[#D7D7D7] p-1.5 max-desktop:border-none max-desktop:p-0.5",children:(0,i.jsxs)("div",{className:"flex h-9.5 gap-1 max-desktop:gap-px",children:[(0,i.jsx)("button",{type:"button",title:"Bold",onClick:()=>t.chain().focus().toggleBold().run(),className:(0,S.cn)("group relative flex h-9.5 w-9.5 cursor-pointer items-center justify-center rounded-lg transition-colors hover:bg-[#
1E6FAF0]",{"bg-[#E6FAF0]":t.isActive("bold")}),children:(0,i.jsx)(U.default,{src:q.Tk,alt:"Bold Icon",width:24,height:24,className:(0,S.cn)("group-hover:".concat($),{[$]:t.isActive("bold")})})}),(0,i.jsx)("button",{type:"button",title:"Underline",onClick:()=>t.chain().focus().toggleUnderline().run(),className:(0,S.cn)("group relative flex h-9.5 w-9.5 cursor-pointer items-center justify-center rounded-lg transition-colors hover:bg-[#E6FAF0]",{"bg-[#E6FAF0]":t.isActive("underline")}),children:(0,i.jsx)(U.default,{src:q.Wp,alt:"Underline Icon",width:24,height:24,className:(0,S.cn)("group-hover:".concat($),{[$]:t.isActive("underline")})})}),(0,i.jsx)("button",{type:"button",title:"Strike",onClick:()=>t.chain().focus().toggleStrike().run(),className:(0,S.cn)("group relative flex h-9.5 w-9.5 cursor-pointer items-center justify-center rounded-lg transition-colors hover:bg-[#E6FAF0]",{"bg-[#E6FAF0]":t.isActive("strike")}),children:(0,i.jsx)(U.default,{src:q.QG,alt:"Strike Icon",width:24,height:24,className:(0,S.cn)("group-hover:".concat($),{[$]:t.isActive("strike")})})}),(0,i.jsx)("button",{ref:r.triggerRef,type:"button",title:"Text Color",onClick:r.toggle,className:(0,S.cn)("group relative flex h-9.5 w-9.5 cursor-pointer items-center justify-center rounded-lg transition-colors hover:bg-[#E6FAF0]",{"bg-[#E6FAF0]":r.isOpen}),children:(0,i.jsxs)("div",{className:"relative inline-block",children:[(0,i.jsx)(U.default,{src:q.M1,alt:"Text Color Icon",width:24,height:24,className:(0,S.cn)("group-hover:".concat($),{[$]:r.isOpen})}),(0,i.jsx)("span",{className:"absolute right-0 -bottom-0.5 z-1",children:(0,i.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M3.43555 2H8.56445C9.3572 2.00019 9.99981 2.6428 10 3.43555V8.56445C9.99981 9.3572 9.3572 9.99981 8.56445 10H3.43555C2.6428 9.99981 2.00019 9.3572 2 8.56445V3.43555C2.00019 2.6428 2.6428 2.00019 3.43555 2Z",fill:a,stroke:"#D7D7D7",strokeWidth:"2"})})})]})}),(0,i.jsx)("div",{ref:r.popoverRef,id:r.popoverId,popover:"auto",className:"editor-toolbar-popover grid gap-1 rounded border border-[#ddd] bg-white p-2",children:Object.entries(J).map(e=>{let[o,l]=e;return(0,i.jsx)("div",{className:"mb-1 flex gap-1",children:l.map(e=>(0,i.jsx)("button",{type:"button",onClick:()=>{var i;d(e),t.chain().focus().setColor(e).run(),null==(i=r.popoverRef.current)||i.hidePopover()},style:{backgroundColor:e},className:"h-5 w-5 cursor-pointer rounded border border-[#ccc] hover:ring-2 hover:ring-[#03C124]"},e))},o)})}),(0,i.jsx)("button",{ref:l.triggerRef,type:"button",title:"Highlight",onClick:l.toggle,className:(0,S.cn)("group relative flex h-9.5 w-9.5 cursor-pointer items-center justify-center rounded-lg transition-colors hover:bg-[#E6FAF0]",{"bg-[#E6FAF0]":l.isOpen}),children:(0,i.jsxs)("div",{className:"relative inline-block",children:[(0,i.jsx)(U.default,{src:q.lr,alt:"Highlight Icon",width:24,height:24,className:(0,S.cn)("group-hover:".concat($),{[$]:l.isOpen})}),(0,i.jsx)("span",{className:"absolute right-0 -bottom-0.5 z-1",children:(0,i.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M3.43555 2H8.56445C9.3572 2.00019 9.99981 2.6428 10 3.43555V8.56445C9.99981 9.3572 9.3572 9.99981 8.56445 10H3.43555C2.6428 9.99981 2.00019 9.3572 2 8.56445V3.43555C2.00019 2.6428 2.6428 2.00019 3.43555 2Z",fill:"transparent"===n?"#ffffff":n,stroke:"#D7D7D7",strokeWidth:"2"})})})]})}),(0,i.jsx)("div",{ref:l.popoverRef,id:l.popoverId,popover:"auto",className:"editor-toolbar-popover flex gap-1 rounded border border-[#ddd] bg-white p-2",children:Z.map(e=>(0,i.jsx)("button",{type:"button",onClick:()=>{var r,i;s("transparent"===(r=e.color)?"#ffffff":r),"transparent"===r?t.chain().focus().unsetHighlight().run():t.chain().focus().toggleHighlight({color:r}).run(),null==(i=l.popoverRef.current)||i.hidePopover()},style:{backgroundColor:e.color},title:e.name,className:"h-6.5 w-6.5 cursor-pointer rounded border border-[#ccc] hover:ring-2 hover:ring-[#03C124]"},e.color))})]})})}var ee=r(4677);let et="[filter:brightness(0)_invert(41%)_sepia(99%)_saturate(1000%)_hue-rotate(80deg)]";function er(e){let{editor:t,uploadImageAsync:r}=e,l=(0,o.useRef)(null),n=Y("right"),s=Y("right"),a=Y("right"),[d,c]=(0,o.useState)(""),[u,h]=(0,o.useState)(""),[p,f]=(0,o.useState)(""),[g,b]=(0,o.useState)(""),[m,v]=(0,o.useState)("");if(!t)return null;let w=async e=>{var i;let o=null==(i=e.target.files)?void 0:i[0];if(!o)return;e.target.value="";let l=await r(o);if(l){let e=t.view.dom.clientWidth;t.chain().focus().setResizableImage({src:l,width:e}).command(e=>{let{tr:t,state:r,dispatch:i}=e;if(!i)return!0;let o=t.selection.$from,l=o.after(o.depth);return t.insert(l,r.schema.nodes.paragraph.create()),t.setSelection(x.U3.create(t.doc,l+1)),i(t),!0}).run()}},y={background:"linear-gradient(to bottom, #E6F9E9 0px, #E6F9E9 56px, #fff 56px, #fff 100%)"};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"border-r border-r-[#D7D7D7] p-1.5 max-desktop:p-0.5",children:(0,i.jsx)("div",{className:"flex h-9.5 items-center",children:(0,i.jsx)("button",{type:"button",title:"Divider",onClick:()=>t.chain().focus().setHorizontalRule().run(),className:(0,S.cn)("group relative flex h-9.5 w-9.5 cursor-pointer items-center justify-center rounded-lg transition-colors hover:bg-[#
1E6FAF0]",{"bg-[#E6FAF0]":t.isActive("horizontalRule")}),children:(0,i.jsx)(U.default,{src:q.Mq,alt:"Horizontal Line",width:24,height:24,className:(0,S.cn)("group-hover:".concat(et),{[et]:t.isActive("horizontalRule")})})})})}),(0,i.jsx)("div",{className:"items-center p-1.5 max-desktop:p-0.5",children:(0,i.jsxs)("div",{className:"flex h-9.5 items-center gap-1",children:[(0,i.jsx)("button",{ref:n.triggerRef,type:"button",title:"Insert Link",onClick:()=>{let{state:e}=t,r=e.doc.textBetween(e.selection.from,e.selection.to," ");h((null==r?void 0:r.trim())?r:""),n.toggle()},className:(0,S.cn)("group relative flex h-9.5 w-9.5 cursor-pointer items-center justify-center rounded-lg transition-colors hover:bg-[#E6FAF0]",{"bg-[#E6FAF0]":n.isOpen}),children:(0,i.jsx)(U.default,{src:q.NS,alt:"Insert Link",width:32,height:32,className:(0,S.cn)("group-hover:".concat(et),{[et]:n.isOpen})})}),(0,i.jsxs)("div",{ref:n.popoverRef,id:n.popoverId,popover:"auto",className:"editor-toolbar-popover flex w-75 flex-col gap-6 rounded-xl p-8 pt-10 shadow-popover max-desktop:w-60",style:y,children:[(0,i.jsx)("button",{type:"button",onClick:()=>{var e;return null==(e=n.popoverRef.current)?void 0:e.hidePopover()},className:"absolute top-4 left-4 cursor-pointer border-none bg-none p-0 font-bold text-lg text-neutral-500 hover:text-primary-500",children:"â"}),(0,i.jsxs)("div",{className:"flex flex-col gap-2 pt-10",children:[(0,i.jsx)("label",{htmlFor:"link-url",className:"font-medium text-base text-neutral-700",children:"URL"}),(0,i.jsx)("input",{id:"link-url",type:"text",placeholder:"URL ì
ë ¥",value:d,onChange:e=>c(e.target.value),className:"rounded-lg border-2 border-primary-500 px-4 py-4 text-[#222] text-lg outline-none"})]}),(0,i.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,i.jsx)("label",{htmlFor:"link-text",className:"font-medium text-base text-neutral-700",children:"í
ì¤í¸"}),(0,i.jsx)("input",{id:"link-text",type:"text",placeholder:"í
ì¤í¸ ì
ë ¥",value:u,onChange:e=>h(e.target.value),className:"rounded-lg border-2 border-primary-500 px-4 py-4 text-[#222] text-lg outline-none"}),p&&(0,i.jsx)("div",{className:"font-medium text-red-500 text-sm",children:p})]}),(0,i.jsx)("div",{className:"flex justify-end",children:(0,i.jsx)("button",{type:"button",onClick:()=>{var e;if(!d&&!u)return void f("URL ëë í
ì¤í¸ë¥¼ ì
ë ¥í´ì£¼ì¸ì.");f("");let{state:r}=t,i=r.doc.textBetween(r.selection.from,r.selection.to," ");(null==i?void 0:i.trim())?t.chain().focus().setLink({href:d}).run():t.chain().focus().insertContent({type:"text",text:u||d,marks:[{type:"link",attrs:{href:d}}]}).run(),null==(e=n.popoverRef.current)||e.hidePopover(),c(""),h("")},className:"cursor-pointer rounded-lg border-none bg-[#E6F9E9] px-8 py-3 font-semibold text-[#03AE20] text-lg",children:"ì½ì
"})})]}),(0,i.jsx)("button",{type:"button",title:"Insert Image",onClick:()=>{var e;return null==(e=l.current)?void 0:e.click()},className:"group relative flex h-9.5 w-9.5 cursor-pointer items-center justify-center rounded-lg transition-colors hover:bg-[#E6FAF0]",children:(0,i.jsx)(U.default,{src:q.oe,alt:"Insert Image",width:32,height:32,className:"group-hover:".concat(et)})}),(0,i.jsx)("input",{ref:l,type:"file",accept:"image/jpeg,image/png,image/webp,image/gif",onChange:w,className:"hidden"}),(0,i.jsx)("button",{ref:s.triggerRef,type:"button",title:"Insert Video",onClick:()=>{s.isOpen||(b(""),v("")),s.toggle()},className:(0,S.cn)("group relative flex h-9.5 w-9.5 cursor-pointer items-center justify-center rounded-lg transition-colors hover:bg-[#E6FAF0]",{"bg-[#E6FAF0]":s.isOpen}),children:(0,i.jsx)(U.default,{src:q.Ye,alt:"Insert Video",width:32,height:32,className:(0,S.cn)("group-hover:".concat(et),{[et]:s.isOpen})})}),(0,i.jsxs)("div",{ref:s.popoverRef,id:s.popoverId,popover:"auto",className:"editor-toolbar-popover flex w-75 flex-col gap-6 rounded-xl p-8 pt-10 shadow-popover max-desktop:w-60",style:y,children:[(0,i.jsx)("button",{type:"button",onClick:()=>{var e;null==(e=s.popoverRef.current)||e.hidePopover(),b(""),v("")},className:"absolute top-4 left-4 cursor-pointer border-none bg-none p-0 font-bold text-lg text-neutral-500 hover:text-primary-500",children:"â"}),(0,i.jsxs)("div",{className:"flex flex-col gap-2 pt-10",children:[(0,i.jsx)("label",{htmlFor:"youtube-url",className:"font-medium text-base text-neutral-700",children:"ìì URL"}),(0,i.jsx)("input",{id:"youtube-url",type:"text",placeholder:"YouTube / Vimeo URL ì
ë ¥",value:g,onChange:e=>{b(e.target.value),v("")},className:"rounded-lg border-2 border-primary-500 px-4 py-4 text-[#222] text-lg outline-none"}),m&&(0,i.jsx)("div",{className:"mt-0.5 font-medium text-red-500 text-sm",children:m})]}),(0,i.jsx)("div",{className:"flex justify-end",children:(0,i.jsx)("button",{type:"button",onClick:()=>{var e;if(!g)return void v("ìì URLì ì
ë ¥í´ì£¼ì¸ì!");if(!function(e){let t=e.trim();return/^(https?:\/\/)?(www\.)?(youtube\.com\/(watch\?v=|shorts\/)|youtu\.be\/)[\w-]{11}/.test(t)||D(t)}(g))return void v("ì§ìíì§ ìë ìì URLì´ìì! (YouTube, Vimeo)");if(v(""),D(g)){let e=function(e){let t=e.match(H);return t?{videoId:t[1],hash:t[2]}:null}(g);if(e){let r=function(e,t){let r="https://player.vimeo.com/video/".concat(e,"?badge=0&autopause=0&player_id=0&app_id=58479");return t?"".concat(r,"&h=").concat(t):r}(e.videoId,e.hash);t.chain().focus().setYoutubeVideo({src:r}).run()}}else t.chain().focus().setYoutubeVideo({src:g,width:400,height:225}).run();b(""),null==(e=s.popoverRef.current)||e.hidePopover()},className:"cursor-pointer rounded-lg border-none bg-[#E6F9E9] px-8 py-3 font-semibold text-[#03AE20] text-lg",children:"ì½ì
"})})]}),(0,i.jsx)("button",{ref:a.triggerRef,type:"button",title:"í ì½ì
",onClick:a.toggle,className:(0,S.cn)("group relative flex h-9.5 w-9.5 cursor-pointer items-center justify-center rounded-lg text-neutral-700 transition-colors hover:bg-primary-50 hover:text-primary-600",{"bg-primary-50 text-primary-600":a.isOpen}),children:(0,i.jsx)(ee.X,{size:24,weight:"regular",stroke:"currentColor",strokeWidth:4,strokeLinejoin:"round"})}),(0,i.jsx)("div",{ref:a.popoverRef,id:a.popoverId,popover:"auto",className:"editor-toolbar-popover rounded-xl bg-white p-3 shadow-popover",children:(0,i.jsx)(ei,{onPick:(e,r)=>{var i;t.chain().focus().command(e=>{let{tr:t,state:r,dispatch:i}=e;if(!i)return!0;let{$from:o}=t.selection;for(let e=o.depth;e>0;e-=1){if("table"!==o.node(e).type.name)continue;let i=o.after(e);t.insert(i,r.schema.nodes.paragraph.create()),t.setSelection(x.U3.create(t.doc,i+1));break}return!0}).insertTable({rows:e,cols:r,withHeaderRow:!0}).run(),null==(i=a.popoverRef.current)||i.hidePopover()}})})]})})]})}function ei(e){let{onPick:t}=e,[r,l]=(0,o.useState)({rows:0,cols:0});return(0,i.jsxs)("div",{onMouseLeave:()=>l({rows:0,cols:0}),children:[(0,i.jsx)("div",{className:"mb-2 text-center text-neutral-600 text-sm tabular-nums",children:r.rows>0?"".concat(r.rows," \xd7 ").concat(r.cols):"í¬ê¸°ë¥¼ ì ííì¸ì"}
1),(0,i.jsx)("div",{className:"grid gap-1",style:{gridTemplateColumns:"repeat(".concat(8,", 1fr)")},children:Array.from({length:64},(e,o)=>{let n=Math.floor(o/8)+1,s=o%8+1,a=n<=r.rows&&s<=r.cols;return(0,i.jsx)("button",{type:"button","aria-label":"".concat(n," \xd7 ").concat(s," í ì½ì
"),onMouseEnter:()=>l({rows:n,cols:s}),onFocus:()=>l({rows:n,cols:s}),onClick:()=>t(n,s),className:(0,S.cn)("size-5 cursor-pointer rounded-xs border transition-colors",a?"border-primary-600 bg-primary-50":"border-neutral-200 bg-white")},o)})})]})}function eo(e){let{value:t="",error:r=!1,placeholder:H="ì¬ê¸°ì ê¸ì ìì±íì¸ì.",onContentChange:D,...W}=e,M=(0,o.useRef)(D),I=(0,o.useRef)(null),[T,O]=(0,o.useState)(!1),B=(0,o.useRef)(0),{upload:V}=(0,N.A)({sizeLimit:F.EU}),U=(0,o.useCallback)(async e=>{let t=k.Lw.open(()=>(0,i.jsx)(A.p,{title:"ì´ë¯¸ì§ë¥¼ ì
ë¡ë ì¤ì
ëë¤",description:"ì ìë§ ê¸°ë¤ë ¤ 주ì¸ì"}));try{return await V(e)}finally{k.Lw.unmount(t)}},[V]),q=(0,o.useRef)(new Set),Y=(0,o.useRef)(null),G=(0,o.useRef)(!1),$=(0,o.useCallback)(async()=>{let e=Y.current;if(e&&!G.current){G.current=!0;try{for(;;){let t=function(e,t){let r=new Set;return e.state.doc.descendants(e=>{if("image"!==e.type.name)return;let i=e.attrs.src;!("string"!=typeof i||t.has(i))&&function(e){let t;if(!e.startsWith("http://")&&!e.startsWith("https://"))return!1;try{t=new URL(e).hostname.toLowerCase()}catch(e){return!1}return!t.endsWith(".cloudfront.net")&&t!==window.location.hostname}(i)&&r.add(i)}),[...r]}(e,q.current);if(0===t.length)break;let r=k.Lw.open(()=>(0,i.jsx)(A.p,{title:"ì´ë¯¸ì§ ".concat(t.length,"ì¥ì ì®ê¸°ë ì¤ì
ëë¤"),description:"ì ìë§ ê¸°ë¤ë ¤ 주ì¸ì"})),o=0;try{await R(t,3,async t=>{try{let{cloudFrontUrl:r}=await (0,F.Ov)(t);!function(e,t,r){let{state:i,view:o}=e,l=i.tr,n=!1;i.doc.descendants((e,i)=>{"image"===e.type.name&&e.attrs.src===t&&(l=l.setNodeMarkup(i,void 0,{...e.attrs,src:r}),n=!0)}),n&&o.dispatch(l)}(e,t,r)}catch(e){q.current.add(t),o+=1}})}finally{k.Lw.unmount(r)}o>0&&(0,E.o)("ì´ë¯¸ì§ ".concat(o,"ì¥ì ì®ê¸°ì§ 못íì´ì. ì§ì ì¬ë ¤ì£¼ì¸ì."))}}finally{G.current=!1}}},[]);(0,o.useEffect)(()=>{M.current=D},[D]);let J=(0,w.hG)({extensions:[y.A.configure({blockquote:!1,paragraph:!1}),_,C,f.A.configure({types:["heading","paragraph"]}),s.Ay.configure({multicolor:!0}),b.A,n.A,a.A,d.Ay,p._,h.L,u.R0.configure({table:{renderWrapper:!0,resizable:!0,cellMinWidth:80,allowTableNodeSelection:!0}
1}),m.A.extend({addNodeView:()=>(0,w.gu)(z),addCommands(){var e;return{...null==(e=this.parent)?void 0:e.call(this),setYoutubeVideo:e=>t=>{let{commands:r}=t;return r.insertContent({type:this.name,attrs:e})}}},renderHTML(e){var t,r,i;let{node:o,HTMLAttributes:l}=e,n=null!=(r=l.src)?r:"";return!n||n.includes("player.vimeo.com")?["div",{"data-youtube-video":""},["iframe",{src:n||"",frameborder:"0",allowfullscreen:"true",...l.style?{style:l.style}:{}}]]:null!=(i=null==(t=this.parent)?void 0:t.call(this,{node:o,HTMLAttributes:l}))?i:["div",{"data-youtube-video":""},["iframe",l]]},addAttributes(){var e;return{...null==(e=this.parent)?void 0:e.call(this),textAlign:{default:"left",parseHTML:e=>e.style.textAlign||"left",renderHTML:e=>e.textAlign?{style:"text-align: ".concat(e.textAlign)}:{}}}},addOptions(){var e,t;return{...null==(e=this.parent)?void 0:e.call(this),HTMLAttributes:{...null==(t=this.parent)?void 0:t.call(this).HTMLAttributes,group:"block"}}}}),g.ds,v.oz,c.A.configure({placeholder:H,emptyEditorClass:"is-editor-empty"}),j.RN.extend({parseMarkdown:(e,t)=>t.createNode("image",{src:e.href,title:e.title,alt:e.text}),renderMarkdown:e=>{var t;let{src:r="",alt:i="",title:o=""}=null!=(t=e.attrs)?t:{};return o?".concat(r,' "').concat(o,'")'):".concat(r,")")}}).configure({allowBase64:!1,async onUpload(e){var t;let r=null!=(t=null==J?void 0:J.view.dom.clientWidth)?t:800,i=await V(e);return{src:null!=i?i:"",width:r}}})],content:null!=t?t:"",immediatelyRender:!1,editorProps:{handlePaste(e,t){var r,i,o,l,n;let s=null==(r=t.clipboardData)?void 0:r.files,a=s&&s.length>0&&null!=(o=Array.from(s).find(e=>e.type.startsWith("image/")))?o:null,d=Array.from(null!=(l=null==(i=t.clipboardData)?void 0:i.items)?l:[]).find(e=>"file"===e.kind&&e.type.startsWith("image/")),c=null!=(n=null!=a?a:null==d?void 0:d.getAsFile())?n:null;if(!c)return setTimeout(()=>{$()},0),function(e,t){var r,i,o;if(!e||e.state.selection.$head.parent.type.spec.code||(null==(r=t.clipboardData)?void 0:r.getData("text/html")))return!1;let l=null!=(o=null==(i=t.clipboardData)?void 0:i.getData("text/plain"))?o:"";return!!L.test(l)&&(t.preventDefault(),e.commands.insertContent(l,{contentType:"markdown"}),!0)}(J,t);t.preventDefault();let u=e.state.selection.head,h=e.dom.clientWidth;return U(c).then(t=>{if(!t)return;let{state:r}=e,i=r.schema.nodes.image.create({src:t,width:h});e.dispatch(r.tr.insert(u,i))}),!0}}});return(0,o.useEffect)(()=>{Y.current=J},[J]),(0,o.useEffect)(()=>{J&&void 0!==t&&t!==J.getHTML()&&Promise.resolve().then(()=>{J.commands.setContent(t)})},[t,J]),(0,o.useEffect)(()=>{if(!J)return;let e=()=>{let e=M.current;"function"==typeof e&&Promise.resolve().then(()=>{var t;e((t=J.getHTML())?t.replace(/<iframe([^>]*src=["'])([^"'>]+)(["'][^>]*)>/gi,(e,t,r,i)=>{let o=r.match(/youtube\.com\/embed\/([a-zA-Z0-9_-]+)/),l=r.match(/youtube\.com\/shorts\/([a-zA-Z0-9_-]+)/);return o?"<iframe".concat(t,"https://www.youtube.com/embed/").concat(o[1]).concat(i,">"):l?"<iframe".concat(t,"https://www.youtube.com/shorts/").concat(l[1]).concat(i,">"):e}):t)})};return J.on("update",e),()=>{J.off("update",e)}},[J]),(0,o.useEffect)(()=>{if(!J)return;let e=e=>{let t=e.target;setTimeout(()=>{try{var r;if("IMG"===t.tagName&&t.closest(".ProseMirror")){let e=J.view.posAtDOM(t,0);J.view.dispatch(J.view.state.tr.setSelection(x.nh.create(J.view.state.doc,e)));return}let i=t.closest('[data-type="youtube"]');if(i){e.preventDefault(),e.stopPropagation();let t=J.view.posAtDOM(i,0);J.view.dispatch(J.view.state.tr.setSelection(x.nh.create(J.view.state.doc,t)));return}if("IFRAME"===t.tagName&&(null==(r=t.src)?void 0:r.includes("youtube"))){e.preventDefault(),e.stopPropagation();let r=t.closest('[data-type="youtube"]');if(r){let e=J.view.posAtDOM(r,0);J.view.dispatch(J.view.state.tr.setSelection(x.nh.create(J.view.state.doc,e)))}return}if(t.classList.contains("youtube-click-overlay")){e.preventDefault(),e.stopPropagation();let r=t.closest('[data-type="youtube"]');if(r){let e=J.view.posAtDOM(r,0);J.view.dispatch(J.view.state.tr.setSelection(x.nh.create(J.view.state.doc,e)))}}}catch(e){console.warn("Media selection failed:",e)}},0)},t=J.view.dom;return t.addEventListener("click",e,!0),()=>{t.removeEventListener("click",e,!0)}},[J]),(0,o.useEffect)(function(){let e=I.current;if(e&&J)return e.addEventListener("dragenter",i),e.addEventListener("dragover",o),e.addEventListener("dragleave",l),e.addEventListener("drop",n,!0),()=>{e.removeEventListener("dragenter",i),e.removeEventListener("dragover",o),e.removeEventListener("dragleave",l),e.removeEventListener("drop",n,!0)};
1function t(){B.current=0,O(!1)}function r(e){var t,r;return Array.from(null!=(r=null==(t=e.dataTransfer)?void 0:t.types)?r:[]).includes("Files")}function i(e){r(e)&&(e.preventDefault(),B.current+=1,O(!0))}function o(e){r(e)&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="copy"))}function l(e){r(e)&&(B.current-=1,B.current<=0&&t())}function n(e){var i,o,l,n;if(!J||!r(e))return;e.preventDefault(),t();let s=null==(i=e.dataTransfer)?void 0:i.files,a=s&&s.length>0&&null!=(l=Array.from(s).find(e=>e.type.startsWith("image/")))?l:null;if(!a)return;let{view:d}=J,c=null!=(n=null==(o=d.posAtCoords({left:e.clientX,top:e.clientY}))?void 0:o.pos)?n:d.state.selection.head,u=d.dom.clientWidth;U(a).then(e=>{if(!e)return;let{state:t}=d,r=t.schema.nodes.image.create({src:e,width:u});d.dispatch(t.tr.insert(c,r))})}},[J,U]),(0,i.jsxs)("div",{className:(0,S.cn)("editor-container relative"),children:[(0,i.jsxs)("div",{className:(0,S.cn)("flex flex-wrap rounded-t-lg border border-neutral-300 border-b-0 bg-background px-1 max-desktop:flex-col max-desktop:px-0",{"border-red-500":r}),children:[(0,i.jsxs)("div",{className:"flex items-center",children:[(0,i.jsx)(X,{editor:J}),(0,i.jsx)(K,{editor:J})]}),(0,i.jsxs)("div",{className:"flex items-center max-desktop:flex-wrap max-desktop:border-neutral-300 max-desktop:border-t",children:[(0,i.jsx)(Q,{editor:J}),(0,i.jsx)(er,{editor:J,uploadImageAsync:U})]})]}),(0,i.jsxs)("div",{ref:I,onClick:e=>{J&&(e.target.closest(".ProseMirror")||J.commands.focus())},className:(0,S.cn)("relative max-h-188 min-h-188 w-full cursor-text overflow-y-auto rounded-b-lg border border-neutral-300 bg-neutral-50 focus-within:bg-white max-desktop:max-h-103 max-desktop:min-h-103",{"border-red-500 border-t-neutral-300":r}),children:[(0,i.jsx)(w.$Z,{editor:J,className:"editor-prose min-h-188 w-full resize-none p-4 max-desktop:min-h-103",...W}),(0,i.jsx)(P,{editor:J,containerRef:I}),T&&(0,i.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10 flex items-center justify-center rounded-b-lg bg-neutral-900/40 backdrop-blur-[1px]",children:(0,i.jsxs)("div",{className:"flex flex-col items-center gap-2 rounded-xl border-2 border-white border-dashed px-8 py-6 text-white",children:[(0,i.jsx)(l.f,{size:32,weight:"regular"}),(0,i.jsx)("p",{className:"font-semibold text-sm",children:"ì¬ê¸°ì ëì ì´ë¯¸ì§ ì
ë¡ë"})]})})]})]})}r(10649),r(33014),r(36382)},20293:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/sns-threads.ab4ad54b.svg",height:24,width:24,blurWidth:0,blurHeight:0}},24554:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/line-quote-icon.3e5cc7ff.svg",height:24,width:24,blurWidth:0,blurHeight:0}},26576:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/text-color-icon.6256a001.svg",height:24,width:24,blurWidth:0,blurHeight:0}},26998:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/badge-certified.e57141a2.svg",height:16,width:16,blurWidth:0,blurHeight:0}},31106:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/block-video.15f9b38f.svg",height:20,width:20,blurWidth:0,blurHeight:0}},33014:()=>{},33931:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/curious-character-white.549cb2db.svg",height:40,width:40,blurWidth:0,blurHeight:0}},36382:()=>{},38103:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/link-insert-icon.ecd7d598.svg",height:32,width:32,blurWidth:0,blurHeight:0}},38689:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/sns-telegram.1832f8ea.svg",height:24,width:24,blurWidth:0,blurHeight:0}},39941:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/number-list-icon.4974ef7e.svg",height:24,width:24,blurWidth:0,blurHeight:0}},40003:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/dot-list-icon.4f2eac36.svg",height:24,width:24,blurWidth:0,blurHeight:0}},40126:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/sns-linkedin.02cbd804.svg",height:24,width:24,blurWidth:0,blurHeight:0}},40926:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/bold-icon.451f812e.svg",height:24,width:24,blurWidth:0,blurHeight:0}},43831:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/black-down-arrow-icon.3afe92df.svg",height:28,width:28,blurWidth:0,blurHeight:0}},45424:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/horizontal-line-icon.658d44c6.svg",height:32,width:32,blurWidth:0,blurHeight:0}},45442:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/check-list-icon.e1e880a7.svg",height:24,width:24,blurWidth:0,blurHeight:0}},48980:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/align-left-icon.dcd84a25.svg",height:24,width:24,blurWidth:0,blurHeight:0}},50311:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/block-contact.017e6c21.svg",height:28,width:28,blurWidth:0,blurHeight:0}},52009:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/justify-text-icon.be0f3d34.svg",height:24,width:24,blurWidth:0,blurHeight:0}},53594:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/crown.7d862592.svg",height:16,width:16,blurWidth:0,blurHeight:0}},53992:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/sns-facebook.ce6a813b.svg",height:24,width:24,blurWidth:0,blurHeight:0}},56713:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/underline-icon.bfb46496.svg",height:24,width:24,blurWidth:0,blurHeight:0}},61498:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/sns-tiktok.022a7b1a.svg",height:24,width:24,blurWidth:0,blurHeight:0}},62285:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/double-quote-icon.5450f533.svg",height:24,width:24,blurWidth:0,blurHeight:0}},64581:(e,t,r)=>{"use strict";r.d(t,{En:()=>b.default,Gx:()=>G.default,H3:()=>C.default,Hr:()=>p.default,IC:()=>M.default,Iw:()=>i.default,Jy:()=>m.default,Lz:()=>R.default,M1:()=>U.default,Mq:()=>E.default,NS:()=>_.default,OQ:()=>L.default,QG:()=>V.default,QI:()=>T.default,QR:()=>g.default,Q_:()=>o.default,R7:()=>q.default,Rx:()=>h.default,Tk:()=>v.default,V0:()=>j.default,Vl:()=>B.default,W8:()=>n.default,Wp:()=>Y.default,Ws:()=>H.default,Ye:()=>Q.default,Ys:()=>W.default,ak:()=>a.default,c8:()=>f.default,h2:()=>k.default,he:()=>O.default,ic:()=>D.default,j$:()=>w.default,lh:()=>u.default,lo:()=>S.default,lr:()=>F.default,mo:()=>y.default,oe:()=>A.default,p4:()=>l.default,pz:()=>c.default,q7:()=>d.default,qN:()=>x.default,rS:()=>I.default,sJ:()=>N.default,tr:()=>P.default,wD:()=>z.default,wd:()=>s.default});var i=r(84636),o=r(48980),l=r(80119),n=r(26998),s=r(72262),a=r(43831),d=r(72204),
1c=r(50311),u=r(79967),h=r(13871),p=r(87250),f=r(88708),g=r(79330),b=r(31106),m=r(3058),v=r(40926),x=r(45442),w=r(53594),y=r(33931),k=r(40003),j=r(62285),N=r(14550),F=r(86383),E=r(45424),A=r(7004),C=r(52009),L=r(24554),_=r(38103),R=r(39941),H=r(70960),D=r(53992),W=r(14722),M=r(40126),z=r(78539),S=r(77419),I=r(38689),P=r(20293),T=r(61498),O=r(94231),B=r(14829),V=r(1095),U=r(26576),q=r(4216),Y=r(56713),G=r(6945),Q=r(71260)},70960:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/sns-brunch.9a5a6ab0.svg",height:24,width:24,blurWidth:0,blurHeight:0}},71260:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/youtube-insert-icon.7b91b392.svg",height:32,width:32,blurWidth:0,blurHeight:0}},72204:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/block-book.98f7c650.svg",height:24,width:24,blurWidth:0,blurHeight:0}},72262:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/badge-great.42f70cd3.svg",height:26,width:24,blurWidth:0,blurHeight:0}},77419:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/sns-notion.02cb6b39.svg",height:24,width:24,blurWidth:0,blurHeight:0}},78539:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/sns-naver-blog.1575e618.svg",height:23,width:24,blurWidth:0,blurHeight:0}},79330:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/block-text.5d85c11d.svg",height:24,width:24,blurWidth:0,blurHeight:0}},79967:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/block-link.8bef22a0.svg",height:24,width:24,blurWidth:0,blurHeight:0}},80119:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/align-right-icon.3d3d7e4b.svg",height:24,width:24,blurWidth:0,blurHeight:0}},84636:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/align-center-icon.b4eca84c.svg",height:24,width:24,blurWidth:0,blurHeight:0}},86383:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/highlight-pencil-icon.4ae2a3a2.svg",height:24,width:24,blurWidth:0,blurHeight:0}},87250:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/block-sns.5ab508bd.svg",height:28,width:28,blurWidth:0,blurHeight:0}},88708:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/block-study.62f1ec3b.svg",height:24,width:24,blurWidth:0,blurHeight:0}},94231:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});let i={src:"/_next/static/media/sns-twitter.a4cbb25b.svg",height:24,width:24,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.