"use strict";(self.webpackChunk_grafana_ui=self.webpackChunk_grafana_ui||[]).push([[8455],{"../../node_modules/@mdx-js/react/lib/index.js":function(j,L,_){_.d(L,{BN:function(){return T},RP:function(){return h},gz:function(){return b},xA:function(){return s}});var p=_("../../node_modules/react/index.js");const T=p.createContext({});function b(m){return f;function f(o){const d=h(o.components);return p.createElement(m,{...o,allComponents:d})}}function h(m){const f=p.useContext(T);return p.useMemo(()=>typeof m=="function"?m(f):{...f,...m},[f,m])}const C={};function s({components:m,children:f,disableParentContext:o}){let d;return o?d=typeof m=="function"?m({}):m||C:d=h(m),p.createElement(T.Provider,{value:d},f)}},"../../node_modules/common-tags/es/index.js":function(j,L,_){_.d(L,{hc:function(){return V}});var p=function(){function i(n,e){for(var r=0;r<e.length;r++){var t=e[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}return function(n,e,r){return e&&i(n.prototype,e),r&&i(n,r),n}}(),T=b(["",""],["",""]);function b(i,n){return Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(n)}}))}function h(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}var C=function(){function i(){for(var n=this,e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return h(this,i),this.tag=function(a){for(var u=arguments.length,g=Array(u>1?u-1:0),y=1;y<u;y++)g[y-1]=arguments[y];return typeof a=="function"?n.interimTag.bind(n,a):typeof a=="string"?n.transformEndResult(a):(a=a.map(n.transformString.bind(n)),n.transformEndResult(a.reduce(n.processSubstitutions.bind(n,g))))},r.length>0&&Array.isArray(r[0])&&(r=r[0]),this.transformers=r.map(function(a){return typeof a=="function"?a():a}),this.tag}return p(i,[{key:"interimTag",value:function(e,r){for(var t=arguments.length,a=Array(t>2?t-2:0),u=2;u<t;u++)a[u-2]=arguments[u];return this.tag(T,e.apply(void 0,[r].concat(a)))}},{key:"processSubstitutions",value:function(e,r,t){var a=this.transformSubstitution(e.shift(),r);return"".concat(r,a,t)}},{key:"transformString",value:function(e){var r=function(a,u){return u.onString?u.onString(a):a};return this.transformers.reduce(r,e)}},{key:"transformSubstitution",value:function(e,r){var t=function(u,g){return g.onSubstitution?g.onSubstitution(u,r):u};return this.transformers.reduce(t,e)}},{key:"transformEndResult",value:function(e){var r=function(a,u){return u.onEndResult?u.onEndResult(a):a};return this.transformers.reduce(r,e)}}]),i}(),s=C,m={separator:"",conjunction:"",serial:!1},f=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m;return{onSubstitution:function(r,t){if(Array.isArray(r)){var a=r.length,u=n.separator,g=n.conjunction,y=n.serial,R=t.match(/(\n?[^\S\n]+)$/);if(R?r=r.join(u+R[1]):r=r.join(u+" "),g&&a>1){var I=r.lastIndexOf(u);r=r.slice(0,I)+(y?u:"")+" "+g+r.slice(I+1)}}return r}}},o=f;function d(i){if(Array.isArray(i)){for(var n=0,e=Array(i.length);n<i.length;n++)e[n]=i[n];return e}else return Array.from(i)}var v=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"initial";return{onEndResult:function(r){if(n==="initial"){var t=r.match(/^[^\S\n]*(?=\S)/gm),a=t&&Math.min.apply(Math,d(t.map(function(g){return g.length})));if(a){var u=new RegExp("^.{"+a+"}","gm");return r.replace(u,"")}return r}if(n==="all")return r.replace(/^[^\S\n]+/gm,"");throw new Error("Unknown type: "+n)}}},c=v,E=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return{onEndResult:function(r){if(n==="")return r.trim();if(n=n.toLowerCase(),n==="start"||n==="left")return r.replace(/^\s*/,"");if(n==="end"||n==="right")return r.replace(/\s*$/,"");throw new Error("Side not supported: "+n)}}},l=E,X=new s(o({separator:","}),c,l),H=null,U=new s(o({separator:",",conjunction:"and"}),c,l),$=null,q=new s(o({separator:",",conjunction:"or"}),c,l),z=null,x=function(n){return{onSubstitution:function(r,t){if(n!=null&&typeof n=="string")typeof r=="string"&&r.includes(n)&&(r=r.split(n));else throw new Error("You need to specify a string character to split by.");return r}}},A=x,O=function(n){return n!=null&&!Number.isNaN(n)&&typeof n!="boolean"},P=function(){return{onSubstitution:function(e){return Array.isArray(e)?e.filter(O):O(e)?e:""}}},k=P,F=new s(A(`
`),k,o,c,l),Y=null,N=function(n,e){return{onSubstitution:function(t,a){if(n==null||e==null)throw new Error("replaceSubstitutionTransformer requires at least 2 arguments.");return t==null?t:t.toString().replace(n,e)}}},S=N,K=new s(A(`
`),o,c,l,S(/&/g,"&amp;"),S(/</g,"&lt;"),S(/>/g,"&gt;"),S(/"/g,"&quot;"),S(/'/g,"&#x27;"),S(/`/g,"&#x60;")),B=null,M=function(n,e){return{onEndResult:function(t){if(n==null||e==null)throw new Error("replaceResultTransformer requires at least 2 arguments.");return t.replace(n,e)}}},w=M,G=new s(w(/(?:\n(?:\s*))+/g," "),l),J=null,D=new s(w(/(?:\n\s*)/g,""),l),V=D,Q=new s(o({separator:","}),w(/(?:\s+)/g," "),l),Z=null,W=new s(o({separator:",",conjunction:"or"}),w(/(?:\s+)/g," "),l),nn=null,rn=new s(o({separator:",",conjunction:"and"}),w(/(?:\s+)/g," "),l),en=null,tn=new s(o,c,l),an=null,on=new s(o,w(/(?:\s+)/g," "),l),un=null,sn=new s(c,l),ln=null,mn=new s(c("all"),l),fn=null},"../../node_modules/react/cjs/react-jsx-runtime.production.min.js":function(j,L,_){/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var p=_("../../node_modules/react/index.js"),T=Symbol.for("react.element"),b=Symbol.for("react.fragment"),h=Object.prototype.hasOwnProperty,C=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function m(f,o,d){var v,c={},E=null,l=null;d!==void 0&&(E=""+d),o.key!==void 0&&(E=""+o.key),o.ref!==void 0&&(l=o.ref);for(v in o)h.call(o,v)&&!s.hasOwnProperty(v)&&(c[v]=o[v]);if(f&&f.defaultProps)for(v in o=f.defaultProps,o)c[v]===void 0&&(c[v]=o[v]);return{$$typeof:T,type:f,key:E,ref:l,props:c,_owner:C.current}}L.Fragment=b,L.jsx=m,L.jsxs=m},"../../node_modules/react/jsx-runtime.js":function(j,L,_){j.exports=_("../../node_modules/react/cjs/react-jsx-runtime.production.min.js")}}]);
