1"use strict";(globalThis.webpackChunkPlesk||=[]).push([["components/pages/InfoAndStatisticsPage/TrafficUsageLayoutPage"],{3259(e,a,s){s.r(a),s.d(a,{default:()=>g});var t=s(772),l=s(342),n=s(785),o=s(95),u=s(893),c=s.n(u),i=s(341);const r=o.Locale.getSection("components.pages.InfoAndStatistics.TrafficUsage"),g=()=>{const e=(0,t.useLocation)(),a=(0,t.useNavigate)(),{data:{viewer:{type:s}}}=(0,n.useQuery)(c()),o=[{value:"domains",label:r.lmsg("domains")},{value:"customers",label:r.lmsg("customers")},"ADMIN"===s?{value:"resellers",label:r.lmsg("resellers")}:null].filter(Boolean),u=o.find(({value:a})=>e.pathname.includes(a));return(0,i.jsx)(t.Outlet,{context:{trafficUsagePageDropdown:(0,i.jsx)(l.ButtonGroup,{children:o.map(({value:e,label:s})=>(0,i.jsx)(l.Button,{state:u.value===e?"active":"default",onClick:()=>a(e),children:s},e))})}})}}}]); 2//# sourceMappingURL=TrafficUsageLayoutPage.js.map?33844ca1fa3af444318b
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.