"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["components/tabs/IisAppPoolTabs"],{2771(t,l,e){e.r(l),e.d(l,{default:()=>c});var a=e(715),s=e(397),i=e(95),o=e(813),n=e(396);const p=[{title:i.Locale.getSection("admin.controllers.iis-app-pool.settings").lmsg("tabTitle"),url:"/cp/server/iis-app-pool/settings",id:"tabSettings"},{title:i.Locale.getSection("admin.controllers.iis-app-pool.global").lmsg("tabTitle"),url:"/cp/server/iis-app-pool/global",id:"tabGlobal"}],c=()=>{const{pathname:t}=(0,a.useLocation)(),l=(0,o.default)(),e=p.findIndex(({url:l})=>(0,a.matchPath)(l,t))+1;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.Tabs,{active:e,children:p.map(({url:t,...e})=>(0,n.jsx)(s.Tab,{onActivate:()=>l(t),...e},t))}),(0,n.jsx)(a.Outlet,{})]})}}}]);
//# sourceMappingURL=IisAppPoolTabs.js.map?650db9753537a3a6ff83