"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[9603],{84252:(A,m,n)=>{n.r(m),n.d(m,{default:()=>p});var e=n(85960),o=n(81445),E=n(85445),i=n(20989),s=n(34785),g=n(31560);const u=({settings:a})=>e.createElement("table",{className:"filter-table"},e.createElement("tbody",null,Object.entries(a).map(([t,l],c)=>e.createElement(e.Fragment,{key:`section-${c}`},e.createElement("tr",null,e.createElement("td",{className:"admin-settings-section"},t),e.createElement("td",null)),Object.entries(l).map(([h,b],S)=>e.createElement("tr",{key:`property-${S}`},e.createElement("td",{style:{paddingLeft:"25px"}},h),e.createElement("td",{style:{whiteSpace:"break-spaces"}},b))))))),f=new Array(50).fill(null).map(()=>Math.random()),y=({rootProps:a})=>e.createElement("table",{className:"filter-table",...a},e.createElement("tbody",null,f.map((t,l)=>{const c=l===0||t>.9;return e.createElement(e.Fragment,{key:l},c&&e.createElement("tr",null,e.createElement("td",{className:"admin-settings-section"},e.createElement(s.Z,{width:r(40,80,t)})),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",{style:{paddingLeft:"25px"}},e.createElement(s.Z,{width:r(60,100,t)})),e.createElement("td",null,e.createElement(s.Z,{width:r(80,320,t)}))))})));function r(a,t,l){return l*(t-a)+a}const d=(0,g.y)(u,y);function v(){const{loading:a,value:t}=(0,o.Z)(()=>(0,E.i)().get("/api/admin/settings"),[]);return e.createElement(i.T,{navId:"server-settings"},e.createElement(i.T.Contents,null,e.createElement("div",{className:"grafana-info-box span8",style:{margin:"20px 0 25px 0"}},"These system settings are defined in grafana.ini or custom.ini (or overridden in ENV variables). To change these you currently need to restart Grafana."),a&&e.createElement(d.Skeleton,null),t&&e.createElement(d,{settings:t})))}const p=v}}]);

//# sourceMappingURL=AdminSettings.ca04f61c46e5080cc724.js.map