(self.webpackChunk_grafana_ui=self.webpackChunk_grafana_ui||[]).push([[566],{96566:function(f){f.exports=function(l,t){return t=t||{},new Promise(function(p,d){var e=new XMLHttpRequest,u=[],a=[],r={},i=function(){return{ok:(e.status/100|0)==2,statusText:e.statusText,status:e.status,url:e.responseURL,text:function(){return Promise.resolve(e.responseText)},json:function(){return Promise.resolve(e.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([e.response]))},clone:i,headers:{keys:function(){return u},entries:function(){return a},get:function(n){return r[n.toLowerCase()]},has:function(n){return n.toLowerCase()in r}}}};for(var c in e.open(t.method||"get",l,!0),e.onload=function(){e.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(n,s,o){u.push(s=s.toLowerCase()),a.push([s,o]),r[s]=r[s]?r[s]+","+o:o}),p(i())},e.onerror=d,e.withCredentials=t.credentials=="include",t.headers)e.setRequestHeader(c,t.headers[c]);e.send(t.body||null)})}}}]);
