1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1160],{35322:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/resources/docs/[slug]",function(){return n(19227)}])},19227:function(e,s,n){"use strict";n.r(s),n.d(s,{__N_SSP:function(){return F}});var t=n(47568),c=n(41799),r=n(69396),a=n(34051),i=n.n(a),l=n(85893),o=n(58492),m=n(71230),d=n(15746),u=n(20550),h=n(24093),g=n(51242),x=n(80737),j=n(16536),b=n(2831),f=n(71577),p=n(71064),v=n(36089),N=n(11163),_=n(31567),Z=n(9473),C=n(80614),y=n(13395),I=n(54885),w=n(41664),k=n.n(w),L=n(67294),S=n(58277),T=n(30381),D=n.n(T),P=n(70231),z=n(86893),E=n(23936),F=!0;s.default=function(e){var s=(0,N.useRouter)(),n=(0,_.$)(),a=n.t,w=n.i18n,T=(0,Z.v9)((function(e){return e.currentCustomer.data})),F=e.blog,M=e.comments,A=(0,L.useState)(""),H=A[0],B=A[1],Y=(0,L.useState)(!1),O=Y[0],R=Y[1],$=(0,L.useState)(!1),X=$[0],U=$[1],V=F.blogshortsubject?F.blogshortsubject:F.blogsubject;return(0,L.useEffect)((function(){F.id||s.replace("/resources/docs")}),[F]),(0,l.jsxs)(I.Z,{children:[(0,l.jsx)(C.Z,{params:{t:a},title:V,path:s.asPath,sds:[{"@context":"http://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:a("menu.home.name"),item:S.D.Client+""},{"@type":"ListItem",position:2,name:a("menu.resources.name"),item:S.D.Client+"/resources"},{"@type":"ListItem",position:2,name:a("menu.resources.docs"),item:S.D.Client+"/resources/docs"},{"@type":"ListItem",position:3,name:V,item:S.D.Client+"/resources/docs/"+F.blogslug}]}]}),(0,l.jsx)(y.Z,{params:{t:a,i18n:w,router:s,currentCustomer:T},subActive:"resources_docs",breadcrumb:(0,l.jsxs)(o.Z,{className:"breadcrumb",children:[(0,l.jsx)(o.Z.Item,{children:(0,l.jsx)(k(),{href:"/",children:a("menu.home.name")})}),(0,l.jsx)(o.Z.Item,{children:(0,l.jsx)(k(),{href:"/resources",children:a("menu.resources.name")})}),(0,l.jsx)(o.Z.Item,{children:(0,l.jsx)(k(),{href:"/resources/docs",children:a("menu.resources.docs")})}),(0,l.jsx)(o.Z.Item,{children:V})]}),children:F.id&&(0,l.jsxs)("div",{className:"blogList",children:[(0,l.jsx)("div",{className:"blockFrame",children:(0,l.jsx)("div",{className:"blogDetail",children:(0,l.jsxs)("div",{className:"blogListItem",children:[""!==F.blogimage&&(0,l.jsx)("div",{className:"blogThumb",children:(0,l.jsx)("img",{src:S.D.Static+F.blogimage,alt:F.blogsubject})}),(0,l.jsx)("h1",{className:"blogSubject",children:F.blogsubject}),(0,l.jsxs)("div",{className:"blogAuthor",children:[F.blogauthors?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(P.$yn,{}),(0,l.jsx)("span",{children:F.blogauthors})]}):(0,l.jsx)(l.Fragment,{children:F.officer&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(P.$yn,{}),(0,l.jsx)("span",{children:F.officer.screenname})]})})," "]}),(0,l.jsx)("div",{className:"blogMain",children:(0,l.jsxs)(m.Z,{gutter:16,children:[(0,l.jsx)(d.Z,{lg:18,xs:24,children:"HTML"===F.blogcontenttype?(0,l.jsx)("div",{className:"blogContent",dangerouslySetInnerHTML:{__html:F.blogcontent}}):(0,l.jsx)(E.Z,{theme:"light",previewTheme:"default",modelValue:F.blogcontent,language:"en-US"})}),(0,l.jsx)(d.Z,{lg:6,xs:24,children:(0,l.jsx)("ul",{className:"blogListMenu",children:e.blogs.map((function(e){return(0,l.jsxs)("li",{children:[(0,l.jsx)(z.AlO,{size:12,color:"#006be9"}),(0,l.jsx)("span",{className:"mlp5",children:(0,l.jsx)(k(),{href:"/resources/docs/"+e.blogslug,children:(0,l.jsx)("a",{children:e.blogsubject})})})]})}))})})]})}),(0,l.jsx)("div",{className:"blogTags",children:F.tags&&F.tags.map((function(e){return(0,l.jsx)(k(),{href:"/support/tag/"+e.tagslug,title:e.tagname,children:(0,l.jsx)("a",{children:(0,l.jsx)(u.Z,{children:e.tagname})})},e.id)}))})]},F.id)})}),(0,l.jsx)("div",{className:"blockFrame",hidden:!0,children:(0,l.jsxs)("div",{className:"blogComments",id:"comment",children:[(0,l.jsx)("div",{className:"commentTitle",children:a("fe.blog_comments")}),(0,l.jsx)("div",{className:"commentList",children:M&&M.map((function(e){return(0,l.jsxs)("div",{className:"commentListItem",children:[(0,l.jsxs)("div",{className:"commentCustomer",children:[(0,l.jsx)("div",{className:"customerAvatar",children:(0,l.jsx)(h.C,{size:"large",alt:e.customer.screenname,children:e.customer.screenname})}),(0,l.jsxs)("div",{className:"customerInfo",children:[(0,l.jsx)("div",{className:"customerName",children:e.customer.screenname}),(0,l.jsx)("div",{className:"customerCommentedAt",children:D()(e.commentcreatedat).format("YYYY-MM-DD HH:mm")}
1)]})]}),(0,l.jsx)("div",{className:"commentContent",children:e.commentcontent})]},e.id)}))}),(0,l.jsx)("div",{className:"pageNavi",hidden:e.totalRecords/S.D.defaultPageSize<=1,children:(0,l.jsx)(g.Z,{current:parseInt(e.currentPage),pageSize:S.D.defaultPageSize,size:"large",showSizeChanger:!1,total:e.totalRecords,onChange:function(n){s.push("/support/"+F.blogslug+"?page="+n+(""===e.keyword?"":"&keyword="+keyword)+"#comment")}})}),T.id&&(0,l.jsxs)("div",{className:"commentForm",children:[(0,l.jsxs)(x.Z,{onFinish:function(){var e=(0,t.Z)(i().mark((function e(s){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=(0,r.Z)((0,c.Z)({},s),{commentcontent:H}),""!==H){e.next=3;break}return e.abrupt("return",j.ZP.error({content:a("fe.comment_not_empty")}));case 3:return R(!0),e.next=6,(0,v.v)("blog/"+F.blogslug+"/comment/add/",s,w.language);case 6:(n=e.sent).info.success&&n.data.success?(U(!0),R(!1),B("")):j.ZP.error({content:n.data?n.data.message:a("info.common.operation_failed")});case 8:case"end":return e.stop()}}),e)})));return function(s){return e.apply(this,arguments)}}(),children:[(0,l.jsx)("div",{className:"commentInput",children:(0,l.jsx)(b.Z.TextArea,{rows:4,value:H,placeholder:a("fe.blog_leave_comment"),onChange:function(e){B(e.target.value)}})}),(0,l.jsx)("div",{className:"commentButton",children:(0,l.jsx)(f.Z,{htmlType:"submit",type:"primary",className:"submitBtn",shape:"round",loading:O,children:a("fe.submit")})})]}),(0,l.jsx)(p.Z,{open:X,width:720,className:"trialModal",footer:null,onCancel:function(){U(!1)},children:(0,l.jsxs)("div",{className:"indexHint",children:[(0,l.jsx)("div",{className:"hintIconImg"}),(0,l.jsx)("div",{className:"hintTitle",children:a("fe.comment_success_title")}),(0,l.jsx)("div",{className:"hintContent ac",children:a("fe.comment_success")}),(0,l.jsx)("div",{className:"hintButton ac",children:(0,l.jsx)("a",{className:"btn1",onClick:function(){U(!1)},children:a("fe.ok")})})]})})]})]})})]})})]})}}},function(e){e.O(0,[1228,1778,5762,9244,6207,4747,378,8757,1369,737,8413,6893,3921,2145,3395,9774,2888,179],(function(){return s=35322,e(e.s=s);var s}));var s=e.O();_N_E=s}]);
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.