1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9125],{9125:function(e,t,r){r.r(t),r.d(t,{default:function(){return F}});var n=r(50029),o=r(59499),i=r(87794),a=r.n(i),s=r(67294),l=r(5152),c=r.n(l),d=r(26113);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p=f(f({marginTop:"0",marginBottom:"0",paddingLeft:"1rem",paddingRight:"1rem",wordWrap:"break-word",letterSpacing:"0.5px","& a":{textDecoration:"none"},"& iframe":{maxWidth:"100%"},"& img":{maxWidth:"100%",width:"auto",height:"auto !important",objectFit:"fill",animation:"none",verticalAlign:"top"}},{"& blockquote":{padding:"0",borderStyle:"solid",borderColor:"#ccc",borderWidth:0,paddingLeft:"20px",paddingRight:"8px",borderLeftWidth:"5px",color:"inherit"},"@media(max-width: 480px)":{"& blockquote":{margin:"10px"}}}),{'& span[style~="color:"] a':{color:"inherit"},'& span[style~="font-family:"] *':{fontFamily:"inherit"}}),m=r(27812),b=r(86316),g=r.n(b),y=r(71e3);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var w=g().DEFAULTS&&Array.isArray(g().DEFAULTS.htmlAllowedTags)?g().DEFAULTS.htmlAllowedTags:[],S=g().DEFAULTS&&Array.isArray(g().DEFAULTS.htmlAllowedAttrs)?g().DEFAULTS.htmlAllowedAttrs:[],T=g().DEFAULTS&&Array.isArray(g().DEFAULTS.htmlAllowedEmptyTags)?g().DEFAULTS.htmlAllowedEmptyTags:[],O=[].concat((0,m.Z)(w),(0,m.Z)(y.H7)),E=[].concat((0,m.Z)(S),(0,m.Z)(y.BQ)),x=(0,m.Z)(new Set([].concat((0,m.Z)(T),(0,m.Z)(y.H7))));function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.enableLucide,o=void 0!==n&&n,i=r.allowStyleTag,a=void 0!==i&&i;return v(v(v({initOnClick:!0,htmlUntouched:!0},o?{htmlAllowedTags:O,htmlAllowedAttrs:E,htmlAllowedEmptyTags:x}:{}),a?{htmlRemoveTags:["script"]}:{}),{},{toolbarSticky:!1,toolbarBottom:!1,toolbarInline:!1,attribution:!1,linkEditButtons:["buttonStyle","|","textColorEdit","backgroundColorEdit","borderOuterButton","buttonAlign","buttonPadding","buttonEdit","linkOpen","linkEdit","linkRemove"],editDivButtons:["divStyle","|","backgroundColorEditDiv","borderOuterDiv","divAlign","divPadding","formatClearButton"],imageInsertButtons:["imageBack","|","imageUpload","imageByURL"],imageEditButtons:["imageReplace","imageCaption","imageRemove","|","imageLink","linkOpen","linkEdit","linkRemove","-","imageDisplay","imageAlt","imageSize"],videoInsertButtons:["videoBack","|","videoByURL","videoEmbed"],videoEditButtons:["videoReplace","videoRemove","|","videoDisplay","videoAlign","videoSize"],videoResize:!0,quickInsertButtons:["image","table","ol","ul","hr"],tableEditButtons:["tableHeader","tableFooter","tableRemove","tableRows","tableColumns","tableStyle","-","tableCells","tableCellBackgroun
1d","tableCellVerticalAlign","tableCellHorizontalAlign","tableCellStyle"],toolbarButtons:{moreText:{buttons:["paragraphFormat","fontFamily","fontSize","|","bold","textColor","backgroundColor","align","underline","italic","strikeThrough","subscript","superscript","clearFormatting","formatOL","formatUL","lineHeight","indent","outdent","customQuote"],align:"left",buttonsVisible:7},moreRich:{buttons:["insertLink","insertTable","insertImage","customButton","containerIcon","customUSAL","customUSALOptions","summaryButton","emoticons","specialCharacters","insertHR","insertVideo","embedly"],align:"left",buttonsVisible:5},moreMisc:{buttons:["undo","redo","html"]},align:"right",buttonsVisible:2},paragraphStyles:{"cover-title":"cover-title","section-title":"section-title","section-subtitle":"section-subtitle","inner-title":"inner-title",inner:"inner",caption:"caption"},paragraphMultipleStyles:!1,paragraphFormatSelection:!0,paragraphFormat:{H1:e.formatMessage({id:"froala.cover_title",defaultMessage:"Headline"}),H2:e.formatMessage({id:"froala.section_title",defaultMessage:"Section title"}),H3:e.formatMessage({id:"froala.section_subtitle",defaultMessage:"Section subtitle"}),H4:e.formatMessage({id:"froala.inner_title",defaultMessage:"Body title"}),N:e.formatMessage({id:"froala.inner",defaultMessage:"Body text"}),DIV:e.formatMessage({id:"froala.caption",defaultMessage:"Caption"})},tableStyles:{"fr-alternate-rows":e.formatMessage({id:"froala.table_alternative_rows",defaultMessage:"Alternative Rows"}),"fr-table-default":e.formatMessage({id:"froala.table_nocollapse",defaultMessage:"No Collapse Border"}),"fr-table-collapse":e.formatMessage({id:"froala.table_collapse",defaultMessage:"Collapse Border"}),"fr-dashed-borders":e.formatMessage({id:"froala.table_dashed",defaultMessage:"Dashed Borders"}),"fr-no-borders":e.formatMessage({id:"froala.table_noborders",defaultMessage:"No Borders"})},lineHeights:{Default:"",Single:"1",1.15:"1.15",1.5:"1.5",Double:"2"},lineBreakerTags:["table","hr","form","dl","span.fr-video",".fr-embedly",".fr-img-caption","div.custom-div","details","p","br"],fontFamily:{"Noto Serif TC":e.formatMessage({id:"froala.fontFamily_noto_serif_tc",defaultMessage:"Noto Serif TC"}),"Noto Sans TC":e.formatMessage({id:"froala.fontFamily_noto_sans_tc",defaultMessage:"Noto Sans TC"}),"Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","'Times New Roman',Times,serif":"Times New Roman","Tahoma,Geneva,sans-serif":"Tahoma","Verdana,Geneva,sans-serif":"Verdana",Oswald:"Oswald",Montserrat:"Montserrat","Impact,Charcoal,sans-serif":"Impact","Noto Serif JP":e.formatMessage({id:"froala.fontFamily_noto_serif_jp",defaultMessage:"Noto Serif Jp"}),"Noto Sans JP":e.formatMessage({id:"froala.fontFamily_noto_sans_jp",defaultMessage:"Noto Sans JP"})},fontFamilySelection:!0,fontSizeSelection:!0,linkInsertButtons:[],charCounterCount:!1,wordCounterCount:!1,placeholderText:"",imageMaxSize:3e6,imageUploadURL:t.imageUploadURL,pasteDeniedAttrs:["id"]})}var k=r(16835),C=[],L={type:["radio","checkbox","text","number","date","time","url","search","button","range","color"],exists:["disabled","readonly","required","checked","selected","multiple","autofocus","placeholder","controls","autoplay","loop","muted"]},N=function(e){return e&&"string"===typeof e?e.replace(/<style[^>]*>([\s\S]*?)<\/style>/gi,(function(e,t){var r=t;return r=(r=r.replace(/@import[^;]+;/gi,"")).replace(/url\s*\((['"]?)([^'"()]+)\1\)/gi,(function(e,t,r){var n=r.trim();return C.some((function(e){return n.includes(e)}))?e:""})),r=r.replace(/::(before|after)\s*\{[^}]*\}/gi,(function(e){if(/content\s*:\s*(['"])([^'"]*)\1/i.test(e)){var t=e.match(/content\s*:\s*(['"])([^'"]*)\1/i),r=t?t[2].trim():"";return""===r||"none"===r||/^[\s\u200B-\u200D\uFEFF]*$/.test(r)?e:""}return e})),r=r.replace(/:(before|after)\s*\{[^}]*\}/gi,(function(e,t,r,n){if(":"===n[r-1])return e;if(/content\s*:\s*(['"])([^'"]*)\1/i.test(e)){var o=e.match(/content\s*:\s*(['"])([^'"]*)\1/i),i=o?o[2].trim():"";return""===i||"none"===i||/^[\s\u200B-\u200D\uFEFF]*$/.test(i)?e:""}return e})),r=r.replace(/([^{}]+)\{([^}]+)\}/g,(function(e,t){var r=t.replace(/\/\*[\s\S]*?\*\//g,"").trim();return/\*/.test(r)?"":e})),r=r.replace(/([^{}]+)\{([^}]+)\}/g,(function(e,t){var r=t.match(/\[([^\]]+)\]/g);if(!r)return e;var n=r.every((function(e){return function(e,t){if(/[\^*$~|]=/.test(t))return!1;var r=t.match(/\[([\w-]+)(?:\s*=\s*["']?([^"']*)["']?)?\]/);if(!r)return!1;var n=(0,k.default)(r,3),o=n[1],i=n[2];if("type"===o)return!(!i||!L.type.includes(i));if(L.exists.includes(o))return!i;return!1}(0,e)}));return n?e:""})),r=(r=(r=(r=(r=r.replace(/:visited[^{]*\{[^}]*\}/gi,"")).replace(/:-webkit-autofill[^{]*\{[^}]*\}/gi,"")).replace(/[^{}]+{\s*}/g,"")).replace(/[^{}]+{\s*;\s*}/g,"")).replace(/[^{}]+{\s*[^}]*}/g,(function(e){var t=e.match(/{([^}]*)}/);if(t){var r=t[1].replace(/\/\*[\s\S]*?\*\//g,"");if(!(r=(r=r.replace(/[^:\s;]+:\s*;/g,"")).trim())||";"===r||/^\s*;\s*$/.test(r))return""}return e})),r=(r=(r=r.replace(/^[\w.#:[\]()\s-]+\s*$/gm,"")).replace(/\n\s*\n\s*\n+/g,"\n")).trim(),"<style>".concat(r,"</style>")})):e};var B=r(96236),R={H1:"cover-title",H2:"section-title",H3:"section-subtitle",H4:"inner
1-title",N:"inner",DIV:"caption"},P=function(e,t){var r=e[0],n=r.clientWidth,o={class:"lazyload","data-width":n,"data-ratio":(r.clientHeight/n).toFixed(3)};t||(o.style=""),e.attr(o)},D=r(74806),M=r(85893);function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function H(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}(0,y.Kj)();var _=c()((function(){return r.e(9431).then(r.t.bind(r,99431,23))}),{ssr:!1,loadableGenerated:{webpack:function(){return[99431]}}}),F=(0,D.ZP)((function(e){var t=e.isShowPadding,o=void 0===t||t,i=e.froalaKey,l=e.content,c=e.stringMaxLength,u=e.uploadOptions,f=void 0===u?{}:u,p=e.configs,m=void 0===p?{}:p,b=e.policy,g=e.intl,h=e.onUpdateContent,v=void 0===h?function(){}:h,w=e.onImageFailed,S=void 0===w?function(){}:w,T=e.onEditSourceCode,O=void 0===T?function(){}:T,E=b||B.jf,x=(0,s.useRef)(null),k=(0,s.useRef)(0),C=(0,s.useRef)(null),L=(0,s.useState)(0),D=L[0],j=L[1],F=(0,s.useState)(!1),q=F[0],V=F[1],Z=(0,s.useState)(!1),W=Z[0],G=Z[1],K=(0,s.useState)(""),$=K[0],J=K[1],Q=(0,s.useState)(!l||!l.includes("embedly-card")),X=Q[0],Y=Q[1],ee="en-US"===g.locale?"en":"zh_tw",te=["customPlugin.button","customPlugin.container"].reduce((function(e,t){return e["popups.show.".concat(t)]=function(){var e="".concat(t),r=this.popups.get(e)[0];if(r){var n=this.el().getBoundingClientRect().top,o=r.offsetHeight,i=n+o;document.body.scrollHeight<i&&window.innerHeight<i&&n<o&&(document.body.style.height="".concat(i,"px")),J(e)}},e["popups.hide.".concat(t)]=function(){""!==document.body.style.height&&$===t&&(document.body.style.height=""),J("")},e}),{}),re=function(){if(x.current){var e=x.current.querySelector(".fr-toolbar");if(Boolean(e)){var t=Number(e.offsetHeight),r=x.current.getBoundingClientRect().top,n=x.current.getBoundingClientRect().bottom;r<60?n<60?(e.style.top="-200px",e.style.transform=""):(e.style.top="".concat(n,"px"),e.style.transform="none"):r>60+t?(e.style.top="".concat(r,"px"),e.style.transform=""):(e.style.top="".concat(n,"px"),e.style.transform="none"),k.current=r;var o=x.current.querySelector(".fr-box");if(o){var i=Array.from(o.getElementsByClassName("fr-btn-grp")),a=i.reduce((function(e,t){return e+t.offsetWidth}),0);if(a>0){var s=i.reduce((function(e,t){return e+parseFloat(window.getComputedStyle(t).marginLeft.split("px")[0])+parseFloat(window.getComputedStyle(t).marginRight.split("px")[0])}),a),l=parseFloat(window.getComputedStyle(e).paddingRight.split("px")[0])+parseFloat(window.getComputedStyle(e).paddingLeft.split("px")[0]),c=document.documentElement.clientWidth,d=e.getBoundingClientRect().x,u=s+1.5*l,f=c-d>u?u:c-d;e.style.width="".concat(f,"px")}}}}},ne=function(){E.enableLucide&&(C.current&&clearTimeout(C.current),C.current=setTimeout((function(){var e,t=null===(e=x.current)||void 0===e?void 0:e.querySelector(".fr-element");(0,y.x5)(t)}),150))};(0,s.useEffect)((function(){return function(){return clearTimeout(C.current)}}),[]);var oe=H(H({},te),{},{initialized:function(){re(),this.toolbar.hide();var e=document.querySelector(".fr-second-toolbar");e&&e.remove(),ne()},focus:function(){"undefined"!==typeof this.toolbar&&(this.toolbar.show(),re(),window.addEventListener("scroll",re,{passive:!0}),ne())},blur:function(){if(this.toolbar.hide(),window.removeEventListener("scroll",re,{passive:!0}),c&&function(e){var t=e.html.get(!0);!Boolean(c>t.length)&&e.html.set(t.substring(0,c))}(this),this.codeView.isActive()){var e=this;setTimeout((function(){var t,r=null===(t=x.current)||void 0===t?void 0:t.querySelector(".fr-code-view");r&&r.contains(document.activeElement)||e.codeView.isActive()&&e.codeView.toggle()}),0)}},keydown:function(){k.current!==x.current.getBoundingClientRect().top&&re()},contentChanged:function(){k.current!==x.current.getBoundingClientRect().top&&re(),ne()},"codeView.invisible":function(){ne()},"image.inserted":function(e){P(e)},"image.replaced":function(e){P(e)},"image.loaded":function(e){P(e)},"image.resizeEnd":function(e){P(e,!0)},"image.error":function(e){5===e.code?S("IMG","img.upload_failed"):6===e.code?S("IMG","img.support_exts"):8===e.code?S("IMG","img.upload_failed_size"):S("IMG","listfeed.upload_failed")},"commands.after":function(e,t){var r=this;switch(e){case"moreText":case"moreRich":setTimeout((function(){re()}),500);break;case"tableInsert":for(var n=this.selection.get().anchorNode.parentNode;"TABLE"!==n.tagName;)n=n.parentNode;n.setAttribute("border","1"),n.setAttribute("cellpadding","5"),n.setAttribute("cellspacing","0"),n.setAttribute("class","froala-thin-borders");break;case"bold":if(this.format.is("strong")){this.selection.save(),this.html.wrap("<div></div>
1"),this.selection.restore();var o=this.selection.blocks();Array.from(o).forEach((function(e){var t=e.querySelectorAll("strong");Array.from(t).forEach((function(e){e.classList.add("fs-bold")}))})),this.html.unwrap()}break;case"tableStyle":for(var i=this.selection.get().anchorNode.parentNode;"TABLE"!==i.tagName;){if(!Boolean(i.parentNode))return;i=i.parentNode}var a=[];switch(t){case tableStyleTypes.THIN:i.classList.contains(tableStyleTypes.THIN)?a.push(tableStyleTypes.THICK):i.classList.add(tableStyleTypes.THICK),i.classList.contains(tableStyleTypes.NO_BORDER)&&a.push(tableStyleTypes.NO_BORDER);break;case tableStyleTypes.THICK:i.classList.contains(tableStyleTypes.THICK)?a.push(tableStyleTypes.THIN):i.classList.add(tableStyleTypes.THIN),i.classList.contains(tableStyleTypes.NO_BORDER)&&a.push(tableStyleTypes.NO_BORDER);break;case tableStyleTypes.DASHED:i.classList.contains(tableStyleTypes.NO_BORDER)&&(a.push(tableStyleTypes.NO_BORDER),i.classList.contains(tableStyleTypes.THICK)||i.classList.contains(tableStyleTypes.THIN)||i.classList.add(tableStyleTypes.THIN));break;case tableStyleTypes.NO_BORDER:i.classList.contains(tableStyleTypes.NO_BORDER)?a=[tableStyleTypes.THIN,tableStyleTypes.THICK,tableStyleTypes.DASHED]:i.classList.add(tableStyleTypes.THIN)}a.forEach((function(e){t!==e&&i.classList.contains(e)&&i.classList.remove(e)}));break;case"linkInsert":this.link.get()&&!this.link.get().classList.contains("link")&&this.link.applyStyle("link");break;case"imageCaption":var s=this.selection.get().anchorNode.parentNode;if(s){var l=s.parentNode;l.parentNode.classList.remove("lazyload");var c=l.parentNode.style.width,d=l.querySelectorAll("img")[0];d.classList.add("lazyload"),d.style.width=c}else{var u=this.image.get()[0];u&&!u.classList.contains("lazyload")&&u.classList.add("lazyload")}break;case"paragraphFormat":if("DIV"===t){var f=this.selection.blocks();this.selection.save(),Array.from(f).forEach((function(e){e.style.removeProperty("font-size");var n=e.querySelectorAll("span");n.length>0&&Array.from(n).forEach((function(e){e.style.removeProperty("font-size")})),r.html.wrap("<div></div>"),r.selection.blocks()[0].className=R[t]||""})),this.selection.restore()}else if(!this.format.is(t,{class:R[t]})){var p=this.selection.blocks();Array.from(p).forEach((function(e){e.style.removeProperty("font-size");var t=e.querySelectorAll("span");t.length>0&&Array.from(t).forEach((function(e){e.style.removeProperty("font-size")}))})),this.paragraphStyle.apply(R[t])}break;case"html":if(this.$el[0].parentNode.parentNode.className.includes("fr-code-view")){O(!0),re();var m=document.querySelectorAll(".fr-code-view"),b=document.createElement("div");b.id="outerClose",b.style.position="fixed",b.style.top="0",b.style.left="0",b.style.width="100vw",b.style.height="100vh",b.style.zIndex="999",b.style.backgroundColor="rgba(0, 0, 0, 0.5)",b.style.cursor="pointer",Array.from(m).forEach((function(e){e.parentNode.appendChild(b),e.addEventListener("click",(function(e){e.stopPropagation()}))})),b.addEventListener("click",(function(){O(!1),r.codeView.isActive()&&r.codeView.toggle(),b.remove(),setTimeout((function(){return re()}),0)}))}else{O(!1),setTimeout((function(){return re()}),0);var g=document.getElementById("outerClose");g&&g.parentNode&&g.parentNode.removeChild(g)}}}});(0,s.useEffect)((function(){var e=function(){var e=(0,n.Z)(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([r.e(676),r.e(139)]).then(r.t.bind(r,139,23));case 2:return e.next=4,Promise.resolve().then(r.t.bind(r,86316,23));case 4:return e.next=6,Promise.all([r.e(676),r.e(8568)]).then(r.t.bind(r,69649,23));case 6:return e.next=8,Promise.all([r.e(676),r.e(8296)]).then(r.t.bind(r,48296,23));case 8:return e.next=10,Promise.all([r.e(676),r.e(2062),r.e(8376)]).then(r.bind(r,98376));case 10:return e.next=12,Promise.all([r.e(676),r.e(2062),r.e(6571)]).then(r.bind(r,16571));case 12:return e.next=14,Promise.all([r.e(676),r.e(7687)]).then(r.bind(r,57687));case 14:return e.next=16,Promise.all([r.e(676),r.e(2062),r.e(2356)]).then(r.bind(r,42356));case 16:return e.next=18,Promise.all([r.e(676),r.e(367)]).then(r.bind(r,70367)
1);case 18:return e.next=20,Promise.all([r.e(676),r.e(2730)]).then(r.bind(r,52730));case 20:V(!0);case 21:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]),(0,s.useEffect)((function(){var e,t=function(){clearTimeout(e),e=setTimeout((function(){requestAnimationFrame((function(){re()}))}),0)};return window.addEventListener("resize",t),function(){return window.removeEventListener("resize",t)}}),[]),(0,s.useEffect)((function(){if(l&&l.includes("embedly-card"))if("undefined"===typeof window.embedly)if(document.querySelector('script[src*="cdn.embedly.com"]'))Y(!0);else{var e=document.createElement("script");e.src="https://cdn.embedly.com/widgets/platform.js",e.onload=function(){return Y(!0)},document.head.appendChild(e)}else Y(!0);else Y(!0)}),[l]),(0,s.useEffect)((function(){if(X&&q&&W&&l&&l.includes("embedly-card")){var e=setTimeout((function(){window.embedly&&window.embedly("card")}),500);return function(){return clearTimeout(e)}}}),[X,q,W]),(0,s.useEffect)((function(){if(X&&q&&W){var e=x.current;if(e){var t=function(){var t=e.querySelector(".fr-element");return!(!t||""===t.innerHTML.trim())&&(ne(),!0)};if(!t()){var r=new MutationObserver((function(){t()&&r.disconnect()}));return r.observe(e,{childList:!0,subtree:!0}),function(){return r.disconnect()}}}}}),[X,q,W,l]),(0,s.useEffect)((function(){if(q){var e=function(){var e=(0,n.Z)(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([r.e(676),r.e(6009)]).then(r.bind(r,46009)).then((function(e){e.default({lang:ee,intl:g})}));case 2:G(!0);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[g,q,ee]),(0,s.useEffect)((function(){var e=x.current.getBoundingClientRect(),t=e.left,r=e.width,n=document.body.clientWidth-t;document.body.clientWidth>685&&n<685&&j(n-r)}),[g]);return(0,M.jsx)("div",{className:(0,d.iv)(U,z(D),I(o)),ref:x,children:X&&q&&W&&(0,M.jsx)(_,{tag:"textarea",config:H(H({key:i,language:ee,events:oe},A(g,f,{enableLucide:E.enableLucide,allowStyleTag:E.allowStyleTag})),m),model:l,onModelChange:function(e){return v(E.sanitize?N(e):e)}})})})),I=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{" .fr-box.fr-box .fr-element":{padding:"".concat(e?"0 1rem":"0"," !important")}," .fr-box.fr-basic .fr-element":{padding:"".concat(e?"0 1rem":"0"," !important")},"& .froala-viewer":{padding:"".concat(e?"0 1rem":"0"," !important")}}},z=function(e){return{" .fr-toolbar.fr-top":{position:"fixed",zIndex:"66 !important",right:e||"initial",borderRadius:"8px"}}},U={width:"100%"," .fr-box.fr-basic .fr-element":{margin:"0",overflow:"hidden",minHeight:"initial",boxSizing:"border-box"}," .fr-box.fr-basic.fr-top .fr-wrapper":{boxShadow:"none",background:"none"}," .fr-view":H(H({},p),{},{outline:"none",".fr-element table td.fr-selected-cell, .fr-element table th.fr-selected-cell":{border:"1px double #1e88e5 !important"},"& .fr-no-borders:hover, & .fr-no-borders:hover td":{borderColor:"#eee !important",borderStyle:"dashed !important"}})," .fr-code-view":{zIndex:"1000"}}}}]);
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.