????
Current Path : C:/inetpub/vhost/lantha.gdtsolutions.vn/wwwtest/wwwroot/static/js/ |
Current File : C:/inetpub/vhost/lantha.gdtsolutions.vn/wwwtest/wwwroot/static/js/2660.f0fce01d.chunk.js |
"use strict";(self.webpackChunkgdt=self.webpackChunkgdt||[]).push([[2660],{72660:(e,i,n)=>{n.r(i),n.d(i,{default:()=>A});var t=n(9950),a=n(86006),s=n(73230),o=n(93047),l=n(73613),r=n(44414);const d=a.Ay.button` min-width: 20px !important; padding: 0 !important; @media (min-width: 1200px) { display: none; } `,p=a.Ay.div` transition: left 0.3s ease 0s; left: ${e=>e.focus?"0":"-320"}px; position: fixed; top: 0; height: 100%; z-index: 999999; width: 320px; overflow-x: hidden; overflow-y: auto; background: #262626; -webkit-overflow-scrolling: touch; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; @media (min-width: 1200px) { left: -320px; } `,c=a.Ay.div` line-height: normal; font-size: 35px; color: white; font-family: times new roman,Times,serif; font-weight: 900; -webkit-font-smoothing: antialiased; `,h=a.Ay.div` color: white; border: 0; transition: all .15s ease-in-out; display: inline-block; padding: 10px 20px; float: right; `,x=a.Ay.div` color: white; border: 0; transition: all .15s ease-in-out; display: inline-block; width: 100%; `,m=a.Ay.ul` list-style: none; margin: 0; padding-inline-start: 0px; `,b=a.Ay.li` border-top: 1px solid rgba(255,255,255,.035); border-bottom: 1px solid rgba(255,255,255,.035); `,g=(0,a.Ay)(o.N_)` padding-right: 60px; display: block; position: relative; padding: .9em 20px; color: inherit; border: 0; transition: all .15s ease-in-out; text-decoration: none; text-align: left; &:hover { color: #fff; background: #3d3c42; text-decoration: none; } `,u=a.Ay.span` font-size: 1.25em; height: 100%; position: absolute; right: 15px; top: 50%; margin-top: -10px; height: 20px; line-height: 20px; cursor: pointer; transition: all .2s ease-out; `,f=a.Ay.ul` display: ${e=>e.expand?"block":"none"}; list-style: none; margin: 0; background: rgba(255,255,255,.02); border-top: 1px solid rgba(255,255,255,.035); padding-inline-start: 20px; `,y=a.Ay.ul` display: ${e=>e.expand?"block":"none"}; list-style: none; margin: 0; font-size: 1em; background: rgba(255,255,255,.02); border-top: 1px solid rgba(255,255,255,.035); padding-inline-start: 20px; `,k=a.Ay.div` display: ${e=>e.focus?"block":"none"}; position: fixed; top: 0; left: 0; height: 100%; width: 100%; background: rgba(0,0,0,.6); z-index: 9999; -ms-transform: translateZ(0); -webkit-transform: translateZ(0); -o-transform: translateZ(0); -moz-transform: translateZ(0); transform: translateZ(0); @media (min-width: 1200px) { display: none; } `,w=e=>void 0===e||null===e?"#":e,j=e=>e.children&&e.children.length>0;class v extends t.Component{constructor(e){super(e),this.state={mobile:!1,navigation:s.$D()}}render(){const{navigation:e}=this.state;return(0,r.jsxs)(t.Fragment,{children:[(0,r.jsx)(d,{onClick:e=>this.setState({mobile:!this.state.mobile}),className:"navbar-toggler",type:"button",children:(0,r.jsx)(l.A,{fa:"bars",className:"menu-mobile new"})}),(0,r.jsxs)(p,{focus:this.state.mobile,children:[(0,r.jsx)(c,{children:(0,r.jsx)(h,{onClick:e=>this.setState({mobile:!1}),href:"#","aria-hidden":"true",role:"button",tabindex:"-1",children:"\xd7"})}),(0,r.jsx)(x,{children:(0,r.jsx)(m,{children:e?e.map(((e,i)=>(0,r.jsxs)(b,{children:[(0,r.jsxs)(g,{to:w(e.url),onClick:i=>{j(e)&&(void 0===e.expand?e.expand=!0:e.expand=!e.expand,this.setState({nav:e}))},children:[(0,r.jsx)("i",{className:e.icon,"aria-hidden":!0})," ",e.name,j(e)&&(0,r.jsx)(u,{children:(0,r.jsx)("i",{className:"fa fa-angle-"+(e.expand?"down":"right"),"aria-hidden":"true"})})]}),j(e)&&(0,r.jsx)(f,{expand:e.expand,children:e.children.map(((e,i)=>(0,r.jsxs)("li",{children:[(0,r.jsxs)(g,{to:w(e.url),onClick:i=>{j(e)&&(void 0===e.expand?e.expand=!0:e.expand=!e.expand,this.setState({subnav:e}))},children:[(0,r.jsx)("i",{className:e.icon,"aria-hidden":!0})," ",e.name,j(e)&&(0,r.jsx)(u,{children:(0,r.jsx)("i",{className:"fa fa-angle-"+(e.expand?"down":"right"),"aria-hidden":"true"})})]}),j(e)&&(0,r.jsx)(y,{expand:e.expand,children:e.children.map(((e,i)=>(0,r.jsx)("li",{children:(0,r.jsxs)(g,{to:w(e.url),children:[(0,r.jsx)("i",{className:e.icon,"aria-hidden":!0})," ",e.name]})},i)))})]},i)))})]},i))):null})})]}),(0,r.jsx)(k,{focus:this.state.mobile,onClick:e=>this.setState({mobile:!1})})]})}}const A=v}}]);