1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1571],{72891:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/manager/article/article-category/detail",function(){return c(23294)}])},23294:function(a,b,c){"use strict";c.r(b);var d=c(28520),e=c.n(d),f=c(85893),g=c(76750),h=c(11163),i=c(87536),j=c(88767),k=c(64462),l=c(91737),m=c(16735),n=c(93702);function o(a,b,c,d,e,f,g){try{var h=a[f](g),i=h.value}catch(j){c(j);return}h.done?b(i):Promise.resolve(i).then(d,e)}var p=function(){var a=(0,h.useRouter)().query,b=(0,i.cI)({mode:"onBlur"}),c=b.control,d=b.handleSubmit,m=b.reset,n=b.setValue,p=(0,j.useQuery)(["articleCategoryData",+(null==a?void 0:a.id)],function(){return k.Hq.getByID(+(null==a?void 0:a.id))},{onSuccess:function(a){var b;m(a.Data),n("OGUrl","".concat(window.location.origin,"/chuyen-muc/code=").concat(null==a?void 0:null===(b=a.Data)|| void 0===b?void 0:b.Code))},refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1,enabled:!!(null==a?void 0:a.id)});p.data,p.isFetching,p.isError;var q=(0,j.useMutation)(function(a){return k.Hq.update(a)},{onSuccess:function(){return l.Amu.success("Cáºp nháºt th\xe0nh c\xf4ng")},onError:l.Amu.error}),r=function(a){return function(){var b=this,c=arguments;return new Promise(function(d,e){var f=a.apply(b,c);function g(a){o(f,d,e,g,h,"next",a)}function h(a){o(f,d,e,g,h,"throw",a)}g(void 0)})}}(e().mark(function a(b){return e().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,q.mutateAsync(b);case 3:a.next=7;break;case 5:a.prev=5,a.t0=a.catch(0);case 7:case"end":return a.stop()}},a,null,[[0,5]])}));return(0,f.jsx)(f.Fragment,{children:(0,f.jsx)("div",{className:"tableBox",children:(0,f.jsxs)(g.Z,{tabBarExtraContent:(0,f.jsx)("div",{className:"mb-4",children:(0,f.jsx)(l.hU,{onClick:d(r),title:"Cáºp nháºt",icon:"fas fa-pencil",showLoading:!0,btnClass:"!mr-4",toolip:""})}),children:[(0,f.jsx)(g.Z.TabPane,{tab:"Ná»i dung chuy\xean mục",children:(0,f.jsx)(l.yiY,{control:c})},"1"),(0,f.jsx)(g.Z.TabPane,{tab:"Cấu h\xecnh SEO",children:(0,f.jsx)(l.PCW,{control:c})},"2")]})})})};p.displayName=n.B.post.editCategories,p.breadcrumb=m.m.article.articleCategory.detail,p.Layout=l.Ar2,b.default=p}},function(a){a.O(0,[9774,675,7570,8672,2954,2888,179],function(){return a(a.s=72891)}),_N_E=a.O()}])
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.