????
Current Path : C:/inetpub/vhost/lantha.gdtsolutions.vn/wwwtest/wwwroot/static/js/ |
Current File : C:/inetpub/vhost/lantha.gdtsolutions.vn/wwwtest/wwwroot/static/js/72.020f9c29.chunk.js |
"use strict";(self.webpackChunkgdt=self.webpackChunkgdt||[]).push([[72],{20072:(e,s,a)=>{a.r(s),a.d(s,{default:()=>b});var t=a(9950),n=a(16673),i=a(82654),o=a(48738),r=a.n(o);class d extends t.Component{componentDidMount(){this.isFixed(this.props.fixed)}isFixed(e){e&&document.body.classList.add("header-fixed")}render(){let{className:e,children:s,tag:a,fixed:n,...i}=this.props,o=r()(this.props.className,"app-header","navbar");return t.createElement(this.props.tag,Object.assign({className:o},i),this.props.children)}}d.defaultProps={tag:"header",fixed:!1};class c extends t.Component{componentDidMount(){this.isFixed(this.props.fixed)}isFixed(e){e&&document.body.classList.add("footer-fixed")}render(){let{className:e,children:s,tag:a,fixed:n,...i}=this.props,o=r()(this.props.className,"");return t.createElement(this.props.tag,Object.assign({className:o},i),this.props.children)}}c.defaultProps={tag:"footer",fixed:!1};const l=c;var p=a(73230),h=a(53744),m=a(44414);const u=t.lazy((()=>Promise.resolve().then(a.bind(a,42398)))),x=t.lazy((()=>a.e(7342).then(a.bind(a,17342)))),g=t.lazy((()=>a.e(2550).then(a.bind(a,12550)))),f=t.lazy((()=>Promise.all([a.e(8185),a.e(7430),a.e(4130)]).then(a.bind(a,64469))));class j extends t.Component{constructor(e){super(e),this.isChangeHeader=()=>{const{isChange:e}=this.state;this.setState({isChange:!e})},this.state={routes:p.px(),hideFooter:!0,isChange:!0}}componentDidMount(){"/"===this.props.location.pathname&&h.lg.TrangChu&&window.location.replace(h.lg.TrangChu),p.Vi(),this.setState({hideFooter:p.qW("CHC_HIDE_FOOTER")})}render(){return(0,m.jsxs)("div",{className:"app",children:[(0,m.jsxs)("div",{className:"/tao-don-hang"===this.props.location.pathname?"custom-menu change":"custom-menu new",children:[" ",(0,m.jsx)(f,{}),(0,m.jsx)(g,{})]}),(0,m.jsx)("div",{className:"/tao-don-hang"===this.props.location.pathname?"":"app-body new container",children:(0,m.jsx)("main",{className:"main",children:(0,m.jsx)(i.A,{fluid:!0,children:(0,m.jsx)(t.Suspense,{fallback:(0,m.jsx)(u,{}),children:(0,m.jsx)(n.dO,{children:this.state.routes.map(((e,s)=>e.component&&(0,m.jsx)(n.qh,{path:e.path,exact:e.exact,name:e.name,render:s=>(0,m.jsx)(e.component,{...s,title:e.name,odata:e.odata,params:e.params})},s)))})})})})}),"/tao-don-hang"===this.props.location.pathname?null:(0,m.jsx)(l,{children:(0,m.jsx)(x,{})})]})}}const b=(0,n.y)((e=>(0,m.jsx)(j,{...e})))},82654:(e,s,a)=>{a.d(s,{A:()=>u});var t=a(58168),n=a(98587),i=a(9950),o=a(11942),r=a.n(o),d=a(48738),c=a.n(d),l=a(44208),p=["className","cssModule","fluid","tag"],h={tag:l.Wx,fluid:r().oneOfType([r().bool,r().string]),className:r().string,cssModule:r().object},m=function(e){var s=e.className,a=e.cssModule,o=e.fluid,r=e.tag,d=(0,n.A)(e,p),h="container";!0===o?h="container-fluid":o&&(h="container-"+o);var m=(0,l.qO)(c()(s,h),a);return i.createElement(r,(0,t.A)({},d,{className:m}))};m.propTypes=h,m.defaultProps={tag:"div"};const u=m}}]);