Anvil/assets/index-DZY7ZykG.js

549 lines
745 KiB
JavaScript
Raw Normal View History

2024-06-16 17:30:30 +02:00
const __vite__fileDeps=["./syntaxhighlighter-BP7B2CQK-JafjBD17.js","./iframe-BtnNOCwY.js","./_commonjsHelpers-Cpj98o6Y.js","./tslib.es6-pJfR_DrR.js","./index-DXimoRZY.js","./index-B4WlZuP_.js","./index-DrFu-skq.js","./formatter-2WMMO6ZP-BiY3P1Wy.js","./WithTooltip-KJL26V4Q-aP0-JFX8.js","./Color-PRSJMWNM-DILY08ia.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
import{_ as Br}from"./iframe-BtnNOCwY.js";import{g as Yo}from"./_commonjsHelpers-Cpj98o6Y.js";import{_ as jn,b as Ih,c as h3}from"./tslib.es6-pJfR_DrR.js";import{O as Ah,P as m3}from"./index-DXimoRZY.js";import{c as ir,d as $h,f as K0,g as Oh,h as g3,j as Th,k as Y0,l as v3,m as y3,n as ws,o as X0,i as vl,b as Mh,p as w3,q as b3,r as E3,s as x3,t as S3,u as C3,v as Lh,w as _3,x as R3,_ as k3,y as I3,z as A3,A as Ph,B as zh,S as cf,a as cc}from"./index-B4WlZuP_.js";import{d as $3}from"./index-DrFu-skq.js";function O3(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const a=Object.getOwnPropertyDescriptor(r,o);a&&Object.defineProperty(e,o,a.get?a:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Nh={exports:{}},X={};/**
* @license React
* react.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 yl=Symbol.for("react.element"),T3=Symbol.for("react.portal"),M3=Symbol.for("react.fragment"),L3=Symbol.for("react.strict_mode"),P3=Symbol.for("react.profiler"),z3=Symbol.for("react.provider"),N3=Symbol.for("react.context"),B3=Symbol.for("react.forward_ref"),F3=Symbol.for("react.suspense"),H3=Symbol.for("react.memo"),D3=Symbol.for("react.lazy"),uf=Symbol.iterator;function j3(e){return e===null||typeof e!="object"?null:(e=uf&&e[uf]||e["@@iterator"],typeof e=="function"?e:null)}var Bh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Fh=Object.assign,Hh={};function Xo(e,t,n){this.props=e,this.context=t,this.refs=Hh,this.updater=n||Bh}Xo.prototype.isReactComponent={};Xo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Xo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Dh(){}Dh.prototype=Xo.prototype;function Z0(e,t,n){this.props=e,this.context=t,this.refs=Hh,this.updater=n||Bh}var Q0=Z0.prototype=new Dh;Q0.constructor=Z0;Fh(Q0,Xo.prototype);Q0.isPureReactComponent=!0;var df=Array.isArray,jh=Object.prototype.hasOwnProperty,J0={current:null},Uh={key:!0,ref:!0,__self:!0,__source:!0};function Vh(e,t,n){var r,o={},a=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(a=""+t.key),t)jh.call(t,r)&&!Uh.hasOwnProperty(r)&&(o[r]=t[r]);var c=arguments.length-2;if(c===1)o.children=n;else if(1<c){for(var s=Array(c),u=0;u<c;u++)s[u]=arguments[u+2];o.children=s}if(e&&e.defaultProps)for(r in c=e.defaultProps,c)o[r]===void 0&&(o[r]=c[r]);return{$$typeof:yl,type:e,key:a,ref:l,props:o,_owner:J0.current}}function U3(e,t){return{$$typeof:yl,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ed(e){return typeof e=="object"&&e!==null&&e.$$typeof===yl}function V3(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ff=/\/+/g;function uc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?V3(""+e.key):t.toString(36)}function hi(e,t,n,r,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case yl:case T3:l=!0}}if(l)return l=e,o=o(l),e=r===""?"."+uc(l,0):r,df(o)?(n="",e!=null&&(n=e.replace(ff,"$&/")+"/"),hi(o,t,n,"",function(u){return u})):o!=null&&(ed(o)&&(o=U3(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(ff,"$&/")+"/")+e)),t.push(o)),1;if(l=0,r=r===""?".":r+":",df(e))for(var c=0;c<e.length;c++){a=e[c];var s=r+uc(a,c);l+=hi(a,t,n,s,o)}else if(s=j3(e),typeof s=="function")for(e=s.call(e),c=0;!(a=e.next()).done;)a=a.value,s=r+uc(a,c++),l+=hi(a,t,n,s,o);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function zl(e,t,n){if(e==null)return e;var r=[],o=0;return hi(e,r,"","",function(a){return t.call(n,a,o++)}),r}function W3(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ye={current:null},mi={transition:null},G3={ReactCurrentDispatcher:Ye,ReactCurrentBatchConfig:mi,ReactCurrentOwner:J0};function Wh(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:zl,forEach:function(e,t,n){zl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return zl(e,function(){t++}),t},toArray:function(e){return zl(e,function(t){return t})||[]},only:function(e){if(!ed(e))throw Error("React.Children.only expected to receive a sing
`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).
`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color.
`,4:`Couldn't generate valid rgb string from %s, it returned %s.
`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.
`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).
`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).
`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.
`,9:`Please provide a number of steps to the modularScale helper.
`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.
`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s"
`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead.
`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead.
`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12.
`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12.
`,16:`You must provide a template to this method.
`,17:`You passed an unsupported selector state to this method.
`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units.
`,19:`fromSize and toSize must be provided as stringified numbers with the same units.
`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize.
`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family.
`,24:`fontFace expects either the path to the font file(s) or a name of a local copy.
`,25:`fontFace expects localFonts to be an array.
`,26:`fontFace expects fileFormats to be an array.
`,27:`radialGradient requries at least 2 color-stops to properly render.
`,28:`Please supply a filename to retinaImage() as the first argument.
`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.
`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation
`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])
To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')
`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation
`,34:`borderRadius expects a radius value as a string or number as the second argument.
`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.
`,36:`Property must be a string value.
`,37:`Syntax Error at %s.
`,38:`Formula contains a function that needs parentheses at %s.
`,39:`Formula is missing closing parenthesis at %s.
`,40:`Formula has too many closing parentheses at %s.
`,41:`All values in a formula must have the same unit or be unitless.
`,42:`Please provide a number of steps to the modularScale helper.
`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.
`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s.
`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.
`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.
`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units.
`,48:`fromSize and toSize must be provided as stringified numbers with the same units.
`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.
`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.
`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize.
`,52:`fontFace expects either the path to the font file(s) or a name of a local copy.
`,53:`fontFace expects localFonts to be an array.
`,54:`fontFace expects fileFormats to be an array.
`,55:`fontFace expects a name of a font-family.
`,56:`linearGradient requries at least 2 color-stops to properly render.
`,57:`radialGradient requries at least 2 color-stops to properly render.
`,58:`Please supply a filename to retinaImage() as the first argument.
`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.
`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value.
`,62:`borderRadius expects a radius value as a string or number as the second argument.
`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.
`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.
`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').
`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.
`,67:`You must provide a template to this method.
`,68:`You passed an unsupported selector state to this method.
`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.
`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.
`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.
`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12.
`,73:`Please provide a valid CSS variable.
`,74:`CSS variable not found and no default was provided.
`,75:`important requires a valid style object, got a %s instead.
`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.
`,77:`remToPx expects a value in "rem" but you provided it in "%s".
`,78:`base must be set in "px" or "%" but you set it in "%s".
`};function a7(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=[],a;for(a=1;a<t.length;a+=1)o.push(t[a]);return o.forEach(function(l){r=r.replace(/%[a-z]/,l)}),r}var an=function(e){t7(t,e);function t(n){for(var r,o=arguments.length,a=new Array(o>1?o-1:0),l=1;l<o;l++)a[l-1]=arguments[l];return r=e.call(this,a7.apply(void 0,[o7[n]].concat(a)))||this,e7(r)}return t}(bu(Error));function dc(e){return Math.round(e*255)}function l7(e,t,n){return dc(e)+","+dc(t)+","+dc(n)}function Da(e,t,n,r){if(r===void 0&&(r=l7),t===0)return r(n,n,n);var o=(e%360+360)%360/60,a=(1-Math.abs(2*n-1))*t,l=a*(1-Math.abs(o%2-1)),c=0,s=0,u=0;o>=0&&o<1?(c=a,s=l):o>=1&&o<2?(c=l,s=a):o>=2&&o<3?(s=a,u=l):o>=3&&o<4?(s=l,u=a):o>=4&&o<5?(c=l,u=a):o>=5&&o<6&&(c=a,u=l);var d=n-a/2,p=c+d,m=s+d,f=u+d;return r(p,m,f)}var pf={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function i7(e){if(typeof e!="string")return e;var t=e.toLowerCase();return pf[t]?"#"+pf[t]:e}var s7=/^#[a-fA-F0-9]{6}$/,c7=/^#[a-fA-F0-9]{8}$/,u7=/^#[a-fA-F0-9]{3}$/,d7=/^#[a-fA-F0-9]{4}$/,fc=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,f7=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,p7=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$
`+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!o,this.isSpeedy){var a=X7(r);try{a.insertRule(n,a.cssRules.length)}catch(l){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)||console.error('There was a problem inserting the following rule: "'+n+'"',l)}}else r.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},e}(),De="-ms-",Fi="-moz-",re="-webkit-",od="comm",ad="rule",ld="decl",J7="@import",om="@keyframes",ew="@layer",tw=Math.abs,Cs=String.fromCharCode,nw=Object.assign;function rw(e,t){return Me(e,0)^45?(((t<<2^Me(e,0))<<2^Me(e,1))<<2^Me(e,2))<<2^Me(e,3):0}function am(e){return e.trim()}function ow(e,t){return(e=t.exec(e))?e[0]:e}function oe(e,t,n){return e.replace(t,n)}function Cu(e,t){return e.indexOf(t)}function Me(e,t){return e.charCodeAt(t)|0}function Ua(e,t,n){return e.slice(t,n)}function Jt(e){return e.length}function id(e){return e.length}function Bl(e,t){return t.push(e),e}function aw(e,t){return e.map(t).join("")}var _s=1,Oo=1,lm=0,ot=0,Ee=0,Zo="";function Rs(e,t,n,r,o,a,l){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:_s,column:Oo,length:l,return:""}}function ua(e,t){return nw(Rs("",null,null,"",null,null,0),e,{length:-e.length},t)}function lw(){return Ee}function iw(){return Ee=ot>0?Me(Zo,--ot):0,Oo--,Ee===10&&(Oo=1,_s--),Ee}function it(){return Ee=ot<lm?Me(Zo,ot++):0,Oo++,Ee===10&&(Oo=1,_s++),Ee}function un(){return Me(Zo,ot)}function gi(){return ot}function wl(e,t){return Ua(Zo,e,t)}function Va(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function im(e){return _s=Oo=1,lm=Jt(Zo=e),ot=0,[]}function sm(e){return Zo="",e}function yi(e){return am(wl(ot-1,_u(e===91?e+2:e===40?e+1:e)))}function sw(e){for(;(Ee=un())&&Ee<33;)it();return Va(e)>2||Va(Ee)>3?"":" "}function cw(e,t){for(;--t&&it()&&!(Ee<48||Ee>102||Ee>57&&Ee<65||Ee>70&&Ee<97););return wl(e,gi()+(t<6&&un()==32&&it()==32))}function _u(e){for(;it();)switch(Ee){case e:return ot;case 34:case 39:e!==34&&e!==39&&_u(Ee);break;case 40:e===41&&_u(e);break;case 92:it();break}return ot}function uw(e,t){for(;it()&&e+Ee!==57&&!(e+Ee===84&&un()===47););return"/*"+wl(t,ot-1)+"*"+Cs(e===47?e:it())}function dw(e){for(;!Va(un());)it();return wl(e,ot)}function fw(e){return sm(wi("",null,null,null,[""],e=im(e),0,[0],e))}function wi(e,t,n,r,o,a,l,c,s){for(var u=0,d=0,p=l,m=0,f=0,y=0,g=1,S=1,b=1,v=0,w="",E=o,x=a,C=r,_=w;S;)switch(y=v,v=it()){case 40:if(y!=108&&Me(_,p-1)==58){Cu(_+=oe(yi(v),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:_+=yi(v);break;case 9:case 10:case 13:case 32:_+=sw(y);break;case 92:_+=cw(gi()-1,7);continue;case 47:switch(un()){case 42:case 47:Bl(pw(uw(it(),gi()),t,n),s);break;default:_+="/"}break;case 123*g:c[u++]=Jt(_)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:S=0;case 59+d:b==-1&&(_=oe(_,/\f/g,"")),f>0&&Jt(_)-p&&Bl(f>32?gf(_+";",r,n,p-1):gf(oe(_," ","")+";",r,n,p-2),s);break;case 59:_+=";";default:if(Bl(C=mf(_,t,n,u,d,o,c,w,E=[],x=[],p),a),v===123)if(d===0)wi(_,t,C,C,E,a,p,c,x);else switch(m===99&&Me(_,3)===110?100:m){case 100:case 108:case 109:case 115:wi(e,C,C,r&&Bl(mf(e,C,C,0,0,o,c,w,o,E=[],p),x),o,x,p,c,r?E:x);break;default:wi(_,C,C,C,[""],x,0,c,x)}}u=d=f=0,g=b=1,w=_="",p=l;break;case 58:p=1+Jt(_),f=y;default:if(g<1){if(v==123)--g;else if(v==125&&g++==0&&iw()==125)continue}switch(_+=Cs(v),v*g){case 38:b=d>0?1:(_+="\f",-1);break;case 44:c[u++]=(Jt(_)-1)*b,b=1;break;case 64:un()===45&&(_+=yi(it())),m=un(),d=p=Jt(w=_+=dw(gi())),
If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(y){var g=y.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var r=e.stylisPlugins||kw;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o={},a,l=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(y){for(var g=y.getAttribute("data-emotion").split(" "),S=1;S<g.length;S++)o[g[S]]=!0;l.push(y)});var c,s=[ww,bw];s.push(Sw({get compat(){return f.compat}}),_w);{var u,d=[hw,function(y){y.root||(y.return?u.insert(y.return):y.value&&y.type!==od&&u.insert(y.value+"{}"))}],p=mw(s.concat(r,d)),m=function(y){return So(fw(y),p)};c=function(y,g,S,b){u=S,g.map!==void 0&&(u={insert:function(v){S.insert(v+g.map)}}),m(y?y+"{"+g.styles+"}":g.styles),b&&(f.inserted[g.name]=!0)}}var f={key:t,sheet:new Q7({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:c};return f.sheet.hydrate(l),f};Kh(nm());var Aw=!0;function sd(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var ks=function(e,t,n){var r=e.key+"-"+t.name;(n===!1||Aw===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},Is=function(e,t,n){ks(e,t,n);var r=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var o=t;do e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function $w(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Ow={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},bf=`You have illegal escape sequence in your template literal, most likely inside content's property value.
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
You can read more about this here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Tw="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Mw=/[A-Z]|^ms/g,dm=/_EMO_([^_]+?)_([^]*?)_EMO_/g,cd=function(e){return e.charCodeAt(1)===45},Ef=function(e){return e!=null&&typeof e!="boolean"},mc=rm(function(e){return cd(e)?e:e.replace(Mw,"-$&").toLowerCase()}),Hi=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(dm,function(n,r,o){return en={name:r,styles:o,next:en},r})}return Ow[e]!==1&&!cd(e)&&typeof t=="number"&&t!==0?t+"px":t};xf=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Sf=["normal","none","initial","inherit","unset"],Cf=Hi,_f=/^-ms-/,Rf=/-(.)/g,gc={},Hi=function(e,t){if(e==="content"&&(typeof t!="string"||Sf.indexOf(t)===-1&&!xf.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=Cf(e,t);return n!==""&&!cd(e)&&e.indexOf("-")!==-1&&gc[e]===void 0&&(gc[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(_f,"ms-").replace(Rf,function(r,o){return o.toUpperCase()})+"?")),n};var xf,Sf,Cf,_f,Rf,gc,fm="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Wa(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(fm);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return en={name:n.name,styles:n.styles,next:en},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)en={name:r.name,styles:r.styles,next:en},r=r.next;var o=n.styles+";";return n.map!==void 0&&(o+=n.map),o}return Lw(e,t,n)}case"function":{if(e!==void 0){var a=en,l=n(e);return en=a,Wa(e,t,l)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var c=[],s=n.replace(dm,function(d,p,m){var f="animation"+c.length;return c.push("const "+f+" = keyframes`"+m.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+f+"}"});c.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(c,["`"+s+"`"]).join(`
`)+`
You should wrap it with \`css\` like this:
`+("css`"+s+"`"));break}if(t==null)return n;var u=t[n];return u!==void 0?u:n}function Lw(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Wa(e,t,n[o])+";";else for(var a in n){var l=n[a];if(typeof l!="object")t!=null&&t[l]!==void 0?r+=a+"{"+t[l]+"}":Ef(l)&&(r+=mc(a)+":"+Hi(a,l)+";");else{if(a==="NO_COMPONENT_SELECTOR")throw new Error(fm);if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var c=0;c<l.length;c++)Ef(l[c])&&(r+=mc(a)+":"+Hi(a,l[c])+";");else{var s=Wa(e,t,l);switch(a){case"animation":case"animationName":{r+=mc(a)+":"+s+";";break}default:a==="undefined"&&console.error(Tw),r+=a+"{"+s+"}"}}}}return r}var kf=/label:\s*([^\s;\n{]+)\s*(;|$)/g,pm;pm=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;var en,To=function(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";en=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,o+=Wa(n,t,a)):(a[0]===void 0&&console.error(bf),o+=a[0]);for(var l=1;l<e.length;l++)o+=Wa(n,t,e[l]),r&&(a[l]===void 0&&console.error(bf),o+=a[l]);var c;o=o.replace(pm,function(p){return c=p,""}),kf.lastIndex=0;for(var s="",u;(u=kf.exec(o))!==null;)s+="-"+u[1];var d=$w(o)+s;return{name:d,styles:o,map:c,next:en,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}},Pw={}.hasOwnProperty,ud=i.createContext(typeof HTMLElement<"u"?Iw({key:"css"}):null);ud.displayName="EmotionCacheContext";ud.Provider;var As=function(e){return i.forwardRef(function(t,n){var r=i.useContext(ud);return e(t,r,n)})},or=i.createContext({});or.displayName="EmotionThemeContext";var hm=function(){return i.useContext(or)},zw=function(e,t){if(typeof t=="function"){var n=t(e);if(n==null||typeof n!="object"||Array.isArray(n))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return n}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return rr({},e,t)},Nw=vf(function(e){return vf(function(t){return zw(e,t)})}),mm=function(e){var t=i.useContext(or);return e.theme!==t&&(t=Nw(t)(e.theme)),i.createElement(or.Provider,{value:t},e.children)},If="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Af="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Bw=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return ks(t,n,r),nd(function(){return Is(t,n,r)}),null},Fw=As(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[If],a=[r],l="";typeof e.className=="string"?l=sd(t.registered,a,e.className):e.className!=null&&(l=e.className+" ");var c=To(a,void 0,i.useContext(or));if(c.name.indexOf("-")===-1){var s=e[Af];s&&(c=To([c,"label:"+s+";"]))}l+=t.key+"-"+c.name;var u={};for(var d in e)Pw.call(e,d)&&d!=="css"&&d!==If&&d!==Af&&(u[d]=e[d]);return u.ref=n,u.className=l,i.createElement(i.Fragment,null,i.createElement(Bw,{cache:t,serialized:c,isStringTag:typeof o=="string"}),i.createElement(o,u))});Fw.displayName="EmotionCssPropInternal";Kh(nm());var Hw={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
You can read more about this here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Kw=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return ks(t,n,r),nd(function(){return Is(t,n,r)}),null},Yw=function e(t,n){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
You may have forgotten to import it.`);var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,a,l;n!==void 0&&(a=n.label,l=n.target);var c=Mf(t,n,r),s=c||Tf(o),u=!s("as");return function(){var d=arguments,p=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&p.push("label:"+a+";"),d[0]==null||d[0].raw===void 0)p.push.apply(p,d);else{d[0][0]===void 0&&console.error(Lf),p.push(d[0][0]);for(var m=d.length,f=1;f<m;f++)d[0][f]===void 0&&console.error(Lf),p.push(d[f],d[0][f])}var y=As(function(g,S,b){var v=u&&g.as||o,w="",E=[],x=g;if(g.theme==null){x={};for(var C in g)x[C]=g[C];x.theme=i.useContext(or)}typeof g.className=="string"?w=sd(S.registered,E,g.className):g.className!=null&&(w=g.className+" ");var _=To(p.concat(E),S.registered,x);w+=S.key+"-"+_.name,l!==void 0&&(w+=" "+l);var R=u&&c===void 0?Tf(v):s,A={};for(var I in g)u&&I==="as"||R(I)&&(A[I]=g[I]);return A.className=w,A.ref=b,i.createElement(i.Fragment,null,i.createElement(Kw,{cache:S,serialized:_,isStringTag:typeof v=="string"}),i.createElement(v,A))});return y.displayName=a!==void 0?a:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=o,y.__emotion_styles=p,y.__emotion_forwardProp=c,Object.defineProperty(y,"toString",{value:function(){return l===void 0?"NO_COMPONENT_SELECTOR":"."+l}}),y.withComponent=function(g,S){return e(g,rr({},n,S,{shouldForwardProp:Mf(y,S,!0)})).apply(void 0,p)},y}},Xw=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],k=Yw.bind();Xw.forEach(function(e){k[e]=k(e)});var Zw=Gr(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));Gr(1)(({color:e,background:t,typography:n})=>{let r=Zw({typography:n});return{...r,body:{...r.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...r.hr,borderTop:`1px solid ${e.border}`}}});var Qw={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},Jw=An`
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
`,gm=An`
0%, 100% { opacity: 1; }
50% { opacity: .4; }
`,e6=An`
0% { transform: translateY(1px); }
25% { transform: translateY(0px); }
50% { transform: translateY(-3px); }
100% { transform: translateY(1px); }
`,t6=An`
0%, 100% { transform:translate3d(0,0,0); }
12.5%, 62.5% { transform:translate3d(-4px,0,0); }
37.5%, 87.5% { transform: translate3d(4px,0,0); }
`,n6=dd`
animation: ${gm} 1.5s ease-in-out infinite;
color: transparent;
cursor: progress;
`,r6=dd`
transition: all 150ms ease-out;
transform: translate3d(0, 0, 0);
&:hover {
transform: translate3d(0, -2px, 0);
}
&:active {
transform: translate3d(0, 0, 0);
}
`,o6={rotate360:Jw,glow:gm,float:e6,jiggle:t6,inlineGlow:n6,hoverable:r6},a6={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},l6={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},i6=e=>Object.entries(e).reduce((t,[n,r])=>({...t,[n]:F7(r)}),{}),s6=({colors:e,mono:t})=>{let n=i6(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":n.red3,"&.comment":{...n.green1,fontStyle:"italic"},"&.prolog":{...n.green1,fontStyle:"italic"},"&.doctype":{...n.green1,fontStyle:"italic"},"&.cdata":{...n.green1,fontStyle:"italic"},"&.string":n.red1,"&.url":n.cyan1,"&.symbol":n.cyan1,"&.number":n.cyan1,"&.boolean":n.cyan1,"&.variable":n.cyan1,"&.constant":n.cyan1,"&.inserted":n.cyan1,"&.atrule":n.blue1,"&.keyword":n.blue1,"&.attr-value":n.blue1,"&.punctuation":n.gray1,"&.operator":n.gray1,"&.function":n.gray1,"&.deleted":n.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":n.cyan2,"&.selector":n.red3,"&.attr-name":n.red4,"&.property":n.red4,"&.regex":n.red4,"&.entity":n.red4,"&.directive.tag .tag":{background:"#ffff00",...n.gray1}},"language-json .token.boolean":n.blue1,"language-json .token.number":n.blue1,"language-json .token.property":n.cyan2,namespace:{opacity:.7}}},c6={green1:"#008000",red1:"#A
[ ]{`+Math.min.apply(Math,o)+"}","g");r=r.map(function(c){return c.replace(a,`
`)})}r[0]=r[0].replace(/^\r?\n/,"");var l=r[0];return t.forEach(function(c,s){var u=l.match(/(?:^|\n)( *)$/),d=u?u[1]:"",p=c;typeof c=="string"&&c.includes(`
`)&&(p=String(c).split(`
`).map(function(m,f){return f===0?m:""+d+m}).join(`
`)),l+=p+r[s+1]}),l}var v6=e=>{if(!e)return Ru(Bi);let t=m6(Bi,e);return Object.keys(t).length&&G7.warn(g6`
Your theme is missing properties, you should update your theme!
theme-data missing:
`,t),Ru(e)},ku="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},te.apply(this,arguments)}function fd(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var y6=Object.create,pd=Object.defineProperty,w6=Object.getOwnPropertyDescriptor,ym=Object.getOwnPropertyNames,b6=Object.getPrototypeOf,E6=Object.prototype.hasOwnProperty,G=(e,t)=>function(){return t||(0,e[ym(e)[0]])((t={exports:{}}).exports,t),t.exports},x6=(e,t)=>{for(var n in t)pd(e,n,{get:t[n],enumerable:!0})},S6=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ym(t))!E6.call(e,o)&&o!==n&&pd(e,o,{get:()=>t[o],enumerable:!(r=w6(t,o))||r.enumerable});return e},dt=(e,t,n)=>(n=e!=null?y6(b6(e)):{},S6(!e||!e.__esModule?pd(n,"default",{value:e,enumerable:!0}):n,e)),C6=G({"../../node_modules/refractor/lang/markdown.js"(e,t){t.exports=n,n.displayName="markdown",n.aliases=["md"];function n(r){(function(o){var a=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function l(y){return y=y.replace(/<inner>/g,function(){return a}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+y+")")}var c=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return c}),u=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;o.languages.markdown=o.languages.extend("markup",{}),o.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:o.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+u+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+u+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(c),inside:o.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+u+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(c),alias:"important",inside:o.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:l(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:l(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:l(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind
* @license React
* scheduler.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.
*/(function(e){function t(O,T){var N=O.length;O.push(T);e:for(;0<N;){var W=N-1>>>1,K=O[W];if(0<o(K,T))O[W]=T,O[N]=K,N=W;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var T=O[0],N=O.pop();if(N!==T){O[0]=N;e:for(var W=0,K=O.length,J=K>>>1;W<J;){var ee=2*(W+1)-1,H=O[ee],q=ee+1,Y=O[q];if(0>o(H,N))q<K&&0>o(Y,H)?(O[W]=Y,O[q]=N,W=q):(O[W]=H,O[ee]=N,W=ee);else if(q<K&&0>o(Y,N))O[W]=Y,O[q]=N,W=q;else break e}}return T}function o(O,T){var N=O.sortIndex-T.sortIndex;return N!==0?N:O.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var s=[],u=[],d=1,p=null,m=3,f=!1,y=!1,g=!1,S=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(O){for(var T=n(u);T!==null;){if(T.callback===null)r(u);else if(T.startTime<=O)r(u),T.sortIndex=T.expirationTime,t(s,T);else break;T=n(u)}}function E(O){if(g=!1,w(O),!y)if(n(s)!==null)y=!0,F(x);else{var T=n(u);T!==null&&U(E,T.startTime-O)}}function x(O,T){y=!1,g&&(g=!1,b(R),R=-1),f=!0;var N=m;try{for(w(T),p=n(s);p!==null&&(!(p.expirationTime>T)||O&&!$());){var W=p.callback;if(typeof W=="function"){p.callback=null,m=p.priorityLevel;var K=W(p.expirationTime<=T);T=e.unstable_now(),typeof K=="function"?p.callback=K:p===n(s)&&r(s),w(T)}else r(s);p=n(s)}if(p!==null)var J=!0;else{var ee=n(u);ee!==null&&U(E,ee.startTime-T),J=!1}return J}finally{p=null,m=N,f=!1}}var C=!1,_=null,R=-1,A=5,I=-1;function $(){return!(e.unstable_now()-I<A)}function M(){if(_!==null){var O=e.unstable_now();I=O;var T=!0;try{T=_(!0,O)}finally{T?L():(C=!1,_=null)}}else C=!1}var L;if(typeof v=="function")L=function(){v(M)};else if(typeof MessageChannel<"u"){var j=new MessageChannel,z=j.port2;j.port1.onmessage=M,L=function(){z.postMessage(null)}}else L=function(){S(M,0)};function F(O){_=O,C||(C=!0,L())}function U(O,T){R=S(function(){O(e.unstable_now())},T)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_continueExecution=function(){y||f||(y=!0,F(x))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(O){switch(m){case 1:case 2:case 3:var T=3;break;default:T=m}var N=m;m=T;try{return O()}finally{m=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,T){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var N=m;m=O;try{return T()}finally{m=N}},e.unstable_scheduleCallback=function(O,T,N){var W=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?W+N:W):N=W,O){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=N+K,O={id:d++,callback:T,priorityLevel:O,startTime:N,expirationTime:K,sortIndex:-1},N>W?(O.sortIndex=N,t(u,O),n(s)===null&&O===n(u)&&(g?(b(R),R=-1):g=!0,U(E,N-W))):(O.sortIndex=K,t(s,O),y||f||(y=!0,F(x))),O},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(O){var T=m;return function(){var N=m;m=T;try{return O.apply(this,arguments)}finally{m=N}}}})($m);Am.exports=$m;var ob=Am.exports;/**
* @license React
* react-dom.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 ab=i,ct=ob;function P(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Om=new Set,Ga={};function qr(e,t){Mo(e,t),Mo(e+"Capture",t)}function Mo(e,t){for(Ga[e]=t,e=0;e<t.length;e++)Om.add(t[e])}var Cn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Iu=Object.prototype.hasOwnProperty,lb=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Pf={},zf={};function ib(e){return Iu.call(zf,e)?!0:Iu.call(Pf,e)?!1:lb.test(e)?zf[e]=!0:(Pf[e]=!0,!1)}function sb(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function cb(e,t,n,r){if(t===null||typeof t>"u"||sb(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Xe(e,t,n,r,o,a,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=l}var Pe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Pe[e]=new Xe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Pe[t]=new Xe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Pe[e]=new Xe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Pe[e]=new Xe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Pe[e]=new Xe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Pe[e]=new Xe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Pe[e]=new Xe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Pe[e]=new Xe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Pe[e]=new Xe(e,5,!1,e.toLowerCase(),null,!1,!1)});var gd=/[\-:]([a-z])/g;function vd(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-
`+Ec+e}var xc=!1;function Sc(e,t){if(!e||xc)return"";xc=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
`),a=r.stack.split(`
`),l=o.length-1,c=a.length-1;1<=l&&0<=c&&o[l]!==a[c];)c--;for(;1<=l&&0<=c;l--,c--)if(o[l]!==a[c]){if(l!==1||c!==1)do if(l--,c--,0>c||o[l]!==a[c]){var s=`
`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=l&&0<=c);break}}}finally{xc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ca(e):""}function ub(e){switch(e.tag){case 5:return Ca(e.type);case 16:return Ca("Lazy");case 13:return Ca("Suspense");case 19:return Ca("SuspenseList");case 0:case 2:case 15:return e=Sc(e.type,!1),e;case 11:return e=Sc(e.type.render,!1),e;case 1:return e=Sc(e.type,!0),e;default:return""}}function Tu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case co:return"Fragment";case so:return"Portal";case Au:return"Profiler";case wd:return"StrictMode";case $u:return"Suspense";case Ou:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Mm:return(e.displayName||"Context")+".Consumer";case Tm:return(e._context.displayName||"Context")+".Provider";case bd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ed:return t=e.displayName||null,t!==null?t:Tu(e.type)||"Memo";case Hn:t=e._payload,e=e._init;try{return Tu(e(t))}catch{}}return null}function db(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Tu(t);case 8:return t===wd?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ar(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fb(e){var t=Pm(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,a.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Hl(e){e._valueTracker||(e._valueTracker=fb(e))}function zm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Pm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Di(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Mu(e,t){var n=t.checked;return ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Bf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ar(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Nm(e,t){t=t.checked,t!=null&&yd(e,"checked",t,!1)}function Lu(e,t){Nm(e,t);var n=ar(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Pu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Pu(e,t.type,ar(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ff(e,t,n){if(t.hasOwnProperty("val
`).replace(x8,"")}function Kl(e,t,n){if(t=sp(t),sp(e)!==t&&n)throw Error(P(425))}function Yi(){}var Yu=null,Xu=null;function Zu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Qu=typeof setTimeout=="function"?setTimeout:void 0,S8=typeof clearTimeout=="function"?clearTimeout:void 0,cp=typeof Promise=="function"?Promise:void 0,C8=typeof queueMicrotask=="function"?queueMicrotask:typeof cp<"u"?function(e){return cp.resolve(null).then(e).catch(_8)}:Qu;function _8(e){setTimeout(function(){throw e})}function zc(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Za(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Za(t)}function Xn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function up(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Jo=Math.random().toString(36).slice(2),on="__reactFiber$"+Jo,nl="__reactProps$"+Jo,_n="__reactContainer$"+Jo,Ju="__reactEvents$"+Jo,R8="__reactListeners$"+Jo,k8="__reactHandles$"+Jo;function Ir(e){var t=e[on];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_n]||n[on]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=up(e);e!==null;){if(n=e[on])return n;e=up(e)}return t}e=n,n=e.parentNode}return null}function Sl(e){return e=e[on]||e[_n],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ho(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(P(33))}function Ls(e){return e[nl]||null}var e0=[],mo=-1;function cr(e){return{current:e}}function ue(e){0>mo||(e.current=e0[mo],e0[mo]=null,mo--)}function se(e,t){mo++,e0[mo]=e.current,e.current=t}var lr={},Ue=cr(lr),Je=cr(!1),Fr=lr;function Lo(e,t){var n=e.type.contextTypes;if(!n)return lr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in n)o[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function et(e){return e=e.childContextTypes,e!=null}function Xi(){ue(Je),ue(Ue)}function dp(e,t,n){if(Ue.current!==lr)throw Error(P(168));se(Ue,t),se(Je,n)}function _g(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(P(108,db(e)||"Unknown",o));return ge({},n,r)}function Zi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||lr,Fr=Ue.current,se(Ue,e),se(Je,Je.current),!0}function fp(e,t,n){var r=e.stateNode;if(!r)throw Error(P(169));n?(e=_g(e,t,Fr),r.__reactInternalMemoizedMergedChildContext=e,ue(Je),ue(Ue),se(Ue,e)):ue(Je),se(Je,n)}var bn=null,Ps=!1,Nc=!1;function Rg(e){bn===null?bn=[e]:bn.push(e)}function I8(e){Ps=!0,Rg(e)}function ur(){if(!Nc&&bn!==null){Nc=!0;var e=0,t=le;try{var n=bn;for(le=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}bn=null,Ps=!1}catch(o){throw bn!==null&&(bn=bn.slice(e+1)),Zm(Sd,ur),o}finally{le=t,Nc=!1}}return null}var go=[],vo=0,Qi=null,Ji=0,vt=[],yt=0,Hr=null,En=1,xn="";function Er(e,t){go[vo++]=Ji,go[vo++]=Qi,Qi=e,Ji=t}function kg(e,t,n){vt[yt++]=En,vt[yt++]=xn,vt[yt++]=Hr,Hr=e;var r=En;e=xn;var o=32-zt(r)-1;r&=~(1<<o),n+=1;var a=32-zt(t)+o;if(30<a){var l=o-o%5;a=(r&(1<<l)-1).toString(32),r>>=l,o-=l,En=1<<32-zt(t)+o|n<<o|r,xn=a+e}else En=1<<a|n<<o|r,xn=e}function Td(e){e.return!==null&&(Er(e,1),kg(e,1,0))}function Md(e){for(;e===Qi;)Qi=go[--vo],go[vo]=null,Ji=go[--vo],go[vo]=null;for(;e===Hr;)Hr=vt[--yt],vt[yt]=null,xn=vt[--yt],vt[yt]=null,En=vt[--yt],vt[yt]=null}var st=null,lt=null,pe=!1,Pt=null;function Ig(e,t){var n=wt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletio
Error generating stack: `+a.message+`
`+a.stack}return{value:e,source:t,stack:o,digest:null}}function jc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function l0(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var N8=typeof WeakMap=="function"?WeakMap:Map;function tv(e,t,n){n=Sn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){is||(is=!0,g0=r),l0(e,t)},n}function nv(e,t,n){n=Sn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){l0(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){l0(e,t),typeof r!="function"&&(Qn===null?Qn=new Set([this]):Qn.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function xp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new N8;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Z8.bind(null,e,t,n),t.then(e,e))}function Sp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Cp(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Sn(-1,1),t.tag=2,Zn(n,t,1))),n.lanes|=1),e)}var B8=$n.ReactCurrentOwner,Qe=!1;function qe(e,t,n,r){t.child=e===null?Og(t,null,n,r):zo(t,e.child,n,r)}function _p(e,t,n,r,o){n=n.render;var a=t.ref;return Io(t,o),r=Vd(e,t,n,r,a,o),n=Wd(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,kn(e,t,o)):(pe&&n&&Td(t),t.flags|=1,qe(e,t,r,o),t.child)}function Rp(e,t,n,r,o){if(e===null){var a=n.type;return typeof a=="function"&&!t1(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,rv(e,t,a,r,o)):(e=Ai(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&o)){var l=a.memoizedProps;if(n=n.compare,n=n!==null?n:Ja,n(l,r)&&e.ref===t.ref)return kn(e,t,o)}return t.flags|=1,e=er(a,r),e.ref=t.ref,e.return=t,t.child=e}function rv(e,t,n,r,o){if(e!==null){var a=e.memoizedProps;if(Ja(a,r)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=r=a,(e.lanes&o)!==0)e.flags&131072&&(Qe=!0);else return t.lanes=e.lanes,kn(e,t,o)}return i0(e,t,n,r,o)}function ov(e,t,n){var r=t.pendingProps,o=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},se(bo,at),at|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,se(bo,at),at|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,se(bo,at),at|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,se(bo,at),at|=r;return qe(e,t,o,n),t.child}function av(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function i0(e,t,n,r,o){var a=et(n)?Fr:Ue.current;return a=Lo(t,a),Io(t,o),n=Vd(e,t,n,r,a,o),r=Wd(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,kn(e,t,o)):(pe&&r&&Td(t),t.flags|=1,qe(e,t,n,o),t.child)}function kp(e,t,n,r,o){if(et(n)){var a=!0;Zi(t)}else a=!1;if(Io(t,o),t.stateNode===null)Ri(e,t),ev(t,n,r),a0(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,c=t.memoizedProps;l.props=c;var s=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ct(u):(u=et(n)?Fr:Ue.current,u=Lo(t,u));var d=n.getDerivedStateFromProps,p=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function";p||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(c!==r||s!==u)&&Ep(t,l,r,u),Dn=!1;var m=t.memoizedState;l.state=m,ns(t,r,l,o),s=t.memoizedState,c!==r||m!==s||Je.current||Dn?(typeof d=="function"&&(o0(t,n,d,r),s=t.memoizedState),(c=Dn||bp(t,n,c,r,m,s,u))?(p||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function DE(e){return NE(e)||BE(e)||FE(e)||HE()}function cl(e){"@babel/helpers - typeof";return cl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cl(e)}function jE(e,t){if(cl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(cl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function UE(e){var t=jE(e,"string");return cl(t)=="symbol"?t:t+""}function Ov(e,t,n){return t=UE(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Eo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Hp(Object(n),!0).forEach(function(r){Ov(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function VE(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(t>=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],"."
`))})}function JE(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,o=r===void 0?{float:"left",paddingRight:"10px"}:r,a=e.numberStyle,l=a===void 0?{}:a,c=e.startingLineNumber;return h.createElement("code",{style:Object.assign({},n,o)},QE({lines:t.replace(/\n$/,"").split(`
`),style:l,startingLineNumber:c}))}function ex(e){return"".concat(e.toString().length,".25em")}function Tv(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function Mv(e,t,n){var r={display:"inline-block",minWidth:ex(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},o=typeof e=="function"?e(t):e,a=tn(tn({},r),o);return a}function $i(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,o=e.largestLineNumber,a=e.showInlineLineNumbers,l=e.lineProps,c=l===void 0?{}:l,s=e.className,u=s===void 0?[]:s,d=e.showLineNumbers,p=e.wrapLongLines,m=typeof c=="function"?c(n):c;if(m.className=u,n&&a){var f=Mv(r,n,o);t.unshift(Tv(n,f))}return p&d&&(m.style=tn(tn({},m.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:m,children:t}}function Lv(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r<e.length;r++){var o=e[r];if(o.type==="text")n.push($i({children:[o],className:DE(new Set(t))}));else if(o.children){var a=t.concat(o.properties.className);Lv(o.children,a).forEach(function(l){return n.push(l)})}}return n}function tx(e,t,n,r,o,a,l,c,s){var u,d=Lv(e.value),p=[],m=-1,f=0;function y(x,C){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return $i({children:x,lineNumber:C,lineNumberStyle:c,largestLineNumber:l,showInlineLineNumbers:o,lineProps:n,className:_,showLineNumbers:r,wrapLongLines:s})}function g(x,C){if(r&&C&&o){var _=Mv(c,C,l);x.unshift(Tv(C,_))}return x}function S(x,C){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||_.length>0?y(x,C,_):g(x,C)}for(var b=function(){var x=d[f],C=x.children[0].value,_=ZE(C);if(_){var R=C.split(`
`);R.forEach(function(A,I){var $=r&&p.length+a,M={type:"text",value:"".concat(A,`
`)};if(I===0){var L=d.slice(m+1,f).concat($i({children:[M],className:x.properties.className})),j=S(L,$);p.push(j)}else if(I===R.length-1){var z=d[f+1]&&d[f+1].children&&d[f+1].children[0],F={type:"text",value:"".concat(A)};if(z){var U=$i({children:[F],className:x.properties.className});d.splice(f+1,0,U)}else{var O=[F],T=S(O,$,x.properties.className);p.push(T)}}else{var N=[M],W=S(N,$,x.properties.className);p.push(W)}}),m=f}f++};f<d.length;)b();if(m!==d.length-1){var v=d.slice(m+1,d.length);if(v&&v.length){var w=r&&p.length+a,E=S(v,w);p.push(E)}}return t?p:(u=[]).concat.apply(u,p)}function nx(e){var t=e.rows,n=e.stylesheet,r=e.useInlineStyles;return t.map(function(o,a){return l1({node:o,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(a)})})}function Pv(e){return e&&typeof e.highlightAuto<"u"}function rx(e){var t=e.astGenerator,n=e.language,r=e.code,o=e.defaultCodeValue;if(Pv(t)){var a=KE(t,n);return n==="text"?{value:o,language:"text"}:a?t.highlight(n,r):t.highlightAuto(r)}try{return n&&n!=="text"?{value:t.highlight(r,n)}:{value:o}}catch{return{value:o}}}function ox(e,t){return function(n){var r=n.language,o=n.children,a=n.style,l=a===void 0?t:a,c=n.customStyle,s=c===void 0?{}:c,u=n.codeTagProps,d=u===void 0?{className:r?"language-".concat(r):void 0,style:tn(tn({},l['code[class*="language-"]']),l['code[class*="language-'.concat(r,'"]')])}:u,p=n.useInlineStyles,m=p===void 0?!0:p,f=n.showLineNumbers,y=f===void 0?!1:f,g=n.showInlineLineNumbers,S=g===void 0?!0:g,b=n.startingLineNumber,v=b===void 0?1:b,w=n.lineNumberContainerStyle,E=n.lineNumberStyle,x=E===void 0?{}:E,C=n.wrapLines,_=n.wrapLongLines,R=_===void 0?!1:_,A=n.lineProps,I=A===void 0?{}:A,$=n.renderer,M=n.PreTag,L=M===void 0?"pre":M,j=n.CodeTag,z=j===void 0?"code":j,F=n.code,U=F===void 0?(Array.isArray(o)?o[0]:o)||"":F,O=n.astGenerator,T=zE(n,YE);O=O||e;var N=y?h.createElement(JE,{containerStyle:w,codeStyle:d.style||{},numberStyle:x,startingLineNumber:v,codeString:U}):null,W=l.hljs||l['pre[class*="language-"]']||{backgroundColor:"#fff"},K=Pv(O)?"hljs":"prismjs",J=m?Object.assign({},T,{style:Object.assign({},W,s)}):Object.assign({},T,{className:T.className?"".concat(K," ").concat(T.className):K,style:Object.assign({},s)});if(R?d.style=tn(tn({},d.style),{},{whiteSpace:"pre-wrap"}):d.style=tn(tn({},d.style),{},{whiteSpace:"pre"}),!O)return h.createElement(L,J,N,h.createElement(z,d,U));(C===void 0&&$||R)&&(C=!0),$=$||nx;var ee=[{type:"text",value:U}],H=rx({astGenerator:O,language:r,code:U,defaultCodeValue:ee});H.language===null&&(H.value=ee);var q=H.value.length+v,Y=tx(H,C,I,y,S,v,q,x,R);return h.createElement(L,J,h.createElement(z,d,!S&&N,$({rows:Y,stylesheet:l,useInlineStyles:m})))}}var i1=dt(J6()),s1=ox(i1.default,{});s1.registerLanguage=function(e,t){return i1.default.register(t)};s1.alias=function(e,t){return i1.default.alias(e,t)};var c1=s1,ax=k.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),zv=k.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5});zv.displayName="ActionButton";var u1=({actionItems:e,...t})=>h.createElement(ax,{...t},e.map(({title:n,className:r,onClick:o,disabled:a},l)=>h.createElement(zv,{key:l,className:r,onClick:o,disabled:a},n))),lx=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],kl=lx.reduce((e,t)=>{let n=i.forwardRef((r,o)=>{let{asChild:a,...l}=r,c=a?Rl:t;return i.useEffect(()=>{window[Symbol.f
drop-shadow(0px 5px 5px rgba(0,0,0,0.05))
drop-shadow(0 1px 3px rgba(0,0,0,0.1))
`,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),a2=h.forwardRef(({placement:e="top",hasChrome:t=!0,children:n,arrowProps:r={},tooltipRef:o,color:a,withArrows:l,...c},s)=>h.createElement(pS,{"data-testid":"tooltip",hasChrome:t,ref:s,...c,color:a},t&&l&&h.createElement(fS,{placement:e,...r,color:a}),n));a2.displayName="Tooltip";var{document:Ti}=Zx,hS=k.div`
display: inline-block;
cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"};
`,mS=k.g`
cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"};
`,gS=({svg:e=!1,trigger:t="click",closeOnOutsideClick:n=!1,placement:r="top",modifiers:o=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:a=!0,defaultVisible:l=!1,withArrows:c,offset:s,tooltip:u,children:d,closeOnTriggerHidden:p,mutationObserverOptions:m,delayHide:f,visible:y,interactive:g,delayShow:S,strategy:b,followCursor:v,onVisibleChange:w,...E})=>{let x=e?mS:hS,{getArrowProps:C,getTooltipProps:_,setTooltipRef:R,setTriggerRef:A,visible:I,state:$}=dS({trigger:t,placement:r,defaultVisible:l,delayHide:f,interactive:g,closeOnOutsideClick:n,closeOnTriggerHidden:p,onVisibleChange:w,delayShow:S,followCursor:v,mutationObserverOptions:m,visible:y,offset:s},{modifiers:o,strategy:b}),M=h.createElement(a2,{placement:$==null?void 0:$.placement,ref:R,hasChrome:a,arrowProps:C(),withArrows:c,..._()},typeof u=="function"?u({onHide:()=>w(!1)}):u);return h.createElement(h.Fragment,null,h.createElement(x,{trigger:t,ref:A,...E},d),I&&Av.createPortal(M,Ti.body))},vS=({startOpen:e=!1,onVisibleChange:t,...n})=>{let[r,o]=i.useState(e),a=i.useCallback(l=>{t&&t(l)===!1||o(l)},[t]);return i.useEffect(()=>{let l=()=>a(!1);Ti.addEventListener("keydown",l,!1);let c=Array.from(Ti.getElementsByTagName("iframe")),s=[];return c.forEach(u=>{let d=()=>{try{u.contentWindow.document&&(u.contentWindow.document.addEventListener("click",l),s.push(()=>{try{u.contentWindow.document.removeEventListener("click",l)}catch{}}))}catch{}};d(),u.addEventListener("load",d),s.push(()=>{u.removeEventListener("load",d)})}),()=>{Ti.removeEventListener("keydown",l),s.forEach(u=>{u()})}}),h.createElement(gS,{...n,visible:r,onVisibleChange:a})},yS=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon
.`.concat(Gk,` {
overflow: hidden `).concat(r,`;
padding-right: `).concat(c,"px ").concat(r,`;
}
body[`).concat($o,`] {
overflow: hidden `).concat(r,`;
overscroll-behavior: contain;
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
padding-left: `.concat(o,`px;
padding-top: `).concat(a,`px;
padding-right: `).concat(l,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(c,"px ").concat(r,`;
`),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),`
}
.`).concat(Mi,` {
right: `).concat(c,"px ").concat(r,`;
}
.`).concat(Li,` {
margin-right: `).concat(c,"px ").concat(r,`;
}
.`).concat(Mi," .").concat(Mi,` {
right: 0 `).concat(r,`;
}
.`).concat(Li," .").concat(Li,` {
margin-right: 0 `).concat(r,`;
}
body[`).concat($o,`] {
`).concat(qk,": ").concat(c,`px;
}
`)},p5=function(){var e=parseInt(document.body.getAttribute($o)||"0",10);return isFinite(e)?e:0},fI=function(){i.useEffect(function(){return document.body.setAttribute($o,(p5()+1).toString()),function(){var e=p5()-1;e<=0?document.body.removeAttribute($o):document.body.setAttribute($o,e.toString())}},[])},pI=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;fI();var a=i.useMemo(function(){return cI(o)},[o]);return i.createElement(uI,{styles:dI(a,!t,o,n?"":"!important")})},I0=!1;if(typeof window<"u")try{var ai=Object.defineProperty({},"passive",{get:function(){return I0=!0,!0}});window.addEventListener("test",ai,ai),window.removeEventListener("test",ai,ai)}catch{I0=!1}var no=I0?{passive:!1}:!1,hI=function(e){return e.tagName==="TEXTAREA"},_2=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!hI(e)&&n[t]==="visible")},mI=function(e){return _2(e,"overflowY")},gI=function(e){return _2(e,"overflowX")},h5=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=R2(e,n);if(r){var o=k2(e,n),a=o[1],l=o[2];if(a>l)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},vI=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},yI=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},R2=function(e,t){return e==="v"?mI(t):gI(t)},k2=function(e,t){return e==="v"?vI(t):yI(t)},wI=function(e,t){return e==="h"&&t==="rtl"?-1:1},bI=function(e,t,n,r,o){var a=wI(e,window.getComputedStyle(t).direction),l=a*r,c=n.target,s=t.contains(c),u=!1,d=l>0,p=0,m=0;do{var f=k2(e,c),y=f[0],g=f[1],S=f[2],b=g-S-a*y;(y||b)&&R2(e,c)&&(p+=b,m+=y),c=c.parentNode}while(!s&&c!==document.body||s&&(t.contains(c)||t===c));return(d&&(p===0||!o)||!d&&(m===0||!o))&&(u=!0),u},li=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},m5=function(e){return[e.deltaX,e.deltaY]},g5=function(e){return e&&"current"in e?e.current:e},EI=function(e,t){return e[0]===t[0]&&e[1]===t[1]},xI=function(e){return`
.block-interactivity-`.concat(e,` {pointer-events: none;}
.allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},SI=0,ro=[];function CI(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(SI++)[0],a=i.useState(function(){return C2()})[0],l=i.useRef(e);i.useEffect(function(){l.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=h3([e.lockRef.current],(e.shards||[]).map(g5),!0).filter(Boolean);return g.forEach(function(S){return S.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=i.useCallback(function(g,S){if("touches"in g&&g.touches.length===2)return!l.current.allowPinchZoom;var b=li(g),v=n.current,w="deltaX"in g?g.deltaX:v[0]-b[0],E="deltaY"in g?g.deltaY:v[1]-b[1],x,C=g.target,_=Math.abs(w)>Math.abs(E)?"h":"v";if("touches"in g&&_==="h"&&C.type==="range")return!1;var R=h5(_,C);if(!R)return!0;if(R?x=_:(x=_==="v"?"h":"v",R=h5(_,C)),!R)return!1;if(!r.current&&"changedTouches"in g&&(w||E)&&(r.current=x),!x)return!0;var A=r.current||x;return bI(A,S,g,A==="h"?w:E,!0)},[]),s=i.useCallback(function(g){var S=g;if(!(!ro.length||ro[ro.length-1]!==a)){var b="deltaY"in S?m5(S):li(S),v=t.current.filter(function(x){return x.name===S.type&&x.target===S.target&&EI(x.delta,b)})[0];if(v&&v.should){S.cancelable&&S.preventDefault();return}if(!v){var w=(l.current.shards||[]).map(g5).filter(Boolean).filter(function(x){return x.contains(S.target)}),E=w.length>0?c(S,w[0]):!l.current.noIsolation;E&&S.cancelable&&S.preventDefault()}}},[]),u=i.useCallback(function(g,S,b,v){var w={name:g,delta:S,target:b,should:v};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(E){return E!==w})},1)},[]),d=i.useCallback(function(g){n.current=li(g),r.current=void 0},[]),p=i.useCallback(function(g){u(g.type,m5(g),g.target,c(g,e.lockRef.current))},[]),m=i.useCallback(function(g){u(g.type,li(g),g.target,c(g,e.lockRef.current))},[]);i.useEffect(function(){return ro.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",s,no),document.addEventListener("touchmove",s,no),document.addEventListener("touchstart",d,no),function(){ro=ro.filter(function(g){return g!==a}),document.removeEventListener("wheel",s,no),document.removeEventListener("touchmove",s,no),document.removeEventListener("touchstart",d,no)}},[]);var f=e.removeScrollBar,y=e.inert;return i.createElement(i.Fragment,null,y?i.createElement(a,{styles:xI(o)}):null,f?i.createElement(pI,{gapMode:"margin"}):null)}const _I=eI(S2,CI);var I2=i.forwardRef(function(e,t){return i.createElement(Xs,jn({},e,{ref:t,sideCar:_I}))});I2.classNames=Xs.classNames;var RI=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},oo=new WeakMap,ii=new WeakMap,si={},eu=0,A2=function(e){return e&&(e.host||A2(e.parentNode))},kI=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=A2(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},II=function(e,t,n,r){var o=kI(t,Array.isArray(e)?e:[e]);si[n]||(si[n]=new WeakMap);var a=si[n],l=[],c=new Set,s=new Set(o),u=function(p){!p||c.has(p)||(c.add(p),u(p.parentNode))};o.forEach(u);var d=function(p){!p||s.has(p)||Array.prototype.forEach.call(p.children,function(m){if(c.has(m))d(m);else try{var f=m.getAttribute(r),y=f!==null&&f!=="false",g=(oo.get(m)||0)+1,S=(a.get(m)||0)+1;oo.set(m,g),a.set(m,S),l.push(m),g===1&&y&&ii.set(m,!0),S===1&&m.setAttribute(n,"true"),y||m.setAttribute(r,"true")}catch(b){console.error("aria-hidden: cannot operate on ",m,b)}})};return d(t),c.clear(),eu++,function(){l.forEach(function(p){var m=oo.get(p)-1,f=a.get(p)-1;oo.set(p,m),a.set(p,f),m||(ii.has(p)||p.removeAttribute(r),ii.delete(p)),f||p.removeAttribute(n)}),eu--,eu||(oo=new WeakMap,oo=new WeakMap,ii=new WeakMap,si={})}},AI=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArr
`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).
`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color.
`,4:`Couldn't generate valid rgb string from %s, it returned %s.
`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.
`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).
`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).
`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.
`,9:`Please provide a number of steps to the modularScale helper.
`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.
`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s"
`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead.
`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead.
`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12.
`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12.
`,16:`You must provide a template to this method.
`,17:`You passed an unsupported selector state to this method.
`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units.
`,19:`fromSize and toSize must be provided as stringified numbers with the same units.
`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize.
`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family.
`,24:`fontFace expects either the path to the font file(s) or a name of a local copy.
`,25:`fontFace expects localFonts to be an array.
`,26:`fontFace expects fileFormats to be an array.
`,27:`radialGradient requries at least 2 color-stops to properly render.
`,28:`Please supply a filename to retinaImage() as the first argument.
`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.
`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation
`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])
To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')
`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation
`,34:`borderRadius expects a radius value as a string or number as the second argument.
`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.
`,36:`Property must be a string value.
`,37:`Syntax Error at %s.
`,38:`Formula contains a function that needs parentheses at %s.
`,39:`Formula is missing closing parenthesis at %s.
`,40:`Formula has too many closing parentheses at %s.
`,41:`All values in a formula must have the same unit or be unitless.
`,42:`Please provide a number of steps to the modularScale helper.
`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.
`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s.
`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.
`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.
`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units.
`,48:`fromSize and toSize must be provided as stringified numbers with the same units.
`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.
`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.
`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize.
`,52:`fontFace expects either the path to the font file(s) or a name of a local copy.
`,53:`fontFace expects localFonts to be an array.
`,54:`fontFace expects fileFormats to be an array.
`,55:`fontFace expects a name of a font-family.
`,56:`linearGradient requries at least 2 color-stops to properly render.
`,57:`radialGradient requries at least 2 color-stops to properly render.
`,58:`Please supply a filename to retinaImage() as the first argument.
`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.
`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value.
`,62:`borderRadius expects a radius value as a string or number as the second argument.
`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.
`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.
`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').
`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.
`,67:`You must provide a template to this method.
`,68:`You passed an unsupported selector state to this method.
`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.
`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.
`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.
`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12.
`,73:`Please provide a valid CSS variable.
`,74:`CSS variable not found and no default was provided.
`,75:`important requires a valid style object, got a %s instead.
`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.
`,77:`remToPx expects a value in "rem" but you provided it in "%s".
`,78:`base must be set in "px" or "%" but you set it in "%s".
`};function XI(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=[],a;for(a=1;a<t.length;a+=1)o.push(t[a]);return o.forEach(function(l){r=r.replace(/%[a-z]/,l)}),r}var sn=function(e){GI(t,e);function t(n){for(var r,o=arguments.length,a=new Array(o>1?o-1:0),l=1;l<o;l++)a[l-1]=arguments[l];return r=e.call(this,XI.apply(void 0,[YI[n]].concat(a)))||this,WI(r)}return t}(O0(Error));function tu(e){return Math.round(e*255)}function ZI(e,t,n){return tu(e)+","+tu(t)+","+tu(n)}function pl(e,t,n,r){if(r===void 0&&(r=ZI),t===0)return r(n,n,n);var o=(e%360+360)%360/60,a=(1-Math.abs(2*n-1))*t,l=a*(1-Math.abs(o%2-1)),c=0,s=0,u=0;o>=0&&o<1?(c=a,s=l):o>=1&&o<2?(c=l,s=a):o>=2&&o<3?(s=a,u=l):o>=3&&o<4?(s=l,u=a):o>=4&&o<5?(c=l,u=a):o>=5&&o<6&&(c=a,u=l);var d=n-a/2,p=c+d,m=s+d,f=u+d;return r(p,m,f)}var v5={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function QI(e){if(typeof e!="string")return e;var t=e.toLowerCase();return v5[t]?"#"+v5[t]:e}var JI=/^#[a-fA-F0-9]{6}$/,eA=/^#[a-fA-F0-9]{8}$/,tA=/^#[a-fA-F0-9]{3}$/,nA=/^#[a-fA-F0-9]{4}$/,nu=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rA=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,oA=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$
${t}`);let n=t.match(c$);if(!n)return h.createElement(i.Fragment,null,t);let[,r,o]=n,a=t.split(/\n/).slice(1),[,...l]=a.map(c=>{let s=c.match(u$)||c.match(d$)||c.match(f$);return s?{name:(s[1]||"").replace("/<",""),location:s[2].replace(l$.location.origin,"")}:null}).filter(Boolean);return h.createElement(i.Fragment,null,h.createElement("span",null,r),": ",h.createElement(i$,null,o),h.createElement("br",null),l.map((c,s)=>c.name?h.createElement(i.Fragment,{key:s}," ","at ",h.createElement(s$,null,c.name)," (",h.createElement(b5,null,c.location),")",h.createElement("br",null)):h.createElement(i.Fragment,{key:s}," ","at ",h.createElement(b5,null,c.location),h.createElement("br",null))))},p$=k.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),h$=k.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),m$=({label:e,children:t,...n})=>h.createElement(p$,{...n},e?h.createElement(h$,null,h.createElement("span",null,e)):null,t),g$=i.useLayoutEffect,v$=g$,y$=function(e){var t=i.useRef(e);return v$(function(){t.current=e}),t},E5=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},w$=function(e,t){var n=i.useRef();return i.useCallback(function(r){e.current=r,n.current&&E5(n.current,null),n.current=t,t&&E5(t,r)},[t])},b$=w$,x5={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},E$=function(e){Object.keys(x5).forEach(function(t){e.style.setProperty(t,x5[t],"important")})},S5=E$,Ge=null,C5=function(e,t){var n=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?n+t.borderSize:n-t.paddingSize};function x$(e,t,n,r){n===void 0&&(n=1),r===void 0&&(r=1/0),Ge||(Ge=document.createElement("textarea"),Ge.setAttribute("tabindex","-1"),Ge.setAttribute("aria-hidden","true"),S5(Ge)),Ge.parentNode===null&&document.body.appendChild(Ge);var o=e.paddingSize,a=e.borderSize,l=e.sizingStyle,c=l.boxSizing;Object.keys(l).forEach(function(m){var f=m;Ge.style[f]=l[f]}),S5(Ge),Ge.value=t;var s=C5(Ge,e);Ge.value=t,s=C5(Ge,e),Ge.value="x";var u=Ge.scrollHeight-o,d=u*n;c==="border-box"&&(d=d+o+a),s=Math.max(d,s);var p=u*r;return c==="border-box"&&(p=p+o+a),s=Math.min(p,s),[s,u]}var _5=function(){},S$=function(e,t){return e.reduce(function(n,r){return n[r]=t[r],n},{})},C$=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],_$=!!document.documentElement.currentStyle,R$=function(e){var t=window.getComputedStyle(e);if(t===null)return null;var n=S$(C$,t),r=n.boxSizing;if(r==="")return null;_$&&r==="border-box"&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var o=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),a=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:o,borderSize:a}},k$=R$;function T4(e,t,n){var r=y$(n);i.useLayoutEffect(function(){var o=function(a){return r.current(a)};if(e)return e.addEventListener(t,o),function(){return e.removeEventListener(t,o)}},[])}var I$=function(e){T4(window,"resize",e)},A$=function(e){T4(document.fonts,"loadingdone",e)},$$=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],O$=function(e,t){var n=e.cacheMeasurements,r=e.maxRows,o=e.minRows,a=e.onChange,l=a===void 0?_5:a,c=e.onHeightChange,s=c===void 0?_5:c,u=fd(e,$$),d=u.value!==void 0,p=i.useRef(null),m=b$(p,t),f=i.useRef(0),y=i.useRef(),g=function(){var b=p.current,v=n&&y.current?y.current:k$(b);if(v){y.current=v;var w=x$(v,b.value||b.placeholder||"x",o,r),E=w[0],x=w[1];f.current!==E&&(f.current=E,b.style.setProperty("height",E+"px","important")
color: ${n||e?t.barSelectedColor:t.barTextColor};
.addon-collapsible-icon {
color: ${n||e?t.barSelectedColor:t.barTextColor};
}
&:hover {
color: ${t.barHoverColor};
.addon-collapsible-icon {
color: ${t.barHoverColor};
}
}
`);function mO(e){let t=i.useRef(),n=i.useRef(),r=i.useRef(new Map),{width:o=1}=A4({ref:t}),[a,l]=i.useState(e),[c,s]=i.useState([]),u=i.useRef(e),d=i.useCallback(({menuName:m,actions:f})=>{let y=c.some(({active:b})=>b),[g,S]=i.useState(!1);return h.createElement(h.Fragment,null,h.createElement(vS,{interactive:!0,visible:g,onVisibleChange:S,placement:"bottom",delayHide:100,tooltip:h.createElement(z4,{links:c.map(({title:b,id:v,color:w,active:E})=>({id:v,title:b,color:w,active:E,onClick:x=>{x.preventDefault(),f.onSelect(v)}}))})},h.createElement(hO,{ref:n,active:y,preActive:g,style:{visibility:c.length?"visible":"hidden"},"aria-hidden":!c.length,className:"tabbutton",type:"button",role:"tab"},m,h.createElement(pO,{className:"addon-collapsible-icon",isActive:y||g}))),c.map(({title:b,id:v,color:w},E)=>{let x=`index-${E}`;return h.createElement(Ol,{id:`tabbutton-${Ah(v)??x}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:C=>{r.current.set(v,C)},className:"tabbutton",type:"button",key:v,textColor:w,role:"tab"},b)}))},[c]),p=i.useCallback(()=>{if(!t.current||!n.current)return;let{x:m,width:f}=t.current.getBoundingClientRect(),{width:y}=n.current.getBoundingClientRect(),g=c.length?m+f-y:m+f,S=[],b=0,v=e.filter(w=>{let{id:E}=w,x=r.current.get(E),{width:C=0}=(x==null?void 0:x.getBoundingClientRect())||{},_=m+b+C>g;return(!_||!x)&&S.push(w),b+=C,_});(S.length!==a.length||u.current!==e)&&(l(S),s(v),u.current=e)},[c.length,e,a]);return i.useLayoutEffect(p,[p,o]),{tabRefs:r,addonsRef:n,tabBarRef:t,visibleList:a,invisibleList:c,AddonTab:d}}var gO=k.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),vO=k.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),yO=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),wO=k.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),M1=({title:e,description:t,footer:n})=>h.createElement(gO,null,h.createElement(vO,null,h.createElement(yO,null,e),t&&h.createElement(wO,null,t)),n),bO="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",EO=k.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),L1=k.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});L1.displayName="TabBar";var xO=k.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${bO}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),SO=({active:e,render:t,children:n})=>h.createElement(B4,{active:e},t?t():n),P1=i.memo(({children:e,selected:t=null,actions:n,absolute:r=!1,bordered:o=!1,tools:a=null,backgroundColor:l,id:c=null,menuName:s="Tabs",emptyState:u,showToolsWhenEmpty:d})=>{let p=i.useMemo(()=>fO(e).map((b,v)=>({...b,active:t?b.id===t:v===0})),[e,t]),{visibleList:m,tabBarRef:f,tabRefs:y,AddonTab:g}=mO(p),S=u??h.createElement(M1,{title:"Nothing found"});return!d&&p.length===0?S:h.createElement(EO,{absolute:r,bordered:o,id:c},h.createElement(Js,{scrollable:!1,border:!0,backgroundColor:l},h.createElement(L1,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},m.map(({title:b,id:v,active:w,color:E},x)=>{let C=`index-${x}`;return h.createElement(Ol,{id:`tabbutton-${Ah(v)??
display: inline-block;
shape-rendering: inherit;
vertical-align: middle;
fill: currentColor;
path {
fill: currentColor;
}
`,$O=({icon:e,useSymbol:t,__suppressDeprecationWarning:n=!1,...r})=>{n||Z2(`Use of the deprecated Icons ${`(${e})`||""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`);let o=gs[e]||null;if(!o)return UI.warn(`Use of an unknown prop ${`(${e})`||""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`),null;let a=IO[o];return h.createElement(a,{...r})},OO=i.memo(function({icons:e=Object.keys(gs)}){return h.createElement(AO,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>h.createElement("symbol",{id:`icon--${t}`,key:t},gs[t])))}),gs={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"Ruler
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
`,PO=k.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${LO} 0.7s linear infinite`,mixBlendMode:"difference"})),R5=k.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),zO=k.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:bt(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),NO=k.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),k5=k.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),BO=k(d2)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),FO=An`
from { content: "..." }
33% { content: "." }
66% { content: ".." }
to { content: "..." }
`,HO=k.span({"&::after":{content:"'...'",animation:`${FO} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),F4=({progress:e,error:t,size:n,...r})=>{if(t)return h.createElement(R5,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...r},h.createElement(BO,null),h.createElement(k5,null,t.message));if(e){let{value:o,modules:a}=e,{message:l}=e;return a&&(l+=` ${a.complete} / ${a.total} modules`),h.createElement(R5,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":o*100,"aria-valuetext":l,role:"progressbar",...r},h.createElement(zO,null,h.createElement(NO,{style:{width:`${o*100}%`}})),h.createElement(k5,null,l,o<1&&h.createElement(HO,{key:l})))}return h.createElement(PO,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:n,...r})};function DO(e){let t={},n=e.split("&");for(let r=0;r<n.length;r++){let o=n[r].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1]||"")}return t}var H4=(e,t,n={})=>{let[r,o]=e.split("?"),a=o?{...DO(o),...n,id:t}:{...n,id:t};return`${r}?${Object.entries(a).map(l=>`${l[0]}=${l[1]}`).join("&")}`},jO=k.pre`
line-height: 18px;
padding: 11px 1rem;
white-space: pre-wrap;
background: rgba(0, 0, 0, 0.05);
color: ${V.darkest};
border-radius: 3px;
margin: 1rem 0;
width: 100%;
display: block;
overflow: hidden;
font-family: ${ln.fonts.mono};
font-size: ${ln.size.s2-1}px;
`,UO=({code:e,...t})=>h.createElement(jO,{id:"clipboard-code",...t},e),D4=b4,j4={};Object.keys(b4).forEach(e=>{j4[e]=i.forwardRef((t,n)=>i.createElement(e,{...t,ref:n}))});const VO=Object.freeze(Object.defineProperty({__proto__:null,A:n4,ActionBar:u1,AddonPanel:kO,Badge:AA,Bar:T1,Blockquote:r4,Button:pr,ClipboardCode:UO,Code:R1,DL:a4,Div:o4,DocumentWrapper:PA,EmptyTabContent:M1,ErrorFormatter:O4,FlexBar:Js,Form:na,H1:l4,H2:k1,H3:I1,H4:i4,H5:s4,H6:c4,HR:u4,IconButton:nr,IconButtonSkeleton:cO,Icons:$O,Img:d4,LI:f4,Link:zr,ListItem:P4,Loader:F4,Modal:KA,OL:p4,P:h4,Placeholder:t$,Pre:m4,ResetWrapper:Zs,ScrollArea:qs,Separator:N1,Spaced:ZA,Span:g4,StorybookIcon:MO,StorybookLogo:TO,Symbols:OO,SyntaxHighlighter:Qs,TT:y4,TabBar:L1,TabButton:Ol,TabWrapper:SO,Table:v4,Tabs:P1,TabsState:z1,TooltipLinkList:z4,TooltipMessage:W$,TooltipNote:q$,UL:w4,WithTooltip:B$,WithTooltipPure:L4,Zoom:$4,codeCommon:Tn,components:D4,createCopyToClipboardFunction:Gv,getStoryHref:H4,icons:gs,interleaveSeparators:CO,nameSpaceClassNames:fe,resetComponents:j4,withReset:ve},Symbol.toStringTag,{value:"Module"}));function WO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hl(e,t){return hl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},hl(e,t)}function GO(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,hl(e,t)}function P0(e){return P0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},P0(e)}function qO(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function U4(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U4=function(){return!!e})()}function KO(e,t,n){if(U4())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&hl(o,n.prototype),o}function z0(e){var t=typeof Map=="function"?new Map:void 0;return z0=function(r){if(r===null||!qO(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return KO(r,arguments,P0(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),hl(o,r)},z0(e)}var cn=function(e){GO(t,e);function t(n){var r;return r=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+n+" for more information.")||this,WO(r)}return t}(z0(Error));function ou(e){return Math.round(e*255)}function YO(e,t,n){return ou(e)+","+ou(t)+","+ou(n)}function ml(e,t,n,r){if(r===void 0&&(r=YO),t===0)return r(n,n,n);var o=(e%360+360)%360/60,a=(1-Math.abs(2*n-1))*t,l=a*(1-Math.abs(o%2-1)),c=0,s=0,u=0;o>=0&&o<1?(c=a,s=l):o>=1&&o<2?(c=l,s=a):o>=2&&o<3?(s=a,u=l):o>=3&&o<4?(s=l,u=a):o>=4&&o<5?(c=l,u=a):o>=5&&o<6&&(c=a,u=l);var d=n-a/2,p=c+d,m=s+d,f=u+d;return r(p,m,f)}var I5={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"d
`).match(o);let p=!1;return{p:d.map(function(m,f){const y=a.exec(m)[0].length,g=new RegExp("^ {1,"+y+"}","gm"),S=m.replace(g,"").replace(a,""),b=f===d.length-1,v=S.indexOf(`
`)!==-1||b&&p;p=v;const w=s._,E=s.o;let x;s.o=!0,v?(s._=!1,x=S.replace(j5,`
`)):(s._=!0,x=S.replace(j5,""));const C=c(x,s);return s._=w,s.o=E,C}),m:n,g:u}},h:(l,c,s)=>e(l.m?"ol":"ul",{key:s.k,start:l.g},l.p.map(function(u,d){return e("li",{key:d},c(u,s))}))}}const oN=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,aN=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,_y=[iy,sy,cy,uy,fy,dy,py,hy,by,Sy,Ey,Cy],lN=[..._y,/^[^\n]+(?: \n|\n{2,})/,F0,H0];function iN(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function sN(e){return Wz.test(e)?"right":Uz.test(e)?"center":Vz.test(e)?"left":null}function V5(e,t,n){const r=n.$;n.$=!0;const o=t(e.trim(),n);n.$=r;let a=[[]];return o.forEach(function(l,c){l.type==="tableSeparator"?c!==0&&c!==o.length-1&&a.push([]):(l.type!=="text"||o[c+1]!=null&&o[c+1].type!=="tableSeparator"||(l.v=l.v.replace(jz,"")),a[a.length-1].push(l))}),a}function cN(e,t,n){n._=!0;const r=V5(e[1],t,n),o=e[2].replace(Dz,"").split("|").map(sN),a=function(l,c,s){return l.trim().split(`
`).map(function(u){return V5(u,c,s)})}(e[3],t,n);return n._=!1,{S:o,A:a,L:r,type:"table"}}function W5(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function Pn(e){return function(t,n){return n._?e.exec(t):null}}function zn(e){return function(t,n){return n._||n.u?e.exec(t):null}}function vn(e){return function(t,n){return n._||n.u?null:e.exec(t)}}function Ea(e){return function(t){return e.exec(t)}}function uN(e,t,n){if(t._||t.u||n&&!n.endsWith(`
`))return null;let r="";e.split(`
`).every(a=>!_y.some(l=>l.test(a))&&(r+=a+`
`,a.trim()));const o=r.trimEnd();return o==""?null:[r,o]}function ao(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function G5(e){return e.replace(eN,"$1")}function Pi(e,t,n){const r=n._||!1,o=n.u||!1;n._=!0,n.u=!0;const a=e(t,n);return n._=r,n.u=o,a}function dN(e,t,n){const r=n._||!1,o=n.u||!1;n._=!1,n.u=!0;const a=e(t,n);return n._=r,n.u=o,a}function fN(e,t,n){return n._=!1,e(t,n)}const su=(e,t,n)=>({v:Pi(t,e[1],n)});function cu(){return{}}function uu(){return null}function pN(...e){return e.filter(Boolean).join(" ")}function du(e,t,n){let r=e;const o=t.split(".");for(;o.length&&(r=r[o[0]],r!==void 0);)o.shift();return r||n}var Z;function hN(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||iN,t.namedCodesToUnicode=t.namedCodesToUnicode?kr({},D5,t.namedCodesToUnicode):D5;const n=t.createElement||i.createElement;function r(f,y,...g){const S=du(t.overrides,`${f}.props`,{});return n(function(b,v){const w=du(v,b);return w?typeof w=="function"||typeof w=="object"&&"render"in w?w:du(v,`${b}.component`,b):b}(f,t.overrides),kr({},y,S,{className:pN(y==null?void 0:y.className,S.className)||void 0}),...g)}function o(f){let y=!1;t.forceInline?y=!0:t.forceBlock||(y=Bz.test(f)===!1);const g=d(u(y?f:`${f.trimEnd().replace(Qz,"")}
`,{_:y}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;const S=t.wrapper||(y?"span":"div");let b;if(g.length>1||t.forceWrapper)b=g;else{if(g.length===1)return b=g[0],typeof b=="string"?r("span",{key:"outer"},b):b;b=null}return i.createElement(S,{key:"outer"},b)}function a(f){const y=f.match(hz);return y?y.reduce(function(g,S,b){const v=S.indexOf("=");if(v!==-1){const w=function(_){return _.indexOf("-")!==-1&&_.match(Iz)===null&&(_=_.replace(Mz,function(R,A){return A.toUpperCase()})),_}(S.slice(0,v)).trim(),E=function(_){const R=_[0];return(R==='"'||R==="'")&&_.length>=2&&_[_.length-1]===R?_.slice(1,-1):_}(S.slice(v+1).trim()),x=H5[w]||w,C=g[x]=function(_,R){return _==="style"?R.split(/;\s?/).reduce(function(A,I){const $=I.slice(0,I.indexOf(":"));return A[$.replace(/(-[a-z])/g,M=>M[1].toUpperCase())]=I.slice($.length+1).trim(),A},{}):_==="href"?ao(R):(R.match(Az)&&(R=R.slice(1,R.length-1)),R==="true"||R!=="false"&&R)}(w,E);typeof C=="string"&&(F0.test(C)||H0.test(C))&&(g[x]=i.cloneElement(o(C.trim()),{key:b}))}else S!=="style"&&(g[H5[S]||S]=!0);return g},{}):null}const l=[],c={},s={blockQuote:{t:vn(iy),i:Z.HIGH,l:(f,y,g)=>({v:y(f[0].replace(vz,""),g)}),h:(f,y,g)=>r("blockquote",{key:g.k},y(f.v,g))},breakLine:{t:Ea(yz),i:Z.HIGH,l:cu,h:(f,y,g)=>r("br",{key:g.k})},breakThematic:{t:vn(wz),i:Z.HIGH,l:cu,h:(f,y,g)=>r("hr",{key:g.k})},codeBlock:{t:vn(cy),i:Z.MAX,l:f=>({v:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(f,y,g)=>r("pre",{key:g.k},r("code",kr({},f.O,{className:f.M?`lang-${f.M}`:""}),f.v))},codeFenced:{t:vn(sy),i:Z.MAX,l:f=>({O:a(f[3]||""),v:f[4],M:f[2]||void 0,type:"codeBlock"})},codeInline:{t:zn(bz),i:Z.LOW,l:f=>({v:f[2]}),h:(f,y,g)=>r("code",{key:g.k},f.v)},footnote:{t:vn(Sz),i:Z.MAX,l:f=>(l.push({I:f[2],j:f[1]}),{}),h:uu},footnoteReference:{t:Pn(Cz),i:Z.HIGH,l:f=>({v:f[1],B:`#${t.slugify(f[1])}`}),h:(f,y,g)=>r("a",{key:g.k,href:ao(f.B)},r("sup",{key:g.k},f.v))},gfmTask:{t:Pn(Rz),i:Z.HIGH,l:f=>({R:f[1].toLowerCase()==="x"}),h:(f,y,g)=>r("input",{checked:f.R,key:g.k,readOnly:!0,type:"checkbox"})},heading:{t:vn(t.enforceAtxHeadings?dy:uy),i:Z.HIGH,l:(f,y,g)=>({v:Pi(y,f[2],g),T:t.slugify(f[2]),C:f[1].length}),h:(f,y,g)=>r(`h${f.C}`,{id:f.T,key:g.k},y(f.v,g))},headingSetext:{t:vn(fy),i:Z.MAX,l:(f,y,g)=>({v:Pi(y,f[1],g),C:f[2]==="="?1:2,type:"heading"})},htmlComment:{t:Ea(py),i:Z.HIGH,l:()=>({}),h:uu},image:{t:zn(aN),i:Z.HIGH,l:f=>({D:f[1],B:G5(f[2]),F:f[3]}),h:(f,y,g)=>r("img",{key:g.k,alt:f.D||void 0,title:f.F||void 0,src:ao(f.B)})},link:{t:Pn(oN),i:Z.LOW,l:(f,y,g)=>({v:dN(y,f[1],g),B:G5(f[2]),F:f[3]}),h:(f,y,g)=>r("a",{key:g.k,href:ao(f.B),title:f.F},y(f.v,g))},linkAngleBraceStyleDetector:{t:Pn(Tz),i:Z.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],type:"link"})},linkBareUrlDetector:{t:(f,y)=>y.N?null:Pn($z)(f,y),i:Z.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],F:void 0,type:"link"})},linkMailtoDetector:{t:Pn(Oz),i:Z.MAX,l(f){let y=f[1],g=f[1];return mz.test(g)||(g="mailto:"+g),{v:[{v:y.replace("mailto:",""),type:"text"}],B:g,type:"link"}}},orderedList:U5(r,1),unorderedList:U5(r,2),newlineCoalescer:{t:vn(Ez),i:Z.LOW,l:cu,h:()=>`
`},paragraph:{t:uN,i:Z.LOW,l:su,h:(f,y,g)=>r("p",{key:g.k},y(f.v,g))},ref:{t:Pn(Lz),i:Z.MAX,l:f=>(c[f[1]]={B:f[2],F:f[4]},{}),h:uu},refImage:{t:zn(Pz),i:Z.MAX,l:f=>({D:f[1]||void 0,P:f[2]}),h:(f,y,g)=>r("img",{key:g.k,alt:f.D,src:ao(c[f.P].B),title:c[f.P].F})},refLink:{t:Pn(zz),i:Z.MAX,l:(f,y,g)=>({v:y(f[1],g),Z:y(f[0].replace(Nz,"\\$1"),g),P:f[2]}),h:(f,y,g)=>c[f.P]?r("a",{key:g.k,href:ao(c[f.P].B),title:c[f.P].F},y(f.v,g)):r("span",{key:g.k},y(f.Z,g))},table:{t:vn(hy),i:Z.HIGH,l:cN,h:(f,y,g)=>r("table",{key:g.k},r("thead",null,r("tr",null,f.L.map(function(S,b){return r("th",{key:b,style:W5(f,b)},y(S,g))}))),r("tbody",null,f.A.map(function(S,b){return r("tr",{key:b},S.map(function(v,w){return r("td",{key:w,style:W5(f,w)},y(v,g))}))})))},tableSeparator:{t:function(f,y){return y.$?(y._=!0,Hz.exec(f)):null},i:Z.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:Ea(Zz),i:Z.MIN,l:f=>({v:f[0].replace(kz,(y,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:y)}),h:f=>f.v},textBolded:{t:zn(Gz),i:Z.MED,l:(f,y,g)=>({v:y(f[2],g)}),h:(f,y,g)=>r("strong",{key:g.k},y(f.v,g))},textEmphasized:{t:zn(qz),i:Z.LOW,l:(f,y,g)=>({v:y(f[2],g)}),h:(f,y,g)=>r("em",{key:g.k},y(f.v,g))},textEscaped:{t:zn(Xz),i:Z.HIGH,l:f=>({v:f[1],type:"text"})},textMarked:{t:zn(Kz),i:Z.LOW,l:su,h:(f,y,g)=>r("mark",{key:g.k},y(f.v,g))},textStrikethroughed:{t:zn(Yz),i:Z.LOW,l:su,h:(f,y,g)=>r("del",{key:g.k},y(f.v,g))}};t.disableParsingRawHTML!==!0&&(s.htmlBlock={t:Ea(F0),i:Z.HIGH,l(f,y,g){const[,S]=f[3].match(Jz),b=new RegExp(`^${S}`,"gm"),v=f[3].replace(b,""),w=(E=v,lN.some(R=>R.test(E))?fN:Pi);var E;const x=f[1].toLowerCase(),C=pz.indexOf(x)!==-1;g.N=g.N||x==="a";const _=C?f[3]:w(y,v,g);return g.N=!1,{O:a(f[2]),v:_,G:C,H:C?x:f[1]}},h:(f,y,g)=>r(f.H,kr({key:g.k},f.O),f.G?f.v:y(f.v,g))},s.htmlSelfClosing={t:Ea(H0),i:Z.HIGH,l:f=>({O:a(f[2]||""),H:f[1]}),h:(f,y,g)=>r(f.H,kr({},f.O,{key:g.k}))});const u=function(f){let y=Object.keys(f);function g(S,b){let v=[],w="";for(;S;){let E=0;for(;E<y.length;){const x=y[E],C=f[x],_=C.t(S,b,w);if(_){const R=_[0];S=S.substring(R.length);const A=C.l(_,g,b);A.type==null&&(A.type=x),v.push(A),w=R;break}E++}}return v}return y.sort(function(S,b){let v=f[S].i,w=f[b].i;return v!==w?v-w:S<b?-1:1}),function(S,b){return g(function(v){return v.replace(xz,`
`).replace(_z,"").replace(Fz," ")}(S),b)}}(s),d=(p=function(f){return function(y,g,S){return f[y.type].h(y,g,S)}}(s),function f(y,g={}){if(Array.isArray(y)){const S=g.k,b=[];let v=!1;for(let w=0;w<y.length;w++){g.k=w;const E=f(y[w],g),x=typeof E=="string";x&&v?b[b.length-1]+=E:E!==null&&b.push(E),v=x}return g.k=S,b}return p(y,f,g)});var p;const m=o(e);return l.length?r("div",null,m,r("footer",{key:"footer"},l.map(function(f){return r("div",{id:t.slugify(f.j),key:f.j},f.j,d(u(f.I,{_:!0})))}))):m}(function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"})(Z||(Z={}));const Ry=e=>{let{children:t,options:n}=e,r=function(o,a){if(o==null)return{};var l,c,s={},u=Object.keys(o);for(c=0;c<u.length;c++)a.indexOf(l=u[c])>=0||(s[l]=o[l]);return s}(e,fz);return i.cloneElement(hN(t,n),r)};function mN(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}var gN=mN;function vN(e){return e!==e}var yN=vN;function wN(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var bN=wN,EN=gN,xN=yN,SN=bN;function CN(e,t,n){return t===t?SN(e,t,n):EN(e,xN,n)}var _N=CN,RN=_N;function kN(e,t){var n=e==null?0:e.length;return!!n&&RN(e,t,0)>-1}var IN=kN;function AN(e,t,n){for(var r=-1,o=e==null?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}var $N=AN;function ON(){}var TN=ON,fu=C3,MN=TN,LN=Lh,PN=1/0,zN=fu&&1/LN(new fu([,-0]))[1]==PN?function(e){return new fu(e)}:MN,NN=zN,BN=_3,FN=IN,HN=$N,DN=R3,jN=NN,UN=Lh,VN=200;function WN(e,t,n){var r=-1,o=FN,a=e.length,l=!0,c=[],s=c;if(n)l=!1,o=HN;else if(a>=VN){var u=t?null:jN(e);if(u)return UN(u);l=!1,o=DN,s=new BN}else s=t?[]:c;e:for(;++r<a;){var d=e[r],p=t?t(d):d;if(d=n||d!==0?d:0,l&&p===p){for(var m=s.length;m--;)if(s[m]===p)continue e;t&&s.push(p),c.push(d)}else o(s,p,n)||(s!==c&&s.push(p),c.push(d))}return c}var GN=WN,qN=GN;function KN(e){return e&&e.length?qN(e):[]}var YN=KN;const XN=Yo(YN);function ZN(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var QN=ZN,JN=U1,eB=ry;function tB(e,t,n,r){var o=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var c=t[a],s=r?r(n[c],e[c],c,n,e):void 0;s===void 0&&(s=e[c]),o?eB(n,c,s):JN(n,c,s)}return n}var nc=tB,nB=nc,rB=ec;function oB(e,t){return e&&nB(t,rB(t),e)}var aB=oB,lB=nc,iB=V1;function sB(e,t){return e&&lB(t,iB(t),e)}var cB=sB,ys={exports:{}};ys.exports;(function(e,t){var n=k3,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===r,l=a?n.Buffer:void 0,c=l?l.allocUnsafe:void 0;function s(u,d){if(d)return u.slice();var p=u.length,m=c?c(p):new u.constructor(p);return u.copy(m),m}e.exports=s})(ys,ys.exports);var uB=ys.exports;function dB(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var fB=dB,pB=nc,hB=B1;function mB(e,t){return pB(e,hB(e),t)}var gB=mB,vB=nc,yB=ay;function wB(e,t){return vB(e,yB(e),t)}var bB=wB,EB=Object.prototype,xB=EB.hasOwnProperty;function SB(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&xB.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var CB=SB,q5=I3;function _B(e){var t=new e.constructor(e.byteLength);return new q5(t).set(new q5(e)),t}var q1=_B,RB=q1;function kB(e,t){var n=t?RB(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var IB=kB,AB=/\w*$/;function $B(e){var t=new e.constructor(e.source,AB.exec(e));return t.lastIndex=e.lastIndex,t}var OB=$B,K5=A3,Y5=K5?K5.prototype:void 0,X5=Y5?Y5.valueOf:void 0;function TB(e){return X5?Object(X5.call(e)):{}}var MB=TB,LB=q1;function PB(e,t){var n=t?LB(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var zB=PB,NB=q1,BB=IB,FB=OB,HB=MB,DB=zB,jB="[object Boolean]",UB="[object Date]",VB="[object Map]",WB="[object Number]",GB="[object RegExp]",qB="[object Set]",KB="[object String]",YB="[object Symbol]",XB="[object ArrayBuffer]",ZB="[object DataView]",QB="[object Float32Array]",JB="[object Float64Array]",eF="[object Int8Array]",tF="[object Int16Array]",nF="[object Int32Array]",rF="[object Uint8Array]",oF="[object Uint8ClampedArray]",aF="[object Uint16Array]",lF="[object Uint32Array]";func
`&&t!=="`")&&(t=null),o&&(e[l]==="/"&&e[l-1]!=="\\"||e[l]===`
`)&&(o=!1),n&&e[l-1]==="/"&&e[l-2]==="*"&&(n=!1),r&&e[l]===`
`&&(r=!1)),!n&&!r&&(a+=e[l]);else a=e;return a},Kj=Gr(1e4)(e=>qj(e).replace(/\n\s*/g,"").trim()),Yj=function(t,n){const r=n.slice(0,n.indexOf("{")),o=n.slice(n.indexOf("{"));if(r.includes("=>")||r.includes("function"))return n;let a=r;return a=a.replace(t,"function"),a+o},Xj=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Fy(e){if(!Gj(e))return e;let t=e,n=!1;return typeof Event<"u"&&e instanceof Event&&(t=UH(t),n=!0),t=Object.keys(t).reduce((r,o)=>{try{t[o]&&t[o].toJSON,r[o]=t[o]}catch{n=!0}return r},{}),n?t:e}var Zj=function(t){let n,r,o,a;return function(c,s){try{if(c==="")return a=[],n=new Map([[s,"[]"]]),r=new Map,o=[],s;const u=r.get(this)||this;for(;o.length&&u!==o[0];)o.shift(),a.pop();if(typeof s=="boolean")return s;if(s===void 0)return t.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return Xj.test(s)?t.allowDate?`_date_${s}`:void 0:s;if((0,QH.default)(s))return t.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,JH.default)(s)){if(!t.allowFunction)return;const{name:p}=s,m=s.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${p}|${(()=>{}).toString()}`:`_function_${p}|${Kj(Yj(c,m))}`}if((0,eD.default)(s)){if(!t.allowSymbol)return;const p=Symbol.keyFor(s);return p!==void 0?`_gsymbol_${p}`:`_symbol_${s.toString().slice(7,-1)}`}if(o.length>=t.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(a)}`;if(s instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!t.allowClass)return;const d=n.get(s);if(!d){const p=Array.isArray(s)?s:Fy(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&t.allowClass)try{Object.assign(p,{"_constructor-name_":s.constructor.name})}catch{}return a.push(c),o.unshift(p),n.set(s,JSON.stringify(a)),s!==p&&r.set(s,p),p}return`_duplicate_${d}`}catch{return}}},Qj={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},Jj=(e,t={})=>{const n={...Qj,...t};return JSON.stringify(Fy(e),Zj(n),t.space)};/*!
* isobject <https://github.com/jonschlinkert/isobject>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*//**
* @license
* Lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="es" -o ./`
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/function eU(e){var t=[].forEach,n=[].some,r=typeof window<"u"&&document.body,o,a=!0,l=" ";function c(v,w){var E=w.appendChild(u(v));if(v.children.length){var x=d(v.isCollapsed);v.children.forEach(function(C){c(C,x)}),E.appendChild(x)}}function s(v,w){var E=!1,x=d(E);if(w.forEach(function(C){c(C,x)}),o=v||o,o!==null)return o.firstChild&&o.removeChild(o.firstChild),w.length===0?o:o.appendChild(x)}function u(v){var w=document.createElement("li"),E=document.createElement("a");return e.listItemClass&&w.setAttribute("class",e.listItemClass),e.onClick&&(E.onclick=e.onClick),e.includeTitleTags&&E.setAttribute("title",v.textContent),e.includeHtml&&v.childNodes.length?t.call(v.childNodes,function(x){E.appendChild(x.cloneNode(!0))}):E.textContent=v.textContent,E.setAttribute("href",e.basePath+"#"+v.id),E.setAttribute("class",e.linkClass+l+"node-name--"+v.nodeName+l+e.extraLinkClasses),w.appendChild(E),w}function d(v){var w=e.orderedList?"ol":"ul",E=document.createElement(w),x=e.listClass+l+e.extraListClasses;return v&&(x=x+l+e.collapsibleClass,x=x+l+e.isCollapsedClass),E.setAttribute("class",x),E}function p(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var v;v=document.querySelector(e.scrollContainer).scrollTop}else v=document.documentElement.scrollTop||r.scrollTop;var w=document.querySelector(e.positionFixedSelector);e.fixedSidebarOffset==="auto"&&(e.fixedSidebarOffset=o.offsetTop),v>e.fixedSidebarOffset?w.className.indexOf(e.positionFixedClass)===-1&&(w.className+=l+e.positionFixedClass):w.className=w.className.replace(l+e.positionFixedClass,"")}function m(v){var w=0;return v!==null&&(w=v.offsetTop,e.hasInnerContainers&&(w+=m(v.offsetParent))),w}function f(v,w){return v&&v.className!==w&&(v.className=w),v}function y(v){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var w;w=document.querySelector(e.scrollContainer).scrollTop}else w=document.documentElement.scrollTop||r.scrollTop;e.positionFixedSelector&&p();var E=v,x;if(a&&o!==null&&E.length>0){n.call(E,function(M,L){if(m(M)>w+e.headingsOffset+10){var j=L===0?L:L-1;return x=E[j],!0}else if(L===E.length-1)return x=E[E.length-1],!0});var C=o.querySelector("."+e.activeLinkClass),_=o.querySelector("."+e.linkClass+".node-name--"+x.nodeName+'[href="'+e.basePath+"#"+x.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(C===_)return;var R=o.querySelectorAll("."+e.linkClass);t.call(R,function(M){f(M,M.className.replace(l+e.activeLinkClass,""))});var A=o.querySelectorAll("."+e.listItemClass);t.call(A,function(M){f(M,M.className.replace(l+e.activeListItemClass,""))}),_&&_.className.indexOf(e.activeLinkClass)===-1&&(_.className+=l+e.activeLinkClass);var I=_&&_.parentNode;I&&I.className.indexOf(e.activeListItemClass)===-1&&(I.className+=l+e.activeListItemClass);var $=o.querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call($,function(M){M.className.indexOf(e.isCollapsedClass)===-1&&(M.className+=l+e.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(e.isCollapsedClass)!==-1&&f(_.nextSibling,_.nextSibling.className.replace(l+e.isCollapsedClass,"")),g(_&&_.parentNode.parentNode)}}function g(v){return v&&v.className.indexOf(e.collapsibleClass)!==-1&&v.className.indexOf(e.isCollapsedClass)!==-1?(f(v,v.className.replace(l+e.isCollapsedClass,"")),g(v.parentNode.parentNode)):v}function S(v){var w=v.target||v.srcElement;typeof w.className!="string"||w.className.indexOf(e.linkClass)===-1||(a=!1)}function b(){a=!0}return{enableTocAnimation:b,disableTocAnimation:S,render:s,updateToc:y}}const tU={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positio
${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%,
${Qt(.02,e.input.background)} ${(r-t)/(n-t)*100}%,
${Qt(.02,e.input.background)} 100%)`:`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%,
${_r(.02,e.input.background)} ${(r-t)/(n-t)*100}%,
${_r(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${nn(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${nn(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Qt(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:o?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:nn(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%,
${Qt(.02,e.input.background)} ${(r-t)/(n-t)*100}%,
${Qt(.02,e.input.background)} 100%)`:`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%,
${_r(.02,e.input.background)} ${(r-t)/(n-t)*100}%,
${_r(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${nn(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${nn(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Qt(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%,
${Qt(.02,e.input.background)} ${(r-t)/(n-t)*100}%,
${Qt(.02,e.input.background)} 100%)`:`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(r-t)/(n-t)*100}%,
${_r(.02,e.input.background)} ${(r-t)/(n-t)*100}%,
${_r(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${nn(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),a3=k.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),XV=k(a3)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),ZV=k.div({display:"flex",alignItems:"center",width:"100%"});function QV(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var JV=({name:e,value:t,onChange:n,min:r=0,max:o=100,step:a=1,onBlur:l,onFocus:c,argType:s})=>{var f;let u=y=>{n(cV(y.target.value))},d=t!==void 0,p=i.useMemo(()=>QV(a),[a]),m=!!((f=s==null?void 0:s.table)!=null&&f.readonly);return h.createElement(ZV,{"aria-readonly":m},h.createElement(a3,null,r),h.createElement(YV,{id:Ft(e),type:"range",disabled:m,onChange:u,name:e,value:t,min:r,max:o,step:a,onFocus:c,onBlur:l}),h.createElement(XV,{numberOFDecimalsPlaces:p,max:o},d?t.toFixed(p):"--"," / ",o))},eW=k.label({display:"flex"}),tW=k.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),nW=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,maxLength:a,argType:l})=>{var f;let c=y=>{n(y.target.value)},s=!!((f=l==null?void 0:l.table)!=null&&f.readonly),[u,d]=i.useState(!1),p=i.useCallback(()=>{n(""),d(!0)},[d]);if(t===void 0)return h.createElement(pr,{variant:"outline",size:"medium",disabled:s,id:bs(e),onClick:p},"Set string");let m=typeof t=="string";return h.createElement(eW,null,h.createElement(na.Textarea,{id:Ft(e),maxLength:a,onChange:c,disabled:s,size:"flex",placeholder:"Edit string...",autoFocus:u,valid:m?null:"error",name:e,value:m?t:"",onFocus:r,onBlur:o}),a&&h.createElement(tW,{isMaxed:(t==null?void 0:t.length)===a},(t==null?void 0:t.length)??0," / ",a))},rW=k(na.Input)({padding:10});function oW(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var aW=({onChange:e,name:t,accept:n="image/*",value:r,argType:o})=>{var s;let a=i.useRef(null),l=(s=o==null?void 0:o.control)==null?void 0:s.readOnly;function c(u){if(!u.target.files)return;let d=Array.from(u.target.files).map(p=>URL.createObjectURL(p));e(d),oW(r)}return i.useEffect(()=>{r==null&&a.current&&(a.current.value=null)},[r,t]),h.createElement(rW,{ref:a,id:Ft(t),type:"file",name:t,multiple:!0,disabled:l,onChange:c,accept:n,size:"flex"})},lW=i.lazy(()=>Br(()=>import("./Color-PRSJMWNM-DILY08ia.js"),__vite__mapDeps([9,2,5,1,3,4,6]),import.meta.url)),iW=e=>h.createElement(i.Suspense,{fallback:h.createElement("div",null)},h.createElement(lW,{...e})),sW={array:bh,object:bh,boolean:tV,color:iW,date:iV,number:dV,check:io,"inline-check":io,radio:io,"inline-radio":io,select:io,"multi-select":io,range:JV,text:nW,file:aW},Eh=()=>h.createElement(h.Fragment,null,"-"),cW=({row:e,arg:t,updateArgs:n,isHovered:r})=>{var g;let{key:o,control:a}=e,[l,c]=i.useState(!1),[s,u]=i.useState({value:t});i.useEffect(()=>{l||u({value:t})},[l,t]);let d=i.useCallback(S=>(u({value:S}),n({[o]:S}),S),[n,o]),p=i.useCallback(()=>c(!1),[]),m=i.useCallback(()=>c(!0),[]);if(!a||a.disable){let S=(a==null?void 0:a.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return r&&S?h.createElement(zr,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):h.createElement(Eh,null)}let f={name:o,argType:e,value:s.value,onChange:d,onBlur:p,onFocus:m},y=sW[a.type]||Eh;return h.createElement(y,{...f,...a,controlType:a.type})},uW=k.span({fontWeight:"bold"}),dW=k.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),fW=k.div((
This is often caused by not wrapping the child in a template string.
This is invalid:
<Markdown>
# Some heading
A paragraph
</Markdown>
Instead do:
<Markdown>
{\`
# Some heading
A paragraph
\`}
</Markdown>
`);return h.createElement(Ry,{...e,options:{forceBlock:!0,overrides:{code:pG,a:mG,...wG,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},EG=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(EG||{}),xG=e=>{var t,n,r,o,a,l,c,s;switch(e.type){case"story":return((n=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:n.story)||null;case"meta":{let{parameters:u,component:d}=e.preparedMeta;return((o=(r=u.docs)==null?void 0:r.description)==null?void 0:o.component)||((l=(a=u.docs)==null?void 0:a.extractComponentDescription)==null?void 0:l.call(a,d,{component:d,parameters:u}))||null}case"component":{let{component:u,projectAnnotations:{parameters:d}}=e;return((s=(c=d.docs)==null?void 0:c.extractComponentDescription)==null?void 0:s.call(c,u,{component:u,parameters:d}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},q0=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n=Zr(t||"meta"),r=xG(n);return r?h.createElement(bG,null,r):null},SG=k.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),CG=k.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),_G=k.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),RG=({title:e})=>e===null?null:typeof e=="string"?h.createElement(_G,null,e):e,kG=({title:e,disable:t,headingSelector:n,contentsSelector:r,ignoreSelector:o,unsafeTocbotOptions:a})=>(i.useEffect(()=>{let l={tocSelector:".toc-wrapper",contentSelector:r??".sbdocs-content",headingSelector:n??"h3",ignoreSelector:o??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...a},c=setTimeout(()=>lU(l),100);return()=>{clearTimeout(c),Hy()}},[t]),h.createElement(h.Fragment,null,h.createElement(SG,null,t?null:h.createElement(CG,null,h.createElement(RG,{title:e||null}),h.createElement("div",{className:"toc-wrapper"}))))),{document:IG,window:AG}=Et,$G=({context:e,theme:t,children:n})=>{var o,a,l,c,s;let r;try{r=(a=(o=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:o.docs)==null?void 0:a.toc}catch{r=(s=(c=(l=e==null?void 0:e.projectAnnotations)==null?void 0:l.parameters)==null?void 0:c.docs)==null?void 0:s.toc}return i.useEffect(()=>{let u;try{if(u=new URL(AG.parent.location.toString()),u.hash){let d=IG.getElementById(u.hash.substring(1));d&&setTimeout(()=>{ZW(d)},200)}}catch{}}),h.createElement(Dt.Provider,{value:e},h.createElement(QW,{channel:e.channel},h.createElement(mm,{theme:v6(t)},h.createElement(SU,{toc:r?h.createElement(kG,{className:"sbdocs sbdocs-toc--custom",...r}):null},n))))},OG=/\s*\/\s*/,TG=e=>{let t=e.trim().split(OG);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},MG=e=>{let{children:t,of:n}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file refe