Anvil/assets/index-e27a64c7.js

396 lines
675 KiB
JavaScript
Raw Normal View History

2024-03-14 18:56:06 +01:00
import{_ as Fn}from"./iframe-a95b58fe.js";import{g as Ma,c as Vu}from"./_commonjsHelpers-725317a4.js";import{L as K2,O as Pv}from"./index-11d98b33.js";import{c as nn,d as Y2,f as _0,g as X2,h as Bv,j as Q2,k as O0,l as Iv,m as Nv,n as Ji,o as T0,i as al,b as J2,p as jv,q as Hv,r as Zv,s as zv,t as Vv,u as Uv,v as e5,w as qv,x as Wv,_ as Gv,y as Kv,z as Yv,A as t5,B as r5,S as I1,C as Ys,a as Uu}from"./index-a04a29e8.js";import{d as Xe}from"./index-356e4a49.js";function Xv(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(n,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>n[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var n5={exports:{}},Y={};/**
2024-02-08 10:52:22 +01:00
* @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.
2024-02-23 14:08:28 +01:00
*/var ol=Symbol.for("react.element"),Qv=Symbol.for("react.portal"),Jv=Symbol.for("react.fragment"),e3=Symbol.for("react.strict_mode"),t3=Symbol.for("react.profiler"),r3=Symbol.for("react.provider"),n3=Symbol.for("react.context"),a3=Symbol.for("react.forward_ref"),o3=Symbol.for("react.suspense"),l3=Symbol.for("react.memo"),i3=Symbol.for("react.lazy"),N1=Symbol.iterator;function u3(e){return e===null||typeof e!="object"?null:(e=N1&&e[N1]||e["@@iterator"],typeof e=="function"?e:null)}var a5={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},o5=Object.assign,l5={};function Pa(e,t,r){this.props=e,this.context=t,this.refs=l5,this.updater=r||a5}Pa.prototype.isReactComponent={};Pa.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")};Pa.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function i5(){}i5.prototype=Pa.prototype;function $0(e,t,r){this.props=e,this.context=t,this.refs=l5,this.updater=r||a5}var R0=$0.prototype=new i5;R0.constructor=$0;o5(R0,Pa.prototype);R0.isPureReactComponent=!0;var j1=Array.isArray,u5=Object.prototype.hasOwnProperty,F0={current:null},s5={key:!0,ref:!0,__self:!0,__source:!0};function c5(e,t,r){var n,a={},o=null,l=null;if(t!=null)for(n in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)u5.call(t,n)&&!s5.hasOwnProperty(n)&&(a[n]=t[n]);var s=arguments.length-2;if(s===1)a.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)a[n]===void 0&&(a[n]=s[n]);return{$$typeof:ol,type:e,key:o,ref:l,props:a,_owner:F0.current}}function s3(e,t){return{$$typeof:ol,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function L0(e){return typeof e=="object"&&e!==null&&e.$$typeof===ol}function c3(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var H1=/\/+/g;function qu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?c3(""+e.key):t.toString(36)}function Kl(e,t,r,n,a){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case ol:case Qv:l=!0}}if(l)return l=e,a=a(l),e=n===""?"."+qu(l,0):n,j1(a)?(r="",e!=null&&(r=e.replace(H1,"$&/")+"/"),Kl(a,t,r,"",function(c){return c})):a!=null&&(L0(a)&&(a=s3(a,r+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(H1,"$&/")+"/")+e)),t.push(a)),1;if(l=0,n=n===""?".":n+":",j1(e))for(var s=0;s<e.length;s++){o=e[s];var u=n+qu(o,s);l+=Kl(o,t,r,u,a)}else if(u=u3(e),typeof u=="function")for(e=u.call(e),s=0;!(o=e.next()).done;)o=o.value,u=n+qu(o,s++),l+=Kl(o,t,r,u,a);else if(o==="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 wl(e,t,r){if(e==null)return e;var n=[],a=0;return Kl(e,n,"","",function(o){return t.call(r,o,a++)}),n}function d3(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var We={current:null},Yl={transition:null},p3={ReactCurrentDispatcher:We,ReactCurrentBatchConfig:Yl,ReactCurrentOwner:F0};Y.Children={map:wl,forEach:function(e,t,r){wl(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return wl(e,function(){t++}),t},toArray:function(e){return wl(e,function(t){return t})||[]},only:function(e){if(!L0(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Y.Component=Pa;Y.Fragment=Jv;Y.Profiler=t3;Y.Pure
2024-02-08 10:52:22 +01:00
`,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".
2024-02-23 14:08:28 +01:00
`};function A3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],a=[],o;for(o=1;o<t.length;o+=1)a.push(t[o]);return a.forEach(function(l){n=n.replace(/%[a-z]/,l)}),n}var or=function(e){x3(t,e);function t(r){for(var n,a=arguments.length,o=new Array(a>1?a-1:0),l=1;l<a;l++)o[l-1]=arguments[l];return n=e.call(this,A3.apply(void 0,[C3[r]].concat(o)))||this,E3(n)}return t}(Qs(Error));function Wu(e){return Math.round(e*255)}function k3(e,t,r){return Wu(e)+","+Wu(t)+","+Wu(r)}function ko(e,t,r,n){if(n===void 0&&(n=k3),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,l=o*(1-Math.abs(a%2-1)),s=0,u=0,c=0;a>=0&&a<1?(s=o,u=l):a>=1&&a<2?(s=l,u=o):a>=2&&a<3?(u=o,c=l):a>=3&&a<4?(u=l,c=o):a>=4&&a<5?(s=l,c=o):a>=5&&a<6&&(s=o,c=l);var d=r-o/2,m=s+d,f=u+d,p=c+d;return n(m,f,p)}var z1={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 _3(e){if(typeof e!="string")return e;var t=e.toLowerCase();return z1[t]?"#"+z1[t]:e}var O3=/^#[a-fA-F0-9]{6}$/,T3=/^#[a-fA-F0-9]{8}$/,$3=/^#[a-fA-F0-9]{3}$/,R3=/^#[a-fA-F0-9]{4}$/,Gu=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,F3=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,L3=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$
`+r+"\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||!a,this.isSpeedy){var o=g4(n);try{o.insertRule(r,o.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(r)||console.error('There was a problem inserting the following rule: "'+r+'"',l)}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},e}(),Ne="-ms-",xi="-moz-",ee="-webkit-",B0="comm",I0="rule",N0="decl",b4="@import",w5="@keyframes",E4="@layer",x4=Math.abs,au=String.fromCharCode,w4=Object.assign;function S4(e,t){return $e(e,0)^45?(((t<<2^$e(e,0))<<2^$e(e,1))<<2^$e(e,2))<<2^$e(e,3):0}function S5(e){return e.trim()}function C4(e,t){return(e=t.exec(e))?e[0]:e}function te(e,t,r){return e.replace(t,r)}function nc(e,t){return e.indexOf(t)}function $e(e,t){return e.charCodeAt(t)|0}function Oo(e,t,r){return e.slice(t,r)}function er(e){return e.length}function j0(e){return e.length}function Cl(e,t){return t.push(e),e}function A4(e,t){return e.map(t).join("")}var ou=1,va=1,C5=0,at=0,ye=0,Ba="";function lu(e,t,r,n,a,o,l){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:ou,column:va,length:l,return:""}}function Ka(e,t){return w4(lu("",null,null,"",null,null,0),e,{length:-e.length},t)}function k4(){return ye}function _4(){return ye=at>0?$e(Ba,--at):0,va--,ye===10&&(va=1,ou--),ye}function st(){return ye=at<C5?$e(Ba,at++):0,va++,ye===10&&(va=1,ou++),ye}function sr(){return $e(Ba,at)}function Ql(){return at}function ll(e,t){return Oo(Ba,e,t)}function To(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 A5(e){return ou=va=1,C5=er(Ba=e),at=0,[]}function k5(e){return Ba="",e}function Jl(e){return S5(ll(at-1,ac(e===91?e+2:e===40?e+1:e)))}function O4(e){for(;(ye=sr())&&ye<33;)st();return To(e)>2||To(ye)>3?"":" "}function T4(e,t){for(;--t&&st()&&!(ye<48||ye>102||ye>57&&ye<65||ye>70&&ye<97););return ll(e,Ql()+(t<6&&sr()==32&&st()==32))}function ac(e){for(;st();)switch(ye){case e:return at;case 34:case 39:e!==34&&e!==39&&ac(ye);break;case 40:e===41&&ac(e);break;case 92:st();break}return at}function $4(e,t){for(;st()&&e+ye!==47+10&&!(e+ye===42+42&&sr()===47););return"/*"+ll(t,at-1)+"*"+au(e===47?e:st())}function R4(e){for(;!To(sr());)st();return ll(e,at)}function F4(e){return k5(ei("",null,null,null,[""],e=A5(e),0,[0],e))}function ei(e,t,r,n,a,o,l,s,u){for(var c=0,d=0,m=l,f=0,p=0,y=0,h=1,S=1,b=1,g=0,v="",E=a,w=o,C=n,A=v;S;)switch(y=g,g=st()){case 40:if(y!=108&&$e(A,m-1)==58){nc(A+=te(Jl(g),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:A+=Jl(g);break;case 9:case 10:case 13:case 32:A+=O4(y);break;case 92:A+=T4(Ql()-1,7);continue;case 47:switch(sr()){case 42:case 47:Cl(L4($4(st(),Ql()),t,r),u);break;default:A+="/"}break;case 123*h:s[c++]=er(A)*b;case 125*h:case 59:case 0:switch(g){case 0:case 125:S=0;case 59+d:b==-1&&(A=te(A,/\f/g,"")),p>0&&er(A)-m&&Cl(p>32?q1(A+";",n,r,m-1):q1(te(A," ","")+";",n,r,m-2),u);break;case 59:A+=";";default:if(Cl(C=U1(A,t,r,c,d,a,s,v,E=[],w=[],m),o),g===123)if(d===0)ei(A,t,C,C,E,o,m,s,w);else switch(f===99&&$e(A,3)===110?100:f){case 100:case 108:case 109:case 115:ei(e,C,C,n&&Cl(U1(e,C,C,0,0,a,s,v,a,E=[],m),w),a,w,m,s,n?E:w);break;default:ei(A,C,C,C,[""],w,0,s,w)}}c=d=p=0,h=b=1,v=A="",m=l;break;case 58:m=1+er(A),p=y;default:if(h<1){if(g==123)--h;else if(g==125&&h++==0&&_4()==125)continue}switch(A+=au(g),g*h){case 38:b=d>0?1:(A+="\f",-1);break;case 44:s[c++]=(er(A)-1)*b,b=1;break;case 64:sr()===45&&(A+=Jl(st())),f=sr(),d=m=er(v=A+=R4(Q
If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var h=y.getAttribute("data-emotion");h.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var n=e.stylisPlugins||W4;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},o,l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(y){for(var h=y.getAttribute("data-emotion").split(" "),S=1;S<h.length;S++)a[h[S]]=!0;l.push(y)});var s,u=[N4,j4];u.push(z4({get compat(){return p.compat}}),U4);{var c,d=[D4,function(y){y.root||(y.return?c.insert(y.return):y.value&&y.type!==B0&&c.insert(y.value+"{}"))}],m=M4(u.concat(n,d)),f=function(y){return ca(F4(y),m)};s=function(y,h,S,b){c=S,h.map!==void 0&&(c={insert:function(g){S.insert(g+h.map)}}),f(y?y+"{"+h.styles+"}":h.styles),b&&(p.inserted[h.name]=!0)}}var p={key:t,sheet:new v4({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:s};return p.sheet.hydrate(l),p};function oc(){return oc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},oc.apply(this,arguments)}f5(E5());var K4=!0;function H0(e,t,r){var n="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):n+=a+" "}),n}var iu=function(e,t,r){var n=e.key+"-"+t.name;(r===!1||K4===!1)&&e.registered[n]===void 0&&(e.registered[n]=t.styles)},uu=function(e,t,r){iu(e,t,r);var n=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var a=t;do e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next;while(a!==void 0)}};function Y4(e){for(var t=0,r,n=0,a=e.length;a>=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&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 X4={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},Y1=`You have illegal escape sequence in your template literal, most likely inside content's property value.
2024-02-08 10:52:22 +01:00
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:
2024-02-23 14:08:28 +01:00
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Q4="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",J4=/[A-Z]|^ms/g,T5=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Z0=function(e){return e.charCodeAt(1)===45},X1=function(e){return e!=null&&typeof e!="boolean"},Xu=x5(function(e){return Z0(e)?e:e.replace(J4,"-$&").toLowerCase()}),wi=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(T5,function(r,n,a){return tr={name:n,styles:a,next:tr},n})}return X4[e]!==1&&!Z0(e)&&typeof t=="number"&&t!==0?t+"px":t};Q1=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,J1=["normal","none","initial","inherit","unset"],ep=wi,tp=/^-ms-/,rp=/-(.)/g,Qu={},wi=function(e,t){if(e==="content"&&(typeof t!="string"||J1.indexOf(t)===-1&&!Q1.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 r=ep(e,t);return r!==""&&!Z0(e)&&e.indexOf("-")!==-1&&Qu[e]===void 0&&(Qu[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(tp,"ms-").replace(rp,function(n,a){return a.toUpperCase()})+"?")),r};var Q1,J1,ep,tp,rp,Qu,$5="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function $o(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error($5);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return tr={name:r.name,styles:r.styles,next:tr},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)tr={name:n.name,styles:n.styles,next:tr},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return eb(e,t,r)}case"function":{if(e!==void 0){var o=tr,l=r(e);return tr=o,$o(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 s=[],u=r.replace(T5,function(d,m,f){var p="animation"+s.length;return s.push("const "+p+" = keyframes`"+f.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+p+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+u+"`"]).join(`
2024-02-08 10:52:22 +01:00
`)+`
You should wrap it with \`css\` like this:
2024-02-23 14:08:28 +01:00
`+("css`"+u+"`"));break}if(t==null)return r;var c=t[r];return c!==void 0?c:r}function eb(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=$o(e,t,r[a])+";";else for(var o in r){var l=r[o];if(typeof l!="object")t!=null&&t[l]!==void 0?n+=o+"{"+t[l]+"}":X1(l)&&(n+=Xu(o)+":"+wi(o,l)+";");else{if(o==="NO_COMPONENT_SELECTOR")throw new Error($5);if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var s=0;s<l.length;s++)X1(l[s])&&(n+=Xu(o)+":"+wi(o,l[s])+";");else{var u=$o(e,t,l);switch(o){case"animation":case"animationName":{n+=Xu(o)+":"+u+";";break}default:o==="undefined"&&console.error(Q4),n+=o+"{"+u+"}"}}}}return n}var np=/label:\s*([^\s;\n{]+)\s*(;|$)/g,R5;R5=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;var tr,ba=function(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,a="";tr=void 0;var o=e[0];o==null||o.raw===void 0?(n=!1,a+=$o(r,t,o)):(o[0]===void 0&&console.error(Y1),a+=o[0]);for(var l=1;l<e.length;l++)a+=$o(r,t,e[l]),n&&(o[l]===void 0&&console.error(Y1),a+=o[l]);var s;a=a.replace(R5,function(m){return s=m,""}),np.lastIndex=0;for(var u="",c;(c=np.exec(a))!==null;)u+="-"+c[1];var d=Y4(a)+u;return{name:d,styles:a,map:s,next:tr,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)."}}},tb={}.hasOwnProperty,z0=x.createContext(typeof HTMLElement<"u"?G4({key:"css"}):null);z0.displayName="EmotionCacheContext";z0.Provider;var su=function(e){return x.forwardRef(function(t,r){var n=x.useContext(z0);return e(t,n,r)})},en=x.createContext({});en.displayName="EmotionThemeContext";var rb=function(){return x.useContext(en)},nb=function(e,t){if(typeof t=="function"){var r=t(e);if(r==null||typeof r!="object"||Array.isArray(r))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return oc({},e,t)},ab=W1(function(e){return W1(function(t){return nb(e,t)})}),F5=function(e){var t=x.useContext(en);return e.theme!==t&&(t=ab(t)(e.theme)),x.createElement(en.Provider,{value:t},e.children)},ap="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",op="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",ob=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return iu(t,r,n),M0(function(){return uu(t,r,n)}),null},lb=su(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[ap],o=[n],l="";typeof e.className=="string"?l=H0(t.registered,o,e.className):e.className!=null&&(l=e.className+" ");var s=ba(o,void 0,x.useContext(en));if(s.name.indexOf("-")===-1){var u=e[op];u&&(s=ba([s,"label:"+u+";"]))}l+=t.key+"-"+s.name;var c={};for(var d in e)tb.call(e,d)&&d!=="css"&&d!==ap&&d!==op&&(c[d]=e[d]);return c.ref=r,c.className=l,x.createElement(x.Fragment,null,x.createElement(ob,{cache:t,serialized:s,isStringTag:typeof a=="string"}),x.createElement(a,c))});lb.displayName="EmotionCssPropInternal";f5(E5());var ib={name:"@emotion/react",version:"11.11.1",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.
2024-02-08 10:52:22 +01:00
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:
2024-02-15 20:47:41 +01:00
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,hb=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return iu(t,r,n),M0(function(){return uu(t,r,n)}),null},gb=function e(t,r){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 n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,l;r!==void 0&&(o=r.label,l=r.target);var s=sp(t,r,n),u=s||up(a),c=!u("as");return function(){var d=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&m.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)m.push.apply(m,d);else{d[0][0]===void 0&&console.error(cp),m.push(d[0][0]);for(var f=d.length,p=1;p<f;p++)d[0][p]===void 0&&console.error(cp),m.push(d[p],d[0][p])}var y=su(function(h,S,b){var g=c&&h.as||a,v="",E=[],w=h;if(h.theme==null){w={};for(var C in h)w[C]=h[C];w.theme=x.useContext(en)}typeof h.className=="string"?v=H0(S.registered,E,h.className):h.className!=null&&(v=h.className+" ");var A=ba(m.concat(E),S.registered,w);v+=S.key+"-"+A.name,l!==void 0&&(v+=" "+l);var k=c&&s===void 0?up(g):u,O={};for(var _ in h)c&&_==="as"||k(_)&&(O[_]=h[_]);return O.className=v,O.ref=b,x.createElement(x.Fragment,null,x.createElement(hb,{cache:S,serialized:A,isStringTag:typeof g=="string"}),x.createElement(g,O))});return y.displayName=o!==void 0?o:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=a,y.__emotion_styles=m,y.__emotion_forwardProp=s,Object.defineProperty(y,"toString",{value:function(){return l===void 0?"NO_COMPONENT_SELECTOR":"."+l}}),y.withComponent=function(h,S){return e(h,rc({},r,S,{shouldForwardProp:sp(y,S,!0)})).apply(void 0,m)},y}},yb=["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"],T=gb.bind();yb.forEach(function(e){T[e]=T(e)});var vb=Nn(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"}}));Nn(1)(({color:e,background:t,typography:r})=>{let n=vb({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var bb={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},Eb=Ia`
2024-02-08 10:52:22 +01:00
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
2024-02-23 14:08:28 +01:00
`,L5=Ia`
2024-02-08 10:52:22 +01:00
0%, 100% { opacity: 1; }
50% { opacity: .4; }
2024-02-15 20:47:41 +01:00
`,xb=Ia`
2024-02-08 10:52:22 +01:00
0% { transform: translateY(1px); }
25% { transform: translateY(0px); }
50% { transform: translateY(-3px); }
100% { transform: translateY(1px); }
2024-02-15 20:47:41 +01:00
`,wb=Ia`
2024-02-08 10:52:22 +01:00
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); }
2024-02-15 20:47:41 +01:00
`,Sb=V0`
2024-02-23 14:08:28 +01:00
animation: ${L5} 1.5s ease-in-out infinite;
2024-02-08 10:52:22 +01:00
color: transparent;
cursor: progress;
2024-02-15 20:47:41 +01:00
`,Cb=V0`
2024-02-08 10:52:22 +01:00
transition: all 150ms ease-out;
transform: translate3d(0, 0, 0);
&:hover {
transform: translate3d(0, -2px, 0);
}
&:active {
transform: translate3d(0, 0, 0);
}
2024-02-23 14:08:28 +01:00
`,Ab={rotate360:Eb,glow:L5,float:xb,jiggle:wb,inlineGlow:Sb,hoverable:Cb},kb={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"},_b={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"},Ob=e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:o4(n)}),{}),Tb=({colors:e,mono:t})=>{let r=Ob(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},$b={green1:"#008000",red1:"#A
2024-02-08 10:52:22 +01:00
[ ]{`+Math.min.apply(Math,a)+"}","g");n=n.map(function(s){return s.replace(o,`
`)})}n[0]=n[0].replace(/^\r?\n/,"");var l=n[0];return t.forEach(function(s,u){var c=l.match(/(?:^|\n)( *)$/),d=c?c[1]:"",m=s;typeof s=="string"&&s.includes(`
`)&&(m=String(s).split(`
`).map(function(f,p){return p===0?f:""+d+f}).join(`
2024-02-15 20:47:41 +01:00
`)),l+=m+n[u+1]}),l}var Ib=e=>{if(!e)return lc(Ei);let t=Pb(Ei,e);return Object.keys(t).length&&p4.warn(Bb`
2024-02-08 10:52:22 +01:00
Your theme is missing properties, you should update your theme!
theme-data missing:
2024-02-23 14:08:28 +01:00
`,t),lc(e)},ic="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",Nb=Object.create,M5=Object.defineProperty,jb=Object.getOwnPropertyDescriptor,P5=Object.getOwnPropertyNames,Hb=Object.getPrototypeOf,Zb=Object.prototype.hasOwnProperty,q=(e,t)=>function(){return t||(0,e[P5(e)[0]])((t={exports:{}}).exports,t),t.exports},zb=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of P5(t))!Zb.call(e,a)&&a!==r&&M5(e,a,{get:()=>t[a],enumerable:!(n=jb(t,a))||n.enumerable});return e},ft=(e,t,r)=>(r=e!=null?Nb(Hb(e)):{},zb(t||!e||!e.__esModule?M5(r,"default",{value:e,enumerable:!0}):r,e)),Vb=q({"../../node_modules/refractor/lang/markdown.js"(e,t){t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function l(y){return y=y.replace(/<inner>/g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+y+")")}var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,u=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),c=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.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:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+u+c+"(?:"+u+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+u+c+")(?:"+u+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+u+")"+c+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+u+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:a.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:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:l(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{patte
`,Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",Nopf:"",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",Or:"⩔",Oscr:"𝒪",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"",Popf:"",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔",Qopf:"",Qscr:"𝒬",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"",ThinSpace:"",Tilde:"",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"
2024-02-08 10:52:22 +01:00
* @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.
2024-02-23 14:08:28 +01:00
*/(function(e){function t(R,F){var P=R.length;R.push(F);e:for(;0<P;){var U=P-1>>>1,G=R[U];if(0<a(G,F))R[U]=F,R[P]=G,P=U;else break e}}function r(R){return R.length===0?null:R[0]}function n(R){if(R.length===0)return null;var F=R[0],P=R.pop();if(P!==F){R[0]=P;e:for(var U=0,G=R.length,X=G>>>1;U<X;){var Q=2*(U+1)-1,j=R[Q],W=Q+1,K=R[W];if(0>a(j,P))W<G&&0>a(K,j)?(R[U]=K,R[W]=P,U=W):(R[U]=j,R[Q]=P,U=Q);else if(W<G&&0>a(K,P))R[U]=K,R[W]=P,U=W;else break e}}return F}function a(R,F){var P=R.sortIndex-F.sortIndex;return P!==0?P:R.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,m=null,f=3,p=!1,y=!1,h=!1,S=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(R){for(var F=r(c);F!==null;){if(F.callback===null)n(c);else if(F.startTime<=R)n(c),F.sortIndex=F.expirationTime,t(u,F);else break;F=r(c)}}function E(R){if(h=!1,v(R),!y)if(r(u)!==null)y=!0,I(w);else{var F=r(c);F!==null&&z(E,F.startTime-R)}}function w(R,F){y=!1,h&&(h=!1,b(k),k=-1),p=!0;var P=f;try{for(v(F),m=r(u);m!==null&&(!(m.expirationTime>F)||R&&!$());){var U=m.callback;if(typeof U=="function"){m.callback=null,f=m.priorityLevel;var G=U(m.expirationTime<=F);F=e.unstable_now(),typeof G=="function"?m.callback=G:m===r(u)&&n(u),v(F)}else n(u);m=r(u)}if(m!==null)var X=!0;else{var Q=r(c);Q!==null&&z(E,Q.startTime-F),X=!1}return X}finally{m=null,f=P,p=!1}}var C=!1,A=null,k=-1,O=5,_=-1;function $(){return!(e.unstable_now()-_<O)}function L(){if(A!==null){var R=e.unstable_now();_=R;var F=!0;try{F=A(!0,R)}finally{F?D():(C=!1,A=null)}}else C=!1}var D;if(typeof g=="function")D=function(){g(L)};else if(typeof MessageChannel<"u"){var Z=new MessageChannel,B=Z.port2;Z.port1.onmessage=L,D=function(){B.postMessage(null)}}else D=function(){S(L,0)};function I(R){A=R,C||(C=!0,D())}function z(R,F){k=S(function(){R(e.unstable_now())},F)}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(R){R.callback=null},e.unstable_continueExecution=function(){y||p||(y=!0,I(w))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return r(u)},e.unstable_next=function(R){switch(f){case 1:case 2:case 3:var F=3;break;default:F=f}var P=f;f=F;try{return R()}finally{f=P}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,F){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var P=f;f=R;try{return F()}finally{f=P}},e.unstable_scheduleCallback=function(R,F,P){var U=e.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?U+P:U):P=U,R){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=P+G,R={id:d++,callback:F,priorityLevel:R,startTime:P,expirationTime:G,sortIndex:-1},P>U?(R.sortIndex=P,t(c,R),r(u)===null&&R===r(c)&&(h?(b(k),k=-1):h=!0,z(E,P-U))):(R.sortIndex=G,t(u,R),y||p||(y=!0,I(w))),R},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(R){var F=f;return function(){var P=f;f=F;try{return R.apply(this,arguments)}finally{f=P}}}})(G5);W5.exports=G5;var A7=W5.exports;/**
2024-02-08 10:52:22 +01:00
* @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.
2024-02-23 14:08:28 +01:00
*/var K5=x,dt=A7;function M(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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 Y5=new Set,Ro={};function jn(e,t){Ea(e,t),Ea(e+"Capture",t)}function Ea(e,t){for(Ro[e]=t,e=0;e<t.length;e++)Y5.add(t[e])}var Cr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),uc=Object.prototype.hasOwnProperty,k7=/^[: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]*$/,dp={},pp={};function _7(e){return uc.call(pp,e)?!0:uc.call(dp,e)?!1:k7.test(e)?pp[e]=!0:(dp[e]=!0,!1)}function O7(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function T7(e,t,r,n){if(t===null||typeof t>"u"||O7(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.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 Ge(e,t,r,n,a,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var Le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Le[e]=new Ge(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Le[t]=new Ge(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Le[e]=new Ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Le[e]=new Ge(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){Le[e]=new Ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Le[e]=new Ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Le[e]=new Ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Le[e]=new Ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Le[e]=new Ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var W0=/[\-:]([a-z])/g;function G0(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-
2024-02-15 20:47:41 +01:00
`+ns+e}var as=!1;function os(e,t){if(!e||as)return"";as=!0;var r=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(c){var n=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){n=c}e.call(t.prototype)}else{try{throw Error()}catch(c){n=c}e()}}catch(c){if(c&&n&&typeof c.stack=="string"){for(var a=c.stack.split(`
2024-02-08 10:52:22 +01:00
`),o=n.stack.split(`
`),l=a.length-1,s=o.length-1;1<=l&&0<=s&&a[l]!==o[s];)s--;for(;1<=l&&0<=s;l--,s--)if(a[l]!==o[s]){if(l!==1||s!==1)do if(l--,s--,0>s||a[l]!==o[s]){var u=`
2024-02-23 14:08:28 +01:00
`+a[l].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=l&&0<=s);break}}}finally{as=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?so(e):""}function $7(e){switch(e.tag){case 5:return so(e.type);case 16:return so("Lazy");case 13:return so("Suspense");case 19:return so("SuspenseList");case 0:case 2:case 15:return e=os(e.type,!1),e;case 11:return e=os(e.type.render,!1),e;case 1:return e=os(e.type,!0),e;default:return""}}function pc(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 Xn:return"Fragment";case Yn:return"Portal";case sc:return"Profiler";case Y0:return"StrictMode";case cc:return"Suspense";case dc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Q5:return(e.displayName||"Context")+".Consumer";case X5:return(e._context.displayName||"Context")+".Provider";case X0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Q0:return t=e.displayName||null,t!==null?t:pc(e.type)||"Memo";case Ir:t=e._payload,e=e._init;try{return pc(e(t))}catch{}}return null}function R7(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 pc(t);case 8:return t===Y0?"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 tn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function em(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function F7(e){var t=em(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(l){n=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(l){n=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kl(e){e._valueTracker||(e._valueTracker=F7(e))}function tm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=em(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Si(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 fc(e,t){var r=t.checked;return de({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function mp(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=tn(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function rm(e,t){t=t.checked,t!=null&&K0(e,"checked",t,!1)}function mc(e,t){rm(e,t);var r=tn(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?hc(e,t.type,r):t.hasOwnProperty("defaultValue")&&hc(e,t.type,tn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function hp(e,t,r){if(t.hasOwnProperty("val
`).replace(Z6,"")}function Dl(e,t,r){if(t=Ip(t),Ip(e)!==t&&r)throw Error(M(425))}function Ri(){}var Tc=null,$c=null;function Rc(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 Fc=typeof setTimeout=="function"?setTimeout:void 0,z6=typeof clearTimeout=="function"?clearTimeout:void 0,Np=typeof Promise=="function"?Promise:void 0,V6=typeof queueMicrotask=="function"?queueMicrotask:typeof Np<"u"?function(e){return Np.resolve(null).then(e).catch(U6)}:Fc;function U6(e){setTimeout(function(){throw e})}function vs(e,t){var r=t,n=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&a.nodeType===8)if(r=a.data,r==="/$"){if(n===0){e.removeChild(a),Po(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=a}while(r);Po(t)}function Gr(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 jp(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var ja=Math.random().toString(36).slice(2),ar="__reactFiber$"+ja,Ho="__reactProps$"+ja,Ar="__reactContainer$"+ja,Lc="__reactEvents$"+ja,q6="__reactListeners$"+ja,W6="__reactHandles$"+ja;function Sn(e){var t=e[ar];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Ar]||r[ar]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=jp(e);e!==null;){if(r=e[ar])return r;e=jp(e)}return t}e=r,r=e.parentNode}return null}function cl(e){return e=e[ar]||e[Ar],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ta(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function mu(e){return e[Ho]||null}var Dc=[],ra=-1;function on(e){return{current:e}}function le(e){0>ra||(e.current=Dc[ra],Dc[ra]=null,ra--)}function ae(e,t){ra++,Dc[ra]=e.current,e.current=t}var rn={},He=on(rn),Je=on(!1),Ln=rn;function xa(e,t){var r=e.type.contextTypes;if(!r)return rn;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in r)a[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function et(e){return e=e.childContextTypes,e!=null}function Fi(){le(Je),le(He)}function Hp(e,t,r){if(He.current!==rn)throw Error(M(168));ae(He,t),ae(Je,r)}function Vm(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in t))throw Error(M(108,R7(e)||"Unknown",a));return de({},r,n)}function Li(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rn,Ln=He.current,ae(He,e),ae(Je,Je.current),!0}function Zp(e,t,r){var n=e.stateNode;if(!n)throw Error(M(169));r?(e=Vm(e,t,Ln),n.__reactInternalMemoizedMergedChildContext=e,le(Je),le(He),ae(He,e)):le(Je),ae(Je,r)}var Er=null,hu=!1,bs=!1;function Um(e){Er===null?Er=[e]:Er.push(e)}function G6(e){hu=!0,Um(e)}function ln(){if(!bs&&Er!==null){bs=!0;var e=0,t=re;try{var r=Er;for(re=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}Er=null,hu=!1}catch(a){throw Er!==null&&(Er=Er.slice(e+1)),gm(ed,ln),a}finally{re=t,bs=!1}}return null}var na=[],aa=0,Di=null,Mi=0,Et=[],xt=0,Dn=null,xr=1,wr="";function gn(e,t){na[aa++]=Mi,na[aa++]=Di,Di=e,Mi=t}function qm(e,t,r){Et[xt++]=xr,Et[xt++]=wr,Et[xt++]=Dn,Dn=e;var n=xr;e=wr;var a=32-It(n)-1;n&=~(1<<a),r+=1;var o=32-It(t)+a;if(30<o){var l=a-a%5;o=(n&(1<<l)-1).toString(32),n>>=l,a-=l,xr=1<<32-It(t)+a|r<<a|n,wr=o+e}else xr=1<<o|r<<a|n,wr=e}function sd(e){e.return!==null&&(gn(e,1),qm(e,1,0))}function cd(e){for(;e===Di;)Di=na[--aa],na[aa]=null,Mi=na[--aa],na[aa]=null;for(;e===Dn;)Dn=Et[--xt],Et[xt]=null,wr=Et[--xt],Et[xt]=null,xr=Et[--xt],Et[xt]=null}var ct=null,ut=null,ue=!1,Bt=null;function Wm(e,t){var r=wt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletio
2024-02-08 10:52:22 +01:00
Error generating stack: `+o.message+`
2024-02-23 14:08:28 +01:00
`+o.stack}return{value:e,source:t,stack:a,digest:null}}function Cs(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function jc(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var nE=typeof WeakMap=="function"?WeakMap:Map;function xh(e,t,r){r=Sr(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){zi||(zi=!0,Yc=n),jc(e,t)},r}function wh(e,t,r){r=Sr(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var a=t.value;r.payload=function(){return n(a)},r.callback=function(){jc(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){jc(e,t),typeof n!="function"&&(Yr===null?Yr=new Set([this]):Yr.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),r}function Qp(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new nE;var a=new Set;n.set(t,a)}else a=n.get(t),a===void 0&&(a=new Set,n.set(t,a));a.has(r)||(a.add(r),e=yE.bind(null,e,t,r),t.then(e,e))}function Jp(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 ef(e,t,r,n,a){return e.mode&1?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Sr(-1,1),t.tag=2,Kr(r,t,1))),r.lanes|=1),e)}var aE=Tr.ReactCurrentOwner,Qe=!1;function Ve(e,t,r,n){t.child=e===null?eh(t,null,r,n):Sa(t,e.child,r,n)}function tf(e,t,r,n,a){r=r.render;var o=t.ref;return ha(t,a),n=xd(e,t,r,n,o,a),r=wd(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,_r(e,t,a)):(ue&&r&&sd(t),t.flags|=1,Ve(e,t,n,a),t.child)}function rf(e,t,r,n,a){if(e===null){var o=r.type;return typeof o=="function"&&!Fd(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,Sh(e,t,o,n,a)):(e=ci(r.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&a)){var l=o.memoizedProps;if(r=r.compare,r=r!==null?r:Io,r(l,n)&&e.ref===t.ref)return _r(e,t,a)}return t.flags|=1,e=Qr(o,n),e.ref=t.ref,e.return=t,t.child=e}function Sh(e,t,r,n,a){if(e!==null){var o=e.memoizedProps;if(Io(o,n)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=n=o,(e.lanes&a)!==0)e.flags&131072&&(Qe=!0);else return t.lanes=e.lanes,_r(e,t,a)}return Hc(e,t,r,n,a)}function Ch(e,t,r){var n=t.pendingProps,a=n.children,o=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ae(ia,it),it|=r;else{if(!(r&1073741824))return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ae(ia,it),it|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=o!==null?o.baseLanes:r,ae(ia,it),it|=n}else o!==null?(n=o.baseLanes|r,t.memoizedState=null):n=r,ae(ia,it),it|=n;return Ve(e,t,a,r),t.child}function Ah(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Hc(e,t,r,n,a){var o=et(r)?Ln:He.current;return o=xa(t,o),ha(t,a),r=xd(e,t,r,n,o,a),n=wd(),e!==null&&!Qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,_r(e,t,a)):(ue&&n&&sd(t),t.flags|=1,Ve(e,t,r,a),t.child)}function nf(e,t,r,n,a){if(et(r)){var o=!0;Li(t)}else o=!1;if(ha(t,a),t.stateNode===null)ii(e,t),Qm(t,r,n),Nc(t,r,n,a),n=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var u=l.context,c=r.contextType;typeof c=="object"&&c!==null?c=kt(c):(c=et(r)?Ln:He.current,c=xa(t,c));var d=r.getDerivedStateFromProps,m=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function";m||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==n||u!==c)&&Gp(t,l,n,c),Nr=!1;var f=t.memoizedState;l.state=f,Ii(t,n,l,a),u=t.memoizedState,s!==n||f!==u||Je.current||Nr?(typeof d=="function"&&(Ic(t,r,d,n),u=t.memoizedState),(s=Nr||Wp(t,r,s,n,f,u,c))?(m||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 o8(e){return t8(e)||r8(e)||n8(e)||a8()}function Go(e){"@babel/helpers - typeof";return Go=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},Go(e)}function l8(e,t){if(Go(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Go(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function i8(e){var t=l8(e,"string");return Go(t)=="symbol"?t:String(t)}function Kh(e,t,r){return t=i8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t0(){return t0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},t0.apply(this,arguments)}function yf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ua(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?yf(Object(r),!0).forEach(function(n){Kh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function u8(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]),
2024-02-15 20:47:41 +01:00
`))})}function y8(e){var t=e.codeString,r=e.codeStyle,n=e.containerStyle,a=n===void 0?{float:"left",paddingRight:"10px"}:n,o=e.numberStyle,l=o===void 0?{}:o,s=e.startingLineNumber;return i.createElement("code",{style:Object.assign({},r,a)},g8({lines:t.replace(/\n$/,"").split(`
`),style:l,startingLineNumber:s}))}function v8(e){return"".concat(e.toString().length,".25em")}function Yh(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 Xh(e,t,r){var n={display:"inline-block",minWidth:v8(r),paddingRight:"1em",textAlign:"right",userSelect:"none"},a=typeof e=="function"?e(t):e,o=rr(rr({},n),a);return o}function di(e){var t=e.children,r=e.lineNumber,n=e.lineNumberStyle,a=e.largestLineNumber,o=e.showInlineLineNumbers,l=e.lineProps,s=l===void 0?{}:l,u=e.className,c=u===void 0?[]:u,d=e.showLineNumbers,m=e.wrapLongLines,f=typeof s=="function"?s(r):s;if(f.className=c,r&&o){var p=Xh(n,r,a);t.unshift(Yh(r,p))}return m&d&&(f.style=rr(rr({},f.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:f,children:t}}function Qh(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n<e.length;n++){var a=e[n];if(a.type==="text")r.push(di({children:[a],className:o8(new Set(t))}));else if(a.children){var o=t.concat(a.properties.className);Qh(a.children,o).forEach(function(l){return r.push(l)})}}return r}function b8(e,t,r,n,a,o,l,s,u){var c,d=Qh(e.value),m=[],f=-1,p=0;function y(w,C){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return di({children:w,lineNumber:C,lineNumberStyle:s,largestLineNumber:l,showInlineLineNumbers:a,lineProps:r,className:A,showLineNumbers:n,wrapLongLines:u})}function h(w,C){if(n&&C&&a){var A=Xh(s,C,l);w.unshift(Yh(C,A))}return w}function S(w,C){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||A.length>0?y(w,C,A):h(w,C)}for(var b=function(){var w=d[p],C=w.children[0].value,A=h8(C);if(A){var k=C.split(`
2024-02-08 10:52:22 +01:00
`);k.forEach(function(O,_){var $=n&&m.length+o,L={type:"text",value:"".concat(O,`
2024-02-15 20:47:41 +01:00
`)};if(_===0){var D=d.slice(f+1,p).concat(di({children:[L],className:w.properties.className})),Z=S(D,$);m.push(Z)}else if(_===k.length-1){var B=d[p+1]&&d[p+1].children&&d[p+1].children[0],I={type:"text",value:"".concat(O)};if(B){var z=di({children:[I],className:w.properties.className});d.splice(p+1,0,z)}else{var R=[I],F=S(R,$,w.properties.className);m.push(F)}}else{var P=[L],U=S(P,$,w.properties.className);m.push(U)}}),f=p}p++};p<d.length;)b();if(f!==d.length-1){var g=d.slice(f+1,d.length);if(g&&g.length){var v=n&&m.length+o,E=S(g,v);m.push(E)}}return t?m:(c=[]).concat.apply(c,m)}function E8(e){var t=e.rows,r=e.stylesheet,n=e.useInlineStyles;return t.map(function(a,o){return Id({node:a,stylesheet:r,useInlineStyles:n,key:"code-segement".concat(o)})})}function Jh(e){return e&&typeof e.highlightAuto<"u"}function x8(e){var t=e.astGenerator,r=e.language,n=e.code,a=e.defaultCodeValue;if(Jh(t)){var o=p8(t,r);return r==="text"?{value:a,language:"text"}:o?t.highlight(r,n):t.highlightAuto(n)}try{return r&&r!=="text"?{value:t.highlight(n,r)}:{value:a}}catch{return{value:a}}}function w8(e,t){return function(r){var n=r.language,a=r.children,o=r.style,l=o===void 0?t:o,s=r.customStyle,u=s===void 0?{}:s,c=r.codeTagProps,d=c===void 0?{className:n?"language-".concat(n):void 0,style:rr(rr({},l['code[class*="language-"]']),l['code[class*="language-'.concat(n,'"]')])}:c,m=r.useInlineStyles,f=m===void 0?!0:m,p=r.showLineNumbers,y=p===void 0?!1:p,h=r.showInlineLineNumbers,S=h===void 0?!0:h,b=r.startingLineNumber,g=b===void 0?1:b,v=r.lineNumberContainerStyle,E=r.lineNumberStyle,w=E===void 0?{}:E,C=r.wrapLines,A=r.wrapLongLines,k=A===void 0?!1:A,O=r.lineProps,_=O===void 0?{}:O,$=r.renderer,L=r.PreTag,D=L===void 0?"pre":L,Z=r.CodeTag,B=Z===void 0?"code":Z,I=r.code,z=I===void 0?(Array.isArray(a)?a[0]:a)||"":I,R=r.astGenerator,F=e8(r,f8);R=R||e;var P=y?i.createElement(y8,{containerStyle:v,codeStyle:d.style||{},numberStyle:w,startingLineNumber:g,codeString:z}):null,U=l.hljs||l['pre[class*="language-"]']||{backgroundColor:"#fff"},G=Jh(R)?"hljs":"prismjs",X=f?Object.assign({},F,{style:Object.assign({},U,u)}):Object.assign({},F,{className:F.className?"".concat(G," ").concat(F.className):G,style:Object.assign({},u)});if(k?d.style=rr(rr({},d.style),{},{whiteSpace:"pre-wrap"}):d.style=rr(rr({},d.style),{},{whiteSpace:"pre"}),!R)return i.createElement(D,X,P,i.createElement(B,d,z));(C===void 0&&$||k)&&(C=!0),$=$||E8;var Q=[{type:"text",value:z}],j=x8({astGenerator:R,language:n,code:z,defaultCodeValue:Q});j.language===null&&(j.value=Q);var W=j.value.length+g,K=b8(j,C,_,y,S,g,W,w,k);return i.createElement(D,X,i.createElement(B,d,!S&&P,$({rows:K,stylesheet:l,useInlineStyles:f})))}}var Nd=ft(E7()),jd=w8(Nd.default,{});jd.registerLanguage=function(e,t){return Nd.default.register(t)};jd.alias=function(e,t){return Nd.default.alias(e,t)};var gt=jd,S8=T.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),eg=T.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});eg.displayName="ActionButton";var Hd=({actionItems:e,...t})=>i.createElement(S8,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},l)=>i.createElement(eg,{key:l,className:n,onClick:a,disabled:o},r)));function be(){return be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},be.apply(this,ar
2024-02-08 10:52:22 +01:00
drop-shadow(0px 5px 5px rgba(0,0,0,0.05))
drop-shadow(0 1px 3px rgba(0,0,0,0.1))
2024-02-15 20:47:41 +01:00
`,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),Xd=i.forwardRef(({placement:e,hasChrome:t,children:r,arrowProps:n,tooltipRef:a,color:o,withArrows:l,...s},u)=>i.createElement(Lw,{"data-testid":"tooltip",hasChrome:t,ref:u,...s,color:o},t&&l&&i.createElement(Fw,{placement:e,...n,color:o}),r));Xd.displayName="Tooltip";Xd.defaultProps={color:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var{document:fi}=gx,Dw=T.div`
2024-02-08 10:52:22 +01:00
display: inline-block;
cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"};
2024-02-15 20:47:41 +01:00
`,Mw=T.g`
2024-02-08 10:52:22 +01:00
cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"};
2024-02-23 14:08:28 +01:00
`,Ag=({svg:e,trigger:t,closeOnOutsideClick:r,placement:n,hasChrome:a,withArrows:o,offset:l,tooltip:s,children:u,closeOnTriggerHidden:c,mutationObserverOptions:d,closeOnClick:m,tooltipShown:f,onVisibilityChange:p,defaultVisible:y,delayHide:h,visible:S,interactive:b,delayShow:g,modifiers:v,strategy:E,followCursor:w,onVisibleChange:C,...A})=>{let k=e?Mw:Dw,{getArrowProps:O,getTooltipProps:_,setTooltipRef:$,setTriggerRef:L,visible:D,state:Z}=Rw({trigger:t,placement:n,defaultVisible:y??f,delayHide:h,interactive:b,closeOnOutsideClick:r??m,closeOnTriggerHidden:c,onVisibleChange:I=>{p==null||p(I),C==null||C(I)},delayShow:g,followCursor:w,mutationObserverOptions:d,visible:S,offset:l},{modifiers:v,strategy:E}),B=i.createElement(Xd,{placement:Z==null?void 0:Z.placement,ref:$,hasChrome:a,arrowProps:O(),withArrows:o,..._()},typeof s=="function"?s({onHide:()=>C(!1)}):s);return i.createElement(i.Fragment,null,i.createElement(k,{trigger:t,ref:L,...A},u),D&&OE.createPortal(B,fi.body))};Ag.defaultProps={svg:!1,trigger:"click",closeOnOutsideClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,defaultVisible:!1};var Pw=({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=x.useState(e),o=x.useCallback(l=>{t&&t(l)===!1||a(l)},[t]);return x.useEffect(()=>{let l=()=>o(!1);fi.addEventListener("keydown",l,!1);let s=Array.from(fi.getElementsByTagName("iframe")),u=[];return s.forEach(c=>{let d=()=>{try{c.contentWindow.document&&(c.contentWindow.document.addEventListener("click",l),u.push(()=>{try{c.contentWindow.document.removeEventListener("click",l)}catch{}}))}catch{}};d(),c.addEventListener("load",d),u.push(()=>{c.removeEventListener("load",d)})}),()=>{fi.removeEventListener("keydown",l),u.forEach(c=>{c()})}}),i.createElement(Ag,{...r,visible:n,onVisibleChange:o})};function Bw(e,t){var r=x.useRef(null),n=x.useRef(null);n.current=t;var a=x.useRef(null);x.useEffect(function(){o()});var o=x.useCallback(function(){var l=a.current,s=n.current,u=l||(s?s instanceof Element?s:s.current:null);r.current&&r.current.element===u&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:u,subscriber:e,cleanup:u?e(u):void 0})},[e]);return x.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),x.useCallback(function(l){a.current=l,o()},[o])}function Pf(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}function kg(e){e===void 0&&(e={});var t=e.onResize,r=x.useRef(void 0);r.current=t;var n=e.round||Math.round,a=x.useRef(),o=x.useState({width:void 0,height:void 0}),l=o[0],s=o[1],u=x.useRef(!1);x.useEffect(function(){return u.current=!1,function(){u.current=!0}},[]);var c=x.useRef({width:void 0,height:void 0}),d=Bw(x.useCallback(function(m){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(f){var p=f[0],y=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",h=Pf(p,y,"inlineSize"),S=Pf(p,y,"blockSize"),b=h?n(h):void 0,g=S?n(S):void 0;if(c.current.width!==b||c.current.height!==g){var v={width:b,height:g};c.current.width=b,c.current.height=g,r.current?r.current(v):u.current||s(v)}})}),a.current.instance.observe(m,{box:e.box}),function(){a.current&&a.current.instance.unobserve(m)}},[e.box,n]),e.ref);return x.useMemo(function(){return{ref:d,width:l.width,height:l.height}},[d,l.width,l.height])}const{global:Iw}=__STORYBOOK_MODULE_GLOBAL__;var ie=({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e};function Xo(){return Xo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xo.apply(this,arguments)}function Nw(e){if(e===void 0)throw new Refe
2024-02-08 10:52:22 +01:00
display: inline-block;
shape-rendering: inherit;
vertical-align: middle;
fill: currentColor;
path {
fill: currentColor;
}
2024-03-14 18:56:06 +01:00
`,qe=({icon:e,useSymbol:t,...r})=>i.createElement(Kg,{viewBox:"0 0 14 14",width:"14px",height:"14px",...r},t?i.createElement("use",{xlinkHref:`#icon--${e}`}):el[e]),SS=x.memo(function({icons:e=Object.keys(el)}){return i.createElement(Kg,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>i.createElement("symbol",{id:`icon--${t}`,key:t},el[t])))}),CS=0,AS=e=>e.button===CS&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,kS=(e,t)=>{AS(e)&&(e.preventDefault(),t(e))},_S=T.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),OS=T.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:sa(.07,e.color.secondary),"svg path:not([fill])":{fill:sa(.07,e.color.secondary)}},"&:active":{color:sa(.1,e.color.secondary),"svg path:not([fill])":{fill:sa(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Jr=({cancel:e,children:t,onClick:r,withArrow:n,containsIcon:a,className:o,...l})=>i.createElement(OS,{...l,onClick:r&&e?s=>kS(s,r):r,className:o},i.createElement(_S,{withArrow:n,containsIcon:a},t,n&&i.createElement(qe,{icon:"arrowright"})));Jr.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var TS=T.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-ty
2024-02-08 10:52:22 +01:00
2024-03-14 18:56:06 +01:00
${t}`);let r=t.match(VS);if(!r)return i.createElement(x.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...l]=o.map(s=>{let u=s.match(US)||s.match(qS)||s.match(WS);return u?{name:(u[1]||"").replace("/<",""),location:u[2].replace(HS.location.origin,"")}:null}).filter(Boolean);return i.createElement(x.Fragment,null,i.createElement("span",null,n),": ",i.createElement(ZS,null,a),i.createElement("br",null),l.map((s,u)=>s.name?i.createElement(x.Fragment,{key:u}," ","at ",i.createElement(zS,null,s.name)," (",i.createElement(If,null,s.location),")",i.createElement("br",null)):i.createElement(x.Fragment,{key:u}," ","at ",i.createElement(If,null,s.location),i.createElement("br",null))))},Jg=T.button(({small:e,theme:t})=>({border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:e?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:`${e?t.typography.size.s1:t.typography.size.s2-1}px`,fontWeight:t.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:e?12:14,width:e?12:14,verticalAlign:"top",marginRight:e?4:6,marginTop:e?0:-1,marginBottom:e?0:-1,pointerEvents:"none",path:{fill:"currentColor"}}}),({disabled:e})=>e?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{},({containsIcon:e,small:t})=>e?{svg:{display:"block",margin:0},...t?{padding:10}:{padding:13}}:{},({theme:e,primary:t,secondary:r,gray:n})=>{let a;return n?a=e.color.mediumlight:r?a=e.color.secondary:t&&(a=e.color.primary),a?{background:a,color:n?e.color.darkest:e.color.lightest,"&:hover":{background:sa(.05,a)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:`${br(a,1)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${br(a,.2)} 0 8px 18px 0px`}}:{}},({theme:e,tertiary:t,inForm:r,small:n})=>t?{background:e.button.background,color:e.input.color,boxShadow:`${e.button.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,...r&&n?{padding:"10px 16px"}:{},"&:hover":{background:e.base==="light"?sa(.02,e.button.background):dS(.03,e.button.background),...r?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}},"&:active":{background:e.button.background},"&:focus":{boxShadow:`${br(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"}}:{},({theme:e,outline:t})=>t?{boxShadow:`${Ye(.8,e.color.defaultText)} 0 0 0 1px inset`,color:Ye(.3,e.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:`${Ye(.5,e.color.defaultText)} 0 0 0 1px inset`,outline:"none"},"&:active":{boxShadow:`${Ye(.5,e.color.defaultText)} 0 0 0 2px inset`,color:Ye(0,e.color.defaultText)}}:{},({theme:e,outline:t,primary:r})=>{let n=e.color.primary;return t&&r?{boxShadow:`${n} 0 0 0 1px inset`,color:n,"svg path:not([fill])":{fill:n},"&:hover":{boxShadow:`${n} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:n,boxShadow:`${n} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${n} 0 0 0 1px inset, ${br(n,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${n} 0 0 0 1px inset, ${br(n,.2)} 0 8px 18px 0px`}}:{}},({theme:e,outline:t,primary:r,secondary:n})=>{let a;return n?a=e.color.secondary:r&&(a=e.color.primary),t&&a?{boxShadow:`${a} 0 0 0 1px inset`,color:a,"svg path:not([fill])":{fill:a},"&:hover":{boxShadow:`${a} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:a,boxShadow:`${a} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${a} 0 0 0 1px inset, ${br(a,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${a} 0 0 0 1px inset, ${br(a,.2)} 0 8px 18px 0px`}}:{}}),GS=Jg.withComponent("a"),ey=Object.assign(x.forwardRef(function({isLink:e,children:t,...r},n){return e?i.createElement(GS,{...r,ref:n},t):i.createElement(Jg,{...r,ref:n},t)}),{defaultProps:{isLink:!1}}),KS=T.label(({theme:e})=>({display:"flex",borderBott
2024-02-08 10:52:22 +01:00
color: ${r||e?t.color.secondary:t.color.mediumdark};
&:hover {
color: ${t.color.secondary};
.addon-collapsible-icon {
color: ${t.color.secondary};
}
}
2024-02-15 20:47:41 +01:00
`);function D9(e){let t=x.useRef(),r=x.useRef(),n=x.useRef(new Map),{width:a=1}=kg({ref:t}),[o,l]=x.useState(e),[s,u]=x.useState([]),c=x.useRef(e),d=x.useCallback(({menuName:f,actions:p})=>{let y=s.some(({active:b})=>b),[h,S]=x.useState(!1);return i.createElement(i.Fragment,null,i.createElement(Pw,{interactive:!0,visible:h,onVisibleChange:S,placement:"bottom",delayHide:100,tooltip:i.createElement(l1,{links:s.map(({title:b,id:g,color:v,active:E})=>({id:g,title:b,color:v,active:E,onClick:w=>{w.preventDefault(),p.onSelect(g)}}))})},i.createElement(L9,{ref:r,active:y,preActive:h,style:{visibility:s.length?"visible":"hidden"},"aria-hidden":!s.length,className:"tabbutton",type:"button",role:"tab"},f,i.createElement(F9,{className:"addon-collapsible-icon",isActive:y||h}))),s.map(({title:b,id:g,color:v},E)=>{let w=`index-${E}`;return i.createElement(gl,{id:`tabbutton-${K2(g)??w}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:C=>{n.current.set(g,C)},className:"tabbutton",type:"button",key:g,textColor:v,role:"tab"},b)}))},[s]),m=x.useCallback(()=>{if(!t.current||!r.current)return;let{x:f,width:p}=t.current.getBoundingClientRect(),{width:y}=r.current.getBoundingClientRect(),h=s.length?f+p-y:f+p,S=[],b=0,g=e.filter(v=>{let{id:E}=v,w=n.current.get(E),{width:C=0}=(w==null?void 0:w.getBoundingClientRect())||{},A=f+b+C>h;return(!A||!w)&&S.push(v),b+=C,A});(S.length!==o.length||c.current!==e)&&(l(S),u(g),c.current=e)},[s.length,e,o]);return x.useLayoutEffect(m,[m,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:s,AddonTab:d}}var M9="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",P9=T.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"}),s1=T.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});s1.displayName="TabBar";var B9=T.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${M9}`]:{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"}}:{}),I9=({active:e,render:t,children:r})=>i.createElement(iy,{active:e},t?t():r),Du=x.memo(({children:e,selected:t,actions:r,absolute:n,bordered:a,tools:o,backgroundColor:l,id:s,menuName:u})=>{let c=Hf(e).map(h=>h.id),d=x.useMemo(()=>Hf(e).map((h,S)=>({...h,active:t?h.id===t:S===0})),[t,...c]),{visibleList:m,tabBarRef:f,tabRefs:p,AddonTab:y}=D9(d);return d.length?i.createElement(P9,{absolute:n,bordered:a,id:s},i.createElement(Lu,{scrollable:!1,border:!0,backgroundColor:l},i.createElement(s1,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},m.map(({title:h,id:S,active:b,color:g},v)=>{let E=`index-${v}`;return i.createElement(gl,{id:`tabbutton-${K2(S)??E}`,ref:w=>{p.current.set(S,w)},className:`tabbutton ${b?"tabbutton-active":""}`,type:"button",key:S,active:b,textColor:g,onClick:w=>{w.preventDefault(),r.onSelect(S)},role:"tab"},typeof h=="function"?i.createElement("title",null):h)}),i.createElement(y,{menuName:u,actions:r})),o),i.createElement(B9,{id:"panel-tab-content",bordered:a,absolute:n},d.map(({id:h,active:S,render:b})=>i.createElement(b,{key:h,active:S},null)))):i.createElement(Yg,null,i.createElement(x.Fragment,{key:"title"},"Nothing found"))});Du.displayName="Tabs";Du.defaultProps={id:null,children:null,tools:null,selected:null,absolute:!1,bordered:!1,menuName:"Tabs"};var uy=class extends x.Component{constructor(e){super(e),this.handlers={onSelect:t=>this.setState({selected:t})},this.st
2024-02-08 10:52:22 +01:00
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
2024-02-15 20:47:41 +01:00
`,q9=T.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:`${U9} 0.7s linear infinite`,mixBlendMode:"difference"})),Zf=T.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),W9=T.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:Ye(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),G9=T.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),zf=T.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),K9=T(qe)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),Y9=Ia`
2024-02-08 10:52:22 +01:00
from { content: "..." }
33% { content: "." }
66% { content: ".." }
to { content: "..." }
2024-02-15 20:47:41 +01:00
`,X9=T.span({"&::after":{content:"'...'",animation:`${Y9} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),sy=({progress:e,error:t,size:r,...n})=>{if(t)return i.createElement(Zf,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},i.createElement(K9,{icon:"lightningoff"}),i.createElement(zf,null,t.message));if(e){let{value:a,modules:o}=e,{message:l}=e;return o&&(l+=` ${o.complete} / ${o.total} modules`),i.createElement(Zf,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":l,role:"progressbar",...n},i.createElement(W9,null,i.createElement(G9,{style:{width:`${a*100}%`}})),i.createElement(zf,null,l,a<1&&i.createElement(X9,{key:l})))}return i.createElement(q9,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})};function Q9(e){let t={},r=e.split("&");for(let n=0;n<r.length;n++){let a=r[n].split("=");t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]||"")}return t}var cy=(e,t,r={})=>{let[n,a]=e.split("?"),o=a?{...Q9(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(l=>`${l[0]}=${l[1]}`).join("&")}`},J9=T.pre`
2024-02-08 10:52:22 +01:00
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: ${lr.fonts.mono};
font-size: ${lr.size.s2-1}px;
2024-02-15 20:47:41 +01:00
`,eC=({code:e,...t})=>i.createElement(J9,{id:"clipboard-code",...t},e),dy=Gg,py={};Object.keys(Gg).forEach(e=>{py[e]=x.forwardRef((t,r)=>x.createElement(e,{...t,ref:r}))});const tC=Object.freeze(Object.defineProperty({__proto__:null,A:$g,ActionBar:Hd,AddonPanel:Z9,Badge:wS,Bar:u1,Blockquote:Rg,Button:ey,ClipboardCode:eC,Code:t1,DL:Lg,Div:Fg,DocumentWrapper:TS,ErrorFormatter:Qg,FlexBar:Lu,Form:Ht,H1:Dg,H2:r1,H3:n1,H4:Mg,H5:Pg,H6:Bg,HR:Ig,IconButton:Rn,IconButtonSkeleton:ly,Icons:qe,Img:Ng,LI:jg,Link:Jr,ListItem:o1,Loader:sy,OL:Hg,P:Zg,Placeholder:Yg,Pre:zg,ResetWrapper:Tu,ScrollArea:zd,Separator:c1,Spaced:DS,Span:Vg,StorybookIcon:V9,StorybookLogo:z9,Symbols:SS,SyntaxHighlighter:$u,TT:qg,TabBar:s1,TabButton:gl,TabWrapper:I9,Table:Ug,Tabs:Du,TabsState:uy,TooltipLinkList:l1,TooltipMessage:ay,TooltipNote:b9,UL:Wg,WithTooltip:d9,WithTooltipPure:ny,Zoom:Xg,codeCommon:Rr,components:dy,createCopyToClipboardFunction:pg,getStoryHref:cy,icons:el,interleaveSeparators:N9,nameSpaceClassNames:ie,resetComponents:py,withReset:fe},Symbol.toStringTag,{value:"Module"}));function ot(){return ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ot.apply(this,arguments)}function rC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tl(e,t){return tl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},tl(e,t)}function nC(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,tl(e,t)}function m0(e){return m0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},m0(e)}function aC(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function fy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(fy=function(){return!!e})()}function oC(e,t,r){if(fy())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&tl(a,r.prototype),a}function h0(e){var t=typeof Map=="function"?new Map:void 0;return h0=function(n){if(n===null||!aC(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return oC(n,arguments,m0(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),tl(a,n)},h0(e)}var ur=function(e){nC(t,e);function t(r){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this,rC(n)}return t}(h0(Error));function Fs(e){return Math.round(e*255)}function lC(e,t,r){return Fs(e)+","+Fs(t)+","+Fs(r)}function rl(e,t,r,n){if(n===void 0&&(n=lC),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,l=o*(1-Math.abs(a%2-1)),s=0,u=0,c=0;a>=0&&a<1?(s=o,u=l):a>=1&&a<2?(s=l,u=o):a>=2&&a<3?(u=o,c=l):a>=3&&a<4?(u=l,c=o):a>=4&&a<5?(s=l,c=o):a>=5&&a<6&&(s=o,c=l);var d=r-o/2,m=s+d,f=u+d,p=c+d;return n(m,f,p)}var Vf={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:"
2024-02-08 10:52:22 +01:00
`).match(a);let m=!1;return{items:d.map(function(f,p){const y=o.exec(f)[0].length,h=new RegExp("^ {1,"+y+"}","gm"),S=f.replace(h,"").replace(o,""),b=p===d.length-1,g=S.indexOf(`
`)!==-1||b&&m;m=g;const v=u.inline,E=u.list;let w;u.list=!0,g?(u.inline=!1,w=S.replace(l2,`
2024-02-15 20:47:41 +01:00
`)):(u.inline=!0,w=S.replace(l2,""));const C=s(w,u);return u.inline=v,u.list=E,C}),ordered:r,start:c}},render:(l,s,u)=>e(l.ordered?"ol":"ul",{key:u.key,start:l.type==="20"?l.start:void 0},l.items.map(function(c,d){return e("li",{key:d},s(c,u))}))}}const gT=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,yT=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Ky=[Ry,Fy,Ly,Dy,Py,My,By,Iy,Vy,Wy,Uy,Gy],vT=[...Ky,/^[^\n]+(?: \n|\n{2,})/,v0,b0];function bT(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 ET(e){return nT.test(e)?"right":tT.test(e)?"center":rT.test(e)?"left":null}function u2(e,t,r){const n=r.inTable;r.inTable=!0;const a=t(e.trim(),r);r.inTable=n;let o=[[]];return a.forEach(function(l,s){l.type==="26"?s!==0&&s!==a.length-1&&o.push([]):(l.type!=="27"||a[s+1]!=null&&a[s+1].type!=="26"||(l.text=l.text.replace(eT,"")),o[o.length-1].push(l))}),o}function xT(e,t,r){r.inline=!0;const n=u2(e[1],t,r),a=e[2].replace(JO,"").split("|").map(ET),o=function(l,s,u){return l.trim().split(`
`).map(function(c){return u2(c,s,u)})}(e[3],t,r);return r.inline=!1,{align:a,cells:o,header:n,type:"25"}}function s2(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Dr(e){return function(t,r){return r.inline?e.exec(t):null}}function Mr(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function gr(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function lo(e){return function(t){return e.exec(t)}}function wT(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(`
2024-02-08 10:52:22 +01:00
`))return null;let n="";e.split(`
2024-02-15 20:47:41 +01:00
`).every(o=>!Ky.some(l=>l.test(o))&&(n+=o+`
`,o.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function Gn(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 c2(e){return e.replace(pT,"$1")}function hi(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function ST(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function CT(e,t,r){return r.inline=!1,e(t,r)}const Ps=(e,t,r)=>({children:hi(t,e[1],r)});function Bs(){return{}}function Is(){return null}function AT(...e){return e.filter(Boolean).join(" ")}function Ns(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function kT(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||bT,t.namedCodesToUnicode=t.namedCodesToUnicode?wn({},o2,t.namedCodesToUnicode):o2;const r=t.createElement||x.createElement;function n(p,y,...h){const S=Ns(t.overrides,`${p}.props`,{});return r(function(b,g){const v=Ns(g,b);return v?typeof v=="function"||typeof v=="object"&&"render"in v?v:Ns(g,`${b}.component`,b):b}(p,t.overrides),wn({},y,S,{className:AT(y==null?void 0:y.className,S.className)||void 0}),...h)}function a(p){p=p.replace(BO,"");let y=!1;t.forceInline?y=!0:t.forceBlock||(y=YO.test(p)===!1);const h=d(c(y?p:`${p.trimEnd().replace(cT,"")}
2024-02-08 10:52:22 +01:00
2024-02-15 20:47:41 +01:00
`,{inline:y}));for(;typeof h[h.length-1]=="string"&&!h[h.length-1].trim();)h.pop();if(t.wrapper===null)return h;const S=t.wrapper||(y?"span":"div");let b;if(h.length>1||t.forceWrapper)b=h;else{if(h.length===1)return b=h[0],typeof b=="string"?n("span",{key:"outer"},b):b;b=null}return x.createElement(S,{key:"outer"},b)}function o(p){const y=p.match(AO);return y?y.reduce(function(h,S,b){const g=S.indexOf("=");if(g!==-1){const v=function(A){return A.indexOf("-")!==-1&&A.match(jO)===null&&(A=A.replace(UO,function(k,O){return O.toUpperCase()})),A}(S.slice(0,g)).trim(),E=function(A){const k=A[0];return(k==='"'||k==="'")&&A.length>=2&&A[A.length-1]===k?A.slice(1,-1):A}(S.slice(g+1).trim()),w=a2[v]||v,C=h[w]=function(A,k){return A==="style"?k.split(/;\s?/).reduce(function(O,_){const $=_.slice(0,_.indexOf(":"));return O[$.replace(/(-[a-z])/g,L=>L[1].toUpperCase())]=_.slice($.length+1).trim(),O},{}):A==="href"||A==="src"?Gn(k):(k.match(HO)&&(k=k.slice(1,k.length-1)),k==="true"||k!=="false"&&k)}(v,E);typeof C=="string"&&(v0.test(C)||b0.test(C))&&(h[w]=x.cloneElement(a(C.trim()),{key:b}))}else S!=="style"&&(h[a2[S]||S]=!0);return h},{}):null}const l=[],s={},u={0:{match:gr(Ry),order:1,parse:(p,y,h)=>({children:y(p[0].replace(OO,""),h)}),render:(p,y,h)=>n("blockquote",{key:h.key},y(p.children,h))},1:{match:lo(TO),order:1,parse:Bs,render:(p,y,h)=>n("br",{key:h.key})},2:{match:gr($O),order:1,parse:Bs,render:(p,y,h)=>n("hr",{key:h.key})},3:{match:gr(Ly),order:0,parse:p=>({lang:void 0,text:p[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(p,y,h)=>n("pre",{key:h.key},n("code",wn({},p.attrs,{className:p.lang?`lang-${p.lang}`:""}),p.text))},4:{match:gr(Fy),order:0,parse:p=>({attrs:o(p[3]||""),lang:p[2]||void 0,text:p[4],type:"3"})},5:{match:Mr(RO),order:3,parse:p=>({text:p[2]}),render:(p,y,h)=>n("code",{key:h.key},p.text)},6:{match:gr(DO),order:0,parse:p=>(l.push({footnote:p[2],identifier:p[1]}),{}),render:Is},7:{match:Dr(MO),order:1,parse:p=>({target:`#${t.slugify(p[1])}`,text:p[1]}),render:(p,y,h)=>n("a",{key:h.key,href:Gn(p.target)},n("sup",{key:h.key},p.text))},8:{match:Dr(IO),order:1,parse:p=>({completed:p[1].toLowerCase()==="x"}),render:(p,y,h)=>n("input",{checked:p.completed,key:h.key,readOnly:!0,type:"checkbox"})},9:{match:gr(t.enforceAtxHeadings?My:Dy),order:1,parse:(p,y,h)=>({children:hi(y,p[2],h),id:t.slugify(p[2]),level:p[1].length}),render:(p,y,h)=>n(`h${p.level}`,{id:p.id,key:h.key},y(p.children,h))},10:{match:gr(Py),order:0,parse:(p,y,h)=>({children:hi(y,p[1],h),level:p[2]==="="?1:2,type:"9"})},11:{match:lo(v0),order:1,parse(p,y,h){const[,S]=p[3].match(dT),b=new RegExp(`^${S}`,"gm"),g=p[3].replace(b,""),v=(E=g,vT.some(k=>k.test(E))?CT:hi);var E;const w=p[1].toLowerCase(),C=CO.indexOf(w)!==-1,A={attrs:o(p[2]),noInnerParse:C,tag:C?w:p[1]};return h.inAnchor=h.inAnchor||w==="a",C?A.text=p[3]:A.children=v(y,g,h),h.inAnchor=!1,A},render:(p,y,h)=>n(p.tag,wn({key:h.key},p.attrs),p.text||y(p.children,h))},13:{match:lo(b0),order:1,parse:p=>({attrs:o(p[2]||""),tag:p[1]}),render:(p,y,h)=>n(p.tag,wn({},p.attrs,{key:h.key}))},12:{match:lo(By),order:1,parse:()=>({}),render:Is},14:{match:Mr(yT),order:1,parse:p=>({alt:p[1],target:c2(p[2]),title:p[3]}),render:(p,y,h)=>n("img",{key:h.key,alt:p.alt||void 0,title:p.title||void 0,src:Gn(p.target)})},15:{match:Dr(gT),order:3,parse:(p,y,h)=>({children:ST(y,p[1],h),target:c2(p[2]),title:p[3]}),render:(p,y,h)=>n("a",{key:h.key,href:Gn(p.target),title:p.title},y(p.children,h))},16:{match:Dr(VO),order:0,parse:p=>({children:[{text:p[1],type:"27"}],target:p[1],type:"15"})},17:{match:(p,y)=>y.inAnchor?null:Dr(ZO)(p,y),order:0,parse:p=>({children:[{text:p[1],type:"27"}],target:p[1],title:void 0,type:"15"})},18:{match:Dr(zO),order:0,parse(p){let y=p[1],h=p[1];return kO.test(h)||(h="mailto:"+h),{children:[{text:y.replace("mailto:",""),type:"27"}],target:h,type:"15"}}},20:i2(n,1),33:i2(n,2),19:{match:gr(FO),order:3,parse:Bs,render:()=>`
`},21:{match:wT,order:3,parse:Ps,render:(p,y,h)=>n("p",{key:h.key},y(p.children,h))},22:{match:Dr(qO),order:0,parse:p=>(s[p[1]]={target:p[2],title:p[4]},{}),render:Is},23:{match:Mr(WO),order:0,parse:p=>({alt:p[1]||void 0,ref:p[2]}),render:(p,y,h)=>n("img",{key:h.key,alt:p.alt,src:Gn(s[p.ref].target),title:s[p.ref].title})},24:{match:Dr(GO),order:0,parse:(p,y,h)=>({children:y(p[1],h),fallbackChildren:y(p[0].replace(KO,"\\$1"),h),ref:p[2]}),render:(p,y,h)=>s[p.ref]?n("a",{key:h.key,href:Gn(s[p.ref].target),title:s[p.ref].title},y(p.children,h)):n("span",{key:h.key},y(p.fallbackChildren,h))},25:{match:gr(Iy),order:1,parse:xT,render:(p,y,h)=>n("table",{key:h.key},n("thead",null,n("tr",null,p.header.map(function(S,b){return n("th",{key:b,style:s2(p,b)},y(S,h))}))),n("tbody",null,p.cells.map(function(S,b){return n("tr",{key:b},S.map(function(g,v){return n("td",{key:v,style:s2(p,v)},y(g,h))}))})))},26:{match:function(p,y){return y.inTable?(y.inline=!0,QO.exec(p)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:lo(sT),order:4,parse:p=>({text:p[0].replace(NO,(y,h)=>t.namedCodesToUnicode[h]?t.namedCodesToUnicode[h]:y)}),render:p=>p.text},28:{match:Mr(aT),order:2,parse:(p,y,h)=>({children:y(p[2],h)}),render:(p,y,h)=>n("strong",{key:h.key},y(p.children,h))},29:{match:Mr(oT),order:3,parse:(p,y,h)=>({children:y(p[2],h)}),render:(p,y,h)=>n("em",{key:h.key},y(p.children,h))},30:{match:Mr(uT),order:1,parse:p=>({text:p[1],type:"27"})},31:{match:Mr(lT),order:3,parse:Ps,render:(p,y,h)=>n("mark",{key:h.key},y(p.children,h))},32:{match:Mr(iT),order:3,parse:Ps,render:(p,y,h)=>n("del",{key:h.key},y(p.children,h))}};t.disableParsingRawHTML===!0&&(delete u[11],delete u[13]);const c=function(p){let y=Object.keys(p);function h(S,b){let g=[],v="";for(;S;){let E=0;for(;E<y.length;){const w=y[E],C=p[w],A=C.match(S,b,v);if(A){const k=A[0];S=S.substring(k.length);const O=C.parse(A,h,b);O.type==null&&(O.type=w),g.push(O),v=k;break}E++}}return g}return y.sort(function(S,b){let g=p[S].order,v=p[b].order;return g!==v?g-v:1}),function(S,b){return h(function(g){return g.replace(LO,`
2024-02-23 14:08:28 +01:00
`).replace(PO,"").replace(XO," ")}(S),b)}}(u),d=(m=function(p,y){return function(h,S,b){const g=p[h.type].render;return y?y(()=>g(h,S,b),h,S,b):g(h,S,b)}}(u,t.renderRule),function p(y,h={}){if(Array.isArray(y)){const S=h.key,b=[];let g=!1;for(let v=0;v<y.length;v++){h.key=v;const E=p(y[v],h),w=typeof E=="string";w&&g?b[b.length-1]+=E:E!==null&&b.push(E),g=w}return h.key=S,b}return m(y,p,h)});var m;const f=a(e);return l.length?n("div",null,f,n("footer",{key:"footer"},l.map(function(p){return n("div",{id:t.slugify(p.identifier),key:p.identifier},p.identifier,d(c(p.footnote,{inline:!0})))}))):f}const Yy=e=>{let{children:t,options:r}=e,n=function(a,o){if(a==null)return{};var l,s,u={},c=Object.keys(a);for(s=0;s<c.length;s++)o.indexOf(l=c[s])>=0||(u[l]=a[l]);return u}(e,SO);return x.cloneElement(kT(t,r),n)};function _T(e,t,r,n){for(var a=e.length,o=r+(n?1:-1);n?o--:++o<a;)if(t(e[o],o,e))return o;return-1}var OT=_T;function TT(e){return e!==e}var $T=TT;function RT(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}var FT=RT,LT=OT,DT=$T,MT=FT;function PT(e,t,r){return t===t?MT(e,t,r):LT(e,DT,r)}var BT=PT,IT=BT;function NT(e,t){var r=e==null?0:e.length;return!!r&&IT(e,t,0)>-1}var jT=NT;function HT(e,t,r){for(var n=-1,a=e==null?0:e.length;++n<a;)if(r(t,e[n]))return!0;return!1}var ZT=HT;function zT(){}var VT=zT,js=Uv,UT=VT,qT=e5,WT=1/0,GT=js&&1/qT(new js([,-0]))[1]==WT?function(e){return new js(e)}:UT,KT=GT,YT=qv,XT=jT,QT=ZT,JT=Wv,e$=KT,t$=e5,r$=200;function n$(e,t,r){var n=-1,a=XT,o=e.length,l=!0,s=[],u=s;if(r)l=!1,a=QT;else if(o>=r$){var c=t?null:e$(e);if(c)return t$(c);l=!1,a=JT,u=new YT}else u=t?[]:s;e:for(;++n<o;){var d=e[n],m=t?t(d):d;if(d=r||d!==0?d:0,l&&m===m){for(var f=u.length;f--;)if(u[f]===m)continue e;t&&u.push(m),s.push(d)}else a(u,m,r)||(u!==s&&u.push(m),s.push(d))}return s}var a$=n$,o$=a$;function l$(e){return e&&e.length?o$(e):[]}var i$=l$;const u$=Ma(i$);function s$(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var c$=s$,d$=g1,p$=_y;function f$(e,t,r,n){var a=!r;r||(r={});for(var o=-1,l=t.length;++o<l;){var s=t[o],u=n?n(r[s],e[s],s,r,e):void 0;u===void 0&&(u=e[s]),a?p$(r,s,u):d$(r,s,u)}return r}var Bu=f$,m$=Bu,h$=Mu;function g$(e,t){return e&&m$(t,h$(t),e)}var y$=g$,v$=Bu,b$=y1;function E$(e,t){return e&&v$(t,b$(t),e)}var x$=E$,Qi={exports:{}};Qi.exports;(function(e,t){var r=Gv,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===n,l=o?r.Buffer:void 0,s=l?l.allocUnsafe:void 0;function u(c,d){if(d)return c.slice();var m=c.length,f=s?s(m):new c.constructor(m);return c.copy(f),f}e.exports=u})(Qi,Qi.exports);var w$=Qi.exports;function S$(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var C$=S$,A$=Bu,k$=d1;function _$(e,t){return A$(e,k$(e),t)}var O$=_$,T$=Bu,$$=Ty;function R$(e,t){return T$(e,$$(e),t)}var F$=R$,L$=Object.prototype,D$=L$.hasOwnProperty;function M$(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&D$.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var P$=M$,d2=Kv;function B$(e){var t=new e.constructor(e.byteLength);return new d2(t).set(new d2(e)),t}var E1=B$,I$=E1;function N$(e,t){var r=t?I$(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var j$=N$,H$=/\w*$/;function Z$(e){var t=new e.constructor(e.source,H$.exec(e));return t.lastIndex=e.lastIndex,t}var z$=Z$,p2=Yv,f2=p2?p2.prototype:void 0,m2=f2?f2.valueOf:void 0;function V$(e){return m2?Object(m2.call(e)):{}}var U$=V$,q$=E1;function W$(e,t){var r=t?q$(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var G$=W$,K$=E1,Y$=j$,X$=z$,Q$=U$,J$=G$,eR="[object Boolean]",tR="[object Date]",rR="[object Map]",nR="[object Number]",aR="[object RegExp]",oR="[object Set]",lR="[object String]",iR="[object Symbol]",uR="[object ArrayBuffer]",sR="[object DataView]",cR="[object Float32Array]",dR="[object Float64Array]",pR="[object Int8Array]",fR="[object Int16Array]",mR="[object Int32Array]",hR="[object Uint8Array]",gR="[object Uint8ClampedArray]",yR="[object Uint16Array]",vR="[object Uint32Array]";function bR(e,t,r)
2024-02-08 10:52:22 +01:00
`&&t!=="`")&&(t=null),a&&(e[l]==="/"&&e[l-1]!=="\\"||e[l]===`
`)&&(a=!1),r&&e[l-1]==="/"&&e[l-2]==="*"&&(r=!1),n&&e[l]===`
2024-02-15 20:47:41 +01:00
`&&(n=!1)),!r&&!n&&(o+=e[l]);else o=e;return o},lM=Nn(1e4)(e=>oM(e).replace(/\n\s*/g,"").trim()),iM=function(t,r){const n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let o=n;return o=o.replace(t,"function"),o+a},uM=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function sv(e){if(!aM(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=tL(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var sM=function(t){let r,n,a,o;return function(s,u){try{if(s==="")return o=[],r=new Map([[u,"[]"]]),n=new Map,a=[],u;const c=n.get(this)||this;for(;a.length&&c!==a[0];)a.shift(),o.pop();if(typeof u=="boolean")return u;if(u===void 0)return t.allowUndefined?"_undefined_":void 0;if(u===null)return null;if(typeof u=="number")return u===-1/0?"_-Infinity_":u===1/0?"_Infinity_":Number.isNaN(u)?"_NaN_":u;if(typeof u=="bigint")return`_bigint_${u.toString()}`;if(typeof u=="string")return uM.test(u)?t.allowDate?`_date_${u}`:void 0:u;if((0,cL.default)(u))return t.allowRegExp?`_regexp_${u.flags}|${u.source}`:void 0;if((0,dL.default)(u)){if(!t.allowFunction)return;const{name:m}=u,f=u.toString();return f.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${m}|${(()=>{}).toString()}`:`_function_${m}|${lM(iM(s,f))}`}if((0,pL.default)(u)){if(!t.allowSymbol)return;const m=Symbol.keyFor(u);return m!==void 0?`_gsymbol_${m}`:`_symbol_${u.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(u)?`[Array(${u.length})]`:"[Object]";if(u===this)return`_duplicate_${JSON.stringify(o)}`;if(u instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...u.cause?{cause:u.cause}:{},...u,name:u.name,message:u.message,stack:u.stack,"_constructor-name_":u.constructor.name}};if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&!t.allowClass)return;const d=r.get(u);if(!d){const m=Array.isArray(u)?u:sv(u);if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&t.allowClass)try{Object.assign(m,{"_constructor-name_":u.constructor.name})}catch{}return o.push(s),a.unshift(m),r.set(u,JSON.stringify(o)),u!==m&&n.set(u,m),m}return`_duplicate_${d}`}catch{return}}},cM={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},dM=(e,t={})=>{const r={...cM,...t};return JSON.stringify(sv(e),sM(r),t.space)};/*!
2024-02-08 10:52:22 +01:00
* 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
2024-02-23 14:08:28 +01:00
*/var cv={exports:{}},Zs,C2;function pM(){return C2||(C2=1,Zs={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,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}),Zs}var zs,A2;function fM(){return A2||(A2=1,zs=function(e){var t=[].forEach,r=[].some,n=document.body,a,o=!0,l=" ";function s(g,v){var E=v.appendChild(c(g));if(g.children.length){var w=d(g.isCollapsed);g.children.forEach(function(C){s(C,w)}),E.appendChild(w)}}function u(g,v){var E=!1,w=d(E);if(v.forEach(function(C){s(C,w)}),a=g||a,a!==null)return a.firstChild&&a.removeChild(a.firstChild),v.length===0?a:a.appendChild(w)}function c(g){var v=document.createElement("li"),E=document.createElement("a");return e.listItemClass&&v.setAttribute("class",e.listItemClass),e.onClick&&(E.onclick=e.onClick),e.includeTitleTags&&E.setAttribute("title",g.textContent),e.includeHtml&&g.childNodes.length?t.call(g.childNodes,function(w){E.appendChild(w.cloneNode(!0))}):E.textContent=g.textContent,E.setAttribute("href",e.basePath+"#"+g.id),E.setAttribute("class",e.linkClass+l+"node-name--"+g.nodeName+l+e.extraLinkClasses),v.appendChild(E),v}function d(g){var v=e.orderedList?"ol":"ul",E=document.createElement(v),w=e.listClass+l+e.extraListClasses;return g&&(w=w+l+e.collapsibleClass,w=w+l+e.isCollapsedClass),E.setAttribute("class",w),E}function m(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var g;g=document.querySelector(e.scrollContainer).scrollTop}else g=document.documentElement.scrollTop||n.scrollTop;var v=document.querySelector(e.positionFixedSelector);e.fixedSidebarOffset==="auto"&&(e.fixedSidebarOffset=a.offsetTop),g>e.fixedSidebarOffset?v.className.indexOf(e.positionFixedClass)===-1&&(v.className+=l+e.positionFixedClass):v.className=v.className.replace(l+e.positionFixedClass,"")}function f(g){var v=0;return g!==null&&(v=g.offsetTop,e.hasInnerContainers&&(v+=f(g.offsetParent))),v}function p(g,v){return g&&g.className!==v&&(g.className=v),g}function y(g){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var v;v=document.querySelector(e.scrollContainer).scrollTop}else v=document.documentElement.scrollTop||n.scrollTop;e.positionFixedSelector&&m();var E=g,w;if(o&&a!==null&&E.length>0){r.call(E,function(L,D){if(f(L)>v+e.headingsOffset+10){var Z=D===0?D:D-1;return w=E[Z],!0}else if(D===E.length-1)return w=E[E.length-1],!0});var C=a.querySelector("."+e.activeLinkClass),A=a.querySelector("."+e.linkClass+".node-name--"+w.nodeName+'[href="'+e.basePath+"#"+w.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(C===A)return;var k=a.querySelectorAll("."+e.linkClass);t.call(k,function(L){p(L,L.className.replace(l+e.activeLinkClass,""))});var O=a.querySelectorAll("."+e.listItemClass);t.call(O,function(L){p(L,L.className.replace(l+e.activeListItemClass,""))}),A&&A.className.indexOf(e.activeLinkClass)===-1&&(A.className+=l+e.activeLinkClass);var _=A&&A.parentNode;_&&_.className.indexOf(e.activeListItemClass)===-1&&(_.className+=l+e.activeListItemClass);var $=a.querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call($,function(L){L.className.indexOf(e.isCollapsedClass)===-1&&(L.className+=l+e.isCollapsedClass)}),A&&A.nextSibling&&A.nextSibling.className.indexOf(e.isCollapsedClass)!==-1&&p(A.nextSibling,A.nextSibling.className.replace(l+e.isCollapsedClass,"")),h(A&&A.parentNode.parentNode)}}fun
2024-02-08 10:52:22 +01:00
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${Jt(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${Jt(.02,e.input.background)} 100%)`:`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${En(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${En(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${nr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${nr(e.appBorderColor,.2)}`,cursor:"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Jt(.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"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:nr(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} ${(n-t)/(r-t)*100}%,
${Jt(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${Jt(.02,e.input.background)} 100%)`:`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${En(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${En(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${nr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${nr(e.appBorderColor,.2)}`,cursor:"grab",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Jt(.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} ${(n-t)/(r-t)*100}%,
${Jt(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
${Jt(.02,e.input.background)} 100%)`:`linear-gradient(to right,
${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%,
${En(.02,e.input.background)} ${(n-t)/(r-t)*100}%,
2024-03-14 18:56:06 +01:00
${En(.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 ${nr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Av=T.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),eB=T(Av)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),tB=T.div({display:"flex",alignItems:"center",width:"100%"});function rB(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 nB=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:l,onFocus:s})=>{let u=m=>{r(gP(m.target.value))},c=t!==void 0,d=x.useMemo(()=>rB(o),[o]);return i.createElement(tB,null,i.createElement(Av,null,n),i.createElement(JP,{id:Zt(e),type:"range",onChange:u,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:l}),i.createElement(eB,{numberOFDecimalsPlaces:d,max:a},c?t.toFixed(d):"--"," / ",a))},aB=T.label({display:"flex"}),oB=T.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),lB=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o})=>{let l=m=>{r(m.target.value)},[s,u]=x.useState(!1),c=x.useCallback(()=>{r(""),u(!0)},[u]);if(t===void 0)return i.createElement(Ht.Button,{id:eu(e),onClick:c},"Set string");let d=typeof t=="string";return i.createElement(aB,null,i.createElement(Ht.Textarea,{id:Zt(e),maxLength:o,onChange:l,size:"flex",placeholder:"Edit string...",autoFocus:s,valid:d?null:"error",name:e,value:d?t:"",onFocus:n,onBlur:a}),o&&i.createElement(oB,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},iB=T(Ht.Input)({padding:10});function uB(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var sB=({onChange:e,name:t,accept:r="image/*",value:n})=>{let a=x.useRef(null);function o(l){if(!l.target.files)return;let s=Array.from(l.target.files).map(u=>URL.createObjectURL(u));e(s),uB(n)}return x.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),i.createElement(iB,{ref:a,id:Zt(t),type:"file",name:t,multiple:!0,onChange:o,accept:r,size:"flex"})},cB=x.lazy(()=>Fn(()=>import("./Color-6VNJS4EI-8ea29b21.js"),["./Color-6VNJS4EI-8ea29b21.js","./_commonjsHelpers-725317a4.js","./index-a04a29e8.js","./iframe-a95b58fe.js","./index-11d98b33.js","./index-356e4a49.js"],import.meta.url)),dB=e=>i.createElement(x.Suspense,{fallback:i.createElement("div",null)},i.createElement(cB,{...e})),pB={array:H2,object:H2,boolean:uP,color:dB,date:mP,number:yP,check:Kn,"inline-check":Kn,radio:Kn,"inline-radio":Kn,select:Kn,"multi-select":Kn,range:nB,text:lB,file:sB},Z2=()=>i.createElement(i.Fragment,null,"-"),fB=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:a,control:o}=e,[l,s]=x.useState(!1),[u,c]=x.useState({value:t});x.useEffect(()=>{l||c({value:t})},[l,t]);let d=x.useCallback(h=>(c({value:h}),r({[a]:h}),h),[r,a]),m=x.useCallback(()=>s(!1),[]),f=x.useCallback(()=>s(!0),[]);if(!o||o.disable)return n?i.createElement(Jr,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):i.createElement(Z2,null);let p={name:a,argType:e,value:u.value,onChange:d,onBlur:m,onFocus:f},y=pB[o.type]||Z2;return i.createElement(y,{...p,...o,controlType:o.type})},mB=T.span({fontWeight:"bold"}),hB=T.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),gB=T.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Rr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),yB=T.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?pe(.1,e.color.defaultT
2024-02-08 10:52:22 +01:00
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block
`),(c=t.parameters.docs)!=null&&c.transformSource&&Re(Xe`The \`transformSource\` parameter at \`parameters.docs.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block
`),(d=t.parameters.jsx)!=null&&d.transformSource&&Re(Xe`The \`transformSource\` parameter at \`parameters.jsx.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block
2024-02-15 20:47:41 +01:00
`),((p=n??o.transform??o.transformSource??((m=t.parameters.docs)==null?void 0:m.transformSource)??((f=t.parameters.jsx)==null?void 0:f.transformSource))==null?void 0:p(s,t))||s},$v=(e,t,r)=>{var p,y,h;let n=e.ids||(e.id?[e.id]:[]),a=R1(n,t),o=a,{of:l}=e;if("of"in e&&l===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(l)o=[t.resolveOf(l,["story"]).story];else if(o.length===0)try{o=[t.storyById()]}catch{}if(!a.every(Boolean))return{error:"Oh no! The source is not available.",state:"none"};let s=((h=(y=(p=o[0])==null?void 0:p.parameters)==null?void 0:y.docs)==null?void 0:h.source)||{},{code:u}=e,c=e.format??s.format,d=e.language??s.language??"jsx",m=e.dark??s.dark??!1;u||(u=o.map((S,b)=>{var w,C;if(!S)return"";let g=t.getStoryContext(S),v=e.__forceInitialArgs?g.initialArgs:g.unmappedArgs,E=oI(S.id,v,r);return b===0&&(c=E.format??((C=(w=S.parameters.docs)==null?void 0:w.source)==null?void 0:C.format)??!1),lI({snippet:E.code,storyContext:{...g,args:v},typeFromProps:e.type,transformFromProps:e.transform})}).join(`
2024-02-08 10:52:22 +01:00
2024-02-15 20:47:41 +01:00
`));let f=aI(o);return u?{code:u,format:c,language:d,dark:m,state:f}:{error:"Oh no! The source is not available.",state:f}},Rv=(e,t)=>{let{id:r,of:n,meta:a,story:o}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(r)return Re(Xe`Referencing stories by \`id\` is deprecated, please use \`of\` instead.
2024-02-08 10:52:22 +01:00
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),r;let{name:l}=e;return l?(Re(Xe`Referencing stories by \`name\` is deprecated, please use \`of\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),t.storyIdByName(l)):(o&&Re(Xe`The \`story\` prop is deprecated, please export your stories from CSF files and reference them with \`of={}\`.
2024-02-15 20:47:41 +01:00
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),a&&t.referenceMeta(a,!1),t.resolveOf(n||o||"story",["story"]).story.id)},iI=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;let{inlineStories:l,iframeHeight:s}=a;typeof l<"u"&&Re(Xe`The \`docs.inlineStories\` parameter is deprecated, use \`docs.story.inline\` instead.
2024-02-08 10:52:22 +01:00
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes'
`);let u=e.inline??o.inline??l??!1;if(typeof s<"u"&&Re(Xe`The \`docs.iframeHeight\` parameter is deprecated, use \`docs.story.iframeHeight\` instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes'
2024-02-15 20:47:41 +01:00
`),u){let d=e.height??o.height,m=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:d,autoplay:m,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let c=e.height??o.height??o.iframeHeight??s??"100px";return{story:t,inline:!1,height:c,primary:!!e.__primary}},uI=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=x.useContext(lt),r=Rv(e,t),n=tI(r,t);if(!n)return i.createElement(O1,null);let a=iI(e,n,t);return a?i.createElement(jM,{...a}):null},sI=({withSource:e,mdxSource:t,children:r,layout:n,...a},o,l)=>{let s=x.Children.toArray(r).filter(f=>f.props&&(f.props.id||f.props.name||f.props.of)).map(f=>Rv(f.props,o)),u=R1(s,o),c=u.some(f=>!f),d=$v({...t?{code:decodeURI(t)}:{ids:s},...a.of&&{of:a.of}},o,l);if(e==="none")return{isLoading:c,previewProps:a};let m=n;return x.Children.forEach(r,f=>{var p,y;m||(m=(y=(p=f==null?void 0:f.props)==null?void 0:p.parameters)==null?void 0:y.layout)}),u.forEach(f=>{var p,y;m||!f||(m=(f==null?void 0:f.parameters.layout)??((y=(p=f.parameters.docs)==null?void 0:p.canvas)==null?void 0:y.layout))}),{isLoading:c,previewProps:{...a,layout:m??"padded",withSource:d,isExpanded:(e||d.state)==="open"}}},cI=e=>{var S,b,g,v,E,w,C,A,k,O;let t=x.useContext(lt),r=x.useContext(Ov),{children:n,of:a,source:o}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{isLoading:l,previewProps:s}=sI(e,t,r),u,c,d;try{({story:u}=vl(a||"story",["story"]))}catch(_){n||(d=_)}try{c=$v({...o,...a&&{of:a}},t,r)}catch(_){n||(d=_)}if(d)throw d;if(e.withSource&&Re(Xe`Setting source state with \`withSource\` is deprecated, please use \`sourceState\` with 'hidden', 'shown' or 'none' instead.
2024-02-08 10:52:22 +01:00
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
`),e.mdxSource&&Re(Xe`Setting source code with \`mdxSource\` is deprecated, please use source={{code: '...'}} instead.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
`),(e.isColumn!==void 0||e.columns!==void 0)&&Re(Xe`\`isColumn\` and \`columns\` props are deprecated as the Canvas block now only supports showing a single story.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
`),n)return Re(Xe`Passing children to Canvas is deprecated, please use the \`of\` prop instead to reference a story.
Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block
2024-02-15 20:47:41 +01:00
`),l?i.createElement(GM,null):i.createElement(x0,{...s},n);let m=e.layout??u.parameters.layout??((b=(S=u.parameters.docs)==null?void 0:S.canvas)==null?void 0:b.layout)??"padded",f=e.withToolbar??((v=(g=u.parameters.docs)==null?void 0:g.canvas)==null?void 0:v.withToolbar)??!1,p=e.additionalActions??((w=(E=u.parameters.docs)==null?void 0:E.canvas)==null?void 0:w.additionalActions),y=e.sourceState??((A=(C=u.parameters.docs)==null?void 0:C.canvas)==null?void 0:A.sourceState)??"hidden",h=e.className??((O=(k=u.parameters.docs)==null?void 0:k.canvas)==null?void 0:O.className);return i.createElement(x0,{withSource:y==="none"?void 0:c,isExpanded:y==="shown",withToolbar:f,additionalActions:p,className:h,layout:m},i.createElement(uI,{of:a||u.moduleExport,meta:e.meta,...e.story}))},dI=(e,t)=>{let r=t.getStoryContext(e),[n,a]=x.useState(r.globals);return x.useEffect(()=>{let o=l=>{a(l.globals)};return t.channel.on(R2,o),()=>t.channel.off(R2,o)},[t.channel]),[n]},pI=(e,t)=>{let r=fI(e,t);if(!r)throw new Error("No result when story was defined");return r},fI=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=x.useState(r.args);x.useEffect(()=>{let u=c=>{c.storyId===n&&o(c.args)};return t.channel.on($2,u),()=>t.channel.off($2,u)},[n,t.channel]);let l=x.useCallback(u=>t.channel.emit(bM,{storyId:n,updatedArgs:u}),[n,t.channel]),s=x.useCallback(u=>t.channel.emit(EM,{storyId:n,argNames:u}),[n,t.channel]);return e&&[a,l,s]},mI=e=>{var h;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 r=x.useContext(lt),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o}=n,l=((h=a.docs)==null?void 0:h.controls)||{},s=e.include??l.include,u=e.exclude??l.exclude,c=e.sort??l.sort,[d,m,f]=pI(n,r),[p]=dI(n,r),y=vM(o,s,u);return i.createElement(jB,{rows:y,args:d,globals:p,updateArgs:m,resetArgs:f,sort:c})},{document:Fv}=St,hI=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return i.createElement(t1,null,t);let n=e&&e.split("-");return i.createElement(k1,{language:n&&n[1]||"plaintext",format:!1,code:t,...r})};function F1(e,t){e.channel.emit(xM,t)}var A0=dy.a,gI=({hash:e,children:t})=>{let r=x.useContext(lt);return i.createElement(A0,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);Fv.getElementById(a)&&F1(r,e)}},t)},yI=e=>{let{href:t,target:r,children:n,...a}=e,o=x.useContext(lt);if(t){if(t.startsWith("#"))return i.createElement(gI,{hash:t},n);if(r!=="_blank"&&!t.startsWith("https://"))return i.createElement(A0,{href:t,onClick:l=>{l.button===0&&!l.altKey&&!l.ctrlKey&&!l.metaKey&&!l.shiftKey&&(l.preventDefault(),F1(o,l.currentTarget.getAttribute("href")))},target:r,...a},n)}return i.createElement(A0,{...e})},Lv=["h1","h2","h3","h4","h5","h6"],vI=Lv.reduce((e,t)=>({...e,[t]:T(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),bI=T.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),EI=({as:e,id:t,children:r,...n})=>{let a=x.useContext(lt),o=vI[e],l=`#${t}`;return i.createElement(o,{id:t,...n},i.createElement(bI,{"aria-hidden":"true",href:l,tabIndex:-1,target:"_self",onClick:s=>{Fv.getElementById(t)&&F1(a,l)}},i.createElement(qe,{icon:"link"})),r)},L1=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return i.createElement(EI,{as:t,id:r,...a},n);let o=t,{as:l,...s}=e;return i.createElement(o,{...ie(s,t)})},xI=Lv.reduce((e,t)=>({...e,[t]:r=>i.createElement(L1,{as:t,...r})}),{}),wI=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(Xe`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}'
2024-02-08 10:52:22 +01:00
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>
2024-02-23 14:08:28 +01:00
`);return i.createElement(Yy,{...e,options:{forceBlock:!0,overrides:{code:hI,a:yI,...xI,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},SI=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(SI||{}),yi="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#description-block-parametersnotes-and-parametersinfo",CI=e=>e&&(typeof e=="string"?e:Ys(e.markdown)||Ys(e.text)),AI=e=>e&&(typeof e=="string"?e:Ys(e.text)),kI=e=>null,_I=e=>{var t,r,n,a,o,l,s,u;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:c,component:d}=e.preparedMeta;return((a=(n=c.docs)==null?void 0:n.description)==null?void 0:a.component)||((l=(o=c.docs)==null?void 0:o.extractComponentDescription)==null?void 0:l.call(o,d,{component:d,parameters:c}))||null}case"component":{let{component:c,projectAnnotations:{parameters:d}}=e;return((u=(s=d.docs)==null?void 0:s.extractComponentDescription)==null?void 0:u.call(s,c,{component:c,parameters:d}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},OI=({type:e,markdown:t,children:r},{storyById:n})=>{let{component:a,parameters:o}=n();if(r||t)return r||t;let{notes:l,info:s,docs:u}=o;(l||s)&&Re(`Using 'parameters.notes' or 'parameters.info' properties to describe stories is deprecated. See ${yi}`);let{extractComponentDescription:c=kI,description:d}=u||{},m=d==null?void 0:d.component;if(m)return m;switch(e){case"info":return AI(s);case"notes":return CI(l);case"docgen":case"auto":default:return c(a,{component:a,...o})}},k0=e=>{let{of:t,type:r,markdown:n,children:a}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let o=x.useContext(lt),l=vl(t||"meta"),s;return r||n||a?s=OI(e,o):s=_I(l),r&&Re(`Manually specifying description type is deprecated. See ${yi}`),n&&Re(`The 'markdown' prop on the Description block is deprecated. See ${yi}`),a&&Re(`The 'children' prop on the Description block is deprecated. See ${yi}`),s?i.createElement(wI,null,s):null},TI=T.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),$I=T.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"}})),RI=T.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),FI=({title:e})=>e===null?null:typeof e=="string"?i.createElement(RI,null,e):e,LI=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o})=>(x.useEffect(()=>{let l={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...o},s=setTimeout(()=>T2.init(l),100);return()=>{clearTimeout(s),T2.destroy()}},[t]),i.createElement(i.Fragment,null,i.createElement(TI,null,t?null:i.createElement($I,null,i.
2024-02-08 10:52:22 +01:00
The Primary block should only be used to render the primary story, which is automatically found.
2024-02-15 20:47:41 +01:00
`),a?i.createElement(Dv,{of:a.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},zI=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return i.createElement(r1,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return i.createElement(L1,{as:"h2",id:n,...r},e)},VI=T(zI)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),UI=({title:e="Stories",includePrimary:t=!0})=>{let{componentStories:r}=x.useContext(lt),n=r().filter(a=>{var o,l;return!((l=(o=a.parameters)==null?void 0:o.docs)!=null&&l.disable)});return t||(n=n.slice(1)),!n||n.length===0?null:i.createElement(i.Fragment,null,i.createElement(VI,null,e),n.map(a=>a&&i.createElement(Dv,{key:a.id,of:a.moduleExport,expanded:!0,__forceInitialArgs:!0})))},qI=()=>{let e=vl("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return i.createElement(i.Fragment,null,i.createElement(NI,null),i.createElement(jI,null),i.createElement(k0,{of:"meta"}),r?i.createElement(k0,{of:"story"}):null,i.createElement(ZI,null),i.createElement(mI,null),r?null:i.createElement(UI,null))};function oN({context:e,docsParameter:t}){let r=t.container||PI,n=t.page||qI;return i.createElement(r,{context:e,theme:t.theme},i.createElement(n,null))}var lN=({of:e})=>{let t=x.useContext(lt);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return i.createElement(kv,{storyId:r.id})}catch{return null}};export{yI as A,aN as C,oN as D,Ht as F,xI as H,qe as I,lN as M,i as R,Vd as S,b9 as T,Pw as W,ft as _,Ag as a,nN as b,pg as c,q as d,Bd as e,hI as f,d9 as g,Zt as h,Nn as m,T as n,x as r,JI as s};