diff --git a/pr/pr-177/Color-6VNJS4EI-BZcM3Alx.js b/pr/pr-177/Color-6VNJS4EI-BZcM3Alx.js new file mode 100644 index 00000000..05ac9753 --- /dev/null +++ b/pr/pr-177/Color-6VNJS4EI-BZcM3Alx.js @@ -0,0 +1,1124 @@ +import { e as export_default, b as export_useRef, c as export_useMemo, d as export_useEffect, f as export_useState, g as export_useCallback, h as export_useLayoutEffect, n as newStyled, W as WithTooltip, T as TooltipNote, F as Form, I as Icons, i as getControlId } from './WithTooltip-V3YHNWJZ-Dh-rwz90.js'; +import { _ as __commonJS, i as isObject_default, a as isSymbol_default, r as root_default } from './doctrine-DkksUk6K.js'; +import './index-BsZrCqfk.js'; +import './index-Kjm4kNkQ.js'; + +function u(){return (u=Object.assign||function(e){for(var r=1;r=0||(o[t]=e[t]);return o}function i(e){var t=export_useRef(e),n=export_useRef(function(e){t.current&&t.current(e);});return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1);},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r);}return [function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier);}n.focus(),g(d(n,r,b.current)),t(!0);}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}));},t]},[p,g]),C=x[0],E=x[1],H=x[2];return export_useEffect(function(){return H},[H]),export_default.createElement("div",u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))}),g=function(e){return e.filter(Boolean).join(" ")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g(["react-colorful__pointer",r.className]);return export_default.createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},export_default.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},x=function(e){return L(C(e))},C=function(e){return "#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?b(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?b(parseInt(e.substring(6,8),16)/255,2):1}},E=function(e,r){return void 0===r&&(r="deg"),Number(e)*(_[r]||1)},H=function(e){var r=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?N({h:E(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},N=function(e){var r=e.s,t=e.l;return {h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},w=function(e){return K(I(e))},y=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return {h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},q=function(e){var r=y(e);return "hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},k=function(e){var r=y(e);return "hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},I=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return {r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},z=function(e){var r=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?L({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},D=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},K=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=o<1?D(b(255*o)):"";return "#"+D(r)+D(t)+D(n)+a},L=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return {h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},S=export_default.memo(function(r){var t=r.hue,n=r.onChange,o=g(["react-colorful__hue",r.className]);return export_default.createElement("div",{className:o},export_default.createElement(m,{onMove:function(e){n({h:360*e.left});},onKey:function(e){n({h:s(t+360*e.left,0,360)});},"aria-label":"Hue","aria-valuenow":b(t),"aria-valuemax":"360","aria-valuemin":"0"},export_default.createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:q({h:t,s:100,v:100,a:1})})))}),T=export_default.memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:q({h:t.h,s:100,v:100,a:1})};return export_default.createElement("div",{className:"react-colorful__saturation",style:o},export_default.createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top});},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)});},"aria-label":"Color","aria-valuetext":"Saturation "+b(t.s)+"%, Brightness "+b(t.v)+"%"},export_default.createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:q(t)})))}),F=function(e,r){if(e===r)return !0;for(var t in e)if(e[t]!==r[t])return !1;return !0},P=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")},X=function(e,r){return e.toLowerCase()===r.toLowerCase()||F(C(e),C(r))};function Y(e,t,l){var u=i(l),c=export_useState(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=export_useRef({color:t,hsva:s});export_useEffect(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r);}},[t,e]),export_useEffect(function(){var r;F(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r));},[s,e,u]);var d=export_useCallback(function(e){f(function(r){return Object.assign({},r,e)});},[]);return [s,d]}var V="undefined"!=typeof window?export_useLayoutEffect:export_useEffect,$=function(){return ("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0)},J=new Map,Q=function(e){V(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!J.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',J.set(r,t);var n=$();n&&t.setAttribute("nonce",n),r.head.appendChild(t);}},[]);},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=export_useRef(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return export_default.createElement("div",u({},s,{ref:f,className:m}),export_default.createElement(T,{hsva:d,onChange:h}),export_default.createElement(S,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},W={defaultColor:"000",toHsva:x,fromHsva:function(e){return w({h:e.h,s:e.s,v:e.v,a:1})},equal:X},Z=function(r){return export_default.createElement(U,u({},r,{colorModel:W}))},ee=function(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+k(Object.assign({},n,{a:0}))+", "+k(Object.assign({},n,{a:1}))+")"},l=g(["react-colorful__alpha",t]),u=b(100*n.a);return export_default.createElement("div",{className:l},export_default.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),export_default.createElement(m,{onMove:function(e){o({a:e.left});},onKey:function(e){o({a:s(n.a+e.left)});},"aria-label":"Alpha","aria-valuetext":u+"%","aria-valuenow":u,"aria-valuemin":"0","aria-valuemax":"100"},export_default.createElement(p,{className:"react-colorful__alpha-pointer",left:n.a,color:k(n)})))},re=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=export_useRef(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return export_default.createElement("div",u({},s,{ref:f,className:m}),export_default.createElement(T,{hsva:d,onChange:h}),export_default.createElement(S,{hue:d.h,onChange:h}),export_default.createElement(ee,{hsva:d,onChange:h,className:"react-colorful__last-control"}))},le={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:H,fromHsva:k,equal:P},ue=function(r){return export_default.createElement(re,u({},r,{colorModel:le}))},Ee={defaultColor:"rgba(0, 0, 0, 1)",toHsva:z,fromHsva:function(e){var r=I(e);return "rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:P},He=function(r){return export_default.createElement(re,u({},r,{colorModel:Ee}))}; + +// node_modules/color-name/index.js +var require_color_name = __commonJS({ + "node_modules/color-name/index.js"(exports, module) { + module.exports = { + "aliceblue": [240, 248, 255], + "antiquewhite": [250, 235, 215], + "aqua": [0, 255, 255], + "aquamarine": [127, 255, 212], + "azure": [240, 255, 255], + "beige": [245, 245, 220], + "bisque": [255, 228, 196], + "black": [0, 0, 0], + "blanchedalmond": [255, 235, 205], + "blue": [0, 0, 255], + "blueviolet": [138, 43, 226], + "brown": [165, 42, 42], + "burlywood": [222, 184, 135], + "cadetblue": [95, 158, 160], + "chartreuse": [127, 255, 0], + "chocolate": [210, 105, 30], + "coral": [255, 127, 80], + "cornflowerblue": [100, 149, 237], + "cornsilk": [255, 248, 220], + "crimson": [220, 20, 60], + "cyan": [0, 255, 255], + "darkblue": [0, 0, 139], + "darkcyan": [0, 139, 139], + "darkgoldenrod": [184, 134, 11], + "darkgray": [169, 169, 169], + "darkgreen": [0, 100, 0], + "darkgrey": [169, 169, 169], + "darkkhaki": [189, 183, 107], + "darkmagenta": [139, 0, 139], + "darkolivegreen": [85, 107, 47], + "darkorange": [255, 140, 0], + "darkorchid": [153, 50, 204], + "darkred": [139, 0, 0], + "darksalmon": [233, 150, 122], + "darkseagreen": [143, 188, 143], + "darkslateblue": [72, 61, 139], + "darkslategray": [47, 79, 79], + "darkslategrey": [47, 79, 79], + "darkturquoise": [0, 206, 209], + "darkviolet": [148, 0, 211], + "deeppink": [255, 20, 147], + "deepskyblue": [0, 191, 255], + "dimgray": [105, 105, 105], + "dimgrey": [105, 105, 105], + "dodgerblue": [30, 144, 255], + "firebrick": [178, 34, 34], + "floralwhite": [255, 250, 240], + "forestgreen": [34, 139, 34], + "fuchsia": [255, 0, 255], + "gainsboro": [220, 220, 220], + "ghostwhite": [248, 248, 255], + "gold": [255, 215, 0], + "goldenrod": [218, 165, 32], + "gray": [128, 128, 128], + "green": [0, 128, 0], + "greenyellow": [173, 255, 47], + "grey": [128, 128, 128], + "honeydew": [240, 255, 240], + "hotpink": [255, 105, 180], + "indianred": [205, 92, 92], + "indigo": [75, 0, 130], + "ivory": [255, 255, 240], + "khaki": [240, 230, 140], + "lavender": [230, 230, 250], + "lavenderblush": [255, 240, 245], + "lawngreen": [124, 252, 0], + "lemonchiffon": [255, 250, 205], + "lightblue": [173, 216, 230], + "lightcoral": [240, 128, 128], + "lightcyan": [224, 255, 255], + "lightgoldenrodyellow": [250, 250, 210], + "lightgray": [211, 211, 211], + "lightgreen": [144, 238, 144], + "lightgrey": [211, 211, 211], + "lightpink": [255, 182, 193], + "lightsalmon": [255, 160, 122], + "lightseagreen": [32, 178, 170], + "lightskyblue": [135, 206, 250], + "lightslategray": [119, 136, 153], + "lightslategrey": [119, 136, 153], + "lightsteelblue": [176, 196, 222], + "lightyellow": [255, 255, 224], + "lime": [0, 255, 0], + "limegreen": [50, 205, 50], + "linen": [250, 240, 230], + "magenta": [255, 0, 255], + "maroon": [128, 0, 0], + "mediumaquamarine": [102, 205, 170], + "mediumblue": [0, 0, 205], + "mediumorchid": [186, 85, 211], + "mediumpurple": [147, 112, 219], + "mediumseagreen": [60, 179, 113], + "mediumslateblue": [123, 104, 238], + "mediumspringgreen": [0, 250, 154], + "mediumturquoise": [72, 209, 204], + "mediumvioletred": [199, 21, 133], + "midnightblue": [25, 25, 112], + "mintcream": [245, 255, 250], + "mistyrose": [255, 228, 225], + "moccasin": [255, 228, 181], + "navajowhite": [255, 222, 173], + "navy": [0, 0, 128], + "oldlace": [253, 245, 230], + "olive": [128, 128, 0], + "olivedrab": [107, 142, 35], + "orange": [255, 165, 0], + "orangered": [255, 69, 0], + "orchid": [218, 112, 214], + "palegoldenrod": [238, 232, 170], + "palegreen": [152, 251, 152], + "paleturquoise": [175, 238, 238], + "palevioletred": [219, 112, 147], + "papayawhip": [255, 239, 213], + "peachpuff": [255, 218, 185], + "peru": [205, 133, 63], + "pink": [255, 192, 203], + "plum": [221, 160, 221], + "powderblue": [176, 224, 230], + "purple": [128, 0, 128], + "rebeccapurple": [102, 51, 153], + "red": [255, 0, 0], + "rosybrown": [188, 143, 143], + "royalblue": [65, 105, 225], + "saddlebrown": [139, 69, 19], + "salmon": [250, 128, 114], + "sandybrown": [244, 164, 96], + "seagreen": [46, 139, 87], + "seashell": [255, 245, 238], + "sienna": [160, 82, 45], + "silver": [192, 192, 192], + "skyblue": [135, 206, 235], + "slateblue": [106, 90, 205], + "slategray": [112, 128, 144], + "slategrey": [112, 128, 144], + "snow": [255, 250, 250], + "springgreen": [0, 255, 127], + "steelblue": [70, 130, 180], + "tan": [210, 180, 140], + "teal": [0, 128, 128], + "thistle": [216, 191, 216], + "tomato": [255, 99, 71], + "turquoise": [64, 224, 208], + "violet": [238, 130, 238], + "wheat": [245, 222, 179], + "white": [255, 255, 255], + "whitesmoke": [245, 245, 245], + "yellow": [255, 255, 0], + "yellowgreen": [154, 205, 50] + }; + } +}); + +// node_modules/color-convert/conversions.js +var require_conversions = __commonJS({ + "node_modules/color-convert/conversions.js"(exports, module) { + var cssKeywords = require_color_name(); + var reverseKeywords = {}; + for (const key of Object.keys(cssKeywords)) { + reverseKeywords[cssKeywords[key]] = key; + } + var convert = { + rgb: { channels: 3, labels: "rgb" }, + hsl: { channels: 3, labels: "hsl" }, + hsv: { channels: 3, labels: "hsv" }, + hwb: { channels: 3, labels: "hwb" }, + cmyk: { channels: 4, labels: "cmyk" }, + xyz: { channels: 3, labels: "xyz" }, + lab: { channels: 3, labels: "lab" }, + lch: { channels: 3, labels: "lch" }, + hex: { channels: 1, labels: ["hex"] }, + keyword: { channels: 1, labels: ["keyword"] }, + ansi16: { channels: 1, labels: ["ansi16"] }, + ansi256: { channels: 1, labels: ["ansi256"] }, + hcg: { channels: 3, labels: ["h", "c", "g"] }, + apple: { channels: 3, labels: ["r16", "g16", "b16"] }, + gray: { channels: 1, labels: ["gray"] } + }; + module.exports = convert; + for (const model of Object.keys(convert)) { + if (!("channels" in convert[model])) { + throw new Error("missing channels property: " + model); + } + if (!("labels" in convert[model])) { + throw new Error("missing channel labels property: " + model); + } + if (convert[model].labels.length !== convert[model].channels) { + throw new Error("channel and label counts mismatch: " + model); + } + const { channels, labels } = convert[model]; + delete convert[model].channels; + delete convert[model].labels; + Object.defineProperty(convert[model], "channels", { value: channels }); + Object.defineProperty(convert[model], "labels", { value: labels }); + } + convert.rgb.hsl = function(rgb) { + const r = rgb[0] / 255; + const g = rgb[1] / 255; + const b = rgb[2] / 255; + const min = Math.min(r, g, b); + const max = Math.max(r, g, b); + const delta = max - min; + let h; + let s; + if (max === min) { + h = 0; + } else if (r === max) { + h = (g - b) / delta; + } else if (g === max) { + h = 2 + (b - r) / delta; + } else if (b === max) { + h = 4 + (r - g) / delta; + } + h = Math.min(h * 60, 360); + if (h < 0) { + h += 360; + } + const l = (min + max) / 2; + if (max === min) { + s = 0; + } else if (l <= 0.5) { + s = delta / (max + min); + } else { + s = delta / (2 - max - min); + } + return [h, s * 100, l * 100]; + }; + convert.rgb.hsv = function(rgb) { + let rdif; + let gdif; + let bdif; + let h; + let s; + const r = rgb[0] / 255; + const g = rgb[1] / 255; + const b = rgb[2] / 255; + const v = Math.max(r, g, b); + const diff = v - Math.min(r, g, b); + const diffc = function(c) { + return (v - c) / 6 / diff + 1 / 2; + }; + if (diff === 0) { + h = 0; + s = 0; + } else { + s = diff / v; + rdif = diffc(r); + gdif = diffc(g); + bdif = diffc(b); + if (r === v) { + h = bdif - gdif; + } else if (g === v) { + h = 1 / 3 + rdif - bdif; + } else if (b === v) { + h = 2 / 3 + gdif - rdif; + } + if (h < 0) { + h += 1; + } else if (h > 1) { + h -= 1; + } + } + return [ + h * 360, + s * 100, + v * 100 + ]; + }; + convert.rgb.hwb = function(rgb) { + const r = rgb[0]; + const g = rgb[1]; + let b = rgb[2]; + const h = convert.rgb.hsl(rgb)[0]; + const w = 1 / 255 * Math.min(r, Math.min(g, b)); + b = 1 - 1 / 255 * Math.max(r, Math.max(g, b)); + return [h, w * 100, b * 100]; + }; + convert.rgb.cmyk = function(rgb) { + const r = rgb[0] / 255; + const g = rgb[1] / 255; + const b = rgb[2] / 255; + const k = Math.min(1 - r, 1 - g, 1 - b); + const c = (1 - r - k) / (1 - k) || 0; + const m = (1 - g - k) / (1 - k) || 0; + const y = (1 - b - k) / (1 - k) || 0; + return [c * 100, m * 100, y * 100, k * 100]; + }; + function comparativeDistance(x, y) { + return (x[0] - y[0]) ** 2 + (x[1] - y[1]) ** 2 + (x[2] - y[2]) ** 2; + } + convert.rgb.keyword = function(rgb) { + const reversed = reverseKeywords[rgb]; + if (reversed) { + return reversed; + } + let currentClosestDistance = Infinity; + let currentClosestKeyword; + for (const keyword of Object.keys(cssKeywords)) { + const value = cssKeywords[keyword]; + const distance = comparativeDistance(rgb, value); + if (distance < currentClosestDistance) { + currentClosestDistance = distance; + currentClosestKeyword = keyword; + } + } + return currentClosestKeyword; + }; + convert.keyword.rgb = function(keyword) { + return cssKeywords[keyword]; + }; + convert.rgb.xyz = function(rgb) { + let r = rgb[0] / 255; + let g = rgb[1] / 255; + let b = rgb[2] / 255; + r = r > 0.04045 ? ((r + 0.055) / 1.055) ** 2.4 : r / 12.92; + g = g > 0.04045 ? ((g + 0.055) / 1.055) ** 2.4 : g / 12.92; + b = b > 0.04045 ? ((b + 0.055) / 1.055) ** 2.4 : b / 12.92; + const x = r * 0.4124 + g * 0.3576 + b * 0.1805; + const y = r * 0.2126 + g * 0.7152 + b * 0.0722; + const z = r * 0.0193 + g * 0.1192 + b * 0.9505; + return [x * 100, y * 100, z * 100]; + }; + convert.rgb.lab = function(rgb) { + const xyz = convert.rgb.xyz(rgb); + let x = xyz[0]; + let y = xyz[1]; + let z = xyz[2]; + x /= 95.047; + y /= 100; + z /= 108.883; + x = x > 8856e-6 ? x ** (1 / 3) : 7.787 * x + 16 / 116; + y = y > 8856e-6 ? y ** (1 / 3) : 7.787 * y + 16 / 116; + z = z > 8856e-6 ? z ** (1 / 3) : 7.787 * z + 16 / 116; + const l = 116 * y - 16; + const a = 500 * (x - y); + const b = 200 * (y - z); + return [l, a, b]; + }; + convert.hsl.rgb = function(hsl) { + const h = hsl[0] / 360; + const s = hsl[1] / 100; + const l = hsl[2] / 100; + let t2; + let t3; + let val; + if (s === 0) { + val = l * 255; + return [val, val, val]; + } + if (l < 0.5) { + t2 = l * (1 + s); + } else { + t2 = l + s - l * s; + } + const t1 = 2 * l - t2; + const rgb = [0, 0, 0]; + for (let i = 0; i < 3; i++) { + t3 = h + 1 / 3 * -(i - 1); + if (t3 < 0) { + t3++; + } + if (t3 > 1) { + t3--; + } + if (6 * t3 < 1) { + val = t1 + (t2 - t1) * 6 * t3; + } else if (2 * t3 < 1) { + val = t2; + } else if (3 * t3 < 2) { + val = t1 + (t2 - t1) * (2 / 3 - t3) * 6; + } else { + val = t1; + } + rgb[i] = val * 255; + } + return rgb; + }; + convert.hsl.hsv = function(hsl) { + const h = hsl[0]; + let s = hsl[1] / 100; + let l = hsl[2] / 100; + let smin = s; + const lmin = Math.max(l, 0.01); + l *= 2; + s *= l <= 1 ? l : 2 - l; + smin *= lmin <= 1 ? lmin : 2 - lmin; + const v = (l + s) / 2; + const sv = l === 0 ? 2 * smin / (lmin + smin) : 2 * s / (l + s); + return [h, sv * 100, v * 100]; + }; + convert.hsv.rgb = function(hsv) { + const h = hsv[0] / 60; + const s = hsv[1] / 100; + let v = hsv[2] / 100; + const hi = Math.floor(h) % 6; + const f = h - Math.floor(h); + const p = 255 * v * (1 - s); + const q = 255 * v * (1 - s * f); + const t = 255 * v * (1 - s * (1 - f)); + v *= 255; + switch (hi) { + case 0: + return [v, t, p]; + case 1: + return [q, v, p]; + case 2: + return [p, v, t]; + case 3: + return [p, q, v]; + case 4: + return [t, p, v]; + case 5: + return [v, p, q]; + } + }; + convert.hsv.hsl = function(hsv) { + const h = hsv[0]; + const s = hsv[1] / 100; + const v = hsv[2] / 100; + const vmin = Math.max(v, 0.01); + let sl; + let l; + l = (2 - s) * v; + const lmin = (2 - s) * vmin; + sl = s * vmin; + sl /= lmin <= 1 ? lmin : 2 - lmin; + sl = sl || 0; + l /= 2; + return [h, sl * 100, l * 100]; + }; + convert.hwb.rgb = function(hwb) { + const h = hwb[0] / 360; + let wh = hwb[1] / 100; + let bl = hwb[2] / 100; + const ratio = wh + bl; + let f; + if (ratio > 1) { + wh /= ratio; + bl /= ratio; + } + const i = Math.floor(6 * h); + const v = 1 - bl; + f = 6 * h - i; + if ((i & 1) !== 0) { + f = 1 - f; + } + const n = wh + f * (v - wh); + let r; + let g; + let b; + switch (i) { + default: + case 6: + case 0: + r = v; + g = n; + b = wh; + break; + case 1: + r = n; + g = v; + b = wh; + break; + case 2: + r = wh; + g = v; + b = n; + break; + case 3: + r = wh; + g = n; + b = v; + break; + case 4: + r = n; + g = wh; + b = v; + break; + case 5: + r = v; + g = wh; + b = n; + break; + } + return [r * 255, g * 255, b * 255]; + }; + convert.cmyk.rgb = function(cmyk) { + const c = cmyk[0] / 100; + const m = cmyk[1] / 100; + const y = cmyk[2] / 100; + const k = cmyk[3] / 100; + const r = 1 - Math.min(1, c * (1 - k) + k); + const g = 1 - Math.min(1, m * (1 - k) + k); + const b = 1 - Math.min(1, y * (1 - k) + k); + return [r * 255, g * 255, b * 255]; + }; + convert.xyz.rgb = function(xyz) { + const x = xyz[0] / 100; + const y = xyz[1] / 100; + const z = xyz[2] / 100; + let r; + let g; + let b; + r = x * 3.2406 + y * -1.5372 + z * -0.4986; + g = x * -0.9689 + y * 1.8758 + z * 0.0415; + b = x * 0.0557 + y * -0.204 + z * 1.057; + r = r > 31308e-7 ? 1.055 * r ** (1 / 2.4) - 0.055 : r * 12.92; + g = g > 31308e-7 ? 1.055 * g ** (1 / 2.4) - 0.055 : g * 12.92; + b = b > 31308e-7 ? 1.055 * b ** (1 / 2.4) - 0.055 : b * 12.92; + r = Math.min(Math.max(0, r), 1); + g = Math.min(Math.max(0, g), 1); + b = Math.min(Math.max(0, b), 1); + return [r * 255, g * 255, b * 255]; + }; + convert.xyz.lab = function(xyz) { + let x = xyz[0]; + let y = xyz[1]; + let z = xyz[2]; + x /= 95.047; + y /= 100; + z /= 108.883; + x = x > 8856e-6 ? x ** (1 / 3) : 7.787 * x + 16 / 116; + y = y > 8856e-6 ? y ** (1 / 3) : 7.787 * y + 16 / 116; + z = z > 8856e-6 ? z ** (1 / 3) : 7.787 * z + 16 / 116; + const l = 116 * y - 16; + const a = 500 * (x - y); + const b = 200 * (y - z); + return [l, a, b]; + }; + convert.lab.xyz = function(lab) { + const l = lab[0]; + const a = lab[1]; + const b = lab[2]; + let x; + let y; + let z; + y = (l + 16) / 116; + x = a / 500 + y; + z = y - b / 200; + const y2 = y ** 3; + const x2 = x ** 3; + const z2 = z ** 3; + y = y2 > 8856e-6 ? y2 : (y - 16 / 116) / 7.787; + x = x2 > 8856e-6 ? x2 : (x - 16 / 116) / 7.787; + z = z2 > 8856e-6 ? z2 : (z - 16 / 116) / 7.787; + x *= 95.047; + y *= 100; + z *= 108.883; + return [x, y, z]; + }; + convert.lab.lch = function(lab) { + const l = lab[0]; + const a = lab[1]; + const b = lab[2]; + let h; + const hr = Math.atan2(b, a); + h = hr * 360 / 2 / Math.PI; + if (h < 0) { + h += 360; + } + const c = Math.sqrt(a * a + b * b); + return [l, c, h]; + }; + convert.lch.lab = function(lch) { + const l = lch[0]; + const c = lch[1]; + const h = lch[2]; + const hr = h / 360 * 2 * Math.PI; + const a = c * Math.cos(hr); + const b = c * Math.sin(hr); + return [l, a, b]; + }; + convert.rgb.ansi16 = function(args, saturation = null) { + const [r, g, b] = args; + let value = saturation === null ? convert.rgb.hsv(args)[2] : saturation; + value = Math.round(value / 50); + if (value === 0) { + return 30; + } + let ansi = 30 + (Math.round(b / 255) << 2 | Math.round(g / 255) << 1 | Math.round(r / 255)); + if (value === 2) { + ansi += 60; + } + return ansi; + }; + convert.hsv.ansi16 = function(args) { + return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]); + }; + convert.rgb.ansi256 = function(args) { + const r = args[0]; + const g = args[1]; + const b = args[2]; + if (r === g && g === b) { + if (r < 8) { + return 16; + } + if (r > 248) { + return 231; + } + return Math.round((r - 8) / 247 * 24) + 232; + } + const ansi = 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(g / 255 * 5) + Math.round(b / 255 * 5); + return ansi; + }; + convert.ansi16.rgb = function(args) { + let color = args % 10; + if (color === 0 || color === 7) { + if (args > 50) { + color += 3.5; + } + color = color / 10.5 * 255; + return [color, color, color]; + } + const mult = (~~(args > 50) + 1) * 0.5; + const r = (color & 1) * mult * 255; + const g = (color >> 1 & 1) * mult * 255; + const b = (color >> 2 & 1) * mult * 255; + return [r, g, b]; + }; + convert.ansi256.rgb = function(args) { + if (args >= 232) { + const c = (args - 232) * 10 + 8; + return [c, c, c]; + } + args -= 16; + let rem; + const r = Math.floor(args / 36) / 5 * 255; + const g = Math.floor((rem = args % 36) / 6) / 5 * 255; + const b = rem % 6 / 5 * 255; + return [r, g, b]; + }; + convert.rgb.hex = function(args) { + const integer = ((Math.round(args[0]) & 255) << 16) + ((Math.round(args[1]) & 255) << 8) + (Math.round(args[2]) & 255); + const string = integer.toString(16).toUpperCase(); + return "000000".substring(string.length) + string; + }; + convert.hex.rgb = function(args) { + const match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i); + if (!match) { + return [0, 0, 0]; + } + let colorString = match[0]; + if (match[0].length === 3) { + colorString = colorString.split("").map((char) => { + return char + char; + }).join(""); + } + const integer = parseInt(colorString, 16); + const r = integer >> 16 & 255; + const g = integer >> 8 & 255; + const b = integer & 255; + return [r, g, b]; + }; + convert.rgb.hcg = function(rgb) { + const r = rgb[0] / 255; + const g = rgb[1] / 255; + const b = rgb[2] / 255; + const max = Math.max(Math.max(r, g), b); + const min = Math.min(Math.min(r, g), b); + const chroma = max - min; + let grayscale; + let hue; + if (chroma < 1) { + grayscale = min / (1 - chroma); + } else { + grayscale = 0; + } + if (chroma <= 0) { + hue = 0; + } else if (max === r) { + hue = (g - b) / chroma % 6; + } else if (max === g) { + hue = 2 + (b - r) / chroma; + } else { + hue = 4 + (r - g) / chroma; + } + hue /= 6; + hue %= 1; + return [hue * 360, chroma * 100, grayscale * 100]; + }; + convert.hsl.hcg = function(hsl) { + const s = hsl[1] / 100; + const l = hsl[2] / 100; + const c = l < 0.5 ? 2 * s * l : 2 * s * (1 - l); + let f = 0; + if (c < 1) { + f = (l - 0.5 * c) / (1 - c); + } + return [hsl[0], c * 100, f * 100]; + }; + convert.hsv.hcg = function(hsv) { + const s = hsv[1] / 100; + const v = hsv[2] / 100; + const c = s * v; + let f = 0; + if (c < 1) { + f = (v - c) / (1 - c); + } + return [hsv[0], c * 100, f * 100]; + }; + convert.hcg.rgb = function(hcg) { + const h = hcg[0] / 360; + const c = hcg[1] / 100; + const g = hcg[2] / 100; + if (c === 0) { + return [g * 255, g * 255, g * 255]; + } + const pure = [0, 0, 0]; + const hi = h % 1 * 6; + const v = hi % 1; + const w = 1 - v; + let mg = 0; + switch (Math.floor(hi)) { + case 0: + pure[0] = 1; + pure[1] = v; + pure[2] = 0; + break; + case 1: + pure[0] = w; + pure[1] = 1; + pure[2] = 0; + break; + case 2: + pure[0] = 0; + pure[1] = 1; + pure[2] = v; + break; + case 3: + pure[0] = 0; + pure[1] = w; + pure[2] = 1; + break; + case 4: + pure[0] = v; + pure[1] = 0; + pure[2] = 1; + break; + default: + pure[0] = 1; + pure[1] = 0; + pure[2] = w; + } + mg = (1 - c) * g; + return [ + (c * pure[0] + mg) * 255, + (c * pure[1] + mg) * 255, + (c * pure[2] + mg) * 255 + ]; + }; + convert.hcg.hsv = function(hcg) { + const c = hcg[1] / 100; + const g = hcg[2] / 100; + const v = c + g * (1 - c); + let f = 0; + if (v > 0) { + f = c / v; + } + return [hcg[0], f * 100, v * 100]; + }; + convert.hcg.hsl = function(hcg) { + const c = hcg[1] / 100; + const g = hcg[2] / 100; + const l = g * (1 - c) + 0.5 * c; + let s = 0; + if (l > 0 && l < 0.5) { + s = c / (2 * l); + } else if (l >= 0.5 && l < 1) { + s = c / (2 * (1 - l)); + } + return [hcg[0], s * 100, l * 100]; + }; + convert.hcg.hwb = function(hcg) { + const c = hcg[1] / 100; + const g = hcg[2] / 100; + const v = c + g * (1 - c); + return [hcg[0], (v - c) * 100, (1 - v) * 100]; + }; + convert.hwb.hcg = function(hwb) { + const w = hwb[1] / 100; + const b = hwb[2] / 100; + const v = 1 - b; + const c = v - w; + let g = 0; + if (c < 1) { + g = (v - c) / (1 - c); + } + return [hwb[0], c * 100, g * 100]; + }; + convert.apple.rgb = function(apple) { + return [apple[0] / 65535 * 255, apple[1] / 65535 * 255, apple[2] / 65535 * 255]; + }; + convert.rgb.apple = function(rgb) { + return [rgb[0] / 255 * 65535, rgb[1] / 255 * 65535, rgb[2] / 255 * 65535]; + }; + convert.gray.rgb = function(args) { + return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255]; + }; + convert.gray.hsl = function(args) { + return [0, 0, args[0]]; + }; + convert.gray.hsv = convert.gray.hsl; + convert.gray.hwb = function(gray) { + return [0, 100, gray[0]]; + }; + convert.gray.cmyk = function(gray) { + return [0, 0, 0, gray[0]]; + }; + convert.gray.lab = function(gray) { + return [gray[0], 0, 0]; + }; + convert.gray.hex = function(gray) { + const val = Math.round(gray[0] / 100 * 255) & 255; + const integer = (val << 16) + (val << 8) + val; + const string = integer.toString(16).toUpperCase(); + return "000000".substring(string.length) + string; + }; + convert.rgb.gray = function(rgb) { + const val = (rgb[0] + rgb[1] + rgb[2]) / 3; + return [val / 255 * 100]; + }; + } +}); + +// node_modules/color-convert/route.js +var require_route = __commonJS({ + "node_modules/color-convert/route.js"(exports, module) { + var conversions = require_conversions(); + function buildGraph() { + const graph = {}; + const models = Object.keys(conversions); + for (let len = models.length, i = 0; i < len; i++) { + graph[models[i]] = { + // http://jsperf.com/1-vs-infinity + // micro-opt, but this is simple. + distance: -1, + parent: null + }; + } + return graph; + } + function deriveBFS(fromModel) { + const graph = buildGraph(); + const queue = [fromModel]; + graph[fromModel].distance = 0; + while (queue.length) { + const current = queue.pop(); + const adjacents = Object.keys(conversions[current]); + for (let len = adjacents.length, i = 0; i < len; i++) { + const adjacent = adjacents[i]; + const node = graph[adjacent]; + if (node.distance === -1) { + node.distance = graph[current].distance + 1; + node.parent = current; + queue.unshift(adjacent); + } + } + } + return graph; + } + function link(from, to) { + return function(args) { + return to(from(args)); + }; + } + function wrapConversion(toModel, graph) { + const path = [graph[toModel].parent, toModel]; + let fn = conversions[graph[toModel].parent][toModel]; + let cur = graph[toModel].parent; + while (graph[cur].parent) { + path.unshift(graph[cur].parent); + fn = link(conversions[graph[cur].parent][cur], fn); + cur = graph[cur].parent; + } + fn.conversion = path; + return fn; + } + module.exports = function(fromModel) { + const graph = deriveBFS(fromModel); + const conversion = {}; + const models = Object.keys(graph); + for (let len = models.length, i = 0; i < len; i++) { + const toModel = models[i]; + const node = graph[toModel]; + if (node.parent === null) { + continue; + } + conversion[toModel] = wrapConversion(toModel, graph); + } + return conversion; + }; + } +}); + +// node_modules/color-convert/index.js +var require_color_convert = __commonJS({ + "node_modules/color-convert/index.js"(exports, module) { + var conversions = require_conversions(); + var route = require_route(); + var convert = {}; + var models = Object.keys(conversions); + function wrapRaw(fn) { + const wrappedFn = function(...args) { + const arg0 = args[0]; + if (arg0 === void 0 || arg0 === null) { + return arg0; + } + if (arg0.length > 1) { + args = arg0; + } + return fn(args); + }; + if ("conversion" in fn) { + wrappedFn.conversion = fn.conversion; + } + return wrappedFn; + } + function wrapRounded(fn) { + const wrappedFn = function(...args) { + const arg0 = args[0]; + if (arg0 === void 0 || arg0 === null) { + return arg0; + } + if (arg0.length > 1) { + args = arg0; + } + const result = fn(args); + if (typeof result === "object") { + for (let len = result.length, i = 0; i < len; i++) { + result[i] = Math.round(result[i]); + } + } + return result; + }; + if ("conversion" in fn) { + wrappedFn.conversion = fn.conversion; + } + return wrappedFn; + } + models.forEach((fromModel) => { + convert[fromModel] = {}; + Object.defineProperty(convert[fromModel], "channels", { value: conversions[fromModel].channels }); + Object.defineProperty(convert[fromModel], "labels", { value: conversions[fromModel].labels }); + const routes = route(fromModel); + const routeModels = Object.keys(routes); + routeModels.forEach((toModel) => { + const fn = routes[toModel]; + convert[fromModel][toModel] = wrapRounded(fn); + convert[fromModel][toModel].raw = wrapRaw(fn); + }); + }); + module.exports = convert; + } +}); +var convert = require_color_convert(); + +// node_modules/lodash-es/now.js +var now = function() { + return root_default.Date.now(); +}; +var now_default = now; + +// node_modules/lodash-es/_trimmedEndIndex.js +var reWhitespace = /\s/; +function trimmedEndIndex(string) { + var index = string.length; + while (index-- && reWhitespace.test(string.charAt(index))) { + } + return index; +} +var trimmedEndIndex_default = trimmedEndIndex; + +// node_modules/lodash-es/_baseTrim.js +var reTrimStart = /^\s+/; +function baseTrim(string) { + return string ? string.slice(0, trimmedEndIndex_default(string) + 1).replace(reTrimStart, "") : string; +} +var baseTrim_default = baseTrim; + +// node_modules/lodash-es/toNumber.js +var NAN = 0 / 0; +var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; +var reIsBinary = /^0b[01]+$/i; +var reIsOctal = /^0o[0-7]+$/i; +var freeParseInt = parseInt; +function toNumber(value) { + if (typeof value == "number") { + return value; + } + if (isSymbol_default(value)) { + return NAN; + } + if (isObject_default(value)) { + var other = typeof value.valueOf == "function" ? value.valueOf() : value; + value = isObject_default(other) ? other + "" : other; + } + if (typeof value != "string") { + return value === 0 ? value : +value; + } + value = baseTrim_default(value); + var isBinary = reIsBinary.test(value); + return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value; +} +var toNumber_default = toNumber; + +// node_modules/lodash-es/debounce.js +var FUNC_ERROR_TEXT = "Expected a function"; +var nativeMax = Math.max; +var nativeMin = Math.min; +function debounce(func, wait, options) { + var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true; + if (typeof func != "function") { + throw new TypeError(FUNC_ERROR_TEXT); + } + wait = toNumber_default(wait) || 0; + if (isObject_default(options)) { + leading = !!options.leading; + maxing = "maxWait" in options; + maxWait = maxing ? nativeMax(toNumber_default(options.maxWait) || 0, wait) : maxWait; + trailing = "trailing" in options ? !!options.trailing : trailing; + } + function invokeFunc(time) { + var args = lastArgs, thisArg = lastThis; + lastArgs = lastThis = void 0; + lastInvokeTime = time; + result = func.apply(thisArg, args); + return result; + } + function leadingEdge(time) { + lastInvokeTime = time; + timerId = setTimeout(timerExpired, wait); + return leading ? invokeFunc(time) : result; + } + function remainingWait(time) { + var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall; + return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting; + } + function shouldInvoke(time) { + var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime; + return lastCallTime === void 0 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait; + } + function timerExpired() { + var time = now_default(); + if (shouldInvoke(time)) { + return trailingEdge(time); + } + timerId = setTimeout(timerExpired, remainingWait(time)); + } + function trailingEdge(time) { + timerId = void 0; + if (trailing && lastArgs) { + return invokeFunc(time); + } + lastArgs = lastThis = void 0; + return result; + } + function cancel() { + if (timerId !== void 0) { + clearTimeout(timerId); + } + lastInvokeTime = 0; + lastArgs = lastCallTime = lastThis = timerId = void 0; + } + function flush() { + return timerId === void 0 ? result : trailingEdge(now_default()); + } + function debounced() { + var time = now_default(), isInvoking = shouldInvoke(time); + lastArgs = arguments; + lastThis = this; + lastCallTime = time; + if (isInvoking) { + if (timerId === void 0) { + return leadingEdge(lastCallTime); + } + if (maxing) { + clearTimeout(timerId); + timerId = setTimeout(timerExpired, wait); + return invokeFunc(lastCallTime); + } + } + if (timerId === void 0) { + timerId = setTimeout(timerExpired, wait); + } + return result; + } + debounced.cancel = cancel; + debounced.flush = flush; + return debounced; +} +var debounce_default = debounce; + +// node_modules/lodash-es/throttle.js +var FUNC_ERROR_TEXT2 = "Expected a function"; +function throttle(func, wait, options) { + var leading = true, trailing = true; + if (typeof func != "function") { + throw new TypeError(FUNC_ERROR_TEXT2); + } + if (isObject_default(options)) { + leading = "leading" in options ? !!options.leading : leading; + trailing = "trailing" in options ? !!options.trailing : trailing; + } + return debounce_default(func, wait, { + "leading": leading, + "maxWait": wait, + "trailing": trailing + }); +} +var throttle_default = throttle; + +var Wrapper=newStyled.div({position:"relative",maxWidth:250}),PickerTooltip=newStyled(WithTooltip)({position:"absolute",zIndex:1,top:4,left:4}),TooltipContent=newStyled.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Note=newStyled(TooltipNote)(({theme})=>({fontFamily:theme.typography.fonts.base})),Swatches=newStyled.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=newStyled.div(({theme,active})=>({width:16,height:16,boxShadow:active?`${theme.appBorderColor} 0 0 0 1px inset, ${theme.textMutedColor}50 0 0 0 4px`:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:theme.appBorderRadius})),swatchBackground=`url('data:image/svg+xml;charset=utf-8,')`,Swatch=({value,active,onClick,style,...props})=>{let backgroundImage=`linear-gradient(${value}, ${value}), ${swatchBackground}, linear-gradient(#fff, #fff)`;return export_default.createElement(SwatchColor,{...props,active,onClick,style:{...style,backgroundImage}})},Input=newStyled(Form.Input)(({theme})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:theme.typography.fonts.base})),ToggleIcon=newStyled(Icons)(({theme})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:theme.input.color})),ColorSpace=(ColorSpace2=>(ColorSpace2.RGB="rgb",ColorSpace2.HSL="hsl",ColorSpace2.HEX="hex",ColorSpace2))(ColorSpace||{}),COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,RGB_REGEXP=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,HSL_REGEXP=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,HEX_REGEXP=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,SHORTHEX_REGEXP=/^\s*#?([0-9a-f]{3})\s*$/i,ColorPicker={hex:Z,rgb:He,hsl:ue},fallbackColor={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},stringToArgs=value=>{let match=value?.match(COLOR_REGEXP);if(!match)return [0,0,0,1];let[,x,y,z,a=1]=match;return [x,y,z,a].map(Number)},parseValue=value=>{if(!value)return;let valid=!0;if(RGB_REGEXP.test(value)){let[r,g,b,a]=stringToArgs(value),[h,s,l]=convert.rgb.hsl([r,g,b])||[0,0,0];return {valid,value,keyword:convert.rgb.keyword([r,g,b]),colorSpace:"rgb",rgb:value,hsl:`hsla(${h}, ${s}%, ${l}%, ${a})`,hex:`#${convert.rgb.hex([r,g,b]).toLowerCase()}`}}if(HSL_REGEXP.test(value)){let[h,s,l,a]=stringToArgs(value),[r,g,b]=convert.hsl.rgb([h,s,l])||[0,0,0];return {valid,value,keyword:convert.hsl.keyword([h,s,l]),colorSpace:"hsl",rgb:`rgba(${r}, ${g}, ${b}, ${a})`,hsl:value,hex:`#${convert.hsl.hex([h,s,l]).toLowerCase()}`}}let plain=value.replace("#",""),rgb=convert.keyword.rgb(plain)||convert.hex.rgb(plain),hsl=convert.rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped=`#${plain}`),mapped.startsWith("#"))valid=HEX_REGEXP.test(mapped);else try{convert.keyword.hex(mapped);}catch{valid=!1;}return {valid,value:mapped,keyword:convert.rgb.keyword(rgb),colorSpace:"hex",rgb:`rgba(${rgb[0]}, ${rgb[1]}, ${rgb[2]}, 1)`,hsl:`hsla(${hsl[0]}, ${hsl[1]}%, ${hsl[2]}%, 1)`,hex:mapped}},getRealValue=(value,color,colorSpace)=>{if(!value||!color?.valid)return fallbackColor[colorSpace];if(colorSpace!=="hex")return color?.[colorSpace]||fallbackColor[colorSpace];if(!color.hex.startsWith("#"))try{return `#${convert.keyword.hex(color.hex)}`}catch{return fallbackColor.hex}let short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;let[r,g,b]=short[1].split("");return `#${r}${r}${g}${g}${b}${b}`},useColorInput=(initialValue,onChange)=>{let[value,setValue]=export_useState(initialValue||""),[color,setColor]=export_useState(()=>parseValue(value)),[colorSpace,setColorSpace]=export_useState(color?.colorSpace||"hex");export_useEffect(()=>{let nextValue=initialValue||"",nextColor=parseValue(nextValue);setValue(nextValue),setColor(nextColor),setColorSpace(nextColor?.colorSpace||"hex");},[initialValue]);let realValue=export_useMemo(()=>getRealValue(value,color,colorSpace).toLowerCase(),[value,color,colorSpace]),updateValue=export_useCallback(update=>{let parsed=parseValue(update),v=parsed?.value||update||"";setValue(v),v===""&&(setColor(void 0),onChange(void 0)),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value));},[onChange]),cycleColorSpace=export_useCallback(()=>{let next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);let update=color?.[COLOR_SPACES[next]]||"";setValue(update),onChange(update);},[color,colorSpace,onChange]);return {value,realValue,updateValue,color,colorSpace,cycleColorSpace}},id=value=>value.replace(/\s*/,"").toLowerCase(),usePresets=(presetColors,currentColor,colorSpace)=>{let[selectedColors,setSelectedColors]=export_useState(currentColor?.valid?[currentColor]:[]);export_useEffect(()=>{currentColor===void 0&&setSelectedColors([]);},[currentColor]);let presets=export_useMemo(()=>(presetColors||[]).map(preset=>typeof preset=="string"?parseValue(preset):preset.title?{...parseValue(preset.color),keyword:preset.title}:parseValue(preset.color)).concat(selectedColors).filter(Boolean).slice(-27),[presetColors,selectedColors]),addPreset=export_useCallback(color=>{color?.valid&&(presets.some(preset=>id(preset[colorSpace])===id(color[colorSpace]))||setSelectedColors(arr=>arr.concat(color)));},[colorSpace,presets]);return {presets,addPreset}},ColorControl=({name,value:initialValue,onChange,onFocus,onBlur,presetColors,startOpen=!1})=>{let throttledOnChange=export_useCallback(throttle_default(onChange,200),[onChange]),{value,realValue,updateValue,color,colorSpace,cycleColorSpace}=useColorInput(initialValue,throttledOnChange),{presets,addPreset}=usePresets(presetColors,color,colorSpace),Picker=ColorPicker[colorSpace];return export_default.createElement(Wrapper,null,export_default.createElement(PickerTooltip,{startOpen,closeOnOutsideClick:!0,onVisibleChange:()=>addPreset(color),tooltip:export_default.createElement(TooltipContent,null,export_default.createElement(Picker,{color:realValue==="transparent"?"#000000":realValue,onChange:updateValue,onFocus,onBlur}),presets.length>0&&export_default.createElement(Swatches,null,presets.map((preset,index)=>export_default.createElement(WithTooltip,{key:`${preset.value}-${index}`,hasChrome:!1,tooltip:export_default.createElement(Note,{note:preset.keyword||preset.value})},export_default.createElement(Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:()=>updateValue(preset.value)})))))},export_default.createElement(Swatch,{value:realValue,style:{margin:4}})),export_default.createElement(Input,{id:getControlId(name),value,onChange:e=>updateValue(e.target.value),onFocus:e=>e.target.select(),placeholder:"Choose color..."}),value?export_default.createElement(ToggleIcon,{icon:"markup",onClick:cycleColorSpace}):null)},Color_default=ColorControl; + +export { ColorControl, Color_default as default }; diff --git a/pr/pr-177/WithTooltip-V3YHNWJZ-Dh-rwz90.js b/pr/pr-177/WithTooltip-V3YHNWJZ-Dh-rwz90.js new file mode 100644 index 00000000..0bbf1153 --- /dev/null +++ b/pr/pr-177/WithTooltip-V3YHNWJZ-Dh-rwz90.js @@ -0,0 +1,13093 @@ +import { b as __export, c as __esm, d as __toESM$4, _ as __commonJS$4, e as __toCommonJS, f as __require, g as baseGetAllKeys_default, s as stubArray_default, h as arrayPush_default, j as getSymbols_default, k as isArrayLike_default, l as arrayLikeKeys_default, m as eq_default$1, n as baseAssignValue_default, o as overArg_default, i as isObject_default$1, p as isPrototype_default, q as arrayMap_default, t as baseIteratee_default, u as baseGet_default, v as castPath_default, w as toKey_default, x as isIndex_default, S as Set_default, y as setToArray_default, z as SetCache_default, A as cacheHas_default, r as root_default$1, B as Symbol_default$1, C as nodeUtil_default, D as getTag_default, E as isBuffer_default, F as Stack_default, G as isArray_default, H as getAllKeys_default, I as keys_default, J as baseUnary_default, U as Uint8Array_default, K as isObjectLike_default } from './doctrine-DkksUk6K.js'; +import { L as L$1, O as O$1 } from './index-BsZrCqfk.js'; +import { d as dedent$1 } from './index-Kjm4kNkQ.js'; + +// node_modules/react/cjs/react.production.min.js +var require_react_production_min = __commonJS$4({ + "node_modules/react/cjs/react.production.min.js"(exports) { + var l = Symbol.for("react.element"); + var n = Symbol.for("react.portal"); + var p = Symbol.for("react.fragment"); + var q = Symbol.for("react.strict_mode"); + var r = Symbol.for("react.profiler"); + var t = Symbol.for("react.provider"); + var u = Symbol.for("react.context"); + var v = Symbol.for("react.forward_ref"); + var w = Symbol.for("react.suspense"); + var x = Symbol.for("react.memo"); + var y = Symbol.for("react.lazy"); + var z = Symbol.iterator; + function A(a) { + if (null === a || "object" !== typeof a) + return null; + a = z && a[z] || a["@@iterator"]; + return "function" === typeof a ? a : null; + } + var B = { isMounted: function() { + return false; + }, enqueueForceUpdate: function() { + }, enqueueReplaceState: function() { + }, enqueueSetState: function() { + } }; + var C = Object.assign; + var D = {}; + function E(a, b, e) { + this.props = a; + this.context = b; + this.refs = D; + this.updater = e || B; + } + E.prototype.isReactComponent = {}; + E.prototype.setState = function(a, b) { + if ("object" !== typeof a && "function" !== typeof a && null != a) + 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, a, b, "setState"); + }; + E.prototype.forceUpdate = function(a) { + this.updater.enqueueForceUpdate(this, a, "forceUpdate"); + }; + function F() { + } + F.prototype = E.prototype; + function G(a, b, e) { + this.props = a; + this.context = b; + this.refs = D; + this.updater = e || B; + } + var H = G.prototype = new F(); + H.constructor = G; + C(H, E.prototype); + H.isPureReactComponent = true; + var I = Array.isArray; + var J = Object.prototype.hasOwnProperty; + var K = { current: null }; + var L = { key: true, ref: true, __self: true, __source: true }; + function M(a, b, e) { + var d, c = {}, k = null, h = null; + if (null != b) + for (d in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (k = "" + b.key), b) + J.call(b, d) && !L.hasOwnProperty(d) && (c[d] = b[d]); + var g = arguments.length - 2; + if (1 === g) + c.children = e; + else if (1 < g) { + for (var f = Array(g), m = 0; m < g; m++) + f[m] = arguments[m + 2]; + c.children = f; + } + if (a && a.defaultProps) + for (d in g = a.defaultProps, g) + void 0 === c[d] && (c[d] = g[d]); + return { $$typeof: l, type: a, key: k, ref: h, props: c, _owner: K.current }; + } + function N(a, b) { + return { $$typeof: l, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner }; + } + function O(a) { + return "object" === typeof a && null !== a && a.$$typeof === l; + } + function escape(a) { + var b = { "=": "=0", ":": "=2" }; + return "$" + a.replace(/[=:]/g, function(a2) { + return b[a2]; + }); + } + var P = /\/+/g; + function Q(a, b) { + return "object" === typeof a && null !== a && null != a.key ? escape("" + a.key) : b.toString(36); + } + function R(a, b, e, d, c) { + var k = typeof a; + if ("undefined" === k || "boolean" === k) + a = null; + var h = false; + if (null === a) + h = true; + else + switch (k) { + case "string": + case "number": + h = true; + break; + case "object": + switch (a.$$typeof) { + case l: + case n: + h = true; + } + } + if (h) + return h = a, c = c(h), a = "" === d ? "." + Q(h, 0) : d, I(c) ? (e = "", null != a && (e = a.replace(P, "$&/") + "/"), R(c, b, e, "", function(a2) { + return a2; + })) : null != c && (O(c) && (c = N(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P, "$&/") + "/") + a)), b.push(c)), 1; + h = 0; + d = "" === d ? "." : d + ":"; + if (I(a)) + for (var g = 0; g < a.length; g++) { + k = a[g]; + var f = d + Q(k, g); + h += R(k, b, e, f, c); + } + else if (f = A(a), "function" === typeof f) + for (a = f.call(a), g = 0; !(k = a.next()).done; ) + k = k.value, f = d + Q(k, g++), h += R(k, b, e, f, c); + else if ("object" === k) + throw b = String(a), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead."); + return h; + } + function S(a, b, e) { + if (null == a) + return a; + var d = [], c = 0; + R(a, d, "", "", function(a2) { + return b.call(e, a2, c++); + }); + return d; + } + function T(a) { + if (-1 === a._status) { + var b = a._result; + b = b(); + b.then(function(b2) { + if (0 === a._status || -1 === a._status) + a._status = 1, a._result = b2; + }, function(b2) { + if (0 === a._status || -1 === a._status) + a._status = 2, a._result = b2; + }); + -1 === a._status && (a._status = 0, a._result = b); + } + if (1 === a._status) + return a._result.default; + throw a._result; + } + var U = { current: null }; + var V = { transition: null }; + var W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K }; + exports.Children = { map: S, forEach: function(a, b, e) { + S(a, function() { + b.apply(this, arguments); + }, e); + }, count: function(a) { + var b = 0; + S(a, function() { + b++; + }); + return b; + }, toArray: function(a) { + return S(a, function(a2) { + return a2; + }) || []; + }, only: function(a) { + if (!O(a)) + throw Error("React.Children.only expected to receive a single React element child."); + return a; + } }; + exports.Component = E; + exports.Fragment = p; + exports.Profiler = r; + exports.PureComponent = G; + exports.StrictMode = q; + exports.Suspense = w; + exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W; + exports.cloneElement = function(a, b, e) { + if (null === a || void 0 === a) + throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + "."); + var d = C({}, a.props), c = a.key, k = a.ref, h = a._owner; + if (null != b) { + void 0 !== b.ref && (k = b.ref, h = K.current); + void 0 !== b.key && (c = "" + b.key); + if (a.type && a.type.defaultProps) + var g = a.type.defaultProps; + for (f in b) + J.call(b, f) && !L.hasOwnProperty(f) && (d[f] = void 0 === b[f] && void 0 !== g ? g[f] : b[f]); + } + var f = arguments.length - 2; + if (1 === f) + d.children = e; + else if (1 < f) { + g = Array(f); + for (var m = 0; m < f; m++) + g[m] = arguments[m + 2]; + d.children = g; + } + return { $$typeof: l, type: a.type, key: c, ref: k, props: d, _owner: h }; + }; + exports.createContext = function(a) { + a = { $$typeof: u, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }; + a.Provider = { $$typeof: t, _context: a }; + return a.Consumer = a; + }; + exports.createElement = M; + exports.createFactory = function(a) { + var b = M.bind(null, a); + b.type = a; + return b; + }; + exports.createRef = function() { + return { current: null }; + }; + exports.forwardRef = function(a) { + return { $$typeof: v, render: a }; + }; + exports.isValidElement = O; + exports.lazy = function(a) { + return { $$typeof: y, _payload: { _status: -1, _result: a }, _init: T }; + }; + exports.memo = function(a, b) { + return { $$typeof: x, type: a, compare: void 0 === b ? null : b }; + }; + exports.startTransition = function(a) { + var b = V.transition; + V.transition = {}; + try { + a(); + } finally { + V.transition = b; + } + }; + exports.unstable_act = function() { + throw Error("act(...) is not supported in production builds of React."); + }; + exports.useCallback = function(a, b) { + return U.current.useCallback(a, b); + }; + exports.useContext = function(a) { + return U.current.useContext(a); + }; + exports.useDebugValue = function() { + }; + exports.useDeferredValue = function(a) { + return U.current.useDeferredValue(a); + }; + exports.useEffect = function(a, b) { + return U.current.useEffect(a, b); + }; + exports.useId = function() { + return U.current.useId(); + }; + exports.useImperativeHandle = function(a, b, e) { + return U.current.useImperativeHandle(a, b, e); + }; + exports.useInsertionEffect = function(a, b) { + return U.current.useInsertionEffect(a, b); + }; + exports.useLayoutEffect = function(a, b) { + return U.current.useLayoutEffect(a, b); + }; + exports.useMemo = function(a, b) { + return U.current.useMemo(a, b); + }; + exports.useReducer = function(a, b, e) { + return U.current.useReducer(a, b, e); + }; + exports.useRef = function(a) { + return U.current.useRef(a); + }; + exports.useState = function(a) { + return U.current.useState(a); + }; + exports.useSyncExternalStore = function(a, b, e) { + return U.current.useSyncExternalStore(a, b, e); + }; + exports.useTransition = function() { + return U.current.useTransition(); + }; + exports.version = "18.2.0"; + } +}); + +// node_modules/react/index.js +var require_react = __commonJS$4({ + "node_modules/react/index.js"(exports, module) { + { + module.exports = require_react_production_min(); + } + } +}); + +// commonjs-named-exports:react +var react_exports = {}; +__export(react_exports, { + Children: () => import_react.Children, + Component: () => import_react.Component, + Fragment: () => import_react.Fragment, + Profiler: () => import_react.Profiler, + PureComponent: () => import_react.PureComponent, + StrictMode: () => import_react.StrictMode, + Suspense: () => import_react.Suspense, + __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => import_react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, + cloneElement: () => import_react.cloneElement, + createContext: () => import_react.createContext, + createElement: () => import_react.createElement, + createFactory: () => import_react.createFactory, + createRef: () => import_react.createRef, + default: () => import_react.default, + forwardRef: () => import_react.forwardRef, + isValidElement: () => import_react.isValidElement, + lazy: () => import_react.lazy, + memo: () => import_react.memo, + startTransition: () => import_react.startTransition, + unstable_act: () => import_react.unstable_act, + useCallback: () => import_react.useCallback, + useContext: () => import_react.useContext, + useDebugValue: () => import_react.useDebugValue, + useDeferredValue: () => import_react.useDeferredValue, + useEffect: () => import_react.useEffect, + useId: () => import_react.useId, + useImperativeHandle: () => import_react.useImperativeHandle, + useInsertionEffect: () => import_react.useInsertionEffect, + useLayoutEffect: () => import_react.useLayoutEffect, + useMemo: () => import_react.useMemo, + useReducer: () => import_react.useReducer, + useRef: () => import_react.useRef, + useState: () => import_react.useState, + useSyncExternalStore: () => import_react.useSyncExternalStore, + useTransition: () => import_react.useTransition, + version: () => import_react.version +}); +var import_react; +var init_react = __esm({ + "commonjs-named-exports:react"() { + import_react = __toESM$4(require_react()); + } +}); +/*! Bundled license information: + +react/cjs/react.production.min.js: + (** + * @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. + *) +*/ + +init_react(); +var export_Children = import_react.Children; +var export_Component = import_react.Component; +var export_Fragment = import_react.Fragment; +var export_Profiler = import_react.Profiler; +var export_PureComponent = import_react.PureComponent; +var export_StrictMode = import_react.StrictMode; +var export_Suspense = import_react.Suspense; +var export___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = import_react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; +var export_cloneElement = import_react.cloneElement; +var export_createContext = import_react.createContext; +var export_createElement = import_react.createElement; +var export_createFactory = import_react.createFactory; +var export_createRef = import_react.createRef; +var export_default$1 = import_react.default; +var export_forwardRef = import_react.forwardRef; +var export_isValidElement = import_react.isValidElement; +var export_lazy = import_react.lazy; +var export_memo = import_react.memo; +var export_startTransition = import_react.startTransition; +var export_unstable_act = import_react.unstable_act; +var export_useCallback = import_react.useCallback; +var export_useContext = import_react.useContext; +var export_useDebugValue = import_react.useDebugValue; +var export_useDeferredValue = import_react.useDeferredValue; +var export_useEffect = import_react.useEffect; +var export_useId = import_react.useId; +var export_useImperativeHandle = import_react.useImperativeHandle; +var export_useInsertionEffect = import_react.useInsertionEffect; +var export_useLayoutEffect = import_react.useLayoutEffect; +var export_useMemo = import_react.useMemo; +var export_useReducer = import_react.useReducer; +var export_useRef = import_react.useRef; +var export_useState = import_react.useState; +var export_useSyncExternalStore = import_react.useSyncExternalStore; +var export_useTransition = import_react.useTransition; +var export_version = import_react.version; + +var React = /*#__PURE__*/Object.freeze({ + __proto__: null, + Children: export_Children, + Component: export_Component, + Fragment: export_Fragment, + Profiler: export_Profiler, + PureComponent: export_PureComponent, + StrictMode: export_StrictMode, + Suspense: export_Suspense, + __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: export___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, + cloneElement: export_cloneElement, + createContext: export_createContext, + createElement: export_createElement, + createFactory: export_createFactory, + createRef: export_createRef, + default: export_default$1, + forwardRef: export_forwardRef, + isValidElement: export_isValidElement, + lazy: export_lazy, + memo: export_memo, + startTransition: export_startTransition, + unstable_act: export_unstable_act, + useCallback: export_useCallback, + useContext: export_useContext, + useDebugValue: export_useDebugValue, + useDeferredValue: export_useDeferredValue, + useEffect: export_useEffect, + useId: export_useId, + useImperativeHandle: export_useImperativeHandle, + useInsertionEffect: export_useInsertionEffect, + useLayoutEffect: export_useLayoutEffect, + useMemo: export_useMemo, + useReducer: export_useReducer, + useRef: export_useRef, + useState: export_useState, + useSyncExternalStore: export_useSyncExternalStore, + useTransition: export_useTransition, + version: export_version +}); + +// node_modules/scheduler/cjs/scheduler.production.min.js +var require_scheduler_production_min = __commonJS$4({ + "node_modules/scheduler/cjs/scheduler.production.min.js"(exports) { + function f(a, b) { + var c = a.length; + a.push(b); + a: + for (; 0 < c; ) { + var d = c - 1 >>> 1, e = a[d]; + if (0 < g(e, b)) + a[d] = b, a[c] = e, c = d; + else + break a; + } + } + function h(a) { + return 0 === a.length ? null : a[0]; + } + function k(a) { + if (0 === a.length) + return null; + var b = a[0], c = a.pop(); + if (c !== b) { + a[0] = c; + a: + for (var d = 0, e = a.length, w = e >>> 1; d < w; ) { + var m = 2 * (d + 1) - 1, C = a[m], n = m + 1, x = a[n]; + if (0 > g(C, c)) + n < e && 0 > g(x, C) ? (a[d] = x, a[n] = c, d = n) : (a[d] = C, a[m] = c, d = m); + else if (n < e && 0 > g(x, c)) + a[d] = x, a[n] = c, d = n; + else + break a; + } + } + return b; + } + function g(a, b) { + var c = a.sortIndex - b.sortIndex; + return 0 !== c ? c : a.id - b.id; + } + if ("object" === typeof performance && "function" === typeof performance.now) { + l = performance; + exports.unstable_now = function() { + return l.now(); + }; + } else { + p = Date, q = p.now(); + exports.unstable_now = function() { + return p.now() - q; + }; + } + var l; + var p; + var q; + var r = []; + var t = []; + var u = 1; + var v = null; + var y = 3; + var z = false; + var A = false; + var B = false; + var D = "function" === typeof setTimeout ? setTimeout : null; + var E = "function" === typeof clearTimeout ? clearTimeout : null; + var F = "undefined" !== typeof setImmediate ? setImmediate : null; + "undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling); + function G(a) { + for (var b = h(t); null !== b; ) { + if (null === b.callback) + k(t); + else if (b.startTime <= a) + k(t), b.sortIndex = b.expirationTime, f(r, b); + else + break; + b = h(t); + } + } + function H(a) { + B = false; + G(a); + if (!A) + if (null !== h(r)) + A = true, I(J); + else { + var b = h(t); + null !== b && K(H, b.startTime - a); + } + } + function J(a, b) { + A = false; + B && (B = false, E(L), L = -1); + z = true; + var c = y; + try { + G(b); + for (v = h(r); null !== v && (!(v.expirationTime > b) || a && !M()); ) { + var d = v.callback; + if ("function" === typeof d) { + v.callback = null; + y = v.priorityLevel; + var e = d(v.expirationTime <= b); + b = exports.unstable_now(); + "function" === typeof e ? v.callback = e : v === h(r) && k(r); + G(b); + } else + k(r); + v = h(r); + } + if (null !== v) + var w = true; + else { + var m = h(t); + null !== m && K(H, m.startTime - b); + w = false; + } + return w; + } finally { + v = null, y = c, z = false; + } + } + var N = false; + var O = null; + var L = -1; + var P = 5; + var Q = -1; + function M() { + return exports.unstable_now() - Q < P ? false : true; + } + function R() { + if (null !== O) { + var a = exports.unstable_now(); + Q = a; + var b = true; + try { + b = O(true, a); + } finally { + b ? S() : (N = false, O = null); + } + } else + N = false; + } + var S; + if ("function" === typeof F) + S = function() { + F(R); + }; + else if ("undefined" !== typeof MessageChannel) { + T = new MessageChannel(), U = T.port2; + T.port1.onmessage = R; + S = function() { + U.postMessage(null); + }; + } else + S = function() { + D(R, 0); + }; + var T; + var U; + function I(a) { + O = a; + N || (N = true, S()); + } + function K(a, b) { + L = D(function() { + a(exports.unstable_now()); + }, b); + } + exports.unstable_IdlePriority = 5; + exports.unstable_ImmediatePriority = 1; + exports.unstable_LowPriority = 4; + exports.unstable_NormalPriority = 3; + exports.unstable_Profiling = null; + exports.unstable_UserBlockingPriority = 2; + exports.unstable_cancelCallback = function(a) { + a.callback = null; + }; + exports.unstable_continueExecution = function() { + A || z || (A = true, I(J)); + }; + exports.unstable_forceFrameRate = function(a) { + 0 > a || 125 < a ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P = 0 < a ? Math.floor(1e3 / a) : 5; + }; + exports.unstable_getCurrentPriorityLevel = function() { + return y; + }; + exports.unstable_getFirstCallbackNode = function() { + return h(r); + }; + exports.unstable_next = function(a) { + switch (y) { + case 1: + case 2: + case 3: + var b = 3; + break; + default: + b = y; + } + var c = y; + y = b; + try { + return a(); + } finally { + y = c; + } + }; + exports.unstable_pauseExecution = function() { + }; + exports.unstable_requestPaint = function() { + }; + exports.unstable_runWithPriority = function(a, b) { + switch (a) { + case 1: + case 2: + case 3: + case 4: + case 5: + break; + default: + a = 3; + } + var c = y; + y = a; + try { + return b(); + } finally { + y = c; + } + }; + exports.unstable_scheduleCallback = function(a, b, c) { + var d = exports.unstable_now(); + "object" === typeof c && null !== c ? (c = c.delay, c = "number" === typeof c && 0 < c ? d + c : d) : c = d; + switch (a) { + case 1: + var e = -1; + break; + case 2: + e = 250; + break; + case 5: + e = 1073741823; + break; + case 4: + e = 1e4; + break; + default: + e = 5e3; + } + e = c + e; + a = { id: u++, callback: b, priorityLevel: a, startTime: c, expirationTime: e, sortIndex: -1 }; + c > d ? (a.sortIndex = c, f(t, a), null === h(r) && a === h(t) && (B ? (E(L), L = -1) : B = true, K(H, c - d))) : (a.sortIndex = e, f(r, a), A || z || (A = true, I(J))); + return a; + }; + exports.unstable_shouldYield = M; + exports.unstable_wrapCallback = function(a) { + var b = y; + return function() { + var c = y; + y = b; + try { + return a.apply(this, arguments); + } finally { + y = c; + } + }; + }; + } +}); + +// node_modules/scheduler/index.js +var require_scheduler = __commonJS$4({ + "node_modules/scheduler/index.js"(exports, module) { + { + module.exports = require_scheduler_production_min(); + } + } +}); + +// node_modules/react-dom/cjs/react-dom.production.min.js +var require_react_dom_production_min = __commonJS$4({ + "node_modules/react-dom/cjs/react-dom.production.min.js"(exports) { + var aa = (init_react(), __toCommonJS(react_exports)); + var ca = require_scheduler(); + function p(a) { + for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++) + b += "&args[]=" + encodeURIComponent(arguments[c]); + return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; + } + var da = /* @__PURE__ */ new Set(); + var ea = {}; + function fa(a, b) { + ha(a, b); + ha(a + "Capture", b); + } + function ha(a, b) { + ea[a] = b; + for (a = 0; a < b.length; a++) + da.add(b[a]); + } + var ia = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement); + var ja = Object.prototype.hasOwnProperty; + var ka = /^[: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]*$/; + var la = {}; + var ma = {}; + function oa(a) { + if (ja.call(ma, a)) + return true; + if (ja.call(la, a)) + return false; + if (ka.test(a)) + return ma[a] = true; + la[a] = true; + return false; + } + function pa(a, b, c, d) { + if (null !== c && 0 === c.type) + return false; + switch (typeof b) { + case "function": + case "symbol": + return true; + case "boolean": + if (d) + return false; + if (null !== c) + return !c.acceptsBooleans; + a = a.toLowerCase().slice(0, 5); + return "data-" !== a && "aria-" !== a; + default: + return false; + } + } + function qa(a, b, c, d) { + if (null === b || "undefined" === typeof b || pa(a, b, c, d)) + return true; + if (d) + return false; + if (null !== c) + switch (c.type) { + case 3: + return !b; + case 4: + return false === b; + case 5: + return isNaN(b); + case 6: + return isNaN(b) || 1 > b; + } + return false; + } + function v(a, b, c, d, e, f, g) { + this.acceptsBooleans = 2 === b || 3 === b || 4 === b; + this.attributeName = d; + this.attributeNamespace = e; + this.mustUseProperty = c; + this.propertyName = a; + this.type = b; + this.sanitizeURL = f; + this.removeEmptyString = g; + } + var z = {}; + "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) { + z[a] = new v(a, 0, false, a, null, false, false); + }); + [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) { + var b = a[0]; + z[b] = new v(b, 1, false, a[1], null, false, false); + }); + ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) { + z[a] = new v(a, 2, false, a.toLowerCase(), null, false, false); + }); + ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) { + z[a] = new v(a, 2, false, a, null, false, false); + }); + "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(a) { + z[a] = new v(a, 3, false, a.toLowerCase(), null, false, false); + }); + ["checked", "multiple", "muted", "selected"].forEach(function(a) { + z[a] = new v(a, 3, true, a, null, false, false); + }); + ["capture", "download"].forEach(function(a) { + z[a] = new v(a, 4, false, a, null, false, false); + }); + ["cols", "rows", "size", "span"].forEach(function(a) { + z[a] = new v(a, 6, false, a, null, false, false); + }); + ["rowSpan", "start"].forEach(function(a) { + z[a] = new v(a, 5, false, a.toLowerCase(), null, false, false); + }); + var ra = /[\-:]([a-z])/g; + function sa(a) { + return a[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-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a) { + var b = a.replace( + ra, + sa + ); + z[b] = new v(b, 1, false, a, null, false, false); + }); + "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a) { + var b = a.replace(ra, sa); + z[b] = new v(b, 1, false, a, "http://www.w3.org/1999/xlink", false, false); + }); + ["xml:base", "xml:lang", "xml:space"].forEach(function(a) { + var b = a.replace(ra, sa); + z[b] = new v(b, 1, false, a, "http://www.w3.org/XML/1998/namespace", false, false); + }); + ["tabIndex", "crossOrigin"].forEach(function(a) { + z[a] = new v(a, 1, false, a.toLowerCase(), null, false, false); + }); + z.xlinkHref = new v("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); + ["src", "href", "action", "formAction"].forEach(function(a) { + z[a] = new v(a, 1, false, a.toLowerCase(), null, true, true); + }); + function ta(a, b, c, d) { + var e = z.hasOwnProperty(b) ? z[b] : null; + if (null !== e ? 0 !== e.type : d || !(2 < b.length) || "o" !== b[0] && "O" !== b[0] || "n" !== b[1] && "N" !== b[1]) + qa(b, c, e, d) && (c = null), d || null === e ? oa(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, "" + c)) : e.mustUseProperty ? a[e.propertyName] = null === c ? 3 === e.type ? false : "" : c : (b = e.attributeName, d = e.attributeNamespace, null === c ? a.removeAttribute(b) : (e = e.type, c = 3 === e || 4 === e && true === c ? "" : "" + c, d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c))); + } + var ua = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + var va = Symbol.for("react.element"); + var wa = Symbol.for("react.portal"); + var ya = Symbol.for("react.fragment"); + var za = Symbol.for("react.strict_mode"); + var Aa = Symbol.for("react.profiler"); + var Ba = Symbol.for("react.provider"); + var Ca = Symbol.for("react.context"); + var Da = Symbol.for("react.forward_ref"); + var Ea = Symbol.for("react.suspense"); + var Fa = Symbol.for("react.suspense_list"); + var Ga = Symbol.for("react.memo"); + var Ha = Symbol.for("react.lazy"); + var Ia = Symbol.for("react.offscreen"); + var Ja = Symbol.iterator; + function Ka(a) { + if (null === a || "object" !== typeof a) + return null; + a = Ja && a[Ja] || a["@@iterator"]; + return "function" === typeof a ? a : null; + } + var A = Object.assign; + var La; + function Ma(a) { + if (void 0 === La) + try { + throw Error(); + } catch (c) { + var b = c.stack.trim().match(/\n( *(at )?)/); + La = b && b[1] || ""; + } + return "\n" + La + a; + } + var Na = false; + function Oa(a, b) { + if (!a || Na) + return ""; + Na = true; + var c = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + try { + if (b) + if (b = function() { + throw Error(); + }, Object.defineProperty(b.prototype, "props", { set: function() { + throw Error(); + } }), "object" === typeof Reflect && Reflect.construct) { + try { + Reflect.construct(b, []); + } catch (l) { + var d = l; + } + Reflect.construct(a, [], b); + } else { + try { + b.call(); + } catch (l) { + d = l; + } + a.call(b.prototype); + } + else { + try { + throw Error(); + } catch (l) { + d = l; + } + a(); + } + } catch (l) { + if (l && d && "string" === typeof l.stack) { + for (var e = l.stack.split("\n"), f = d.stack.split("\n"), g = e.length - 1, h = f.length - 1; 1 <= g && 0 <= h && e[g] !== f[h]; ) + h--; + for (; 1 <= g && 0 <= h; g--, h--) + if (e[g] !== f[h]) { + if (1 !== g || 1 !== h) { + do + if (g--, h--, 0 > h || e[g] !== f[h]) { + var k = "\n" + e[g].replace(" at new ", " at "); + a.displayName && k.includes("") && (k = k.replace("", a.displayName)); + return k; + } + while (1 <= g && 0 <= h); + } + break; + } + } + } finally { + Na = false, Error.prepareStackTrace = c; + } + return (a = a ? a.displayName || a.name : "") ? Ma(a) : ""; + } + function Pa(a) { + switch (a.tag) { + case 5: + return Ma(a.type); + case 16: + return Ma("Lazy"); + case 13: + return Ma("Suspense"); + case 19: + return Ma("SuspenseList"); + case 0: + case 2: + case 15: + return a = Oa(a.type, false), a; + case 11: + return a = Oa(a.type.render, false), a; + case 1: + return a = Oa(a.type, true), a; + default: + return ""; + } + } + function Qa(a) { + if (null == a) + return null; + if ("function" === typeof a) + return a.displayName || a.name || null; + if ("string" === typeof a) + return a; + switch (a) { + case ya: + return "Fragment"; + case wa: + return "Portal"; + case Aa: + return "Profiler"; + case za: + return "StrictMode"; + case Ea: + return "Suspense"; + case Fa: + return "SuspenseList"; + } + if ("object" === typeof a) + switch (a.$$typeof) { + case Ca: + return (a.displayName || "Context") + ".Consumer"; + case Ba: + return (a._context.displayName || "Context") + ".Provider"; + case Da: + var b = a.render; + a = a.displayName; + a || (a = b.displayName || b.name || "", a = "" !== a ? "ForwardRef(" + a + ")" : "ForwardRef"); + return a; + case Ga: + return b = a.displayName || null, null !== b ? b : Qa(a.type) || "Memo"; + case Ha: + b = a._payload; + a = a._init; + try { + return Qa(a(b)); + } catch (c) { + } + } + return null; + } + function Ra(a) { + var b = a.type; + switch (a.tag) { + case 24: + return "Cache"; + case 9: + return (b.displayName || "Context") + ".Consumer"; + case 10: + return (b._context.displayName || "Context") + ".Provider"; + case 18: + return "DehydratedFragment"; + case 11: + return a = b.render, a = a.displayName || a.name || "", b.displayName || ("" !== a ? "ForwardRef(" + a + ")" : "ForwardRef"); + case 7: + return "Fragment"; + case 5: + return b; + case 4: + return "Portal"; + case 3: + return "Root"; + case 6: + return "Text"; + case 16: + return Qa(b); + case 8: + return b === za ? "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 ("function" === typeof b) + return b.displayName || b.name || null; + if ("string" === typeof b) + return b; + } + return null; + } + function Sa(a) { + switch (typeof a) { + case "boolean": + case "number": + case "string": + case "undefined": + return a; + case "object": + return a; + default: + return ""; + } + } + function Ta(a) { + var b = a.type; + return (a = a.nodeName) && "input" === a.toLowerCase() && ("checkbox" === b || "radio" === b); + } + function Ua(a) { + var b = Ta(a) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), d = "" + a[b]; + if (!a.hasOwnProperty(b) && "undefined" !== typeof c && "function" === typeof c.get && "function" === typeof c.set) { + var e = c.get, f = c.set; + Object.defineProperty(a, b, { configurable: true, get: function() { + return e.call(this); + }, set: function(a2) { + d = "" + a2; + f.call(this, a2); + } }); + Object.defineProperty(a, b, { enumerable: c.enumerable }); + return { getValue: function() { + return d; + }, setValue: function(a2) { + d = "" + a2; + }, stopTracking: function() { + a._valueTracker = null; + delete a[b]; + } }; + } + } + function Va(a) { + a._valueTracker || (a._valueTracker = Ua(a)); + } + function Wa(a) { + if (!a) + return false; + var b = a._valueTracker; + if (!b) + return true; + var c = b.getValue(); + var d = ""; + a && (d = Ta(a) ? a.checked ? "true" : "false" : a.value); + a = d; + return a !== c ? (b.setValue(a), true) : false; + } + function Xa(a) { + a = a || ("undefined" !== typeof document ? document : void 0); + if ("undefined" === typeof a) + return null; + try { + return a.activeElement || a.body; + } catch (b) { + return a.body; + } + } + function Ya(a, b) { + var c = b.checked; + return A({}, b, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != c ? c : a._wrapperState.initialChecked }); + } + function Za(a, b) { + var c = null == b.defaultValue ? "" : b.defaultValue, d = null != b.checked ? b.checked : b.defaultChecked; + c = Sa(null != b.value ? b.value : c); + a._wrapperState = { initialChecked: d, initialValue: c, controlled: "checkbox" === b.type || "radio" === b.type ? null != b.checked : null != b.value }; + } + function ab(a, b) { + b = b.checked; + null != b && ta(a, "checked", b, false); + } + function bb(a, b) { + ab(a, b); + var c = Sa(b.value), d = b.type; + if (null != c) + if ("number" === d) { + if (0 === c && "" === a.value || a.value != c) + a.value = "" + c; + } else + a.value !== "" + c && (a.value = "" + c); + else if ("submit" === d || "reset" === d) { + a.removeAttribute("value"); + return; + } + b.hasOwnProperty("value") ? cb(a, b.type, c) : b.hasOwnProperty("defaultValue") && cb(a, b.type, Sa(b.defaultValue)); + null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked); + } + function db(a, b, c) { + if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) { + var d = b.type; + if (!("submit" !== d && "reset" !== d || void 0 !== b.value && null !== b.value)) + return; + b = "" + a._wrapperState.initialValue; + c || b === a.value || (a.value = b); + a.defaultValue = b; + } + c = a.name; + "" !== c && (a.name = ""); + a.defaultChecked = !!a._wrapperState.initialChecked; + "" !== c && (a.name = c); + } + function cb(a, b, c) { + if ("number" !== b || Xa(a.ownerDocument) !== a) + null == c ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c && (a.defaultValue = "" + c); + } + var eb = Array.isArray; + function fb(a, b, c, d) { + a = a.options; + if (b) { + b = {}; + for (var e = 0; e < c.length; e++) + b["$" + c[e]] = true; + for (c = 0; c < a.length; c++) + e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = true); + } else { + c = "" + Sa(c); + b = null; + for (e = 0; e < a.length; e++) { + if (a[e].value === c) { + a[e].selected = true; + d && (a[e].defaultSelected = true); + return; + } + null !== b || a[e].disabled || (b = a[e]); + } + null !== b && (b.selected = true); + } + } + function gb(a, b) { + if (null != b.dangerouslySetInnerHTML) + throw Error(p(91)); + return A({}, b, { value: void 0, defaultValue: void 0, children: "" + a._wrapperState.initialValue }); + } + function hb(a, b) { + var c = b.value; + if (null == c) { + c = b.children; + b = b.defaultValue; + if (null != c) { + if (null != b) + throw Error(p(92)); + if (eb(c)) { + if (1 < c.length) + throw Error(p(93)); + c = c[0]; + } + b = c; + } + null == b && (b = ""); + c = b; + } + a._wrapperState = { initialValue: Sa(c) }; + } + function ib(a, b) { + var c = Sa(b.value), d = Sa(b.defaultValue); + null != c && (c = "" + c, c !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c)); + null != d && (a.defaultValue = "" + d); + } + function jb(a) { + var b = a.textContent; + b === a._wrapperState.initialValue && "" !== b && null !== b && (a.value = b); + } + function kb(a) { + switch (a) { + case "svg": + return "http://www.w3.org/2000/svg"; + case "math": + return "http://www.w3.org/1998/Math/MathML"; + default: + return "http://www.w3.org/1999/xhtml"; + } + } + function lb(a, b) { + return null == a || "http://www.w3.org/1999/xhtml" === a ? kb(b) : "http://www.w3.org/2000/svg" === a && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a; + } + var mb; + var nb = function(a) { + return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function(b, c, d, e) { + MSApp.execUnsafeLocalFunction(function() { + return a(b, c, d, e); + }); + } : a; + }(function(a, b) { + if ("http://www.w3.org/2000/svg" !== a.namespaceURI || "innerHTML" in a) + a.innerHTML = b; + else { + mb = mb || document.createElement("div"); + mb.innerHTML = "" + b.valueOf().toString() + ""; + for (b = mb.firstChild; a.firstChild; ) + a.removeChild(a.firstChild); + for (; b.firstChild; ) + a.appendChild(b.firstChild); + } + }); + function ob(a, b) { + if (b) { + var c = a.firstChild; + if (c && c === a.lastChild && 3 === c.nodeType) { + c.nodeValue = b; + return; + } + } + a.textContent = b; + } + var pb = { + animationIterationCount: true, + aspectRatio: true, + borderImageOutset: true, + borderImageSlice: true, + borderImageWidth: true, + boxFlex: true, + boxFlexGroup: true, + boxOrdinalGroup: true, + columnCount: true, + columns: true, + flex: true, + flexGrow: true, + flexPositive: true, + flexShrink: true, + flexNegative: true, + flexOrder: true, + gridArea: true, + gridRow: true, + gridRowEnd: true, + gridRowSpan: true, + gridRowStart: true, + gridColumn: true, + gridColumnEnd: true, + gridColumnSpan: true, + gridColumnStart: true, + fontWeight: true, + lineClamp: true, + lineHeight: true, + opacity: true, + order: true, + orphans: true, + tabSize: true, + widows: true, + zIndex: true, + zoom: true, + fillOpacity: true, + floodOpacity: true, + stopOpacity: true, + strokeDasharray: true, + strokeDashoffset: true, + strokeMiterlimit: true, + strokeOpacity: true, + strokeWidth: true + }; + var qb = ["Webkit", "ms", "Moz", "O"]; + Object.keys(pb).forEach(function(a) { + qb.forEach(function(b) { + b = b + a.charAt(0).toUpperCase() + a.substring(1); + pb[b] = pb[a]; + }); + }); + function rb(a, b, c) { + return null == b || "boolean" === typeof b || "" === b ? "" : c || "number" !== typeof b || 0 === b || pb.hasOwnProperty(a) && pb[a] ? ("" + b).trim() : b + "px"; + } + function sb(a, b) { + a = a.style; + for (var c in b) + if (b.hasOwnProperty(c)) { + var d = 0 === c.indexOf("--"), e = rb(c, b[c], d); + "float" === c && (c = "cssFloat"); + d ? a.setProperty(c, e) : a[c] = e; + } + } + var tb = A({ menuitem: true }, { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true }); + function ub(a, b) { + if (b) { + if (tb[a] && (null != b.children || null != b.dangerouslySetInnerHTML)) + throw Error(p(137, a)); + if (null != b.dangerouslySetInnerHTML) { + if (null != b.children) + throw Error(p(60)); + if ("object" !== typeof b.dangerouslySetInnerHTML || !("__html" in b.dangerouslySetInnerHTML)) + throw Error(p(61)); + } + if (null != b.style && "object" !== typeof b.style) + throw Error(p(62)); + } + } + function vb(a, b) { + if (-1 === a.indexOf("-")) + return "string" === typeof b.is; + switch (a) { + case "annotation-xml": + case "color-profile": + case "font-face": + case "font-face-src": + case "font-face-uri": + case "font-face-format": + case "font-face-name": + case "missing-glyph": + return false; + default: + return true; + } + } + var wb = null; + function xb(a) { + a = a.target || a.srcElement || window; + a.correspondingUseElement && (a = a.correspondingUseElement); + return 3 === a.nodeType ? a.parentNode : a; + } + var yb = null; + var zb = null; + var Ab = null; + function Bb(a) { + if (a = Cb(a)) { + if ("function" !== typeof yb) + throw Error(p(280)); + var b = a.stateNode; + b && (b = Db(b), yb(a.stateNode, a.type, b)); + } + } + function Eb(a) { + zb ? Ab ? Ab.push(a) : Ab = [a] : zb = a; + } + function Fb() { + if (zb) { + var a = zb, b = Ab; + Ab = zb = null; + Bb(a); + if (b) + for (a = 0; a < b.length; a++) + Bb(b[a]); + } + } + function Gb(a, b) { + return a(b); + } + function Hb() { + } + var Ib = false; + function Jb(a, b, c) { + if (Ib) + return a(b, c); + Ib = true; + try { + return Gb(a, b, c); + } finally { + if (Ib = false, null !== zb || null !== Ab) + Hb(), Fb(); + } + } + function Kb(a, b) { + var c = a.stateNode; + if (null === c) + return null; + var d = Db(c); + if (null === d) + return null; + c = d[b]; + a: + switch (b) { + case "onClick": + case "onClickCapture": + case "onDoubleClick": + case "onDoubleClickCapture": + case "onMouseDown": + case "onMouseDownCapture": + case "onMouseMove": + case "onMouseMoveCapture": + case "onMouseUp": + case "onMouseUpCapture": + case "onMouseEnter": + (d = !d.disabled) || (a = a.type, d = !("button" === a || "input" === a || "select" === a || "textarea" === a)); + a = !d; + break a; + default: + a = false; + } + if (a) + return null; + if (c && "function" !== typeof c) + throw Error(p(231, b, typeof c)); + return c; + } + var Lb = false; + if (ia) + try { + Mb = {}; + Object.defineProperty(Mb, "passive", { get: function() { + Lb = true; + } }); + window.addEventListener("test", Mb, Mb); + window.removeEventListener("test", Mb, Mb); + } catch (a) { + Lb = false; + } + var Mb; + function Nb(a, b, c, d, e, f, g, h, k) { + var l = Array.prototype.slice.call(arguments, 3); + try { + b.apply(c, l); + } catch (m) { + this.onError(m); + } + } + var Ob = false; + var Pb = null; + var Qb = false; + var Rb = null; + var Sb = { onError: function(a) { + Ob = true; + Pb = a; + } }; + function Tb(a, b, c, d, e, f, g, h, k) { + Ob = false; + Pb = null; + Nb.apply(Sb, arguments); + } + function Ub(a, b, c, d, e, f, g, h, k) { + Tb.apply(this, arguments); + if (Ob) { + if (Ob) { + var l = Pb; + Ob = false; + Pb = null; + } else + throw Error(p(198)); + Qb || (Qb = true, Rb = l); + } + } + function Vb(a) { + var b = a, c = a; + if (a.alternate) + for (; b.return; ) + b = b.return; + else { + a = b; + do + b = a, 0 !== (b.flags & 4098) && (c = b.return), a = b.return; + while (a); + } + return 3 === b.tag ? c : null; + } + function Wb(a) { + if (13 === a.tag) { + var b = a.memoizedState; + null === b && (a = a.alternate, null !== a && (b = a.memoizedState)); + if (null !== b) + return b.dehydrated; + } + return null; + } + function Xb(a) { + if (Vb(a) !== a) + throw Error(p(188)); + } + function Yb(a) { + var b = a.alternate; + if (!b) { + b = Vb(a); + if (null === b) + throw Error(p(188)); + return b !== a ? null : a; + } + for (var c = a, d = b; ; ) { + var e = c.return; + if (null === e) + break; + var f = e.alternate; + if (null === f) { + d = e.return; + if (null !== d) { + c = d; + continue; + } + break; + } + if (e.child === f.child) { + for (f = e.child; f; ) { + if (f === c) + return Xb(e), a; + if (f === d) + return Xb(e), b; + f = f.sibling; + } + throw Error(p(188)); + } + if (c.return !== d.return) + c = e, d = f; + else { + for (var g = false, h = e.child; h; ) { + if (h === c) { + g = true; + c = e; + d = f; + break; + } + if (h === d) { + g = true; + d = e; + c = f; + break; + } + h = h.sibling; + } + if (!g) { + for (h = f.child; h; ) { + if (h === c) { + g = true; + c = f; + d = e; + break; + } + if (h === d) { + g = true; + d = f; + c = e; + break; + } + h = h.sibling; + } + if (!g) + throw Error(p(189)); + } + } + if (c.alternate !== d) + throw Error(p(190)); + } + if (3 !== c.tag) + throw Error(p(188)); + return c.stateNode.current === c ? a : b; + } + function Zb(a) { + a = Yb(a); + return null !== a ? $b(a) : null; + } + function $b(a) { + if (5 === a.tag || 6 === a.tag) + return a; + for (a = a.child; null !== a; ) { + var b = $b(a); + if (null !== b) + return b; + a = a.sibling; + } + return null; + } + var ac = ca.unstable_scheduleCallback; + var bc = ca.unstable_cancelCallback; + var cc = ca.unstable_shouldYield; + var dc = ca.unstable_requestPaint; + var B = ca.unstable_now; + var ec = ca.unstable_getCurrentPriorityLevel; + var fc = ca.unstable_ImmediatePriority; + var gc = ca.unstable_UserBlockingPriority; + var hc = ca.unstable_NormalPriority; + var ic = ca.unstable_LowPriority; + var jc = ca.unstable_IdlePriority; + var kc = null; + var lc = null; + function mc(a) { + if (lc && "function" === typeof lc.onCommitFiberRoot) + try { + lc.onCommitFiberRoot(kc, a, void 0, 128 === (a.current.flags & 128)); + } catch (b) { + } + } + var oc = Math.clz32 ? Math.clz32 : nc; + var pc = Math.log; + var qc = Math.LN2; + function nc(a) { + a >>>= 0; + return 0 === a ? 32 : 31 - (pc(a) / qc | 0) | 0; + } + var rc = 64; + var sc = 4194304; + function tc(a) { + switch (a & -a) { + case 1: + return 1; + case 2: + return 2; + case 4: + return 4; + case 8: + return 8; + case 16: + return 16; + case 32: + return 32; + case 64: + case 128: + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + case 32768: + case 65536: + case 131072: + case 262144: + case 524288: + case 1048576: + case 2097152: + return a & 4194240; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + return a & 130023424; + case 134217728: + return 134217728; + case 268435456: + return 268435456; + case 536870912: + return 536870912; + case 1073741824: + return 1073741824; + default: + return a; + } + } + function uc(a, b) { + var c = a.pendingLanes; + if (0 === c) + return 0; + var d = 0, e = a.suspendedLanes, f = a.pingedLanes, g = c & 268435455; + if (0 !== g) { + var h = g & ~e; + 0 !== h ? d = tc(h) : (f &= g, 0 !== f && (d = tc(f))); + } else + g = c & ~e, 0 !== g ? d = tc(g) : 0 !== f && (d = tc(f)); + if (0 === d) + return 0; + if (0 !== b && b !== d && 0 === (b & e) && (e = d & -d, f = b & -b, e >= f || 16 === e && 0 !== (f & 4194240))) + return b; + 0 !== (d & 4) && (d |= c & 16); + b = a.entangledLanes; + if (0 !== b) + for (a = a.entanglements, b &= d; 0 < b; ) + c = 31 - oc(b), e = 1 << c, d |= a[c], b &= ~e; + return d; + } + function vc(a, b) { + switch (a) { + case 1: + case 2: + case 4: + return b + 250; + case 8: + case 16: + case 32: + case 64: + case 128: + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + case 32768: + case 65536: + case 131072: + case 262144: + case 524288: + case 1048576: + case 2097152: + return b + 5e3; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + return -1; + case 134217728: + case 268435456: + case 536870912: + case 1073741824: + return -1; + default: + return -1; + } + } + function wc(a, b) { + for (var c = a.suspendedLanes, d = a.pingedLanes, e = a.expirationTimes, f = a.pendingLanes; 0 < f; ) { + var g = 31 - oc(f), h = 1 << g, k = e[g]; + if (-1 === k) { + if (0 === (h & c) || 0 !== (h & d)) + e[g] = vc(h, b); + } else + k <= b && (a.expiredLanes |= h); + f &= ~h; + } + } + function xc(a) { + a = a.pendingLanes & -1073741825; + return 0 !== a ? a : a & 1073741824 ? 1073741824 : 0; + } + function yc() { + var a = rc; + rc <<= 1; + 0 === (rc & 4194240) && (rc = 64); + return a; + } + function zc(a) { + for (var b = [], c = 0; 31 > c; c++) + b.push(a); + return b; + } + function Ac(a, b, c) { + a.pendingLanes |= b; + 536870912 !== b && (a.suspendedLanes = 0, a.pingedLanes = 0); + a = a.eventTimes; + b = 31 - oc(b); + a[b] = c; + } + function Bc(a, b) { + var c = a.pendingLanes & ~b; + a.pendingLanes = b; + a.suspendedLanes = 0; + a.pingedLanes = 0; + a.expiredLanes &= b; + a.mutableReadLanes &= b; + a.entangledLanes &= b; + b = a.entanglements; + var d = a.eventTimes; + for (a = a.expirationTimes; 0 < c; ) { + var e = 31 - oc(c), f = 1 << e; + b[e] = 0; + d[e] = -1; + a[e] = -1; + c &= ~f; + } + } + function Cc(a, b) { + var c = a.entangledLanes |= b; + for (a = a.entanglements; c; ) { + var d = 31 - oc(c), e = 1 << d; + e & b | a[d] & b && (a[d] |= b); + c &= ~e; + } + } + var C = 0; + function Dc(a) { + a &= -a; + return 1 < a ? 4 < a ? 0 !== (a & 268435455) ? 16 : 536870912 : 4 : 1; + } + var Ec; + var Fc; + var Gc; + var Hc; + var Ic; + var Jc = false; + var Kc = []; + var Lc = null; + var Mc = null; + var Nc = null; + var Oc = /* @__PURE__ */ new Map(); + var Pc = /* @__PURE__ */ new Map(); + var Qc = []; + var Rc = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "); + function Sc(a, b) { + switch (a) { + case "focusin": + case "focusout": + Lc = null; + break; + case "dragenter": + case "dragleave": + Mc = null; + break; + case "mouseover": + case "mouseout": + Nc = null; + break; + case "pointerover": + case "pointerout": + Oc.delete(b.pointerId); + break; + case "gotpointercapture": + case "lostpointercapture": + Pc.delete(b.pointerId); + } + } + function Tc(a, b, c, d, e, f) { + if (null === a || a.nativeEvent !== f) + return a = { blockedOn: b, domEventName: c, eventSystemFlags: d, nativeEvent: f, targetContainers: [e] }, null !== b && (b = Cb(b), null !== b && Fc(b)), a; + a.eventSystemFlags |= d; + b = a.targetContainers; + null !== e && -1 === b.indexOf(e) && b.push(e); + return a; + } + function Uc(a, b, c, d, e) { + switch (b) { + case "focusin": + return Lc = Tc(Lc, a, b, c, d, e), true; + case "dragenter": + return Mc = Tc(Mc, a, b, c, d, e), true; + case "mouseover": + return Nc = Tc(Nc, a, b, c, d, e), true; + case "pointerover": + var f = e.pointerId; + Oc.set(f, Tc(Oc.get(f) || null, a, b, c, d, e)); + return true; + case "gotpointercapture": + return f = e.pointerId, Pc.set(f, Tc(Pc.get(f) || null, a, b, c, d, e)), true; + } + return false; + } + function Vc(a) { + var b = Wc(a.target); + if (null !== b) { + var c = Vb(b); + if (null !== c) { + if (b = c.tag, 13 === b) { + if (b = Wb(c), null !== b) { + a.blockedOn = b; + Ic(a.priority, function() { + Gc(c); + }); + return; + } + } else if (3 === b && c.stateNode.current.memoizedState.isDehydrated) { + a.blockedOn = 3 === c.tag ? c.stateNode.containerInfo : null; + return; + } + } + } + a.blockedOn = null; + } + function Xc(a) { + if (null !== a.blockedOn) + return false; + for (var b = a.targetContainers; 0 < b.length; ) { + var c = Yc(a.domEventName, a.eventSystemFlags, b[0], a.nativeEvent); + if (null === c) { + c = a.nativeEvent; + var d = new c.constructor(c.type, c); + wb = d; + c.target.dispatchEvent(d); + wb = null; + } else + return b = Cb(c), null !== b && Fc(b), a.blockedOn = c, false; + b.shift(); + } + return true; + } + function Zc(a, b, c) { + Xc(a) && c.delete(b); + } + function $c() { + Jc = false; + null !== Lc && Xc(Lc) && (Lc = null); + null !== Mc && Xc(Mc) && (Mc = null); + null !== Nc && Xc(Nc) && (Nc = null); + Oc.forEach(Zc); + Pc.forEach(Zc); + } + function ad(a, b) { + a.blockedOn === b && (a.blockedOn = null, Jc || (Jc = true, ca.unstable_scheduleCallback(ca.unstable_NormalPriority, $c))); + } + function bd(a) { + function b(b2) { + return ad(b2, a); + } + if (0 < Kc.length) { + ad(Kc[0], a); + for (var c = 1; c < Kc.length; c++) { + var d = Kc[c]; + d.blockedOn === a && (d.blockedOn = null); + } + } + null !== Lc && ad(Lc, a); + null !== Mc && ad(Mc, a); + null !== Nc && ad(Nc, a); + Oc.forEach(b); + Pc.forEach(b); + for (c = 0; c < Qc.length; c++) + d = Qc[c], d.blockedOn === a && (d.blockedOn = null); + for (; 0 < Qc.length && (c = Qc[0], null === c.blockedOn); ) + Vc(c), null === c.blockedOn && Qc.shift(); + } + var cd = ua.ReactCurrentBatchConfig; + var dd = true; + function ed(a, b, c, d) { + var e = C, f = cd.transition; + cd.transition = null; + try { + C = 1, fd(a, b, c, d); + } finally { + C = e, cd.transition = f; + } + } + function gd(a, b, c, d) { + var e = C, f = cd.transition; + cd.transition = null; + try { + C = 4, fd(a, b, c, d); + } finally { + C = e, cd.transition = f; + } + } + function fd(a, b, c, d) { + if (dd) { + var e = Yc(a, b, c, d); + if (null === e) + hd(a, b, d, id, c), Sc(a, d); + else if (Uc(e, a, b, c, d)) + d.stopPropagation(); + else if (Sc(a, d), b & 4 && -1 < Rc.indexOf(a)) { + for (; null !== e; ) { + var f = Cb(e); + null !== f && Ec(f); + f = Yc(a, b, c, d); + null === f && hd(a, b, d, id, c); + if (f === e) + break; + e = f; + } + null !== e && d.stopPropagation(); + } else + hd(a, b, d, null, c); + } + } + var id = null; + function Yc(a, b, c, d) { + id = null; + a = xb(d); + a = Wc(a); + if (null !== a) + if (b = Vb(a), null === b) + a = null; + else if (c = b.tag, 13 === c) { + a = Wb(b); + if (null !== a) + return a; + a = null; + } else if (3 === c) { + if (b.stateNode.current.memoizedState.isDehydrated) + return 3 === b.tag ? b.stateNode.containerInfo : null; + a = null; + } else + b !== a && (a = null); + id = a; + return null; + } + function jd(a) { + switch (a) { + case "cancel": + case "click": + case "close": + case "contextmenu": + case "copy": + case "cut": + case "auxclick": + case "dblclick": + case "dragend": + case "dragstart": + case "drop": + case "focusin": + case "focusout": + case "input": + case "invalid": + case "keydown": + case "keypress": + case "keyup": + case "mousedown": + case "mouseup": + case "paste": + case "pause": + case "play": + case "pointercancel": + case "pointerdown": + case "pointerup": + case "ratechange": + case "reset": + case "resize": + case "seeked": + case "submit": + case "touchcancel": + case "touchend": + case "touchstart": + case "volumechange": + case "change": + case "selectionchange": + case "textInput": + case "compositionstart": + case "compositionend": + case "compositionupdate": + case "beforeblur": + case "afterblur": + case "beforeinput": + case "blur": + case "fullscreenchange": + case "focus": + case "hashchange": + case "popstate": + case "select": + case "selectstart": + return 1; + case "drag": + case "dragenter": + case "dragexit": + case "dragleave": + case "dragover": + case "mousemove": + case "mouseout": + case "mouseover": + case "pointermove": + case "pointerout": + case "pointerover": + case "scroll": + case "toggle": + case "touchmove": + case "wheel": + case "mouseenter": + case "mouseleave": + case "pointerenter": + case "pointerleave": + return 4; + case "message": + switch (ec()) { + case fc: + return 1; + case gc: + return 4; + case hc: + case ic: + return 16; + case jc: + return 536870912; + default: + return 16; + } + default: + return 16; + } + } + var kd = null; + var ld = null; + var md = null; + function nd() { + if (md) + return md; + var a, b = ld, c = b.length, d, e = "value" in kd ? kd.value : kd.textContent, f = e.length; + for (a = 0; a < c && b[a] === e[a]; a++) + ; + var g = c - a; + for (d = 1; d <= g && b[c - d] === e[f - d]; d++) + ; + return md = e.slice(a, 1 < d ? 1 - d : void 0); + } + function od(a) { + var b = a.keyCode; + "charCode" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b; + 10 === a && (a = 13); + return 32 <= a || 13 === a ? a : 0; + } + function pd() { + return true; + } + function qd() { + return false; + } + function rd(a) { + function b(b2, d, e, f, g) { + this._reactName = b2; + this._targetInst = e; + this.type = d; + this.nativeEvent = f; + this.target = g; + this.currentTarget = null; + for (var c in a) + a.hasOwnProperty(c) && (b2 = a[c], this[c] = b2 ? b2(f) : f[c]); + this.isDefaultPrevented = (null != f.defaultPrevented ? f.defaultPrevented : false === f.returnValue) ? pd : qd; + this.isPropagationStopped = qd; + return this; + } + A(b.prototype, { preventDefault: function() { + this.defaultPrevented = true; + var a2 = this.nativeEvent; + a2 && (a2.preventDefault ? a2.preventDefault() : "unknown" !== typeof a2.returnValue && (a2.returnValue = false), this.isDefaultPrevented = pd); + }, stopPropagation: function() { + var a2 = this.nativeEvent; + a2 && (a2.stopPropagation ? a2.stopPropagation() : "unknown" !== typeof a2.cancelBubble && (a2.cancelBubble = true), this.isPropagationStopped = pd); + }, persist: function() { + }, isPersistent: pd }); + return b; + } + var sd = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(a) { + return a.timeStamp || Date.now(); + }, defaultPrevented: 0, isTrusted: 0 }; + var td = rd(sd); + var ud = A({}, sd, { view: 0, detail: 0 }); + var vd = rd(ud); + var wd; + var xd; + var yd; + var Ad = A({}, ud, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: zd, button: 0, buttons: 0, relatedTarget: function(a) { + return void 0 === a.relatedTarget ? a.fromElement === a.srcElement ? a.toElement : a.fromElement : a.relatedTarget; + }, movementX: function(a) { + if ("movementX" in a) + return a.movementX; + a !== yd && (yd && "mousemove" === a.type ? (wd = a.screenX - yd.screenX, xd = a.screenY - yd.screenY) : xd = wd = 0, yd = a); + return wd; + }, movementY: function(a) { + return "movementY" in a ? a.movementY : xd; + } }); + var Bd = rd(Ad); + var Cd = A({}, Ad, { dataTransfer: 0 }); + var Dd = rd(Cd); + var Ed = A({}, ud, { relatedTarget: 0 }); + var Fd = rd(Ed); + var Gd = A({}, sd, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }); + var Hd = rd(Gd); + var Id = A({}, sd, { clipboardData: function(a) { + return "clipboardData" in a ? a.clipboardData : window.clipboardData; + } }); + var Jd = rd(Id); + var Kd = A({}, sd, { data: 0 }); + var Ld = rd(Kd); + var Md = { + Esc: "Escape", + Spacebar: " ", + Left: "ArrowLeft", + Up: "ArrowUp", + Right: "ArrowRight", + Down: "ArrowDown", + Del: "Delete", + Win: "OS", + Menu: "ContextMenu", + Apps: "ContextMenu", + Scroll: "ScrollLock", + MozPrintableKey: "Unidentified" + }; + var Nd = { + 8: "Backspace", + 9: "Tab", + 12: "Clear", + 13: "Enter", + 16: "Shift", + 17: "Control", + 18: "Alt", + 19: "Pause", + 20: "CapsLock", + 27: "Escape", + 32: " ", + 33: "PageUp", + 34: "PageDown", + 35: "End", + 36: "Home", + 37: "ArrowLeft", + 38: "ArrowUp", + 39: "ArrowRight", + 40: "ArrowDown", + 45: "Insert", + 46: "Delete", + 112: "F1", + 113: "F2", + 114: "F3", + 115: "F4", + 116: "F5", + 117: "F6", + 118: "F7", + 119: "F8", + 120: "F9", + 121: "F10", + 122: "F11", + 123: "F12", + 144: "NumLock", + 145: "ScrollLock", + 224: "Meta" + }; + var Od = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; + function Pd(a) { + var b = this.nativeEvent; + return b.getModifierState ? b.getModifierState(a) : (a = Od[a]) ? !!b[a] : false; + } + function zd() { + return Pd; + } + var Qd = A({}, ud, { key: function(a) { + if (a.key) { + var b = Md[a.key] || a.key; + if ("Unidentified" !== b) + return b; + } + return "keypress" === a.type ? (a = od(a), 13 === a ? "Enter" : String.fromCharCode(a)) : "keydown" === a.type || "keyup" === a.type ? Nd[a.keyCode] || "Unidentified" : ""; + }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: zd, charCode: function(a) { + return "keypress" === a.type ? od(a) : 0; + }, keyCode: function(a) { + return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0; + }, which: function(a) { + return "keypress" === a.type ? od(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0; + } }); + var Rd = rd(Qd); + var Sd = A({}, Ad, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }); + var Td = rd(Sd); + var Ud = A({}, ud, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: zd }); + var Vd = rd(Ud); + var Wd = A({}, sd, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }); + var Xd = rd(Wd); + var Yd = A({}, Ad, { + deltaX: function(a) { + return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0; + }, + deltaY: function(a) { + return "deltaY" in a ? a.deltaY : "wheelDeltaY" in a ? -a.wheelDeltaY : "wheelDelta" in a ? -a.wheelDelta : 0; + }, + deltaZ: 0, + deltaMode: 0 + }); + var Zd = rd(Yd); + var $d = [9, 13, 27, 32]; + var ae = ia && "CompositionEvent" in window; + var be = null; + ia && "documentMode" in document && (be = document.documentMode); + var ce = ia && "TextEvent" in window && !be; + var de = ia && (!ae || be && 8 < be && 11 >= be); + var ee = String.fromCharCode(32); + var fe = false; + function ge(a, b) { + switch (a) { + case "keyup": + return -1 !== $d.indexOf(b.keyCode); + case "keydown": + return 229 !== b.keyCode; + case "keypress": + case "mousedown": + case "focusout": + return true; + default: + return false; + } + } + function he(a) { + a = a.detail; + return "object" === typeof a && "data" in a ? a.data : null; + } + var ie = false; + function je(a, b) { + switch (a) { + case "compositionend": + return he(b); + case "keypress": + if (32 !== b.which) + return null; + fe = true; + return ee; + case "textInput": + return a = b.data, a === ee && fe ? null : a; + default: + return null; + } + } + function ke(a, b) { + if (ie) + return "compositionend" === a || !ae && ge(a, b) ? (a = nd(), md = ld = kd = null, ie = false, a) : null; + switch (a) { + case "paste": + return null; + case "keypress": + if (!(b.ctrlKey || b.altKey || b.metaKey) || b.ctrlKey && b.altKey) { + if (b.char && 1 < b.char.length) + return b.char; + if (b.which) + return String.fromCharCode(b.which); + } + return null; + case "compositionend": + return de && "ko" !== b.locale ? null : b.data; + default: + return null; + } + } + var le = { color: true, date: true, datetime: true, "datetime-local": true, email: true, month: true, number: true, password: true, range: true, search: true, tel: true, text: true, time: true, url: true, week: true }; + function me(a) { + var b = a && a.nodeName && a.nodeName.toLowerCase(); + return "input" === b ? !!le[a.type] : "textarea" === b ? true : false; + } + function ne(a, b, c, d) { + Eb(d); + b = oe(b, "onChange"); + 0 < b.length && (c = new td("onChange", "change", null, c, d), a.push({ event: c, listeners: b })); + } + var pe = null; + var qe = null; + function re(a) { + se(a, 0); + } + function te(a) { + var b = ue(a); + if (Wa(b)) + return a; + } + function ve(a, b) { + if ("change" === a) + return b; + } + var we = false; + if (ia) { + if (ia) { + ye = "oninput" in document; + if (!ye) { + ze = document.createElement("div"); + ze.setAttribute("oninput", "return;"); + ye = "function" === typeof ze.oninput; + } + xe = ye; + } else + xe = false; + we = xe && (!document.documentMode || 9 < document.documentMode); + } + var xe; + var ye; + var ze; + function Ae() { + pe && (pe.detachEvent("onpropertychange", Be), qe = pe = null); + } + function Be(a) { + if ("value" === a.propertyName && te(qe)) { + var b = []; + ne(b, qe, a, xb(a)); + Jb(re, b); + } + } + function Ce(a, b, c) { + "focusin" === a ? (Ae(), pe = b, qe = c, pe.attachEvent("onpropertychange", Be)) : "focusout" === a && Ae(); + } + function De(a) { + if ("selectionchange" === a || "keyup" === a || "keydown" === a) + return te(qe); + } + function Ee(a, b) { + if ("click" === a) + return te(b); + } + function Fe(a, b) { + if ("input" === a || "change" === a) + return te(b); + } + function Ge(a, b) { + return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b; + } + var He = "function" === typeof Object.is ? Object.is : Ge; + function Ie(a, b) { + if (He(a, b)) + return true; + if ("object" !== typeof a || null === a || "object" !== typeof b || null === b) + return false; + var c = Object.keys(a), d = Object.keys(b); + if (c.length !== d.length) + return false; + for (d = 0; d < c.length; d++) { + var e = c[d]; + if (!ja.call(b, e) || !He(a[e], b[e])) + return false; + } + return true; + } + function Je(a) { + for (; a && a.firstChild; ) + a = a.firstChild; + return a; + } + function Ke(a, b) { + var c = Je(a); + a = 0; + for (var d; c; ) { + if (3 === c.nodeType) { + d = a + c.textContent.length; + if (a <= b && d >= b) + return { node: c, offset: b - a }; + a = d; + } + a: { + for (; c; ) { + if (c.nextSibling) { + c = c.nextSibling; + break a; + } + c = c.parentNode; + } + c = void 0; + } + c = Je(c); + } + } + function Le(a, b) { + return a && b ? a === b ? true : a && 3 === a.nodeType ? false : b && 3 === b.nodeType ? Le(a, b.parentNode) : "contains" in a ? a.contains(b) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b) & 16) : false : false; + } + function Me() { + for (var a = window, b = Xa(); b instanceof a.HTMLIFrameElement; ) { + try { + var c = "string" === typeof b.contentWindow.location.href; + } catch (d) { + c = false; + } + if (c) + a = b.contentWindow; + else + break; + b = Xa(a.document); + } + return b; + } + function Ne(a) { + var b = a && a.nodeName && a.nodeName.toLowerCase(); + return b && ("input" === b && ("text" === a.type || "search" === a.type || "tel" === a.type || "url" === a.type || "password" === a.type) || "textarea" === b || "true" === a.contentEditable); + } + function Oe(a) { + var b = Me(), c = a.focusedElem, d = a.selectionRange; + if (b !== c && c && c.ownerDocument && Le(c.ownerDocument.documentElement, c)) { + if (null !== d && Ne(c)) { + if (b = d.start, a = d.end, void 0 === a && (a = b), "selectionStart" in c) + c.selectionStart = b, c.selectionEnd = Math.min(a, c.value.length); + else if (a = (b = c.ownerDocument || document) && b.defaultView || window, a.getSelection) { + a = a.getSelection(); + var e = c.textContent.length, f = Math.min(d.start, e); + d = void 0 === d.end ? f : Math.min(d.end, e); + !a.extend && f > d && (e = d, d = f, f = e); + e = Ke(c, f); + var g = Ke( + c, + d + ); + e && g && (1 !== a.rangeCount || a.anchorNode !== e.node || a.anchorOffset !== e.offset || a.focusNode !== g.node || a.focusOffset !== g.offset) && (b = b.createRange(), b.setStart(e.node, e.offset), a.removeAllRanges(), f > d ? (a.addRange(b), a.extend(g.node, g.offset)) : (b.setEnd(g.node, g.offset), a.addRange(b))); + } + } + b = []; + for (a = c; a = a.parentNode; ) + 1 === a.nodeType && b.push({ element: a, left: a.scrollLeft, top: a.scrollTop }); + "function" === typeof c.focus && c.focus(); + for (c = 0; c < b.length; c++) + a = b[c], a.element.scrollLeft = a.left, a.element.scrollTop = a.top; + } + } + var Pe = ia && "documentMode" in document && 11 >= document.documentMode; + var Qe = null; + var Re = null; + var Se = null; + var Te = false; + function Ue(a, b, c) { + var d = c.window === c ? c.document : 9 === c.nodeType ? c : c.ownerDocument; + Te || null == Qe || Qe !== Xa(d) || (d = Qe, "selectionStart" in d && Ne(d) ? d = { start: d.selectionStart, end: d.selectionEnd } : (d = (d.ownerDocument && d.ownerDocument.defaultView || window).getSelection(), d = { anchorNode: d.anchorNode, anchorOffset: d.anchorOffset, focusNode: d.focusNode, focusOffset: d.focusOffset }), Se && Ie(Se, d) || (Se = d, d = oe(Re, "onSelect"), 0 < d.length && (b = new td("onSelect", "select", null, b, c), a.push({ event: b, listeners: d }), b.target = Qe))); + } + function Ve(a, b) { + var c = {}; + c[a.toLowerCase()] = b.toLowerCase(); + c["Webkit" + a] = "webkit" + b; + c["Moz" + a] = "moz" + b; + return c; + } + var We = { animationend: Ve("Animation", "AnimationEnd"), animationiteration: Ve("Animation", "AnimationIteration"), animationstart: Ve("Animation", "AnimationStart"), transitionend: Ve("Transition", "TransitionEnd") }; + var Xe = {}; + var Ye = {}; + ia && (Ye = document.createElement("div").style, "AnimationEvent" in window || (delete We.animationend.animation, delete We.animationiteration.animation, delete We.animationstart.animation), "TransitionEvent" in window || delete We.transitionend.transition); + function Ze(a) { + if (Xe[a]) + return Xe[a]; + if (!We[a]) + return a; + var b = We[a], c; + for (c in b) + if (b.hasOwnProperty(c) && c in Ye) + return Xe[a] = b[c]; + return a; + } + var $e = Ze("animationend"); + var af = Ze("animationiteration"); + var bf = Ze("animationstart"); + var cf = Ze("transitionend"); + var df = /* @__PURE__ */ new Map(); + var ef = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); + function ff(a, b) { + df.set(a, b); + fa(b, [a]); + } + for (gf = 0; gf < ef.length; gf++) { + hf = ef[gf], jf = hf.toLowerCase(), kf = hf[0].toUpperCase() + hf.slice(1); + ff(jf, "on" + kf); + } + var hf; + var jf; + var kf; + var gf; + ff($e, "onAnimationEnd"); + ff(af, "onAnimationIteration"); + ff(bf, "onAnimationStart"); + ff("dblclick", "onDoubleClick"); + ff("focusin", "onFocus"); + ff("focusout", "onBlur"); + ff(cf, "onTransitionEnd"); + ha("onMouseEnter", ["mouseout", "mouseover"]); + ha("onMouseLeave", ["mouseout", "mouseover"]); + ha("onPointerEnter", ["pointerout", "pointerover"]); + ha("onPointerLeave", ["pointerout", "pointerover"]); + fa("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")); + fa("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")); + fa("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); + fa("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")); + fa("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")); + fa("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); + var lf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "); + var mf = new Set("cancel close invalid load scroll toggle".split(" ").concat(lf)); + function nf(a, b, c) { + var d = a.type || "unknown-event"; + a.currentTarget = c; + Ub(d, b, void 0, a); + a.currentTarget = null; + } + function se(a, b) { + b = 0 !== (b & 4); + for (var c = 0; c < a.length; c++) { + var d = a[c], e = d.event; + d = d.listeners; + a: { + var f = void 0; + if (b) + for (var g = d.length - 1; 0 <= g; g--) { + var h = d[g], k = h.instance, l = h.currentTarget; + h = h.listener; + if (k !== f && e.isPropagationStopped()) + break a; + nf(e, h, l); + f = k; + } + else + for (g = 0; g < d.length; g++) { + h = d[g]; + k = h.instance; + l = h.currentTarget; + h = h.listener; + if (k !== f && e.isPropagationStopped()) + break a; + nf(e, h, l); + f = k; + } + } + } + if (Qb) + throw a = Rb, Qb = false, Rb = null, a; + } + function D(a, b) { + var c = b[of]; + void 0 === c && (c = b[of] = /* @__PURE__ */ new Set()); + var d = a + "__bubble"; + c.has(d) || (pf(b, a, 2, false), c.add(d)); + } + function qf(a, b, c) { + var d = 0; + b && (d |= 4); + pf(c, a, d, b); + } + var rf = "_reactListening" + Math.random().toString(36).slice(2); + function sf(a) { + if (!a[rf]) { + a[rf] = true; + da.forEach(function(b2) { + "selectionchange" !== b2 && (mf.has(b2) || qf(b2, false, a), qf(b2, true, a)); + }); + var b = 9 === a.nodeType ? a : a.ownerDocument; + null === b || b[rf] || (b[rf] = true, qf("selectionchange", false, b)); + } + } + function pf(a, b, c, d) { + switch (jd(b)) { + case 1: + var e = ed; + break; + case 4: + e = gd; + break; + default: + e = fd; + } + c = e.bind(null, b, c, a); + e = void 0; + !Lb || "touchstart" !== b && "touchmove" !== b && "wheel" !== b || (e = true); + d ? void 0 !== e ? a.addEventListener(b, c, { capture: true, passive: e }) : a.addEventListener(b, c, true) : void 0 !== e ? a.addEventListener(b, c, { passive: e }) : a.addEventListener(b, c, false); + } + function hd(a, b, c, d, e) { + var f = d; + if (0 === (b & 1) && 0 === (b & 2) && null !== d) + a: + for (; ; ) { + if (null === d) + return; + var g = d.tag; + if (3 === g || 4 === g) { + var h = d.stateNode.containerInfo; + if (h === e || 8 === h.nodeType && h.parentNode === e) + break; + if (4 === g) + for (g = d.return; null !== g; ) { + var k = g.tag; + if (3 === k || 4 === k) { + if (k = g.stateNode.containerInfo, k === e || 8 === k.nodeType && k.parentNode === e) + return; + } + g = g.return; + } + for (; null !== h; ) { + g = Wc(h); + if (null === g) + return; + k = g.tag; + if (5 === k || 6 === k) { + d = f = g; + continue a; + } + h = h.parentNode; + } + } + d = d.return; + } + Jb(function() { + var d2 = f, e2 = xb(c), g2 = []; + a: { + var h2 = df.get(a); + if (void 0 !== h2) { + var k2 = td, n = a; + switch (a) { + case "keypress": + if (0 === od(c)) + break a; + case "keydown": + case "keyup": + k2 = Rd; + break; + case "focusin": + n = "focus"; + k2 = Fd; + break; + case "focusout": + n = "blur"; + k2 = Fd; + break; + case "beforeblur": + case "afterblur": + k2 = Fd; + break; + case "click": + if (2 === c.button) + break a; + case "auxclick": + case "dblclick": + case "mousedown": + case "mousemove": + case "mouseup": + case "mouseout": + case "mouseover": + case "contextmenu": + k2 = Bd; + break; + case "drag": + case "dragend": + case "dragenter": + case "dragexit": + case "dragleave": + case "dragover": + case "dragstart": + case "drop": + k2 = Dd; + break; + case "touchcancel": + case "touchend": + case "touchmove": + case "touchstart": + k2 = Vd; + break; + case $e: + case af: + case bf: + k2 = Hd; + break; + case cf: + k2 = Xd; + break; + case "scroll": + k2 = vd; + break; + case "wheel": + k2 = Zd; + break; + case "copy": + case "cut": + case "paste": + k2 = Jd; + break; + case "gotpointercapture": + case "lostpointercapture": + case "pointercancel": + case "pointerdown": + case "pointermove": + case "pointerout": + case "pointerover": + case "pointerup": + k2 = Td; + } + var t = 0 !== (b & 4), J = !t && "scroll" === a, x = t ? null !== h2 ? h2 + "Capture" : null : h2; + t = []; + for (var w = d2, u; null !== w; ) { + u = w; + var F = u.stateNode; + 5 === u.tag && null !== F && (u = F, null !== x && (F = Kb(w, x), null != F && t.push(tf(w, F, u)))); + if (J) + break; + w = w.return; + } + 0 < t.length && (h2 = new k2(h2, n, null, c, e2), g2.push({ event: h2, listeners: t })); + } + } + if (0 === (b & 7)) { + a: { + h2 = "mouseover" === a || "pointerover" === a; + k2 = "mouseout" === a || "pointerout" === a; + if (h2 && c !== wb && (n = c.relatedTarget || c.fromElement) && (Wc(n) || n[uf])) + break a; + if (k2 || h2) { + h2 = e2.window === e2 ? e2 : (h2 = e2.ownerDocument) ? h2.defaultView || h2.parentWindow : window; + if (k2) { + if (n = c.relatedTarget || c.toElement, k2 = d2, n = n ? Wc(n) : null, null !== n && (J = Vb(n), n !== J || 5 !== n.tag && 6 !== n.tag)) + n = null; + } else + k2 = null, n = d2; + if (k2 !== n) { + t = Bd; + F = "onMouseLeave"; + x = "onMouseEnter"; + w = "mouse"; + if ("pointerout" === a || "pointerover" === a) + t = Td, F = "onPointerLeave", x = "onPointerEnter", w = "pointer"; + J = null == k2 ? h2 : ue(k2); + u = null == n ? h2 : ue(n); + h2 = new t(F, w + "leave", k2, c, e2); + h2.target = J; + h2.relatedTarget = u; + F = null; + Wc(e2) === d2 && (t = new t(x, w + "enter", n, c, e2), t.target = u, t.relatedTarget = J, F = t); + J = F; + if (k2 && n) + b: { + t = k2; + x = n; + w = 0; + for (u = t; u; u = vf(u)) + w++; + u = 0; + for (F = x; F; F = vf(F)) + u++; + for (; 0 < w - u; ) + t = vf(t), w--; + for (; 0 < u - w; ) + x = vf(x), u--; + for (; w--; ) { + if (t === x || null !== x && t === x.alternate) + break b; + t = vf(t); + x = vf(x); + } + t = null; + } + else + t = null; + null !== k2 && wf(g2, h2, k2, t, false); + null !== n && null !== J && wf(g2, J, n, t, true); + } + } + } + a: { + h2 = d2 ? ue(d2) : window; + k2 = h2.nodeName && h2.nodeName.toLowerCase(); + if ("select" === k2 || "input" === k2 && "file" === h2.type) + var na = ve; + else if (me(h2)) + if (we) + na = Fe; + else { + na = De; + var xa = Ce; + } + else + (k2 = h2.nodeName) && "input" === k2.toLowerCase() && ("checkbox" === h2.type || "radio" === h2.type) && (na = Ee); + if (na && (na = na(a, d2))) { + ne(g2, na, c, e2); + break a; + } + xa && xa(a, h2, d2); + "focusout" === a && (xa = h2._wrapperState) && xa.controlled && "number" === h2.type && cb(h2, "number", h2.value); + } + xa = d2 ? ue(d2) : window; + switch (a) { + case "focusin": + if (me(xa) || "true" === xa.contentEditable) + Qe = xa, Re = d2, Se = null; + break; + case "focusout": + Se = Re = Qe = null; + break; + case "mousedown": + Te = true; + break; + case "contextmenu": + case "mouseup": + case "dragend": + Te = false; + Ue(g2, c, e2); + break; + case "selectionchange": + if (Pe) + break; + case "keydown": + case "keyup": + Ue(g2, c, e2); + } + var $a; + if (ae) + b: { + switch (a) { + case "compositionstart": + var ba = "onCompositionStart"; + break b; + case "compositionend": + ba = "onCompositionEnd"; + break b; + case "compositionupdate": + ba = "onCompositionUpdate"; + break b; + } + ba = void 0; + } + else + ie ? ge(a, c) && (ba = "onCompositionEnd") : "keydown" === a && 229 === c.keyCode && (ba = "onCompositionStart"); + ba && (de && "ko" !== c.locale && (ie || "onCompositionStart" !== ba ? "onCompositionEnd" === ba && ie && ($a = nd()) : (kd = e2, ld = "value" in kd ? kd.value : kd.textContent, ie = true)), xa = oe(d2, ba), 0 < xa.length && (ba = new Ld(ba, a, null, c, e2), g2.push({ event: ba, listeners: xa }), $a ? ba.data = $a : ($a = he(c), null !== $a && (ba.data = $a)))); + if ($a = ce ? je(a, c) : ke(a, c)) + d2 = oe(d2, "onBeforeInput"), 0 < d2.length && (e2 = new Ld("onBeforeInput", "beforeinput", null, c, e2), g2.push({ event: e2, listeners: d2 }), e2.data = $a); + } + se(g2, b); + }); + } + function tf(a, b, c) { + return { instance: a, listener: b, currentTarget: c }; + } + function oe(a, b) { + for (var c = b + "Capture", d = []; null !== a; ) { + var e = a, f = e.stateNode; + 5 === e.tag && null !== f && (e = f, f = Kb(a, c), null != f && d.unshift(tf(a, f, e)), f = Kb(a, b), null != f && d.push(tf(a, f, e))); + a = a.return; + } + return d; + } + function vf(a) { + if (null === a) + return null; + do + a = a.return; + while (a && 5 !== a.tag); + return a ? a : null; + } + function wf(a, b, c, d, e) { + for (var f = b._reactName, g = []; null !== c && c !== d; ) { + var h = c, k = h.alternate, l = h.stateNode; + if (null !== k && k === d) + break; + 5 === h.tag && null !== l && (h = l, e ? (k = Kb(c, f), null != k && g.unshift(tf(c, k, h))) : e || (k = Kb(c, f), null != k && g.push(tf(c, k, h)))); + c = c.return; + } + 0 !== g.length && a.push({ event: b, listeners: g }); + } + var xf = /\r\n?/g; + var yf = /\u0000|\uFFFD/g; + function zf(a) { + return ("string" === typeof a ? a : "" + a).replace(xf, "\n").replace(yf, ""); + } + function Af(a, b, c) { + b = zf(b); + if (zf(a) !== b && c) + throw Error(p(425)); + } + function Bf() { + } + var Cf = null; + var Df = null; + function Ef(a, b) { + return "textarea" === a || "noscript" === a || "string" === typeof b.children || "number" === typeof b.children || "object" === typeof b.dangerouslySetInnerHTML && null !== b.dangerouslySetInnerHTML && null != b.dangerouslySetInnerHTML.__html; + } + var Ff = "function" === typeof setTimeout ? setTimeout : void 0; + var Gf = "function" === typeof clearTimeout ? clearTimeout : void 0; + var Hf = "function" === typeof Promise ? Promise : void 0; + var Jf = "function" === typeof queueMicrotask ? queueMicrotask : "undefined" !== typeof Hf ? function(a) { + return Hf.resolve(null).then(a).catch(If); + } : Ff; + function If(a) { + setTimeout(function() { + throw a; + }); + } + function Kf(a, b) { + var c = b, d = 0; + do { + var e = c.nextSibling; + a.removeChild(c); + if (e && 8 === e.nodeType) + if (c = e.data, "/$" === c) { + if (0 === d) { + a.removeChild(e); + bd(b); + return; + } + d--; + } else + "$" !== c && "$?" !== c && "$!" !== c || d++; + c = e; + } while (c); + bd(b); + } + function Lf(a) { + for (; null != a; a = a.nextSibling) { + var b = a.nodeType; + if (1 === b || 3 === b) + break; + if (8 === b) { + b = a.data; + if ("$" === b || "$!" === b || "$?" === b) + break; + if ("/$" === b) + return null; + } + } + return a; + } + function Mf(a) { + a = a.previousSibling; + for (var b = 0; a; ) { + if (8 === a.nodeType) { + var c = a.data; + if ("$" === c || "$!" === c || "$?" === c) { + if (0 === b) + return a; + b--; + } else + "/$" === c && b++; + } + a = a.previousSibling; + } + return null; + } + var Nf = Math.random().toString(36).slice(2); + var Of = "__reactFiber$" + Nf; + var Pf = "__reactProps$" + Nf; + var uf = "__reactContainer$" + Nf; + var of = "__reactEvents$" + Nf; + var Qf = "__reactListeners$" + Nf; + var Rf = "__reactHandles$" + Nf; + function Wc(a) { + var b = a[Of]; + if (b) + return b; + for (var c = a.parentNode; c; ) { + if (b = c[uf] || c[Of]) { + c = b.alternate; + if (null !== b.child || null !== c && null !== c.child) + for (a = Mf(a); null !== a; ) { + if (c = a[Of]) + return c; + a = Mf(a); + } + return b; + } + a = c; + c = a.parentNode; + } + return null; + } + function Cb(a) { + a = a[Of] || a[uf]; + return !a || 5 !== a.tag && 6 !== a.tag && 13 !== a.tag && 3 !== a.tag ? null : a; + } + function ue(a) { + if (5 === a.tag || 6 === a.tag) + return a.stateNode; + throw Error(p(33)); + } + function Db(a) { + return a[Pf] || null; + } + var Sf = []; + var Tf = -1; + function Uf(a) { + return { current: a }; + } + function E(a) { + 0 > Tf || (a.current = Sf[Tf], Sf[Tf] = null, Tf--); + } + function G(a, b) { + Tf++; + Sf[Tf] = a.current; + a.current = b; + } + var Vf = {}; + var H = Uf(Vf); + var Wf = Uf(false); + var Xf = Vf; + function Yf(a, b) { + var c = a.type.contextTypes; + if (!c) + return Vf; + var d = a.stateNode; + if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) + return d.__reactInternalMemoizedMaskedChildContext; + var e = {}, f; + for (f in c) + e[f] = b[f]; + d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e); + return e; + } + function Zf(a) { + a = a.childContextTypes; + return null !== a && void 0 !== a; + } + function $f() { + E(Wf); + E(H); + } + function ag(a, b, c) { + if (H.current !== Vf) + throw Error(p(168)); + G(H, b); + G(Wf, c); + } + function bg(a, b, c) { + var d = a.stateNode; + b = b.childContextTypes; + if ("function" !== typeof d.getChildContext) + return c; + d = d.getChildContext(); + for (var e in d) + if (!(e in b)) + throw Error(p(108, Ra(a) || "Unknown", e)); + return A({}, c, d); + } + function cg(a) { + a = (a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext || Vf; + Xf = H.current; + G(H, a); + G(Wf, Wf.current); + return true; + } + function dg(a, b, c) { + var d = a.stateNode; + if (!d) + throw Error(p(169)); + c ? (a = bg(a, b, Xf), d.__reactInternalMemoizedMergedChildContext = a, E(Wf), E(H), G(H, a)) : E(Wf); + G(Wf, c); + } + var eg = null; + var fg = false; + var gg = false; + function hg(a) { + null === eg ? eg = [a] : eg.push(a); + } + function ig(a) { + fg = true; + hg(a); + } + function jg() { + if (!gg && null !== eg) { + gg = true; + var a = 0, b = C; + try { + var c = eg; + for (C = 1; a < c.length; a++) { + var d = c[a]; + do + d = d(true); + while (null !== d); + } + eg = null; + fg = false; + } catch (e) { + throw null !== eg && (eg = eg.slice(a + 1)), ac(fc, jg), e; + } finally { + C = b, gg = false; + } + } + return null; + } + var kg = []; + var lg = 0; + var mg = null; + var ng = 0; + var og = []; + var pg = 0; + var qg = null; + var rg = 1; + var sg = ""; + function tg(a, b) { + kg[lg++] = ng; + kg[lg++] = mg; + mg = a; + ng = b; + } + function ug(a, b, c) { + og[pg++] = rg; + og[pg++] = sg; + og[pg++] = qg; + qg = a; + var d = rg; + a = sg; + var e = 32 - oc(d) - 1; + d &= ~(1 << e); + c += 1; + var f = 32 - oc(b) + e; + if (30 < f) { + var g = e - e % 5; + f = (d & (1 << g) - 1).toString(32); + d >>= g; + e -= g; + rg = 1 << 32 - oc(b) + e | c << e | d; + sg = f + a; + } else + rg = 1 << f | c << e | d, sg = a; + } + function vg(a) { + null !== a.return && (tg(a, 1), ug(a, 1, 0)); + } + function wg(a) { + for (; a === mg; ) + mg = kg[--lg], kg[lg] = null, ng = kg[--lg], kg[lg] = null; + for (; a === qg; ) + qg = og[--pg], og[pg] = null, sg = og[--pg], og[pg] = null, rg = og[--pg], og[pg] = null; + } + var xg = null; + var yg = null; + var I = false; + var zg = null; + function Ag(a, b) { + var c = Bg(5, null, null, 0); + c.elementType = "DELETED"; + c.stateNode = b; + c.return = a; + b = a.deletions; + null === b ? (a.deletions = [c], a.flags |= 16) : b.push(c); + } + function Cg(a, b) { + switch (a.tag) { + case 5: + var c = a.type; + b = 1 !== b.nodeType || c.toLowerCase() !== b.nodeName.toLowerCase() ? null : b; + return null !== b ? (a.stateNode = b, xg = a, yg = Lf(b.firstChild), true) : false; + case 6: + return b = "" === a.pendingProps || 3 !== b.nodeType ? null : b, null !== b ? (a.stateNode = b, xg = a, yg = null, true) : false; + case 13: + return b = 8 !== b.nodeType ? null : b, null !== b ? (c = null !== qg ? { id: rg, overflow: sg } : null, a.memoizedState = { dehydrated: b, treeContext: c, retryLane: 1073741824 }, c = Bg(18, null, null, 0), c.stateNode = b, c.return = a, a.child = c, xg = a, yg = null, true) : false; + default: + return false; + } + } + function Dg(a) { + return 0 !== (a.mode & 1) && 0 === (a.flags & 128); + } + function Eg(a) { + if (I) { + var b = yg; + if (b) { + var c = b; + if (!Cg(a, b)) { + if (Dg(a)) + throw Error(p(418)); + b = Lf(c.nextSibling); + var d = xg; + b && Cg(a, b) ? Ag(d, c) : (a.flags = a.flags & -4097 | 2, I = false, xg = a); + } + } else { + if (Dg(a)) + throw Error(p(418)); + a.flags = a.flags & -4097 | 2; + I = false; + xg = a; + } + } + } + function Fg(a) { + for (a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag; ) + a = a.return; + xg = a; + } + function Gg(a) { + if (a !== xg) + return false; + if (!I) + return Fg(a), I = true, false; + var b; + (b = 3 !== a.tag) && !(b = 5 !== a.tag) && (b = a.type, b = "head" !== b && "body" !== b && !Ef(a.type, a.memoizedProps)); + if (b && (b = yg)) { + if (Dg(a)) + throw Hg(), Error(p(418)); + for (; b; ) + Ag(a, b), b = Lf(b.nextSibling); + } + Fg(a); + if (13 === a.tag) { + a = a.memoizedState; + a = null !== a ? a.dehydrated : null; + if (!a) + throw Error(p(317)); + a: { + a = a.nextSibling; + for (b = 0; a; ) { + if (8 === a.nodeType) { + var c = a.data; + if ("/$" === c) { + if (0 === b) { + yg = Lf(a.nextSibling); + break a; + } + b--; + } else + "$" !== c && "$!" !== c && "$?" !== c || b++; + } + a = a.nextSibling; + } + yg = null; + } + } else + yg = xg ? Lf(a.stateNode.nextSibling) : null; + return true; + } + function Hg() { + for (var a = yg; a; ) + a = Lf(a.nextSibling); + } + function Ig() { + yg = xg = null; + I = false; + } + function Jg(a) { + null === zg ? zg = [a] : zg.push(a); + } + var Kg = ua.ReactCurrentBatchConfig; + function Lg(a, b) { + if (a && a.defaultProps) { + b = A({}, b); + a = a.defaultProps; + for (var c in a) + void 0 === b[c] && (b[c] = a[c]); + return b; + } + return b; + } + var Mg = Uf(null); + var Ng = null; + var Og = null; + var Pg = null; + function Qg() { + Pg = Og = Ng = null; + } + function Rg(a) { + var b = Mg.current; + E(Mg); + a._currentValue = b; + } + function Sg(a, b, c) { + for (; null !== a; ) { + var d = a.alternate; + (a.childLanes & b) !== b ? (a.childLanes |= b, null !== d && (d.childLanes |= b)) : null !== d && (d.childLanes & b) !== b && (d.childLanes |= b); + if (a === c) + break; + a = a.return; + } + } + function Tg(a, b) { + Ng = a; + Pg = Og = null; + a = a.dependencies; + null !== a && null !== a.firstContext && (0 !== (a.lanes & b) && (Ug = true), a.firstContext = null); + } + function Vg(a) { + var b = a._currentValue; + if (Pg !== a) + if (a = { context: a, memoizedValue: b, next: null }, null === Og) { + if (null === Ng) + throw Error(p(308)); + Og = a; + Ng.dependencies = { lanes: 0, firstContext: a }; + } else + Og = Og.next = a; + return b; + } + var Wg = null; + function Xg(a) { + null === Wg ? Wg = [a] : Wg.push(a); + } + function Yg(a, b, c, d) { + var e = b.interleaved; + null === e ? (c.next = c, Xg(b)) : (c.next = e.next, e.next = c); + b.interleaved = c; + return Zg(a, d); + } + function Zg(a, b) { + a.lanes |= b; + var c = a.alternate; + null !== c && (c.lanes |= b); + c = a; + for (a = a.return; null !== a; ) + a.childLanes |= b, c = a.alternate, null !== c && (c.childLanes |= b), c = a, a = a.return; + return 3 === c.tag ? c.stateNode : null; + } + var $g = false; + function ah(a) { + a.updateQueue = { baseState: a.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null }; + } + function bh(a, b) { + a = a.updateQueue; + b.updateQueue === a && (b.updateQueue = { baseState: a.baseState, firstBaseUpdate: a.firstBaseUpdate, lastBaseUpdate: a.lastBaseUpdate, shared: a.shared, effects: a.effects }); + } + function ch(a, b) { + return { eventTime: a, lane: b, tag: 0, payload: null, callback: null, next: null }; + } + function dh(a, b, c) { + var d = a.updateQueue; + if (null === d) + return null; + d = d.shared; + if (0 !== (K & 2)) { + var e = d.pending; + null === e ? b.next = b : (b.next = e.next, e.next = b); + d.pending = b; + return Zg(a, c); + } + e = d.interleaved; + null === e ? (b.next = b, Xg(d)) : (b.next = e.next, e.next = b); + d.interleaved = b; + return Zg(a, c); + } + function eh(a, b, c) { + b = b.updateQueue; + if (null !== b && (b = b.shared, 0 !== (c & 4194240))) { + var d = b.lanes; + d &= a.pendingLanes; + c |= d; + b.lanes = c; + Cc(a, c); + } + } + function fh(a, b) { + var c = a.updateQueue, d = a.alternate; + if (null !== d && (d = d.updateQueue, c === d)) { + var e = null, f = null; + c = c.firstBaseUpdate; + if (null !== c) { + do { + var g = { eventTime: c.eventTime, lane: c.lane, tag: c.tag, payload: c.payload, callback: c.callback, next: null }; + null === f ? e = f = g : f = f.next = g; + c = c.next; + } while (null !== c); + null === f ? e = f = b : f = f.next = b; + } else + e = f = b; + c = { baseState: d.baseState, firstBaseUpdate: e, lastBaseUpdate: f, shared: d.shared, effects: d.effects }; + a.updateQueue = c; + return; + } + a = c.lastBaseUpdate; + null === a ? c.firstBaseUpdate = b : a.next = b; + c.lastBaseUpdate = b; + } + function gh(a, b, c, d) { + var e = a.updateQueue; + $g = false; + var f = e.firstBaseUpdate, g = e.lastBaseUpdate, h = e.shared.pending; + if (null !== h) { + e.shared.pending = null; + var k = h, l = k.next; + k.next = null; + null === g ? f = l : g.next = l; + g = k; + var m = a.alternate; + null !== m && (m = m.updateQueue, h = m.lastBaseUpdate, h !== g && (null === h ? m.firstBaseUpdate = l : h.next = l, m.lastBaseUpdate = k)); + } + if (null !== f) { + var q = e.baseState; + g = 0; + m = l = k = null; + h = f; + do { + var r = h.lane, y = h.eventTime; + if ((d & r) === r) { + null !== m && (m = m.next = { + eventTime: y, + lane: 0, + tag: h.tag, + payload: h.payload, + callback: h.callback, + next: null + }); + a: { + var n = a, t = h; + r = b; + y = c; + switch (t.tag) { + case 1: + n = t.payload; + if ("function" === typeof n) { + q = n.call(y, q, r); + break a; + } + q = n; + break a; + case 3: + n.flags = n.flags & -65537 | 128; + case 0: + n = t.payload; + r = "function" === typeof n ? n.call(y, q, r) : n; + if (null === r || void 0 === r) + break a; + q = A({}, q, r); + break a; + case 2: + $g = true; + } + } + null !== h.callback && 0 !== h.lane && (a.flags |= 64, r = e.effects, null === r ? e.effects = [h] : r.push(h)); + } else + y = { eventTime: y, lane: r, tag: h.tag, payload: h.payload, callback: h.callback, next: null }, null === m ? (l = m = y, k = q) : m = m.next = y, g |= r; + h = h.next; + if (null === h) + if (h = e.shared.pending, null === h) + break; + else + r = h, h = r.next, r.next = null, e.lastBaseUpdate = r, e.shared.pending = null; + } while (1); + null === m && (k = q); + e.baseState = k; + e.firstBaseUpdate = l; + e.lastBaseUpdate = m; + b = e.shared.interleaved; + if (null !== b) { + e = b; + do + g |= e.lane, e = e.next; + while (e !== b); + } else + null === f && (e.shared.lanes = 0); + hh |= g; + a.lanes = g; + a.memoizedState = q; + } + } + function ih(a, b, c) { + a = b.effects; + b.effects = null; + if (null !== a) + for (b = 0; b < a.length; b++) { + var d = a[b], e = d.callback; + if (null !== e) { + d.callback = null; + d = c; + if ("function" !== typeof e) + throw Error(p(191, e)); + e.call(d); + } + } + } + var jh = new aa.Component().refs; + function kh(a, b, c, d) { + b = a.memoizedState; + c = c(d, b); + c = null === c || void 0 === c ? b : A({}, b, c); + a.memoizedState = c; + 0 === a.lanes && (a.updateQueue.baseState = c); + } + var nh = { isMounted: function(a) { + return (a = a._reactInternals) ? Vb(a) === a : false; + }, enqueueSetState: function(a, b, c) { + a = a._reactInternals; + var d = L(), e = lh(a), f = ch(d, e); + f.payload = b; + void 0 !== c && null !== c && (f.callback = c); + b = dh(a, f, e); + null !== b && (mh(b, a, e, d), eh(b, a, e)); + }, enqueueReplaceState: function(a, b, c) { + a = a._reactInternals; + var d = L(), e = lh(a), f = ch(d, e); + f.tag = 1; + f.payload = b; + void 0 !== c && null !== c && (f.callback = c); + b = dh(a, f, e); + null !== b && (mh(b, a, e, d), eh(b, a, e)); + }, enqueueForceUpdate: function(a, b) { + a = a._reactInternals; + var c = L(), d = lh(a), e = ch(c, d); + e.tag = 2; + void 0 !== b && null !== b && (e.callback = b); + b = dh(a, e, d); + null !== b && (mh(b, a, d, c), eh(b, a, d)); + } }; + function oh(a, b, c, d, e, f, g) { + a = a.stateNode; + return "function" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !Ie(c, d) || !Ie(e, f) : true; + } + function ph(a, b, c) { + var d = false, e = Vf; + var f = b.contextType; + "object" === typeof f && null !== f ? f = Vg(f) : (e = Zf(b) ? Xf : H.current, d = b.contextTypes, f = (d = null !== d && void 0 !== d) ? Yf(a, e) : Vf); + b = new b(c, f); + a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null; + b.updater = nh; + a.stateNode = b; + b._reactInternals = a; + d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f); + return b; + } + function qh(a, b, c, d) { + a = b.state; + "function" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d); + "function" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d); + b.state !== a && nh.enqueueReplaceState(b, b.state, null); + } + function rh(a, b, c, d) { + var e = a.stateNode; + e.props = c; + e.state = a.memoizedState; + e.refs = jh; + ah(a); + var f = b.contextType; + "object" === typeof f && null !== f ? e.context = Vg(f) : (f = Zf(b) ? Xf : H.current, e.context = Yf(a, f)); + e.state = a.memoizedState; + f = b.getDerivedStateFromProps; + "function" === typeof f && (kh(a, b, f, c), e.state = a.memoizedState); + "function" === typeof b.getDerivedStateFromProps || "function" === typeof e.getSnapshotBeforeUpdate || "function" !== typeof e.UNSAFE_componentWillMount && "function" !== typeof e.componentWillMount || (b = e.state, "function" === typeof e.componentWillMount && e.componentWillMount(), "function" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && nh.enqueueReplaceState(e, e.state, null), gh(a, c, e, d), e.state = a.memoizedState); + "function" === typeof e.componentDidMount && (a.flags |= 4194308); + } + function sh(a, b, c) { + a = c.ref; + if (null !== a && "function" !== typeof a && "object" !== typeof a) { + if (c._owner) { + c = c._owner; + if (c) { + if (1 !== c.tag) + throw Error(p(309)); + var d = c.stateNode; + } + if (!d) + throw Error(p(147, a)); + var e = d, f = "" + a; + if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === f) + return b.ref; + b = function(a2) { + var b2 = e.refs; + b2 === jh && (b2 = e.refs = {}); + null === a2 ? delete b2[f] : b2[f] = a2; + }; + b._stringRef = f; + return b; + } + if ("string" !== typeof a) + throw Error(p(284)); + if (!c._owner) + throw Error(p(290, a)); + } + return a; + } + function th(a, b) { + a = Object.prototype.toString.call(b); + throw Error(p(31, "[object Object]" === a ? "object with keys {" + Object.keys(b).join(", ") + "}" : a)); + } + function uh(a) { + var b = a._init; + return b(a._payload); + } + function vh(a) { + function b(b2, c2) { + if (a) { + var d2 = b2.deletions; + null === d2 ? (b2.deletions = [c2], b2.flags |= 16) : d2.push(c2); + } + } + function c(c2, d2) { + if (!a) + return null; + for (; null !== d2; ) + b(c2, d2), d2 = d2.sibling; + return null; + } + function d(a2, b2) { + for (a2 = /* @__PURE__ */ new Map(); null !== b2; ) + null !== b2.key ? a2.set(b2.key, b2) : a2.set(b2.index, b2), b2 = b2.sibling; + return a2; + } + function e(a2, b2) { + a2 = wh(a2, b2); + a2.index = 0; + a2.sibling = null; + return a2; + } + function f(b2, c2, d2) { + b2.index = d2; + if (!a) + return b2.flags |= 1048576, c2; + d2 = b2.alternate; + if (null !== d2) + return d2 = d2.index, d2 < c2 ? (b2.flags |= 2, c2) : d2; + b2.flags |= 2; + return c2; + } + function g(b2) { + a && null === b2.alternate && (b2.flags |= 2); + return b2; + } + function h(a2, b2, c2, d2) { + if (null === b2 || 6 !== b2.tag) + return b2 = xh(c2, a2.mode, d2), b2.return = a2, b2; + b2 = e(b2, c2); + b2.return = a2; + return b2; + } + function k(a2, b2, c2, d2) { + var f2 = c2.type; + if (f2 === ya) + return m(a2, b2, c2.props.children, d2, c2.key); + if (null !== b2 && (b2.elementType === f2 || "object" === typeof f2 && null !== f2 && f2.$$typeof === Ha && uh(f2) === b2.type)) + return d2 = e(b2, c2.props), d2.ref = sh(a2, b2, c2), d2.return = a2, d2; + d2 = yh(c2.type, c2.key, c2.props, null, a2.mode, d2); + d2.ref = sh(a2, b2, c2); + d2.return = a2; + return d2; + } + function l(a2, b2, c2, d2) { + if (null === b2 || 4 !== b2.tag || b2.stateNode.containerInfo !== c2.containerInfo || b2.stateNode.implementation !== c2.implementation) + return b2 = zh(c2, a2.mode, d2), b2.return = a2, b2; + b2 = e(b2, c2.children || []); + b2.return = a2; + return b2; + } + function m(a2, b2, c2, d2, f2) { + if (null === b2 || 7 !== b2.tag) + return b2 = Ah(c2, a2.mode, d2, f2), b2.return = a2, b2; + b2 = e(b2, c2); + b2.return = a2; + return b2; + } + function q(a2, b2, c2) { + if ("string" === typeof b2 && "" !== b2 || "number" === typeof b2) + return b2 = xh("" + b2, a2.mode, c2), b2.return = a2, b2; + if ("object" === typeof b2 && null !== b2) { + switch (b2.$$typeof) { + case va: + return c2 = yh(b2.type, b2.key, b2.props, null, a2.mode, c2), c2.ref = sh(a2, null, b2), c2.return = a2, c2; + case wa: + return b2 = zh(b2, a2.mode, c2), b2.return = a2, b2; + case Ha: + var d2 = b2._init; + return q(a2, d2(b2._payload), c2); + } + if (eb(b2) || Ka(b2)) + return b2 = Ah(b2, a2.mode, c2, null), b2.return = a2, b2; + th(a2, b2); + } + return null; + } + function r(a2, b2, c2, d2) { + var e2 = null !== b2 ? b2.key : null; + if ("string" === typeof c2 && "" !== c2 || "number" === typeof c2) + return null !== e2 ? null : h(a2, b2, "" + c2, d2); + if ("object" === typeof c2 && null !== c2) { + switch (c2.$$typeof) { + case va: + return c2.key === e2 ? k(a2, b2, c2, d2) : null; + case wa: + return c2.key === e2 ? l(a2, b2, c2, d2) : null; + case Ha: + return e2 = c2._init, r( + a2, + b2, + e2(c2._payload), + d2 + ); + } + if (eb(c2) || Ka(c2)) + return null !== e2 ? null : m(a2, b2, c2, d2, null); + th(a2, c2); + } + return null; + } + function y(a2, b2, c2, d2, e2) { + if ("string" === typeof d2 && "" !== d2 || "number" === typeof d2) + return a2 = a2.get(c2) || null, h(b2, a2, "" + d2, e2); + if ("object" === typeof d2 && null !== d2) { + switch (d2.$$typeof) { + case va: + return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, k(b2, a2, d2, e2); + case wa: + return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, l(b2, a2, d2, e2); + case Ha: + var f2 = d2._init; + return y(a2, b2, c2, f2(d2._payload), e2); + } + if (eb(d2) || Ka(d2)) + return a2 = a2.get(c2) || null, m(b2, a2, d2, e2, null); + th(b2, d2); + } + return null; + } + function n(e2, g2, h2, k2) { + for (var l2 = null, m2 = null, u = g2, w = g2 = 0, x = null; null !== u && w < h2.length; w++) { + u.index > w ? (x = u, u = null) : x = u.sibling; + var n2 = r(e2, u, h2[w], k2); + if (null === n2) { + null === u && (u = x); + break; + } + a && u && null === n2.alternate && b(e2, u); + g2 = f(n2, g2, w); + null === m2 ? l2 = n2 : m2.sibling = n2; + m2 = n2; + u = x; + } + if (w === h2.length) + return c(e2, u), I && tg(e2, w), l2; + if (null === u) { + for (; w < h2.length; w++) + u = q(e2, h2[w], k2), null !== u && (g2 = f(u, g2, w), null === m2 ? l2 = u : m2.sibling = u, m2 = u); + I && tg(e2, w); + return l2; + } + for (u = d(e2, u); w < h2.length; w++) + x = y(u, e2, w, h2[w], k2), null !== x && (a && null !== x.alternate && u.delete(null === x.key ? w : x.key), g2 = f(x, g2, w), null === m2 ? l2 = x : m2.sibling = x, m2 = x); + a && u.forEach(function(a2) { + return b(e2, a2); + }); + I && tg(e2, w); + return l2; + } + function t(e2, g2, h2, k2) { + var l2 = Ka(h2); + if ("function" !== typeof l2) + throw Error(p(150)); + h2 = l2.call(h2); + if (null == h2) + throw Error(p(151)); + for (var u = l2 = null, m2 = g2, w = g2 = 0, x = null, n2 = h2.next(); null !== m2 && !n2.done; w++, n2 = h2.next()) { + m2.index > w ? (x = m2, m2 = null) : x = m2.sibling; + var t2 = r(e2, m2, n2.value, k2); + if (null === t2) { + null === m2 && (m2 = x); + break; + } + a && m2 && null === t2.alternate && b(e2, m2); + g2 = f(t2, g2, w); + null === u ? l2 = t2 : u.sibling = t2; + u = t2; + m2 = x; + } + if (n2.done) + return c( + e2, + m2 + ), I && tg(e2, w), l2; + if (null === m2) { + for (; !n2.done; w++, n2 = h2.next()) + n2 = q(e2, n2.value, k2), null !== n2 && (g2 = f(n2, g2, w), null === u ? l2 = n2 : u.sibling = n2, u = n2); + I && tg(e2, w); + return l2; + } + for (m2 = d(e2, m2); !n2.done; w++, n2 = h2.next()) + n2 = y(m2, e2, w, n2.value, k2), null !== n2 && (a && null !== n2.alternate && m2.delete(null === n2.key ? w : n2.key), g2 = f(n2, g2, w), null === u ? l2 = n2 : u.sibling = n2, u = n2); + a && m2.forEach(function(a2) { + return b(e2, a2); + }); + I && tg(e2, w); + return l2; + } + function J(a2, d2, f2, h2) { + "object" === typeof f2 && null !== f2 && f2.type === ya && null === f2.key && (f2 = f2.props.children); + if ("object" === typeof f2 && null !== f2) { + switch (f2.$$typeof) { + case va: + a: { + for (var k2 = f2.key, l2 = d2; null !== l2; ) { + if (l2.key === k2) { + k2 = f2.type; + if (k2 === ya) { + if (7 === l2.tag) { + c(a2, l2.sibling); + d2 = e(l2, f2.props.children); + d2.return = a2; + a2 = d2; + break a; + } + } else if (l2.elementType === k2 || "object" === typeof k2 && null !== k2 && k2.$$typeof === Ha && uh(k2) === l2.type) { + c(a2, l2.sibling); + d2 = e(l2, f2.props); + d2.ref = sh(a2, l2, f2); + d2.return = a2; + a2 = d2; + break a; + } + c(a2, l2); + break; + } else + b(a2, l2); + l2 = l2.sibling; + } + f2.type === ya ? (d2 = Ah(f2.props.children, a2.mode, h2, f2.key), d2.return = a2, a2 = d2) : (h2 = yh(f2.type, f2.key, f2.props, null, a2.mode, h2), h2.ref = sh(a2, d2, f2), h2.return = a2, a2 = h2); + } + return g(a2); + case wa: + a: { + for (l2 = f2.key; null !== d2; ) { + if (d2.key === l2) + if (4 === d2.tag && d2.stateNode.containerInfo === f2.containerInfo && d2.stateNode.implementation === f2.implementation) { + c(a2, d2.sibling); + d2 = e(d2, f2.children || []); + d2.return = a2; + a2 = d2; + break a; + } else { + c(a2, d2); + break; + } + else + b(a2, d2); + d2 = d2.sibling; + } + d2 = zh(f2, a2.mode, h2); + d2.return = a2; + a2 = d2; + } + return g(a2); + case Ha: + return l2 = f2._init, J(a2, d2, l2(f2._payload), h2); + } + if (eb(f2)) + return n(a2, d2, f2, h2); + if (Ka(f2)) + return t(a2, d2, f2, h2); + th(a2, f2); + } + return "string" === typeof f2 && "" !== f2 || "number" === typeof f2 ? (f2 = "" + f2, null !== d2 && 6 === d2.tag ? (c(a2, d2.sibling), d2 = e(d2, f2), d2.return = a2, a2 = d2) : (c(a2, d2), d2 = xh(f2, a2.mode, h2), d2.return = a2, a2 = d2), g(a2)) : c(a2, d2); + } + return J; + } + var Bh = vh(true); + var Ch = vh(false); + var Dh = {}; + var Eh = Uf(Dh); + var Fh = Uf(Dh); + var Gh = Uf(Dh); + function Hh(a) { + if (a === Dh) + throw Error(p(174)); + return a; + } + function Ih(a, b) { + G(Gh, b); + G(Fh, a); + G(Eh, Dh); + a = b.nodeType; + switch (a) { + case 9: + case 11: + b = (b = b.documentElement) ? b.namespaceURI : lb(null, ""); + break; + default: + a = 8 === a ? b.parentNode : b, b = a.namespaceURI || null, a = a.tagName, b = lb(b, a); + } + E(Eh); + G(Eh, b); + } + function Jh() { + E(Eh); + E(Fh); + E(Gh); + } + function Kh(a) { + Hh(Gh.current); + var b = Hh(Eh.current); + var c = lb(b, a.type); + b !== c && (G(Fh, a), G(Eh, c)); + } + function Lh(a) { + Fh.current === a && (E(Eh), E(Fh)); + } + var M = Uf(0); + function Mh(a) { + for (var b = a; null !== b; ) { + if (13 === b.tag) { + var c = b.memoizedState; + if (null !== c && (c = c.dehydrated, null === c || "$?" === c.data || "$!" === c.data)) + return b; + } else if (19 === b.tag && void 0 !== b.memoizedProps.revealOrder) { + if (0 !== (b.flags & 128)) + return b; + } else if (null !== b.child) { + b.child.return = b; + b = b.child; + continue; + } + if (b === a) + break; + for (; null === b.sibling; ) { + if (null === b.return || b.return === a) + return null; + b = b.return; + } + b.sibling.return = b.return; + b = b.sibling; + } + return null; + } + var Nh = []; + function Oh() { + for (var a = 0; a < Nh.length; a++) + Nh[a]._workInProgressVersionPrimary = null; + Nh.length = 0; + } + var Ph = ua.ReactCurrentDispatcher; + var Qh = ua.ReactCurrentBatchConfig; + var Rh = 0; + var N = null; + var O = null; + var P = null; + var Sh = false; + var Th = false; + var Uh = 0; + var Vh = 0; + function Q() { + throw Error(p(321)); + } + function Wh(a, b) { + if (null === b) + return false; + for (var c = 0; c < b.length && c < a.length; c++) + if (!He(a[c], b[c])) + return false; + return true; + } + function Xh(a, b, c, d, e, f) { + Rh = f; + N = b; + b.memoizedState = null; + b.updateQueue = null; + b.lanes = 0; + Ph.current = null === a || null === a.memoizedState ? Yh : Zh; + a = c(d, e); + if (Th) { + f = 0; + do { + Th = false; + Uh = 0; + if (25 <= f) + throw Error(p(301)); + f += 1; + P = O = null; + b.updateQueue = null; + Ph.current = $h; + a = c(d, e); + } while (Th); + } + Ph.current = ai; + b = null !== O && null !== O.next; + Rh = 0; + P = O = N = null; + Sh = false; + if (b) + throw Error(p(300)); + return a; + } + function bi() { + var a = 0 !== Uh; + Uh = 0; + return a; + } + function ci() { + var a = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; + null === P ? N.memoizedState = P = a : P = P.next = a; + return P; + } + function di() { + if (null === O) { + var a = N.alternate; + a = null !== a ? a.memoizedState : null; + } else + a = O.next; + var b = null === P ? N.memoizedState : P.next; + if (null !== b) + P = b, O = a; + else { + if (null === a) + throw Error(p(310)); + O = a; + a = { memoizedState: O.memoizedState, baseState: O.baseState, baseQueue: O.baseQueue, queue: O.queue, next: null }; + null === P ? N.memoizedState = P = a : P = P.next = a; + } + return P; + } + function ei(a, b) { + return "function" === typeof b ? b(a) : b; + } + function fi(a) { + var b = di(), c = b.queue; + if (null === c) + throw Error(p(311)); + c.lastRenderedReducer = a; + var d = O, e = d.baseQueue, f = c.pending; + if (null !== f) { + if (null !== e) { + var g = e.next; + e.next = f.next; + f.next = g; + } + d.baseQueue = e = f; + c.pending = null; + } + if (null !== e) { + f = e.next; + d = d.baseState; + var h = g = null, k = null, l = f; + do { + var m = l.lane; + if ((Rh & m) === m) + null !== k && (k = k.next = { lane: 0, action: l.action, hasEagerState: l.hasEagerState, eagerState: l.eagerState, next: null }), d = l.hasEagerState ? l.eagerState : a(d, l.action); + else { + var q = { + lane: m, + action: l.action, + hasEagerState: l.hasEagerState, + eagerState: l.eagerState, + next: null + }; + null === k ? (h = k = q, g = d) : k = k.next = q; + N.lanes |= m; + hh |= m; + } + l = l.next; + } while (null !== l && l !== f); + null === k ? g = d : k.next = h; + He(d, b.memoizedState) || (Ug = true); + b.memoizedState = d; + b.baseState = g; + b.baseQueue = k; + c.lastRenderedState = d; + } + a = c.interleaved; + if (null !== a) { + e = a; + do + f = e.lane, N.lanes |= f, hh |= f, e = e.next; + while (e !== a); + } else + null === e && (c.lanes = 0); + return [b.memoizedState, c.dispatch]; + } + function gi(a) { + var b = di(), c = b.queue; + if (null === c) + throw Error(p(311)); + c.lastRenderedReducer = a; + var d = c.dispatch, e = c.pending, f = b.memoizedState; + if (null !== e) { + c.pending = null; + var g = e = e.next; + do + f = a(f, g.action), g = g.next; + while (g !== e); + He(f, b.memoizedState) || (Ug = true); + b.memoizedState = f; + null === b.baseQueue && (b.baseState = f); + c.lastRenderedState = f; + } + return [f, d]; + } + function hi() { + } + function ii(a, b) { + var c = N, d = di(), e = b(), f = !He(d.memoizedState, e); + f && (d.memoizedState = e, Ug = true); + d = d.queue; + ji(ki.bind(null, c, d, a), [a]); + if (d.getSnapshot !== b || f || null !== P && P.memoizedState.tag & 1) { + c.flags |= 2048; + li(9, mi.bind(null, c, d, e, b), void 0, null); + if (null === R) + throw Error(p(349)); + 0 !== (Rh & 30) || ni(c, b, e); + } + return e; + } + function ni(a, b, c) { + a.flags |= 16384; + a = { getSnapshot: b, value: c }; + b = N.updateQueue; + null === b ? (b = { lastEffect: null, stores: null }, N.updateQueue = b, b.stores = [a]) : (c = b.stores, null === c ? b.stores = [a] : c.push(a)); + } + function mi(a, b, c, d) { + b.value = c; + b.getSnapshot = d; + oi(b) && pi(a); + } + function ki(a, b, c) { + return c(function() { + oi(b) && pi(a); + }); + } + function oi(a) { + var b = a.getSnapshot; + a = a.value; + try { + var c = b(); + return !He(a, c); + } catch (d) { + return true; + } + } + function pi(a) { + var b = Zg(a, 1); + null !== b && mh(b, a, 1, -1); + } + function qi(a) { + var b = ci(); + "function" === typeof a && (a = a()); + b.memoizedState = b.baseState = a; + a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: ei, lastRenderedState: a }; + b.queue = a; + a = a.dispatch = ri.bind(null, N, a); + return [b.memoizedState, a]; + } + function li(a, b, c, d) { + a = { tag: a, create: b, destroy: c, deps: d, next: null }; + b = N.updateQueue; + null === b ? (b = { lastEffect: null, stores: null }, N.updateQueue = b, b.lastEffect = a.next = a) : (c = b.lastEffect, null === c ? b.lastEffect = a.next = a : (d = c.next, c.next = a, a.next = d, b.lastEffect = a)); + return a; + } + function si() { + return di().memoizedState; + } + function ti(a, b, c, d) { + var e = ci(); + N.flags |= a; + e.memoizedState = li(1 | b, c, void 0, void 0 === d ? null : d); + } + function ui(a, b, c, d) { + var e = di(); + d = void 0 === d ? null : d; + var f = void 0; + if (null !== O) { + var g = O.memoizedState; + f = g.destroy; + if (null !== d && Wh(d, g.deps)) { + e.memoizedState = li(b, c, f, d); + return; + } + } + N.flags |= a; + e.memoizedState = li(1 | b, c, f, d); + } + function vi(a, b) { + return ti(8390656, 8, a, b); + } + function ji(a, b) { + return ui(2048, 8, a, b); + } + function wi(a, b) { + return ui(4, 2, a, b); + } + function xi(a, b) { + return ui(4, 4, a, b); + } + function yi(a, b) { + if ("function" === typeof b) + return a = a(), b(a), function() { + b(null); + }; + if (null !== b && void 0 !== b) + return a = a(), b.current = a, function() { + b.current = null; + }; + } + function zi(a, b, c) { + c = null !== c && void 0 !== c ? c.concat([a]) : null; + return ui(4, 4, yi.bind(null, b, a), c); + } + function Ai() { + } + function Bi(a, b) { + var c = di(); + b = void 0 === b ? null : b; + var d = c.memoizedState; + if (null !== d && null !== b && Wh(b, d[1])) + return d[0]; + c.memoizedState = [a, b]; + return a; + } + function Ci(a, b) { + var c = di(); + b = void 0 === b ? null : b; + var d = c.memoizedState; + if (null !== d && null !== b && Wh(b, d[1])) + return d[0]; + a = a(); + c.memoizedState = [a, b]; + return a; + } + function Di(a, b, c) { + if (0 === (Rh & 21)) + return a.baseState && (a.baseState = false, Ug = true), a.memoizedState = c; + He(c, b) || (c = yc(), N.lanes |= c, hh |= c, a.baseState = true); + return b; + } + function Ei(a, b) { + var c = C; + C = 0 !== c && 4 > c ? c : 4; + a(true); + var d = Qh.transition; + Qh.transition = {}; + try { + a(false), b(); + } finally { + C = c, Qh.transition = d; + } + } + function Fi() { + return di().memoizedState; + } + function Gi(a, b, c) { + var d = lh(a); + c = { lane: d, action: c, hasEagerState: false, eagerState: null, next: null }; + if (Hi(a)) + Ii(b, c); + else if (c = Yg(a, b, c, d), null !== c) { + var e = L(); + mh(c, a, d, e); + Ji(c, b, d); + } + } + function ri(a, b, c) { + var d = lh(a), e = { lane: d, action: c, hasEagerState: false, eagerState: null, next: null }; + if (Hi(a)) + Ii(b, e); + else { + var f = a.alternate; + if (0 === a.lanes && (null === f || 0 === f.lanes) && (f = b.lastRenderedReducer, null !== f)) + try { + var g = b.lastRenderedState, h = f(g, c); + e.hasEagerState = true; + e.eagerState = h; + if (He(h, g)) { + var k = b.interleaved; + null === k ? (e.next = e, Xg(b)) : (e.next = k.next, k.next = e); + b.interleaved = e; + return; + } + } catch (l) { + } finally { + } + c = Yg(a, b, e, d); + null !== c && (e = L(), mh(c, a, d, e), Ji(c, b, d)); + } + } + function Hi(a) { + var b = a.alternate; + return a === N || null !== b && b === N; + } + function Ii(a, b) { + Th = Sh = true; + var c = a.pending; + null === c ? b.next = b : (b.next = c.next, c.next = b); + a.pending = b; + } + function Ji(a, b, c) { + if (0 !== (c & 4194240)) { + var d = b.lanes; + d &= a.pendingLanes; + c |= d; + b.lanes = c; + Cc(a, c); + } + } + var ai = { readContext: Vg, useCallback: Q, useContext: Q, useEffect: Q, useImperativeHandle: Q, useInsertionEffect: Q, useLayoutEffect: Q, useMemo: Q, useReducer: Q, useRef: Q, useState: Q, useDebugValue: Q, useDeferredValue: Q, useTransition: Q, useMutableSource: Q, useSyncExternalStore: Q, useId: Q, unstable_isNewReconciler: false }; + var Yh = { readContext: Vg, useCallback: function(a, b) { + ci().memoizedState = [a, void 0 === b ? null : b]; + return a; + }, useContext: Vg, useEffect: vi, useImperativeHandle: function(a, b, c) { + c = null !== c && void 0 !== c ? c.concat([a]) : null; + return ti( + 4194308, + 4, + yi.bind(null, b, a), + c + ); + }, useLayoutEffect: function(a, b) { + return ti(4194308, 4, a, b); + }, useInsertionEffect: function(a, b) { + return ti(4, 2, a, b); + }, useMemo: function(a, b) { + var c = ci(); + b = void 0 === b ? null : b; + a = a(); + c.memoizedState = [a, b]; + return a; + }, useReducer: function(a, b, c) { + var d = ci(); + b = void 0 !== c ? c(b) : b; + d.memoizedState = d.baseState = b; + a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: a, lastRenderedState: b }; + d.queue = a; + a = a.dispatch = Gi.bind(null, N, a); + return [d.memoizedState, a]; + }, useRef: function(a) { + var b = ci(); + a = { current: a }; + return b.memoizedState = a; + }, useState: qi, useDebugValue: Ai, useDeferredValue: function(a) { + return ci().memoizedState = a; + }, useTransition: function() { + var a = qi(false), b = a[0]; + a = Ei.bind(null, a[1]); + ci().memoizedState = a; + return [b, a]; + }, useMutableSource: function() { + }, useSyncExternalStore: function(a, b, c) { + var d = N, e = ci(); + if (I) { + if (void 0 === c) + throw Error(p(407)); + c = c(); + } else { + c = b(); + if (null === R) + throw Error(p(349)); + 0 !== (Rh & 30) || ni(d, b, c); + } + e.memoizedState = c; + var f = { value: c, getSnapshot: b }; + e.queue = f; + vi(ki.bind( + null, + d, + f, + a + ), [a]); + d.flags |= 2048; + li(9, mi.bind(null, d, f, c, b), void 0, null); + return c; + }, useId: function() { + var a = ci(), b = R.identifierPrefix; + if (I) { + var c = sg; + var d = rg; + c = (d & ~(1 << 32 - oc(d) - 1)).toString(32) + c; + b = ":" + b + "R" + c; + c = Uh++; + 0 < c && (b += "H" + c.toString(32)); + b += ":"; + } else + c = Vh++, b = ":" + b + "r" + c.toString(32) + ":"; + return a.memoizedState = b; + }, unstable_isNewReconciler: false }; + var Zh = { + readContext: Vg, + useCallback: Bi, + useContext: Vg, + useEffect: ji, + useImperativeHandle: zi, + useInsertionEffect: wi, + useLayoutEffect: xi, + useMemo: Ci, + useReducer: fi, + useRef: si, + useState: function() { + return fi(ei); + }, + useDebugValue: Ai, + useDeferredValue: function(a) { + var b = di(); + return Di(b, O.memoizedState, a); + }, + useTransition: function() { + var a = fi(ei)[0], b = di().memoizedState; + return [a, b]; + }, + useMutableSource: hi, + useSyncExternalStore: ii, + useId: Fi, + unstable_isNewReconciler: false + }; + var $h = { readContext: Vg, useCallback: Bi, useContext: Vg, useEffect: ji, useImperativeHandle: zi, useInsertionEffect: wi, useLayoutEffect: xi, useMemo: Ci, useReducer: gi, useRef: si, useState: function() { + return gi(ei); + }, useDebugValue: Ai, useDeferredValue: function(a) { + var b = di(); + return null === O ? b.memoizedState = a : Di(b, O.memoizedState, a); + }, useTransition: function() { + var a = gi(ei)[0], b = di().memoizedState; + return [a, b]; + }, useMutableSource: hi, useSyncExternalStore: ii, useId: Fi, unstable_isNewReconciler: false }; + function Ki(a, b) { + try { + var c = "", d = b; + do + c += Pa(d), d = d.return; + while (d); + var e = c; + } catch (f) { + e = "\nError generating stack: " + f.message + "\n" + f.stack; + } + return { value: a, source: b, stack: e, digest: null }; + } + function Li(a, b, c) { + return { value: a, source: null, stack: null != c ? c : null, digest: null != b ? b : null }; + } + function Mi(a, b) { + try { + console.error(b.value); + } catch (c) { + setTimeout(function() { + throw c; + }); + } + } + var Ni = "function" === typeof WeakMap ? WeakMap : Map; + function Oi(a, b, c) { + c = ch(-1, c); + c.tag = 3; + c.payload = { element: null }; + var d = b.value; + c.callback = function() { + Pi || (Pi = true, Qi = d); + Mi(a, b); + }; + return c; + } + function Ri(a, b, c) { + c = ch(-1, c); + c.tag = 3; + var d = a.type.getDerivedStateFromError; + if ("function" === typeof d) { + var e = b.value; + c.payload = function() { + return d(e); + }; + c.callback = function() { + Mi(a, b); + }; + } + var f = a.stateNode; + null !== f && "function" === typeof f.componentDidCatch && (c.callback = function() { + Mi(a, b); + "function" !== typeof d && (null === Si ? Si = /* @__PURE__ */ new Set([this]) : Si.add(this)); + var c2 = b.stack; + this.componentDidCatch(b.value, { componentStack: null !== c2 ? c2 : "" }); + }); + return c; + } + function Ti(a, b, c) { + var d = a.pingCache; + if (null === d) { + d = a.pingCache = new Ni(); + var e = /* @__PURE__ */ new Set(); + d.set(b, e); + } else + e = d.get(b), void 0 === e && (e = /* @__PURE__ */ new Set(), d.set(b, e)); + e.has(c) || (e.add(c), a = Ui.bind(null, a, b, c), b.then(a, a)); + } + function Vi(a) { + do { + var b; + if (b = 13 === a.tag) + b = a.memoizedState, b = null !== b ? null !== b.dehydrated ? true : false : true; + if (b) + return a; + a = a.return; + } while (null !== a); + return null; + } + function Wi(a, b, c, d, e) { + if (0 === (a.mode & 1)) + return a === b ? a.flags |= 65536 : (a.flags |= 128, c.flags |= 131072, c.flags &= -52805, 1 === c.tag && (null === c.alternate ? c.tag = 17 : (b = ch(-1, 1), b.tag = 2, dh(c, b, 1))), c.lanes |= 1), a; + a.flags |= 65536; + a.lanes = e; + return a; + } + var Xi = ua.ReactCurrentOwner; + var Ug = false; + function Yi(a, b, c, d) { + b.child = null === a ? Ch(b, null, c, d) : Bh(b, a.child, c, d); + } + function Zi(a, b, c, d, e) { + c = c.render; + var f = b.ref; + Tg(b, e); + d = Xh(a, b, c, d, f, e); + c = bi(); + if (null !== a && !Ug) + return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, $i(a, b, e); + I && c && vg(b); + b.flags |= 1; + Yi(a, b, d, e); + return b.child; + } + function aj(a, b, c, d, e) { + if (null === a) { + var f = c.type; + if ("function" === typeof f && !bj(f) && void 0 === f.defaultProps && null === c.compare && void 0 === c.defaultProps) + return b.tag = 15, b.type = f, cj(a, b, f, d, e); + a = yh(c.type, null, d, b, b.mode, e); + a.ref = b.ref; + a.return = b; + return b.child = a; + } + f = a.child; + if (0 === (a.lanes & e)) { + var g = f.memoizedProps; + c = c.compare; + c = null !== c ? c : Ie; + if (c(g, d) && a.ref === b.ref) + return $i(a, b, e); + } + b.flags |= 1; + a = wh(f, d); + a.ref = b.ref; + a.return = b; + return b.child = a; + } + function cj(a, b, c, d, e) { + if (null !== a) { + var f = a.memoizedProps; + if (Ie(f, d) && a.ref === b.ref) + if (Ug = false, b.pendingProps = d = f, 0 !== (a.lanes & e)) + 0 !== (a.flags & 131072) && (Ug = true); + else + return b.lanes = a.lanes, $i(a, b, e); + } + return dj(a, b, c, d, e); + } + function ej(a, b, c) { + var d = b.pendingProps, e = d.children, f = null !== a ? a.memoizedState : null; + if ("hidden" === d.mode) + if (0 === (b.mode & 1)) + b.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, G(fj, gj), gj |= c; + else { + if (0 === (c & 1073741824)) + return a = null !== f ? f.baseLanes | c : c, b.lanes = b.childLanes = 1073741824, b.memoizedState = { baseLanes: a, cachePool: null, transitions: null }, b.updateQueue = null, G(fj, gj), gj |= a, null; + b.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }; + d = null !== f ? f.baseLanes : c; + G(fj, gj); + gj |= d; + } + else + null !== f ? (d = f.baseLanes | c, b.memoizedState = null) : d = c, G(fj, gj), gj |= d; + Yi(a, b, e, c); + return b.child; + } + function hj(a, b) { + var c = b.ref; + if (null === a && null !== c || null !== a && a.ref !== c) + b.flags |= 512, b.flags |= 2097152; + } + function dj(a, b, c, d, e) { + var f = Zf(c) ? Xf : H.current; + f = Yf(b, f); + Tg(b, e); + c = Xh(a, b, c, d, f, e); + d = bi(); + if (null !== a && !Ug) + return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, $i(a, b, e); + I && d && vg(b); + b.flags |= 1; + Yi(a, b, c, e); + return b.child; + } + function ij(a, b, c, d, e) { + if (Zf(c)) { + var f = true; + cg(b); + } else + f = false; + Tg(b, e); + if (null === b.stateNode) + jj(a, b), ph(b, c, d), rh(b, c, d, e), d = true; + else if (null === a) { + var g = b.stateNode, h = b.memoizedProps; + g.props = h; + var k = g.context, l = c.contextType; + "object" === typeof l && null !== l ? l = Vg(l) : (l = Zf(c) ? Xf : H.current, l = Yf(b, l)); + var m = c.getDerivedStateFromProps, q = "function" === typeof m || "function" === typeof g.getSnapshotBeforeUpdate; + q || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== d || k !== l) && qh(b, g, d, l); + $g = false; + var r = b.memoizedState; + g.state = r; + gh(b, d, g, e); + k = b.memoizedState; + h !== d || r !== k || Wf.current || $g ? ("function" === typeof m && (kh(b, c, m, d), k = b.memoizedState), (h = $g || oh(b, c, h, d, r, k, l)) ? (q || "function" !== typeof g.UNSAFE_componentWillMount && "function" !== typeof g.componentWillMount || ("function" === typeof g.componentWillMount && g.componentWillMount(), "function" === typeof g.UNSAFE_componentWillMount && g.UNSAFE_componentWillMount()), "function" === typeof g.componentDidMount && (b.flags |= 4194308)) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), b.memoizedProps = d, b.memoizedState = k), g.props = d, g.state = k, g.context = l, d = h) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), d = false); + } else { + g = b.stateNode; + bh(a, b); + h = b.memoizedProps; + l = b.type === b.elementType ? h : Lg(b.type, h); + g.props = l; + q = b.pendingProps; + r = g.context; + k = c.contextType; + "object" === typeof k && null !== k ? k = Vg(k) : (k = Zf(c) ? Xf : H.current, k = Yf(b, k)); + var y = c.getDerivedStateFromProps; + (m = "function" === typeof y || "function" === typeof g.getSnapshotBeforeUpdate) || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== q || r !== k) && qh(b, g, d, k); + $g = false; + r = b.memoizedState; + g.state = r; + gh(b, d, g, e); + var n = b.memoizedState; + h !== q || r !== n || Wf.current || $g ? ("function" === typeof y && (kh(b, c, y, d), n = b.memoizedState), (l = $g || oh(b, c, l, d, r, n, k) || false) ? (m || "function" !== typeof g.UNSAFE_componentWillUpdate && "function" !== typeof g.componentWillUpdate || ("function" === typeof g.componentWillUpdate && g.componentWillUpdate(d, n, k), "function" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, n, k)), "function" === typeof g.componentDidUpdate && (b.flags |= 4), "function" === typeof g.getSnapshotBeforeUpdate && (b.flags |= 1024)) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 1024), b.memoizedProps = d, b.memoizedState = n), g.props = d, g.state = n, g.context = k, d = l) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 1024), d = false); + } + return kj(a, b, c, d, f, e); + } + function kj(a, b, c, d, e, f) { + hj(a, b); + var g = 0 !== (b.flags & 128); + if (!d && !g) + return e && dg(b, c, false), $i(a, b, f); + d = b.stateNode; + Xi.current = b; + var h = g && "function" !== typeof c.getDerivedStateFromError ? null : d.render(); + b.flags |= 1; + null !== a && g ? (b.child = Bh(b, a.child, null, f), b.child = Bh(b, null, h, f)) : Yi(a, b, h, f); + b.memoizedState = d.state; + e && dg(b, c, true); + return b.child; + } + function lj(a) { + var b = a.stateNode; + b.pendingContext ? ag(a, b.pendingContext, b.pendingContext !== b.context) : b.context && ag(a, b.context, false); + Ih(a, b.containerInfo); + } + function mj(a, b, c, d, e) { + Ig(); + Jg(e); + b.flags |= 256; + Yi(a, b, c, d); + return b.child; + } + var nj = { dehydrated: null, treeContext: null, retryLane: 0 }; + function oj(a) { + return { baseLanes: a, cachePool: null, transitions: null }; + } + function pj(a, b, c) { + var d = b.pendingProps, e = M.current, f = false, g = 0 !== (b.flags & 128), h; + (h = g) || (h = null !== a && null === a.memoizedState ? false : 0 !== (e & 2)); + if (h) + f = true, b.flags &= -129; + else if (null === a || null !== a.memoizedState) + e |= 1; + G(M, e & 1); + if (null === a) { + Eg(b); + a = b.memoizedState; + if (null !== a && (a = a.dehydrated, null !== a)) + return 0 === (b.mode & 1) ? b.lanes = 1 : "$!" === a.data ? b.lanes = 8 : b.lanes = 1073741824, null; + g = d.children; + a = d.fallback; + return f ? (d = b.mode, f = b.child, g = { mode: "hidden", children: g }, 0 === (d & 1) && null !== f ? (f.childLanes = 0, f.pendingProps = g) : f = qj(g, d, 0, null), a = Ah(a, d, c, null), f.return = b, a.return = b, f.sibling = a, b.child = f, b.child.memoizedState = oj(c), b.memoizedState = nj, a) : rj(b, g); + } + e = a.memoizedState; + if (null !== e && (h = e.dehydrated, null !== h)) + return sj(a, b, g, d, h, e, c); + if (f) { + f = d.fallback; + g = b.mode; + e = a.child; + h = e.sibling; + var k = { mode: "hidden", children: d.children }; + 0 === (g & 1) && b.child !== e ? (d = b.child, d.childLanes = 0, d.pendingProps = k, b.deletions = null) : (d = wh(e, k), d.subtreeFlags = e.subtreeFlags & 14680064); + null !== h ? f = wh(h, f) : (f = Ah(f, g, c, null), f.flags |= 2); + f.return = b; + d.return = b; + d.sibling = f; + b.child = d; + d = f; + f = b.child; + g = a.child.memoizedState; + g = null === g ? oj(c) : { baseLanes: g.baseLanes | c, cachePool: null, transitions: g.transitions }; + f.memoizedState = g; + f.childLanes = a.childLanes & ~c; + b.memoizedState = nj; + return d; + } + f = a.child; + a = f.sibling; + d = wh(f, { mode: "visible", children: d.children }); + 0 === (b.mode & 1) && (d.lanes = c); + d.return = b; + d.sibling = null; + null !== a && (c = b.deletions, null === c ? (b.deletions = [a], b.flags |= 16) : c.push(a)); + b.child = d; + b.memoizedState = null; + return d; + } + function rj(a, b) { + b = qj({ mode: "visible", children: b }, a.mode, 0, null); + b.return = a; + return a.child = b; + } + function tj(a, b, c, d) { + null !== d && Jg(d); + Bh(b, a.child, null, c); + a = rj(b, b.pendingProps.children); + a.flags |= 2; + b.memoizedState = null; + return a; + } + function sj(a, b, c, d, e, f, g) { + if (c) { + if (b.flags & 256) + return b.flags &= -257, d = Li(Error(p(422))), tj(a, b, g, d); + if (null !== b.memoizedState) + return b.child = a.child, b.flags |= 128, null; + f = d.fallback; + e = b.mode; + d = qj({ mode: "visible", children: d.children }, e, 0, null); + f = Ah(f, e, g, null); + f.flags |= 2; + d.return = b; + f.return = b; + d.sibling = f; + b.child = d; + 0 !== (b.mode & 1) && Bh(b, a.child, null, g); + b.child.memoizedState = oj(g); + b.memoizedState = nj; + return f; + } + if (0 === (b.mode & 1)) + return tj(a, b, g, null); + if ("$!" === e.data) { + d = e.nextSibling && e.nextSibling.dataset; + if (d) + var h = d.dgst; + d = h; + f = Error(p(419)); + d = Li(f, d, void 0); + return tj(a, b, g, d); + } + h = 0 !== (g & a.childLanes); + if (Ug || h) { + d = R; + if (null !== d) { + switch (g & -g) { + case 4: + e = 2; + break; + case 16: + e = 8; + break; + case 64: + case 128: + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + case 32768: + case 65536: + case 131072: + case 262144: + case 524288: + case 1048576: + case 2097152: + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + e = 32; + break; + case 536870912: + e = 268435456; + break; + default: + e = 0; + } + e = 0 !== (e & (d.suspendedLanes | g)) ? 0 : e; + 0 !== e && e !== f.retryLane && (f.retryLane = e, Zg(a, e), mh(d, a, e, -1)); + } + uj(); + d = Li(Error(p(421))); + return tj(a, b, g, d); + } + if ("$?" === e.data) + return b.flags |= 128, b.child = a.child, b = vj.bind(null, a), e._reactRetry = b, null; + a = f.treeContext; + yg = Lf(e.nextSibling); + xg = b; + I = true; + zg = null; + null !== a && (og[pg++] = rg, og[pg++] = sg, og[pg++] = qg, rg = a.id, sg = a.overflow, qg = b); + b = rj(b, d.children); + b.flags |= 4096; + return b; + } + function wj(a, b, c) { + a.lanes |= b; + var d = a.alternate; + null !== d && (d.lanes |= b); + Sg(a.return, b, c); + } + function xj(a, b, c, d, e) { + var f = a.memoizedState; + null === f ? a.memoizedState = { isBackwards: b, rendering: null, renderingStartTime: 0, last: d, tail: c, tailMode: e } : (f.isBackwards = b, f.rendering = null, f.renderingStartTime = 0, f.last = d, f.tail = c, f.tailMode = e); + } + function yj(a, b, c) { + var d = b.pendingProps, e = d.revealOrder, f = d.tail; + Yi(a, b, d.children, c); + d = M.current; + if (0 !== (d & 2)) + d = d & 1 | 2, b.flags |= 128; + else { + if (null !== a && 0 !== (a.flags & 128)) + a: + for (a = b.child; null !== a; ) { + if (13 === a.tag) + null !== a.memoizedState && wj(a, c, b); + else if (19 === a.tag) + wj(a, c, b); + else if (null !== a.child) { + a.child.return = a; + a = a.child; + continue; + } + if (a === b) + break a; + for (; null === a.sibling; ) { + if (null === a.return || a.return === b) + break a; + a = a.return; + } + a.sibling.return = a.return; + a = a.sibling; + } + d &= 1; + } + G(M, d); + if (0 === (b.mode & 1)) + b.memoizedState = null; + else + switch (e) { + case "forwards": + c = b.child; + for (e = null; null !== c; ) + a = c.alternate, null !== a && null === Mh(a) && (e = c), c = c.sibling; + c = e; + null === c ? (e = b.child, b.child = null) : (e = c.sibling, c.sibling = null); + xj(b, false, e, c, f); + break; + case "backwards": + c = null; + e = b.child; + for (b.child = null; null !== e; ) { + a = e.alternate; + if (null !== a && null === Mh(a)) { + b.child = e; + break; + } + a = e.sibling; + e.sibling = c; + c = e; + e = a; + } + xj(b, true, c, null, f); + break; + case "together": + xj(b, false, null, null, void 0); + break; + default: + b.memoizedState = null; + } + return b.child; + } + function jj(a, b) { + 0 === (b.mode & 1) && null !== a && (a.alternate = null, b.alternate = null, b.flags |= 2); + } + function $i(a, b, c) { + null !== a && (b.dependencies = a.dependencies); + hh |= b.lanes; + if (0 === (c & b.childLanes)) + return null; + if (null !== a && b.child !== a.child) + throw Error(p(153)); + if (null !== b.child) { + a = b.child; + c = wh(a, a.pendingProps); + b.child = c; + for (c.return = b; null !== a.sibling; ) + a = a.sibling, c = c.sibling = wh(a, a.pendingProps), c.return = b; + c.sibling = null; + } + return b.child; + } + function zj(a, b, c) { + switch (b.tag) { + case 3: + lj(b); + Ig(); + break; + case 5: + Kh(b); + break; + case 1: + Zf(b.type) && cg(b); + break; + case 4: + Ih(b, b.stateNode.containerInfo); + break; + case 10: + var d = b.type._context, e = b.memoizedProps.value; + G(Mg, d._currentValue); + d._currentValue = e; + break; + case 13: + d = b.memoizedState; + if (null !== d) { + if (null !== d.dehydrated) + return G(M, M.current & 1), b.flags |= 128, null; + if (0 !== (c & b.child.childLanes)) + return pj(a, b, c); + G(M, M.current & 1); + a = $i(a, b, c); + return null !== a ? a.sibling : null; + } + G(M, M.current & 1); + break; + case 19: + d = 0 !== (c & b.childLanes); + if (0 !== (a.flags & 128)) { + if (d) + return yj(a, b, c); + b.flags |= 128; + } + e = b.memoizedState; + null !== e && (e.rendering = null, e.tail = null, e.lastEffect = null); + G(M, M.current); + if (d) + break; + else + return null; + case 22: + case 23: + return b.lanes = 0, ej(a, b, c); + } + return $i(a, b, c); + } + var Aj; + var Bj; + var Cj; + var Dj; + Aj = function(a, b) { + for (var c = b.child; null !== c; ) { + if (5 === c.tag || 6 === c.tag) + a.appendChild(c.stateNode); + else if (4 !== c.tag && null !== c.child) { + c.child.return = c; + c = c.child; + continue; + } + if (c === b) + break; + for (; null === c.sibling; ) { + if (null === c.return || c.return === b) + return; + c = c.return; + } + c.sibling.return = c.return; + c = c.sibling; + } + }; + Bj = function() { + }; + Cj = function(a, b, c, d) { + var e = a.memoizedProps; + if (e !== d) { + a = b.stateNode; + Hh(Eh.current); + var f = null; + switch (c) { + case "input": + e = Ya(a, e); + d = Ya(a, d); + f = []; + break; + case "select": + e = A({}, e, { value: void 0 }); + d = A({}, d, { value: void 0 }); + f = []; + break; + case "textarea": + e = gb(a, e); + d = gb(a, d); + f = []; + break; + default: + "function" !== typeof e.onClick && "function" === typeof d.onClick && (a.onclick = Bf); + } + ub(c, d); + var g; + c = null; + for (l in e) + if (!d.hasOwnProperty(l) && e.hasOwnProperty(l) && null != e[l]) + if ("style" === l) { + var h = e[l]; + for (g in h) + h.hasOwnProperty(g) && (c || (c = {}), c[g] = ""); + } else + "dangerouslySetInnerHTML" !== l && "children" !== l && "suppressContentEditableWarning" !== l && "suppressHydrationWarning" !== l && "autoFocus" !== l && (ea.hasOwnProperty(l) ? f || (f = []) : (f = f || []).push(l, null)); + for (l in d) { + var k = d[l]; + h = null != e ? e[l] : void 0; + if (d.hasOwnProperty(l) && k !== h && (null != k || null != h)) + if ("style" === l) + if (h) { + for (g in h) + !h.hasOwnProperty(g) || k && k.hasOwnProperty(g) || (c || (c = {}), c[g] = ""); + for (g in k) + k.hasOwnProperty(g) && h[g] !== k[g] && (c || (c = {}), c[g] = k[g]); + } else + c || (f || (f = []), f.push( + l, + c + )), c = k; + else + "dangerouslySetInnerHTML" === l ? (k = k ? k.__html : void 0, h = h ? h.__html : void 0, null != k && h !== k && (f = f || []).push(l, k)) : "children" === l ? "string" !== typeof k && "number" !== typeof k || (f = f || []).push(l, "" + k) : "suppressContentEditableWarning" !== l && "suppressHydrationWarning" !== l && (ea.hasOwnProperty(l) ? (null != k && "onScroll" === l && D("scroll", a), f || h === k || (f = [])) : (f = f || []).push(l, k)); + } + c && (f = f || []).push("style", c); + var l = f; + if (b.updateQueue = l) + b.flags |= 4; + } + }; + Dj = function(a, b, c, d) { + c !== d && (b.flags |= 4); + }; + function Ej(a, b) { + if (!I) + switch (a.tailMode) { + case "hidden": + b = a.tail; + for (var c = null; null !== b; ) + null !== b.alternate && (c = b), b = b.sibling; + null === c ? a.tail = null : c.sibling = null; + break; + case "collapsed": + c = a.tail; + for (var d = null; null !== c; ) + null !== c.alternate && (d = c), c = c.sibling; + null === d ? b || null === a.tail ? a.tail = null : a.tail.sibling = null : d.sibling = null; + } + } + function S(a) { + var b = null !== a.alternate && a.alternate.child === a.child, c = 0, d = 0; + if (b) + for (var e = a.child; null !== e; ) + c |= e.lanes | e.childLanes, d |= e.subtreeFlags & 14680064, d |= e.flags & 14680064, e.return = a, e = e.sibling; + else + for (e = a.child; null !== e; ) + c |= e.lanes | e.childLanes, d |= e.subtreeFlags, d |= e.flags, e.return = a, e = e.sibling; + a.subtreeFlags |= d; + a.childLanes = c; + return b; + } + function Fj(a, b, c) { + var d = b.pendingProps; + wg(b); + switch (b.tag) { + case 2: + case 16: + case 15: + case 0: + case 11: + case 7: + case 8: + case 12: + case 9: + case 14: + return S(b), null; + case 1: + return Zf(b.type) && $f(), S(b), null; + case 3: + d = b.stateNode; + Jh(); + E(Wf); + E(H); + Oh(); + d.pendingContext && (d.context = d.pendingContext, d.pendingContext = null); + if (null === a || null === a.child) + Gg(b) ? b.flags |= 4 : null === a || a.memoizedState.isDehydrated && 0 === (b.flags & 256) || (b.flags |= 1024, null !== zg && (Gj(zg), zg = null)); + Bj(a, b); + S(b); + return null; + case 5: + Lh(b); + var e = Hh(Gh.current); + c = b.type; + if (null !== a && null != b.stateNode) + Cj(a, b, c, d, e), a.ref !== b.ref && (b.flags |= 512, b.flags |= 2097152); + else { + if (!d) { + if (null === b.stateNode) + throw Error(p(166)); + S(b); + return null; + } + a = Hh(Eh.current); + if (Gg(b)) { + d = b.stateNode; + c = b.type; + var f = b.memoizedProps; + d[Of] = b; + d[Pf] = f; + a = 0 !== (b.mode & 1); + switch (c) { + case "dialog": + D("cancel", d); + D("close", d); + break; + case "iframe": + case "object": + case "embed": + D("load", d); + break; + case "video": + case "audio": + for (e = 0; e < lf.length; e++) + D(lf[e], d); + break; + case "source": + D("error", d); + break; + case "img": + case "image": + case "link": + D( + "error", + d + ); + D("load", d); + break; + case "details": + D("toggle", d); + break; + case "input": + Za(d, f); + D("invalid", d); + break; + case "select": + d._wrapperState = { wasMultiple: !!f.multiple }; + D("invalid", d); + break; + case "textarea": + hb(d, f), D("invalid", d); + } + ub(c, f); + e = null; + for (var g in f) + if (f.hasOwnProperty(g)) { + var h = f[g]; + "children" === g ? "string" === typeof h ? d.textContent !== h && (true !== f.suppressHydrationWarning && Af(d.textContent, h, a), e = ["children", h]) : "number" === typeof h && d.textContent !== "" + h && (true !== f.suppressHydrationWarning && Af( + d.textContent, + h, + a + ), e = ["children", "" + h]) : ea.hasOwnProperty(g) && null != h && "onScroll" === g && D("scroll", d); + } + switch (c) { + case "input": + Va(d); + db(d, f, true); + break; + case "textarea": + Va(d); + jb(d); + break; + case "select": + case "option": + break; + default: + "function" === typeof f.onClick && (d.onclick = Bf); + } + d = e; + b.updateQueue = d; + null !== d && (b.flags |= 4); + } else { + g = 9 === e.nodeType ? e : e.ownerDocument; + "http://www.w3.org/1999/xhtml" === a && (a = kb(c)); + "http://www.w3.org/1999/xhtml" === a ? "script" === c ? (a = g.createElement("div"), a.innerHTML = " + + + + + + + + + +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+

No Preview

+

Sorry, but you either have no stories or none are selected somehow.

+
    +
  • Please check the Storybook config.
  • +
  • Try reloading the page.
  • +
+

+ If the problem persists, check the browser console, or the terminal you've run Storybook from. +

+
+
+ +
+

+  
+
+ +
+
+ + + + \ No newline at end of file diff --git a/pr/pr-177/index-BsZrCqfk.js b/pr/pr-177/index-BsZrCqfk.js new file mode 100644 index 00000000..c389d809 --- /dev/null +++ b/pr/pr-177/index-BsZrCqfk.js @@ -0,0 +1,3 @@ +var F=Object.create;var u=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var I=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var E=(r,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of C(e))!w.call(r,a)&&a!==n&&u(r,a,{get:()=>e[a],enumerable:!(t=B(e,a))||t.enumerable});return r};var v=(r,e,n)=>(n=r!=null?F(h(r)):{},E(e||!r||!r.__esModule?u(n,"default",{value:r,enumerable:!0}):n,r));var x=I(T=>{Object.defineProperty(T,"__esModule",{value:!0}),T.isEqual=function(){var r=Object.prototype.toString,e=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(t){return Object.keys(t).concat(Object.getOwnPropertySymbols(t))}:Object.keys;return function(t,a){return function i(o,s,d){var y,g,p,l=r.call(o),b=r.call(s);if(o===s)return !0;if(o==null||s==null)return !1;if(d.indexOf(o)>-1&&d.indexOf(s)>-1)return !0;if(d.push(o,s),l!=b||(y=n(o),g=n(s),y.length!=g.length||y.some(function(A){return !i(o[A],s[A],d)})))return !1;switch(l.slice(8,-1)){case"Symbol":return o.valueOf()==s.valueOf();case"Date":case"Number":return +o==+s||+o!=+o&&+s!=+s;case"RegExp":case"Function":case"String":case"Boolean":return ""+o==""+s;case"Set":case"Map":y=o.entries(),g=s.entries();do if(!i((p=y.next()).value,g.next().value,d))return !1;while(!p.done);return !0;case"ArrayBuffer":o=new Uint8Array(o),s=new Uint8Array(s);case"DataView":o=new Uint8Array(o.buffer),s=new Uint8Array(s.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(o.length!=s.length)return !1;for(p=0;pr.map(e=>typeof e<"u").filter(Boolean).length,P=(r,e)=>{let{exists:n,eq:t,neq:a,truthy:i}=r;if(S([n,t,a,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:n,eq:t,neq:a})}`);if(typeof t<"u")return (0, c.isEqual)(e,t);if(typeof a<"u")return !(0, c.isEqual)(e,a);if(typeof n<"u"){let s=typeof e<"u";return n?s:!s}return (typeof i>"u"?!0:i)?!!e:!e},O=(r,e,n)=>{if(!r.if)return !0;let{arg:t,global:a}=r.if;if(S([t,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:t,global:a})}`);let i=t?e[t]:n[a];return P(r.if,i)};var L=r=>r.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""); + +export { L, O }; diff --git a/pr/pr-177/index-Cl8XPndP.js b/pr/pr-177/index-Cl8XPndP.js new file mode 100644 index 00000000..8a9d1917 --- /dev/null +++ b/pr/pr-177/index-Cl8XPndP.js @@ -0,0 +1,92 @@ +import { e as export_default } from './WithTooltip-V3YHNWJZ-Dh-rwz90.js'; +import './doctrine-DkksUk6K.js'; +import './index-BsZrCqfk.js'; +import './index-Kjm4kNkQ.js'; + +/** + * @typedef {import('react').ReactNode} ReactNode + * @typedef {import('mdx/types.js').MDXComponents} Components + * + * @typedef Props + * Configuration. + * @property {Components | MergeComponents | null | undefined} [components] + * Mapping of names for JSX components to React components. + * @property {boolean | null | undefined} [disableParentContext=false] + * Turn off outer component context. + * @property {ReactNode | null | undefined} [children] + * Children. + * + * @callback MergeComponents + * Custom merge function. + * @param {Components} currentComponents + * Current components from the context. + * @returns {Components} + * Merged components. + */ + + +/** + * @type {import('react').Context} + * @deprecated + * This export is marked as a legacy feature. + * That means it’s no longer recommended for use as it might be removed + * in a future major release. + * + * Please use `useMDXComponents` to get context based components and + * `MDXProvider` to set context based components instead. + */ +const MDXContext = export_default.createContext({}); + +/** + * Get current components from the MDX Context. + * + * @param {Components | MergeComponents | null | undefined} [components] + * Additional components to use or a function that takes the current + * components and filters/merges/changes them. + * @returns {Components} + * Current components. + */ +function useMDXComponents(components) { + const contextComponents = export_default.useContext(MDXContext); + + // Memoize to avoid unnecessary top-level context changes + return export_default.useMemo(() => { + // Custom merge via a function prop + if (typeof components === 'function') { + return components(contextComponents) + } + + return {...contextComponents, ...components} + }, [contextComponents, components]) +} + +/** @type {Components} */ +const emptyObject = {}; + +/** + * Provider for MDX context + * + * @param {Props} props + * @returns {JSX.Element} + */ +function MDXProvider({components, children, disableParentContext}) { + /** @type {Components} */ + let allComponents; + + if (disableParentContext) { + allComponents = + typeof components === 'function' + ? components({}) + : components || emptyObject; + } else { + allComponents = useMDXComponents(components); + } + + return export_default.createElement( + MDXContext.Provider, + {value: allComponents}, + children + ) +} + +export { MDXContext, MDXProvider, useMDXComponents }; diff --git a/pr/pr-177/index-Kjm4kNkQ.js b/pr/pr-177/index-Kjm4kNkQ.js new file mode 100644 index 00000000..f149b031 --- /dev/null +++ b/pr/pr-177/index-Kjm4kNkQ.js @@ -0,0 +1,38 @@ +function dedent(templ) { + var values = []; + for (var _i = 1; _i < arguments.length; _i++) { + values[_i - 1] = arguments[_i]; + } + var strings = Array.from(typeof templ === 'string' ? [templ] : templ); + strings[strings.length - 1] = strings[strings.length - 1].replace(/\r?\n([\t ]*)$/, ''); + var indentLengths = strings.reduce(function (arr, str) { + var matches = str.match(/\n([\t ]+|(?!\s).)/g); + if (matches) { + return arr.concat(matches.map(function (match) { var _a, _b; return (_b = (_a = match.match(/[\t ]/g)) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0; })); + } + return arr; + }, []); + if (indentLengths.length) { + var pattern_1 = new RegExp("\n[\t ]{" + Math.min.apply(Math, indentLengths) + "}", 'g'); + strings = strings.map(function (str) { return str.replace(pattern_1, '\n'); }); + } + strings[0] = strings[0].replace(/^\r?\n/, ''); + var string = strings[0]; + values.forEach(function (value, i) { + var endentations = string.match(/(?:^|\n)( *)$/); + var endentation = endentations ? endentations[1] : ''; + var indentedValue = value; + if (typeof value === 'string' && value.includes('\n')) { + indentedValue = String(value) + .split('\n') + .map(function (str, i) { + return i === 0 ? str : "" + endentation + str; + }) + .join('\n'); + } + string += indentedValue + strings[i + 1]; + }); + return string; +} + +export { dedent as d }; diff --git a/pr/pr-177/index.html b/pr/pr-177/index.html new file mode 100644 index 00000000..039ea35d --- /dev/null +++ b/pr/pr-177/index.html @@ -0,0 +1,123 @@ + + + + + + @storybook/cli - Storybook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + diff --git a/pr/pr-177/index.json b/pr/pr-177/index.json new file mode 100644 index 00000000..15174fab --- /dev/null +++ b/pr/pr-177/index.json @@ -0,0 +1 @@ +{"v":4,"entries":{"autocomplete--basic":{"type":"story","id":"autocomplete--basic","name":"Basic","title":"Autocomplete","importPath":"./stories/cosmoz-autocomplete.stories.js","tags":["story"]},"autocomplete--single":{"type":"story","id":"autocomplete--single","name":"Single","title":"Autocomplete","importPath":"./stories/cosmoz-autocomplete.stories.js","tags":["story"]},"autocomplete--hide-empty":{"type":"story","id":"autocomplete--hide-empty","name":"Hide Empty","title":"Autocomplete","importPath":"./stories/cosmoz-autocomplete.stories.js","tags":["story"]},"autocomplete--default-index":{"type":"story","id":"autocomplete--default-index","name":"Default Index","title":"Autocomplete","importPath":"./stories/cosmoz-autocomplete.stories.js","tags":["story"]},"autocomplete--default-index-single-value":{"type":"story","id":"autocomplete--default-index-single-value","name":"Default Index Single Value","title":"Autocomplete","importPath":"./stories/cosmoz-autocomplete.stories.js","tags":["story"]},"autocomplete--disabled":{"type":"story","id":"autocomplete--disabled","name":"Disabled","title":"Autocomplete","importPath":"./stories/cosmoz-autocomplete.stories.js","tags":["story"]},"autocomplete--placeholder":{"type":"story","id":"autocomplete--placeholder","name":"Placeholder","title":"Autocomplete","importPath":"./stories/cosmoz-autocomplete.stories.js","tags":["story"]},"autocomplete--select":{"type":"story","id":"autocomplete--select","name":"Select","title":"Autocomplete","importPath":"./stories/cosmoz-autocomplete.stories.js","tags":["story"]},"autocomplete--overflown":{"type":"story","id":"autocomplete--overflown","name":"Overflown","title":"Autocomplete","importPath":"./stories/cosmoz-autocomplete.stories.js","tags":["story"]},"autocomplete--wrap":{"type":"story","id":"autocomplete--wrap","name":"Wrap","title":"Autocomplete","importPath":"./stories/cosmoz-autocomplete.stories.js","tags":["story"]},"autocomplete--contour":{"type":"story","id":"autocomplete--contour","name":"Contour","title":"Autocomplete","importPath":"./stories/cosmoz-autocomplete.stories.js","tags":["story"]},"autocomplete--uppercase-decorator":{"type":"story","id":"autocomplete--uppercase-decorator","name":"Uppercase Decorator","title":"Autocomplete","importPath":"./stories/cosmoz-autocomplete.stories.js","tags":["story"]}}} diff --git a/pr/pr-177/inline-module-a412f23235eb971c4a27c3950e98fd49.js b/pr/pr-177/inline-module-a412f23235eb971c4a27c3950e98fd49.js new file mode 100644 index 00000000..f9a76917 --- /dev/null +++ b/pr/pr-177/inline-module-a412f23235eb971c4a27c3950e98fd49.js @@ -0,0 +1,37 @@ +import './sb-preview/runtime.js'; + +const channel = __STORYBOOK_MODULE_CHANNEL_POSTMESSAGE__.createChannel({ page: "preview" }); +__STORYBOOK_MODULE_PREVIEW_API__.addons.setChannel(channel); +window.__STORYBOOK_ADDONS_CHANNEL__ = channel; +const { SERVER_CHANNEL_URL } = globalThis; +if (SERVER_CHANNEL_URL) { + const serverChannel = __STORYBOOK_MODULE_CHANNEL_WEBSOCKET__.createChannel({ url: SERVER_CHANNEL_URL }); + __STORYBOOK_MODULE_PREVIEW_API__.addons.setServerChannel(serverChannel); + window.__STORYBOOK_SERVER_CHANNEL__ = serverChannel; +} + +const importers = { + "./stories/cosmoz-autocomplete.stories.js": () => import('./cosmoz-autocomplete.stories-CUChUx4L.js') +}; +function importFn(path) { + return importers[path](); +} + +const getProjectAnnotations = async () => { + const configs = await Promise.all([ + import('./entry-preview-D6iZpwNS.js'), + import('./entry-preview-docs-C47F9uDA.js'), + import('./preview-D8OX_rk1.js'), + import('./preview-CDPZr6ty.js'), + import('./preview-Bf0d1tVO.js'), + import('./preview-CU2JNqMw.js'), + import('./preview-BT9ta7nr.js'), + import('./preview-CDagOaLU.js'), + import('./preview-BatVpGaD.js') + ]); + return __STORYBOOK_MODULE_PREVIEW_API__.composeConfigs(configs); +}; +window.__STORYBOOK_PREVIEW__ = window.__STORYBOOK_PREVIEW__ || new __STORYBOOK_MODULE_PREVIEW_API__.PreviewWeb(); +window.__STORYBOOK_STORY_STORE__ = window.__STORYBOOK_STORY_STORE__ || window.__STORYBOOK_PREVIEW__.storyStore; +window.__STORYBOOK_CLIENT_API__ = window.__STORYBOOK_CLIENT_API__ || new __STORYBOOK_MODULE_PREVIEW_API__.ClientApi({ storyStore: window.__STORYBOOK_PREVIEW__.storyStore }); +window.__STORYBOOK_PREVIEW__.initialize({ importFn, getProjectAnnotations }); diff --git a/pr/pr-177/lit-element-DB2L7MOw.js b/pr/pr-177/lit-element-DB2L7MOw.js new file mode 100644 index 00000000..5d27309d --- /dev/null +++ b/pr/pr-177/lit-element-DB2L7MOw.js @@ -0,0 +1,33 @@ +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +const t$2=globalThis,i$2=t$2.trustedTypes,s$3=i$2?i$2.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$3="$lit$",h$2=`lit$${Math.random().toFixed(9).slice(2)}$`,o$2="?"+h$2,n$2=`<${o$2}>`,r$4=document,l$1=()=>r$4.createComment(""),c$2=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u$2=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f$2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y$1(1),w=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),A=new WeakMap,E=r$4.createTreeWalker(r$4,129);function C(t,i){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$3?s$3.createHTML(i):i}const P=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"":"",c=f$2;for(let i=0;i"===u[0]?(c=r??f$2,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g:p$2):c===g||c===p$2?c=m$1:c===v$1||c===_?c=f$2:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$2?s+n$2:d>=0?(o.push(a),s.slice(0,d)+e$3+s.slice(d)+h$2+x):s+h$2+(-2===d?i:x);}return [C(t,l+(t[s]||"")+(2===i?"":"")),o]};class V{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=P(t,s);if(this.el=V.createElement(f,n),E.currentNode=this.el.content,2===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=E.nextNode())&&d.length0){r.textContent=i$2?i$2.emptyScript:"";for(let i=0;i2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=T;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=N(this,t,i,0),o=!c$2(t)||t!==this._$AH&&t!==w,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new M(i.insertBefore(l$1(),t),t,void 0,s??{});}return h._$AI(t),h}; + +/** + * @license + * Copyright 2020 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const {I:t$1}=z,i$1=o=>null===o||"object"!=typeof o&&"function"!=typeof o,e$2=(o,t)=>void 0===t?void 0!==o?._$litType$:o?._$litType$===t,f$1=o=>void 0===o.strings,s$2=()=>document.createComment(""),r$3=(o,i,n)=>{const e=o._$AA.parentNode,l=void 0===i?o._$AB:i._$AA;if(void 0===n){const i=e.insertBefore(s$2(),l),c=e.insertBefore(s$2(),l);n=new t$1(i,c,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,c=i!==o;if(c){let t;n._$AQ?.(o),n._$AM=o,void 0!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||c){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v=(o,t,i=o)=>(o._$AI(t,i),o),u$1={},m=(o,t=u$1)=>o._$AH=t,p$1=o=>o._$AH,h$1=o=>{o._$AP?.(!1,!0);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o;}}; + +/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +const t=globalThis,e$1=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1=Symbol(),o$1=new WeakMap;let n$1 = class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$1&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$1.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$1.set(s,t));}return t}toString(){return this.cssText}};const r$2=t=>new n$1("string"==typeof t?t:t+"",void 0,s$1),S=(s,o)=>{if(e$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$1=e$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2(e)})(t):t; + +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r$1,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:"",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol("metadata"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d("elementProperties")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d("properties"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$1(s));}else void 0!==s&&i.push(c$1(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$E_?.delete(t);}_$ES(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EO(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.C(t,s,i);}!1===this.isUpdatePending&&(this._$Eg=this._$EP());}C(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$ET??=new Set).add(t);}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.C(s,this[s],i);}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$Ej();}catch(s){throw t=!1,this._$Ej(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$Ej(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return !0}update(t){this._$ET&&=this._$ET.forEach((t=>this._$EO(t,this[t]))),this._$Ej();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d("elementProperties")]=new Map,b[d("finalized")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push("2.0.3"); + +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */class s extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=j(i,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return w}}s._$litElement$=!0,s[("finalized")]=!0,globalThis.litElementHydrateSupport?.({LitElement:s});const r=globalThis.litElementPolyfillSupport;r?.({LitElement:s});(globalThis.litElementVersions??=[]).push("4.0.3"); + +export { T, e$2 as e, f$1 as f, h$1 as h, i$1 as i, j, m, p$1 as p, r$3 as r, v, w, x }; diff --git a/pr/pr-177/preview-BT9ta7nr.js b/pr/pr-177/preview-BT9ta7nr.js new file mode 100644 index 00000000..26f61a4b --- /dev/null +++ b/pr/pr-177/preview-BT9ta7nr.js @@ -0,0 +1,400 @@ +import { d as dedent } from './index-Kjm4kNkQ.js'; + +var clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle);},clearStyle=input=>{let selector=typeof input=="string"?input:input.join(""),element=__STORYBOOK_MODULE_GLOBAL__.global.document.getElementById(selector);element&&element.parentElement&&element.parentElement.removeChild(element);},addOutlineStyles=(selector,css)=>{let existingStyle=__STORYBOOK_MODULE_GLOBAL__.global.document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else {let style=__STORYBOOK_MODULE_GLOBAL__.global.document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css,__STORYBOOK_MODULE_GLOBAL__.global.document.head.appendChild(style);}};var PARAM_KEY="outline";function outlineCSS(selector){return dedent` + ${selector} body { + outline: 1px solid #2980b9 !important; + } + + ${selector} article { + outline: 1px solid #3498db !important; + } + + ${selector} nav { + outline: 1px solid #0088c3 !important; + } + + ${selector} aside { + outline: 1px solid #33a0ce !important; + } + + ${selector} section { + outline: 1px solid #66b8da !important; + } + + ${selector} header { + outline: 1px solid #99cfe7 !important; + } + + ${selector} footer { + outline: 1px solid #cce7f3 !important; + } + + ${selector} h1 { + outline: 1px solid #162544 !important; + } + + ${selector} h2 { + outline: 1px solid #314e6e !important; + } + + ${selector} h3 { + outline: 1px solid #3e5e85 !important; + } + + ${selector} h4 { + outline: 1px solid #449baf !important; + } + + ${selector} h5 { + outline: 1px solid #c7d1cb !important; + } + + ${selector} h6 { + outline: 1px solid #4371d0 !important; + } + + ${selector} main { + outline: 1px solid #2f4f90 !important; + } + + ${selector} address { + outline: 1px solid #1a2c51 !important; + } + + ${selector} div { + outline: 1px solid #036cdb !important; + } + + ${selector} p { + outline: 1px solid #ac050b !important; + } + + ${selector} hr { + outline: 1px solid #ff063f !important; + } + + ${selector} pre { + outline: 1px solid #850440 !important; + } + + ${selector} blockquote { + outline: 1px solid #f1b8e7 !important; + } + + ${selector} ol { + outline: 1px solid #ff050c !important; + } + + ${selector} ul { + outline: 1px solid #d90416 !important; + } + + ${selector} li { + outline: 1px solid #d90416 !important; + } + + ${selector} dl { + outline: 1px solid #fd3427 !important; + } + + ${selector} dt { + outline: 1px solid #ff0043 !important; + } + + ${selector} dd { + outline: 1px solid #e80174 !important; + } + + ${selector} figure { + outline: 1px solid #ff00bb !important; + } + + ${selector} figcaption { + outline: 1px solid #bf0032 !important; + } + + ${selector} table { + outline: 1px solid #00cc99 !important; + } + + ${selector} caption { + outline: 1px solid #37ffc4 !important; + } + + ${selector} thead { + outline: 1px solid #98daca !important; + } + + ${selector} tbody { + outline: 1px solid #64a7a0 !important; + } + + ${selector} tfoot { + outline: 1px solid #22746b !important; + } + + ${selector} tr { + outline: 1px solid #86c0b2 !important; + } + + ${selector} th { + outline: 1px solid #a1e7d6 !important; + } + + ${selector} td { + outline: 1px solid #3f5a54 !important; + } + + ${selector} col { + outline: 1px solid #6c9a8f !important; + } + + ${selector} colgroup { + outline: 1px solid #6c9a9d !important; + } + + ${selector} button { + outline: 1px solid #da8301 !important; + } + + ${selector} datalist { + outline: 1px solid #c06000 !important; + } + + ${selector} fieldset { + outline: 1px solid #d95100 !important; + } + + ${selector} form { + outline: 1px solid #d23600 !important; + } + + ${selector} input { + outline: 1px solid #fca600 !important; + } + + ${selector} keygen { + outline: 1px solid #b31e00 !important; + } + + ${selector} label { + outline: 1px solid #ee8900 !important; + } + + ${selector} legend { + outline: 1px solid #de6d00 !important; + } + + ${selector} meter { + outline: 1px solid #e8630c !important; + } + + ${selector} optgroup { + outline: 1px solid #b33600 !important; + } + + ${selector} option { + outline: 1px solid #ff8a00 !important; + } + + ${selector} output { + outline: 1px solid #ff9619 !important; + } + + ${selector} progress { + outline: 1px solid #e57c00 !important; + } + + ${selector} select { + outline: 1px solid #e26e0f !important; + } + + ${selector} textarea { + outline: 1px solid #cc5400 !important; + } + + ${selector} details { + outline: 1px solid #33848f !important; + } + + ${selector} summary { + outline: 1px solid #60a1a6 !important; + } + + ${selector} command { + outline: 1px solid #438da1 !important; + } + + ${selector} menu { + outline: 1px solid #449da6 !important; + } + + ${selector} del { + outline: 1px solid #bf0000 !important; + } + + ${selector} ins { + outline: 1px solid #400000 !important; + } + + ${selector} img { + outline: 1px solid #22746b !important; + } + + ${selector} iframe { + outline: 1px solid #64a7a0 !important; + } + + ${selector} embed { + outline: 1px solid #98daca !important; + } + + ${selector} object { + outline: 1px solid #00cc99 !important; + } + + ${selector} param { + outline: 1px solid #37ffc4 !important; + } + + ${selector} video { + outline: 1px solid #6ee866 !important; + } + + ${selector} audio { + outline: 1px solid #027353 !important; + } + + ${selector} source { + outline: 1px solid #012426 !important; + } + + ${selector} canvas { + outline: 1px solid #a2f570 !important; + } + + ${selector} track { + outline: 1px solid #59a600 !important; + } + + ${selector} map { + outline: 1px solid #7be500 !important; + } + + ${selector} area { + outline: 1px solid #305900 !important; + } + + ${selector} a { + outline: 1px solid #ff62ab !important; + } + + ${selector} em { + outline: 1px solid #800b41 !important; + } + + ${selector} strong { + outline: 1px solid #ff1583 !important; + } + + ${selector} i { + outline: 1px solid #803156 !important; + } + + ${selector} b { + outline: 1px solid #cc1169 !important; + } + + ${selector} u { + outline: 1px solid #ff0430 !important; + } + + ${selector} s { + outline: 1px solid #f805e3 !important; + } + + ${selector} small { + outline: 1px solid #d107b2 !important; + } + + ${selector} abbr { + outline: 1px solid #4a0263 !important; + } + + ${selector} q { + outline: 1px solid #240018 !important; + } + + ${selector} cite { + outline: 1px solid #64003c !important; + } + + ${selector} dfn { + outline: 1px solid #b4005a !important; + } + + ${selector} sub { + outline: 1px solid #dba0c8 !important; + } + + ${selector} sup { + outline: 1px solid #cc0256 !important; + } + + ${selector} time { + outline: 1px solid #d6606d !important; + } + + ${selector} code { + outline: 1px solid #e04251 !important; + } + + ${selector} kbd { + outline: 1px solid #5e001f !important; + } + + ${selector} samp { + outline: 1px solid #9c0033 !important; + } + + ${selector} var { + outline: 1px solid #d90047 !important; + } + + ${selector} mark { + outline: 1px solid #ff0053 !important; + } + + ${selector} bdi { + outline: 1px solid #bf3668 !important; + } + + ${selector} bdo { + outline: 1px solid #6f1400 !important; + } + + ${selector} ruby { + outline: 1px solid #ff7b93 !important; + } + + ${selector} rt { + outline: 1px solid #ff2f54 !important; + } + + ${selector} rp { + outline: 1px solid #803e49 !important; + } + + ${selector} span { + outline: 1px solid #cc2643 !important; + } + + ${selector} br { + outline: 1px solid #db687d !important; + } + + ${selector} wbr { + outline: 1px solid #db175b !important; + }`}var withOutline=(StoryFn,context)=>{let{globals:globals2}=context,isActive=[!0,"true"].includes(globals2[PARAM_KEY]),isInDocs=context.viewMode==="docs",outlineStyles=__STORYBOOK_MODULE_PREVIEW_API__.useMemo(()=>outlineCSS(isInDocs?'[data-story-block="true"]':".sb-show-main"),[context]);return __STORYBOOK_MODULE_PREVIEW_API__.useEffect(()=>{let selectorId=isInDocs?`addon-outline-docs-${context.id}`:"addon-outline";return isActive?addOutlineStyles(selectorId,outlineStyles):clearStyles(selectorId),()=>{clearStyles(selectorId);}},[isActive,outlineStyles,context]),StoryFn()};var decorators=[withOutline],globals={[PARAM_KEY]:!1}; + +export { decorators, globals }; diff --git a/pr/pr-177/preview-BatVpGaD.js b/pr/pr-177/preview-BatVpGaD.js new file mode 100644 index 00000000..a23adb01 --- /dev/null +++ b/pr/pr-177/preview-BatVpGaD.js @@ -0,0 +1,5 @@ +import './index-BsZrCqfk.js'; + +var PARAM_KEY="links";var{document,HTMLElement}=__STORYBOOK_MODULE_GLOBAL__.global;var navigate=params=>__STORYBOOK_MODULE_PREVIEW_API__.addons.getChannel().emit(__STORYBOOK_MODULE_CORE_EVENTS__.SELECT_STORY,params);var linksListener=e=>{let{target}=e;if(!(target instanceof HTMLElement))return;let element=target,{sbKind:kind,sbStory:story}=element.dataset;(kind||story)&&(e.preventDefault(),navigate({kind,story}));},hasListener=!1,on=()=>{hasListener||(hasListener=!0,document.addEventListener("click",linksListener));},off=()=>{hasListener&&(hasListener=!1,document.removeEventListener("click",linksListener));},withLinks=__STORYBOOK_MODULE_PREVIEW_API__.makeDecorator({name:"withLinks",parameterName:PARAM_KEY,wrapper:(getStory,context)=>(on(),__STORYBOOK_MODULE_PREVIEW_API__.addons.getChannel().once(__STORYBOOK_MODULE_CORE_EVENTS__.STORY_CHANGED,off),getStory(context))});var decorators=[withLinks]; + +export { decorators }; diff --git a/pr/pr-177/preview-Bf0d1tVO.js b/pr/pr-177/preview-Bf0d1tVO.js new file mode 100644 index 00000000..eafbd2d3 --- /dev/null +++ b/pr/pr-177/preview-Bf0d1tVO.js @@ -0,0 +1,24 @@ +import { d as dedent } from './index-Kjm4kNkQ.js'; + +var PARAM_KEY="backgrounds";var{document,window}=__STORYBOOK_MODULE_GLOBAL__.global,isReduceMotionEnabled=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,getBackgroundColorByName=(currentSelectedValue,backgrounds=[],defaultName)=>{if(currentSelectedValue==="transparent")return "transparent";if(backgrounds.find(background=>background.value===currentSelectedValue))return currentSelectedValue;let defaultBackground=backgrounds.find(background=>background.name===defaultName);if(defaultBackground)return defaultBackground.value;if(defaultName){let availableColors=backgrounds.map(background=>background.name).join(", ");__STORYBOOK_MODULE_CLIENT_LOGGER__.logger.warn(dedent` + Backgrounds Addon: could not find the default color "${defaultName}". + These are the available colors for your story based on your configuration: + ${availableColors}. + `);}return "transparent"},clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle);},clearStyle=selector=>{let element=document.getElementById(selector);element&&element.parentElement?.removeChild(element);},addGridStyle=(selector,css)=>{let existingStyle=document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else {let style=document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css,document.head.appendChild(style);}},addBackgroundStyle=(selector,css,storyId)=>{let existingStyle=document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else {let style=document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css;let gridStyleSelector=`addon-backgrounds-grid${storyId?`-docs-${storyId}`:""}`,existingGridStyle=document.getElementById(gridStyleSelector);existingGridStyle?existingGridStyle.parentElement?.insertBefore(style,existingGridStyle):document.head.appendChild(style);}};var withBackground=(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,globalsBackgroundColor=globals2[PARAM_KEY]?.value,backgroundsConfig=parameters2[PARAM_KEY],selectedBackgroundColor=__STORYBOOK_MODULE_PREVIEW_API__.useMemo(()=>backgroundsConfig.disable?"transparent":getBackgroundColorByName(globalsBackgroundColor,backgroundsConfig.values,backgroundsConfig.default),[backgroundsConfig,globalsBackgroundColor]),isActive=__STORYBOOK_MODULE_PREVIEW_API__.useMemo(()=>selectedBackgroundColor&&selectedBackgroundColor!=="transparent",[selectedBackgroundColor]),selector=context.viewMode==="docs"?`#anchor--${context.id} .docs-story`:".sb-show-main",backgroundStyles=__STORYBOOK_MODULE_PREVIEW_API__.useMemo(()=>{let transitionStyle="transition: background-color 0.3s;";return ` + ${selector} { + background: ${selectedBackgroundColor} !important; + ${isReduceMotionEnabled()?"":transitionStyle} + } + `},[selectedBackgroundColor,selector]);return __STORYBOOK_MODULE_PREVIEW_API__.useEffect(()=>{let selectorId=context.viewMode==="docs"?`addon-backgrounds-docs-${context.id}`:"addon-backgrounds-color";if(!isActive){clearStyles(selectorId);return}addBackgroundStyle(selectorId,backgroundStyles,context.viewMode==="docs"?context.id:null);},[isActive,backgroundStyles,context]),StoryFn()};var withGrid=(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,gridParameters=parameters2[PARAM_KEY].grid,isActive=globals2[PARAM_KEY]?.grid===!0&&gridParameters.disable!==!0,{cellAmount,cellSize,opacity}=gridParameters,isInDocs=context.viewMode==="docs",defaultOffset=parameters2.layout===void 0||parameters2.layout==="padded"?16:0,offsetX=gridParameters.offsetX??(isInDocs?20:defaultOffset),offsetY=gridParameters.offsetY??(isInDocs?20:defaultOffset),gridStyles=__STORYBOOK_MODULE_PREVIEW_API__.useMemo(()=>{let selector=context.viewMode==="docs"?`#anchor--${context.id} .docs-story`:".sb-show-main",backgroundSize=[`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize}px ${cellSize}px`,`${cellSize}px ${cellSize}px`].join(", ");return ` + ${selector} { + background-size: ${backgroundSize} !important; + background-position: ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px !important; + background-blend-mode: difference !important; + background-image: linear-gradient(rgba(130, 130, 130, ${opacity}) 1px, transparent 1px), + linear-gradient(90deg, rgba(130, 130, 130, ${opacity}) 1px, transparent 1px), + linear-gradient(rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px), + linear-gradient(90deg, rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px) !important; + } + `},[cellSize]);return __STORYBOOK_MODULE_PREVIEW_API__.useEffect(()=>{let selectorId=context.viewMode==="docs"?`addon-backgrounds-grid-docs-${context.id}`:"addon-backgrounds-grid";if(!isActive){clearStyles(selectorId);return}addGridStyle(selectorId,gridStyles);},[isActive,gridStyles,context]),StoryFn()};var decorators=[withGrid,withBackground],parameters={[PARAM_KEY]:{grid:{cellSize:20,opacity:.5,cellAmount:5},values:[{name:"light",value:"#F8F8F8"},{name:"dark",value:"#333333"}]}},globals={[PARAM_KEY]:null}; + +export { decorators, globals, parameters }; diff --git a/pr/pr-177/preview-CDPZr6ty.js b/pr/pr-177/preview-CDPZr6ty.js new file mode 100644 index 00000000..241fd9b6 --- /dev/null +++ b/pr/pr-177/preview-CDPZr6ty.js @@ -0,0 +1,90 @@ +import { d as dedent } from './index-Kjm4kNkQ.js'; + +// Unique ID creation requires a high quality random # generator. In the browser we therefore +// require the crypto API and do not support built-in fallback to lower quality random number +// generators (like Math.random()). +let getRandomValues; +const rnds8 = new Uint8Array(16); +function rng() { + // lazy load so that environments that need to polyfill have a chance to do so + if (!getRandomValues) { + // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. + getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto); + + if (!getRandomValues) { + throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported'); + } + } + + return getRandomValues(rnds8); +} + +/** + * Convert array of 16 byte values to UUID string format of the form: + * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX + */ + +const byteToHex = []; + +for (let i = 0; i < 256; ++i) { + byteToHex.push((i + 0x100).toString(16).slice(1)); +} + +function unsafeStringify(arr, offset = 0) { + // Note: Be careful editing this code! It's been tuned for performance + // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434 + return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]; +} + +const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto); +var native = { + randomUUID +}; + +function v4(options, buf, offset) { + if (native.randomUUID && !buf && !options) { + return native.randomUUID(); + } + + options = options || {}; + const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` + + rnds[6] = rnds[6] & 0x0f | 0x40; + rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided + + if (buf) { + offset = offset || 0; + + for (let i = 0; i < 16; ++i) { + buf[offset + i] = rnds[i]; + } + + return buf; + } + + return unsafeStringify(rnds); +} + +var StorybookError=class extends Error{constructor(){super(...arguments);this.data={};this.documentation=!1;this.fromStorybook=!0;}get fullErrorCode(){let paddedCode=String(this.code).padStart(4,"0");return `SB_${this.category}_${paddedCode}`}get name(){let errorName=this.constructor.name;return `${this.fullErrorCode} (${errorName})`}get message(){let page;return this.documentation===!0?page=`https://storybook.js.org/error/${this.fullErrorCode}`:typeof this.documentation=="string"?page=this.documentation:Array.isArray(this.documentation)&&(page=` +${this.documentation.map(doc=>` - ${doc}`).join(` +`)}`),`${this.template()}${page!=null?` + +More info: ${page} +`:""}`}}; + +var Category=(Category2=>(Category2.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",Category2.PREVIEW_CHANNELS="PREVIEW_CHANNELS",Category2.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",Category2.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",Category2.PREVIEW_API="PREVIEW_API",Category2.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",Category2.PREVIEW_ROUTER="PREVIEW_ROUTER",Category2.PREVIEW_THEMING="PREVIEW_THEMING",Category2.RENDERER_HTML="RENDERER_HTML",Category2.RENDERER_PREACT="RENDERER_PREACT",Category2.RENDERER_REACT="RENDERER_REACT",Category2.RENDERER_SERVER="RENDERER_SERVER",Category2.RENDERER_SVELTE="RENDERER_SVELTE",Category2.RENDERER_VUE="RENDERER_VUE",Category2.RENDERER_VUE3="RENDERER_VUE3",Category2.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",Category2))(Category||{}),ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super();this.data=data;this.category="PREVIEW_API";this.code=2;this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function";}template(){return dedent` + We detected that you use an implicit action arg during ${this.data.phase} of your story. + ${this.data.deprecated?` +This is deprecated and won't work in Storybook 8 anymore. +`:""} + Please provide an explicit spy to your args like this: + import { fn } from '@storybook/test'; + ... + args: { + ${this.data.name}: fn() + } + `}}; + +var ADDON_ID="storybook/actions",EVENT_ID=`${ADDON_ID}/action-event`;var config={depth:10,clearOnStoryChange:!0,limit:50};var findProto=(obj,callback)=>{let proto=Object.getPrototypeOf(obj);return !proto||callback(proto)?proto:findProto(proto,callback)},isReactSyntheticEvent=e=>!!(typeof e=="object"&&e&&findProto(e,proto=>/^Synthetic(?:Base)?Event$/.test(proto.constructor.name))&&typeof e.persist=="function"),serializeArg=a=>{if(isReactSyntheticEvent(a)){let e=Object.create(a.constructor.prototype,Object.getOwnPropertyDescriptors(a));e.persist();let viewDescriptor=Object.getOwnPropertyDescriptor(e,"view"),view=viewDescriptor?.value;return typeof view=="object"&&view?.constructor.name==="Window"&&Object.defineProperty(e,"view",{...viewDescriptor,value:Object.create(view.constructor.prototype)}),e}return a},generateId=()=>typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?v4():Date.now().toString(36)+Math.random().toString(36).substring(2);function action(name,options={}){let actionOptions={...config,...options},handler=function(...args){if(options.implicit){let storyRenderer=("__STORYBOOK_PREVIEW__"in __STORYBOOK_MODULE_GLOBAL__.global?__STORYBOOK_MODULE_GLOBAL__.global.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(render=>render.phase==="playing"||render.phase==="rendering");if(storyRenderer){let deprecated=!window?.FEATURES?.disallowImplicitActionsInRenderV8,error=new ImplicitActionsDuringRendering({phase:storyRenderer.phase,name,deprecated});if(deprecated)console.warn(error);else throw error}}let channel=__STORYBOOK_MODULE_PREVIEW_API__.addons.getChannel(),id=generateId(),minDepth=5,serializedArgs=args.map(serializeArg),normalizedArgs=args.length>1?serializedArgs:serializedArgs[0],actionDisplayToEmit={id,count:0,data:{name,args:normalizedArgs},options:{...actionOptions,maxDepth:minDepth+(actionOptions.depth||3),allowFunction:actionOptions.allowFunction||!1}};channel.emit(EVENT_ID,actionDisplayToEmit);};return handler.isAction=!0,handler}var isInInitialArgs=(name,initialArgs)=>typeof initialArgs[name]>"u"&&!(name in initialArgs),inferActionsFromArgTypesRegex=context=>{let{initialArgs,argTypes,id,parameters:{actions}}=context;if(!actions||actions.disable||!actions.argTypesRegex||!argTypes)return {};let argTypesRegex=new RegExp(actions.argTypesRegex);return Object.entries(argTypes).filter(([name])=>!!argTypesRegex.test(name)).reduce((acc,[name,argType])=>(isInInitialArgs(name,initialArgs)&&(acc[name]=action(name,{implicit:!0,id})),acc),{})},addActionsFromArgTypes=context=>{let{initialArgs,argTypes,parameters:{actions}}=context;return actions?.disable||!argTypes?{}:Object.entries(argTypes).filter(([name,argType])=>!!argType.action).reduce((acc,[name,argType])=>(isInInitialArgs(name,initialArgs)&&(acc[name]=action(typeof argType.action=="string"?argType.action:name)),acc),{})};var argsEnhancers=[addActionsFromArgTypes,inferActionsFromArgTypesRegex];var attachActionsToFunctionMocks=context=>{let{args,parameters:{actions}}=context;actions?.disable||Object.entries(args).filter(([,value])=>typeof value=="function"&&"_isMockFunction"in value&&value._isMockFunction).forEach(([key,value])=>{let previous=value.getMockImplementation();if(previous?._actionAttached!==!0&&previous?.isAction!==!0){let implementation=(...params)=>(action(key)(...params),previous?.(...params));implementation._actionAttached=!0,value.mockImplementation(implementation);}});},loaders=[attachActionsToFunctionMocks]; + +export { argsEnhancers, loaders }; diff --git a/pr/pr-177/preview-CDagOaLU.js b/pr/pr-177/preview-CDagOaLU.js new file mode 100644 index 00000000..f3c5c674 --- /dev/null +++ b/pr/pr-177/preview-CDagOaLU.js @@ -0,0 +1,9 @@ +var ADDON_ID="storybook/highlight",HIGHLIGHT_STYLE_ID="storybookHighlight",HIGHLIGHT=`${ADDON_ID}/add`,RESET_HIGHLIGHT=`${ADDON_ID}/reset`;var {document}=__STORYBOOK_MODULE_GLOBAL__.global,highlightStyle=(color="#FF4785",style="dashed")=>` + outline: 2px ${style} ${color}; + outline-offset: 2px; + box-shadow: 0 0 0 6px rgba(255,255,255,0.6); +`,highlightObject=color=>({outline:`2px dashed ${color}`,outlineOffset:2,boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"}),channel=__STORYBOOK_MODULE_PREVIEW_API__.addons.getChannel(),highlight=infos=>{let id=HIGHLIGHT_STYLE_ID;resetHighlight();let elements=Array.from(new Set(infos.elements)),sheet=document.createElement("style");sheet.setAttribute("id",id),sheet.innerHTML=elements.map(target=>`${target}{ + ${highlightStyle(infos.color,infos.style)} + }`).join(" "),document.head.appendChild(sheet);},resetHighlight=()=>{let id=HIGHLIGHT_STYLE_ID,sheetToBeRemoved=document.getElementById(id);sheetToBeRemoved&&sheetToBeRemoved.parentNode?.removeChild(sheetToBeRemoved);};channel.on(__STORYBOOK_MODULE_CORE_EVENTS__.STORY_CHANGED,resetHighlight);channel.on(RESET_HIGHLIGHT,resetHighlight);channel.on(HIGHLIGHT,highlight); + +export { highlightObject, highlightStyle }; diff --git a/pr/pr-177/preview-CU2JNqMw.js b/pr/pr-177/preview-CU2JNqMw.js new file mode 100644 index 00000000..6ba6f046 --- /dev/null +++ b/pr/pr-177/preview-CU2JNqMw.js @@ -0,0 +1,5 @@ +import { i as invariant } from './tiny-invariant-w-EUxzzv.js'; + +function getDocumentWidthAndHeight(){let container=__STORYBOOK_MODULE_GLOBAL__.global.document.documentElement,height=Math.max(container.scrollHeight,container.offsetHeight);return {width:Math.max(container.scrollWidth,container.offsetWidth),height}}function createCanvas(){let canvas=__STORYBOOK_MODULE_GLOBAL__.global.document.createElement("canvas");canvas.id="storybook-addon-measure";let context=canvas.getContext("2d");invariant(context!=null);let{width,height}=getDocumentWidthAndHeight();return setCanvasWidthAndHeight(canvas,context,{width,height}),canvas.style.position="absolute",canvas.style.left="0",canvas.style.top="0",canvas.style.zIndex="2147483647",canvas.style.pointerEvents="none",__STORYBOOK_MODULE_GLOBAL__.global.document.body.appendChild(canvas),{canvas,context,width,height}}function setCanvasWidthAndHeight(canvas,context,{width,height}){canvas.style.width=`${width}px`,canvas.style.height=`${height}px`;let scale=__STORYBOOK_MODULE_GLOBAL__.global.window.devicePixelRatio;canvas.width=Math.floor(width*scale),canvas.height=Math.floor(height*scale),context.scale(scale,scale);}var state={};function init(){state.canvas||(state=createCanvas());}function clear(){state.context&&state.context.clearRect(0,0,state.width??0,state.height??0);}function draw(callback){clear(),callback(state.context);}function rescale(){invariant(state.canvas),invariant(state.context),setCanvasWidthAndHeight(state.canvas,state.context,{width:0,height:0});let{width,height}=getDocumentWidthAndHeight();setCanvasWidthAndHeight(state.canvas,state.context,{width,height}),state.width=width,state.height=height;}function destroy(){state.canvas&&(clear(),state.canvas.parentNode?.removeChild(state.canvas),state={});}var colors={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},labelPadding=6;function roundedRect(context,{x,y,w,h,r}){x=x-w/2,y=y-h/2,w<2*r&&(r=w/2),h<2*r&&(r=h/2),context.beginPath(),context.moveTo(x+r,y),context.arcTo(x+w,y,x+w,y+h,r),context.arcTo(x+w,y+h,x,y+h,r),context.arcTo(x,y+h,x,y,r),context.arcTo(x,y,x+w,y,r),context.closePath();}function positionCoordinate(position,{padding,border,width,height,top,left}){let contentWidth=width-border.left-border.right-padding.left-padding.right,contentHeight=height-padding.top-padding.bottom-border.top-border.bottom,x=left+border.left+padding.left,y=top+border.top+padding.top;return position==="top"?x+=contentWidth/2:position==="right"?(x+=contentWidth,y+=contentHeight/2):position==="bottom"?(x+=contentWidth/2,y+=contentHeight):position==="left"?y+=contentHeight/2:position==="center"&&(x+=contentWidth/2,y+=contentHeight/2),{x,y}}function offset(type,position,{margin,border,padding},labelPaddingSize,external){let shift=dir=>0,offsetX=0,offsetY=0,locationMultiplier=external?1:.5,labelPaddingShift=external?labelPaddingSize*2:0;return type==="padding"?shift=dir=>padding[dir]*locationMultiplier+labelPaddingShift:type==="border"?shift=dir=>padding[dir]+border[dir]*locationMultiplier+labelPaddingShift:type==="margin"&&(shift=dir=>padding[dir]+border[dir]+margin[dir]*locationMultiplier+labelPaddingShift),position==="top"?offsetY=-shift("top"):position==="right"?offsetX=shift("right"):position==="bottom"?offsetY=shift("bottom"):position==="left"&&(offsetX=-shift("left")),{offsetX,offsetY}}function collide(a,b){return Math.abs(a.x-b.x){let rect=external&&l.position==="center"?drawFloatingLabel(context,measurements,l):drawLabel(context,measurements,l,rects[idx-1],external);rects[idx]=rect;});}function labelStacks(context,measurements,labels,externalLabels){let stacks=labels.reduce((acc,l)=>(Object.prototype.hasOwnProperty.call(acc,l.position)||(acc[l.position]=[]),acc[l.position]?.push(l),acc),{});stacks.top&&drawStack(context,measurements,stacks.top,externalLabels),stacks.right&&drawStack(context,measurements,stacks.right,externalLabels),stacks.bottom&&drawStack(context,measurements,stacks.bottom,externalLabels),stacks.left&&drawStack(context,measurements,stacks.left,externalLabels),stacks.center&&drawStack(context,measurements,stacks.center,externalLabels);}var colors2={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},SMALL_NODE_SIZE=30;function pxToNumber(px){return parseInt(px.replace("px",""),10)}function round(value){return Number.isInteger(value)?value:value.toFixed(2)}function filterZeroValues(labels){return labels.filter(l=>l.text!==0&&l.text!=="0")}function floatingAlignment(extremities){let windowExtremities={top:__STORYBOOK_MODULE_GLOBAL__.global.window.scrollY,bottom:__STORYBOOK_MODULE_GLOBAL__.global.window.scrollY+__STORYBOOK_MODULE_GLOBAL__.global.window.innerHeight,left:__STORYBOOK_MODULE_GLOBAL__.global.window.scrollX,right:__STORYBOOK_MODULE_GLOBAL__.global.window.scrollX+__STORYBOOK_MODULE_GLOBAL__.global.window.innerWidth},distances={top:Math.abs(windowExtremities.top-extremities.top),bottom:Math.abs(windowExtremities.bottom-extremities.bottom),left:Math.abs(windowExtremities.left-extremities.left),right:Math.abs(windowExtremities.right-extremities.right)};return {x:distances.left>distances.right?"left":"right",y:distances.top>distances.bottom?"top":"bottom"}}function measureElement(element){let style=__STORYBOOK_MODULE_GLOBAL__.global.getComputedStyle(element),{top,left,right,bottom,width,height}=element.getBoundingClientRect(),{marginTop,marginBottom,marginLeft,marginRight,paddingTop,paddingBottom,paddingLeft,paddingRight,borderBottomWidth,borderTopWidth,borderLeftWidth,borderRightWidth}=style;top=top+__STORYBOOK_MODULE_GLOBAL__.global.window.scrollY,left=left+__STORYBOOK_MODULE_GLOBAL__.global.window.scrollX,bottom=bottom+__STORYBOOK_MODULE_GLOBAL__.global.window.scrollY,right=right+__STORYBOOK_MODULE_GLOBAL__.global.window.scrollX;let margin={top:pxToNumber(marginTop),bottom:pxToNumber(marginBottom),left:pxToNumber(marginLeft),right:pxToNumber(marginRight)},padding={top:pxToNumber(paddingTop),bottom:pxToNumber(paddingBottom),left:pxToNumber(paddingLeft),right:pxToNumber(paddingRight)},border={top:pxToNumber(borderTopWidth),bottom:pxToNumber(borderBottomWidth),left:pxToNumber(borderLeftWidth),right:pxToNumber(borderRightWidth)},extremities={top:top-margin.top,bottom:bottom+margin.bottom,left:left-margin.left,right:right+margin.right};return {margin,padding,border,top,left,bottom,right,width,height,extremities,floatingAlignment:floatingAlignment(extremities)}}function drawMargin(context,{margin,width,height,top,left,bottom,right}){let marginHeight=height+margin.bottom+margin.top;context.fillStyle=colors2.margin,context.fillRect(left,top-margin.top,width,margin.top),context.fillRect(right,top-margin.top,margin.right,marginHeight),context.fillRect(left,bottom,width,margin.bottom),context.fillRect(left-margin.left,top-margin.top,margin.left,marginHeight);let marginLabels=[{type:"margin",text:round(margin.top),position:"top"},{type:"margin",text:round(margin.right),position:"right"},{type:"margin",text:round(margin.bottom),position:"bottom"},{type:"margin",text:round(margin.left),position:"left"}];return filterZeroValues(marginLabels)}function drawPadding(context,{padding,border,width,height,top,left,bottom,right}){let paddingWidth=width-border.left-border.right,paddingHeight=height-padding.top-padding.bottom-border.top-border.bottom;context.fillStyle=colors2.padding,context.fillRect(left+border.left,top+border.top,paddingWidth,padding.top),context.fillRect(right-padding.right-border.right,top+padding.top+border.top,padding.right,paddingHeight),context.fillRect(left+border.left,bottom-padding.bottom-border.bottom,paddingWidth,padding.bottom),context.fillRect(left+border.left,top+padding.top+border.top,padding.left,paddingHeight);let paddingLabels=[{type:"padding",text:padding.top,position:"top"},{type:"padding",text:padding.right,position:"right"},{type:"padding",text:padding.bottom,position:"bottom"},{type:"padding",text:padding.left,position:"left"}];return filterZeroValues(paddingLabels)}function drawBorder(context,{border,width,height,top,left,bottom,right}){let borderHeight=height-border.top-border.bottom;context.fillStyle=colors2.border,context.fillRect(left,top,width,border.top),context.fillRect(left,bottom-border.bottom,width,border.bottom),context.fillRect(left,top+border.top,border.left,borderHeight),context.fillRect(right-border.right,top+border.top,border.right,borderHeight);let borderLabels=[{type:"border",text:border.top,position:"top"},{type:"border",text:border.right,position:"right"},{type:"border",text:border.bottom,position:"bottom"},{type:"border",text:border.left,position:"left"}];return filterZeroValues(borderLabels)}function drawContent(context,{padding,border,width,height,top,left}){let contentWidth=width-border.left-border.right-padding.left-padding.right,contentHeight=height-padding.top-padding.bottom-border.top-border.bottom;return context.fillStyle=colors2.content,context.fillRect(left+border.left+padding.left,top+border.top+padding.top,contentWidth,contentHeight),[{type:"content",position:"center",text:`${round(contentWidth)} x ${round(contentHeight)}`}]}function drawBoxModel(element){return context=>{if(element&&context){let measurements=measureElement(element),marginLabels=drawMargin(context,measurements),paddingLabels=drawPadding(context,measurements),borderLabels=drawBorder(context,measurements),contentLabels=drawContent(context,measurements),externalLabels=measurements.width<=SMALL_NODE_SIZE*3||measurements.height<=SMALL_NODE_SIZE;labelStacks(context,measurements,[...contentLabels,...paddingLabels,...borderLabels,...marginLabels],externalLabels);}}}function drawSelectedElement(element){draw(drawBoxModel(element));}var deepElementFromPoint=(x,y)=>{let element=__STORYBOOK_MODULE_GLOBAL__.global.document.elementFromPoint(x,y),crawlShadows=node=>{if(node&&node.shadowRoot){let nestedElement=node.shadowRoot.elementFromPoint(x,y);return node.isEqualNode(nestedElement)?node:nestedElement.shadowRoot?crawlShadows(nestedElement):nestedElement}return node};return crawlShadows(element)||element};var nodeAtPointerRef,pointer={x:0,y:0};function findAndDrawElement(x,y){nodeAtPointerRef=deepElementFromPoint(x,y),drawSelectedElement(nodeAtPointerRef);}var withMeasure=(StoryFn,context)=>{let{measureEnabled}=context.globals;return __STORYBOOK_MODULE_PREVIEW_API__.useEffect(()=>{let onPointerMove=event=>{window.requestAnimationFrame(()=>{event.stopPropagation(),pointer.x=event.clientX,pointer.y=event.clientY;});};return document.addEventListener("pointermove",onPointerMove),()=>{document.removeEventListener("pointermove",onPointerMove);}},[]),__STORYBOOK_MODULE_PREVIEW_API__.useEffect(()=>{let onPointerOver=event=>{window.requestAnimationFrame(()=>{event.stopPropagation(),findAndDrawElement(event.clientX,event.clientY);});},onResize=()=>{window.requestAnimationFrame(()=>{rescale();});};return context.viewMode==="story"&&measureEnabled&&(document.addEventListener("pointerover",onPointerOver),init(),window.addEventListener("resize",onResize),findAndDrawElement(pointer.x,pointer.y)),()=>{window.removeEventListener("resize",onResize),destroy();}},[measureEnabled,context.viewMode]),StoryFn()};var PARAM_KEY="measureEnabled";var decorators=[withMeasure],globals={[PARAM_KEY]:!1}; + +export { decorators, globals }; diff --git a/pr/pr-177/preview-D8OX_rk1.js b/pr/pr-177/preview-D8OX_rk1.js new file mode 100644 index 00000000..3d7623fe --- /dev/null +++ b/pr/pr-177/preview-D8OX_rk1.js @@ -0,0 +1,3 @@ +var parameters={docs:{renderer:async()=>{let{DocsRenderer}=await import('./WithTooltip-V3YHNWJZ-Dh-rwz90.js').then(function (n) { return n.D; });return new DocsRenderer}}}; + +export { parameters }; diff --git a/pr/pr-177/project.json b/pr/pr-177/project.json new file mode 100644 index 00000000..121681fc --- /dev/null +++ b/pr/pr-177/project.json @@ -0,0 +1 @@ +{"generatedAt":1717438629365,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"10.5.0"},"framework":{"name":"@web/storybook-framework-web-components"},"renderer":"@storybook/web-components","storybookVersion":"7.6.17","storybookVersionSpecifier":"7.6.17","language":"javascript","storybookPackages":{"@storybook/builder-vite":{"version":"7.6.17"},"@storybook/storybook-deployer":{"version":"2.8.16"},"@storybook/web-components":{"version":"7.6.17"},"@web/storybook-builder":{"version":null},"@web/storybook-framework-web-components":{"version":"0.1.2"},"storybook":{"version":"7.6.19"}},"addons":{"@storybook/addon-essentials":{"version":"7.6.19"},"@storybook/addon-links":{"version":"7.6.19"}}} diff --git a/pr/pr-177/sb-addons/essentials-actions-1/manager-bundle.js b/pr/pr-177/sb-addons/essentials-actions-1/manager-bundle.js new file mode 100644 index 00000000..08c4ee5c --- /dev/null +++ b/pr/pr-177/sb-addons/essentials-actions-1/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var o=__REACT__,{Children:Te,Component:ve,Fragment:_e,Profiler:Vr,PureComponent:$r,StrictMode:Yr,Suspense:Jr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:qr,cloneElement:Xr,createContext:Z,createElement:Zr,createFactory:Kr,createRef:Qr,forwardRef:en,isValidElement:tn,lazy:rn,memo:j,useCallback:N,useContext:K,useDebugValue:nn,useEffect:an,useImperativeHandle:on,useLayoutEffect:Ae,useMemo:Se,useReducer:sn,useRef:ln,useState:U,version:un}=__REACT__;var mn=__STORYBOOK_API__,{ActiveTabs:gn,Consumer:bn,ManagerContext:hn,Provider:En,addons:Q,combineParameters:yn,controlOrMetaKey:On,controlOrMetaSymbol:Tn,eventMatchesShortcut:vn,eventToShortcut:_n,isMacLike:An,isShortcutTaken:Sn,keyToSymbol:Rn,merge:Cn,mockChannel:wn,optionOrAltSymbol:xn,shortcutMatchesShortcut:Nn,shortcutToHumanString:Ln,types:Re,useAddonState:Ce,useArgTypes:In,useArgs:Dn,useChannel:we,useGlobalTypes:Mn,useGlobals:Bn,useParameter:Pn,useSharedState:Fn,useStoryPrepared:zn,useStorybookApi:Hn,useStorybookState:jn}=__STORYBOOK_API__;var Vn=__STORYBOOK_CORE_EVENTS__,{CHANNEL_CREATED:$n,CONFIG_ERROR:Yn,CURRENT_STORY_WAS_SET:Jn,DOCS_PREPARED:qn,DOCS_RENDERED:Xn,FORCE_REMOUNT:Zn,FORCE_RE_RENDER:Kn,GLOBALS_UPDATED:Qn,IGNORED_EXCEPTION:ea,NAVIGATE_URL:ta,PLAY_FUNCTION_THREW_EXCEPTION:ra,PRELOAD_ENTRIES:na,PREVIEW_BUILDER_PROGRESS:aa,PREVIEW_KEYDOWN:oa,REGISTER_SUBSCRIPTION:ia,REQUEST_WHATS_NEW_DATA:sa,RESET_STORY_ARGS:la,RESULT_WHATS_NEW_DATA:ua,SELECT_STORY:ca,SET_CONFIG:pa,SET_CURRENT_STORY:fa,SET_GLOBALS:da,SET_INDEX:ma,SET_STORIES:ga,SET_WHATS_NEW_CACHE:ba,SHARED_STATE_CHANGED:ha,SHARED_STATE_SET:Ea,STORIES_COLLAPSE_ALL:ya,STORIES_EXPAND_ALL:Oa,STORY_ARGS_UPDATED:Ta,STORY_CHANGED:k,STORY_ERRORED:va,STORY_INDEX_INVALIDATED:_a,STORY_MISSING:Aa,STORY_PREPARED:Sa,STORY_RENDERED:Ra,STORY_RENDER_PHASE_CHANGED:Ca,STORY_SPECIFIED:wa,STORY_THREW_EXCEPTION:xa,STORY_UNCHANGED:Na,TELEMETRY_ERROR:La,TOGGLE_WHATS_NEW_NOTIFICATIONS:Ia,UPDATE_GLOBALS:Da,UPDATE_QUERY_PARAMS:Ma,UPDATE_STORY_ARGS:Ba}=__STORYBOOK_CORE_EVENTS__;var ja=__STORYBOOK_COMPONENTS__,{A:Ua,ActionBar:xe,AddonPanel:ka,Badge:Ne,Bar:Ga,Blockquote:Wa,Button:Va,ClipboardCode:$a,Code:Ya,DL:Ja,Div:qa,DocumentWrapper:Xa,ErrorFormatter:Za,FlexBar:Ka,Form:Qa,H1:eo,H2:to,H3:ro,H4:no,H5:ao,H6:oo,HR:io,IconButton:so,IconButtonSkeleton:lo,Icons:uo,Img:co,LI:po,Link:fo,ListItem:mo,Loader:go,OL:bo,P:ho,Placeholder:Eo,Pre:yo,ResetWrapper:Oo,ScrollArea:Le,Separator:To,Spaced:Ie,Span:vo,StorybookIcon:_o,StorybookLogo:Ao,Symbols:So,SyntaxHighlighter:Ro,TT:Co,TabBar:wo,TabButton:xo,TabWrapper:No,Table:Lo,Tabs:Io,TabsState:Do,TooltipLinkList:Mo,TooltipMessage:Bo,TooltipNote:Po,UL:Fo,WithTooltip:zo,WithTooltipPure:Ho,Zoom:jo,codeCommon:Uo,components:ko,createCopyToClipboardFunction:Go,getStoryHref:Wo,icons:Vo,interleaveSeparators:$o,nameSpaceClassNames:Yo,resetComponents:Jo,withReset:qo}=__STORYBOOK_COMPONENTS__;var De=Object.prototype.hasOwnProperty;function Me(e,t,r){for(r of e.keys())if(L(r,t))return r}function L(e,t){var r,n,a;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&L(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(a=n,a&&typeof a=="object"&&(a=Me(t,a),!a)||!t.has(a))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(a=n[0],a&&typeof a=="object"&&(a=Me(t,a),!a)||!L(n[1],t.get(a)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(De.call(e,r)&&++n&&!De.call(t,r)||!(r in t)||!L(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var ai=__STORYBOOK_THEMING__,{CacheProvider:oi,ClassNames:ii,Global:si,ThemeProvider:li,background:ui,color:ci,convert:pi,create:fi,createCache:di,createGlobal:mi,createReset:gi,css:bi,darken:hi,ensure:Ei,ignoreSsrWarning:yi,isPropValid:Oi,jsx:Ti,keyframes:vi,lighten:_i,styled:P,themes:Ai,typography:Si,useTheme:Ri,withTheme:Be}=__STORYBOOK_THEMING__;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&a<1?(l=i,u=s):a>=1&&a<2?(l=s,u=i):a>=2&&a<3?(u=i,c=s):a>=3&&a<4?(u=s,c=i):a>=4&&a<5?(l=s,c=i):a>=5&&a<6&&(l=i,c=s);var p=r-i/2,d=l+p,f=u+p,E=c+p;return n(d,f,E)}var ke={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 ct(e){if(typeof e!="string")return e;var t=e.toLowerCase();return ke[t]?"#"+ke[t]:e}var pt=/^#[a-fA-F0-9]{6}$/,ft=/^#[a-fA-F0-9]{8}$/,dt=/^#[a-fA-F0-9]{3}$/,mt=/^#[a-fA-F0-9]{4}$/,re=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,gt=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,bt=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,ht=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function I(e){if(typeof e!="string")throw new v(3);var t=ct(e);if(t.match(pt))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(ft)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(dt))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(mt)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=re.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var i=gt.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var s=bt.exec(t);if(s){var l=parseInt(""+s[1],10),u=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,p="rgb("+F(l,u,c)+")",d=re.exec(p);if(!d)throw new v(4,t,p);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var f=ht.exec(t.substring(0,50));if(f){var E=parseInt(""+f[1],10),m=parseInt(""+f[2],10)/100,y=parseInt(""+f[3],10)/100,O="rgb("+F(E,m,y)+")",x=re.exec(O);if(!x)throw new v(4,t,O);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+f[4])>1?parseFloat(""+f[4])/100:parseFloat(""+f[4])}}throw new v(5)}function Et(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),i=Math.min(t,r,n),s=(a+i)/2;if(a===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l,u=a-i,c=s>.5?u/(2-a-i):u/(a+i);switch(a){case t:l=(r-n)/u+(r=1?V(e,t,r):"rgba("+F(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?V(e.hue,e.saturation,e.lightness):"rgba("+F(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new v(2)}function oe(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return ae("#"+w(e)+w(t)+w(r));if(typeof e=="object"&&t===void 0&&r===void 0)return ae("#"+w(e.red)+w(e.green)+w(e.blue));throw new v(6)}function $(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=I(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?oe(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?oe(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new v(7)}var _t=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},At=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},St=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Rt=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function C(e){if(typeof e!="object")throw new v(8);if(At(e))return $(e);if(_t(e))return oe(e);if(Rt(e))return vt(e);if(St(e))return Tt(e);throw new v(8)}function We(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):We(e,t,a)}}function _(e){return We(e,e.length,[])}function Ct(e,t){if(t==="transparent")return t;var r=R(t);return C(T({},r,{hue:r.hue+parseFloat(e)}))}var Is=_(Ct);function D(e,t,r){return Math.max(e,Math.min(t,r))}function wt(e,t){if(t==="transparent")return t;var r=R(t);return C(T({},r,{lightness:D(0,1,r.lightness-parseFloat(e))}))}var Ds=_(wt);function xt(e,t){if(t==="transparent")return t;var r=R(t);return C(T({},r,{saturation:D(0,1,r.saturation-parseFloat(e))}))}var Ms=_(xt);function Nt(e,t){if(t==="transparent")return t;var r=R(t);return C(T({},r,{lightness:D(0,1,r.lightness+parseFloat(e))}))}var Bs=_(Nt);function Lt(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=I(t),a=T({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),i=I(r),s=T({},i,{alpha:typeof i.alpha=="number"?i.alpha:1}),l=a.alpha-s.alpha,u=parseFloat(e)*2-1,c=u*l===-1?u:u+l,p=1+u*l,d=(c/p+1)/2,f=1-d,E={red:Math.floor(a.red*d+s.red*f),green:Math.floor(a.green*d+s.green*f),blue:Math.floor(a.blue*d+s.blue*f),alpha:a.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return $(E)}var It=_(Lt),Ve=It;function Dt(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=T({},r,{alpha:D(0,1,(n*100+parseFloat(e)*100)/100)});return $(a)}var Mt=_(Dt),$e=Mt;function Bt(e,t){if(t==="transparent")return t;var r=R(t);return C(T({},r,{saturation:D(0,1,r.saturation+parseFloat(e))}))}var Ps=_(Bt);function Pt(e,t){return t==="transparent"?t:C(T({},R(t),{hue:parseFloat(e)}))}var Fs=_(Pt);function Ft(e,t){return t==="transparent"?t:C(T({},R(t),{lightness:parseFloat(e)}))}var zs=_(Ft);function zt(e,t){return t==="transparent"?t:C(T({},R(t),{saturation:parseFloat(e)}))}var Hs=_(zt);function Ht(e,t){return t==="transparent"?t:Ve(parseFloat(e),"rgb(0, 0, 0)",t)}var js=_(Ht);function jt(e,t){return t==="transparent"?t:Ve(parseFloat(e),"rgb(255, 255, 255)",t)}var Us=_(jt);function Ut(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=T({},r,{alpha:D(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return $(a)}var ks=_(Ut);var kt=Object.create,pe=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Ze=Object.getOwnPropertyNames,Wt=Object.getPrototypeOf,Vt=Object.prototype.hasOwnProperty,fe=(e,t)=>function(){return t||(0,e[Ze(e)[0]])((t={exports:{}}).exports,t),t.exports},$t=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},Yt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ze(t))!Vt.call(e,a)&&a!==r&&pe(e,a,{get:()=>t[a],enumerable:!(n=Gt(t,a))||n.enumerable});return e},Jt=(e,t,r)=>(r=e!=null?kt(Wt(e)):{},Yt(t||!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),qt=fe({"node_modules/is-object/index.js"(e,t){t.exports=function(r){return typeof r=="object"&&r!==null}}}),Xt=fe({"node_modules/is-window/index.js"(e,t){t.exports=function(r){if(r==null)return!1;var n=Object(r);return n===n.window}}}),Zt=fe({"node_modules/is-dom/index.js"(e,t){var r=qt(),n=Xt();function a(i){return!r(i)||!n(window)||typeof window.Node!="function"?!1:typeof i.nodeType=="number"&&typeof i.nodeName=="string"}t.exports=a}}),q={};$t(q,{chromeDark:()=>Kt,chromeLight:()=>Qt});var Kt={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"},Qt={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"},Ke=Z([{},()=>{}]),ie={WebkitTouchCallout:"none",WebkitUserSelect:"none",KhtmlUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",OUserSelect:"none",userSelect:"none"},Y=e=>({DOMNodePreview:{htmlOpenTag:{base:{color:e.HTML_TAG_COLOR},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM},htmlAttributeName:{color:e.HTML_ATTRIBUTE_NAME_COLOR},htmlAttributeValue:{color:e.HTML_ATTRIBUTE_VALUE_COLOR}},htmlCloseTag:{base:{color:e.HTML_TAG_COLOR},offsetLeft:{marginLeft:-e.TREENODE_PADDING_LEFT},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM}},htmlComment:{color:e.HTML_COMMENT_COLOR},htmlDoctype:{color:e.HTML_DOCTYPE_COLOR}},ObjectPreview:{objectDescription:{fontStyle:"italic"},preview:{fontStyle:"italic"},arrayMaxProperties:e.OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES,objectMaxProperties:e.OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES},ObjectName:{base:{color:e.OBJECT_NAME_COLOR},dimmed:{opacity:.6}},ObjectValue:{objectValueNull:{color:e.OBJECT_VALUE_NULL_COLOR},objectValueUndefined:{color:e.OBJECT_VALUE_UNDEFINED_COLOR},objectValueRegExp:{color:e.OBJECT_VALUE_REGEXP_COLOR},objectValueString:{color:e.OBJECT_VALUE_STRING_COLOR},objectValueSymbol:{color:e.OBJECT_VALUE_SYMBOL_COLOR},objectValueNumber:{color:e.OBJECT_VALUE_NUMBER_COLOR},objectValueBoolean:{color:e.OBJECT_VALUE_BOOLEAN_COLOR},objectValueFunctionPrefix:{color:e.OBJECT_VALUE_FUNCTION_PREFIX_COLOR,fontStyle:"italic"},objectValueFunctionName:{fontStyle:"italic"}},TreeView:{treeViewOutline:{padding:0,margin:0,listStyleType:"none"}},TreeNode:{treeNodeBase:{color:e.BASE_COLOR,backgroundColor:e.BASE_BACKGROUND_COLOR,lineHeight:e.TREENODE_LINE_HEIGHT,cursor:"default",boxSizing:"border-box",listStyle:"none",fontFamily:e.TREENODE_FONT_FAMILY,fontSize:e.TREENODE_FONT_SIZE},treeNodePreviewContainer:{},treeNodePlaceholder:{whiteSpace:"pre",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...ie},treeNodeArrow:{base:{color:e.ARROW_COLOR,display:"inline-block",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...parseFloat(e.ARROW_ANIMATION_DURATION)>0?{transition:`transform ${e.ARROW_ANIMATION_DURATION} ease 0s`}:{},...ie},expanded:{WebkitTransform:"rotateZ(90deg)",MozTransform:"rotateZ(90deg)",transform:"rotateZ(90deg)"},collapsed:{WebkitTransform:"rotateZ(0deg)",MozTransform:"rotateZ(0deg)",transform:"rotateZ(0deg)"}},treeNodeChildNodesContainer:{margin:0,paddingLeft:e.TREENODE_PADDING_LEFT}},TableInspector:{base:{color:e.BASE_COLOR,position:"relative",border:`1px solid ${e.TABLE_BORDER_COLOR}`,fontFamily:e.BASE_FONT_FAMILY,fontSize:e.BASE_FONT_SIZE,lineHeight:"120%",boxSizing:"border-box",cursor:"default"}},TableInspectorHeaderContainer:{base:{top:0,height:"17px",left:0,right:0,overflowX:"hidden"},table:{tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",height:"100%",width:"100%",margin:0}},TableInspectorDataContainer:{tr:{display:"table-row"},td:{boxSizing:"border-box",border:"none",height:"16px",verticalAlign:"top",padding:"1px 4px",WebkitUserSelect:"text",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px"},div:{position:"static",top:"17px",bottom:0,overflowY:"overlay",transform:"translateZ(0)",left:0,right:0,overflowX:"hidden"},table:{positon:"static",left:0,top:0,right:0,bottom:0,borderTop:"0 none transparent",margin:0,backgroundImage:e.TABLE_DATA_BACKGROUND_IMAGE,backgroundSize:e.TABLE_DATA_BACKGROUND_SIZE,tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",width:"100%",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorTH:{base:{position:"relative",height:"auto",textAlign:"left",backgroundColor:e.TABLE_TH_BACKGROUND_COLOR,borderBottom:`1px solid ${e.TABLE_BORDER_COLOR}`,fontWeight:"normal",verticalAlign:"middle",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px",":hover":{backgroundColor:e.TABLE_TH_HOVER_COLOR}},div:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorLeftBorder:{none:{borderLeft:"none"},solid:{borderLeft:`1px solid ${e.TABLE_BORDER_COLOR}`}},TableInspectorSortIcon:{display:"block",marginRight:3,width:8,height:7,marginTop:-7,color:e.TABLE_SORT_ICON_COLOR,fontSize:12,...ie}}),se="chromeLight",Qe=Z(Y(q[se])),A=e=>K(Qe)[e],de=e=>({theme:t=se,...r})=>{let n=Se(()=>{switch(Object.prototype.toString.call(t)){case"[object String]":return Y(q[t]);case"[object Object]":return Y(t);default:return Y(q[se])}},[t]);return o.createElement(Qe.Provider,{value:n},o.createElement(e,{...r}))},er=({expanded:e,styles:t})=>o.createElement("span",{style:{...t.base,...e?t.expanded:t.collapsed}},"\u25B6"),tr=j(e=>{e={expanded:!0,nodeRenderer:({name:p})=>o.createElement("span",null,p),onClick:()=>{},shouldShowArrow:!1,shouldShowPlaceholder:!0,...e};let{expanded:t,onClick:r,children:n,nodeRenderer:a,title:i,shouldShowArrow:s,shouldShowPlaceholder:l}=e,u=A("TreeNode"),c=a;return o.createElement("li",{"aria-expanded":t,role:"treeitem",style:u.treeNodeBase,title:i},o.createElement("div",{style:u.treeNodePreviewContainer,onClick:r},s||Te.count(n)>0?o.createElement(er,{expanded:t,styles:u.treeNodeArrow}):l&&o.createElement("span",{style:u.treeNodePlaceholder},"\xA0"),o.createElement(c,{...e})),o.createElement("ol",{role:"group",style:u.treeNodeChildNodesContainer},t?n:void 0))}),X="$",Ye="*";function J(e,t){return!t(e).next().done}var rr=e=>Array.from({length:e},(t,r)=>[X].concat(Array.from({length:r},()=>"*")).join(".")),nr=(e,t,r,n,a)=>{let i=[].concat(rr(n)).concat(r).filter(l=>typeof l=="string"),s=[];return i.forEach(l=>{let u=l.split("."),c=(p,d,f)=>{if(f===u.length){s.push(d);return}let E=u[f];if(f===0)J(p,t)&&(E===X||E===Ye)&&c(p,X,f+1);else if(E===Ye)for(let{name:m,data:y}of t(p))J(y,t)&&c(y,`${d}.${m}`,f+1);else{let m=p[E];J(m,t)&&c(m,`${d}.${E}`,f+1)}};c(e,"",0)}),s.reduce((l,u)=>(l[u]=!0,l),{...a})},et=j(e=>{let{data:t,dataIterator:r,path:n,depth:a,nodeRenderer:i}=e,[s,l]=K(Ke),u=J(t,r),c=!!s[n],p=N(()=>u&&l(d=>({...d,[n]:!c})),[u,l,n,c]);return o.createElement(tr,{expanded:c,onClick:p,shouldShowArrow:u,shouldShowPlaceholder:a>0,nodeRenderer:i,...e},c?[...r(t)].map(({name:d,data:f,...E})=>o.createElement(et,{name:d,data:f,depth:a+1,path:`${n}.${d}`,key:d,dataIterator:r,nodeRenderer:i,...E})):null)}),tt=j(({name:e,data:t,dataIterator:r,nodeRenderer:n,expandPaths:a,expandLevel:i})=>{let s=A("TreeView"),l=U({}),[,u]=l;return Ae(()=>u(c=>nr(t,r,a,i,c)),[t,r,a,i]),o.createElement(Ke.Provider,{value:l},o.createElement("ol",{role:"tree",style:s.treeViewOutline},o.createElement(et,{name:e,data:t,dataIterator:r,depth:0,path:X,nodeRenderer:n})))}),me=({name:e,dimmed:t=!1,styles:r={}})=>{let n=A("ObjectName"),a={...n.base,...t?n.dimmed:{},...r};return o.createElement("span",{style:a},e)},z=({object:e,styles:t})=>{let r=A("ObjectValue"),n=a=>({...r[a],...t});switch(typeof e){case"bigint":return o.createElement("span",{style:n("objectValueNumber")},String(e),"n");case"number":return o.createElement("span",{style:n("objectValueNumber")},String(e));case"string":return o.createElement("span",{style:n("objectValueString")},'"',e,'"');case"boolean":return o.createElement("span",{style:n("objectValueBoolean")},String(e));case"undefined":return o.createElement("span",{style:n("objectValueUndefined")},"undefined");case"object":return e===null?o.createElement("span",{style:n("objectValueNull")},"null"):e instanceof Date?o.createElement("span",null,e.toString()):e instanceof RegExp?o.createElement("span",{style:n("objectValueRegExp")},e.toString()):Array.isArray(e)?o.createElement("span",null,`Array(${e.length})`):e.constructor?typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)?o.createElement("span",null,`Buffer[${e.length}]`):o.createElement("span",null,e.constructor.name):o.createElement("span",null,"Object");case"function":return o.createElement("span",null,o.createElement("span",{style:n("objectValueFunctionPrefix")},"\u0192\xA0"),o.createElement("span",{style:n("objectValueFunctionName")},e.name,"()"));case"symbol":return o.createElement("span",{style:n("objectValueSymbol")},e.toString());default:return o.createElement("span",null)}},rt=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable;function le(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r.get)try{return r.get()}catch{return r.get}return e[t]}function Je(e,t){return e.length===0?[]:e.slice(1).reduce((r,n)=>r.concat([t,n]),[e[0]])}var ue=({data:e})=>{let t=A("ObjectPreview"),r=e;if(typeof r!="object"||r===null||r instanceof Date||r instanceof RegExp)return o.createElement(z,{object:r});if(Array.isArray(r)){let n=t.arrayMaxProperties,a=r.slice(0,n).map((s,l)=>o.createElement(z,{key:l,object:s}));r.length>n&&a.push(o.createElement("span",{key:"ellipsis"},"\u2026"));let i=r.length;return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i===0?"":`(${i})\xA0`),o.createElement("span",{style:t.preview},"[",Je(a,", "),"]"))}else{let n=t.objectMaxProperties,a=[];for(let s in r)if(rt.call(r,s)){let l;a.length===n-1&&Object.keys(r).length>n&&(l=o.createElement("span",{key:"ellipsis"},"\u2026"));let u=le(r,s);if(a.push(o.createElement("span",{key:s},o.createElement(me,{name:s||'""'}),":\xA0",o.createElement(z,{object:u}),l)),l)break}let i=r.constructor?r.constructor.name:"Object";return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i==="Object"?"":`${i} `),o.createElement("span",{style:t.preview},"{",Je(a,", "),"}"))}},or=({name:e,data:t})=>typeof e=="string"?o.createElement("span",null,o.createElement(me,{name:e}),o.createElement("span",null,": "),o.createElement(ue,{data:t})):o.createElement(ue,{data:t}),ir=({name:e,data:t,isNonenumerable:r=!1})=>{let n=t;return o.createElement("span",null,typeof e=="string"?o.createElement(me,{name:e,dimmed:r}):o.createElement(ue,{data:e}),o.createElement("span",null,": "),o.createElement(z,{object:n}))},sr=(e,t)=>function*(r){if(!(typeof r=="object"&&r!==null||typeof r=="function"))return;let n=Array.isArray(r);if(!n&&r[Symbol.iterator]){let a=0;for(let i of r){if(Array.isArray(i)&&i.length===2){let[s,l]=i;yield{name:s,data:l}}else yield{name:a.toString(),data:i};a++}}else{let a=Object.getOwnPropertyNames(r);t===!0&&!n?a.sort():typeof t=="function"&&a.sort(t);for(let i of a)if(ar.call(r,i)){let s=le(r,i);yield{name:i||'""',data:s}}else if(e){let s;try{s=le(r,i)}catch{}s!==void 0&&(yield{name:i,data:s,isNonenumerable:!0})}e&&r!==Object.prototype&&(yield{name:"__proto__",data:Object.getPrototypeOf(r),isNonenumerable:!0})}},lr=({depth:e,name:t,data:r,isNonenumerable:n})=>e===0?o.createElement(or,{name:t,data:r}):o.createElement(ir,{name:t,data:r,isNonenumerable:n}),ur=({showNonenumerable:e=!1,sortObjectKeys:t,nodeRenderer:r,...n})=>{let a=sr(e,t),i=r||lr;return o.createElement(tt,{nodeRenderer:i,dataIterator:a,...n})},cr=de(ur);function pr(e){if(typeof e=="object"){let t=[];if(Array.isArray(e)){let n=e.length;t=[...Array(n).keys()]}else e!==null&&(t=Object.keys(e));let r=t.reduce((n,a)=>{let i=e[a];return typeof i=="object"&&i!==null&&Object.keys(i).reduce((s,l)=>(s.includes(l)||s.push(l),s),n),n},[]);return{rowHeaders:t,colHeaders:r}}}var fr=({rows:e,columns:t,rowsData:r})=>{let n=A("TableInspectorDataContainer"),a=A("TableInspectorLeftBorder");return o.createElement("div",{style:n.div},o.createElement("table",{style:n.table},o.createElement("colgroup",null),o.createElement("tbody",null,e.map((i,s)=>o.createElement("tr",{key:i,style:n.tr},o.createElement("td",{style:{...n.td,...a.none}},i),t.map(l=>{let u=r[s];return typeof u=="object"&&u!==null&&rt.call(u,l)?o.createElement("td",{key:l,style:{...n.td,...a.solid}},o.createElement(z,{object:u[l]})):o.createElement("td",{key:l,style:{...n.td,...a.solid}})}))))))},dr=e=>o.createElement("div",{style:{position:"absolute",top:1,right:0,bottom:1,display:"flex",alignItems:"center"}},e.children),mr=({sortAscending:e})=>{let t=A("TableInspectorSortIcon"),r=e?"\u25B2":"\u25BC";return o.createElement("div",{style:t},r)},qe=({sortAscending:e=!1,sorted:t=!1,onClick:r=void 0,borderStyle:n={},children:a,...i})=>{let s=A("TableInspectorTH"),[l,u]=U(!1),c=N(()=>u(!0),[]),p=N(()=>u(!1),[]);return o.createElement("th",{...i,style:{...s.base,...n,...l?s.base[":hover"]:{}},onMouseEnter:c,onMouseLeave:p,onClick:r},o.createElement("div",{style:s.div},a),t&&o.createElement(dr,null,o.createElement(mr,{sortAscending:e})))},gr=({indexColumnText:e="(index)",columns:t=[],sorted:r,sortIndexColumn:n,sortColumn:a,sortAscending:i,onTHClick:s,onIndexTHClick:l})=>{let u=A("TableInspectorHeaderContainer"),c=A("TableInspectorLeftBorder");return o.createElement("div",{style:u.base},o.createElement("table",{style:u.table},o.createElement("tbody",null,o.createElement("tr",null,o.createElement(qe,{borderStyle:c.none,sorted:r&&n,sortAscending:i,onClick:l},e),t.map(p=>o.createElement(qe,{borderStyle:c.solid,key:p,sorted:r&&a===p,sortAscending:i,onClick:s.bind(null,p)},p))))))},br=({data:e,columns:t})=>{let r=A("TableInspector"),[{sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s},l]=U({sorted:!1,sortIndexColumn:!1,sortColumn:void 0,sortAscending:!1}),u=N(()=>{l(({sortIndexColumn:m,sortAscending:y})=>({sorted:!0,sortIndexColumn:!0,sortColumn:void 0,sortAscending:m?!y:!0}))},[]),c=N(m=>{l(({sortColumn:y,sortAscending:O})=>({sorted:!0,sortIndexColumn:!1,sortColumn:m,sortAscending:m===y?!O:!0}))},[]);if(typeof e!="object"||e===null)return o.createElement("div",null);let{rowHeaders:p,colHeaders:d}=pr(e);t!==void 0&&(d=t);let f=p.map(m=>e[m]),E;if(i!==void 0?E=f.map((m,y)=>typeof m=="object"&&m!==null?[m[i],y]:[void 0,y]):a&&(E=p.map((m,y)=>[p[y],y])),E!==void 0){let m=(O,x)=>(ot,it)=>{let ge=O(ot),be=O(it),he=typeof ge,Ee=typeof be,ye=(B,Oe)=>BOe?1:0,M;if(he===Ee)M=ye(ge,be);else{let B={string:0,number:1,object:2,symbol:3,boolean:4,undefined:5,function:6};M=ye(B[he],B[Ee])}return x||(M=-M),M},y=E.sort(m(O=>O[0],s)).map(O=>O[1]);p=y.map(O=>p[O]),f=y.map(O=>f[O])}return o.createElement("div",{style:r.base},o.createElement(gr,{columns:d,sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s,onTHClick:c,onIndexTHClick:u}),o.createElement(fr,{rows:p,columns:d,rowsData:f}))},hr=de(br),Er=80,nt=e=>e.childNodes.length===0||e.childNodes.length===1&&e.childNodes[0].nodeType===Node.TEXT_NODE&&e.textContent.lengtho.createElement("span",{style:r.base},"<",o.createElement("span",{style:r.tagName},e),(()=>{if(t){let n=[];for(let a=0;a"),Xe=({tagName:e,isChildNode:t=!1,styles:r})=>o.createElement("span",{style:Object.assign({},r.base,t&&r.offsetLeft)},""),Or={1:"ELEMENT_NODE",3:"TEXT_NODE",7:"PROCESSING_INSTRUCTION_NODE",8:"COMMENT_NODE",9:"DOCUMENT_NODE",10:"DOCUMENT_TYPE_NODE",11:"DOCUMENT_FRAGMENT_NODE"},Tr=({isCloseTag:e,data:t,expanded:r})=>{let n=A("DOMNodePreview");if(e)return o.createElement(Xe,{styles:n.htmlCloseTag,isChildNode:!0,tagName:t.tagName});switch(t.nodeType){case Node.ELEMENT_NODE:return o.createElement("span",null,o.createElement(yr,{tagName:t.tagName,attributes:t.attributes,styles:n.htmlOpenTag}),nt(t)?t.textContent:!r&&"\u2026",!r&&o.createElement(Xe,{tagName:t.tagName,styles:n.htmlCloseTag}));case Node.TEXT_NODE:return o.createElement("span",null,t.textContent);case Node.CDATA_SECTION_NODE:return o.createElement("span",null,"");case Node.COMMENT_NODE:return o.createElement("span",{style:n.htmlComment},"");case Node.PROCESSING_INSTRUCTION_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_TYPE_NODE:return o.createElement("span",{style:n.htmlDoctype},"");case Node.DOCUMENT_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_FRAGMENT_NODE:return o.createElement("span",null,t.nodeName);default:return o.createElement("span",null,Or[t.nodeType])}},vr=function*(e){if(e&&e.childNodes){if(nt(e))return;for(let t=0;to.createElement(tt,{nodeRenderer:Tr,dataIterator:vr,...e}),Ar=de(_r),Sr=Jt(Zt()),Rr=({table:e=!1,data:t,...r})=>e?o.createElement(hr,{data:t,...r}):(0,Sr.default)(t)?o.createElement(Ar,{data:t,...r}):o.createElement(cr,{data:t,...r}),Cr=P.div({display:"flex",padding:0,borderLeft:"5px solid transparent",borderBottom:"1px solid transparent",transition:"all 0.1s",alignItems:"flex-start",whiteSpace:"pre"}),wr=P.div(({theme:e})=>({backgroundColor:$e(.5,e.appBorderColor),color:e.color.inverseText,fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:1,padding:"1px 5px",borderRadius:20,margin:"2px 0px"})),xr=P.div({flex:1,padding:"0 0 0 5px"}),Nr=({children:e,className:t})=>o.createElement(Le,{horizontal:!0,vertical:!0,className:t},e),Lr=P(Nr)({margin:0,padding:"10px 5px 20px"}),Ir=Be(({theme:e,...t})=>o.createElement(Rr,{theme:e.addonActionsTheme||"chromeLight",table:!1,...t})),Dr=({actions:e,onClear:t})=>o.createElement(_e,null,o.createElement(Lr,null,e.map(r=>o.createElement(Cr,{key:r.id},r.count>1&&o.createElement(wr,null,r.count),o.createElement(xr,null,o.createElement(Ir,{sortObjectKeys:!0,showNonenumerable:!1,name:r.data.name,data:r.data.args||r.data}))))),o.createElement(xe,{actionItems:[{title:"Clear",onClick:t}]})),Mr="actions",H="storybook/actions",Br=`${H}/panel`,ce=`${H}/action-event`,at=`${H}/action-clear`,Pr=(e,t)=>{try{return L(e,t)}catch{return!1}},Fr=class extends ve{constructor(e){super(e),this.handleStoryChange=()=>{let{actions:t}=this.state;t.length>0&&t[0].options.clearOnStoryChange&&this.clearActions()},this.addAction=t=>{this.setState(r=>{let n=[...r.actions],a=n.length&&n[0];return a&&Pr(a.data,t.data)?a.count++:(t.count=1,n.unshift(t)),{actions:n.slice(0,t.options.limit)}})},this.clearActions=()=>{let{api:t}=this.props;t.emit(at),this.setState({actions:[]})},this.mounted=!1,this.state={actions:[]}}componentDidMount(){this.mounted=!0;let{api:e}=this.props;e.on(ce,this.addAction),e.on(k,this.handleStoryChange)}componentWillUnmount(){this.mounted=!1;let{api:e}=this.props;e.off(k,this.handleStoryChange),e.off(ce,this.addAction)}render(){let{actions:e=[]}=this.state,{active:t}=this.props,r={actions:e,onClear:this.clearActions};return t?o.createElement(Dr,{...r}):null}};function zr(){let[{count:e},t]=Ce(H,{count:0});return we({[ce]:()=>{t(r=>({...r,count:r.count+1}))},[k]:()=>{t(r=>({...r,count:0}))},[at]:()=>{t(r=>({...r,count:0}))}}),o.createElement("div",null,o.createElement(Ie,{col:1},o.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Actions"),e===0?"":o.createElement(Ne,{status:"neutral"},e)))}Q.register(H,e=>{Q.add(Br,{title:zr,type:Re.PANEL,render:({active:t})=>o.createElement(Fr,{api:e,active:!!t}),paramKey:Mr})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/pr/pr-177/sb-addons/essentials-actions-1/manager-bundle.js.LEGAL.txt b/pr/pr-177/sb-addons/essentials-actions-1/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/pr/pr-177/sb-addons/essentials-backgrounds-2/manager-bundle.js b/pr/pr-177/sb-addons/essentials-backgrounds-2/manager-bundle.js new file mode 100644 index 00000000..fa448c66 --- /dev/null +++ b/pr/pr-177/sb-addons/essentials-backgrounds-2/manager-bundle.js @@ -0,0 +1,12 @@ +try{ +(()=>{var te=Object.create;var F=Object.defineProperty;var re=Object.getOwnPropertyDescriptor;var ne=Object.getOwnPropertyNames;var oe=Object.getPrototypeOf,ie=Object.prototype.hasOwnProperty;var x=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,s)=>(typeof require<"u"?require:t)[s]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var B=(e,t)=>()=>(e&&(t=e(e=0)),t);var ae=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var se=(e,t,s,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ne(t))!ie.call(e,i)&&i!==s&&F(e,i,{get:()=>t[i],enumerable:!(o=re(t,i))||o.enumerable});return e};var le=(e,t,s)=>(s=e!=null?te(oe(e)):{},se(t||!e||!e.__esModule?F(s,"default",{value:e,enumerable:!0}):s,e));var d=B(()=>{});var m=B(()=>{});var p=B(()=>{});var j=ae(($,G)=>{d();m();p();(function(e){if(typeof $=="object"&&typeof G<"u")G.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,s;return function o(i,g,l){function n(a,h){if(!g[a]){if(!i[a]){var c=typeof x=="function"&&x;if(!h&&c)return c(a,!0);if(r)return r(a,!0);var y=new Error("Cannot find module '"+a+"'");throw y.code="MODULE_NOT_FOUND",y}var f=g[a]={exports:{}};i[a][0].call(f.exports,function(b){var _=i[a][1][b];return n(_||b)},f,f.exports,o,i,g,l)}return g[a].exports}for(var r=typeof x=="function"&&x,u=0;u=0)return this.lastItem=this.list[r],this.list[r].val},l.prototype.set=function(n,r){var u;return this.lastItem&&this.isEqual(this.lastItem.key,n)?(this.lastItem.val=r,this):(u=this.indexOf(n),u>=0?(this.lastItem=this.list[u],this.list[u].val=r,this):(this.lastItem={key:n,val:r},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(n){var r;if(this.lastItem&&this.isEqual(this.lastItem.key,n)&&(this.lastItem=void 0),r=this.indexOf(n),r>=0)return this.size--,this.list.splice(r,1)[0]},l.prototype.has=function(n){var r;return this.lastItem&&this.isEqual(this.lastItem.key,n)?!0:(r=this.indexOf(n),r>=0?(this.lastItem=this.list[r],!0):!1)},l.prototype.forEach=function(n,r){var u;for(u=0;u0&&(R[k]={cacheItem:b,arg:arguments[k]},C?n(c,R):c.push(R),c.length>a&&r(c.shift())),f.wasMemoized=C,f.numArgs=k+1,A};return f.limit=a,f.wasMemoized=!1,f.cache=h,f.lru=c,f}};function n(a,h){var c=a.length,y=h.length,f,b,_;for(b=0;b=0&&(c=a[f],y=c.cacheItem.get(c.arg),!y||!y.size);f--)c.cacheItem.delete(c.arg)}function u(a,h){return a===h||a!==a&&h!==h}},{"map-or-similar":1}]},{},[3])(3)})});d();m();p();d();m();p();d();m();p();d();m();p();var v=__REACT__,{Children:Te,Component:Se,Fragment:w,Profiler:ke,PureComponent:Ie,StrictMode:Ee,Suspense:Ce,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:xe,cloneElement:Ae,createContext:Re,createElement:Be,createFactory:we,createRef:Le,forwardRef:Me,isValidElement:Pe,lazy:Ne,memo:L,useCallback:K,useContext:Ge,useDebugValue:ze,useEffect:De,useImperativeHandle:qe,useLayoutEffect:He,useMemo:Y,useReducer:Fe,useRef:Ke,useState:W,version:Ye}=__REACT__;d();m();p();var Ve=__STORYBOOK_API__,{ActiveTabs:Ze,Consumer:Je,ManagerContext:Qe,Provider:Xe,addons:M,combineParameters:et,controlOrMetaKey:tt,controlOrMetaSymbol:rt,eventMatchesShortcut:nt,eventToShortcut:ot,isMacLike:it,isShortcutTaken:at,keyToSymbol:st,merge:lt,mockChannel:ut,optionOrAltSymbol:ct,shortcutMatchesShortcut:ft,shortcutToHumanString:dt,types:U,useAddonState:mt,useArgTypes:pt,useArgs:ht,useChannel:gt,useGlobalTypes:bt,useGlobals:P,useParameter:N,useSharedState:yt,useStoryPrepared:_t,useStorybookApi:vt,useStorybookState:Ot}=__STORYBOOK_API__;var H=le(j());d();m();p();var Rt=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Bt,logger:z,once:wt,pretty:Lt}=__STORYBOOK_CLIENT_LOGGER__;d();m();p();var zt=__STORYBOOK_COMPONENTS__,{A:Dt,ActionBar:qt,AddonPanel:Ht,Badge:Ft,Bar:Kt,Blockquote:Yt,Button:Wt,ClipboardCode:Ut,Code:$t,DL:jt,Div:Vt,DocumentWrapper:Zt,ErrorFormatter:Jt,FlexBar:Qt,Form:Xt,H1:er,H2:tr,H3:rr,H4:nr,H5:or,H6:ir,HR:ar,IconButton:D,IconButtonSkeleton:sr,Icons:q,Img:lr,LI:ur,Link:cr,ListItem:fr,Loader:dr,OL:mr,P:pr,Placeholder:hr,Pre:gr,ResetWrapper:br,ScrollArea:yr,Separator:_r,Spaced:vr,Span:Or,StorybookIcon:Tr,StorybookLogo:Sr,Symbols:kr,SyntaxHighlighter:Ir,TT:Er,TabBar:Cr,TabButton:xr,TabWrapper:Ar,Table:Rr,Tabs:Br,TabsState:wr,TooltipLinkList:V,TooltipMessage:Lr,TooltipNote:Mr,UL:Pr,WithTooltip:Z,WithTooltipPure:Nr,Zoom:Gr,codeCommon:zr,components:Dr,createCopyToClipboardFunction:qr,getStoryHref:Hr,icons:Fr,interleaveSeparators:Kr,nameSpaceClassNames:Yr,resetComponents:Wr,withReset:Ur}=__STORYBOOK_COMPONENTS__;d();m();p();var Jr=__STORYBOOK_THEMING__,{CacheProvider:Qr,ClassNames:Xr,Global:en,ThemeProvider:tn,background:rn,color:nn,convert:on,create:an,createCache:sn,createGlobal:ln,createReset:un,css:cn,darken:fn,ensure:dn,ignoreSsrWarning:mn,isPropValid:pn,jsx:hn,keyframes:gn,lighten:bn,styled:J,themes:yn,typography:_n,useTheme:vn,withTheme:On}=__STORYBOOK_THEMING__;d();m();p();var En=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();d();m();p();function Q(e){for(var t=[],s=1;s({borderRadius:"1rem",display:"block",height:"1rem",width:"1rem",background:e}),({theme:e})=>({boxShadow:`${e.appBorderColor} 0 0 0 1px inset`})),ce=(e,t=[],s)=>{if(e==="transparent")return"transparent";if(t.find(i=>i.value===e))return e;let o=t.find(i=>i.name===s);if(o)return o.value;if(s){let i=t.map(g=>g.name).join(", ");z.warn(Q` + Backgrounds Addon: could not find the default color "${s}". + These are the available colors for your story based on your configuration: + ${i}. + `)}return"transparent"},ee=(0,H.default)(1e3)((e,t,s,o,i,g)=>({id:e||t,title:t,onClick:()=>{i({selected:s,name:t})},value:s,right:o?v.createElement(ue,{background:s}):void 0,active:g})),fe=(0,H.default)(10)((e,t,s)=>{let o=e.map(({name:i,value:g})=>ee(null,i,g,!0,s,g===t));return t!=="transparent"?[ee("reset","Clear background","transparent",null,s,!1),...o]:o}),de={default:null,disable:!0,values:[]},me=L(function(){let e=N(E,de),[t,s]=W(!1),[o,i]=P(),g=o[E]?.value,l=Y(()=>ce(g,e.values,e.default),[e,g]);Array.isArray(e)&&z.warn("Addon Backgrounds api has changed in Storybook 6.0. Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md");let n=K(r=>{i({[E]:{...o[E],value:r}})},[e,o,i]);return e.disable?null:v.createElement(w,null,v.createElement(Z,{placement:"top",closeOnOutsideClick:!0,tooltip:({onHide:r})=>v.createElement(V,{links:fe(e.values,l,({selected:u})=>{l!==u&&n(u),r()})}),onVisibleChange:s},v.createElement(D,{key:"background",title:"Change the background of the preview",active:l!=="transparent"||t},v.createElement(q,{icon:"photo"}))))}),pe=L(function(){let[e,t]=P(),{grid:s}=N(E,{grid:{disable:!1}});if(s?.disable)return null;let o=e[E]?.grid||!1;return v.createElement(D,{key:"background",active:o,title:"Apply a grid to the preview",onClick:()=>t({[E]:{...e[E],grid:!o}})},v.createElement(q,{icon:"grid"}))});M.register(X,()=>{M.add(X,{title:"Backgrounds",type:U.TOOL,match:({viewMode:e})=>!!(e&&e.match(/^(story|docs)$/)),render:()=>v.createElement(w,null,v.createElement(me,null),v.createElement(pe,null))})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/pr/pr-177/sb-addons/essentials-backgrounds-2/manager-bundle.js.LEGAL.txt b/pr/pr-177/sb-addons/essentials-backgrounds-2/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/pr/pr-177/sb-addons/essentials-controls-0/manager-bundle.js b/pr/pr-177/sb-addons/essentials-controls-0/manager-bundle.js new file mode 100644 index 00000000..53fc1a5f --- /dev/null +++ b/pr/pr-177/sb-addons/essentials-controls-0/manager-bundle.js @@ -0,0 +1,63 @@ +try{ +(()=>{var Yy=Object.create;var ma=Object.defineProperty;var Jy=Object.getOwnPropertyDescriptor;var Xy=Object.getOwnPropertyNames;var Qy=Object.getPrototypeOf,Zy=Object.prototype.hasOwnProperty;var ir=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Ke=(e,t)=>()=>(e&&(t=e(e=0)),t);var x=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ji=(e,t)=>{for(var r in t)ma(e,r,{get:t[r],enumerable:!0})},e2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Xy(t))!Zy.call(e,a)&&a!==r&&ma(e,a,{get:()=>t[a],enumerable:!(n=Jy(t,a))||n.enumerable});return e};var pe=(e,t,r)=>(r=e!=null?Yy(Qy(e)):{},e2(t||!e||!e.__esModule?ma(r,"default",{value:e,enumerable:!0}):r,e));var l=Ke(()=>{});var c=Ke(()=>{});var d=Ke(()=>{});var h,Xi,Qe,Qi,gI,yI,bI,Zi,EI,fe,ur,ga,AI,vI,DI,CI,eu,xI,me,Hr,SI,he,FI,tu,Ze,wI,Fe,te,BI,Ft=Ke(()=>{l();c();d();h=__REACT__,{Children:Xi,Component:Qe,Fragment:Qi,Profiler:gI,PureComponent:yI,StrictMode:bI,Suspense:Zi,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:EI,cloneElement:fe,createContext:ur,createElement:ga,createFactory:AI,createRef:vI,forwardRef:DI,isValidElement:CI,lazy:eu,memo:xI,useCallback:me,useContext:Hr,useDebugValue:SI,useEffect:he,useImperativeHandle:FI,useLayoutEffect:tu,useMemo:Ze,useReducer:wI,useRef:Fe,useState:te,version:BI}=__REACT__});var pu={};Ji(pu,{A:()=>n2,ActionBar:()=>Ea,AddonPanel:()=>Aa,Badge:()=>va,Bar:()=>a2,Blockquote:()=>o2,Button:()=>i2,ClipboardCode:()=>u2,Code:()=>uu,DL:()=>s2,Div:()=>l2,DocumentWrapper:()=>c2,ErrorFormatter:()=>su,FlexBar:()=>Da,Form:()=>Te,H1:()=>d2,H2:()=>Ca,H3:()=>lu,H4:()=>p2,H5:()=>f2,H6:()=>h2,HR:()=>m2,IconButton:()=>pt,IconButtonSkeleton:()=>xa,Icons:()=>we,Img:()=>g2,LI:()=>y2,Link:()=>ft,ListItem:()=>b2,Loader:()=>cu,OL:()=>E2,P:()=>A2,Placeholder:()=>v2,Pre:()=>D2,ResetWrapper:()=>Sa,ScrollArea:()=>C2,Separator:()=>x2,Spaced:()=>Fa,Span:()=>S2,StorybookIcon:()=>F2,StorybookLogo:()=>w2,Symbols:()=>B2,SyntaxHighlighter:()=>Gr,TT:()=>T2,TabBar:()=>_2,TabButton:()=>O2,TabWrapper:()=>R2,Table:()=>P2,Tabs:()=>I2,TabsState:()=>wa,TooltipLinkList:()=>k2,TooltipMessage:()=>N2,TooltipNote:()=>Ba,UL:()=>L2,WithTooltip:()=>Wr,WithTooltipPure:()=>Ta,Zoom:()=>_a,codeCommon:()=>wt,components:()=>Oa,createCopyToClipboardFunction:()=>q2,default:()=>r2,getStoryHref:()=>du,icons:()=>j2,interleaveSeparators:()=>M2,nameSpaceClassNames:()=>Ra,resetComponents:()=>$2,withReset:()=>Bt});var r2,n2,Ea,Aa,va,a2,o2,i2,u2,uu,s2,l2,c2,su,Da,Te,d2,Ca,lu,p2,f2,h2,m2,pt,xa,we,g2,y2,ft,b2,cu,E2,A2,v2,D2,Sa,C2,x2,Fa,S2,F2,w2,B2,Gr,T2,_2,O2,R2,P2,I2,wa,k2,N2,Ba,L2,Wr,Ta,_a,wt,Oa,q2,du,j2,M2,Ra,$2,Bt,sr=Ke(()=>{l();c();d();r2=__STORYBOOK_COMPONENTS__,{A:n2,ActionBar:Ea,AddonPanel:Aa,Badge:va,Bar:a2,Blockquote:o2,Button:i2,ClipboardCode:u2,Code:uu,DL:s2,Div:l2,DocumentWrapper:c2,ErrorFormatter:su,FlexBar:Da,Form:Te,H1:d2,H2:Ca,H3:lu,H4:p2,H5:f2,H6:h2,HR:m2,IconButton:pt,IconButtonSkeleton:xa,Icons:we,Img:g2,LI:y2,Link:ft,ListItem:b2,Loader:cu,OL:E2,P:A2,Placeholder:v2,Pre:D2,ResetWrapper:Sa,ScrollArea:C2,Separator:x2,Spaced:Fa,Span:S2,StorybookIcon:F2,StorybookLogo:w2,Symbols:B2,SyntaxHighlighter:Gr,TT:T2,TabBar:_2,TabButton:O2,TabWrapper:R2,Table:P2,Tabs:I2,TabsState:wa,TooltipLinkList:k2,TooltipMessage:N2,TooltipNote:Ba,UL:L2,WithTooltip:Wr,WithTooltipPure:Ta,Zoom:_a,codeCommon:wt,components:Oa,createCopyToClipboardFunction:q2,getStoryHref:du,icons:j2,interleaveSeparators:M2,nameSpaceClassNames:Ra,resetComponents:$2,withReset:Bt}=__STORYBOOK_COMPONENTS__});var _e,lr,Pa=Ke(()=>{l();c();d();_e=e=>`control-${e.replace(/\s+/g,"-")}`,lr=e=>`set-${e.replace(/\s+/g,"-")}`});var fk,hk,mk,gk,fu,yk,bk,hu,Ek,Ak,vk,Dk,Ck,xk,U2,mu,Sk,Fk,wk,Bk,q,Ia,Tk,gu,_k,ka=Ke(()=>{l();c();d();fk=__STORYBOOK_THEMING__,{CacheProvider:hk,ClassNames:mk,Global:gk,ThemeProvider:fu,background:yk,color:bk,convert:hu,create:Ek,createCache:Ak,createGlobal:vk,createReset:Dk,css:Ck,darken:xk,ensure:U2,ignoreSsrWarning:mu,isPropValid:Sk,jsx:Fk,keyframes:wk,lighten:Bk,styled:q,themes:Ia,typography:Tk,useTheme:gu,withTheme:_k}=__STORYBOOK_THEMING__});var Ua=x((Q7,wu)=>{l();c();d();function w1(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r{l();c();d();function B1(){this.__data__=[],this.size=0}Bu.exports=B1});var Jr=x((iN,_u)=>{l();c();d();function T1(e,t){return e===t||e!==e&&t!==t}_u.exports=T1});var pr=x((cN,Ou)=>{l();c();d();var _1=Jr();function O1(e,t){for(var r=e.length;r--;)if(_1(e[r][0],t))return r;return-1}Ou.exports=O1});var Pu=x((hN,Ru)=>{l();c();d();var R1=pr(),P1=Array.prototype,I1=P1.splice;function k1(e){var t=this.__data__,r=R1(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():I1.call(t,r,1),--this.size,!0}Ru.exports=k1});var ku=x((bN,Iu)=>{l();c();d();var N1=pr();function L1(e){var t=this.__data__,r=N1(t,e);return r<0?void 0:t[r][1]}Iu.exports=L1});var Lu=x((DN,Nu)=>{l();c();d();var q1=pr();function j1(e){return q1(this.__data__,e)>-1}Nu.exports=j1});var ju=x((FN,qu)=>{l();c();d();var M1=pr();function $1(e,t){var r=this.__data__,n=M1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}qu.exports=$1});var fr=x((_N,Mu)=>{l();c();d();var U1=Tu(),z1=Pu(),H1=ku(),G1=Lu(),W1=ju();function Ot(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{l();c();d();var V1=fr();function K1(){this.__data__=new V1,this.size=0}$u.exports=K1});var Hu=x((qN,zu)=>{l();c();d();function Y1(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}zu.exports=Y1});var Wu=x((UN,Gu)=>{l();c();d();function J1(e){return this.__data__.get(e)}Gu.exports=J1});var Ku=x((WN,Vu)=>{l();c();d();function X1(e){return this.__data__.has(e)}Vu.exports=X1});var za=x((JN,Yu)=>{l();c();d();var Q1=typeof window=="object"&&window&&window.Object===Object&&window;Yu.exports=Q1});var Le=x((eL,Ju)=>{l();c();d();var Z1=za(),eb=typeof self=="object"&&self&&self.Object===Object&&self,tb=Z1||eb||Function("return this")();Ju.exports=tb});var mt=x((aL,Xu)=>{l();c();d();var rb=Le(),nb=rb.Symbol;Xu.exports=nb});var ts=x((sL,es)=>{l();c();d();var Qu=mt(),Zu=Object.prototype,ab=Zu.hasOwnProperty,ob=Zu.toString,hr=Qu?Qu.toStringTag:void 0;function ib(e){var t=ab.call(e,hr),r=e[hr];try{e[hr]=void 0;var n=!0}catch{}var a=ob.call(e);return n&&(t?e[hr]=r:delete e[hr]),a}es.exports=ib});var ns=x((pL,rs)=>{l();c();d();var ub=Object.prototype,sb=ub.toString;function lb(e){return sb.call(e)}rs.exports=lb});var gt=x((gL,is)=>{l();c();d();var as=mt(),cb=ts(),db=ns(),pb="[object Null]",fb="[object Undefined]",os=as?as.toStringTag:void 0;function hb(e){return e==null?e===void 0?fb:pb:os&&os in Object(e)?cb(e):db(e)}is.exports=hb});var $e=x((AL,us)=>{l();c();d();function mb(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}us.exports=mb});var Ha=x((xL,ss)=>{l();c();d();var gb=gt(),yb=$e(),bb="[object AsyncFunction]",Eb="[object Function]",Ab="[object GeneratorFunction]",vb="[object Proxy]";function Db(e){if(!yb(e))return!1;var t=gb(e);return t==Eb||t==Ab||t==bb||t==vb}ss.exports=Db});var cs=x((BL,ls)=>{l();c();d();var Cb=Le(),xb=Cb["__core-js_shared__"];ls.exports=xb});var fs=x((RL,ps)=>{l();c();d();var Ga=cs(),ds=function(){var e=/[^.]+$/.exec(Ga&&Ga.keys&&Ga.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Sb(e){return!!ds&&ds in e}ps.exports=Sb});var Wa=x((NL,hs)=>{l();c();d();var Fb=Function.prototype,wb=Fb.toString;function Bb(e){if(e!=null){try{return wb.call(e)}catch{}try{return e+""}catch{}}return""}hs.exports=Bb});var gs=x((ML,ms)=>{l();c();d();var Tb=Ha(),_b=fs(),Ob=$e(),Rb=Wa(),Pb=/[\\^$.*+?()[\]{}|]/g,Ib=/^\[object .+?Constructor\]$/,kb=Function.prototype,Nb=Object.prototype,Lb=kb.toString,qb=Nb.hasOwnProperty,jb=RegExp("^"+Lb.call(qb).replace(Pb,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Mb(e){if(!Ob(e)||_b(e))return!1;var t=Tb(e)?jb:Ib;return t.test(Rb(e))}ms.exports=Mb});var bs=x((HL,ys)=>{l();c();d();function $b(e,t){return e?.[t]}ys.exports=$b});var at=x((KL,Es)=>{l();c();d();var Ub=gs(),zb=bs();function Hb(e,t){var r=zb(e,t);return Ub(r)?r:void 0}Es.exports=Hb});var Xr=x((QL,As)=>{l();c();d();var Gb=at(),Wb=Le(),Vb=Gb(Wb,"Map");As.exports=Vb});var mr=x((rq,vs)=>{l();c();d();var Kb=at(),Yb=Kb(Object,"create");vs.exports=Yb});var xs=x((iq,Cs)=>{l();c();d();var Ds=mr();function Jb(){this.__data__=Ds?Ds(null):{},this.size=0}Cs.exports=Jb});var Fs=x((cq,Ss)=>{l();c();d();function Xb(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}Ss.exports=Xb});var Bs=x((hq,ws)=>{l();c();d();var Qb=mr(),Zb="__lodash_hash_undefined__",eE=Object.prototype,tE=eE.hasOwnProperty;function rE(e){var t=this.__data__;if(Qb){var r=t[e];return r===Zb?void 0:r}return tE.call(t,e)?t[e]:void 0}ws.exports=rE});var _s=x((bq,Ts)=>{l();c();d();var nE=mr(),aE=Object.prototype,oE=aE.hasOwnProperty;function iE(e){var t=this.__data__;return nE?t[e]!==void 0:oE.call(t,e)}Ts.exports=iE});var Rs=x((Dq,Os)=>{l();c();d();var uE=mr(),sE="__lodash_hash_undefined__";function lE(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=uE&&t===void 0?sE:t,this}Os.exports=lE});var Is=x((Fq,Ps)=>{l();c();d();var cE=xs(),dE=Fs(),pE=Bs(),fE=_s(),hE=Rs();function Rt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{l();c();d();var ks=Is(),mE=fr(),gE=Xr();function yE(){this.size=0,this.__data__={hash:new ks,map:new(gE||mE),string:new ks}}Ns.exports=yE});var js=x((Iq,qs)=>{l();c();d();function bE(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}qs.exports=bE});var gr=x((qq,Ms)=>{l();c();d();var EE=js();function AE(e,t){var r=e.__data__;return EE(t)?r[typeof t=="string"?"string":"hash"]:r.map}Ms.exports=AE});var Us=x((Uq,$s)=>{l();c();d();var vE=gr();function DE(e){var t=vE(this,e).delete(e);return this.size-=t?1:0,t}$s.exports=DE});var Hs=x((Wq,zs)=>{l();c();d();var CE=gr();function xE(e){return CE(this,e).get(e)}zs.exports=xE});var Ws=x((Jq,Gs)=>{l();c();d();var SE=gr();function FE(e){return SE(this,e).has(e)}Gs.exports=FE});var Ks=x((ej,Vs)=>{l();c();d();var wE=gr();function BE(e,t){var r=wE(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}Vs.exports=BE});var Qr=x((aj,Ys)=>{l();c();d();var TE=Ls(),_E=Us(),OE=Hs(),RE=Ws(),PE=Ks();function Pt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{l();c();d();var IE=fr(),kE=Xr(),NE=Qr(),LE=200;function qE(e,t){var r=this.__data__;if(r instanceof IE){var n=r.__data__;if(!kE||n.length{l();c();d();var jE=fr(),ME=Uu(),$E=Hu(),UE=Wu(),zE=Ku(),HE=Xs();function It(e){var t=this.__data__=new jE(e);this.size=t.size}It.prototype.clear=ME;It.prototype.delete=$E;It.prototype.get=UE;It.prototype.has=zE;It.prototype.set=HE;Qs.exports=It});var el=x((gj,Zs)=>{l();c();d();var GE="__lodash_hash_undefined__";function WE(e){return this.__data__.set(e,GE),this}Zs.exports=WE});var rl=x((Aj,tl)=>{l();c();d();function VE(e){return this.__data__.has(e)}tl.exports=VE});var Va=x((xj,nl)=>{l();c();d();var KE=Qr(),YE=el(),JE=rl();function en(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new KE;++t{l();c();d();function XE(e,t){for(var r=-1,n=e==null?0:e.length;++r{l();c();d();function QE(e,t){return e.has(t)}il.exports=QE});var Ya=x((Nj,ul)=>{l();c();d();var ZE=Va(),eA=ol(),tA=Ka(),rA=1,nA=2;function aA(e,t,r,n,a,o){var i=r&rA,u=e.length,s=t.length;if(u!=s&&!(i&&s>u))return!1;var p=o.get(e),b=o.get(t);if(p&&b)return p==t&&b==e;var E=-1,g=!0,m=r&nA?new ZE:void 0;for(o.set(e,t),o.set(t,e);++E{l();c();d();var oA=Le(),iA=oA.Uint8Array;sl.exports=iA});var cl=x((Hj,ll)=>{l();c();d();function uA(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}ll.exports=uA});var tn=x((Kj,dl)=>{l();c();d();function sA(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}dl.exports=sA});var gl=x((Qj,ml)=>{l();c();d();var pl=mt(),fl=Ja(),lA=Jr(),cA=Ya(),dA=cl(),pA=tn(),fA=1,hA=2,mA="[object Boolean]",gA="[object Date]",yA="[object Error]",bA="[object Map]",EA="[object Number]",AA="[object RegExp]",vA="[object Set]",DA="[object String]",CA="[object Symbol]",xA="[object ArrayBuffer]",SA="[object DataView]",hl=pl?pl.prototype:void 0,Xa=hl?hl.valueOf:void 0;function FA(e,t,r,n,a,o,i){switch(r){case SA:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case xA:return!(e.byteLength!=t.byteLength||!o(new fl(e),new fl(t)));case mA:case gA:case EA:return lA(+e,+t);case yA:return e.name==t.name&&e.message==t.message;case AA:case DA:return e==t+"";case bA:var u=dA;case vA:var s=n&fA;if(u||(u=pA),e.size!=t.size&&!s)return!1;var p=i.get(e);if(p)return p==t;n|=hA,i.set(e,t);var b=cA(u(e),u(t),n,a,o,i);return i.delete(e),b;case CA:if(Xa)return Xa.call(e)==Xa.call(t)}return!1}ml.exports=FA});var rn=x((rM,yl)=>{l();c();d();function wA(e,t){for(var r=-1,n=t.length,a=e.length;++r{l();c();d();var BA=Array.isArray;bl.exports=BA});var Qa=x((cM,El)=>{l();c();d();var TA=rn(),_A=Ue();function OA(e,t,r){var n=t(e);return _A(e)?n:TA(n,r(e))}El.exports=OA});var vl=x((hM,Al)=>{l();c();d();function RA(e,t){for(var r=-1,n=e==null?0:e.length,a=0,o=[];++r{l();c();d();function PA(){return[]}Dl.exports=PA});var nn=x((DM,xl)=>{l();c();d();var IA=vl(),kA=Za(),NA=Object.prototype,LA=NA.propertyIsEnumerable,Cl=Object.getOwnPropertySymbols,qA=Cl?function(e){return e==null?[]:(e=Object(e),IA(Cl(e),function(t){return LA.call(e,t)}))}:kA;xl.exports=qA});var Fl=x((FM,Sl)=>{l();c();d();function jA(e,t){for(var r=-1,n=Array(e);++r{l();c();d();function MA(e){return e!=null&&typeof e=="object"}wl.exports=MA});var Tl=x((IM,Bl)=>{l();c();d();var $A=gt(),UA=Ye(),zA="[object Arguments]";function HA(e){return UA(e)&&$A(e)==zA}Bl.exports=HA});var an=x((qM,Rl)=>{l();c();d();var _l=Tl(),GA=Ye(),Ol=Object.prototype,WA=Ol.hasOwnProperty,VA=Ol.propertyIsEnumerable,KA=_l(function(){return arguments}())?_l:function(e){return GA(e)&&WA.call(e,"callee")&&!VA.call(e,"callee")};Rl.exports=KA});var Il=x((UM,Pl)=>{l();c();d();function YA(){return!1}Pl.exports=YA});var on=x((yr,kt)=>{l();c();d();var JA=Le(),XA=Il(),Ll=typeof yr=="object"&&yr&&!yr.nodeType&&yr,kl=Ll&&typeof kt=="object"&&kt&&!kt.nodeType&&kt,QA=kl&&kl.exports===Ll,Nl=QA?JA.Buffer:void 0,ZA=Nl?Nl.isBuffer:void 0,ev=ZA||XA;kt.exports=ev});var un=x((YM,ql)=>{l();c();d();var tv=9007199254740991,rv=/^(?:0|[1-9]\d*)$/;function nv(e,t){var r=typeof e;return t=t??tv,!!t&&(r=="number"||r!="symbol"&&rv.test(e))&&e>-1&&e%1==0&&e{l();c();d();var av=9007199254740991;function ov(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=av}jl.exports=ov});var $l=x((n$,Ml)=>{l();c();d();var iv=gt(),uv=sn(),sv=Ye(),lv="[object Arguments]",cv="[object Array]",dv="[object Boolean]",pv="[object Date]",fv="[object Error]",hv="[object Function]",mv="[object Map]",gv="[object Number]",yv="[object Object]",bv="[object RegExp]",Ev="[object Set]",Av="[object String]",vv="[object WeakMap]",Dv="[object ArrayBuffer]",Cv="[object DataView]",xv="[object Float32Array]",Sv="[object Float64Array]",Fv="[object Int8Array]",wv="[object Int16Array]",Bv="[object Int32Array]",Tv="[object Uint8Array]",_v="[object Uint8ClampedArray]",Ov="[object Uint16Array]",Rv="[object Uint32Array]",le={};le[xv]=le[Sv]=le[Fv]=le[wv]=le[Bv]=le[Tv]=le[_v]=le[Ov]=le[Rv]=!0;le[lv]=le[cv]=le[Dv]=le[dv]=le[Cv]=le[pv]=le[fv]=le[hv]=le[mv]=le[gv]=le[yv]=le[bv]=le[Ev]=le[Av]=le[vv]=!1;function Pv(e){return sv(e)&&uv(e.length)&&!!le[iv(e)]}Ml.exports=Pv});var ln=x((u$,Ul)=>{l();c();d();function Iv(e){return function(t){return e(t)}}Ul.exports=Iv});var cn=x((br,Nt)=>{l();c();d();var kv=za(),zl=typeof br=="object"&&br&&!br.nodeType&&br,Er=zl&&typeof Nt=="object"&&Nt&&!Nt.nodeType&&Nt,Nv=Er&&Er.exports===zl,eo=Nv&&kv.process,Lv=function(){try{var e=Er&&Er.require&&Er.require("util").types;return e||eo&&eo.binding&&eo.binding("util")}catch{}}();Nt.exports=Lv});var to=x((h$,Wl)=>{l();c();d();var qv=$l(),jv=ln(),Hl=cn(),Gl=Hl&&Hl.isTypedArray,Mv=Gl?jv(Gl):qv;Wl.exports=Mv});var ro=x((b$,Vl)=>{l();c();d();var $v=Fl(),Uv=an(),zv=Ue(),Hv=on(),Gv=un(),Wv=to(),Vv=Object.prototype,Kv=Vv.hasOwnProperty;function Yv(e,t){var r=zv(e),n=!r&&Uv(e),a=!r&&!n&&Hv(e),o=!r&&!n&&!a&&Wv(e),i=r||n||a||o,u=i?$v(e.length,String):[],s=u.length;for(var p in e)(t||Kv.call(e,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||o&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||Gv(p,s)))&&u.push(p);return u}Vl.exports=Yv});var dn=x((D$,Kl)=>{l();c();d();var Jv=Object.prototype;function Xv(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Jv;return e===r}Kl.exports=Xv});var no=x((F$,Yl)=>{l();c();d();function Qv(e,t){return function(r){return e(t(r))}}Yl.exports=Qv});var Xl=x((_$,Jl)=>{l();c();d();var Zv=no(),eD=Zv(Object.keys,Object);Jl.exports=eD});var Zl=x((I$,Ql)=>{l();c();d();var tD=dn(),rD=Xl(),nD=Object.prototype,aD=nD.hasOwnProperty;function oD(e){if(!tD(e))return rD(e);var t=[];for(var r in Object(e))aD.call(e,r)&&r!="constructor"&&t.push(r);return t}Ql.exports=oD});var ao=x((q$,ec)=>{l();c();d();var iD=Ha(),uD=sn();function sD(e){return e!=null&&uD(e.length)&&!iD(e)}ec.exports=sD});var Lt=x((U$,tc)=>{l();c();d();var lD=ro(),cD=Zl(),dD=ao();function pD(e){return dD(e)?lD(e):cD(e)}tc.exports=pD});var oo=x((W$,rc)=>{l();c();d();var fD=Qa(),hD=nn(),mD=Lt();function gD(e){return fD(e,mD,hD)}rc.exports=gD});var oc=x((J$,ac)=>{l();c();d();var nc=oo(),yD=1,bD=Object.prototype,ED=bD.hasOwnProperty;function AD(e,t,r,n,a,o){var i=r&yD,u=nc(e),s=u.length,p=nc(t),b=p.length;if(s!=b&&!i)return!1;for(var E=s;E--;){var g=u[E];if(!(i?g in t:ED.call(t,g)))return!1}var m=o.get(e),A=o.get(t);if(m&&A)return m==t&&A==e;var y=!0;o.set(e,t),o.set(t,e);for(var S=i;++E{l();c();d();var vD=at(),DD=Le(),CD=vD(DD,"DataView");ic.exports=CD});var lc=x((aU,sc)=>{l();c();d();var xD=at(),SD=Le(),FD=xD(SD,"Promise");sc.exports=FD});var io=x((sU,cc)=>{l();c();d();var wD=at(),BD=Le(),TD=wD(BD,"Set");cc.exports=TD});var pc=x((pU,dc)=>{l();c();d();var _D=at(),OD=Le(),RD=_D(OD,"WeakMap");dc.exports=RD});var Ar=x((gU,Ec)=>{l();c();d();var uo=uc(),so=Xr(),lo=lc(),co=io(),po=pc(),bc=gt(),qt=Wa(),fc="[object Map]",PD="[object Object]",hc="[object Promise]",mc="[object Set]",gc="[object WeakMap]",yc="[object DataView]",ID=qt(uo),kD=qt(so),ND=qt(lo),LD=qt(co),qD=qt(po),yt=bc;(uo&&yt(new uo(new ArrayBuffer(1)))!=yc||so&&yt(new so)!=fc||lo&&yt(lo.resolve())!=hc||co&&yt(new co)!=mc||po&&yt(new po)!=gc)&&(yt=function(e){var t=bc(e),r=t==PD?e.constructor:void 0,n=r?qt(r):"";if(n)switch(n){case ID:return yc;case kD:return fc;case ND:return hc;case LD:return mc;case qD:return gc}return t});Ec.exports=yt});var wc=x((AU,Fc)=>{l();c();d();var fo=Zr(),jD=Ya(),MD=gl(),$D=oc(),Ac=Ar(),vc=Ue(),Dc=on(),UD=to(),zD=1,Cc="[object Arguments]",xc="[object Array]",pn="[object Object]",HD=Object.prototype,Sc=HD.hasOwnProperty;function GD(e,t,r,n,a,o){var i=vc(e),u=vc(t),s=i?xc:Ac(e),p=u?xc:Ac(t);s=s==Cc?pn:s,p=p==Cc?pn:p;var b=s==pn,E=p==pn,g=s==p;if(g&&Dc(e)){if(!Dc(t))return!1;i=!0,b=!1}if(g&&!b)return o||(o=new fo),i||UD(e)?jD(e,t,r,n,a,o):MD(e,t,s,r,n,a,o);if(!(r&zD)){var m=b&&Sc.call(e,"__wrapped__"),A=E&&Sc.call(t,"__wrapped__");if(m||A){var y=m?e.value():e,S=A?t.value():t;return o||(o=new fo),a(y,S,r,n,o)}}return g?(o||(o=new fo),$D(e,t,r,n,a,o)):!1}Fc.exports=GD});var ho=x((xU,_c)=>{l();c();d();var WD=wc(),Bc=Ye();function Tc(e,t,r,n,a){return e===t?!0:e==null||t==null||!Bc(e)&&!Bc(t)?e!==e&&t!==t:WD(e,t,r,n,Tc,a)}_c.exports=Tc});var Rc=x((BU,Oc)=>{l();c();d();var VD=Zr(),KD=ho(),YD=1,JD=2;function XD(e,t,r,n){var a=r.length,o=a,i=!n;if(e==null)return!o;for(e=Object(e);a--;){var u=r[a];if(i&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a{l();c();d();var QD=$e();function ZD(e){return e===e&&!QD(e)}Pc.exports=ZD});var kc=x((NU,Ic)=>{l();c();d();var eC=mo(),tC=Lt();function rC(e){for(var t=tC(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,eC(a)]}return t}Ic.exports=rC});var go=x((MU,Nc)=>{l();c();d();function nC(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}Nc.exports=nC});var qc=x((HU,Lc)=>{l();c();d();var aC=Rc(),oC=kc(),iC=go();function uC(e){var t=oC(e);return t.length==1&&t[0][2]?iC(t[0][0],t[0][1]):function(r){return r===e||aC(r,e,t)}}Lc.exports=uC});var vr=x((KU,jc)=>{l();c();d();var sC=gt(),lC=Ye(),cC="[object Symbol]";function dC(e){return typeof e=="symbol"||lC(e)&&sC(e)==cC}jc.exports=dC});var fn=x((QU,Mc)=>{l();c();d();var pC=Ue(),fC=vr(),hC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,mC=/^\w*$/;function gC(e,t){if(pC(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||fC(e)?!0:mC.test(e)||!hC.test(e)||t!=null&&e in Object(t)}Mc.exports=gC});var zc=x((rz,Uc)=>{l();c();d();var $c=Qr(),yC="Expected a function";function yo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(yC);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i)||o,i};return r.cache=new(yo.Cache||$c),r}yo.Cache=$c;Uc.exports=yo});var Gc=x((iz,Hc)=>{l();c();d();var bC=zc(),EC=500;function AC(e){var t=bC(e,function(n){return r.size===EC&&r.clear(),n}),r=t.cache;return t}Hc.exports=AC});var Vc=x((cz,Wc)=>{l();c();d();var vC=Gc(),DC=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,CC=/\\(\\)?/g,xC=vC(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(DC,function(r,n,a,o){t.push(a?o.replace(CC,"$1"):n||r)}),t});Wc.exports=xC});var Zc=x((hz,Qc)=>{l();c();d();var Kc=mt(),SC=Ua(),FC=Ue(),wC=vr(),BC=1/0,Yc=Kc?Kc.prototype:void 0,Jc=Yc?Yc.toString:void 0;function Xc(e){if(typeof e=="string")return e;if(FC(e))return SC(e,Xc)+"";if(wC(e))return Jc?Jc.call(e):"";var t=e+"";return t=="0"&&1/e==-BC?"-0":t}Qc.exports=Xc});var td=x((bz,ed)=>{l();c();d();var TC=Zc();function _C(e){return e==null?"":TC(e)}ed.exports=_C});var Dr=x((Dz,rd)=>{l();c();d();var OC=Ue(),RC=fn(),PC=Vc(),IC=td();function kC(e,t){return OC(e)?e:RC(e,t)?[e]:PC(IC(e))}rd.exports=kC});var jt=x((Fz,nd)=>{l();c();d();var NC=vr(),LC=1/0;function qC(e){if(typeof e=="string"||NC(e))return e;var t=e+"";return t=="0"&&1/e==-LC?"-0":t}nd.exports=qC});var hn=x((_z,ad)=>{l();c();d();var jC=Dr(),MC=jt();function $C(e,t){t=jC(t,e);for(var r=0,n=t.length;e!=null&&r{l();c();d();var UC=hn();function zC(e,t,r){var n=e==null?void 0:UC(e,t);return n===void 0?r:n}od.exports=zC});var sd=x((qz,ud)=>{l();c();d();function HC(e,t){return e!=null&&t in Object(e)}ud.exports=HC});var cd=x((Uz,ld)=>{l();c();d();var GC=Dr(),WC=an(),VC=Ue(),KC=un(),YC=sn(),JC=jt();function XC(e,t,r){t=GC(t,e);for(var n=-1,a=t.length,o=!1;++n{l();c();d();var QC=sd(),ZC=cd();function ex(e,t){return e!=null&&ZC(e,t,QC)}dd.exports=ex});var fd=x((Jz,pd)=>{l();c();d();var tx=ho(),rx=id(),nx=bo(),ax=fn(),ox=mo(),ix=go(),ux=jt(),sx=1,lx=2;function cx(e,t){return ax(e)&&ox(t)?ix(ux(e),t):function(r){var n=rx(r,e);return n===void 0&&n===t?nx(r,e):tx(t,n,sx|lx)}}pd.exports=cx});var Eo=x((eH,hd)=>{l();c();d();function dx(e){return e}hd.exports=dx});var gd=x((aH,md)=>{l();c();d();function px(e){return function(t){return t?.[e]}}md.exports=px});var bd=x((sH,yd)=>{l();c();d();var fx=hn();function hx(e){return function(t){return fx(t,e)}}yd.exports=hx});var Ad=x((pH,Ed)=>{l();c();d();var mx=gd(),gx=bd(),yx=fn(),bx=jt();function Ex(e){return yx(e)?mx(bx(e)):gx(e)}Ed.exports=Ex});var Ao=x((gH,vd)=>{l();c();d();var Ax=qc(),vx=fd(),Dx=Eo(),Cx=Ue(),xx=Ad();function Sx(e){return typeof e=="function"?e:e==null?Dx:typeof e=="object"?Cx(e)?vx(e[0],e[1]):Ax(e):xx(e)}vd.exports=Sx});var vo=x((AH,Dd)=>{l();c();d();var Fx=at(),wx=function(){try{var e=Fx(Object,"defineProperty");return e({},"",{}),e}catch{}}();Dd.exports=wx});var mn=x((xH,xd)=>{l();c();d();var Cd=vo();function Bx(e,t,r){t=="__proto__"&&Cd?Cd(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}xd.exports=Bx});var gn=x((BH,Sd)=>{l();c();d();var Tx=mn(),_x=Jr(),Ox=Object.prototype,Rx=Ox.hasOwnProperty;function Px(e,t,r){var n=e[t];(!(Rx.call(e,t)&&_x(n,r))||r===void 0&&!(t in e))&&Tx(e,t,r)}Sd.exports=Px});var Bd=x((RH,wd)=>{l();c();d();var Ix=gn(),kx=Dr(),Nx=un(),Fd=$e(),Lx=jt();function qx(e,t,r,n){if(!Fd(e))return e;t=kx(t,e);for(var a=-1,o=t.length,i=o-1,u=e;u!=null&&++a{l();c();d();var jx=hn(),Mx=Bd(),$x=Dr();function Ux(e,t,r){for(var n=-1,a=t.length,o={};++n{l();c();d();var zx=no(),Hx=zx(Object.getPrototypeOf,Object);_d.exports=Hx});var Co=x((HH,Od)=>{l();c();d();var Gx=rn(),Wx=yn(),Vx=nn(),Kx=Za(),Yx=Object.getOwnPropertySymbols,Jx=Yx?function(e){for(var t=[];e;)Gx(t,Vx(e)),e=Wx(e);return t}:Kx;Od.exports=Jx});var Pd=x((KH,Rd)=>{l();c();d();function Xx(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}Rd.exports=Xx});var kd=x((QH,Id)=>{l();c();d();var Qx=$e(),Zx=dn(),eS=Pd(),tS=Object.prototype,rS=tS.hasOwnProperty;function nS(e){if(!Qx(e))return eS(e);var t=Zx(e),r=[];for(var n in e)n=="constructor"&&(t||!rS.call(e,n))||r.push(n);return r}Id.exports=nS});var bn=x((rG,Nd)=>{l();c();d();var aS=ro(),oS=kd(),iS=ao();function uS(e){return iS(e)?aS(e,!0):oS(e)}Nd.exports=uS});var xo=x((iG,Ld)=>{l();c();d();var sS=Qa(),lS=Co(),cS=bn();function dS(e){return sS(e,cS,lS)}Ld.exports=dS});var So=x((cG,qd)=>{l();c();d();var pS=Ua(),fS=Ao(),hS=Do(),mS=xo();function gS(e,t){if(e==null)return{};var r=pS(mS(e),function(n){return[n]});return t=fS(t),hS(e,r,function(n,a){return t(n,a[0])})}qd.exports=gS});var Cn=x((yp,ko)=>{l();c();d();(function(e){if(typeof yp=="object"&&typeof ko<"u")ko.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,r;return function n(a,o,i){function u(b,E){if(!o[b]){if(!a[b]){var g=typeof ir=="function"&&ir;if(!E&&g)return g(b,!0);if(s)return s(b,!0);var m=new Error("Cannot find module '"+b+"'");throw m.code="MODULE_NOT_FOUND",m}var A=o[b]={exports:{}};a[b][0].call(A.exports,function(y){var S=a[b][1][y];return u(S||y)},A,A.exports,n,a,o,i)}return o[b].exports}for(var s=typeof ir=="function"&&ir,p=0;p=0)return this.lastItem=this.list[s],this.list[s].val},i.prototype.set=function(u,s){var p;return this.lastItem&&this.isEqual(this.lastItem.key,u)?(this.lastItem.val=s,this):(p=this.indexOf(u),p>=0?(this.lastItem=this.list[p],this.list[p].val=s,this):(this.lastItem={key:u,val:s},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(u){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,u)&&(this.lastItem=void 0),s=this.indexOf(u),s>=0)return this.size--,this.list.splice(s,1)[0]},i.prototype.has=function(u){var s;return this.lastItem&&this.isEqual(this.lastItem.key,u)?!0:(s=this.indexOf(u),s>=0?(this.lastItem=this.list[s],!0):!1)},i.prototype.forEach=function(u,s){var p;for(p=0;p0&&(L[R]={cacheItem:y,arg:arguments[R]},M?u(g,L):g.push(L),g.length>b&&s(g.shift())),A.wasMemoized=M,A.numArgs=R+1,F};return A.limit=b,A.wasMemoized=!1,A.cache=E,A.lru=g,A}};function u(b,E){var g=b.length,m=E.length,A,y,S;for(y=0;y=0&&(g=b[A],m=g.cacheItem.get(g.arg),!m||!m.size);A--)g.cacheItem.delete(g.arg)}function p(b,E){return b===E||b!==b&&E!==E}},{"map-or-similar":1}]},{},[3])(3)})});var Ep=x((RG,bp)=>{l();c();d();function TF(e,t,r,n){for(var a=e.length,o=r+(n?1:-1);n?o--:++o{l();c();d();function _F(e){return e!==e}Ap.exports=_F});var Cp=x((MG,Dp)=>{l();c();d();function OF(e,t,r){for(var n=r-1,a=e.length;++n{l();c();d();var RF=Ep(),PF=vp(),IF=Cp();function kF(e,t,r){return t===t?IF(e,t,r):RF(e,PF,r)}xp.exports=kF});var wp=x((KG,Fp)=>{l();c();d();var NF=Sp();function LF(e,t){var r=e==null?0:e.length;return!!r&&NF(e,t,0)>-1}Fp.exports=LF});var Tp=x((QG,Bp)=>{l();c();d();function qF(e,t,r){for(var n=-1,a=e==null?0:e.length;++n{l();c();d();function jF(){}_p.exports=jF});var Pp=x((iW,Rp)=>{l();c();d();var No=io(),MF=Op(),$F=tn(),UF=1/0,zF=No&&1/$F(new No([,-0]))[1]==UF?function(e){return new No(e)}:MF;Rp.exports=zF});var kp=x((cW,Ip)=>{l();c();d();var HF=Va(),GF=wp(),WF=Tp(),VF=Ka(),KF=Pp(),YF=tn(),JF=200;function XF(e,t,r){var n=-1,a=GF,o=e.length,i=!0,u=[],s=u;if(r)i=!1,a=WF;else if(o>=JF){var p=t?null:KF(e);if(p)return YF(p);i=!1,a=VF,s=new HF}else s=t?[]:u;e:for(;++n{l();c();d();var QF=kp();function ZF(e){return e&&e.length?QF(e):[]}Np.exports=ZF});var jp=x((bW,qp)=>{l();c();d();function ew(e,t){for(var r=-1,n=e==null?0:e.length;++r{l();c();d();var tw=gn(),rw=mn();function nw(e,t,r,n){var a=!r;r||(r={});for(var o=-1,i=t.length;++o{l();c();d();var aw=xr(),ow=Lt();function iw(e,t){return e&&aw(t,ow(t),e)}$p.exports=iw});var Hp=x((_W,zp)=>{l();c();d();var uw=xr(),sw=bn();function lw(e,t){return e&&uw(t,sw(t),e)}zp.exports=lw});var Yp=x((Sr,$t)=>{l();c();d();var cw=Le(),Kp=typeof Sr=="object"&&Sr&&!Sr.nodeType&&Sr,Gp=Kp&&typeof $t=="object"&&$t&&!$t.nodeType&&$t,dw=Gp&&Gp.exports===Kp,Wp=dw?cw.Buffer:void 0,Vp=Wp?Wp.allocUnsafe:void 0;function pw(e,t){if(t)return e.slice();var r=e.length,n=Vp?Vp(r):new e.constructor(r);return e.copy(n),n}$t.exports=pw});var Xp=x((LW,Jp)=>{l();c();d();function fw(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r{l();c();d();var hw=xr(),mw=nn();function gw(e,t){return hw(e,mw(e),t)}Qp.exports=gw});var tf=x((GW,ef)=>{l();c();d();var yw=xr(),bw=Co();function Ew(e,t){return yw(e,bw(e),t)}ef.exports=Ew});var nf=x((YW,rf)=>{l();c();d();var Aw=Object.prototype,vw=Aw.hasOwnProperty;function Dw(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&vw.call(e,"index")&&(r.index=e.index,r.input=e.input),r}rf.exports=Dw});var xn=x((ZW,of)=>{l();c();d();var af=Ja();function Cw(e){var t=new e.constructor(e.byteLength);return new af(t).set(new af(e)),t}of.exports=Cw});var sf=x((nV,uf)=>{l();c();d();var xw=xn();function Sw(e,t){var r=t?xw(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}uf.exports=Sw});var cf=x((uV,lf)=>{l();c();d();var Fw=/\w*$/;function ww(e){var t=new e.constructor(e.source,Fw.exec(e));return t.lastIndex=e.lastIndex,t}lf.exports=ww});var mf=x((dV,hf)=>{l();c();d();var df=mt(),pf=df?df.prototype:void 0,ff=pf?pf.valueOf:void 0;function Bw(e){return ff?Object(ff.call(e)):{}}hf.exports=Bw});var yf=x((mV,gf)=>{l();c();d();var Tw=xn();function _w(e,t){var r=t?Tw(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}gf.exports=_w});var Ef=x((EV,bf)=>{l();c();d();var Ow=xn(),Rw=sf(),Pw=cf(),Iw=mf(),kw=yf(),Nw="[object Boolean]",Lw="[object Date]",qw="[object Map]",jw="[object Number]",Mw="[object RegExp]",$w="[object Set]",Uw="[object String]",zw="[object Symbol]",Hw="[object ArrayBuffer]",Gw="[object DataView]",Ww="[object Float32Array]",Vw="[object Float64Array]",Kw="[object Int8Array]",Yw="[object Int16Array]",Jw="[object Int32Array]",Xw="[object Uint8Array]",Qw="[object Uint8ClampedArray]",Zw="[object Uint16Array]",e5="[object Uint32Array]";function t5(e,t,r){var n=e.constructor;switch(t){case Hw:return Ow(e);case Nw:case Lw:return new n(+e);case Gw:return Rw(e,r);case Ww:case Vw:case Kw:case Yw:case Jw:case Xw:case Qw:case Zw:case e5:return kw(e,r);case qw:return new n;case jw:case Uw:return new n(e);case Mw:return Pw(e);case $w:return new n;case zw:return Iw(e)}}bf.exports=t5});var Df=x((CV,vf)=>{l();c();d();var r5=$e(),Af=Object.create,n5=function(){function e(){}return function(t){if(!r5(t))return{};if(Af)return Af(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();vf.exports=n5});var xf=x((wV,Cf)=>{l();c();d();var a5=Df(),o5=yn(),i5=dn();function u5(e){return typeof e.constructor=="function"&&!i5(e)?a5(o5(e)):{}}Cf.exports=u5});var Ff=x((OV,Sf)=>{l();c();d();var s5=Ar(),l5=Ye(),c5="[object Map]";function d5(e){return l5(e)&&s5(e)==c5}Sf.exports=d5});var _f=x((kV,Tf)=>{l();c();d();var p5=Ff(),f5=ln(),wf=cn(),Bf=wf&&wf.isMap,h5=Bf?f5(Bf):p5;Tf.exports=h5});var Rf=x((jV,Of)=>{l();c();d();var m5=Ar(),g5=Ye(),y5="[object Set]";function b5(e){return g5(e)&&m5(e)==y5}Of.exports=b5});var Nf=x((zV,kf)=>{l();c();d();var E5=Rf(),A5=ln(),Pf=cn(),If=Pf&&Pf.isSet,v5=If?A5(If):E5;kf.exports=v5});var $f=x((VV,Mf)=>{l();c();d();var D5=Zr(),C5=jp(),x5=gn(),S5=Up(),F5=Hp(),w5=Yp(),B5=Xp(),T5=Zp(),_5=tf(),O5=oo(),R5=xo(),P5=Ar(),I5=nf(),k5=Ef(),N5=xf(),L5=Ue(),q5=on(),j5=_f(),M5=$e(),$5=Nf(),U5=Lt(),z5=bn(),H5=1,G5=2,W5=4,Lf="[object Arguments]",V5="[object Array]",K5="[object Boolean]",Y5="[object Date]",J5="[object Error]",qf="[object Function]",X5="[object GeneratorFunction]",Q5="[object Map]",Z5="[object Number]",jf="[object Object]",e3="[object RegExp]",t3="[object Set]",r3="[object String]",n3="[object Symbol]",a3="[object WeakMap]",o3="[object ArrayBuffer]",i3="[object DataView]",u3="[object Float32Array]",s3="[object Float64Array]",l3="[object Int8Array]",c3="[object Int16Array]",d3="[object Int32Array]",p3="[object Uint8Array]",f3="[object Uint8ClampedArray]",h3="[object Uint16Array]",m3="[object Uint32Array]",se={};se[Lf]=se[V5]=se[o3]=se[i3]=se[K5]=se[Y5]=se[u3]=se[s3]=se[l3]=se[c3]=se[d3]=se[Q5]=se[Z5]=se[jf]=se[e3]=se[t3]=se[r3]=se[n3]=se[p3]=se[f3]=se[h3]=se[m3]=!0;se[J5]=se[qf]=se[a3]=!1;function Sn(e,t,r,n,a,o){var i,u=t&H5,s=t&G5,p=t&W5;if(r&&(i=a?r(e,n,a,o):r(e)),i!==void 0)return i;if(!M5(e))return e;var b=L5(e);if(b){if(i=I5(e),!u)return B5(e,i)}else{var E=P5(e),g=E==qf||E==X5;if(q5(e))return w5(e,u);if(E==jf||E==Lf||g&&!a){if(i=s||g?{}:N5(e),!u)return s?_5(e,F5(i,e)):T5(e,S5(i,e))}else{if(!se[E])return a?e:{};i=k5(e,E,u)}}o||(o=new D5);var m=o.get(e);if(m)return m;o.set(e,i),$5(e)?e.forEach(function(S){i.add(Sn(S,t,r,S,e,o))}):j5(e)&&e.forEach(function(S,F){i.set(F,Sn(S,t,r,F,e,o))});var A=p?s?R5:O5:s?z5:U5,y=b?void 0:A(e);return C5(y||e,function(S,F){y&&(F=S,S=e[F]),x5(i,F,Sn(S,t,r,F,e,o))}),i}Mf.exports=Sn});var zf=x((XV,Uf)=>{l();c();d();var g3=$f(),y3=1,b3=4;function E3(e){return g3(e,y3|b3)}Uf.exports=E3});var Qf=x((qK,Xf)=>{l();c();d();function X3(e){return function(t,r,n){for(var a=-1,o=Object(t),i=n(t),u=i.length;u--;){var s=i[e?u:++a];if(r(o[s],s,o)===!1)break}return t}}Xf.exports=X3});var e0=x((UK,Zf)=>{l();c();d();var Q3=Qf(),Z3=Q3();Zf.exports=Z3});var r0=x((WK,t0)=>{l();c();d();var eB=e0(),tB=Lt();function rB(e,t){return e&&eB(e,t,tB)}t0.exports=rB});var On=x((JK,n0)=>{l();c();d();var nB=mn(),aB=r0(),oB=Ao();function iB(e,t){var r={};return t=oB(t,3),aB(e,function(n,a,o){nB(r,a,t(n,a,o))}),r}n0.exports=iB});var o0=x((eY,a0)=>{l();c();d();var uB=Do(),sB=bo();function lB(e,t){return uB(e,t,function(r,n){return sB(e,n)})}a0.exports=lB});var l0=x((aY,s0)=>{l();c();d();var i0=mt(),cB=an(),dB=Ue(),u0=i0?i0.isConcatSpreadable:void 0;function pB(e){return dB(e)||cB(e)||!!(u0&&e&&e[u0])}s0.exports=pB});var p0=x((sY,d0)=>{l();c();d();var fB=rn(),hB=l0();function c0(e,t,r,n,a){var o=-1,i=e.length;for(r||(r=hB),a||(a=[]);++o0&&r(u)?t>1?c0(u,t-1,r,n,a):fB(a,u):n||(a[a.length]=u)}return a}d0.exports=c0});var h0=x((pY,f0)=>{l();c();d();var mB=p0();function gB(e){var t=e==null?0:e.length;return t?mB(e,1):[]}f0.exports=gB});var g0=x((gY,m0)=>{l();c();d();function yB(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}m0.exports=yB});var E0=x((AY,b0)=>{l();c();d();var bB=g0(),y0=Math.max;function EB(e,t,r){return t=y0(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,o=y0(n.length-t,0),i=Array(o);++a{l();c();d();function AB(e){return function(){return e}}A0.exports=AB});var x0=x((BY,C0)=>{l();c();d();var vB=v0(),D0=vo(),DB=Eo(),CB=D0?function(e,t){return D0(e,"toString",{configurable:!0,enumerable:!1,value:vB(t),writable:!0})}:DB;C0.exports=CB});var F0=x((RY,S0)=>{l();c();d();var xB=800,SB=16,FB=Date.now;function wB(e){var t=0,r=0;return function(){var n=FB(),a=SB-(n-r);if(r=n,a>0){if(++t>=xB)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}S0.exports=wB});var B0=x((NY,w0)=>{l();c();d();var BB=x0(),TB=F0(),_B=TB(BB);w0.exports=_B});var _0=x((MY,T0)=>{l();c();d();var OB=h0(),RB=E0(),PB=B0();function IB(e){return PB(RB(e,void 0,OB),e+"")}T0.exports=IB});var R0=x((HY,O0)=>{l();c();d();var kB=o0(),NB=_0(),LB=NB(function(e,t){return e==null?{}:kB(e,t)});O0.exports=LB});var Pn=x((KY,q0)=>{"use strict";l();c();d();function Rn(e){return Array.prototype.slice.apply(e)}var N0="pending",P0="resolved",I0="rejected";function re(e){this.status=N0,this._continuations=[],this._parent=null,this._paused=!1,e&&e.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function Fr(e){return e&&typeof e.then=="function"}function qB(e){return e}re.prototype={then:function(e,t){var r=re.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:r,nextFn:e,catchFn:t}),r;if(t)try{var n=t(this._error);return Fr(n)?(this._chainPromiseData(n,r),r):re.resolve(n)._setParent(this)}catch(a){return re.reject(a)._setParent(this)}return re.reject(this._error)._setParent(this)}return this._continuations.push({promise:r,nextFn:e,catchFn:t}),this._runResolutions(),r},catch:function(e){if(this._isResolved())return re.resolve(this._data)._setParent(this);var t=re.unresolved()._setParent(this);return this._continuations.push({promise:t,catchFn:e}),this._runRejections(),t},finally:function(e){var t=!1;function r(n,a){if(!t){t=!0,e||(e=qB);var o=e(n);return Fr(o)?o.then(function(){if(a)throw a;return n}):n}}return this.then(function(n){return r(n)}).catch(function(n){return r(null,n)})},pause:function(){return this._paused=!0,this},resume:function(){var e=this._findFirstPaused();return e&&(e._paused=!1,e._runResolutions(),e._runRejections()),this},_findAncestry:function(){return this._continuations.reduce(function(e,t){if(t.promise){var r={promise:t.promise,children:t.promise._findAncestry()};e.push(r)}return e},[])},_setParent:function(e){if(this._parent)throw new Error("parent already set");return this._parent=e,this},_continueWith:function(e){var t=this._findFirstPending();t&&(t._data=e,t._setResolved())},_findFirstPending:function(){return this._findFirstAncestor(function(e){return e._isPending&&e._isPending()})},_findFirstPaused:function(){return this._findFirstAncestor(function(e){return e._paused})},_findFirstAncestor:function(e){for(var t=this,r;t;)e(t)&&(r=t),t=t._parent;return r},_failWith:function(e){var t=this._findFirstPending();t&&(t._error=e,t._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!(this._paused||!this._isRejected())){var e=this._error,t=this._takeContinuations(),r=this;t.forEach(function(n){if(n.catchFn)try{var a=n.catchFn(e);r._handleUserFunctionResult(a,n.promise)}catch(o){n.promise.reject(o)}else n.promise.reject(e)})}},_runResolutions:function(){if(!(this._paused||!this._isResolved()||this._isPending())){var e=this._takeContinuations(),t=this._data,r=this;if(e.forEach(function(n){if(n.nextFn)try{var a=n.nextFn(t);r._handleUserFunctionResult(a,n.promise)}catch(o){r._handleResolutionError(o,n)}else n.promise&&n.promise.resolve(t)}),Fr(this._data))return this._handleWhenResolvedDataIsPromise(this._data)}},_handleResolutionError:function(e,t){if(this._setRejected(),t.catchFn)try{t.catchFn(e);return}catch(r){e=r}t.promise&&t.promise.reject(e)},_handleWhenResolvedDataIsPromise:function(e){var t=this;return e.then(function(r){t._data=r,t._runResolutions()}).catch(function(r){t._error=r,t._setRejected(),t._runRejections()})},_handleUserFunctionResult:function(e,t){Fr(e)?this._chainPromiseData(e,t):t.resolve(e)},_chainPromiseData:function(e,t){e.then(function(r){t.resolve(r)}).catch(function(r){t.reject(r)})},_setResolved:function(){this.status=P0,this._paused||this._runResolutions()},_setRejected:function(){this.status=I0,this._paused||this._runRejections()},_isPending:function(){return this.status===N0},_isResolved:function(){return this.status===P0},_isRejected:function(){return this.status===I0}};re.resolve=function(e){return new re(function(t,r){Fr(e)?e.then(function(n){t(n)}).catch(function(n){r(n)}):t(e)})};re.reject=function(e){return new re(function(t,r){r(e)})};re.unresolved=function(){return new re(function(e,t){this.resolve=e,this.reject=t})};re.all=function(){var e=Rn(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new re(function(t,r){var n=[],a=0,o=function(){a===e.length&&t(n)},i=!1,u=function(s){i||(i=!0,r(s))};e.forEach(function(s,p){re.resolve(s).then(function(b){n[p]=b,a+=1,o()}).catch(function(b){u(b)})})}):re.resolve([])};function k0(e){return typeof window<"u"&&"AggregateError"in window?new window.AggregateError(e):{errors:e}}re.any=function(){var e=Rn(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new re(function(t,r){var n=[],a=0,o=function(){a===e.length&&r(k0(n))},i=!1,u=function(s){i||(i=!0,t(s))};e.forEach(function(s,p){re.resolve(s).then(function(b){u(b)}).catch(function(b){n[p]=b,a+=1,o()})})}):re.reject(k0([]))};re.allSettled=function(){var e=Rn(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new re(function(t){var r=[],n=0,a=function(){n+=1,n===e.length&&t(r)};e.forEach(function(o,i){re.resolve(o).then(function(u){r[i]={status:"fulfilled",value:u},a()}).catch(function(u){r[i]={status:"rejected",reason:u},a()})})}):re.resolve([])};if(Promise===re)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var L0=Promise;re.installGlobally=function(e){if(Promise===re)return e;var t=jB(e);return Promise=re,t};re.uninstallGlobally=function(){Promise===re&&(Promise=L0)};function jB(e){if(typeof e>"u"||e.__patched)return e;var t=e;return e=function(){var r=L0;t.apply(this,Rn(arguments))},e.__patched=!0,e}q0.exports={SynchronousPromise:re}});var Mo=x((yJ,M0)=>{l();c();d();var $B=gt(),UB=yn(),zB=Ye(),HB="[object Object]",GB=Function.prototype,WB=Object.prototype,j0=GB.toString,VB=WB.hasOwnProperty,KB=j0.call(Object);function YB(e){if(!zB(e)||$B(e)!=HB)return!1;var t=UB(e);if(t===null)return!0;var r=VB.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&j0.call(r)==KB}M0.exports=YB});var U0=x((vJ,$0)=>{l();c();d();$0.exports=JB;function JB(e,t){if($o("noDeprecation"))return e;var r=!1;function n(){if(!r){if($o("throwDeprecation"))throw new Error(t);$o("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return n}function $o(e){try{if(!window.localStorage)return!1}catch{return!1}var t=window.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}});var Y0=x((HJ,K0)=>{"use strict";l();c();d();K0.exports=Error});var X0=x((KJ,J0)=>{"use strict";l();c();d();J0.exports=EvalError});var Z0=x((QJ,Q0)=>{"use strict";l();c();d();Q0.exports=RangeError});var th=x((rX,eh)=>{"use strict";l();c();d();eh.exports=ReferenceError});var Go=x((iX,rh)=>{"use strict";l();c();d();rh.exports=SyntaxError});var zt=x((cX,nh)=>{"use strict";l();c();d();nh.exports=TypeError});var oh=x((hX,ah)=>{"use strict";l();c();d();ah.exports=URIError});var uh=x((bX,ih)=>{"use strict";l();c();d();ih.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(t,r);if(i.value!==a||i.enumerable!==!0)return!1}return!0}});var ch=x((DX,lh)=>{"use strict";l();c();d();var sh=typeof Symbol<"u"&&Symbol,pT=uh();lh.exports=function(){return typeof sh!="function"||typeof Symbol!="function"||typeof sh("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:pT()}});var ph=x((FX,dh)=>{"use strict";l();c();d();var Wo={__proto__:null,foo:{}},fT=Object;dh.exports=function(){return{__proto__:Wo}.foo===Wo.foo&&!(Wo instanceof fT)}});var mh=x((_X,hh)=>{"use strict";l();c();d();var hT="Function.prototype.bind called on incompatible ",mT=Object.prototype.toString,gT=Math.max,yT="[object Function]",fh=function(t,r){for(var n=[],a=0;a{"use strict";l();c();d();var AT=mh();gh.exports=Function.prototype.bind||AT});var bh=x((qX,yh)=>{"use strict";l();c();d();var vT=Function.prototype.call,DT=Object.prototype.hasOwnProperty,CT=qn();yh.exports=CT.call(vT,DT)});var Dt=x((UX,Ch)=>{"use strict";l();c();d();var ee,xT=Y0(),ST=X0(),FT=Z0(),wT=th(),Vt=Go(),Wt=zt(),BT=oh(),Dh=Function,Vo=function(e){try{return Dh('"use strict"; return ('+e+").constructor;")()}catch{}},At=Object.getOwnPropertyDescriptor;if(At)try{At({},"")}catch{At=null}var Ko=function(){throw new Wt},TT=At?function(){try{return arguments.callee,Ko}catch{try{return At(arguments,"callee").get}catch{return Ko}}}():Ko,Ht=ch()(),_T=ph()(),Ee=Object.getPrototypeOf||(_T?function(e){return e.__proto__}:null),Gt={},OT=typeof Uint8Array>"u"||!Ee?ee:Ee(Uint8Array),vt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ee:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ee:ArrayBuffer,"%ArrayIteratorPrototype%":Ht&&Ee?Ee([][Symbol.iterator]()):ee,"%AsyncFromSyncIteratorPrototype%":ee,"%AsyncFunction%":Gt,"%AsyncGenerator%":Gt,"%AsyncGeneratorFunction%":Gt,"%AsyncIteratorPrototype%":Gt,"%Atomics%":typeof Atomics>"u"?ee:Atomics,"%BigInt%":typeof BigInt>"u"?ee:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ee:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ee:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ee:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":xT,"%eval%":eval,"%EvalError%":ST,"%Float32Array%":typeof Float32Array>"u"?ee:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ee:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ee:FinalizationRegistry,"%Function%":Dh,"%GeneratorFunction%":Gt,"%Int8Array%":typeof Int8Array>"u"?ee:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ee:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ee:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ht&&Ee?Ee(Ee([][Symbol.iterator]())):ee,"%JSON%":typeof JSON=="object"?JSON:ee,"%Map%":typeof Map>"u"?ee:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ht||!Ee?ee:Ee(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ee:Promise,"%Proxy%":typeof Proxy>"u"?ee:Proxy,"%RangeError%":FT,"%ReferenceError%":wT,"%Reflect%":typeof Reflect>"u"?ee:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ee:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ht||!Ee?ee:Ee(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ee:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ht&&Ee?Ee(""[Symbol.iterator]()):ee,"%Symbol%":Ht?Symbol:ee,"%SyntaxError%":Vt,"%ThrowTypeError%":TT,"%TypedArray%":OT,"%TypeError%":Wt,"%Uint8Array%":typeof Uint8Array>"u"?ee:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ee:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ee:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ee:Uint32Array,"%URIError%":BT,"%WeakMap%":typeof WeakMap>"u"?ee:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ee:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ee:WeakSet};if(Ee)try{null.error}catch(e){Eh=Ee(Ee(e)),vt["%Error.prototype%"]=Eh}var Eh,RT=function e(t){var r;if(t==="%AsyncFunction%")r=Vo("async function () {}");else if(t==="%GeneratorFunction%")r=Vo("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Vo("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&Ee&&(r=Ee(a.prototype))}return vt[t]=r,r},Ah={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Or=qn(),jn=bh(),PT=Or.call(Function.call,Array.prototype.concat),IT=Or.call(Function.apply,Array.prototype.splice),vh=Or.call(Function.call,String.prototype.replace),Mn=Or.call(Function.call,String.prototype.slice),kT=Or.call(Function.call,RegExp.prototype.exec),NT=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,LT=/\\(\\)?/g,qT=function(t){var r=Mn(t,0,1),n=Mn(t,-1);if(r==="%"&&n!=="%")throw new Vt("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Vt("invalid intrinsic syntax, expected opening `%`");var a=[];return vh(t,NT,function(o,i,u,s){a[a.length]=u?vh(s,LT,"$1"):i||o}),a},jT=function(t,r){var n=t,a;if(jn(Ah,n)&&(a=Ah[n],n="%"+a[0]+"%"),jn(vt,n)){var o=vt[n];if(o===Gt&&(o=RT(n)),typeof o>"u"&&!r)throw new Wt("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new Vt("intrinsic "+t+" does not exist!")};Ch.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new Wt("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Wt('"allowMissing" argument must be a boolean');if(kT(/^%?[^%]*%?$/,t)===null)throw new Vt("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=qT(t),a=n.length>0?n[0]:"",o=jT("%"+a+"%",r),i=o.name,u=o.value,s=!1,p=o.alias;p&&(a=p[0],IT(n,PT([0,1],p)));for(var b=1,E=!0;b=n.length){var y=At(u,g);E=!!y,E&&"get"in y&&!("originalValue"in y.get)?u=y.get:u=u[g]}else E=jn(u,g),u=u[g];E&&!s&&(vt[i]=u)}}return u}});var Un=x((WX,xh)=>{"use strict";l();c();d();var MT=Dt(),$n=MT("%Object.defineProperty%",!0)||!1;if($n)try{$n({},"a",{value:1})}catch{$n=!1}xh.exports=$n});var Yo=x((JX,Sh)=>{"use strict";l();c();d();var $T=Dt(),zn=$T("%Object.getOwnPropertyDescriptor%",!0);if(zn)try{zn([],"length")}catch{zn=null}Sh.exports=zn});var Th=x((eQ,Bh)=>{"use strict";l();c();d();var Fh=Un(),UT=Go(),Kt=zt(),wh=Yo();Bh.exports=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Kt("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Kt("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Kt("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Kt("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Kt("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Kt("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,s=!!wh&&wh(t,r);if(Fh)Fh(t,r,{configurable:i===null&&s?s.configurable:!i,enumerable:a===null&&s?s.enumerable:!a,value:n,writable:o===null&&s?s.writable:!o});else if(u||!a&&!o&&!i)t[r]=n;else throw new UT("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Rh=x((aQ,Oh)=>{"use strict";l();c();d();var Jo=Un(),_h=function(){return!!Jo};_h.hasArrayLengthDefineBug=function(){if(!Jo)return null;try{return Jo([],"length",{value:1}).length!==1}catch{return!0}};Oh.exports=_h});var Lh=x((sQ,Nh)=>{"use strict";l();c();d();var zT=Dt(),Ph=Th(),HT=Rh()(),Ih=Yo(),kh=zt(),GT=zT("%Math.floor%");Nh.exports=function(t,r){if(typeof t!="function")throw new kh("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||GT(r)!==r)throw new kh("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],a=!0,o=!0;if("length"in t&&Ih){var i=Ih(t,"length");i&&!i.configurable&&(a=!1),i&&!i.writable&&(o=!1)}return(a||o||!n)&&(HT?Ph(t,"length",r,!0,!0):Ph(t,"length",r)),t}});var zh=x((pQ,Hn)=>{"use strict";l();c();d();var Xo=qn(),Gn=Dt(),WT=Lh(),VT=zt(),Mh=Gn("%Function.prototype.apply%"),$h=Gn("%Function.prototype.call%"),Uh=Gn("%Reflect.apply%",!0)||Xo.call($h,Mh),qh=Un(),KT=Gn("%Math.max%");Hn.exports=function(t){if(typeof t!="function")throw new VT("a function is required");var r=Uh(Xo,$h,arguments);return WT(r,1+KT(0,t.length-(arguments.length-1)),!0)};var jh=function(){return Uh(Xo,Mh,arguments)};qh?qh(Hn.exports,"apply",{value:jh}):Hn.exports.apply=jh});var Vh=x((gQ,Wh)=>{"use strict";l();c();d();var Hh=Dt(),Gh=zh(),YT=Gh(Hh("String.prototype.indexOf"));Wh.exports=function(t,r){var n=Hh(t,!!r);return typeof n=="function"&&YT(t,".prototype.")>-1?Gh(n):n}});var Kh=x(()=>{l();c();d()});var hm=x((SQ,fm)=>{l();c();d();var ui=typeof Map=="function"&&Map.prototype,Qo=Object.getOwnPropertyDescriptor&&ui?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Vn=ui&&Qo&&typeof Qo.get=="function"?Qo.get:null,Yh=ui&&Map.prototype.forEach,si=typeof Set=="function"&&Set.prototype,Zo=Object.getOwnPropertyDescriptor&&si?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Kn=si&&Zo&&typeof Zo.get=="function"?Zo.get:null,Jh=si&&Set.prototype.forEach,JT=typeof WeakMap=="function"&&WeakMap.prototype,Pr=JT?WeakMap.prototype.has:null,XT=typeof WeakSet=="function"&&WeakSet.prototype,Ir=XT?WeakSet.prototype.has:null,QT=typeof WeakRef=="function"&&WeakRef.prototype,Xh=QT?WeakRef.prototype.deref:null,ZT=Boolean.prototype.valueOf,e8=Object.prototype.toString,t8=Function.prototype.toString,r8=String.prototype.match,li=String.prototype.slice,st=String.prototype.replace,n8=String.prototype.toUpperCase,Qh=String.prototype.toLowerCase,um=RegExp.prototype.test,Zh=Array.prototype.concat,Ge=Array.prototype.join,a8=Array.prototype.slice,em=Math.floor,ri=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ei=Object.getOwnPropertySymbols,ni=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Yt=typeof Symbol=="function"&&typeof Symbol.iterator=="object",De=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Yt||"symbol")?Symbol.toStringTag:null,sm=Object.prototype.propertyIsEnumerable,tm=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function rm(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||um.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-em(-e):em(e);if(n!==e){var a=String(n),o=li.call(t,a.length+1);return st.call(a,r,"$&_")+"."+st.call(st.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return st.call(t,r,"$&_")}var ai=Kh(),nm=ai.custom,am=cm(nm)?nm:null;fm.exports=function e(t,r,n,a){var o=r||{};if(ut(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ut(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=ut(o,"customInspect")?o.customInspect:!0;if(typeof i!="boolean"&&i!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ut(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ut(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=o.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return pm(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return u?rm(t,s):s}if(typeof t=="bigint"){var p=String(t)+"n";return u?rm(t,p):p}var b=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=b&&b>0&&typeof t=="object")return oi(t)?"[Array]":"[Object]";var E=D8(o,n);if(typeof a>"u")a=[];else if(dm(a,t)>=0)return"[Circular]";function g(J,O,T){if(O&&(a=a8.call(a),a.push(O)),T){var j={depth:o.depth};return ut(o,"quoteStyle")&&(j.quoteStyle=o.quoteStyle),e(J,j,n+1,a)}return e(J,o,n+1,a)}if(typeof t=="function"&&!om(t)){var m=f8(t),A=Wn(t,g);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(A.length>0?" { "+Ge.call(A,", ")+" }":"")}if(cm(t)){var y=Yt?st.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):ni.call(t);return typeof t=="object"&&!Yt?Rr(y):y}if(E8(t)){for(var S="<"+Qh.call(String(t.nodeName)),F=t.attributes||[],R=0;R",S}if(oi(t)){if(t.length===0)return"[]";var L=Wn(t,g);return E&&!v8(L)?"["+ii(L,E)+"]":"[ "+Ge.call(L,", ")+" ]"}if(u8(t)){var M=Wn(t,g);return!("cause"in Error.prototype)&&"cause"in t&&!sm.call(t,"cause")?"{ ["+String(t)+"] "+Ge.call(Zh.call("[cause]: "+g(t.cause),M),", ")+" }":M.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Ge.call(M,", ")+" }"}if(typeof t=="object"&&i){if(am&&typeof t[am]=="function"&&ai)return ai(t,{depth:b-n});if(i!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(h8(t)){var w=[];return Yh&&Yh.call(t,function(J,O){w.push(g(O,t,!0)+" => "+g(J,t))}),im("Map",Vn.call(t),w,E)}if(y8(t)){var N=[];return Jh&&Jh.call(t,function(J){N.push(g(J,t))}),im("Set",Kn.call(t),N,E)}if(m8(t))return ti("WeakMap");if(b8(t))return ti("WeakSet");if(g8(t))return ti("WeakRef");if(l8(t))return Rr(g(Number(t)));if(d8(t))return Rr(g(ri.call(t)));if(c8(t))return Rr(ZT.call(t));if(s8(t))return Rr(g(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(t===window)return"{ [object globalThis] }";if(!i8(t)&&!om(t)){var I=Wn(t,g),U=tm?tm(t)===Object.prototype:t instanceof Object||t.constructor===Object,V=t instanceof Object?"":"null prototype",z=!U&&De&&Object(t)===t&&De in t?li.call(lt(t),8,-1):V?"Object":"",ie=U||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",Z=ie+(z||V?"["+Ge.call(Zh.call([],z||[],V||[]),": ")+"] ":"");return I.length===0?Z+"{}":E?Z+"{"+ii(I,E)+"}":Z+"{ "+Ge.call(I,", ")+" }"}return String(t)};function lm(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function o8(e){return st.call(String(e),/"/g,""")}function oi(e){return lt(e)==="[object Array]"&&(!De||!(typeof e=="object"&&De in e))}function i8(e){return lt(e)==="[object Date]"&&(!De||!(typeof e=="object"&&De in e))}function om(e){return lt(e)==="[object RegExp]"&&(!De||!(typeof e=="object"&&De in e))}function u8(e){return lt(e)==="[object Error]"&&(!De||!(typeof e=="object"&&De in e))}function s8(e){return lt(e)==="[object String]"&&(!De||!(typeof e=="object"&&De in e))}function l8(e){return lt(e)==="[object Number]"&&(!De||!(typeof e=="object"&&De in e))}function c8(e){return lt(e)==="[object Boolean]"&&(!De||!(typeof e=="object"&&De in e))}function cm(e){if(Yt)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!ni)return!1;try{return ni.call(e),!0}catch{}return!1}function d8(e){if(!e||typeof e!="object"||!ri)return!1;try{return ri.call(e),!0}catch{}return!1}var p8=Object.prototype.hasOwnProperty||function(e){return e in this};function ut(e,t){return p8.call(e,t)}function lt(e){return e8.call(e)}function f8(e){if(e.name)return e.name;var t=r8.call(t8.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function dm(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return pm(li.call(e,0,t.maxStringLength),t)+n}var a=st.call(st.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,A8);return lm(a,"single",t)}function A8(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+n8.call(t.toString(16))}function Rr(e){return"Object("+e+")"}function ti(e){return e+" { ? }"}function im(e,t,r,n){var a=n?ii(r,n):Ge.call(r,", ");return e+" ("+t+") {"+a+"}"}function v8(e){for(var t=0;t=0)return!1;return!0}function D8(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Ge.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Ge.call(Array(t+1),r)}}function ii(e,t){if(e.length===0)return"";var r=` +`+t.prev+t.base;return r+Ge.call(e,","+r)+` +`+t.prev}function Wn(e,t){var r=oi(e),n=[];if(r){n.length=e.length;for(var a=0;a{"use strict";l();c();d();var mm=Dt(),Jt=Vh(),C8=hm(),x8=zt(),Yn=mm("%WeakMap%",!0),Jn=mm("%Map%",!0),S8=Jt("WeakMap.prototype.get",!0),F8=Jt("WeakMap.prototype.set",!0),w8=Jt("WeakMap.prototype.has",!0),B8=Jt("Map.prototype.get",!0),T8=Jt("Map.prototype.set",!0),_8=Jt("Map.prototype.has",!0),ci=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},O8=function(e,t){var r=ci(e,t);return r&&r.value},R8=function(e,t,r){var n=ci(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},P8=function(e,t){return!!ci(e,t)};gm.exports=function(){var t,r,n,a={assert:function(o){if(!a.has(o))throw new x8("Side channel does not contain "+C8(o))},get:function(o){if(Yn&&o&&(typeof o=="object"||typeof o=="function")){if(t)return S8(t,o)}else if(Jn){if(r)return B8(r,o)}else if(n)return O8(n,o)},has:function(o){if(Yn&&o&&(typeof o=="object"||typeof o=="function")){if(t)return w8(t,o)}else if(Jn){if(r)return _8(r,o)}else if(n)return P8(n,o);return!1},set:function(o,i){Yn&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new Yn),F8(t,o,i)):Jn?(r||(r=new Jn),T8(r,o,i)):(n||(n={key:{},next:null}),R8(n,o,i))}};return a}});var Xn=x((PQ,bm)=>{"use strict";l();c();d();var I8=String.prototype.replace,k8=/%20/g,di={RFC1738:"RFC1738",RFC3986:"RFC3986"};bm.exports={default:di.RFC3986,formatters:{RFC1738:function(e){return I8.call(e,k8,"+")},RFC3986:function(e){return String(e)}},RFC1738:di.RFC1738,RFC3986:di.RFC3986}});var fi=x((LQ,Am)=>{"use strict";l();c();d();var N8=Xn(),pi=Object.prototype.hasOwnProperty,Ct=Array.isArray,We=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),L8=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(Ct(n)){for(var a=[],o=0;o=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===N8.RFC1738&&(p===40||p===41)){u+=i.charAt(s);continue}if(p<128){u=u+We[p];continue}if(p<2048){u=u+(We[192|p>>6]+We[128|p&63]);continue}if(p<55296||p>=57344){u=u+(We[224|p>>12]+We[128|p>>6&63]+We[128|p&63]);continue}s+=1,p=65536+((p&1023)<<10|i.charCodeAt(s)&1023),u+=We[240|p>>18]+We[128|p>>12&63]+We[128|p>>6&63]+We[128|p&63]}return u},U8=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],a=0;a{"use strict";l();c();d();var Cm=ym(),Qn=fi(),kr=Xn(),V8=Object.prototype.hasOwnProperty,vm={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},Xe=Array.isArray,K8=Array.prototype.push,xm=function(e,t){K8.apply(e,Xe(t)?t:[t])},Y8=Date.prototype.toISOString,Dm=kr.default,Ce={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Qn.encode,encodeValuesOnly:!1,format:Dm,formatter:kr.formatters[Dm],indices:!1,serializeDate:function(t){return Y8.call(t)},skipNulls:!1,strictNullHandling:!1},J8=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},hi={},X8=function e(t,r,n,a,o,i,u,s,p,b,E,g,m,A,y,S){for(var F=t,R=S,L=0,M=!1;(R=R.get(hi))!==void 0&&!M;){var w=R.get(t);if(L+=1,typeof w<"u"){if(w===L)throw new RangeError("Cyclic object value");M=!0}typeof R.get(hi)>"u"&&(L=0)}if(typeof s=="function"?F=s(r,F):F instanceof Date?F=E(F):n==="comma"&&Xe(F)&&(F=Qn.maybeMap(F,function(j){return j instanceof Date?E(j):j})),F===null){if(o)return u&&!A?u(r,Ce.encoder,y,"key",g):r;F=""}if(J8(F)||Qn.isBuffer(F)){if(u){var N=A?r:u(r,Ce.encoder,y,"key",g);return[m(N)+"="+m(u(F,Ce.encoder,y,"value",g))]}return[m(r)+"="+m(String(F))]}var I=[];if(typeof F>"u")return I;var U;if(n==="comma"&&Xe(F))A&&u&&(F=Qn.maybeMap(F,u)),U=[{value:F.length>0?F.join(",")||null:void 0}];else if(Xe(s))U=s;else{var V=Object.keys(F);U=p?V.sort(p):V}for(var z=a&&Xe(F)&&F.length===1?r+"[]":r,ie=0;ie"u"?Ce.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Ce.charsetSentinel,delimiter:typeof t.delimiter>"u"?Ce.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Ce.encode,encoder:typeof t.encoder=="function"?t.encoder:Ce.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Ce.encodeValuesOnly,filter:o,format:n,formatter:a,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Ce.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Ce.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Ce.strictNullHandling}};Sm.exports=function(e,t){var r=e,n=Q8(t),a,o;typeof n.filter=="function"?(o=n.filter,r=o("",r)):Xe(n.filter)&&(o=n.filter,a=o);var i=[];if(typeof r!="object"||r===null)return"";var u;t&&t.arrayFormat in vm?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var s=vm[u];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var p=s==="comma"&&t&&t.commaRoundTrip;a||(a=Object.keys(r)),n.sort&&a.sort(n.sort);for(var b=Cm(),E=0;E0?A+m:""}});var Tm=x((GQ,Bm)=>{"use strict";l();c();d();var Xt=fi(),mi=Object.prototype.hasOwnProperty,Z8=Array.isArray,Ae={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Xt.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},e_=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},wm=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},t_="utf8=%26%2310003%3B",r_="utf8=%E2%9C%93",n_=function(t,r){var n={__proto__:null},a=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=r.parameterLimit===1/0?void 0:r.parameterLimit,i=a.split(r.delimiter,o),u=-1,s,p=r.charset;if(r.charsetSentinel)for(s=0;s-1&&(A=Z8(A)?[A]:A),mi.call(n,m)?n[m]=Xt.combine(n[m],A):n[m]=A}return n},a_=function(e,t,r,n){for(var a=n?t:wm(t,r),o=e.length-1;o>=0;--o){var i,u=e[o];if(u==="[]"&&r.parseArrays)i=[].concat(a);else{i=r.plainObjects?Object.create(null):{};var s=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,p=parseInt(s,10);!r.parseArrays&&s===""?i={0:a}:!isNaN(p)&&u!==s&&String(p)===s&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[],i[p]=a):s!=="__proto__"&&(i[s]=a)}a=i}return a},o_=function(t,r,n,a){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/,u=/(\[[^[\]]*])/g,s=n.depth>0&&i.exec(o),p=s?o.slice(0,s.index):o,b=[];if(p){if(!n.plainObjects&&mi.call(Object.prototype,p)&&!n.allowPrototypes)return;b.push(p)}for(var E=0;n.depth>0&&(s=u.exec(o))!==null&&E"u"?Ae.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?Ae.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Ae.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Ae.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Ae.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Ae.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Ae.comma,decoder:typeof t.decoder=="function"?t.decoder:Ae.decoder,delimiter:typeof t.delimiter=="string"||Xt.isRegExp(t.delimiter)?t.delimiter:Ae.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Ae.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Ae.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Ae.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Ae.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Ae.strictNullHandling}};Bm.exports=function(e,t){var r=i_(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?n_(e,r):e,a=r.plainObjects?Object.create(null):{},o=Object.keys(n),i=0;i{"use strict";l();c();d();var u_=Fm(),s_=Tm(),l_=Xn();_m.exports={formats:l_,parse:s_,stringify:u_}});var Nm=x((Iee,km)=>{l();c();d();(function(){"use strict";function e(i){if(i==null)return!1;switch(i.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function t(i){if(i==null)return!1;switch(i.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(i){if(i==null)return!1;switch(i.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(i){return r(i)||i!=null&&i.type==="FunctionDeclaration"}function a(i){switch(i.type){case"IfStatement":return i.alternate!=null?i.alternate:i.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return i.body}return null}function o(i){var u;if(i.type!=="IfStatement"||i.alternate==null)return!1;u=i.consequent;do{if(u.type==="IfStatement"&&u.alternate==null)return!0;u=a(u)}while(u);return!1}km.exports={isExpression:e,isStatement:r,isIterationStatement:t,isSourceElement:n,isProblematicIfStatement:o,trailingStatement:a}})()});var yi=x((qee,Lm)=>{l();c();d();(function(){"use strict";var e,t,r,n,a,o;t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function i(S){return 48<=S&&S<=57}function u(S){return 48<=S&&S<=57||97<=S&&S<=102||65<=S&&S<=70}function s(S){return S>=48&&S<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function p(S){return S===32||S===9||S===11||S===12||S===160||S>=5760&&r.indexOf(S)>=0}function b(S){return S===10||S===13||S===8232||S===8233}function E(S){if(S<=65535)return String.fromCharCode(S);var F=String.fromCharCode(Math.floor((S-65536)/1024)+55296),R=String.fromCharCode((S-65536)%1024+56320);return F+R}for(n=new Array(128),o=0;o<128;++o)n[o]=o>=97&&o<=122||o>=65&&o<=90||o===36||o===95;for(a=new Array(128),o=0;o<128;++o)a[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===36||o===95;function g(S){return S<128?n[S]:t.NonAsciiIdentifierStart.test(E(S))}function m(S){return S<128?a[S]:t.NonAsciiIdentifierPart.test(E(S))}function A(S){return S<128?n[S]:e.NonAsciiIdentifierStart.test(E(S))}function y(S){return S<128?a[S]:e.NonAsciiIdentifierPart.test(E(S))}Lm.exports={isDecimalDigit:i,isHexDigit:u,isOctalDigit:s,isWhiteSpace:p,isLineTerminator:b,isIdentifierStartES5:g,isIdentifierPartES5:m,isIdentifierStartES6:A,isIdentifierPartES6:y}})()});var jm=x((Uee,qm)=>{l();c();d();(function(){"use strict";var e=yi();function t(g){switch(g){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(g,m){return!m&&g==="yield"?!1:n(g,m)}function n(g,m){if(m&&t(g))return!0;switch(g.length){case 2:return g==="if"||g==="in"||g==="do";case 3:return g==="var"||g==="for"||g==="new"||g==="try";case 4:return g==="this"||g==="else"||g==="case"||g==="void"||g==="with"||g==="enum";case 5:return g==="while"||g==="break"||g==="catch"||g==="throw"||g==="const"||g==="yield"||g==="class"||g==="super";case 6:return g==="return"||g==="typeof"||g==="delete"||g==="switch"||g==="export"||g==="import";case 7:return g==="default"||g==="finally"||g==="extends";case 8:return g==="function"||g==="continue"||g==="debugger";case 10:return g==="instanceof";default:return!1}}function a(g,m){return g==="null"||g==="true"||g==="false"||r(g,m)}function o(g,m){return g==="null"||g==="true"||g==="false"||n(g,m)}function i(g){return g==="eval"||g==="arguments"}function u(g){var m,A,y;if(g.length===0||(y=g.charCodeAt(0),!e.isIdentifierStartES5(y)))return!1;for(m=1,A=g.length;m=A||(S=g.charCodeAt(m),!(56320<=S&&S<=57343)))return!1;y=s(y,S)}if(!F(y))return!1;F=e.isIdentifierPartES6}return!0}function b(g,m){return u(g)&&!a(g,m)}function E(g,m){return p(g)&&!o(g,m)}qm.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:a,isReservedWordES6:o,isRestrictedWord:i,isIdentifierNameES5:u,isIdentifierNameES6:p,isIdentifierES5:b,isIdentifierES6:E}})()});var bi=x(Zn=>{l();c();d();(function(){"use strict";Zn.ast=Nm(),Zn.code=yi(),Zn.keyword=jm()})()});var Mm=x((Jee,B_)=>{B_.exports={name:"doctrine",description:"JSDoc parser",homepage:"https://github.com/eslint/doctrine",main:"lib/doctrine.js",version:"3.0.0",engines:{node:">=6.0.0"},directories:{lib:"./lib"},files:["lib"],maintainers:[{name:"Nicholas C. Zakas",email:"nicholas+npm@nczconsulting.com",web:"https://www.nczonline.net"},{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"https://github.com/Constellation"}],repository:"eslint/doctrine",devDependencies:{coveralls:"^3.0.1",dateformat:"^1.0.11",eslint:"^1.10.3","eslint-release":"^1.0.0",linefix:"^0.1.1",mocha:"^3.4.2","npm-license":"^0.3.1",nyc:"^10.3.2",semver:"^5.0.3",shelljs:"^0.5.3","shelljs-nodecli":"^0.1.1",should:"^5.0.1"},license:"Apache-2.0",scripts:{pretest:"npm run lint",test:"nyc mocha",coveralls:"nyc report --reporter=text-lcov | coveralls",lint:"eslint lib/","generate-release":"eslint-generate-release","generate-alpharelease":"eslint-generate-prerelease alpha","generate-betarelease":"eslint-generate-prerelease beta","generate-rcrelease":"eslint-generate-prerelease rc","publish-release":"eslint-publish-release"},dependencies:{esutils:"^2.0.2"}}});var Um=x((Xee,$m)=>{l();c();d();function T_(e,t){if(!e)throw new Error(t||"unknown assertion error")}$m.exports=T_});var Ei=x(Nr=>{l();c();d();(function(){"use strict";var e;e=Mm().version,Nr.VERSION=e;function t(n){this.name="DoctrineError",this.message=n}t.prototype=function(){var n=function(){};return n.prototype=Error.prototype,new n}(),t.prototype.constructor=t,Nr.DoctrineError=t;function r(n){throw new t(n)}Nr.throwError=r,Nr.assert=Um()})()});var zm=x(Lr=>{l();c();d();(function(){"use strict";var e,t,r,n,a,o,i,u,s,p,b,E;s=bi(),p=Ei(),e={NullableLiteral:"NullableLiteral",AllLiteral:"AllLiteral",NullLiteral:"NullLiteral",UndefinedLiteral:"UndefinedLiteral",VoidLiteral:"VoidLiteral",UnionType:"UnionType",ArrayType:"ArrayType",RecordType:"RecordType",FieldType:"FieldType",FunctionType:"FunctionType",ParameterType:"ParameterType",RestType:"RestType",NonNullableType:"NonNullableType",OptionalType:"OptionalType",NullableType:"NullableType",NameExpression:"NameExpression",TypeApplication:"TypeApplication",StringLiteralType:"StringLiteralType",NumericLiteralType:"NumericLiteralType",BooleanLiteralType:"BooleanLiteralType"},t={ILLEGAL:0,DOT_LT:1,REST:2,LT:3,GT:4,LPAREN:5,RPAREN:6,LBRACE:7,RBRACE:8,LBRACK:9,RBRACK:10,COMMA:11,COLON:12,STAR:13,PIPE:14,QUESTION:15,BANG:16,EQUAL:17,NAME:18,STRING:19,NUMBER:20,EOF:21};function g(B){return"><(){}[],:*|?!=".indexOf(String.fromCharCode(B))===-1&&!s.code.isWhiteSpace(B)&&!s.code.isLineTerminator(B)}function m(B,P,k,_){this._previous=B,this._index=P,this._token=k,this._value=_}m.prototype.restore=function(){o=this._previous,a=this._index,i=this._token,u=this._value},m.save=function(){return new m(o,a,i,u)};function A(B,P){return E&&(B.range=[P[0]+b,P[1]+b]),B}function y(){var B=r.charAt(a);return a+=1,B}function S(B){var P,k,_,$=0;for(k=B==="u"?4:2,P=0;P=0&&a=n)return t.ILLEGAL;if(P=r.charCodeAt(a+1),P===60)break}u+=y()}return t.NAME}function M(){var B;for(o=a;a=n)return i=t.EOF,i;switch(B=r.charCodeAt(a),B){case 39:case 34:return i=F(),i;case 58:return y(),i=t.COLON,i;case 44:return y(),i=t.COMMA,i;case 40:return y(),i=t.LPAREN,i;case 41:return y(),i=t.RPAREN,i;case 91:return y(),i=t.LBRACK,i;case 93:return y(),i=t.RBRACK,i;case 123:return y(),i=t.LBRACE,i;case 125:return y(),i=t.RBRACE,i;case 46:if(a+1{l();c();d();(function(){"use strict";var e,t,r,n,a;n=bi(),e=zm(),t=Ei();function o(w,N,I){return w.slice(N,I)}a=function(){var w=Object.prototype.hasOwnProperty;return function(I,U){return w.call(I,U)}}();function i(w){var N={},I;for(I in w)w.hasOwnProperty(I)&&(N[I]=w[I]);return N}function u(w){return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57}function s(w){return w==="param"||w==="argument"||w==="arg"}function p(w){return w==="return"||w==="returns"}function b(w){return w==="property"||w==="prop"}function E(w){return s(w)||b(w)||w==="alias"||w==="this"||w==="mixes"||w==="requires"}function g(w){return E(w)||w==="const"||w==="constant"}function m(w){return b(w)||s(w)}function A(w){return b(w)||s(w)}function y(w){return s(w)||p(w)||w==="define"||w==="enum"||w==="implements"||w==="this"||w==="type"||w==="typedef"||b(w)}function S(w){return y(w)||w==="throws"||w==="const"||w==="constant"||w==="namespace"||w==="member"||w==="var"||w==="module"||w==="constructor"||w==="class"||w==="extends"||w==="augments"||w==="public"||w==="private"||w==="protected"}var F="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",R="("+F+"*(?:\\*"+F+`?)?)(.+|[\r +\u2028\u2029])`;function L(w){return w.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(R,"g"),"$2").replace(/\s*$/,"")}function M(w,N){for(var I=w.replace(/^\/\*\*?/,""),U=0,V=new RegExp(R,"g"),z;z=V.exec(I);)if(U+=z[1].length,z.index+z[0].length>N+U)return N+U+w.length-I.length;return w.replace(/\*\/$/,"").replace(/\s*$/,"").length}(function(w){var N,I,U,V,z,ie,Z,J,O;function T(){var k=z.charCodeAt(I);return I+=1,n.code.isLineTerminator(k)&&!(k===13&&z.charCodeAt(I)===10)&&(U+=1),String.fromCharCode(k)}function j(){var k="";for(T();I=k)return null;if(z.charCodeAt(I)===91)if(_)de=!0,H=T();else return null;if(H+=K(k),$)for(z.charCodeAt(I)===58&&(H==="module"||H==="external"||H==="event")&&(H+=T(),H+=K(k)),z.charCodeAt(I)===91&&z.charCodeAt(I+1)===93&&(H+=T(),H+=T());z.charCodeAt(I)===46||z.charCodeAt(I)===47||z.charCodeAt(I)===35||z.charCodeAt(I)===45||z.charCodeAt(I)===126;)H+=T(),H+=K(k);if(de){if(Q(k),z.charCodeAt(I)===61){H+=T(),Q(k);for(var ae,be=1;I=k||z.charCodeAt(I)!==93)return null;H+=T()}return H}function Re(){for(;I=V?!1:(t.assert(z.charCodeAt(I)===64),!0)}function Pe(k){return z===ie?k:M(ie,k)}function X(k,_){this._options=k,this._title=_.toLowerCase(),this._tag={title:_,description:null},this._options.lineNumbers&&(this._tag.lineNumber=U),this._first=I-_.length-1,this._last=0,this._extra={}}X.prototype.addError=function(_){var $=Array.prototype.slice.call(arguments,1),H=_.replace(/%(\d)/g,function(de,ne){return t.assert(ne<$.length,"Message reference must be in range"),$[ne]});return this._tag.errors||(this._tag.errors=[]),O&&t.throwError(H),this._tag.errors.push(H),Z},X.prototype.parseType=function(){if(y(this._title))try{if(this._tag.type=Y(this._title,this._last,this._options.range),!this._tag.type&&!s(this._title)&&!p(this._title)&&!this.addError("Missing or invalid tag type"))return!1}catch(k){if(this._tag.type=null,!this.addError(k.message))return!1}else if(S(this._title))try{this._tag.type=Y(this._title,this._last,this._options.range)}catch{}return!0},X.prototype._parseNamePath=function(k){var _;return _=ue(this._last,J&&A(this._title),!0),!_&&!k&&!this.addError("Missing or invalid tag name")?!1:(this._tag.name=_,!0)},X.prototype.parseNamePath=function(){return this._parseNamePath(!1)},X.prototype.parseNamePathOptional=function(){return this._parseNamePath(!0)},X.prototype.parseName=function(){var k,_;if(g(this._title))if(this._tag.name=ue(this._last,J&&A(this._title),m(this._title)),this._tag.name)_=this._tag.name,_.charAt(0)==="["&&_.charAt(_.length-1)==="]"&&(k=_.substring(1,_.length-1).split("="),k.length>1&&(this._tag.default=k.slice(1).join("=")),this._tag.name=k[0],this._tag.type&&this._tag.type.type!=="OptionalType"&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!E(this._title))return!0;if(s(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},X.prototype.parseDescription=function(){var _=o(z,I,this._last).trim();return _&&(/^-\s+/.test(_)&&(_=_.substring(2)),this._tag.description=_),!0},X.prototype.parseCaption=function(){var _=o(z,I,this._last).trim(),$="",H="",de=_.indexOf($),ne=_.indexOf(H);return de>=0&&ne>=0?(this._tag.caption=_.substring(de+$.length,ne).trim(),this._tag.description=_.substring(ne+H.length).trim()):this._tag.description=_,!0},X.prototype.parseKind=function(){var _,$;return $={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},_=o(z,I,this._last).trim(),this._tag.kind=_,!(!a($,_)&&!this.addError("Invalid kind name '%0'",_))},X.prototype.parseAccess=function(){var _;return _=o(z,I,this._last).trim(),this._tag.access=_,!(_!=="private"&&_!=="protected"&&_!=="public"&&!this.addError("Invalid access name '%0'",_))},X.prototype.parseThis=function(){var _=o(z,I,this._last).trim();if(_&&_.charAt(0)==="{"){var $=this.parseType();return $&&this._tag.type.type==="NameExpression"||this._tag.type.type==="UnionType"?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this")}else return this.parseNamePath()},X.prototype.parseVariation=function(){var _,$;return $=o(z,I,this._last).trim(),_=parseFloat($,10),this._tag.variation=_,!(isNaN(_)&&!this.addError("Invalid variation '%0'",$))},X.prototype.ensureEnd=function(){var k=o(z,I,this._last).trim();return!(k&&!this.addError("Unknown content '%0'",k))},X.prototype.epilogue=function(){var _;return _=this._tag.description,!(A(this._title)&&!this._tag.type&&_&&_.charAt(0)==="["&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!J&&!this.addError("Missing or invalid tag name")))},N={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},X.prototype.parse=function(){var _,$,H,de;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=G(this._title),this._options.range&&(this._tag.range=[this._first,z.slice(0,this._last).replace(/\s*$/,"").length].map(Pe)),a(N,this._title)?H=N[this._title]:H=["parseType","parseName","parseDescription","epilogue"],_=0,$=H.length;_<$;++_)if(de=H[_],!this[de]())return null;return this._tag};function qe(k){var _,$,H;if(!Re())return null;for(_=j(),$=new X(k,_),H=$.parse();I<$._last;)T();return H}function B(k){var _="",$,H;for(H=!0;I=0||(a[r]=e[r]);return a}function Fi(e){var t=Fe(e),r=Fe(function(n){t.current&&t.current(n)});return t.current=e,r.current}function Cg(e,t,r){var n=Fi(r),a=te(function(){return e.toHsva(t)}),o=a[0],i=a[1],u=Fe({color:t,hsva:o});he(function(){if(!e.equal(t,u.current.color)){var p=e.toHsva(t);u.current={hsva:p,color:t},i(p)}},[t,e]),he(function(){var p;vg(o,u.current.hsva)||e.equal(p=e.fromHsva(o),u.current.color)||(u.current={hsva:o,color:p},n(p))},[o,e,n]);var s=me(function(p){i(function(b){return Object.assign({},b,p)})},[]);return[o,s]}var rr,Mr,wi,fg,hg,Oi,$r,Ri,ve,FR,wR,Bi,BR,TR,_R,OR,gg,Ti,oa,yg,RR,aa,PR,bg,Eg,Ag,vg,Dg,IR,kR,NR,LR,mg,xg,qR,jR,Sg,MR,Fg,$R,wg,UR,Bg,Tg=Ke(()=>{l();c();d();Ft();rr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e0:S.buttons>0)&&a.current?o(fg(a.current,S,u.current)):y(!1)},A=function(){return y(!1)};function y(S){var F=s.current,R=wi(a.current),L=S?R.addEventListener:R.removeEventListener;L(F?"touchmove":"mousemove",m),L(F?"touchend":"mouseup",A)}return[function(S){var F=S.nativeEvent,R=a.current;if(R&&(hg(F),!function(M,w){return w&&!Mr(M)}(F,s.current)&&R)){if(Mr(F)){s.current=!0;var L=F.changedTouches||[];L.length&&(u.current=L[0].identifier)}R.focus(),o(fg(R,F,u.current)),y(!0)}},function(S){var F=S.which||S.keyCode;F<37||F>40||(S.preventDefault(),i({left:F===39?.05:F===37?-.05:0,top:F===40?.05:F===38?-.05:0}))},y]},[i,o]),b=p[0],E=p[1],g=p[2];return he(function(){return g},[g]),h.createElement("div",xt({},n,{onTouchStart:b,onMouseDown:b,className:"react-colorful__interactive",ref:a,onKeyDown:E,tabIndex:0,role:"slider"}))}),$r=function(e){return e.filter(Boolean).join(" ")},Ri=function(e){var t=e.color,r=e.left,n=e.top,a=n===void 0?.5:n,o=$r(["react-colorful__pointer",e.className]);return h.createElement("div",{className:o,style:{top:100*a+"%",left:100*r+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},ve=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r},FR={grad:.9,turn:360,rad:360/(2*Math.PI)},wR=function(e){return bg(Bi(e))},Bi=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?ve(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?ve(parseInt(e.substring(6,8),16)/255,2):1}},BR=function(e,t){return t===void 0&&(t="deg"),Number(e)*(FR[t]||1)},TR=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?_R({h:BR(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},_R=function(e){var t=e.s,r=e.l;return{h:e.h,s:(t*=(r<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}},OR=function(e){return PR(yg(e))},gg=function(e){var t=e.s,r=e.v,n=e.a,a=(200-t)*r/100;return{h:ve(e.h),s:ve(a>0&&a<200?t*r/100/(a<=100?a:200-a)*100:0),l:ve(a/2),a:ve(n,2)}},Ti=function(e){var t=gg(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},oa=function(e){var t=gg(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},yg=function(e){var t=e.h,r=e.s,n=e.v,a=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),i=n*(1-r),u=n*(1-(t-o)*r),s=n*(1-(1-t+o)*r),p=o%6;return{r:ve(255*[n,u,i,i,s,n][p]),g:ve(255*[s,n,n,u,i,i][p]),b:ve(255*[i,i,s,n,n,u][p]),a:ve(a,2)}},RR=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?bg({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},aa=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},PR=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=a<1?aa(ve(255*a)):"";return"#"+aa(t)+aa(r)+aa(n)+o},bg=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=Math.max(t,r,n),i=o-Math.min(t,r,n),u=i?o===t?(r-n)/i:o===r?2+(n-t)/i:4+(t-r)/i:0;return{h:ve(60*(u<0?u+6:u)),s:ve(o?i/o*100:0),v:ve(o/255*100),a}},Eg=h.memo(function(e){var t=e.hue,r=e.onChange,n=$r(["react-colorful__hue",e.className]);return h.createElement("div",{className:n},h.createElement(Oi,{onMove:function(a){r({h:360*a.left})},onKey:function(a){r({h:rr(t+360*a.left,0,360)})},"aria-label":"Hue","aria-valuenow":ve(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(Ri,{className:"react-colorful__hue-pointer",left:t/360,color:Ti({h:t,s:100,v:100,a:1})})))}),Ag=h.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:Ti({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:n},h.createElement(Oi,{onMove:function(a){r({s:100*a.left,v:100-100*a.top})},onKey:function(a){r({s:rr(t.s+100*a.left,0,100),v:rr(t.v-100*a.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+ve(t.s)+"%, Brightness "+ve(t.v)+"%"},h.createElement(Ri,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Ti(t)})))}),vg=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},Dg=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},IR=function(e,t){return e.toLowerCase()===t.toLowerCase()||vg(Bi(e),Bi(t))};NR=typeof window<"u"?tu:he,LR=function(){return kR||(typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0)},mg=new Map,xg=function(e){NR(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!mg.has(t)){var r=t.createElement("style");r.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,mg.set(t,r);var n=LR();n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},qR=function(e){var t=e.className,r=e.colorModel,n=e.color,a=n===void 0?r.defaultColor:n,o=e.onChange,i=_i(e,["className","colorModel","color","onChange"]),u=Fe(null);xg(u);var s=Cg(r,a,o),p=s[0],b=s[1],E=$r(["react-colorful",t]);return h.createElement("div",xt({},i,{ref:u,className:E}),h.createElement(Ag,{hsva:p,onChange:b}),h.createElement(Eg,{hue:p.h,onChange:b,className:"react-colorful__last-control"}))},jR={defaultColor:"000",toHsva:wR,fromHsva:function(e){return OR({h:e.h,s:e.s,v:e.v,a:1})},equal:IR},Sg=function(e){return h.createElement(qR,xt({},e,{colorModel:jR}))},MR=function(e){var t=e.className,r=e.hsva,n=e.onChange,a={backgroundImage:"linear-gradient(90deg, "+oa(Object.assign({},r,{a:0}))+", "+oa(Object.assign({},r,{a:1}))+")"},o=$r(["react-colorful__alpha",t]),i=ve(100*r.a);return h.createElement("div",{className:o},h.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),h.createElement(Oi,{onMove:function(u){n({a:u.left})},onKey:function(u){n({a:rr(r.a+u.left)})},"aria-label":"Alpha","aria-valuetext":i+"%","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(Ri,{className:"react-colorful__alpha-pointer",left:r.a,color:oa(r)})))},Fg=function(e){var t=e.className,r=e.colorModel,n=e.color,a=n===void 0?r.defaultColor:n,o=e.onChange,i=_i(e,["className","colorModel","color","onChange"]),u=Fe(null);xg(u);var s=Cg(r,a,o),p=s[0],b=s[1],E=$r(["react-colorful",t]);return h.createElement("div",xt({},i,{ref:u,className:E}),h.createElement(Ag,{hsva:p,onChange:b}),h.createElement(Eg,{hue:p.h,onChange:b}),h.createElement(MR,{hsva:p,onChange:b,className:"react-colorful__last-control"}))},$R={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:TR,fromHsva:oa,equal:Dg},wg=function(e){return h.createElement(Fg,xt({},e,{colorModel:$R}))},UR={defaultColor:"rgba(0, 0, 0, 1)",toHsva:RR,fromHsva:function(e){var t=yg(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:Dg},Bg=function(e){return h.createElement(Fg,xt({},e,{colorModel:UR}))}});var Og=x((Ere,_g)=>{"use strict";l();c();d();_g.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var Pi=x((Cre,Pg)=>{l();c();d();var Ur=Og(),Rg={};for(let e of Object.keys(Ur))Rg[Ur[e]]=e;var W={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};Pg.exports=W;for(let e of Object.keys(W)){if(!("channels"in W[e]))throw new Error("missing channels property: "+e);if(!("labels"in W[e]))throw new Error("missing channel labels property: "+e);if(W[e].labels.length!==W[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=W[e];delete W[e].channels,delete W[e].labels,Object.defineProperty(W[e],"channels",{value:t}),Object.defineProperty(W[e],"labels",{value:r})}W.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(t,r,n),o=Math.max(t,r,n),i=o-a,u,s;o===a?u=0:t===o?u=(r-n)/i:r===o?u=2+(n-t)/i:n===o&&(u=4+(t-r)/i),u=Math.min(u*60,360),u<0&&(u+=360);let p=(a+o)/2;return o===a?s=0:p<=.5?s=i/(o+a):s=i/(2-o-a),[u,s*100,p*100]};W.rgb.hsv=function(e){let t,r,n,a,o,i=e[0]/255,u=e[1]/255,s=e[2]/255,p=Math.max(i,u,s),b=p-Math.min(i,u,s),E=function(g){return(p-g)/6/b+1/2};return b===0?(a=0,o=0):(o=b/p,t=E(i),r=E(u),n=E(s),i===p?a=n-r:u===p?a=1/3+t-n:s===p&&(a=2/3+r-t),a<0?a+=1:a>1&&(a-=1)),[a*360,o*100,p*100]};W.rgb.hwb=function(e){let t=e[0],r=e[1],n=e[2],a=W.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[a,o*100,n*100]};W.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(1-t,1-r,1-n),o=(1-t-a)/(1-a)||0,i=(1-r-a)/(1-a)||0,u=(1-n-a)/(1-a)||0;return[o*100,i*100,u*100,a*100]};function zR(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}W.rgb.keyword=function(e){let t=Rg[e];if(t)return t;let r=1/0,n;for(let a of Object.keys(Ur)){let o=Ur[a],i=zR(e,o);i.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let a=t*.4124+r*.3576+n*.1805,o=t*.2126+r*.7152+n*.0722,i=t*.0193+r*.1192+n*.9505;return[a*100,o*100,i*100]};W.rgb.lab=function(e){let t=W.rgb.xyz(e),r=t[0],n=t[1],a=t[2];r/=95.047,n/=100,a/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*n-16,i=500*(r-n),u=200*(n-a);return[o,i,u]};W.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,a,o,i;if(r===0)return i=n*255,[i,i,i];n<.5?a=n*(1+r):a=n+r-n*r;let u=2*n-a,s=[0,0,0];for(let p=0;p<3;p++)o=t+1/3*-(p-1),o<0&&o++,o>1&&o--,6*o<1?i=u+(a-u)*6*o:2*o<1?i=a:3*o<2?i=u+(a-u)*(2/3-o)*6:i=u,s[p]=i*255;return s};W.hsl.hsv=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,a=r,o=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,a*=o<=1?o:2-o;let i=(n+r)/2,u=n===0?2*a/(o+a):2*r/(n+r);return[t,u*100,i*100]};W.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,o=t-Math.floor(t),i=255*n*(1-r),u=255*n*(1-r*o),s=255*n*(1-r*(1-o));switch(n*=255,a){case 0:return[n,s,i];case 1:return[u,n,i];case 2:return[i,n,s];case 3:return[i,u,n];case 4:return[s,i,n];case 5:return[n,i,u]}};W.hsv.hsl=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,a=Math.max(n,.01),o,i;i=(2-r)*n;let u=(2-r)*a;return o=r*a,o/=u<=1?u:2-u,o=o||0,i/=2,[t,o*100,i*100]};W.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,a=r+n,o;a>1&&(r/=a,n/=a);let i=Math.floor(6*t),u=1-n;o=6*t-i,i&1&&(o=1-o);let s=r+o*(u-r),p,b,E;switch(i){default:case 6:case 0:p=u,b=s,E=r;break;case 1:p=s,b=u,E=r;break;case 2:p=r,b=u,E=s;break;case 3:p=r,b=s,E=u;break;case 4:p=s,b=r,E=u;break;case 5:p=u,b=r,E=s;break}return[p*255,b*255,E*255]};W.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100,o=1-Math.min(1,t*(1-a)+a),i=1-Math.min(1,r*(1-a)+a),u=1-Math.min(1,n*(1-a)+a);return[o*255,i*255,u*255]};W.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,a,o,i;return a=t*3.2406+r*-1.5372+n*-.4986,o=t*-.9689+r*1.8758+n*.0415,i=t*.0557+r*-.204+n*1.057,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),[a*255,o*255,i*255]};W.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let a=116*r-16,o=500*(t-r),i=200*(r-n);return[a,o,i]};W.lab.xyz=function(e){let t=e[0],r=e[1],n=e[2],a,o,i;o=(t+16)/116,a=r/500+o,i=o-n/200;let u=o**3,s=a**3,p=i**3;return o=u>.008856?u:(o-16/116)/7.787,a=s>.008856?s:(a-16/116)/7.787,i=p>.008856?p:(i-16/116)/7.787,a*=95.047,o*=100,i*=108.883,[a,o,i]};W.lab.lch=function(e){let t=e[0],r=e[1],n=e[2],a;a=Math.atan2(n,r)*360/2/Math.PI,a<0&&(a+=360);let i=Math.sqrt(r*r+n*n);return[t,i,a]};W.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]};W.rgb.ansi16=function(e,t=null){let[r,n,a]=e,o=t===null?W.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),o===0)return 30;let i=30+(Math.round(a/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return o===2&&(i+=60),i};W.hsv.ansi16=function(e){return W.rgb.ansi16(W.hsv.rgb(e),e[2])};W.rgb.ansi256=function(e){let t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};W.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,n=(t&1)*r*255,a=(t>>1&1)*r*255,o=(t>>2&1)*r*255;return[n,a,o]};W.ansi256.rgb=function(e){if(e>=232){let o=(e-232)*10+8;return[o,o,o]}e-=16;let t,r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,a=t%6/5*255;return[r,n,a]};W.rgb.hex=function(e){let r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};W.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(u=>u+u).join(""));let n=parseInt(r,16),a=n>>16&255,o=n>>8&255,i=n&255;return[a,o,i]};W.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.max(Math.max(t,r),n),o=Math.min(Math.min(t,r),n),i=a-o,u,s;return i<1?u=o/(1-i):u=0,i<=0?s=0:a===t?s=(r-n)/i%6:a===r?s=2+(n-t)/i:s=4+(t-r)/i,s/=6,s%=1,[s*360,i*100,u*100]};W.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r),a=0;return n<1&&(a=(r-.5*n)/(1-n)),[e[0],n*100,a*100]};W.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=t*r,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],n*100,a*100]};W.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];let a=[0,0,0],o=t%1*6,i=o%1,u=1-i,s=0;switch(Math.floor(o)){case 0:a[0]=1,a[1]=i,a[2]=0;break;case 1:a[0]=u,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=i;break;case 3:a[0]=0,a[1]=u,a[2]=1;break;case 4:a[0]=i,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=u}return s=(1-r)*n,[(r*a[0]+s)*255,(r*a[1]+s)*255,(r*a[2]+s)*255]};W.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t),a=0;return n>0&&(a=t/n),[e[0],a*100,n*100]};W.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,a=0;return n>0&&n<.5?a=t/(2*n):n>=.5&&n<1&&(a=t/(2*(1-n))),[e[0],a*100,n*100]};W.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};W.hwb.hcg=function(e){let t=e[1]/100,n=1-e[2]/100,a=n-t,o=0;return a<1&&(o=(n-a)/(1-a)),[e[0],a*100,o*100]};W.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};W.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};W.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};W.gray.hsl=function(e){return[0,0,e[0]]};W.gray.hsv=W.gray.hsl;W.gray.hwb=function(e){return[0,100,e[0]]};W.gray.cmyk=function(e){return[0,0,0,e[0]]};W.gray.lab=function(e){return[e[0],0,0]};W.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n};W.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var kg=x((wre,Ig)=>{l();c();d();var ia=Pi();function HR(){let e={},t=Object.keys(ia);for(let r=t.length,n=0;n{l();c();d();var Ii=Pi(),KR=kg(),nr={},YR=Object.keys(Ii);function JR(e){let t=function(...r){let n=r[0];return n==null?n:(n.length>1&&(r=n),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function XR(e){let t=function(...r){let n=r[0];if(n==null)return n;n.length>1&&(r=n);let a=e(r);if(typeof a=="object")for(let o=a.length,i=0;i{nr[e]={},Object.defineProperty(nr[e],"channels",{value:Ii[e].channels}),Object.defineProperty(nr[e],"labels",{value:Ii[e].labels});let t=KR(e);Object.keys(t).forEach(n=>{let a=t[n];nr[e][n]=XR(a),nr[e][n].raw=JR(a)})});Ng.exports=nr});var jg=x((kre,qg)=>{l();c();d();var QR=Le(),ZR=function(){return QR.Date.now()};qg.exports=ZR});var $g=x((jre,Mg)=>{l();c();d();var e4=/\s/;function t4(e){for(var t=e.length;t--&&e4.test(e.charAt(t)););return t}Mg.exports=t4});var zg=x((zre,Ug)=>{l();c();d();var r4=$g(),n4=/^\s+/;function a4(e){return e&&e.slice(0,r4(e)+1).replace(n4,"")}Ug.exports=a4});var Vg=x((Vre,Wg)=>{l();c();d();var o4=zg(),Hg=$e(),i4=vr(),Gg=0/0,u4=/^[-+]0x[0-9a-f]+$/i,s4=/^0b[01]+$/i,l4=/^0o[0-7]+$/i,c4=parseInt;function d4(e){if(typeof e=="number")return e;if(i4(e))return Gg;if(Hg(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Hg(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=o4(e);var r=s4.test(e);return r||l4.test(e)?c4(e.slice(2),r?2:8):u4.test(e)?Gg:+e}Wg.exports=d4});var Jg=x((Xre,Yg)=>{l();c();d();var p4=$e(),ki=jg(),Kg=Vg(),f4="Expected a function",h4=Math.max,m4=Math.min;function g4(e,t,r){var n,a,o,i,u,s,p=0,b=!1,E=!1,g=!0;if(typeof e!="function")throw new TypeError(f4);t=Kg(t)||0,p4(r)&&(b=!!r.leading,E="maxWait"in r,o=E?h4(Kg(r.maxWait)||0,t):o,g="trailing"in r?!!r.trailing:g);function m(N){var I=n,U=a;return n=a=void 0,p=N,i=e.apply(U,I),i}function A(N){return p=N,u=setTimeout(F,t),b?m(N):i}function y(N){var I=N-s,U=N-p,V=t-I;return E?m4(V,o-U):V}function S(N){var I=N-s,U=N-p;return s===void 0||I>=t||I<0||E&&U>=o}function F(){var N=ki();if(S(N))return R(N);u=setTimeout(F,y(N))}function R(N){return u=void 0,g&&n?m(N):(n=a=void 0,i)}function L(){u!==void 0&&clearTimeout(u),p=0,n=s=a=u=void 0}function M(){return u===void 0?i:R(ki())}function w(){var N=ki(),I=S(N);if(n=arguments,a=this,s=N,I){if(u===void 0)return A(s);if(E)return clearTimeout(u),u=setTimeout(F,t),m(s)}return u===void 0&&(u=setTimeout(F,t)),i}return w.cancel=L,w.flush=M,w}Yg.exports=g4});var Qg=x((tne,Xg)=>{l();c();d();var y4=Jg(),b4=$e(),E4="Expected a function";function A4(e,t,r){var n=!0,a=!0;if(typeof e!="function")throw new TypeError(E4);return b4(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),y4(e,t,{leading:n,maxWait:t,trailing:a})}Xg.exports=A4});var ay={};Ji(ay,{ColorControl:()=>ny,default:()=>q4});var Ne,ty,v4,D4,C4,x4,S4,F4,w4,Zg,B4,T4,ry,ua,_4,O4,R4,Ni,P4,I4,sa,ey,ar,k4,N4,la,L4,ny,q4,oy=Ke(()=>{l();c();d();Pa();Ft();Tg();Ne=pe(Lg(),1),ty=pe(Qg(),1);ka();sr();v4=q.div({position:"relative",maxWidth:250}),D4=q(Wr)({position:"absolute",zIndex:1,top:4,left:4}),C4=q.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),x4=q(Ba)(({theme:e})=>({fontFamily:e.typography.fonts.base})),S4=q.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),F4=q.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),w4=`url('data:image/svg+xml;charset=utf-8,')`,Zg=({value:e,active:t,onClick:r,style:n,...a})=>{let o=`linear-gradient(${e}, ${e}), ${w4}, linear-gradient(#fff, #fff)`;return h.createElement(F4,{...a,active:t,onClick:r,style:{...n,backgroundImage:o}})},B4=q(Te.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),T4=q(we)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),ry=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(ry||{}),ua=Object.values(ry),_4=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,O4=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,R4=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Ni=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,P4=/^\s*#?([0-9a-f]{3})\s*$/i,I4={hex:Sg,rgb:Bg,hsl:wg},sa={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ey=e=>{let t=e?.match(_4);if(!t)return[0,0,0,1];let[,r,n,a,o=1]=t;return[r,n,a,o].map(Number)},ar=e=>{if(!e)return;let t=!0;if(O4.test(e)){let[i,u,s,p]=ey(e),[b,E,g]=Ne.default.rgb.hsl([i,u,s])||[0,0,0];return{valid:t,value:e,keyword:Ne.default.rgb.keyword([i,u,s]),colorSpace:"rgb",rgb:e,hsl:`hsla(${b}, ${E}%, ${g}%, ${p})`,hex:`#${Ne.default.rgb.hex([i,u,s]).toLowerCase()}`}}if(R4.test(e)){let[i,u,s,p]=ey(e),[b,E,g]=Ne.default.hsl.rgb([i,u,s])||[0,0,0];return{valid:t,value:e,keyword:Ne.default.hsl.keyword([i,u,s]),colorSpace:"hsl",rgb:`rgba(${b}, ${E}, ${g}, ${p})`,hsl:e,hex:`#${Ne.default.hsl.hex([i,u,s]).toLowerCase()}`}}let r=e.replace("#",""),n=Ne.default.keyword.rgb(r)||Ne.default.hex.rgb(r),a=Ne.default.rgb.hsl(n),o=e;if(/[^#a-f0-9]/i.test(e)?o=r:Ni.test(e)&&(o=`#${r}`),o.startsWith("#"))t=Ni.test(o);else try{Ne.default.keyword.hex(o)}catch{t=!1}return{valid:t,value:o,keyword:Ne.default.rgb.keyword(n),colorSpace:"hex",rgb:`rgba(${n[0]}, ${n[1]}, ${n[2]}, 1)`,hsl:`hsla(${a[0]}, ${a[1]}%, ${a[2]}%, 1)`,hex:o}},k4=(e,t,r)=>{if(!e||!t?.valid)return sa[r];if(r!=="hex")return t?.[r]||sa[r];if(!t.hex.startsWith("#"))try{return`#${Ne.default.keyword.hex(t.hex)}`}catch{return sa.hex}let n=t.hex.match(P4);if(!n)return Ni.test(t.hex)?t.hex:sa.hex;let[a,o,i]=n[1].split("");return`#${a}${a}${o}${o}${i}${i}`},N4=(e,t)=>{let[r,n]=te(e||""),[a,o]=te(()=>ar(r)),[i,u]=te(a?.colorSpace||"hex");he(()=>{let E=e||"",g=ar(E);n(E),o(g),u(g?.colorSpace||"hex")},[e]);let s=Ze(()=>k4(r,a,i).toLowerCase(),[r,a,i]),p=me(E=>{let g=ar(E),m=g?.value||E||"";n(m),m===""&&(o(void 0),t(void 0)),g&&(o(g),u(g.colorSpace),t(g.value))},[t]),b=me(()=>{let E=ua.indexOf(i)+1;E>=ua.length&&(E=0),u(ua[E]);let g=a?.[ua[E]]||"";n(g),t(g)},[a,i,t]);return{value:r,realValue:s,updateValue:p,color:a,colorSpace:i,cycleColorSpace:b}},la=e=>e.replace(/\s*/,"").toLowerCase(),L4=(e,t,r)=>{let[n,a]=te(t?.valid?[t]:[]);he(()=>{t===void 0&&a([])},[t]);let o=Ze(()=>(e||[]).map(u=>typeof u=="string"?ar(u):u.title?{...ar(u.color),keyword:u.title}:ar(u.color)).concat(n).filter(Boolean).slice(-27),[e,n]),i=me(u=>{u?.valid&&(o.some(s=>la(s[r])===la(u[r]))||a(s=>s.concat(u)))},[r,o]);return{presets:o,addPreset:i}},ny=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,presetColors:o,startOpen:i=!1})=>{let u=me((0,ty.default)(r,200),[r]),{value:s,realValue:p,updateValue:b,color:E,colorSpace:g,cycleColorSpace:m}=N4(t,u),{presets:A,addPreset:y}=L4(o,E,g),S=I4[g];return h.createElement(v4,null,h.createElement(D4,{startOpen:i,closeOnOutsideClick:!0,onVisibleChange:()=>y(E),tooltip:h.createElement(C4,null,h.createElement(S,{color:p==="transparent"?"#000000":p,onChange:b,onFocus:n,onBlur:a}),A.length>0&&h.createElement(S4,null,A.map((F,R)=>h.createElement(Wr,{key:`${F.value}-${R}`,hasChrome:!1,tooltip:h.createElement(x4,{note:F.keyword||F.value})},h.createElement(Zg,{value:F[g],active:E&&la(F[g])===la(E[g]),onClick:()=>b(F.value)})))))},h.createElement(Zg,{value:p,style:{margin:4}})),h.createElement(B4,{id:_e(e),value:s,onChange:F=>b(F.target.value),onFocus:F=>F.target.select(),placeholder:"Choose color..."}),s?h.createElement(T4,{icon:"markup",onClick:m}):null)},q4=ny});l();c();d();l();c();d();l();c();d();Ft();l();c();d();var RI=__STORYBOOK_API__,{ActiveTabs:PI,Consumer:II,ManagerContext:kI,Provider:NI,addons:ya,combineParameters:LI,controlOrMetaKey:qI,controlOrMetaSymbol:jI,eventMatchesShortcut:MI,eventToShortcut:$I,isMacLike:UI,isShortcutTaken:zI,keyToSymbol:HI,merge:GI,mockChannel:WI,optionOrAltSymbol:VI,shortcutMatchesShortcut:KI,shortcutToHumanString:YI,types:ru,useAddonState:JI,useArgTypes:ba,useArgs:nu,useChannel:XI,useGlobalTypes:QI,useGlobals:au,useParameter:ou,useSharedState:ZI,useStoryPrepared:ek,useStorybookApi:tk,useStorybookState:iu}=__STORYBOOK_API__;sr();l();c();d();Pa();ka();Ft();sr();l();c();d();l();c();d();function Be(){return Be=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&a<1?(u=o,s=i):a>=1&&a<2?(u=i,s=o):a>=2&&a<3?(s=o,p=i):a>=3&&a<4?(s=i,p=o):a>=4&&a<5?(u=i,p=o):a>=5&&a<6&&(u=o,p=i);var b=r-o/2,E=u+b,g=s+b,m=p+b;return n(E,g,m)}var Cu={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 W2(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Cu[t]?"#"+Cu[t]:e}var V2=/^#[a-fA-F0-9]{6}$/,K2=/^#[a-fA-F0-9]{8}$/,Y2=/^#[a-fA-F0-9]{3}$/,J2=/^#[a-fA-F0-9]{4}$/,qa=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,X2=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Q2=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Z2=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Tt(e){if(typeof e!="string")throw new Oe(3);var t=W2(e);if(t.match(V2))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(K2)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(Y2))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(J2)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=qa.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=X2.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=Q2.exec(t);if(i){var u=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,p=parseInt(""+i[3],10)/100,b="rgb("+cr(u,s,p)+")",E=qa.exec(b);if(!E)throw new Oe(4,t,b);return{red:parseInt(""+E[1],10),green:parseInt(""+E[2],10),blue:parseInt(""+E[3],10)}}var g=Z2.exec(t.substring(0,50));if(g){var m=parseInt(""+g[1],10),A=parseInt(""+g[2],10)/100,y=parseInt(""+g[3],10)/100,S="rgb("+cr(m,A,y)+")",F=qa.exec(S);if(!F)throw new Oe(4,t,S);return{red:parseInt(""+F[1],10),green:parseInt(""+F[2],10),blue:parseInt(""+F[3],10),alpha:parseFloat(""+g[4])>1?parseFloat(""+g[4])/100:parseFloat(""+g[4])}}throw new Oe(5)}function e1(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var u,s=a-o,p=i>.5?s/(2-a-o):s/(a+o);switch(a){case t:u=(r-n)/s+(r=1?Yr(e,t,r):"rgba("+cr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Yr(e.hue,e.saturation,e.lightness):"rgba("+cr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Oe(2)}function $a(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Ma("#"+ht(e)+ht(t)+ht(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Ma("#"+ht(e.red)+ht(e.green)+ht(e.blue));throw new Oe(6)}function je(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Tt(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?$a(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?$a(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Oe(7)}var o1=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},i1=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},u1=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},s1=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function rt(e){if(typeof e!="object")throw new Oe(8);if(i1(e))return je(e);if(o1(e))return $a(e);if(s1(e))return a1(e);if(u1(e))return n1(e);throw new Oe(8)}function Su(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Su(e,t,a)}}function Ie(e){return Su(e,e.length,[])}function l1(e,t){if(t==="transparent")return t;var r=tt(t);return rt(Be({},r,{hue:r.hue+parseFloat(e)}))}var N7=Ie(l1);function _t(e,t,r){return Math.max(e,Math.min(t,r))}function c1(e,t){if(t==="transparent")return t;var r=tt(t);return rt(Be({},r,{lightness:_t(0,1,r.lightness-parseFloat(e))}))}var d1=Ie(c1),Me=d1;function p1(e,t){if(t==="transparent")return t;var r=tt(t);return rt(Be({},r,{saturation:_t(0,1,r.saturation-parseFloat(e))}))}var L7=Ie(p1);function f1(e,t){if(t==="transparent")return t;var r=tt(t);return rt(Be({},r,{lightness:_t(0,1,r.lightness+parseFloat(e))}))}var h1=Ie(f1),nt=h1;function m1(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=Tt(t),a=Be({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),o=Tt(r),i=Be({},o,{alpha:typeof o.alpha=="number"?o.alpha:1}),u=a.alpha-i.alpha,s=parseFloat(e)*2-1,p=s*u===-1?s:s+u,b=1+s*u,E=(p/b+1)/2,g=1-E,m={red:Math.floor(a.red*E+i.red*g),green:Math.floor(a.green*E+i.green*g),blue:Math.floor(a.blue*E+i.blue*g),alpha:a.alpha*parseFloat(e)+i.alpha*(1-parseFloat(e))};return je(m)}var g1=Ie(m1),Fu=g1;function y1(e,t){if(t==="transparent")return t;var r=Tt(t),n=typeof r.alpha=="number"?r.alpha:1,a=Be({},r,{alpha:_t(0,1,(n*100+parseFloat(e)*100)/100)});return je(a)}var b1=Ie(y1),dr=b1;function E1(e,t){if(t==="transparent")return t;var r=tt(t);return rt(Be({},r,{saturation:_t(0,1,r.saturation+parseFloat(e))}))}var q7=Ie(E1);function A1(e,t){return t==="transparent"?t:rt(Be({},tt(t),{hue:parseFloat(e)}))}var j7=Ie(A1);function v1(e,t){return t==="transparent"?t:rt(Be({},tt(t),{lightness:parseFloat(e)}))}var M7=Ie(v1);function D1(e,t){return t==="transparent"?t:rt(Be({},tt(t),{saturation:parseFloat(e)}))}var $7=Ie(D1);function C1(e,t){return t==="transparent"?t:Fu(parseFloat(e),"rgb(0, 0, 0)",t)}var U7=Ie(C1);function x1(e,t){return t==="transparent"?t:Fu(parseFloat(e),"rgb(255, 255, 255)",t)}var z7=Ie(x1);function S1(e,t){if(t==="transparent")return t;var r=Tt(t),n=typeof r.alpha=="number"?r.alpha:1,a=Be({},r,{alpha:_t(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return je(a)}var F1=Ie(S1),ce=F1;l();c();d();var oe=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();var Ay=pe(So(),1);l();c();d();var yS=Object.create,Md=Object.defineProperty,bS=Object.getOwnPropertyDescriptor,ES=Object.getOwnPropertyNames,AS=Object.getPrototypeOf,vS=Object.prototype.hasOwnProperty,DS=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),CS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ES(t))!vS.call(e,a)&&a!==r&&Md(e,a,{get:()=>t[a],enumerable:!(n=bS(t,a))||n.enumerable});return e},xS=(e,t,r)=>(r=e!=null?yS(AS(e)):{},CS(t||!e||!e.__esModule?Md(r,"default",{value:e,enumerable:!0}):r,e)),SS=DS(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,o){return function i(u,s,p){var b,E,g,m=t.call(u),A=t.call(s);if(u===s)return!0;if(u==null||s==null)return!1;if(p.indexOf(u)>-1&&p.indexOf(s)>-1)return!0;if(p.push(u,s),m!=A||(b=n(u),E=n(s),b.length!=E.length||b.some(function(y){return!i(u[y],s[y],p)})))return!1;switch(m.slice(8,-1)){case"Symbol":return u.valueOf()==s.valueOf();case"Date":case"Number":return+u==+s||+u!=+u&&+s!=+s;case"RegExp":case"Function":case"String":case"Boolean":return""+u==""+s;case"Set":case"Map":b=u.entries(),E=s.entries();do if(!i((g=b.next()).value,E.next().value,p))return!1;while(!g.done);return!0;case"ArrayBuffer":u=new Uint8Array(u),s=new Uint8Array(s);case"DataView":u=new Uint8Array(u.buffer),s=new Uint8Array(s.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(u.length!=s.length)return!1;for(g=0;ge.map(t=>typeof t<"u").filter(Boolean).length,FS=(e,t)=>{let{exists:r,eq:n,neq:a,truthy:o}=e;if($d([r,n,a,o])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:a})}`);if(typeof n<"u")return(0,jd.isEqual)(t,n);if(typeof a<"u")return!(0,jd.isEqual)(t,a);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof o>"u"||o?!!t:!t},Fo=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:a}=e.if;if($d([n,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:a})}`);let o=n?t[n]:r[a];return FS(e.if,o)};l();c();d();var bG=__STORYBOOK_CLIENT_LOGGER__,{deprecate:En,logger:ze,once:An,pretty:EG}=__STORYBOOK_CLIENT_LOGGER__;l();c();d();Ft();function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),Gd={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xA0",quot:"\u201C"},BS=["style","script"],TS=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,_S=/mailto:/i,OS=/\n{2,}$/,Xd=/^(\s*>[\s\S]*?)(?=\n{2,})/,RS=/^ *> ?/gm,PS=/^ {2,}\n/,IS=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,Qd=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Zd=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,kS=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,NS=/^(?:\n *)*\n/,LS=/\r\n?/g,qS=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,jS=/^\[\^([^\]]+)]/,MS=/\f/g,$S=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,US=/^\s*?\[(x|\s)\]/,ep=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,tp=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,rp=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Oo=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,zS=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,np=/^)/,HS=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Ro=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,GS=/^\{.*\}$/,WS=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,VS=/^<([^ >]+@[^ >]+)>/,KS=/^<([^ >]+:\/[^ >]+)>/,YS=/-([a-z])?/gi,ap=/^(.*\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,JS=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,XS=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,QS=/^\[([^\]]*)\] ?\[([^\]]*)\]/,ZS=/(\[|\])/g,eF=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,tF=/\t/g,rF=/(^ *\||\| *$)/g,nF=/^ *:-+: *$/,aF=/^ *:-+ *$/,oF=/^ *-+: *$/,Dn="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",iF=new RegExp(`^([*_])\\1${Dn}\\1\\1(?!\\1)`),uF=new RegExp(`^([*_])${Dn}\\1(?!\\1|\\w)`),sF=new RegExp(`^==${Dn}==`),lF=new RegExp(`^~~${Dn}~~`),cF=/^\\([^0-9A-Za-z\s])/,dF=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,pF=/^\n+/,fF=/^([ \t]*)/,hF=/\\([^\\])/g,Wd=/ *\n+$/,mF=/(?:^|\n)( *)$/,Po="(?:\\d+\\.)",Io="(?:[*+-])";function op(e){return"( *)("+(e===1?Po:Io)+") +"}var ip=op(1),up=op(2);function sp(e){return new RegExp("^"+(e===1?ip:up))}var gF=sp(1),yF=sp(2);function lp(e){return new RegExp("^"+(e===1?ip:up)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Po:Io)+" )[^\\n]*)*(\\n|$)","gm")}var cp=lp(1),dp=lp(2);function pp(e){let t=e===1?Po:Io;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var fp=pp(1),hp=pp(2);function Vd(e,t){let r=t===1,n=r?fp:hp,a=r?cp:dp,o=r?gF:yF;return{match(i,u,s){let p=mF.exec(s);return p&&(u.list||!u.inline&&!u.simple)?n.exec(i=p[1]+i):null},order:1,parse(i,u,s){let p=r?+i[2]:void 0,b=i[0].replace(OS,` +`).match(a),E=!1;return{items:b.map(function(g,m){let A=o.exec(g)[0].length,y=new RegExp("^ {1,"+A+"}","gm"),S=g.replace(y,"").replace(o,""),F=m===b.length-1,R=S.indexOf(` + +`)!==-1||F&&E;E=R;let L=s.inline,M=s.list,w;s.list=!0,R?(s.inline=!1,w=S.replace(Wd,` + +`)):(s.inline=!0,w=S.replace(Wd,""));let N=u(w,s);return s.inline=L,s.list=M,N}),ordered:r,start:p}},render:(i,u,s)=>e(i.ordered?"ol":"ul",{key:s.key,start:i.type==="20"?i.start:void 0},i.items.map(function(p,b){return e("li",{key:b},u(p,s))}))}}var bF=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),EF=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,mp=[Xd,Qd,Zd,ep,rp,tp,np,ap,cp,fp,dp,hp],AF=[...mp,/^[^\n]+(?: \n|\n{2,})/,Oo,Ro];function vF(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 DF(e){return oF.test(e)?"right":nF.test(e)?"center":aF.test(e)?"left":null}function Kd(e,t,r,n){let a=r.inTable;r.inTable=!0;let o=e.trim().split(/( *(?:`[^`]*`|<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/).reduce((u,s)=>(s.trim()==="|"?u.push(n?{type:"26"}:{type:"27",text:s}):s!==""&&u.push.apply(u,t(s,r)),u),[]);r.inTable=a;let i=[[]];return o.forEach(function(u,s){u.type==="26"?s!==0&&s!==o.length-1&&i.push([]):(u.type!=="27"||o[s+1]!=null&&o[s+1].type!=="26"||(u.text=u.text.trimEnd()),i[i.length-1].push(u))}),i}function CF(e,t,r){r.inline=!0;let n=e[2]?e[2].replace(rF,"").split("|").map(DF):[],a=e[3]?function(i,u,s){return i.trim().split(` +`).map(function(p){return Kd(p,u,s,!0)})}(e[3],t,r):[],o=Kd(e[1],t,r,!!a.length);return r.inline=!1,a.length?{align:n,cells:a,header:o,type:"25"}:{children:o,type:"21"}}function Yd(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function ot(e){return function(t,r){return r.inline?e.exec(t):null}}function it(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function Je(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Cr(e){return function(t){return e.exec(t)}}function xF(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` +`))return null;let n="";e.split(` +`).every(o=>!mp.some(i=>i.test(o))&&(n+=o+` +`,o.trim()));let a=n.trimEnd();return a==""?null:[n,a]}function Mt(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 Jd(e){return e.replace(hF,"$1")}function vn(e,t,r){let n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=a,o}function SF(e,t,r){let n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=a,o}function FF(e,t,r){let n=r.inline||!1;r.inline=!1;let a=e(t,r);return r.inline=n,a}var wo=(e,t,r)=>({children:vn(t,e[1],r)});function Bo(){return{}}function To(){return null}function wF(...e){return e.filter(Boolean).join(" ")}function _o(e,t,r){let n=e,a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function BF(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||vF,t.namedCodesToUnicode=t.namedCodesToUnicode?bt({},Gd,t.namedCodesToUnicode):Gd;let r=t.createElement||ga;function n(m,A,...y){let S=_o(t.overrides,`${m}.props`,{});return r(function(F,R){let L=_o(R,F);return L?typeof L=="function"||typeof L=="object"&&"render"in L?L:_o(R,`${F}.component`,F):F}(m,t.overrides),bt({},A,S,{className:wF(A?.className,S.className)||void 0}),...y)}function a(m){m=m.replace($S,"");let A=!1;t.forceInline?A=!0:t.forceBlock||(A=eF.test(m)===!1);let y=b(p(A?m:`${m.trimEnd().replace(pF,"")} + +`,{inline:A}));for(;typeof y[y.length-1]=="string"&&!y[y.length-1].trim();)y.pop();if(t.wrapper===null)return y;let S=t.wrapper||(A?"span":"div"),F;if(y.length>1||t.forceWrapper)F=y;else{if(y.length===1)return F=y[0],typeof F=="string"?n("span",{key:"outer"},F):F;F=null}return ga(S,{key:"outer"},F)}function o(m){let A=m.match(TS);return A?A.reduce(function(y,S,F){let R=S.indexOf("=");if(R!==-1){let L=function(I){return I.indexOf("-")!==-1&&I.match(HS)===null&&(I=I.replace(YS,function(U,V){return V.toUpperCase()})),I}(S.slice(0,R)).trim(),M=function(I){let U=I[0];return(U==='"'||U==="'")&&I.length>=2&&I[I.length-1]===U?I.slice(1,-1):I}(S.slice(R+1).trim()),w=Hd[L]||L,N=y[w]=function(I,U){return I==="style"?U.split(/;\s?/).reduce(function(V,z){let ie=z.slice(0,z.indexOf(":"));return V[ie.trim().replace(/(-[a-z])/g,Z=>Z[1].toUpperCase())]=z.slice(ie.length+1).trim(),V},{}):I==="href"||I==="src"?Mt(U):(U.match(GS)&&(U=U.slice(1,U.length-1)),U==="true"||U!=="false"&&U)}(L,M);typeof N=="string"&&(Oo.test(N)||Ro.test(N))&&(y[w]=fe(a(N.trim()),{key:F}))}else S!=="style"&&(y[Hd[S]||S]=!0);return y},{}):null}let i=[],u={},s={0:{match:Je(Xd),order:1,parse:(m,A,y)=>({children:A(m[0].replace(RS,""),y)}),render:(m,A,y)=>n("blockquote",{key:y.key},A(m.children,y))},1:{match:Cr(PS),order:1,parse:Bo,render:(m,A,y)=>n("br",{key:y.key})},2:{match:Je(IS),order:1,parse:Bo,render:(m,A,y)=>n("hr",{key:y.key})},3:{match:Je(Zd),order:0,parse:m=>({lang:void 0,text:m[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(m,A,y)=>n("pre",{key:y.key},n("code",bt({},m.attrs,{className:m.lang?`lang-${m.lang}`:""}),m.text))},4:{match:Je(Qd),order:0,parse:m=>({attrs:o(m[3]||""),lang:m[2]||void 0,text:m[4],type:"3"})},5:{match:it(kS),order:3,parse:m=>({text:m[2]}),render:(m,A,y)=>n("code",{key:y.key},m.text)},6:{match:Je(qS),order:0,parse:m=>(i.push({footnote:m[2],identifier:m[1]}),{}),render:To},7:{match:ot(jS),order:1,parse:m=>({target:`#${t.slugify(m[1])}`,text:m[1]}),render:(m,A,y)=>n("a",{key:y.key,href:Mt(m.target)},n("sup",{key:y.key},m.text))},8:{match:ot(US),order:1,parse:m=>({completed:m[1].toLowerCase()==="x"}),render:(m,A,y)=>n("input",{checked:m.completed,key:y.key,readOnly:!0,type:"checkbox"})},9:{match:Je(t.enforceAtxHeadings?tp:ep),order:1,parse:(m,A,y)=>({children:vn(A,m[2],y),id:t.slugify(m[2]),level:m[1].length}),render:(m,A,y)=>n(`h${m.level}`,{id:m.id,key:y.key},A(m.children,y))},10:{match:Je(rp),order:0,parse:(m,A,y)=>({children:vn(A,m[1],y),level:m[2]==="="?1:2,type:"9"})},11:{match:Cr(Oo),order:1,parse(m,A,y){let[,S]=m[3].match(fF),F=new RegExp(`^${S}`,"gm"),R=m[3].replace(F,""),L=(M=R,AF.some(U=>U.test(M))?FF:vn);var M;let w=m[1].toLowerCase(),N=BS.indexOf(w)!==-1,I={attrs:o(m[2]),noInnerParse:N,tag:(N?w:m[1]).trim()};return y.inAnchor=y.inAnchor||w==="a",N?I.text=m[3]:I.children=L(A,R,y),y.inAnchor=!1,I},render:(m,A,y)=>n(m.tag,bt({key:y.key},m.attrs),m.text||A(m.children,y))},13:{match:Cr(Ro),order:1,parse:m=>({attrs:o(m[2]||""),tag:m[1].trim()}),render:(m,A,y)=>n(m.tag,bt({},m.attrs,{key:y.key}))},12:{match:Cr(np),order:1,parse:()=>({}),render:To},14:{match:it(EF),order:1,parse:m=>({alt:m[1],target:Jd(m[2]),title:m[3]}),render:(m,A,y)=>n("img",{key:y.key,alt:m.alt||void 0,title:m.title||void 0,src:Mt(m.target)})},15:{match:ot(bF),order:3,parse:(m,A,y)=>({children:SF(A,m[1],y),target:Jd(m[2]),title:m[3]}),render:(m,A,y)=>n("a",{key:y.key,href:Mt(m.target),title:m.title},A(m.children,y))},16:{match:ot(KS),order:0,parse:m=>({children:[{text:m[1],type:"27"}],target:m[1],type:"15"})},17:{match:(m,A)=>A.inAnchor?null:ot(WS)(m,A),order:0,parse:m=>({children:[{text:m[1],type:"27"}],target:m[1],title:void 0,type:"15"})},18:{match:ot(VS),order:0,parse(m){let A=m[1],y=m[1];return _S.test(y)||(y="mailto:"+y),{children:[{text:A.replace("mailto:",""),type:"27"}],target:y,type:"15"}}},20:Vd(n,1),33:Vd(n,2),19:{match:Je(NS),order:3,parse:Bo,render:()=>` +`},21:{match:xF,order:3,parse:wo,render:(m,A,y)=>n("p",{key:y.key},A(m.children,y))},22:{match:ot(JS),order:0,parse:m=>(u[m[1]]={target:m[2],title:m[4]},{}),render:To},23:{match:it(XS),order:0,parse:m=>({alt:m[1]||void 0,ref:m[2]}),render:(m,A,y)=>u[m.ref]?n("img",{key:y.key,alt:m.alt,src:Mt(u[m.ref].target),title:u[m.ref].title}):null},24:{match:ot(QS),order:0,parse:(m,A,y)=>({children:A(m[1],y),fallbackChildren:A(m[0].replace(ZS,"\\$1"),y),ref:m[2]}),render:(m,A,y)=>u[m.ref]?n("a",{key:y.key,href:Mt(u[m.ref].target),title:u[m.ref].title},A(m.children,y)):n("span",{key:y.key},A(m.fallbackChildren,y))},25:{match:Je(ap),order:1,parse:CF,render(m,A,y){let S=m;return n("table",{key:y.key},n("thead",null,n("tr",null,S.header.map(function(F,R){return n("th",{key:R,style:Yd(S,R)},A(F,y))}))),n("tbody",null,S.cells.map(function(F,R){return n("tr",{key:R},F.map(function(L,M){return n("td",{key:M,style:Yd(S,M)},A(L,y))}))})))}},27:{match:Cr(dF),order:4,parse:m=>({text:m[0].replace(zS,(A,y)=>t.namedCodesToUnicode[y]?t.namedCodesToUnicode[y]:A)}),render:m=>m.text},28:{match:it(iF),order:2,parse:(m,A,y)=>({children:A(m[2],y)}),render:(m,A,y)=>n("strong",{key:y.key},A(m.children,y))},29:{match:it(uF),order:3,parse:(m,A,y)=>({children:A(m[2],y)}),render:(m,A,y)=>n("em",{key:y.key},A(m.children,y))},30:{match:it(cF),order:1,parse:m=>({text:m[1],type:"27"})},31:{match:it(sF),order:3,parse:wo,render:(m,A,y)=>n("mark",{key:y.key},A(m.children,y))},32:{match:it(lF),order:3,parse:wo,render:(m,A,y)=>n("del",{key:y.key},A(m.children,y))}};t.disableParsingRawHTML===!0&&(delete s[11],delete s[13]);let p=function(m){let A=Object.keys(m);function y(S,F){let R=[],L="";for(;S;){let M=0;for(;MR(y,S,F),y,S,F):R(y,S,F)}}(s,t.renderRule),function m(A,y={}){if(Array.isArray(A)){let S=y.key,F=[],R=!1;for(let L=0;L{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var i,u,s={},p=Object.keys(a);for(u=0;u=0||(s[i]=a[i]);return s}(e,wS);return fe(BF(t,r),n)};var vy=pe(Cn(),1),Dy=pe(Lp(),1),Cy=pe(zf(),1);l();c();d();l();c();d();l();c();d();l();c();d();l();c();d();l();c();d();var tK=__STORYBOOK_CHANNELS__,{Channel:Lo,PostMessageTransport:rK,WebsocketTransport:nK,createBrowserChannel:A3,createPostMessageChannel:aK,createWebSocketChannel:oK}=__STORYBOOK_CHANNELS__;l();c();d();var cK=__STORYBOOK_CORE_EVENTS__,{CHANNEL_CREATED:dK,CONFIG_ERROR:v3,CURRENT_STORY_WAS_SET:D3,DOCS_PREPARED:C3,DOCS_RENDERED:x3,FORCE_REMOUNT:S3,FORCE_RE_RENDER:qo,GLOBALS_UPDATED:Fn,IGNORED_EXCEPTION:pK,NAVIGATE_URL:Hf,PLAY_FUNCTION_THREW_EXCEPTION:F3,PRELOAD_ENTRIES:w3,PREVIEW_BUILDER_PROGRESS:fK,PREVIEW_KEYDOWN:B3,REGISTER_SUBSCRIPTION:hK,REQUEST_WHATS_NEW_DATA:mK,RESET_STORY_ARGS:wn,RESULT_WHATS_NEW_DATA:gK,SELECT_STORY:yK,SET_CONFIG:bK,SET_CURRENT_STORY:T3,SET_GLOBALS:_3,SET_INDEX:O3,SET_STORIES:EK,SET_WHATS_NEW_CACHE:AK,SHARED_STATE_CHANGED:R3,SHARED_STATE_SET:P3,STORIES_COLLAPSE_ALL:vK,STORIES_EXPAND_ALL:DK,STORY_ARGS_UPDATED:Bn,STORY_CHANGED:I3,STORY_ERRORED:k3,STORY_INDEX_INVALIDATED:N3,STORY_MISSING:L3,STORY_PREPARED:q3,STORY_RENDERED:Gf,STORY_RENDER_PHASE_CHANGED:j3,STORY_SPECIFIED:M3,STORY_THREW_EXCEPTION:$3,STORY_UNCHANGED:U3,TELEMETRY_ERROR:CK,TOGGLE_WHATS_NEW_NOTIFICATIONS:xK,UPDATE_GLOBALS:Wf,UPDATE_QUERY_PARAMS:z3,UPDATE_STORY_ARGS:Tn}=__STORYBOOK_CORE_EVENTS__;var H3=Object.create,Vf=Object.defineProperty,G3=Object.getOwnPropertyDescriptor,Kf=Object.getOwnPropertyNames,W3=Object.getPrototypeOf,V3=Object.prototype.hasOwnProperty,He=(e,t)=>function(){return t||(0,e[Kf(e)[0]])((t={exports:{}}).exports,t),t.exports},K3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Kf(t))!V3.call(e,a)&&a!==r&&Vf(e,a,{get:()=>t[a],enumerable:!(n=G3(t,a))||n.enumerable});return e},Yf=(e,t,r)=>(r=e!=null?H3(W3(e)):{},K3(t||!e||!e.__esModule?Vf(r,"default",{value:e,enumerable:!0}):r,e));function Jf(){let e={setHandler:()=>{},send:()=>{}};return new Lo({transport:e})}var Y3=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=Jf();return this.setChannel(e),e}return this.channel},this.getServerChannel=()=>{if(!this.serverChannel)throw new Error("Accessing non-existent serverChannel");return this.serverChannel},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel,this.hasServerChannel=()=>!!this.serverChannel,this.setChannel=e=>{this.channel=e,this.resolve()},this.setServerChannel=e=>{this.serverChannel=e},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},jo="__STORYBOOK_ADDONS_PREVIEW";function J3(){return oe[jo]||(oe[jo]=new Y3),oe[jo]}var _n=J3();var H0=pe(Cn(),1),Br=pe(On(),1),uT=pe(R0(),1),sT=pe(Pn(),1);l();c();d();l();c();d();l();c();d();function Ut(e){for(var t=[],r=1;r(e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e))(MB||{});l();c();d();var Ln=pe(Mo(),1);var G0=pe(U0(),1);var W0=pe(So(),1);var kJ=(0,H0.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{}));var NJ=Symbol("incompatible");var LJ=Symbol("Deeply equal");var lT=Ut` +CSF .story annotations deprecated; annotate story functions directly: +- StoryFn.story.name => StoryFn.storyName +- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) +See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod. +`,qJ=(0,G0.default)(()=>{},lT);var Et=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((a,o)=>(Object.entries(o).forEach(([i,u])=>{let s=a[i];Array.isArray(u)||typeof s>"u"?a[i]=u:(0,Ln.default)(u)&&(0,Ln.default)(s)?t[i]=!0:typeof u<"u"&&(a[i]=u)}),a),{});return Object.keys(t).forEach(a=>{let o=r.filter(Boolean).map(i=>i[a]).filter(i=>typeof i<"u");o.every(i=>(0,Ln.default)(i))?n[a]=Et(...o):n[a]=o[o.length-1]}),n};var Uo=(e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(ze.warn(Ut` + We've detected a cycle in arg '${t}'. Args should be JSON-serializable. + + Consider using the mapping feature or fully custom args: + - Mapping: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values + - Custom args: https://storybook.js.org/docs/react/essentials/controls#fully-custom-args + `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Uo(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:(0,Br.default)(e,a=>Uo(a,t,new Set(r)))}):{name:"object",value:{}}},cT=e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,a=(0,Br.default)(n,(i,u)=>({name:u,type:Uo(i,`${t}.${u}`,new Set)})),o=(0,Br.default)(r,(i,u)=>({name:u}));return Et(a,o,r)};cT.secondPass=!0;var z0=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),_r=(e,t,r)=>!t&&!r?e:e&&(0,W0.default)(e,(n,a)=>{let o=n.name||a;return(!t||z0(o,t))&&(!r||!z0(o,r))}),dT=(e,t,r)=>{let{type:n,options:a}=e;if(n){if(r.color&&r.color.test(t)){let o=n.name;if(o==="string")return{control:{type:"color"}};o!=="enum"&&ze.warn(`Addon controls: Control of type color only supports string, received "${o}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:o}=n;return{control:{type:o?.length<=5?"radio":"select"},options:o}}case"function":case"symbol":return null;default:return{control:{type:a?"select":"object"}}}}},V0=e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:a=null,matchers:o={}}={}}}=e;if(!r)return t;let i=_r(t,n,a),u=(0,Br.default)(i,(s,p)=>s?.type&&dT(s,p,o));return Et(u,i)};V0.secondPass=!0;function zo(e){return async(t,r,n)=>{await e.reduceRight((a,o)=>async()=>o(t,a,n),async()=>r(n))()}}function Tr(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}function In(e,t,r={}){return Tr(e,t).reduce((n,a)=>r.reverseFileOrder?[...a,...n]:[...n,...a],[])}function kn(e,t){return Object.assign({},...Tr(e,t))}function Nn(e,t){return Tr(e,t).pop()}function Ho(e){let t=In(e,"argTypesEnhancers"),r=Tr(e,"runStep");return{parameters:Et(...Tr(e,"parameters")),decorators:In(e,"decorators",{reverseFileOrder:!(oe.FEATURES?.legacyDecoratorFileOrder??!1)}),args:kn(e,"args"),argsEnhancers:In(e,"argsEnhancers"),argTypes:kn(e,"argTypes"),argTypesEnhancers:[...t.filter(n=>!n.secondPass),...t.filter(n=>n.secondPass)],globals:kn(e,"globals"),globalTypes:kn(e,"globalTypes"),loaders:In(e,"loaders"),render:Nn(e,"render"),renderToCanvas:Nn(e,"renderToCanvas"),renderToDOM:Nn(e,"renderToDOM"),applyDecorators:Nn(e,"applyDecorators"),runStep:zo(r)}}var jJ=Ho([]);var d_=pe(Pn(),1),p_=pe(gi(),1);l();c();d();var h_=pe(Pn(),1);var m_=pe(gi(),1),g_=pe(Mo(),1),Pm=He({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` +`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}}),y_=He({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}}),Im=He({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),b_=He({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json"(e,t){t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}}),E_=He({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(b_()),n=String.fromCodePoint||function(o){var i="";return o>65535&&(o-=65536,i+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),i+=String.fromCharCode(o),i};function a(o){return o>=55296&&o<=57343||o>1114111?"\uFFFD":(o in r.default&&(o=r.default[o]),n(o))}e.default=a}}),Om=He({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(Pm()),n=t(y_()),a=t(Im()),o=t(E_()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=u(a.default),e.decodeHTMLStrict=u(r.default);function u(b){var E=p(b);return function(g){return String(g).replace(i,E)}}var s=function(b,E){return b1?E(R):R.charCodeAt(0)).toString(16).toUpperCase()+";"}function m(R,L){return function(M){return M.replace(L,function(w){return R[w]}).replace(b,g)}}var A=new RegExp(a.source+"|"+b.source,"g");function y(R){return R.replace(A,g)}e.escape=y;function S(R){return R.replace(a,g)}e.escapeUTF8=S;function F(R){return function(L){return L.replace(A,function(M){return R[M]||g(M)})}}}}),A_=He({"../../node_modules/ansi-to-html/node_modules/entities/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=Om(),r=Rm();function n(s,p){return(!p||p<=0?t.decodeXML:t.decodeHTML)(s)}e.decode=n;function a(s,p){return(!p||p<=0?t.decodeXML:t.decodeHTMLStrict)(s)}e.decodeStrict=a;function o(s,p){return(!p||p<=0?r.encodeXML:r.encodeHTML)(s)}e.encode=o;var i=Rm();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var u=Om();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return u.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return u.decodeXML}})}}),v_=He({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(O,T){if(!(O instanceof T))throw new TypeError("Cannot call a class as a function")}function n(O,T){for(var j=0;j"u"||O[Symbol.iterator]==null){if(Array.isArray(O)||(O=i(O))){var T=0,j=function(){};return{s:j,n:function(){return T>=O.length?{done:!0}:{done:!1,value:O[T++]}},e:function(ue){throw ue},f:j}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var G,Y=!0,K=!1,Q;return{s:function(){G=O[Symbol.iterator]()},n:function(){var ue=G.next();return Y=ue.done,ue},e:function(ue){K=!0,Q=ue},f:function(){try{!Y&&G.return!=null&&G.return()}finally{if(K)throw Q}}}}function i(O,T){if(O){if(typeof O=="string")return u(O,T);var j=Object.prototype.toString.call(O).slice(8,-1);if(j==="Object"&&O.constructor&&(j=O.constructor.name),j==="Map"||j==="Set")return Array.from(j);if(j==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j))return u(O,T)}}function u(O,T){(T==null||T>O.length)&&(T=O.length);for(var j=0,G=new Array(T);j0?O*40+55:0,Q=T>0?T*40+55:0,ue=j>0?j*40+55:0;G[Y]=m([K,Q,ue])}function g(O){for(var T=O.toString(16);T.length<2;)T="0"+T;return T}function m(O){var T=[],j=o(O),G;try{for(j.s();!(G=j.n()).done;){var Y=G.value;T.push(g(Y))}}catch(K){j.e(K)}finally{j.f()}return"#"+T.join("")}function A(O,T,j,G){var Y;return T==="text"?Y=w(j,G):T==="display"?Y=S(O,j,G):T==="xterm256"?Y=U(O,G.colors[j]):T==="rgb"&&(Y=y(O,j)),Y}function y(O,T){T=T.substring(2).slice(0,-1);var j=+T.substr(0,2),G=T.substring(5).split(";"),Y=G.map(function(K){return("0"+Number(K).toString(16)).substr(-2)}).join("");return I(O,(j===38?"color:#":"background-color:#")+Y)}function S(O,T,j){T=parseInt(T,10);var G={"-1":function(){return"
"},0:function(){return O.length&&F(O)},1:function(){return N(O,"b")},3:function(){return N(O,"i")},4:function(){return N(O,"u")},8:function(){return I(O,"display:none")},9:function(){return N(O,"strike")},22:function(){return I(O,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return z(O,"i")},24:function(){return z(O,"u")},39:function(){return U(O,j.fg)},49:function(){return V(O,j.bg)},53:function(){return I(O,"text-decoration:overline")}},Y;return G[T]?Y=G[T]():4"}).join("")}function R(O,T){for(var j=[],G=O;G<=T;G++)j.push(G);return j}function L(O){return function(T){return(O===null||T.category!==O)&&O!=="all"}}function M(O){O=parseInt(O,10);var T=null;return O===0?T="all":O===1?T="bold":2")}function I(O,T){return N(O,"span",T)}function U(O,T){return N(O,"span","color:"+T)}function V(O,T){return N(O,"span","background-color:"+T)}function z(O,T){var j;if(O.slice(-1)[0]===T&&(j=O.pop()),j)return""}function ie(O,T,j){var G=!1,Y=3;function K(){return""}function Q(ae,be){return j("xterm256",be),""}function ue(ae){return T.newline?j("display",-1):j("text",ae),""}function Re(ae,be){G=!0,be.trim().length===0&&(be="0"),be=be.trimRight(";").split(";");var zr=o(be),Yi;try{for(zr.s();!(Yi=zr.n()).done;){var Vy=Yi.value;j("display",Vy)}}catch(Ky){zr.e(Ky)}finally{zr.f()}return""}function Pe(ae){return j("text",ae),""}function X(ae){return j("rgb",ae),""}var qe=[{pattern:/^\x08+/,sub:K},{pattern:/^\x1b\[[012]?K/,sub:K},{pattern:/^\x1b\[\(B/,sub:K},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:X},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Q},{pattern:/^\n/,sub:ue},{pattern:/^\r+\n/,sub:ue},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Re},{pattern:/^\x1b\[\d?J/,sub:K},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:K},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:K},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Pe}];function B(ae,be){be>Y&&G||(G=!1,O=O.replace(ae.pattern,ae.sub))}var P=[],k=O,_=k.length;e:for(;_>0;){for(var $=0,H=0,de=qe.length;H(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(C_||{});var DZ=new D_.default({escapeXML:!0});var{document:CZ}=oe;var{FEATURES:kZ}=oe;l();c();d();var xy=pe(On(),1);l();c();d();var __=pe(On(),1),O_=pe(Hm(),1);var R_=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(R_||{});var Gm="storybook/docs",hte=`${Gm}/panel`;var P_=`${Gm}/snippet-rendered`,Wm=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(Wm||{});l();c();d();l();c();d();var I_=Object.create,Vm=Object.defineProperty,k_=Object.getOwnPropertyDescriptor,Km=Object.getOwnPropertyNames,N_=Object.getPrototypeOf,L_=Object.prototype.hasOwnProperty,ke=(e,t)=>function(){return t||(0,e[Km(e)[0]])((t={exports:{}}).exports,t),t.exports},q_=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Km(t))!L_.call(e,a)&&a!==r&&Vm(e,a,{get:()=>t[a],enumerable:!(n=k_(t,a))||n.enumerable});return e},ea=(e,t,r)=>(r=e!=null?I_(N_(e)):{},q_(t||!e||!e.__esModule?Vm(r,"default",{value:e,enumerable:!0}):r,e)),j_=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],M_=["detail"];function Ym(e){let t=j_.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&M_.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var cg=pe(Cn(),1),tg=ke({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},a=Symbol("test"),o=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;n[a]=i;for(a in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var u=Object.getOwnPropertySymbols(n);if(u.length!==1||u[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(n,a);if(s.value!==i||s.enumerable!==!0)return!1}return!0}}}),rg=ke({"node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,n=tg();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),$_=ke({"node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(u){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var p=n.call(arguments,1),b,E=function(){if(this instanceof b){var S=s.apply(this,p.concat(n.call(arguments)));return Object(S)===S?S:this}else return s.apply(u,p.concat(n.call(arguments)))},g=Math.max(0,s.length-p.length),m=[],A=0;A"u"?r:E(Uint8Array),A={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":b?E([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":g,"%AsyncGenerator%":g,"%AsyncGeneratorFunction%":g,"%AsyncIteratorPrototype%":g,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":g,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":b?E(E([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!b?r:E(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!b?r:E(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":b?E(""[Symbol.iterator]()):r,"%Symbol%":b?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":p,"%TypedArray%":m,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},y=function Z(J){var O;if(J==="%AsyncFunction%")O=i("async function () {}");else if(J==="%GeneratorFunction%")O=i("function* () {}");else if(J==="%AsyncGeneratorFunction%")O=i("async function* () {}");else if(J==="%AsyncGenerator%"){var T=Z("%AsyncGeneratorFunction%");T&&(O=T.prototype)}else if(J==="%AsyncIteratorPrototype%"){var j=Z("%AsyncGenerator%");j&&(O=E(j.prototype))}return A[J]=O,O},S={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},F=vi(),R=U_(),L=F.call(Function.call,Array.prototype.concat),M=F.call(Function.apply,Array.prototype.splice),w=F.call(Function.call,String.prototype.replace),N=F.call(Function.call,String.prototype.slice),I=F.call(Function.call,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,z=function(J){var O=N(J,0,1),T=N(J,-1);if(O==="%"&&T!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(T==="%"&&O!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var j=[];return w(J,U,function(G,Y,K,Q){j[j.length]=K?w(Q,V,"$1"):Y||G}),j},ie=function(J,O){var T=J,j;if(R(S,T)&&(j=S[T],T="%"+j[0]+"%"),R(A,T)){var G=A[T];if(G===g&&(G=y(T)),typeof G>"u"&&!O)throw new o("intrinsic "+J+" exists, but is not available. Please file an issue!");return{alias:j,name:T,value:G}}throw new n("intrinsic "+J+" does not exist!")};t.exports=function(J,O){if(typeof J!="string"||J.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof O!="boolean")throw new o('"allowMissing" argument must be a boolean');if(I(/^%?[^%]*%?$/,J)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var T=z(J),j=T.length>0?T[0]:"",G=ie("%"+j+"%",O),Y=G.name,K=G.value,Q=!1,ue=G.alias;ue&&(j=ue[0],M(T,L([0,1],ue)));for(var Re=1,Pe=!0;Re=T.length){var P=u(K,X);Pe=!!P,Pe&&"get"in P&&!("originalValue"in P.get)?K=P.get:K=K[X]}else Pe=R(K,X),K=K[X];Pe&&!Q&&(A[Y]=K)}}return K}}}),z_=ke({"node_modules/call-bind/index.js"(e,t){"use strict";var r=vi(),n=ng(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),u=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),p=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}t.exports=function(g){var m=i(r,o,arguments);if(u&&s){var A=u(m,"length");A.configurable&&s(m,"length",{value:1+p(0,g.length-(arguments.length-1))})}return m};var b=function(){return i(r,a,arguments)};s?s(t.exports,"apply",{value:b}):t.exports.apply=b}}),H_=ke({"node_modules/call-bind/callBound.js"(e,t){"use strict";var r=ng(),n=z_(),a=n(r("String.prototype.indexOf"));t.exports=function(i,u){var s=r(i,!!u);return typeof s=="function"&&a(i,".prototype.")>-1?n(s):s}}}),G_=ke({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=tg();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),W_=ke({"node_modules/is-regex/index.js"(e,t){"use strict";var r=H_(),n=G_()(),a,o,i,u;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},s=function(){throw i},u={toString:s,valueOf:s},typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=s));var s,p=r("Object.prototype.toString"),b=Object.getOwnPropertyDescriptor,E="[object RegExp]";t.exports=n?function(m){if(!m||typeof m!="object")return!1;var A=b(m,"lastIndex"),y=A&&a(A,"value");if(!y)return!1;try{o(m,u)}catch(S){return S===i}}:function(m){return!m||typeof m!="object"&&typeof m!="function"?!1:p(m)===E}}}),V_=ke({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),K_=ke({"node_modules/is-symbol/index.js"(e,t){"use strict";var r=Object.prototype.toString,n=rg()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,i}}),Y_=ea(W_()),J_=ea(V_()),X_=ea(K_());function Q_(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var Z_=typeof window=="object"&&window&&window.Object===Object&&window,eO=Z_,tO=typeof self=="object"&&self&&self.Object===Object&&self,rO=eO||tO||Function("return this")(),Di=rO,nO=Di.Symbol,Qt=nO,ag=Object.prototype,aO=ag.hasOwnProperty,oO=ag.toString,qr=Qt?Qt.toStringTag:void 0;function iO(e){var t=aO.call(e,qr),r=e[qr];try{e[qr]=void 0;var n=!0}catch{}var a=oO.call(e);return n&&(t?e[qr]=r:delete e[qr]),a}var uO=iO,sO=Object.prototype,lO=sO.toString;function cO(e){return lO.call(e)}var dO=cO,pO="[object Null]",fO="[object Undefined]",Jm=Qt?Qt.toStringTag:void 0;function hO(e){return e==null?e===void 0?fO:pO:Jm&&Jm in Object(e)?uO(e):dO(e)}var og=hO;function mO(e){return e!=null&&typeof e=="object"}var gO=mO,yO="[object Symbol]";function bO(e){return typeof e=="symbol"||gO(e)&&og(e)==yO}var Ci=bO;function EO(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r-1}var T6=B6;function _6(e,t){var r=this.__data__,n=ra(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var O6=_6;function er(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;ihR(e).replace(/\n\s*/g,"").trim()),gR=function(t,r){let 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},yR=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,bR=e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/);function dg(e){if(!ta(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=Ym(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 ER=function(t){let r,n,a,o;return function(u,s){try{if(u==="")return o=[],r=new Map([[s,"[]"]]),n=new Map,a=[],s;let p=n.get(this)||this;for(;a.length&&p!==a[0];)a.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return t.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return yR.test(s)?t.allowDate?`_date_${s}`:void 0:s;if((0,Y_.default)(s))return t.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,J_.default)(s)){if(!t.allowFunction)return;let{name:E}=s,g=s.toString();return g.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${E}|${(()=>{}).toString()}`:`_function_${E}|${mR(gR(u,g))}`}if((0,X_.default)(s)){if(!t.allowSymbol)return;let E=Symbol.keyFor(s);return E!==void 0?`_gsymbol_${E}`:`_symbol_${s.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!t.allowClass)return;let b=r.get(s);if(!b){let E=Array.isArray(s)?s:dg(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&t.allowClass)try{Object.assign(E,{"_constructor-name_":s.constructor.name})}catch{}return o.push(u),a.unshift(E),r.set(s,JSON.stringify(o)),s!==E&&n.set(s,E),E}return`_duplicate_${b}`}catch{return}}},AR=function reviver(options){let refs=[],root;return function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let n=bR(r)?JSON.parse(r):r.split(".");n.length===0?t[e]=root:t[e]=fR(root,n)})),key==="_constructor-name_")return value;if(ta(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(ta(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=(...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)};return Object.defineProperty(result,"toString",{value:()=>sourceSanitized}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value}},pg={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},vR=(e,t={})=>{let r={...pg,...t};return JSON.stringify(dg(e),ER(r),t.space)},DR=()=>{let e=new Map;return function t(r){ta(r)&&Object.entries(r).forEach(([n,a])=>{a==="_undefined_"?r[n]=void 0:e.get(a)||(e.set(a,!0),t(a))}),Array.isArray(r)&&r.forEach((n,a)=>{n==="_undefined_"?(e.set(n,!0),r[a]=void 0):e.get(n)||(e.set(n,!0),t(n))})}},xte=(e,t={})=>{let r={...pg,...t},n=JSON.parse(e,AR(r));return DR()(n),n};l();c();d();l();c();d();l();c();d();l();c();d();l();c();d();l();c();d();l();c();d();var j4=q.div(Bt,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:ce(.3,e.color.defaultText),fontSize:e.typography.size.s2})),Sy=e=>h.createElement(j4,{...e,className:"docblock-emptyblock sb-unstyled"}),M4=q(Gr)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),$4=q.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),ca=q.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${mu}`]:{margin:0}})),U4=()=>h.createElement($4,null,h.createElement(ca,null),h.createElement(ca,{style:{width:"80%"}}),h.createElement(ca,{style:{width:"30%"}}),h.createElement(ca,{style:{width:"80%"}})),Fy=({isLoading:e,error:t,language:r,code:n,dark:a,format:o,...i})=>{if(e)return h.createElement(U4,null);if(t)return h.createElement(Sy,null,t);let u=h.createElement(M4,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return u;let s=a?Ia.dark:Ia.light;return h.createElement(fu,{theme:hu(s)},u)};Fy.defaultProps={format:!1};var ge=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Hi=600,Tne=q.h1(Bt,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Hi}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),_ne=q.h2(Bt,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Hi}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:ce(.25,e.color.defaultText)})),One=q.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?ce(.1,e.color.defaultText):ce(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[ge("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[ge("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[ge("div")]:t,[ge("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[ge("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[ge("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[ge("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[ge("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[ge("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[ge("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[ge("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[ge("img")]:{maxWidth:"100%"},[ge("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[ge("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[ge("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[ge("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[ge("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[ge("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[ge("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),Rne=q.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Hi}px)`]:{}}));var fa=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),z4=({zoom:e,resetZoom:t})=>h.createElement(h.Fragment,null,h.createElement(pt,{key:"zoomin",onClick:r=>{r.preventDefault(),e(.8)},title:"Zoom in"},h.createElement(we,{icon:"zoom"})),h.createElement(pt,{key:"zoomout",onClick:r=>{r.preventDefault(),e(1.25)},title:"Zoom out"},h.createElement(we,{icon:"zoomout"})),h.createElement(pt,{key:"zoomreset",onClick:r=>{r.preventDefault(),t()},title:"Reset zoom"},h.createElement(we,{icon:"zoomreset"}))),H4=q(Da)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),G4=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>h.createElement(H4,{...o},h.createElement(Qi,{key:"left"},e?[1,2,3].map(i=>h.createElement(xa,{key:i})):h.createElement(z4,{zoom:n,resetZoom:a}))),W4=ur({scale:1}),{window:Pne}=oe;var{PREVIEW_URL:Ine}=oe;var V4=q.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),iy=q(Fy)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Me(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Me(.05,e.background.content)}})),K4=q.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...fa(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),Y4=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:h.createElement(iy,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:h.createElement(iy,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function J4(e){if(Xi.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var X4=q(G4)({position:"absolute",top:0,left:0,right:0,height:40}),Q4=q.div({overflow:"hidden",position:"relative"}),Z4=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:u,className:s,layout:p="padded",...b})=>{let[E,g]=te(i),{source:m,actionItem:A}=Y4(a,E,g),[y,S]=te(1),F=[s].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),R=a?[A]:[],[L,M]=te(u?[...u]:[]),w=[...R,...L],{window:N}=oe,I=me(async V=>{let{createCopyToClipboardFunction:z}=await Promise.resolve().then(()=>(sr(),pu));z()},[]),U=V=>{let z=N.getSelection();z&&z.type==="Range"||(V.preventDefault(),L.filter(ie=>ie.title==="Copied").length===0&&I(m.props.code).then(()=>{M([...L,{title:"Copied",onClick:()=>{}}]),N.setTimeout(()=>M(L.filter(ie=>ie.title!=="Copied")),1500)}))};return h.createElement(K4,{withSource:a,withToolbar:o,...b,className:F.join(" ")},o&&h.createElement(X4,{isLoading:e,border:!0,zoom:V=>S(y*V),resetZoom:()=>S(1),storyId:J4(n),baseUrl:"./iframe.html"}),h.createElement(W4.Provider,{value:{scale:y}},h.createElement(Q4,{className:"docs-story",onCopyCapture:a&&U},h.createElement(V4,{isColumn:t||!Array.isArray(n),columns:r,layout:p},h.createElement(_a.Element,{scale:y},Array.isArray(n)?n.map((V,z)=>h.createElement("div",{key:z},V)):h.createElement("div",null,n))),h.createElement(Ea,{actionItems:w}))),a&&E&&m)},kne=q(Z4)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var e9=q.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:wt({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),t9=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:h.createElement(h.Fragment,null,h.createElement(e9,null,h.createElement("tbody",null,n&&h.createElement("tr",{key:"deprecated"},h.createElement("td",{colSpan:2},h.createElement("strong",null,"Deprecated"),": ",e.deprecated)),r&&t.map(o=>h.createElement("tr",{key:o.name},h.createElement("td",null,h.createElement("code",null,o.name)),h.createElement("td",null,o.description))),a&&h.createElement("tr",{key:"returns"},h.createElement("td",null,h.createElement("code",null,"Returns")),h.createElement("td",null,e.returns.description)))))},Mi=8,uy=q.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),r9=q.span(wt,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),n9=q.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),a9=q.div(wt,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),o9=q.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),i9=q(we)({height:10,width:10,minWidth:10,marginLeft:4}),u9=()=>h.createElement("span",null,"-"),wy=({text:e,simple:t})=>h.createElement(r9,{simple:t},e),s9=(0,vy.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),l9=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return(0,Dy.default)(t)},sy=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Mi)),r.map(n=>h.createElement(wy,{key:n,text:n===""?'""':n}))},c9=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=te(!1),[i,u]=te(t||!1);if(r==null)return null;let s=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(s))return h.createElement(wy,{text:s});let p=l9(s),b=p.length;return b>Mi?h.createElement(uy,{isExpanded:i},sy(p,i),h.createElement(n9,{onClick:()=>u(!i)},i?"Show less...":`Show ${b-Mi} more...`)):h.createElement(uy,null,sy(p))}return h.createElement(Ta,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:p=>{o(p)},tooltip:h.createElement(o9,{width:s9(n)},h.createElement(Gr,{language:"jsx",format:!1},n))},h.createElement(a9,{className:"sbdocs-expandable"},h.createElement("span",null,s),h.createElement(i9,{icon:a?"arrowup":"arrowdown"})))},Li=({value:e,initialExpandedArgs:t})=>e==null?h.createElement(u9,null):h.createElement(c9,{value:e,initialExpandedArgs:t}),d9=q.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:ce(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${dr(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${dr(.05,e.appBorderColor)} 0 0 0 2px inset`,color:dr(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${dr(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),p9=e=>e==="true",f9=({name:e,value:t,onChange:r,onBlur:n,onFocus:a})=>{let o=me(()=>r(!1),[r]);if(t===void 0)return h.createElement(Te.Button,{id:lr(e),onClick:o},"Set boolean");let i=_e(e),u=typeof t=="string"?p9(t):t;return h.createElement(d9,{htmlFor:i,"aria-label":e},h.createElement("input",{id:i,type:"checkbox",onChange:s=>r(s.target.checked),checked:u,role:"switch",name:e,onBlur:n,onFocus:a}),h.createElement("span",{"aria-hidden":"true"},"False"),h.createElement("span",{"aria-hidden":"true"},"True"))},h9=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},m9=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},g9=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},y9=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},b9=q.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),E9=({name:e,value:t,onChange:r,onFocus:n,onBlur:a})=>{let[o,i]=te(!0),u=Fe(),s=Fe();he(()=>{o!==!1&&(u&&u.current&&(u.current.value=g9(t)),s&&s.current&&(s.current.value=y9(t)))},[t]);let p=g=>{let m=h9(g.target.value),A=new Date(t);A.setFullYear(m.getFullYear(),m.getMonth(),m.getDate());let y=A.getTime();y&&r(y),i(!!y)},b=g=>{let m=m9(g.target.value),A=new Date(t);A.setHours(m.getHours()),A.setMinutes(m.getMinutes());let y=A.getTime();y&&r(y),i(!!y)},E=_e(e);return h.createElement(b9,null,h.createElement(Te.Input,{type:"date",max:"9999-12-31",ref:u,id:`${E}-date`,name:`${E}-date`,onChange:p,onFocus:n,onBlur:a}),h.createElement(Te.Input,{type:"time",id:`${E}-time`,name:`${E}-time`,ref:s,onChange:b,onFocus:n,onBlur:a}),o?null:h.createElement("div",null,"invalid"))},A9=q.label({display:"flex"}),v9=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t};var D9=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:u})=>{let[s,p]=te(typeof t=="number"?t:""),[b,E]=te(!1),[g,m]=te(null),A=me(F=>{p(F.target.value);let R=parseFloat(F.target.value);Number.isNaN(R)?m(new Error(`'${F.target.value}' is not a number`)):(r(R),m(null))},[r,m]),y=me(()=>{p("0"),r(0),E(!0)},[E]),S=Fe(null);return he(()=>{b&&S.current&&S.current.select()},[b]),he(()=>{s!==(typeof t=="number"?t:"")&&p(t)},[t]),!b&&t===void 0?h.createElement(Te.Button,{id:lr(e),onClick:y},"Set number"):h.createElement(A9,null,h.createElement(Te.Input,{ref:S,id:_e(e),type:"number",onChange:A,size:"flex",placeholder:"Edit number...",value:s,valid:g?"error":null,autoFocus:b,name:e,min:n,max:a,step:o,onFocus:u,onBlur:i}))},By=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},$i=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],Ty=(e,t)=>e&&t&&e.map(r=>t[r]),C9=q.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),x9=q.span({}),S9=q.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),ly=({name:e,options:t,value:r,onChange:n,isInline:a})=>{if(!t)return ze.warn(`Checkbox with no options: ${e}`),h.createElement(h.Fragment,null,"-");let o=$i(r,t),[i,u]=te(o),s=b=>{let E=b.target.value,g=[...i];g.includes(E)?g.splice(g.indexOf(E),1):g.push(E),n(Ty(g,t)),u(g)};he(()=>{u($i(r,t))},[r]);let p=_e(e);return h.createElement(C9,{isInline:a},Object.keys(t).map((b,E)=>{let g=`${p}-${E}`;return h.createElement(S9,{key:g,htmlFor:g},h.createElement("input",{type:"checkbox",id:g,name:g,value:b,onChange:s,checked:i?.includes(b)}),h.createElement(x9,null,b))}))},F9=q.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),w9=q.span({}),B9=q.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),cy=({name:e,options:t,value:r,onChange:n,isInline:a})=>{if(!t)return ze.warn(`Radio with no options: ${e}`),h.createElement(h.Fragment,null,"-");let o=By(r,t),i=_e(e);return h.createElement(F9,{isInline:a},Object.keys(t).map((u,s)=>{let p=`${i}-${s}`;return h.createElement(B9,{key:p,htmlFor:p},h.createElement("input",{type:"radio",id:p,name:p,value:u,onChange:b=>n(t[b.currentTarget.value]),checked:u===o}),h.createElement(w9,null,u))}))},T9={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},_y=q.select(T9,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),Oy=q.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),dy="Choose option...",_9=({name:e,value:t,options:r,onChange:n})=>{let a=u=>{n(r[u.currentTarget.value])},o=By(t,r)||dy,i=_e(e);return h.createElement(Oy,null,h.createElement(we,{icon:"arrowdown"}),h.createElement(_y,{id:i,value:o,onChange:a},h.createElement("option",{key:"no-selection",disabled:!0},dy),Object.keys(r).map(u=>h.createElement("option",{key:u,value:u},u))))},O9=({name:e,value:t,options:r,onChange:n})=>{let a=u=>{let s=Array.from(u.currentTarget.options).filter(p=>p.selected).map(p=>p.value);n(Ty(s,r))},o=$i(t,r),i=_e(e);return h.createElement(Oy,null,h.createElement(_y,{id:i,multiple:!0,value:o,onChange:a},Object.keys(r).map(u=>h.createElement("option",{key:u,value:u},u))))},py=e=>{let{name:t,options:r}=e;return r?e.isMulti?h.createElement(O9,{...e}):h.createElement(_9,{...e}):(ze.warn(`Select with no options: ${t}`),h.createElement(h.Fragment,null,"-"))},R9=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[t?.[n]||String(n)]=n,r),{}):e,P9={check:ly,"inline-check":ly,radio:cy,"inline-radio":cy,select:py,"multi-select":py},or=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,options:n?R9(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=P9[t];if(o)return h.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},Gi="value",I9="key",k9="Error",N9="Object",L9="Array",q9="String",j9="Number",M9="Boolean",$9="Date",U9="Null",z9="Undefined",H9="Function",G9="Symbol",Ry="ADD_DELTA_TYPE",Py="REMOVE_DELTA_TYPE",Iy="UPDATE_DELTA_TYPE";function dt(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function ky(e,t){let r=dt(e),n=dt(t);return(r==="Function"||n==="Function")&&n!==r}var Wi=class extends Qe{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,u={};if(!t){if(!o.value)return;u.key=o.value}u.newValue=r(!1,n,a,u.key,i.value),e(u)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,u=fe(r,{onClick:this.onSubmit}),s=fe(n,{onClick:e}),p=a(Gi,o,i),b=fe(p,{placeholder:"Value",ref:this.refInputValue}),E=null;if(!t){let g=a(I9,o,i);E=fe(g,{placeholder:"Key",ref:this.refInputKey})}return h.createElement("span",{className:"rejt-add-value-node"},E,b,s,u)}};Wi.defaultProps={onlyValue:!1,addButtonElement:h.createElement("button",null,"+"),cancelButtonElement:h.createElement("button",null,"c")};var Ny=class extends Qe{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let u={keyPath:a,deep:o,key:e,oldValue:i,type:Py};n.splice(e,1),this.setState({data:n});let{onUpdate:s,onDeltaUpdate:p}=this.props;s(a[a.length-1],n),p(u)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:s}=this.props;u(r[r.length-1],i),s({type:Ry,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:u}=this.state,s=o[e];a(e,i,u,s,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:p,onDeltaUpdate:b}=this.props;p(i[i.length-1],o),b({type:Iy,keyPath:i,deep:u,key:e,newValue:t,oldValue:s}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:u,minusMenuElement:s}=this.props,{minus:p,collapsed:b}=i(e,t,r,n,u),E=o(e,t,r,n,u),g=fe(s,{onClick:a,className:"rejt-minus-menu",style:p});return h.createElement("span",{className:"rejt-collapsed"},h.createElement("span",{className:"rejt-collapsed-text",style:b,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!E&&g)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:u,onDeltaUpdate:s,readOnly:p,getStyle:b,dataType:E,addButtonElement:g,cancelButtonElement:m,editButtonElement:A,inputElementGenerator:y,textareaElementGenerator:S,minusMenuElement:F,plusMenuElement:R,beforeRemoveAction:L,beforeAddAction:M,beforeUpdateAction:w,logger:N,onSubmitValueParser:I}=this.props,{minus:U,plus:V,delimiter:z,ul:ie,addForm:Z}=b(e,t,r,n,E),J=p(e,t,r,n,E),O=fe(R,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:V}),T=fe(F,{onClick:u,className:"rejt-minus-menu",style:U}),j=!0,G="[",Y="]";return h.createElement("span",{className:"rejt-not-collapsed"},h.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},G),!a&&O,h.createElement("ul",{className:"rejt-not-collapsed-list",style:ie},t.map((K,Q)=>h.createElement(ha,{key:Q,name:Q.toString(),data:K,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(Q),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:p,getStyle:b,addButtonElement:g,cancelButtonElement:m,editButtonElement:A,inputElementGenerator:y,textareaElementGenerator:S,minusMenuElement:F,plusMenuElement:R,beforeRemoveAction:L,beforeAddAction:M,beforeUpdateAction:w,logger:N,onSubmitValueParser:I}))),!J&&a&&h.createElement("div",{className:"rejt-add-form",style:Z},h.createElement(Wi,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:j,addButtonElement:g,cancelButtonElement:m,inputElementGenerator:y,keyPath:r,deep:n,onSubmitValueParser:I})),h.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},Y),!J&&T)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),s=i(e,r,n,a,o);return h.createElement("div",{className:"rejt-array-node"},h.createElement("span",{onClick:this.handleCollapseMode},h.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),u)}};Ny.defaultProps={keyPath:[],deep:0,minusMenuElement:h.createElement("span",null," - "),plusMenuElement:h.createElement("span",null," + ")};var Ly=class extends Qe{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:u}=this.props,s=i(r,n,a,o,u);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:u}=this.state;if(!o)return;let s=n(!0,a,u,i,o.value);e({value:s,key:i}).then(()=>{ky(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:u,dataType:s,getStyle:p,editButtonElement:b,cancelButtonElement:E,textareaElementGenerator:g,minusMenuElement:m,keyPath:A}=this.props,y=p(e,i,n,a,s),S=null,F=null,R=u(e,i,n,a,s);if(r&&!R){let L=g(Gi,A,a,e,i,s),M=fe(b,{onClick:this.handleEdit}),w=fe(E,{onClick:this.handleCancelEdit}),N=fe(L,{ref:this.refInput,defaultValue:i});S=h.createElement("span",{className:"rejt-edit-form",style:y.editForm},N," ",w,M),F=null}else{S=h.createElement("span",{className:"rejt-value",style:y.value,onClick:R?null:this.handleEditMode},t);let L=fe(m,{onClick:o,className:"rejt-minus-menu",style:y.minus});F=R?null:L}return h.createElement("li",{className:"rejt-function-value-node",style:y.li},h.createElement("span",{className:"rejt-name",style:y.name},e," :"," "),S,F)}};Ly.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:h.createElement("button",null,"e"),cancelButtonElement:h.createElement("button",null,"c"),minusMenuElement:h.createElement("span",null," - ")};var ha=class extends Qe{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:u,onDeltaUpdate:s,readOnly:p,getStyle:b,addButtonElement:E,cancelButtonElement:g,editButtonElement:m,inputElementGenerator:A,textareaElementGenerator:y,minusMenuElement:S,plusMenuElement:F,beforeRemoveAction:R,beforeAddAction:L,beforeUpdateAction:M,logger:w,onSubmitValueParser:N}=this.props,I=()=>!0,U=dt(e);switch(U){case k9:return h.createElement(Ui,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:s,readOnly:I,dataType:U,getStyle:b,addButtonElement:E,cancelButtonElement:g,editButtonElement:m,inputElementGenerator:A,textareaElementGenerator:y,minusMenuElement:S,plusMenuElement:F,beforeRemoveAction:R,beforeAddAction:L,beforeUpdateAction:M,logger:w,onSubmitValueParser:N});case N9:return h.createElement(Ui,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:s,readOnly:p,dataType:U,getStyle:b,addButtonElement:E,cancelButtonElement:g,editButtonElement:m,inputElementGenerator:A,textareaElementGenerator:y,minusMenuElement:S,plusMenuElement:F,beforeRemoveAction:R,beforeAddAction:L,beforeUpdateAction:M,logger:w,onSubmitValueParser:N});case L9:return h.createElement(Ny,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:s,readOnly:p,dataType:U,getStyle:b,addButtonElement:E,cancelButtonElement:g,editButtonElement:m,inputElementGenerator:A,textareaElementGenerator:y,minusMenuElement:S,plusMenuElement:F,beforeRemoveAction:R,beforeAddAction:L,beforeUpdateAction:M,logger:w,onSubmitValueParser:N});case q9:return h.createElement(ct,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:b,cancelButtonElement:g,editButtonElement:m,inputElementGenerator:A,minusMenuElement:S,logger:w,onSubmitValueParser:N});case j9:return h.createElement(ct,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:b,cancelButtonElement:g,editButtonElement:m,inputElementGenerator:A,minusMenuElement:S,logger:w,onSubmitValueParser:N});case M9:return h.createElement(ct,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:b,cancelButtonElement:g,editButtonElement:m,inputElementGenerator:A,minusMenuElement:S,logger:w,onSubmitValueParser:N});case $9:return h.createElement(ct,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:I,dataType:U,getStyle:b,cancelButtonElement:g,editButtonElement:m,inputElementGenerator:A,minusMenuElement:S,logger:w,onSubmitValueParser:N});case U9:return h.createElement(ct,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:b,cancelButtonElement:g,editButtonElement:m,inputElementGenerator:A,minusMenuElement:S,logger:w,onSubmitValueParser:N});case z9:return h.createElement(ct,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:b,cancelButtonElement:g,editButtonElement:m,inputElementGenerator:A,minusMenuElement:S,logger:w,onSubmitValueParser:N});case H9:return h.createElement(Ly,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:b,cancelButtonElement:g,editButtonElement:m,textareaElementGenerator:y,minusMenuElement:S,logger:w,onSubmitValueParser:N});case G9:return h.createElement(ct,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:I,dataType:U,getStyle:b,cancelButtonElement:g,editButtonElement:m,inputElementGenerator:A,minusMenuElement:S,logger:w,onSubmitValueParser:N});default:return null}}};ha.defaultProps={keyPath:[],deep:0};var Ui=class extends Qe{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:s}=this.props;u(n[n.length-1],r),s({type:Ry,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let u={keyPath:a,deep:o,key:e,oldValue:i,type:Py};delete n[e],this.setState({data:n});let{onUpdate:s,onDeltaUpdate:p}=this.props;s(a[a.length-1],n),p(u)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:u}=this.state,s=o[e];a(e,i,u,s,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:p,onDeltaUpdate:b}=this.props;p(i[i.length-1],o),b({type:Iy,keyPath:i,deep:u,key:e,newValue:t,oldValue:s}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:u,minusMenuElement:s}=this.props,{minus:p,collapsed:b}=u(e,n,t,r,i),E=Object.getOwnPropertyNames(n),g=o(e,n,t,r,i),m=fe(s,{onClick:a,className:"rejt-minus-menu",style:p});return h.createElement("span",{className:"rejt-collapsed"},h.createElement("span",{className:"rejt-collapsed-text",style:b,onClick:this.handleCollapseMode},"{...}"," ",E.length," ",E.length===1?"key":"keys"),!g&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:u,onDeltaUpdate:s,readOnly:p,getStyle:b,dataType:E,addButtonElement:g,cancelButtonElement:m,editButtonElement:A,inputElementGenerator:y,textareaElementGenerator:S,minusMenuElement:F,plusMenuElement:R,beforeRemoveAction:L,beforeAddAction:M,beforeUpdateAction:w,logger:N,onSubmitValueParser:I}=this.props,{minus:U,plus:V,addForm:z,ul:ie,delimiter:Z}=b(e,t,r,n,E),J=Object.getOwnPropertyNames(t),O=p(e,t,r,n,E),T=fe(R,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:V}),j=fe(F,{onClick:u,className:"rejt-minus-menu",style:U}),G=J.map(Q=>h.createElement(ha,{key:Q,name:Q,data:t[Q],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(Q),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:p,getStyle:b,addButtonElement:g,cancelButtonElement:m,editButtonElement:A,inputElementGenerator:y,textareaElementGenerator:S,minusMenuElement:F,plusMenuElement:R,beforeRemoveAction:L,beforeAddAction:M,beforeUpdateAction:w,logger:N,onSubmitValueParser:I})),Y="{",K="}";return h.createElement("span",{className:"rejt-not-collapsed"},h.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Z},Y),!O&&T,h.createElement("ul",{className:"rejt-not-collapsed-list",style:ie},G),!O&&o&&h.createElement("div",{className:"rejt-add-form",style:z},h.createElement(Wi,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:g,cancelButtonElement:m,inputElementGenerator:y,keyPath:r,deep:n,onSubmitValueParser:I})),h.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Z},K),!O&&j)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),s=o(e,r,n,a,i);return h.createElement("div",{className:"rejt-object-node"},h.createElement("span",{onClick:this.handleCollapseMode},h.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),u)}};Ui.defaultProps={keyPath:[],deep:0,minusMenuElement:h.createElement("span",null," - "),plusMenuElement:h.createElement("span",null," + ")};var ct=class extends Qe{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:u}=this.props,s=i(r,n,a,o,u);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:u}=this.state;if(!o)return;let s=n(!0,a,u,i,o.value);e({value:s,key:i}).then(()=>{ky(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:u,dataType:s,getStyle:p,editButtonElement:b,cancelButtonElement:E,inputElementGenerator:g,minusMenuElement:m,keyPath:A}=this.props,y=p(e,i,n,a,s),S=u(e,i,n,a,s),F=r&&!S,R=g(Gi,A,a,e,i,s),L=fe(b,{onClick:this.handleEdit}),M=fe(E,{onClick:this.handleCancelEdit}),w=fe(R,{ref:this.refInput,defaultValue:JSON.stringify(i)}),N=fe(m,{onClick:o,className:"rejt-minus-menu",style:y.minus});return h.createElement("li",{className:"rejt-value-node",style:y.li},h.createElement("span",{className:"rejt-name",style:y.name},e," : "),F?h.createElement("span",{className:"rejt-edit-form",style:y.editForm},w," ",M,L):h.createElement("span",{className:"rejt-value",style:y.value,onClick:S?null:this.handleEditMode},String(t)),!S&&!F&&N)}};ct.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:h.createElement("button",null,"e"),cancelButtonElement:h.createElement("button",null,"c"),minusMenuElement:h.createElement("span",null," - ")};var W9={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},V9={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},K9={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function Y9(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var qy=class extends Qe{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:u,editButtonElement:s,inputElement:p,textareaElement:b,minusMenuElement:E,plusMenuElement:g,beforeRemoveAction:m,beforeAddAction:A,beforeUpdateAction:y,logger:S,onSubmitValueParser:F,fallback:R=null}=this.props,L=dt(e),M=a;dt(a)==="Boolean"&&(M=()=>a);let w=p;p&&dt(p)!=="Function"&&(w=()=>p);let N=b;return b&&dt(b)!=="Function"&&(N=()=>b),L==="Object"||L==="Array"?h.createElement("div",{className:"rejt-tree"},h.createElement(ha,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:M,getStyle:o,addButtonElement:i,cancelButtonElement:u,editButtonElement:s,inputElementGenerator:w,textareaElementGenerator:N,minusMenuElement:E,plusMenuElement:g,handleRemove:this.removeRoot,beforeRemoveAction:m,beforeAddAction:A,beforeUpdateAction:y,logger:S,onSubmitValueParser:F})):R}};qy.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return W9;case"Array":return V9;default:return K9}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>Y9(a),inputElement:()=>h.createElement("input",null),textareaElement:()=>h.createElement("textarea",null),fallback:null};var{window:J9}=oe,X9=q.div(({theme:e})=>({position:"relative",display:"flex",".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),qi=q.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),fy=q(we)(({theme:e,icon:t,disabled:r})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:r?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":r?{}:{color:t==="subtract"?e.color.negative:e.color.ancillary},"svg + &":{marginLeft:0}})),hy=q.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),Q9=q(pt)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),Z9=q(Te.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),eP={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},tP=e=>{e.currentTarget.dispatchEvent(new J9.KeyboardEvent("keydown",eP))},rP=e=>{e.currentTarget.select()},nP=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),my=({name:e,value:t,onChange:r})=>{let n=gu(),a=Ze(()=>t&&(0,Cy.default)(t),[t]),o=a!=null,[i,u]=te(!o),[s,p]=te(null),b=me(S=>{try{S&&r(JSON.parse(S)),p(void 0)}catch(F){p(F)}},[r]),[E,g]=te(!1),m=me(()=>{r({}),g(!0)},[g]),A=Fe(null);if(he(()=>{E&&A.current&&A.current.select()},[E]),!o)return h.createElement(Te.Button,{id:lr(e),onClick:m},"Set object");let y=h.createElement(Z9,{ref:A,id:_e(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:S=>b(S.target.value),placeholder:"Edit JSON string...",autoFocus:E,valid:s?"error":null});return h.createElement(X9,null,["Object","Array"].includes(dt(a))&&h.createElement(Q9,{href:"#",onClick:S=>{S.preventDefault(),u(F=>!F)}},h.createElement(we,{icon:i?"eyeclose":"eye"}),h.createElement("span",null,"RAW")),i?y:h.createElement(qy,{data:a,rootName:e,onFullyUpdate:r,getStyle:nP(n),cancelButtonElement:h.createElement(qi,{type:"button"},"Cancel"),editButtonElement:h.createElement(qi,{type:"submit"},"Save"),addButtonElement:h.createElement(qi,{type:"submit",primary:!0},"Save"),plusMenuElement:h.createElement(fy,{icon:"add"}),minusMenuElement:h.createElement(fy,{icon:"subtract"}),inputElement:(S,F,R,L)=>L?h.createElement(hy,{onFocus:rP,onBlur:tP}):h.createElement(hy,null),fallback:y}))},aP=q.input(({theme:e,min:t,max:r,value:n})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Me(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Me(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${nt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${nt(.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 ${je(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${je(e.appBorderColor,.2)}`,cursor:"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Me(.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:je(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}%, + ${Me(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Me(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${nt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${nt(.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 ${je(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${je(e.appBorderColor,.2)}`,cursor:"grab",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Me(.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}%, + ${Me(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Me(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${nt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${nt(.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 ${je(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),jy=q.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),oP=q(jy)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),iP=q.div({display:"flex",alignItems:"center",width:"100%"});function uP(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 sP=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:u})=>{let s=E=>{r(v9(E.target.value))},p=t!==void 0,b=Ze(()=>uP(o),[o]);return h.createElement(iP,null,h.createElement(jy,null,n),h.createElement(aP,{id:_e(e),type:"range",onChange:s,name:e,value:t,min:n,max:a,step:o,onFocus:u,onBlur:i}),h.createElement(oP,{numberOFDecimalsPlaces:b,max:a},p?t.toFixed(b):"--"," / ",a))},lP=q.label({display:"flex"}),cP=q.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),dP=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o})=>{let i=E=>{r(E.target.value)},[u,s]=te(!1),p=me(()=>{r(""),s(!0)},[s]);if(t===void 0)return h.createElement(Te.Button,{id:lr(e),onClick:p},"Set string");let b=typeof t=="string";return h.createElement(lP,null,h.createElement(Te.Textarea,{id:_e(e),maxLength:o,onChange:i,size:"flex",placeholder:"Edit string...",autoFocus:u,valid:b?null:"error",name:e,value:b?t:"",onFocus:n,onBlur:a}),o&&h.createElement(cP,{isMaxed:t?.length===o},t?.length??0," / ",o))},pP=q(Te.Input)({padding:10});function fP(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var hP=({onChange:e,name:t,accept:r="image/*",value:n})=>{let a=Fe(null);function o(i){if(!i.target.files)return;let u=Array.from(i.target.files).map(s=>URL.createObjectURL(s));e(u),fP(n)}return he(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),h.createElement(pP,{ref:a,id:_e(t),type:"file",name:t,multiple:!0,onChange:o,accept:r,size:"flex"})},mP=eu(()=>Promise.resolve().then(()=>(oy(),ay))),gP=e=>h.createElement(Zi,{fallback:h.createElement("div",null)},h.createElement(mP,{...e})),yP={array:my,object:my,boolean:f9,color:gP,date:E9,number:D9,check:or,"inline-check":or,radio:or,"inline-radio":or,select:or,"multi-select":or,range:sP,text:dP,file:hP},gy=()=>h.createElement(h.Fragment,null,"-"),bP=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:a,control:o}=e,[i,u]=te(!1),[s,p]=te({value:t});he(()=>{i||p({value:t})},[i,t]);let b=me(y=>(p({value:y}),r({[a]:y}),y),[r,a]),E=me(()=>u(!1),[]),g=me(()=>u(!0),[]);if(!o||o.disable)return n?h.createElement(ft,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):h.createElement(gy,null);let m={name:a,argType:e,value:s.value,onChange:b,onBlur:E,onFocus:g},A=yP[o.type]||gy;return h.createElement(A,{...m,...o,controlType:o.type})},EP=q.span({fontWeight:"bold"}),AP=q.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),vP=q.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...wt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),DP=q.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ce(.1,e.color.defaultText):ce(.2,e.color.defaultText),marginTop:t?4:0})),CP=q.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ce(.1,e.color.defaultText):ce(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),xP=q.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),da=e=>{let[t,r]=te(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:u}=e,{name:s,description:p}=n,b=n.table||{},E=b.type||n.type,g=b.defaultValue||n.defaultValue,m=n.type?.required,A=p!=null&&p!=="";return h.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},h.createElement(xP,{expandable:i},h.createElement(EP,null,s),m?h.createElement(AP,{title:"Required"},"*"):null),o?null:h.createElement("td",null,A&&h.createElement(vP,null,h.createElement(gp,null,p)),b.jsDocTags!=null?h.createElement(h.Fragment,null,h.createElement(CP,{hasDescription:A},h.createElement(Li,{value:E,initialExpandedArgs:u})),h.createElement(t9,{tags:b.jsDocTags})):h.createElement(DP,{hasDescription:A},h.createElement(Li,{value:E,initialExpandedArgs:u}))),o?null:h.createElement("td",null,h.createElement(Li,{value:g,initialExpandedArgs:u})),a?h.createElement("td",null,h.createElement(bP,{...e,isHovered:t})):null)},SP=q(we)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ce(.25,e.color.defaultText):ce(.3,e.color.defaultText),border:"none",display:"inline-block"})),FP=q.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),wP=q.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?ce(.4,e.color.defaultText):ce(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),BP=q.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),TP=q.td(()=>({position:"relative"})),_P=q.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${nt(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),yy=q.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),ji=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=te(n),u=e==="subsection"?BP:wP,s=r?.length||0,p=e==="subsection"?`${s} item${s!==1?"s":""}`:"",b=o?"arrowdown":"arrowright",E=`${o?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return h.createElement(h.Fragment,null,h.createElement(_P,{title:E},h.createElement(u,{colSpan:1},h.createElement(yy,{onClick:g=>i(!o),tabIndex:0},E),h.createElement(FP,null,h.createElement(SP,{icon:b}),t)),h.createElement(TP,{colSpan:a-1},h.createElement(yy,{onClick:g=>i(!o),tabIndex:-1,style:{outline:"none"}},E),o?null:p)),o?r:null)},pa=q.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),xe=q.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ye=q.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Se=[2,4,2,2],OP=()=>h.createElement(h.Fragment,null,h.createElement(pa,null,h.createElement(xe,{numColumn:Se[0]},h.createElement(ye,{width:"60%"})),h.createElement(xe,{numColumn:Se[1]},h.createElement(ye,{width:"30%"})),h.createElement(xe,{numColumn:Se[2]},h.createElement(ye,{width:"60%"})),h.createElement(xe,{numColumn:Se[3]},h.createElement(ye,{width:"60%"}))),h.createElement(pa,null,h.createElement(xe,{numColumn:Se[0]},h.createElement(ye,{width:"60%"})),h.createElement(xe,{numColumn:Se[1]},h.createElement(ye,{width:"80%"}),h.createElement(ye,{width:"30%"})),h.createElement(xe,{numColumn:Se[2]},h.createElement(ye,{width:"60%"})),h.createElement(xe,{numColumn:Se[3]},h.createElement(ye,{width:"60%"}))),h.createElement(pa,null,h.createElement(xe,{numColumn:Se[0]},h.createElement(ye,{width:"60%"})),h.createElement(xe,{numColumn:Se[1]},h.createElement(ye,{width:"80%"}),h.createElement(ye,{width:"30%"})),h.createElement(xe,{numColumn:Se[2]},h.createElement(ye,{width:"60%"})),h.createElement(xe,{numColumn:Se[3]},h.createElement(ye,{width:"60%"}))),h.createElement(pa,null,h.createElement(xe,{numColumn:Se[0]},h.createElement(ye,{width:"60%"})),h.createElement(xe,{numColumn:Se[1]},h.createElement(ye,{width:"80%"}),h.createElement(ye,{width:"30%"})),h.createElement(xe,{numColumn:Se[2]},h.createElement(ye,{width:"60%"})),h.createElement(xe,{numColumn:Se[3]},h.createElement(ye,{width:"60%"})))),RP=q.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),PP=q.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),IP=q.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),kP=q.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),NP=q.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),LP=q.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),qP=({inAddonPanel:e})=>{let[t,r]=te(!0);return he(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:h.createElement(RP,{inAddonPanel:e},h.createElement(PP,null,h.createElement(IP,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),h.createElement(kP,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.")),h.createElement(NP,null,e&&h.createElement(h.Fragment,null,h.createElement(ft,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},h.createElement(we,{icon:"video"})," Watch 5m video"),h.createElement(LP,null),h.createElement(ft,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Read docs")),!e&&h.createElement(ft,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Learn how to set that up")))},jP=q.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?ce(.25,e.color.defaultText):ce(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),MP=q(pt)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),$P=q.span({display:"flex",justifyContent:"space-between"}),UP={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>+!!t.type?.required-+!!e.type?.required||e.name.localeCompare(t.name),none:void 0},zP=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:u,subcategory:s}=i?.table||{};if(u){let p=r.sections[u]||{ungrouped:[],subsections:{}};if(!s)p.ungrouped.push({key:o,...i});else{let b=p.subsections[s]||[];b.push({key:o,...i}),p.subsections[s]=b}r.sections[u]=p}else if(s){let p=r.ungroupedSubsections[s]||[];p.push({key:o,...i}),r.ungroupedSubsections[s]=p}else r.ungrouped.push({key:o,...i})});let n=UP[t],a=o=>n?Object.keys(o).reduce((i,u)=>({...i,[u]:o[u].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},HP=(e,t,r)=>{try{return Fo(e,t,r)}catch(n){return An.warn(n.message),!1}},St=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:u}=e;if("error"in e){let{error:R}=e;return h.createElement(Sy,null,R,"\xA0",h.createElement(ft,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"))}if(u)return h.createElement(OP,null);let{rows:s,args:p,globals:b}="rows"in e&&e,E=zP((0,Ay.default)(s,R=>!R?.table?.disable&&HP(R,p||{},b||{})),i),g=E.ungrouped.length===0,m=Object.entries(E.sections).length===0,A=Object.entries(E.ungroupedSubsections).length===0;if(g&&m&&A)return h.createElement(qP,{inAddonPanel:a});let y=1;t&&(y+=1),n||(y+=2);let S=Object.keys(E.sections).length>0,F={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return h.createElement(Sa,null,h.createElement(jP,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},h.createElement("thead",{className:"docblock-argstable-head"},h.createElement("tr",null,h.createElement("th",null,h.createElement("span",null,"Name")),n?null:h.createElement("th",null,h.createElement("span",null,"Description")),n?null:h.createElement("th",null,h.createElement("span",null,"Default")),t?h.createElement("th",null,h.createElement($P,null,"Control"," ",!u&&r&&h.createElement(MP,{onClick:()=>r(),title:"Reset controls"},h.createElement(we,{icon:"undo","aria-hidden":!0})))):null)),h.createElement("tbody",{className:"docblock-argstable-body"},E.ungrouped.map(R=>h.createElement(da,{key:R.key,row:R,arg:p&&p[R.key],...F})),Object.entries(E.ungroupedSubsections).map(([R,L])=>h.createElement(ji,{key:R,label:R,level:"subsection",colSpan:y},L.map(M=>h.createElement(da,{key:M.key,row:M,arg:p&&p[M.key],expandable:S,...F})))),Object.entries(E.sections).map(([R,L])=>h.createElement(ji,{key:R,label:R,level:"section",colSpan:y},L.ungrouped.map(M=>h.createElement(da,{key:M.key,row:M,arg:p&&p[M.key],...F})),Object.entries(L.subsections).map(([M,w])=>h.createElement(ji,{key:M,label:M,level:"subsection",colSpan:y},w.map(N=>h.createElement(da,{key:N.key,row:N,arg:p&&p[N.key],expandable:S,...F})))))))))},My=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?h.createElement(St,{...r[0][1],...t}):h.createElement(wa,null,r.map(n=>{let[a,o]=n,i=`prop_table_div_${a}`;return h.createElement("div",{key:i,id:i,title:a},({active:u})=>u?h.createElement(St,{key:`prop_table_${a}`,...o,...t}):null)}))},Nne=q.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ce(.4,e.color.defaultText):ce(.6,e.color.defaultText)})),Lne=q.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),qne=q.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),jne=q.div(Bt,({theme:e})=>({...fa(e),margin:"25px 0 40px",padding:"30px 20px"}));var Mne=q.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),$ne=q.div(({theme:e})=>({color:e.base==="light"?ce(.2,e.color.defaultText):ce(.6,e.color.defaultText)})),Une=q.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),zne=q.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?ce(.4,e.color.defaultText):ce(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),Hne=q.div({display:"flex",flexDirection:"row"}),Gne=q.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),Wne=q.div(({theme:e})=>({...fa(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),Vne=q.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),Kne=q.div({flex:1,display:"flex",flexDirection:"row"}),Yne=q.div({display:"flex",alignItems:"flex-start"}),Jne=q.div({flex:"0 0 30%"}),Xne=q.div({flex:1}),Qne=q.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ce(.4,e.color.defaultText):ce(.6,e.color.defaultText)})),Zne=q.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var eae=q.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),tae=q.div(({theme:e})=>({...fa(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),rae=q.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),nae=q.div({display:"flex",flexFlow:"row wrap"});oe&&oe.__DOCS_CONTEXT__===void 0&&(oe.__DOCS_CONTEXT__=ur(null),oe.__DOCS_CONTEXT__.displayName="DocsContext");var Vi=oe?oe.__DOCS_CONTEXT__:ur(null);var Ki="^",GP=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),$y=e=>{if(e)return typeof e=="string"?e.includes("-")?GP(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function WP(e,t){let r=VP([e],t);return r&&r[0]}function VP(e,t){let[r,n]=te({});return he(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var KP=(e,t)=>{let r=t.getStoryContext(t.storyById()),[n,a]=te(r.args);he(()=>{let u=s=>{s.storyId===e&&a(s.args)};return t.channel.on(Bn,u),()=>t.channel.off(Bn,u)},[e]);let o=me(u=>t.channel.emit(Tn,{storyId:e,updatedArgs:u}),[e]),i=me(u=>t.channel.emit(wn,{storyId:e,argNames:u}),[e]);return[n,o,i]},YP=e=>{let t=e.getStoryContext(e.storyById()),[r,n]=te(t.globals);return he(()=>{let a=o=>{n(o.globals)};return e.channel.on(Fn,a),()=>e.channel.off(Fn,a)},[]),[r]},Uy=(e,t,r,n)=>{let{extractArgTypes:a}=t.docs||{};if(!a)throw new Error("Args unsupported. See Args documentation for your framework.");let o=a(e);return o=_r(o,r,n),o},by=e=>e&&[Ki].includes(e),JP=(e={},t)=>{let{of:r}=e,{story:n}=e;if(by(r)||by(n))return t||null;if(!r)throw new Error("No component found.");return r},zi=(e,t,r,n,a,o)=>({...e,...(0,xy.default)(t,i=>({rows:Uy(i,r,n,a),sort:o}))}),XP=e=>{let t=Hr(Vi),{story:r,component:n,subcomponents:a,showComponent:o,include:i,exclude:u,sort:s}=e;try{let p;switch(r){case Ki:{p=t.storyById().id;break}default:p=t.storyIdByName(r)}let b=WP(p,t),[E,g,m]=KP(p,t),[A]=YP(t);if(!b)return h.createElement(St,{isLoading:!0,updateArgs:g,resetArgs:m});let y=_r(b.argTypes,i,u),S=$y(n)||"Story",F={[S]:{rows:y,args:E,globals:A,updateArgs:g,resetArgs:m}},R=y&&Object.values(y).find(L=>!!L?.control);if(R||(g=null,m=null,F={}),n&&(!R||o)&&(F=zi(F,{[S]:n},b.parameters,i,u)),a){if(Array.isArray(a))throw new Error("Unexpected subcomponents array. Expected an object whose keys are tab labels and whose values are components.");F=zi(F,a,b.parameters,i,u)}return h.createElement(My,{tabs:F,sort:s})}catch(p){return h.createElement(St,{error:p.message})}},Ey=e=>{let{components:t,include:r,exclude:n,sort:a,parameters:o}=e,i=zi({},t,o,r,n);return h.createElement(My,{tabs:i,sort:a})},QP=e=>{En(wr`The ArgsTable doc block is deprecated. Instead use the ArgTypes doc block for static tables or the Controls doc block for tables with controls. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#argstable-block + `);let t=Hr(Vi),r,n,a;try{({parameters:r,component:n,subcomponents:a}=t.storyById())}catch{let{of:m}=e;if("of"in e&&m===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");({projectAnnotations:{parameters:r}}=t.resolveOf(m,["component"]))}let{include:o,exclude:i,components:u,sort:s}=e,{story:p}=e,b=s||r.controls?.sort,E=JP(e,n);if(p)return h.createElement(XP,{...e,component:E,subcomponents:a,sort:b});if(!u&&!a){let m;try{m={rows:Uy(E,r,o,i)}}catch(A){m={error:A.message}}return h.createElement(St,{...m,sort:b})}if(u)return h.createElement(Ey,{...e,components:u,sort:b,parameters:r});let g=$y(E);return h.createElement(Ey,{...e,components:{[g]:E,...a},sort:b,parameters:r})};QP.defaultProps={of:Ki};var aae=ur({sources:{}});var ZP=(e=>(e.OPEN="open",e.CLOSED="closed",e.NONE="none",e))(ZP||{});var{document:eI}=oe;function tI(e,t){e.channel.emit(Hf,t)}var oae=Oa.a;var zy=["h1","h2","h3","h4","h5","h6"],rI=zy.reduce((e,t)=>({...e,[t]:q(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),nI=q.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),aI=({as:e,id:t,children:r,...n})=>{let a=Hr(Vi),o=rI[e],i=`#${t}`;return h.createElement(o,{id:t,...n},h.createElement(nI,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:u=>{eI.getElementById(t)&&tI(a,i)}},h.createElement(we,{icon:"link"})),r)},Hy=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return h.createElement(aI,{as:t,id:r,...a},n);let o=t,{as:i,...u}=e;return h.createElement(o,{...Ra(u,t)})},iae=zy.reduce((e,t)=>({...e,[t]:r=>h.createElement(Hy,{as:t,...r})}),{});var oI=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(oI||{});var uae=q.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),sae=q.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"}})),lae=q.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var{document:cae,window:dae}=oe;var iI=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return h.createElement(Ca,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return h.createElement(Hy,{as:"h2",id:n,...r},e)},pae=q(iI)(({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"}}));var Gy="addon-controls",Wy="controls",uI=()=>{let[e,t]=te(!0),[r,n,a]=nu(),[o]=au(),i=ba(),{expanded:u,sort:s,presetColors:p}=ou(Wy,{}),{path:b,previewInitialized:E}=iu();he(()=>{E&&t(!1)},[E]);let g=Object.values(i).some(A=>A?.control),m=Object.entries(i).reduce((A,[y,S])=>(S?.control?.type!=="color"||S?.control?.presetColors?A[y]=S:A[y]={...S,control:{...S.control,presetColors:p}},A),{});return h.createElement(St,{key:b,compact:!u&&g,rows:m,args:r,globals:o,updateArgs:n,resetArgs:a,inAddonPanel:!0,sort:s,isLoading:e})};function sI(){let e=ba(),t=Object.values(e).filter(r=>r?.control&&!r?.table?.disable).length;return h.createElement("div",null,h.createElement(Fa,{col:1},h.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Controls"),t===0?"":h.createElement(va,{status:"neutral"},t)))}ya.register(Gy,e=>{ya.add(Gy,{title:sI,type:ru.PANEL,paramKey:Wy,render:({active:t})=>!t||!e.getCurrentStoryData()?null:h.createElement(Aa,{active:t},h.createElement(uI,null))})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/pr/pr-177/sb-addons/essentials-controls-0/manager-bundle.js.LEGAL.txt b/pr/pr-177/sb-addons/essentials-controls-0/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..cfea3e72 --- /dev/null +++ b/pr/pr-177/sb-addons/essentials-controls-0/manager-bundle.js.LEGAL.txt @@ -0,0 +1,18 @@ +Bundled license information: + +telejson/dist/index.mjs: + /*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ + /** + * @license + * Lodash (Custom Build) + * Build: `lodash modularize exports="es" -o ./` + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ diff --git a/pr/pr-177/sb-addons/essentials-measure-5/manager-bundle.js b/pr/pr-177/sb-addons/essentials-measure-5/manager-bundle.js new file mode 100644 index 00000000..2fe961db --- /dev/null +++ b/pr/pr-177/sb-addons/essentials-measure-5/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var r=__REACT__,{Children:A,Component:I,Fragment:R,Profiler:L,PureComponent:M,StrictMode:B,Suspense:P,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:x,cloneElement:v,createContext:H,createElement:N,createFactory:D,createRef:F,forwardRef:W,isValidElement:K,lazy:Y,memo:G,useCallback:m,useContext:w,useDebugValue:U,useEffect:p,useImperativeHandle:V,useLayoutEffect:q,useMemo:z,useReducer:Z,useRef:$,useState:j,version:J}=__REACT__;var oe=__STORYBOOK_API__,{ActiveTabs:re,Consumer:ae,ManagerContext:ne,Provider:se,addons:l,combineParameters:le,controlOrMetaKey:ue,controlOrMetaSymbol:ce,eventMatchesShortcut:ie,eventToShortcut:me,isMacLike:pe,isShortcutTaken:Se,keyToSymbol:_e,merge:de,mockChannel:Te,optionOrAltSymbol:be,shortcutMatchesShortcut:Oe,shortcutToHumanString:ye,types:S,useAddonState:Ce,useArgTypes:Ee,useArgs:he,useChannel:fe,useGlobalTypes:ge,useGlobals:_,useParameter:ke,useSharedState:Ae,useStoryPrepared:Ie,useStorybookApi:d,useStorybookState:Re}=__STORYBOOK_API__;var xe=__STORYBOOK_COMPONENTS__,{A:ve,ActionBar:He,AddonPanel:Ne,Badge:De,Bar:Fe,Blockquote:We,Button:Ke,ClipboardCode:Ye,Code:Ge,DL:we,Div:Ue,DocumentWrapper:Ve,ErrorFormatter:qe,FlexBar:ze,Form:Ze,H1:$e,H2:je,H3:Je,H4:Qe,H5:Xe,H6:et,HR:tt,IconButton:T,IconButtonSkeleton:ot,Icons:b,Img:rt,LI:at,Link:nt,ListItem:st,Loader:lt,OL:ut,P:ct,Placeholder:it,Pre:mt,ResetWrapper:pt,ScrollArea:St,Separator:_t,Spaced:dt,Span:Tt,StorybookIcon:bt,StorybookLogo:Ot,Symbols:yt,SyntaxHighlighter:Ct,TT:Et,TabBar:ht,TabButton:ft,TabWrapper:gt,Table:kt,Tabs:At,TabsState:It,TooltipLinkList:Rt,TooltipMessage:Lt,TooltipNote:Mt,UL:Bt,WithTooltip:Pt,WithTooltipPure:xt,Zoom:vt,codeCommon:Ht,components:Nt,createCopyToClipboardFunction:Dt,getStoryHref:Ft,icons:Wt,interleaveSeparators:Kt,nameSpaceClassNames:Yt,resetComponents:Gt,withReset:wt}=__STORYBOOK_COMPONENTS__;var u="storybook/measure-addon",O=`${u}/tool`,y=()=>{let[a,c]=_(),{measureEnabled:n}=a,i=d(),s=m(()=>c({measureEnabled:!n}),[c,n]);return p(()=>{i.setAddonShortcut(u,{label:"Toggle Measure [M]",defaultShortcut:["M"],actionName:"measure",showInMenu:!1,action:s})},[s,i]),r.createElement(T,{key:O,active:n,title:"Enable measure",onClick:s},r.createElement(b,{icon:"ruler"}))};l.register(u,()=>{l.add(O,{type:S.TOOL,title:"Measure",match:({viewMode:a})=>a==="story",render:()=>r.createElement(y,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/pr/pr-177/sb-addons/essentials-measure-5/manager-bundle.js.LEGAL.txt b/pr/pr-177/sb-addons/essentials-measure-5/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/pr/pr-177/sb-addons/essentials-outline-6/manager-bundle.js b/pr/pr-177/sb-addons/essentials-outline-6/manager-bundle.js new file mode 100644 index 00000000..4b2a15f0 --- /dev/null +++ b/pr/pr-177/sb-addons/essentials-outline-6/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var a=__REACT__,{Children:k,Component:I,Fragment:B,Profiler:L,PureComponent:P,StrictMode:v,Suspense:x,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:M,cloneElement:H,createContext:N,createElement:D,createFactory:F,createRef:K,forwardRef:W,isValidElement:Y,lazy:G,memo:i,useCallback:p,useContext:w,useDebugValue:U,useEffect:m,useImperativeHandle:V,useLayoutEffect:q,useMemo:z,useReducer:Z,useRef:$,useState:j,version:J}=__REACT__;var oe=__STORYBOOK_API__,{ActiveTabs:re,Consumer:ae,ManagerContext:ne,Provider:le,addons:s,combineParameters:se,controlOrMetaKey:ue,controlOrMetaSymbol:ce,eventMatchesShortcut:ie,eventToShortcut:pe,isMacLike:me,isShortcutTaken:Se,keyToSymbol:_e,merge:de,mockChannel:Te,optionOrAltSymbol:Oe,shortcutMatchesShortcut:be,shortcutToHumanString:ye,types:S,useAddonState:Ce,useArgTypes:he,useArgs:Ae,useChannel:fe,useGlobalTypes:Ee,useGlobals:_,useParameter:ge,useSharedState:Re,useStoryPrepared:ke,useStorybookApi:d,useStorybookState:Ie}=__STORYBOOK_API__;var xe=__STORYBOOK_COMPONENTS__,{A:Me,ActionBar:He,AddonPanel:Ne,Badge:De,Bar:Fe,Blockquote:Ke,Button:We,ClipboardCode:Ye,Code:Ge,DL:we,Div:Ue,DocumentWrapper:Ve,ErrorFormatter:qe,FlexBar:ze,Form:Ze,H1:$e,H2:je,H3:Je,H4:Qe,H5:Xe,H6:et,HR:tt,IconButton:T,IconButtonSkeleton:ot,Icons:O,Img:rt,LI:at,Link:nt,ListItem:lt,Loader:st,OL:ut,P:ct,Placeholder:it,Pre:pt,ResetWrapper:mt,ScrollArea:St,Separator:_t,Spaced:dt,Span:Tt,StorybookIcon:Ot,StorybookLogo:bt,Symbols:yt,SyntaxHighlighter:Ct,TT:ht,TabBar:At,TabButton:ft,TabWrapper:Et,Table:gt,Tabs:Rt,TabsState:kt,TooltipLinkList:It,TooltipMessage:Bt,TooltipNote:Lt,UL:Pt,WithTooltip:vt,WithTooltipPure:xt,Zoom:Mt,codeCommon:Ht,components:Nt,createCopyToClipboardFunction:Dt,getStoryHref:Ft,icons:Kt,interleaveSeparators:Wt,nameSpaceClassNames:Yt,resetComponents:Gt,withReset:wt}=__STORYBOOK_COMPONENTS__;var u="storybook/outline",b="outline",C=i(function(){let[r,y]=_(),c=d(),n=[!0,"true"].includes(r[b]),l=p(()=>y({[b]:!n}),[n]);return m(()=>{c.setAddonShortcut(u,{label:"Toggle Outline [O]",defaultShortcut:["O"],actionName:"outline",showInMenu:!1,action:l})},[l,c]),a.createElement(T,{key:"outline",active:n,title:"Apply outlines to the preview",onClick:l},a.createElement(O,{icon:"outline"}))});s.register(u,()=>{s.add(u,{title:"Outline",type:S.TOOL,match:({viewMode:r})=>!!(r&&r.match(/^(story|docs)$/)),render:()=>a.createElement(C,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/pr/pr-177/sb-addons/essentials-outline-6/manager-bundle.js.LEGAL.txt b/pr/pr-177/sb-addons/essentials-outline-6/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/pr/pr-177/sb-addons/essentials-toolbars-4/manager-bundle.js b/pr/pr-177/sb-addons/essentials-toolbars-4/manager-bundle.js new file mode 100644 index 00000000..301fbcb6 --- /dev/null +++ b/pr/pr-177/sb-addons/essentials-toolbars-4/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var l=__REACT__,{Children:le,Component:ne,Fragment:ie,Profiler:se,PureComponent:ce,StrictMode:ue,Suspense:me,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:pe,cloneElement:de,createContext:be,createElement:Se,createFactory:Te,createRef:ye,forwardRef:_e,isValidElement:fe,lazy:Ce,memo:ve,useCallback:v,useContext:Ie,useDebugValue:Oe,useEffect:E,useImperativeHandle:xe,useLayoutEffect:Ee,useMemo:ge,useReducer:he,useRef:L,useState:R,version:ke}=__REACT__;var Pe=__STORYBOOK_API__,{ActiveTabs:Me,Consumer:Ne,ManagerContext:we,Provider:He,addons:g,combineParameters:Ve,controlOrMetaKey:De,controlOrMetaSymbol:Fe,eventMatchesShortcut:Ge,eventToShortcut:We,isMacLike:Ke,isShortcutTaken:Ye,keyToSymbol:$e,merge:ze,mockChannel:Ue,optionOrAltSymbol:je,shortcutMatchesShortcut:qe,shortcutToHumanString:Ze,types:B,useAddonState:Je,useArgTypes:Qe,useArgs:Xe,useChannel:et,useGlobalTypes:P,useGlobals:h,useParameter:tt,useSharedState:ot,useStoryPrepared:rt,useStorybookApi:M,useStorybookState:at}=__STORYBOOK_API__;var ct=__STORYBOOK_COMPONENTS__,{A:ut,ActionBar:mt,AddonPanel:pt,Badge:dt,Bar:bt,Blockquote:St,Button:Tt,ClipboardCode:yt,Code:_t,DL:ft,Div:Ct,DocumentWrapper:vt,ErrorFormatter:It,FlexBar:Ot,Form:xt,H1:Et,H2:gt,H3:ht,H4:kt,H5:At,H6:Lt,HR:Rt,IconButton:N,IconButtonSkeleton:Bt,Icons:k,Img:Pt,LI:Mt,Link:Nt,ListItem:wt,Loader:Ht,OL:Vt,P:Dt,Placeholder:Ft,Pre:Gt,ResetWrapper:Wt,ScrollArea:Kt,Separator:w,Spaced:Yt,Span:$t,StorybookIcon:zt,StorybookLogo:Ut,Symbols:jt,SyntaxHighlighter:qt,TT:Zt,TabBar:Jt,TabButton:Qt,TabWrapper:Xt,Table:eo,Tabs:to,TabsState:oo,TooltipLinkList:H,TooltipMessage:ro,TooltipNote:ao,UL:lo,WithTooltip:V,WithTooltipPure:no,Zoom:io,codeCommon:so,components:co,createCopyToClipboardFunction:uo,getStoryHref:mo,icons:po,interleaveSeparators:bo,nameSpaceClassNames:So,resetComponents:To,withReset:yo}=__STORYBOOK_COMPONENTS__;var G=({active:o,title:t,icon:e,description:r,onClick:a})=>l.createElement(N,{active:o,title:r,onClick:a},e&&l.createElement(k,{icon:e}),t?`\xA0${t}`:null),W=["reset"],K=o=>o.filter(t=>!W.includes(t.type)).map(t=>t.value),b="addon-toolbars",Y=async(o,t,e)=>{e&&e.next&&await o.setAddonShortcut(b,{label:e.next.label,defaultShortcut:e.next.keys,actionName:`${t}:next`,action:e.next.action}),e&&e.previous&&await o.setAddonShortcut(b,{label:e.previous.label,defaultShortcut:e.previous.keys,actionName:`${t}:previous`,action:e.previous.action}),e&&e.reset&&await o.setAddonShortcut(b,{label:e.reset.label,defaultShortcut:e.reset.keys,actionName:`${t}:reset`,action:e.reset.action})},$=o=>t=>{let{id:e,toolbar:{items:r,shortcuts:a}}=t,d=M(),[S,i]=h(),n=L([]),s=S[e],I=v(()=>{i({[e]:""})},[i]),O=v(()=>{let p=n.current,c=p.indexOf(s),m=c===p.length-1?0:c+1,T=n.current[m];i({[e]:T})},[n,s,i]),u=v(()=>{let p=n.current,c=p.indexOf(s),m=c>-1?c:0,T=m===0?p.length-1:m-1,y=n.current[T];i({[e]:y})},[n,s,i]);return E(()=>{a&&Y(d,e,{next:{...a.next,action:O},previous:{...a.previous,action:u},reset:{...a.reset,action:I}})},[d,e,a,O,u,I]),E(()=>{n.current=K(r)},[]),l.createElement(o,{cycleValues:n.current,...t})},D=({currentValue:o,items:t})=>o!=null&&t.find(e=>e.value===o&&e.type!=="reset"),z=({currentValue:o,items:t})=>{let e=D({currentValue:o,items:t});if(e)return e.icon},U=({currentValue:o,items:t})=>{let e=D({currentValue:o,items:t});if(e)return e.title},j=({left:o,right:t,title:e,value:r,icon:a,hideIcon:d,onClick:S,currentValue:i})=>{let n=a&&l.createElement(k,{style:{opacity:1},icon:a}),s={id:r??"_reset",active:i===r,right:t,title:e,left:o,onClick:S};return a&&!d&&(s.left=n),s},q=$(({id:o,name:t,description:e,toolbar:{icon:r,items:a,title:d,preventDynamicIcon:S,dynamicTitle:i}})=>{let[n,s]=h(),[I,O]=R(!1),u=n[o],p=!!u,c=r,m=d;S||(c=z({currentValue:u,items:a})||c),i&&(m=U({currentValue:u,items:a})||m),!m&&!c&&console.warn(`Toolbar '${t}' has no title or icon`);let T=v(y=>{s({[o]:y})},[u,s]);return l.createElement(V,{placement:"top",tooltip:({onHide:y})=>{let F=a.filter(({type:x})=>{let A=!0;return x==="reset"&&!u&&(A=!1),A}).map(x=>j({...x,currentValue:u,onClick:()=>{T(x.value),y()}}));return l.createElement(H,{links:F})},closeOnOutsideClick:!0,onVisibleChange:O},l.createElement(G,{active:I||p,description:e||"",icon:c,title:m||""}))}),Z={type:"item",value:""},J=(o,t)=>({...t,name:t.name||o,description:t.description||o,toolbar:{...t.toolbar,items:t.toolbar.items.map(e=>{let r=typeof e=="string"?{value:e,title:e}:e;return r.type==="reset"&&t.toolbar.icon&&(r.icon=t.toolbar.icon,r.hideIcon=!0),{...Z,...r}})}}),Q=()=>{let o=P(),t=Object.keys(o).filter(e=>!!o[e].toolbar);return t.length?l.createElement(l.Fragment,null,l.createElement(w,null),t.map(e=>{let r=J(e,o[e]);return l.createElement(q,{key:e,id:e,...r})})):null};g.register(b,()=>g.add(b,{title:b,type:B.TOOL,match:()=>!0,render:()=>l.createElement(Q,null)}));})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/pr/pr-177/sb-addons/essentials-toolbars-4/manager-bundle.js.LEGAL.txt b/pr/pr-177/sb-addons/essentials-toolbars-4/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/pr/pr-177/sb-addons/essentials-viewport-3/manager-bundle.js b/pr/pr-177/sb-addons/essentials-viewport-3/manager-bundle.js new file mode 100644 index 00000000..a471c961 --- /dev/null +++ b/pr/pr-177/sb-addons/essentials-viewport-3/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var oe=Object.create;var H=Object.defineProperty;var ne=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var se=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty;var R=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,o)=>(typeof require<"u"?require:t)[o]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var P=(e,t)=>()=>(e&&(t=e(e=0)),t);var ue=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ce=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of ae(t))!le.call(e,u)&&u!==o&&H(e,u,{get:()=>t[u],enumerable:!(n=ne(t,u))||n.enumerable});return e};var de=(e,t,o)=>(o=e!=null?oe(se(e)):{},ce(t||!e||!e.__esModule?H(o,"default",{value:e,enumerable:!0}):o,e));var h=P(()=>{});var g=P(()=>{});var y=P(()=>{});var J=ue((Z,B)=>{h();g();y();(function(e){if(typeof Z=="object"&&typeof B<"u")B.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,o;return function n(u,f,c){function i(a,b){if(!f[a]){if(!u[a]){var d=typeof R=="function"&&R;if(!b&&d)return d(a,!0);if(r)return r(a,!0);var S=new Error("Cannot find module '"+a+"'");throw S.code="MODULE_NOT_FOUND",S}var l=f[a]={exports:{}};u[a][0].call(l.exports,function(s){var p=u[a][1][s];return i(p||s)},l,l.exports,n,u,f,c)}return f[a].exports}for(var r=typeof R=="function"&&R,m=0;m=0)return this.lastItem=this.list[r],this.list[r].val},c.prototype.set=function(i,r){var m;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=r,this):(m=this.indexOf(i),m>=0?(this.lastItem=this.list[m],this.list[m].val=r,this):(this.lastItem={key:i,val:r},this.list.push(this.lastItem),this.size++,this))},c.prototype.delete=function(i){var r;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),r=this.indexOf(i),r>=0)return this.size--,this.list.splice(r,1)[0]},c.prototype.has=function(i){var r;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(r=this.indexOf(i),r>=0?(this.lastItem=this.list[r],!0):!1)},c.prototype.forEach=function(i,r){var m;for(m=0;m0&&(L[x]={cacheItem:s,arg:arguments[x]},E?i(d,L):d.push(L),d.length>a&&r(d.shift())),l.wasMemoized=E,l.numArgs=x+1,A};return l.limit=a,l.wasMemoized=!1,l.cache=b,l.lru=d,l}};function i(a,b){var d=a.length,S=b.length,l,s,p;for(s=0;s=0&&(d=a[l],S=d.cacheItem.get(d.arg),!S||!S.size);l--)d.cacheItem.delete(d.arg)}function m(a,b){return a===b||a!==a&&b!==b}},{"map-or-similar":1}]},{},[3])(3)})});h();g();y();h();g();y();h();g();y();h();g();y();var w=__REACT__,{Children:Ve,Component:Be,Fragment:D,Profiler:Ne,PureComponent:ze,StrictMode:qe,Suspense:He,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:De,cloneElement:We,createContext:Fe,createElement:W,createFactory:Ye,createRef:je,forwardRef:Ge,isValidElement:Ue,lazy:$e,memo:F,useCallback:Ke,useContext:Ze,useDebugValue:Je,useEffect:M,useImperativeHandle:Qe,useLayoutEffect:Xe,useMemo:et,useReducer:tt,useRef:Y,useState:j,version:rt}=__REACT__;h();g();y();var at=__STORYBOOK_API__,{ActiveTabs:st,Consumer:lt,ManagerContext:ut,Provider:ct,addons:V,combineParameters:dt,controlOrMetaKey:pt,controlOrMetaSymbol:ft,eventMatchesShortcut:mt,eventToShortcut:ht,isMacLike:gt,isShortcutTaken:yt,keyToSymbol:bt,merge:St,mockChannel:wt,optionOrAltSymbol:xt,shortcutMatchesShortcut:_t,shortcutToHumanString:vt,types:G,useAddonState:U,useArgTypes:It,useArgs:Tt,useChannel:Ot,useGlobalTypes:Et,useGlobals:Ct,useParameter:$,useSharedState:Rt,useStoryPrepared:kt,useStorybookApi:K,useStorybookState:At}=__STORYBOOK_API__;var q=de(J());h();g();y();var Ht=__STORYBOOK_THEMING__,{CacheProvider:Dt,ClassNames:Wt,Global:Q,ThemeProvider:Ft,background:Yt,color:jt,convert:Gt,create:Ut,createCache:$t,createGlobal:Kt,createReset:Zt,css:Jt,darken:Qt,ensure:Xt,ignoreSsrWarning:er,isPropValid:tr,jsx:rr,keyframes:ir,lighten:or,styled:k,themes:nr,typography:ar,useTheme:sr,withTheme:X}=__STORYBOOK_THEMING__;h();g();y();var pr=__STORYBOOK_COMPONENTS__,{A:fr,ActionBar:mr,AddonPanel:hr,Badge:gr,Bar:yr,Blockquote:br,Button:Sr,ClipboardCode:wr,Code:xr,DL:_r,Div:vr,DocumentWrapper:Ir,ErrorFormatter:Tr,FlexBar:Or,Form:Er,H1:Cr,H2:Rr,H3:kr,H4:Ar,H5:Lr,H6:Mr,HR:Pr,IconButton:N,IconButtonSkeleton:Vr,Icons:z,Img:Br,LI:Nr,Link:zr,ListItem:qr,Loader:Hr,OL:Dr,P:Wr,Placeholder:Fr,Pre:Yr,ResetWrapper:jr,ScrollArea:Gr,Separator:Ur,Spaced:$r,Span:Kr,StorybookIcon:Zr,StorybookLogo:Jr,Symbols:Qr,SyntaxHighlighter:Xr,TT:ei,TabBar:ti,TabButton:ri,TabWrapper:ii,Table:oi,Tabs:ni,TabsState:ai,TooltipLinkList:ee,TooltipMessage:si,TooltipNote:li,UL:ui,WithTooltip:te,WithTooltipPure:ci,Zoom:di,codeCommon:pi,components:fi,createCopyToClipboardFunction:mi,getStoryHref:hi,icons:gi,interleaveSeparators:yi,nameSpaceClassNames:bi,resetComponents:Si,withReset:wi}=__STORYBOOK_COMPONENTS__;var _="storybook/viewport",fe="viewport",ie=(e,t)=>e.indexOf(t),me=(e,t)=>{let o=ie(e,t);return o===e.length-1?e[0]:e[o+1]},he=(e,t)=>{let o=ie(e,t);return o<1?e[e.length-1]:e[o-1]},ge=async(e,t,o)=>{await e.setAddonShortcut(_,{label:"Previous viewport",defaultShortcut:["shift","V"],actionName:"previous",action:()=>{let{selected:n,isRotated:u}=e.getAddonState(_);t({selected:he(o,n),isRotated:u})}}),await e.setAddonShortcut(_,{label:"Next viewport",defaultShortcut:["V"],actionName:"next",action:()=>{let{selected:n,isRotated:u}=e.getAddonState(_);t({selected:me(o,n),isRotated:u})}}),await e.setAddonShortcut(_,{label:"Reset viewport",defaultShortcut:["alt","V"],actionName:"reset",action:()=>{let{isRotated:n}=e.getAddonState(_);t({selected:"reset",isRotated:n})}})},ye={mobile1:{name:"Small mobile",styles:{height:"568px",width:"320px"},type:"mobile"},mobile2:{name:"Large mobile",styles:{height:"896px",width:"414px"},type:"mobile"},tablet:{name:"Tablet",styles:{height:"1112px",width:"834px"},type:"tablet"}},be=(0,q.default)(50)(e=>[...Se,...Object.entries(e).map(([t,{name:o,...n}])=>({...n,id:t,title:o}))]),C={id:"reset",title:"Reset viewport",styles:null,type:"other"},Se=[C],we=(0,q.default)(50)((e,t,o,n,u)=>e.filter(f=>f.id!==C.id||t.id!==f.id).map(f=>({...f,onClick:()=>{o({...n,selected:f.id}),u()}}))),xe="storybook-preview-wrapper",_e=({width:e,height:t,...o})=>({...o,height:e,width:t}),ve=k.div(()=>({display:"inline-flex"})),re=k.div(({theme:e})=>({display:"inline-block",textDecoration:"none",padding:10,fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,lineHeight:"1",height:40,border:"none",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",background:"transparent"})),Ie=k(N)(()=>({display:"inline-flex",alignItems:"center"})),Te=k.div(({theme:e})=>({fontSize:e.typography.size.s2-1,marginLeft:10})),Oe=(e,t,o)=>{if(t===null)return;let n=typeof t=="function"?t(e):t;return o?_e(n):n},Ee=F(X(({theme:e})=>{let{viewports:t=ye,defaultOrientation:o="portrait",defaultViewport:n=C.id,disable:u}=$(fe,{}),[f,c]=U(_,{selected:n,isRotated:o==="landscape"}),i=be(t),r=K(),[m,a]=j(!1);i.find(p=>p.id===n)||console.warn(`Cannot find "defaultViewport" of "${n}" in addon-viewport configs, please check the "viewports" setting in the configuration.`),M(()=>{ge(r,c,Object.keys(t))},[t]),M(()=>{c({selected:n||(f.selected&&t[f.selected]?f.selected:C.id),isRotated:o==="landscape"})},[o,n]);let{selected:b,isRotated:d}=f,S=i.find(p=>p.id===b)||i.find(p=>p.id===n)||i.find(p=>p.default)||C,l=Y(),s=Oe(l.current,S.styles,d);return M(()=>{l.current=s},[S]),u||Object.entries(t).length===0?null:w.createElement(D,null,w.createElement(te,{placement:"top",tooltip:({onHide:p})=>w.createElement(ee,{links:we(i,S,c,f,p)}),closeOnOutsideClick:!0,onVisibleChange:a},w.createElement(Ie,{key:"viewport",title:"Change the size of the preview",active:m||!!s,onDoubleClick:()=>{c({...f,selected:C.id})}},w.createElement(z,{icon:"grow"}),s?w.createElement(Te,null,d?`${S.title} (L)`:`${S.title} (P)`):null)),s?w.createElement(ve,null,w.createElement(Q,{styles:{'iframe[data-is-storybook="true"]':{margin:"auto",transition:"none",position:"relative",border:"1px solid black",boxShadow:"0 0 100px 100vw rgba(0,0,0,0.5)",...s},[`#${xe}`]:{padding:e.layoutMargin,alignContent:"center",alignItems:"center",justifyContent:"center",justifyItems:"center",overflow:"auto",display:"grid",gridTemplateColumns:"100%",gridTemplateRows:"100%"}}}),w.createElement(re,{title:"Viewport width"},s.width.replace("px","")),w.createElement(N,{key:"viewport-rotate",title:"Rotate viewport",onClick:()=>{c({...f,isRotated:!d})}},w.createElement(z,{icon:"transfer"})),w.createElement(re,{title:"Viewport height"},s.height.replace("px",""))):null)}));V.register(_,()=>{V.add(_,{title:"viewport / media-queries",type:G.TOOL,match:({viewMode:e})=>e==="story",render:()=>W(Ee,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/pr/pr-177/sb-addons/essentials-viewport-3/manager-bundle.js.LEGAL.txt b/pr/pr-177/sb-addons/essentials-viewport-3/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/pr/pr-177/sb-addons/links-7/manager-bundle.js b/pr/pr-177/sb-addons/links-7/manager-bundle.js new file mode 100644 index 00000000..2e2baf41 --- /dev/null +++ b/pr/pr-177/sb-addons/links-7/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var _=__STORYBOOK_API__,{ActiveTabs:h,Consumer:A,ManagerContext:E,Provider:b,addons:a,combineParameters:O,controlOrMetaKey:k,controlOrMetaSymbol:p,eventMatchesShortcut:v,eventToShortcut:g,isMacLike:I,isShortcutTaken:C,keyToSymbol:M,merge:P,mockChannel:R,optionOrAltSymbol:f,shortcutMatchesShortcut:x,shortcutToHumanString:D,types:G,useAddonState:K,useArgTypes:V,useArgs:$,useChannel:B,useGlobalTypes:N,useGlobals:Q,useParameter:U,useSharedState:Y,useStoryPrepared:q,useStorybookApi:H,useStorybookState:L}=__STORYBOOK_API__;var e="storybook/links",n={NAVIGATE:`${e}/navigate`,REQUEST:`${e}/request`,RECEIVE:`${e}/receive`};a.register(e,t=>{t.on(n.REQUEST,({kind:u,name:S})=>{let c=t.storyId(u,S);t.emit(n.RECEIVE,c)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/pr/pr-177/sb-addons/links-7/manager-bundle.js.LEGAL.txt b/pr/pr-177/sb-addons/links-7/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/pr/pr-177/sb-common-assets/fonts.css b/pr/pr-177/sb-common-assets/fonts.css new file mode 100644 index 00000000..90050cc0 --- /dev/null +++ b/pr/pr-177/sb-common-assets/fonts.css @@ -0,0 +1,31 @@ +@font-face { + font-family: 'Nunito Sans'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url('./nunito-sans-regular.woff2') format('woff2'); +} + +@font-face { + font-family: 'Nunito Sans'; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url('./nunito-sans-italic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Nunito Sans'; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url('./nunito-sans-bold.woff2') format('woff2'); +} + +@font-face { + font-family: 'Nunito Sans'; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url('./nunito-sans-bold-italic.woff2') format('woff2'); +} diff --git a/pr/pr-177/sb-common-assets/nunito-sans-bold-italic.woff2 b/pr/pr-177/sb-common-assets/nunito-sans-bold-italic.woff2 new file mode 100644 index 00000000..33563d8b Binary files /dev/null and b/pr/pr-177/sb-common-assets/nunito-sans-bold-italic.woff2 differ diff --git a/pr/pr-177/sb-common-assets/nunito-sans-bold.woff2 b/pr/pr-177/sb-common-assets/nunito-sans-bold.woff2 new file mode 100644 index 00000000..19fcc944 Binary files /dev/null and b/pr/pr-177/sb-common-assets/nunito-sans-bold.woff2 differ diff --git a/pr/pr-177/sb-common-assets/nunito-sans-italic.woff2 b/pr/pr-177/sb-common-assets/nunito-sans-italic.woff2 new file mode 100644 index 00000000..827096da Binary files /dev/null and b/pr/pr-177/sb-common-assets/nunito-sans-italic.woff2 differ diff --git a/pr/pr-177/sb-common-assets/nunito-sans-regular.woff2 b/pr/pr-177/sb-common-assets/nunito-sans-regular.woff2 new file mode 100644 index 00000000..c527ba49 Binary files /dev/null and b/pr/pr-177/sb-common-assets/nunito-sans-regular.woff2 differ diff --git a/pr/pr-177/sb-manager/WithTooltip-V3YHNWJZ-TRLNWEGW.js b/pr/pr-177/sb-manager/WithTooltip-V3YHNWJZ-TRLNWEGW.js new file mode 100644 index 00000000..350860de --- /dev/null +++ b/pr/pr-177/sb-manager/WithTooltip-V3YHNWJZ-TRLNWEGW.js @@ -0,0 +1 @@ +import{WithToolTipState,WithTooltipPure}from"./chunk-CXYKRFSY.js";import"./chunk-4IYAVH3S.js";import"./chunk-ZEU7PDD3.js";export{WithToolTipState,WithToolTipState as WithTooltip,WithTooltipPure}; diff --git a/pr/pr-177/sb-manager/chunk-4IYAVH3S.js b/pr/pr-177/sb-manager/chunk-4IYAVH3S.js new file mode 100644 index 00000000..e2650f88 --- /dev/null +++ b/pr/pr-177/sb-manager/chunk-4IYAVH3S.js @@ -0,0 +1,348 @@ +import{__commonJS,__export,__toESM,require_memoizerific}from"./chunk-ZEU7PDD3.js";var require_object_assign=__commonJS({"../../node_modules/object-assign/index.js"(exports,module){"use strict";var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty3=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(val==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}function shouldUseNative(){try{if(!Object.assign)return!1;var test1=new String("abc");if(test1[5]="de",Object.getOwnPropertyNames(test1)[0]==="5")return!1;for(var test2={},i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;var order2=Object.getOwnPropertyNames(test2).map(function(n){return test2[n]});if(order2.join("")!=="0123456789")return!1;var test3={};return"abcdefghijklmnopqrst".split("").forEach(function(letter){test3[letter]=letter}),Object.keys(Object.assign({},test3)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}module.exports=shouldUseNative()?Object.assign:function(target,source){for(var from2,to=toObject(target),symbols,s=1;s1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];printWarning("warn",format2,args)}}function error(format2){{for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];printWarning("error",format2,args)}}function printWarning(level,format2,args){{var hasExistingStack=args.length>0&&typeof args[args.length-1]=="string"&&args[args.length-1].indexOf(` + in`)===0;if(!hasExistingStack){var ReactDebugCurrentFrame2=ReactSharedInternals.ReactDebugCurrentFrame,stack=ReactDebugCurrentFrame2.getStackAddendum();stack!==""&&(format2+="%s",args=args.concat([stack]))}var argsWithFormat=args.map(function(item){return""+item});argsWithFormat.unshift("Warning: "+format2),Function.prototype.apply.call(console[level],console,argsWithFormat);try{var argIndex=0,message="Warning: "+format2.replace(/%s/g,function(){return args[argIndex++]});throw new Error(message)}catch{}}}var didWarnStateUpdateForUnmountedComponent={};function warnNoop(publicInstance,callerName){{var _constructor=publicInstance.constructor,componentName=_constructor&&(_constructor.displayName||_constructor.name)||"ReactClass",warningKey=componentName+"."+callerName;if(didWarnStateUpdateForUnmountedComponent[warningKey])return;error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",callerName,componentName),didWarnStateUpdateForUnmountedComponent[warningKey]=!0}}var ReactNoopUpdateQueue={isMounted:function(publicInstance){return!1},enqueueForceUpdate:function(publicInstance,callback,callerName){warnNoop(publicInstance,"forceUpdate")},enqueueReplaceState:function(publicInstance,completeState,callback,callerName){warnNoop(publicInstance,"replaceState")},enqueueSetState:function(publicInstance,partialState,callback,callerName){warnNoop(publicInstance,"setState")}},emptyObject={};Object.freeze(emptyObject);function Component(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}Component.prototype.isReactComponent={},Component.prototype.setState=function(partialState,callback){if(!(typeof partialState=="object"||typeof partialState=="function"||partialState==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,partialState,callback,"setState")},Component.prototype.forceUpdate=function(callback){this.updater.enqueueForceUpdate(this,callback,"forceUpdate")};{var deprecatedAPIs={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},defineDeprecationWarning=function(methodName,info){Object.defineProperty(Component.prototype,methodName,{get:function(){warn("%s(...) is deprecated in plain JavaScript React classes. %s",info[0],info[1])}})};for(var fnName in deprecatedAPIs)deprecatedAPIs.hasOwnProperty(fnName)&&defineDeprecationWarning(fnName,deprecatedAPIs[fnName])}function ComponentDummy(){}ComponentDummy.prototype=Component.prototype;function PureComponent(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}var pureComponentPrototype=PureComponent.prototype=new ComponentDummy;pureComponentPrototype.constructor=PureComponent,_assign(pureComponentPrototype,Component.prototype),pureComponentPrototype.isPureReactComponent=!0;function createRef(){var refObject={current:null};return Object.seal(refObject),refObject}var hasOwnProperty3=Object.prototype.hasOwnProperty,RESERVED_PROPS={key:!0,ref:!0,__self:!0,__source:!0},specialPropKeyWarningShown,specialPropRefWarningShown,didWarnAboutStringRefs;didWarnAboutStringRefs={};function hasValidRef(config){if(hasOwnProperty3.call(config,"ref")){var getter=Object.getOwnPropertyDescriptor(config,"ref").get;if(getter&&getter.isReactWarning)return!1}return config.ref!==void 0}function hasValidKey(config){if(hasOwnProperty3.call(config,"key")){var getter=Object.getOwnPropertyDescriptor(config,"key").get;if(getter&&getter.isReactWarning)return!1}return config.key!==void 0}function defineKeyPropWarningGetter(props,displayName){var warnAboutAccessingKey=function(){specialPropKeyWarningShown||(specialPropKeyWarningShown=!0,error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",displayName))};warnAboutAccessingKey.isReactWarning=!0,Object.defineProperty(props,"key",{get:warnAboutAccessingKey,configurable:!0})}function defineRefPropWarningGetter(props,displayName){var warnAboutAccessingRef=function(){specialPropRefWarningShown||(specialPropRefWarningShown=!0,error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",displayName))};warnAboutAccessingRef.isReactWarning=!0,Object.defineProperty(props,"ref",{get:warnAboutAccessingRef,configurable:!0})}function warnIfStringRefCannotBeAutoConverted(config){if(typeof config.ref=="string"&&ReactCurrentOwner.current&&config.__self&&ReactCurrentOwner.current.stateNode!==config.__self){var componentName=getComponentName(ReactCurrentOwner.current.type);didWarnAboutStringRefs[componentName]||(error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',getComponentName(ReactCurrentOwner.current.type),config.ref),didWarnAboutStringRefs[componentName]=!0)}}var ReactElement=function(type,key,ref,self2,source,owner,props){var element={$$typeof:REACT_ELEMENT_TYPE,type,key,ref,props,_owner:owner};return element._store={},Object.defineProperty(element._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(element,"_self",{configurable:!1,enumerable:!1,writable:!1,value:self2}),Object.defineProperty(element,"_source",{configurable:!1,enumerable:!1,writable:!1,value:source}),Object.freeze&&(Object.freeze(element.props),Object.freeze(element)),element};function createElement2(type,config,children){var propName,props={},key=null,ref=null,self2=null,source=null;if(config!=null){hasValidRef(config)&&(ref=config.ref,warnIfStringRefCannotBeAutoConverted(config)),hasValidKey(config)&&(key=""+config.key),self2=config.__self===void 0?null:config.__self,source=config.__source===void 0?null:config.__source;for(propName in config)hasOwnProperty3.call(config,propName)&&!RESERVED_PROPS.hasOwnProperty(propName)&&(props[propName]=config[propName])}var childrenLength=arguments.length-2;if(childrenLength===1)props.children=children;else if(childrenLength>1){for(var childArray=Array(childrenLength),i=0;i1){for(var childArray=Array(childrenLength),i=0;i is not supported and will be removed in a future major release. Did you mean to render instead?")),context.Provider},set:function(_Provider){context.Provider=_Provider}},_currentValue:{get:function(){return context._currentValue},set:function(_currentValue){context._currentValue=_currentValue}},_currentValue2:{get:function(){return context._currentValue2},set:function(_currentValue2){context._currentValue2=_currentValue2}},_threadCount:{get:function(){return context._threadCount},set:function(_threadCount){context._threadCount=_threadCount}},Consumer:{get:function(){return hasWarnedAboutUsingNestedContextConsumers||(hasWarnedAboutUsingNestedContextConsumers=!0,error("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),context.Consumer}}}),context.Consumer=Consumer}return context._currentRenderer=null,context._currentRenderer2=null,context}function lazy(ctor){var lazyType={$$typeof:REACT_LAZY_TYPE,_ctor:ctor,_status:-1,_result:null};{var defaultProps,propTypes;Object.defineProperties(lazyType,{defaultProps:{configurable:!0,get:function(){return defaultProps},set:function(newDefaultProps){error("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),defaultProps=newDefaultProps,Object.defineProperty(lazyType,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return propTypes},set:function(newPropTypes){error("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),propTypes=newPropTypes,Object.defineProperty(lazyType,"propTypes",{enumerable:!0})}}})}return lazyType}function forwardRef3(render){return render!=null&&render.$$typeof===REACT_MEMO_TYPE?error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof render!="function"?error("forwardRef requires a render function but was given %s.",render===null?"null":typeof render):render.length!==0&&render.length!==2&&error("forwardRef render functions accept exactly two parameters: props and ref. %s",render.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),render!=null&&(render.defaultProps!=null||render.propTypes!=null)&&error("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:REACT_FORWARD_REF_TYPE,render}}function isValidElementType(type){return typeof type=="string"||typeof type=="function"||type===REACT_FRAGMENT_TYPE||type===REACT_CONCURRENT_MODE_TYPE||type===REACT_PROFILER_TYPE||type===REACT_STRICT_MODE_TYPE||type===REACT_SUSPENSE_TYPE||type===REACT_SUSPENSE_LIST_TYPE||typeof type=="object"&&type!==null&&(type.$$typeof===REACT_LAZY_TYPE||type.$$typeof===REACT_MEMO_TYPE||type.$$typeof===REACT_PROVIDER_TYPE||type.$$typeof===REACT_CONTEXT_TYPE||type.$$typeof===REACT_FORWARD_REF_TYPE||type.$$typeof===REACT_FUNDAMENTAL_TYPE||type.$$typeof===REACT_RESPONDER_TYPE||type.$$typeof===REACT_SCOPE_TYPE||type.$$typeof===REACT_BLOCK_TYPE)}function memo(type,compare){return isValidElementType(type)||error("memo: The first argument must be a component. Instead received: %s",type===null?"null":typeof type),{$$typeof:REACT_MEMO_TYPE,type,compare:compare===void 0?null:compare}}function resolveDispatcher(){var dispatcher=ReactCurrentDispatcher.current;if(dispatcher===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: +1. You might have mismatching versions of React and the renderer (such as React DOM) +2. You might be breaking the Rules of Hooks +3. You might have more than one copy of React in the same app +See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return dispatcher}function useContext3(Context,unstable_observedBits){var dispatcher=resolveDispatcher();if(unstable_observedBits!==void 0&&error("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",unstable_observedBits,typeof unstable_observedBits=="number"&&Array.isArray(arguments[2])?` + +Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),Context._context!==void 0){var realContext=Context._context;realContext.Consumer===Context?error("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):realContext.Provider===Context&&error("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return dispatcher.useContext(Context,unstable_observedBits)}function useState(initialState){var dispatcher=resolveDispatcher();return dispatcher.useState(initialState)}function useReducer(reducer,initialArg,init){var dispatcher=resolveDispatcher();return dispatcher.useReducer(reducer,initialArg,init)}function useRef2(initialValue){var dispatcher=resolveDispatcher();return dispatcher.useRef(initialValue)}function useEffect(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useEffect(create3,deps)}function useLayoutEffect2(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useLayoutEffect(create3,deps)}function useCallback(callback,deps){var dispatcher=resolveDispatcher();return dispatcher.useCallback(callback,deps)}function useMemo(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useMemo(create3,deps)}function useImperativeHandle(ref,create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useImperativeHandle(ref,create3,deps)}function useDebugValue(value,formatterFn){{var dispatcher=resolveDispatcher();return dispatcher.useDebugValue(value,formatterFn)}}var propTypesMisspellWarningShown;propTypesMisspellWarningShown=!1;function getDeclarationErrorAddendum(){if(ReactCurrentOwner.current){var name=getComponentName(ReactCurrentOwner.current.type);if(name)return` + +Check the render method of \``+name+"`."}return""}function getSourceInfoErrorAddendum(source){if(source!==void 0){var fileName=source.fileName.replace(/^.*[\\\/]/,""),lineNumber=source.lineNumber;return` + +Check your code at `+fileName+":"+lineNumber+"."}return""}function getSourceInfoErrorAddendumForProps(elementProps){return elementProps!=null?getSourceInfoErrorAddendum(elementProps.__source):""}var ownerHasKeyUseWarning={};function getCurrentComponentErrorInfo(parentType){var info=getDeclarationErrorAddendum();if(!info){var parentName=typeof parentType=="string"?parentType:parentType.displayName||parentType.name;parentName&&(info=` + +Check the top-level render call using <`+parentName+">.")}return info}function validateExplicitKey(element,parentType){if(!(!element._store||element._store.validated||element.key!=null)){element._store.validated=!0;var currentComponentErrorInfo=getCurrentComponentErrorInfo(parentType);if(!ownerHasKeyUseWarning[currentComponentErrorInfo]){ownerHasKeyUseWarning[currentComponentErrorInfo]=!0;var childOwner="";element&&element._owner&&element._owner!==ReactCurrentOwner.current&&(childOwner=" It was passed a child from "+getComponentName(element._owner.type)+"."),setCurrentlyValidatingElement(element),error('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',currentComponentErrorInfo,childOwner),setCurrentlyValidatingElement(null)}}}function validateChildKeys(node2,parentType){if(typeof node2=="object"){if(Array.isArray(node2))for(var i=0;i",info=" Did you accidentally export a JSX literal instead of a component?"):typeString=typeof type,error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",typeString,info)}var element=createElement2.apply(this,arguments);if(element==null)return element;if(validType)for(var i=2;i"u"||typeof MessageChannel!="function"){var _callback=null,_timeoutID=null,_flushCallback=function(){if(_callback!==null)try{var currentTime=exports.unstable_now(),hasRemainingTime=!0;_callback(hasRemainingTime,currentTime),_callback=null}catch(e){throw setTimeout(_flushCallback,0),e}},initialTime=Date.now();exports.unstable_now=function(){return Date.now()-initialTime},requestHostCallback=function(cb){_callback!==null?setTimeout(requestHostCallback,0,cb):(_callback=cb,setTimeout(_flushCallback,0))},requestHostTimeout=function(cb,ms){_timeoutID=setTimeout(cb,ms)},cancelHostTimeout=function(){clearTimeout(_timeoutID)},shouldYieldToHost=function(){return!1},requestPaint=exports.unstable_forceFrameRate=function(){}}else{var performance2=window.performance,_Date=window.Date,_setTimeout=window.setTimeout,_clearTimeout=window.clearTimeout;if(typeof console<"u"){var requestAnimationFrame=window.requestAnimationFrame,cancelAnimationFrame=window.cancelAnimationFrame;typeof requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),typeof cancelAnimationFrame!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if(typeof performance2=="object"&&typeof performance2.now=="function")exports.unstable_now=function(){return performance2.now()};else{var _initialTime=_Date.now();exports.unstable_now=function(){return _Date.now()-_initialTime}}var isMessageLoopRunning=!1,scheduledHostCallback=null,taskTimeoutID=-1,yieldInterval=5,deadline=0;shouldYieldToHost=function(){return exports.unstable_now()>=deadline},requestPaint=function(){},exports.unstable_forceFrameRate=function(fps){if(fps<0||fps>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported");return}fps>0?yieldInterval=Math.floor(1e3/fps):yieldInterval=5};var performWorkUntilDeadline=function(){if(scheduledHostCallback!==null){var currentTime=exports.unstable_now();deadline=currentTime+yieldInterval;var hasTimeRemaining=!0;try{var hasMoreWork=scheduledHostCallback(hasTimeRemaining,currentTime);hasMoreWork?port.postMessage(null):(isMessageLoopRunning=!1,scheduledHostCallback=null)}catch(error){throw port.postMessage(null),error}}else isMessageLoopRunning=!1},channel=new MessageChannel,port=channel.port2;channel.port1.onmessage=performWorkUntilDeadline,requestHostCallback=function(callback){scheduledHostCallback=callback,isMessageLoopRunning||(isMessageLoopRunning=!0,port.postMessage(null))},requestHostTimeout=function(callback,ms){taskTimeoutID=_setTimeout(function(){callback(exports.unstable_now())},ms)},cancelHostTimeout=function(){_clearTimeout(taskTimeoutID),taskTimeoutID=-1}}function push(heap,node2){var index=heap.length;heap.push(node2),siftUp(heap,node2,index)}function peek2(heap){var first=heap[0];return first===void 0?null:first}function pop(heap){var first=heap[0];if(first!==void 0){var last=heap.pop();return last!==first&&(heap[0]=last,siftDown(heap,last,0)),first}else return null}function siftUp(heap,node2,i){for(var index=i;;){var parentIndex=index-1>>>1,parent=heap[parentIndex];if(parent!==void 0&&compare(parent,node2)>0)heap[parentIndex]=node2,heap[index]=parent,index=parentIndex;else return}}function siftDown(heap,node2,i){for(var index=i,length2=heap.length;indexeventLogSize){if(eventLogSize*=2,eventLogSize>MAX_EVENT_LOG_SIZE){console.error("Scheduler Profiling: Event log exceeded maximum size. Don't forget to call `stopLoggingProfilingEvents()`."),stopLoggingProfilingEvents();return}var newEventLog=new Int32Array(eventLogSize*4);newEventLog.set(eventLog),eventLogBuffer=newEventLog.buffer,eventLog=newEventLog}eventLog.set(entries,offset)}}function startLoggingProfilingEvents(){eventLogSize=INITIAL_EVENT_LOG_SIZE,eventLogBuffer=new ArrayBuffer(eventLogSize*4),eventLog=new Int32Array(eventLogBuffer),eventLogIndex=0}function stopLoggingProfilingEvents(){var buffer=eventLogBuffer;return eventLogSize=0,eventLogBuffer=null,eventLog=null,eventLogIndex=0,buffer}function markTaskStart(task,ms){profilingState[QUEUE_SIZE]++,eventLog!==null&&logEvent([TaskStartEvent,ms*1e3,task.id,task.priorityLevel])}function markTaskCompleted(task,ms){profilingState[PRIORITY]=NoPriority,profilingState[CURRENT_TASK_ID]=0,profilingState[QUEUE_SIZE]--,eventLog!==null&&logEvent([TaskCompleteEvent,ms*1e3,task.id])}function markTaskCanceled(task,ms){profilingState[QUEUE_SIZE]--,eventLog!==null&&logEvent([TaskCancelEvent,ms*1e3,task.id])}function markTaskErrored(task,ms){profilingState[PRIORITY]=NoPriority,profilingState[CURRENT_TASK_ID]=0,profilingState[QUEUE_SIZE]--,eventLog!==null&&logEvent([TaskErrorEvent,ms*1e3,task.id])}function markTaskRun(task,ms){runIdCounter++,profilingState[PRIORITY]=task.priorityLevel,profilingState[CURRENT_TASK_ID]=task.id,profilingState[CURRENT_RUN_ID]=runIdCounter,eventLog!==null&&logEvent([TaskRunEvent,ms*1e3,task.id,runIdCounter])}function markTaskYield(task,ms){profilingState[PRIORITY]=NoPriority,profilingState[CURRENT_TASK_ID]=0,profilingState[CURRENT_RUN_ID]=0,eventLog!==null&&logEvent([TaskYieldEvent,ms*1e3,task.id,runIdCounter])}function markSchedulerSuspended(ms){mainThreadIdCounter++,eventLog!==null&&logEvent([SchedulerSuspendEvent,ms*1e3,mainThreadIdCounter])}function markSchedulerUnsuspended(ms){eventLog!==null&&logEvent([SchedulerResumeEvent,ms*1e3,mainThreadIdCounter])}var maxSigned31BitInt=1073741823,IMMEDIATE_PRIORITY_TIMEOUT=-1,USER_BLOCKING_PRIORITY=250,NORMAL_PRIORITY_TIMEOUT=5e3,LOW_PRIORITY_TIMEOUT=1e4,IDLE_PRIORITY=maxSigned31BitInt,taskQueue=[],timerQueue=[],taskIdCounter=1,currentTask=null,currentPriorityLevel=NormalPriority,isPerformingWork=!1,isHostCallbackScheduled=!1,isHostTimeoutScheduled=!1;function advanceTimers(currentTime){for(var timer=peek2(timerQueue);timer!==null;){if(timer.callback===null)pop(timerQueue);else if(timer.startTime<=currentTime)pop(timerQueue),timer.sortIndex=timer.expirationTime,push(taskQueue,timer),markTaskStart(timer,currentTime),timer.isQueued=!0;else return;timer=peek2(timerQueue)}}function handleTimeout(currentTime){if(isHostTimeoutScheduled=!1,advanceTimers(currentTime),!isHostCallbackScheduled)if(peek2(taskQueue)!==null)isHostCallbackScheduled=!0,requestHostCallback(flushWork);else{var firstTimer=peek2(timerQueue);firstTimer!==null&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime)}}function flushWork(hasTimeRemaining,initialTime2){markSchedulerUnsuspended(initialTime2),isHostCallbackScheduled=!1,isHostTimeoutScheduled&&(isHostTimeoutScheduled=!1,cancelHostTimeout()),isPerformingWork=!0;var previousPriorityLevel=currentPriorityLevel;try{if(enableProfiling)try{return workLoop(hasTimeRemaining,initialTime2)}catch(error){if(currentTask!==null){var currentTime=exports.unstable_now();markTaskErrored(currentTask,currentTime),currentTask.isQueued=!1}throw error}else return workLoop(hasTimeRemaining,initialTime2)}finally{currentTask=null,currentPriorityLevel=previousPriorityLevel,isPerformingWork=!1;{var _currentTime=exports.unstable_now();markSchedulerSuspended(_currentTime)}}}function workLoop(hasTimeRemaining,initialTime2){var currentTime=initialTime2;for(advanceTimers(currentTime),currentTask=peek2(taskQueue);currentTask!==null&&!enableSchedulerDebugging&&!(currentTask.expirationTime>currentTime&&(!hasTimeRemaining||shouldYieldToHost()));){var callback=currentTask.callback;if(callback!==null){currentTask.callback=null,currentPriorityLevel=currentTask.priorityLevel;var didUserCallbackTimeout=currentTask.expirationTime<=currentTime;markTaskRun(currentTask,currentTime);var continuationCallback=callback(didUserCallbackTimeout);currentTime=exports.unstable_now(),typeof continuationCallback=="function"?(currentTask.callback=continuationCallback,markTaskYield(currentTask,currentTime)):(markTaskCompleted(currentTask,currentTime),currentTask.isQueued=!1,currentTask===peek2(taskQueue)&&pop(taskQueue)),advanceTimers(currentTime)}else pop(taskQueue);currentTask=peek2(taskQueue)}if(currentTask!==null)return!0;var firstTimer=peek2(timerQueue);return firstTimer!==null&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime),!1}function unstable_runWithPriority(priorityLevel,eventHandler){switch(priorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:case LowPriority:case IdlePriority:break;default:priorityLevel=NormalPriority}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}}function unstable_next(eventHandler){var priorityLevel;switch(currentPriorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:priorityLevel=NormalPriority;break;default:priorityLevel=currentPriorityLevel;break}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}}function unstable_wrapCallback(callback){var parentPriorityLevel=currentPriorityLevel;return function(){var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=parentPriorityLevel;try{return callback.apply(this,arguments)}finally{currentPriorityLevel=previousPriorityLevel}}}function timeoutForPriorityLevel(priorityLevel){switch(priorityLevel){case ImmediatePriority:return IMMEDIATE_PRIORITY_TIMEOUT;case UserBlockingPriority:return USER_BLOCKING_PRIORITY;case IdlePriority:return IDLE_PRIORITY;case LowPriority:return LOW_PRIORITY_TIMEOUT;case NormalPriority:default:return NORMAL_PRIORITY_TIMEOUT}}function unstable_scheduleCallback(priorityLevel,callback,options){var currentTime=exports.unstable_now(),startTime,timeout;if(typeof options=="object"&&options!==null){var delay=options.delay;typeof delay=="number"&&delay>0?startTime=currentTime+delay:startTime=currentTime,timeout=typeof options.timeout=="number"?options.timeout:timeoutForPriorityLevel(priorityLevel)}else timeout=timeoutForPriorityLevel(priorityLevel),startTime=currentTime;var expirationTime=startTime+timeout,newTask={id:taskIdCounter++,callback,priorityLevel,startTime,expirationTime,sortIndex:-1};return newTask.isQueued=!1,startTime>currentTime?(newTask.sortIndex=startTime,push(timerQueue,newTask),peek2(taskQueue)===null&&newTask===peek2(timerQueue)&&(isHostTimeoutScheduled?cancelHostTimeout():isHostTimeoutScheduled=!0,requestHostTimeout(handleTimeout,startTime-currentTime))):(newTask.sortIndex=expirationTime,push(taskQueue,newTask),markTaskStart(newTask,currentTime),newTask.isQueued=!0,!isHostCallbackScheduled&&!isPerformingWork&&(isHostCallbackScheduled=!0,requestHostCallback(flushWork))),newTask}function unstable_pauseExecution(){}function unstable_continueExecution(){!isHostCallbackScheduled&&!isPerformingWork&&(isHostCallbackScheduled=!0,requestHostCallback(flushWork))}function unstable_getFirstCallbackNode(){return peek2(taskQueue)}function unstable_cancelCallback(task){if(task.isQueued){var currentTime=exports.unstable_now();markTaskCanceled(task,currentTime),task.isQueued=!1}task.callback=null}function unstable_getCurrentPriorityLevel(){return currentPriorityLevel}function unstable_shouldYield(){var currentTime=exports.unstable_now();advanceTimers(currentTime);var firstTask=peek2(taskQueue);return firstTask!==currentTask&¤tTask!==null&&firstTask!==null&&firstTask.callback!==null&&firstTask.startTime<=currentTime&&firstTask.expirationTime3&&arguments[3]!==void 0?arguments[3]:DEFAULT_THREAD_ID,interaction={__count:1,id:interactionIDCounter++,name,timestamp},prevInteractions=exports.__interactionsRef.current,interactions=new Set(prevInteractions);interactions.add(interaction),exports.__interactionsRef.current=interactions;var subscriber=exports.__subscriberRef.current,returnValue;try{subscriber!==null&&subscriber.onInteractionTraced(interaction)}finally{try{subscriber!==null&&subscriber.onWorkStarted(interactions,threadID)}finally{try{returnValue=callback()}finally{exports.__interactionsRef.current=prevInteractions;try{subscriber!==null&&subscriber.onWorkStopped(interactions,threadID)}finally{interaction.__count--,subscriber!==null&&interaction.__count===0&&subscriber.onInteractionScheduledWorkCompleted(interaction)}}}}return returnValue}function unstable_wrap(callback){var threadID=arguments.length>1&&arguments[1]!==void 0?arguments[1]:DEFAULT_THREAD_ID,wrappedInteractions=exports.__interactionsRef.current,subscriber=exports.__subscriberRef.current;subscriber!==null&&subscriber.onWorkScheduled(wrappedInteractions,threadID),wrappedInteractions.forEach(function(interaction){interaction.__count++});var hasRun=!1;function wrapped(){var prevInteractions=exports.__interactionsRef.current;exports.__interactionsRef.current=wrappedInteractions,subscriber=exports.__subscriberRef.current;try{var returnValue;try{subscriber!==null&&subscriber.onWorkStarted(wrappedInteractions,threadID)}finally{try{returnValue=callback.apply(void 0,arguments)}finally{exports.__interactionsRef.current=prevInteractions,subscriber!==null&&subscriber.onWorkStopped(wrappedInteractions,threadID)}}return returnValue}finally{hasRun||(hasRun=!0,wrappedInteractions.forEach(function(interaction){interaction.__count--,subscriber!==null&&interaction.__count===0&&subscriber.onInteractionScheduledWorkCompleted(interaction)}))}}return wrapped.cancel=function(){subscriber=exports.__subscriberRef.current;try{subscriber!==null&&subscriber.onWorkCanceled(wrappedInteractions,threadID)}finally{wrappedInteractions.forEach(function(interaction){interaction.__count--,subscriber&&interaction.__count===0&&subscriber.onInteractionScheduledWorkCompleted(interaction)})}},wrapped}var subscribers=null;subscribers=new Set;function unstable_subscribe(subscriber){subscribers.add(subscriber),subscribers.size===1&&(exports.__subscriberRef.current={onInteractionScheduledWorkCompleted,onInteractionTraced,onWorkCanceled,onWorkScheduled,onWorkStarted,onWorkStopped})}function unstable_unsubscribe(subscriber){subscribers.delete(subscriber),subscribers.size===0&&(exports.__subscriberRef.current=null)}function onInteractionTraced(interaction){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onInteractionTraced(interaction)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onInteractionScheduledWorkCompleted(interaction){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onInteractionScheduledWorkCompleted(interaction)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkScheduled(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkScheduled(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkStarted(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkStarted(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkStopped(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkStopped(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkCanceled(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkCanceled(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}exports.unstable_clear=unstable_clear,exports.unstable_getCurrent=unstable_getCurrent,exports.unstable_getThreadID=unstable_getThreadID,exports.unstable_subscribe=unstable_subscribe,exports.unstable_trace=unstable_trace,exports.unstable_unsubscribe=unstable_unsubscribe,exports.unstable_wrap=unstable_wrap})()}});var require_tracing=__commonJS({"../../node_modules/scheduler/tracing.js"(exports,module){"use strict";module.exports=require_scheduler_tracing_development()}});var require_react_dom_development=__commonJS({"../../node_modules/react-dom/cjs/react-dom.development.js"(exports){"use strict";(function(){"use strict";var React3=require_react(),_assign=require_object_assign(),Scheduler=require_scheduler(),checkPropTypes=require_checkPropTypes(),tracing=require_tracing(),ReactSharedInternals=React3.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ReactSharedInternals.hasOwnProperty("ReactCurrentDispatcher")||(ReactSharedInternals.ReactCurrentDispatcher={current:null}),ReactSharedInternals.hasOwnProperty("ReactCurrentBatchConfig")||(ReactSharedInternals.ReactCurrentBatchConfig={suspense:null});function warn(format2){{for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];printWarning("warn",format2,args)}}function error(format2){{for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];printWarning("error",format2,args)}}function printWarning(level,format2,args){{var hasExistingStack=args.length>0&&typeof args[args.length-1]=="string"&&args[args.length-1].indexOf(` + in`)===0;if(!hasExistingStack){var ReactDebugCurrentFrame2=ReactSharedInternals.ReactDebugCurrentFrame,stack=ReactDebugCurrentFrame2.getStackAddendum();stack!==""&&(format2+="%s",args=args.concat([stack]))}var argsWithFormat=args.map(function(item){return""+item});argsWithFormat.unshift("Warning: "+format2),Function.prototype.apply.call(console[level],console,argsWithFormat);try{var argIndex=0,message="Warning: "+format2.replace(/%s/g,function(){return args[argIndex++]});throw new Error(message)}catch{}}}if(!React3)throw Error("ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");var invokeGuardedCallbackImpl=function(name,func,context,a,b,c,d,e,f){var funcArgs=Array.prototype.slice.call(arguments,3);try{func.apply(context,funcArgs)}catch(error2){this.onError(error2)}};if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var fakeNode=document.createElement("react"),invokeGuardedCallbackDev=function(name,func,context,a,b,c,d,e,f){if(!(typeof document<"u"))throw Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var evt=document.createEvent("Event"),didError=!0,windowEvent=window.event,windowEventDescriptor=Object.getOwnPropertyDescriptor(window,"event"),funcArgs=Array.prototype.slice.call(arguments,3);function callCallback2(){fakeNode.removeEventListener(evtType,callCallback2,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=windowEvent),func.apply(context,funcArgs),didError=!1}var error2,didSetError=!1,isCrossOriginError=!1;function handleWindowError(event){if(error2=event.error,didSetError=!0,error2===null&&event.colno===0&&event.lineno===0&&(isCrossOriginError=!0),event.defaultPrevented&&error2!=null&&typeof error2=="object")try{error2._suppressLogging=!0}catch{}}var evtType="react-"+(name||"invokeguardedcallback");window.addEventListener("error",handleWindowError),fakeNode.addEventListener(evtType,callCallback2,!1),evt.initEvent(evtType,!1,!1),fakeNode.dispatchEvent(evt),windowEventDescriptor&&Object.defineProperty(window,"event",windowEventDescriptor),didError&&(didSetError?isCrossOriginError&&(error2=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.")):error2=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(error2)),window.removeEventListener("error",handleWindowError)};invokeGuardedCallbackImpl=invokeGuardedCallbackDev}var invokeGuardedCallbackImpl$1=invokeGuardedCallbackImpl,hasError=!1,caughtError=null,hasRethrowError=!1,rethrowError=null,reporter={onError:function(error2){hasError=!0,caughtError=error2}};function invokeGuardedCallback(name,func,context,a,b,c,d,e,f){hasError=!1,caughtError=null,invokeGuardedCallbackImpl$1.apply(reporter,arguments)}function invokeGuardedCallbackAndCatchFirstError(name,func,context,a,b,c,d,e,f){if(invokeGuardedCallback.apply(this,arguments),hasError){var error2=clearCaughtError();hasRethrowError||(hasRethrowError=!0,rethrowError=error2)}}function rethrowCaughtError(){if(hasRethrowError){var error2=rethrowError;throw hasRethrowError=!1,rethrowError=null,error2}}function hasCaughtError(){return hasError}function clearCaughtError(){if(hasError){var error2=caughtError;return hasError=!1,caughtError=null,error2}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}var getFiberCurrentPropsFromNode=null,getInstanceFromNode=null,getNodeFromInstance=null;function setComponentTree(getFiberCurrentPropsFromNodeImpl,getInstanceFromNodeImpl,getNodeFromInstanceImpl){getFiberCurrentPropsFromNode=getFiberCurrentPropsFromNodeImpl,getInstanceFromNode=getInstanceFromNodeImpl,getNodeFromInstance=getNodeFromInstanceImpl,(!getNodeFromInstance||!getInstanceFromNode)&&error("EventPluginUtils.setComponentTree(...): Injected module is missing getNodeFromInstance or getInstanceFromNode.")}var validateEventDispatches;validateEventDispatches=function(event){var dispatchListeners=event._dispatchListeners,dispatchInstances=event._dispatchInstances,listenersIsArr=Array.isArray(dispatchListeners),listenersLen=listenersIsArr?dispatchListeners.length:dispatchListeners?1:0,instancesIsArr=Array.isArray(dispatchInstances),instancesLen=instancesIsArr?dispatchInstances.length:dispatchInstances?1:0;(instancesIsArr!==listenersIsArr||instancesLen!==listenersLen)&&error("EventPluginUtils: Invalid `event`.")};function executeDispatch(event,listener,inst){var type=event.type||"unknown-event";event.currentTarget=getNodeFromInstance(inst),invokeGuardedCallbackAndCatchFirstError(type,listener,void 0,event),event.currentTarget=null}function executeDispatchesInOrder(event){var dispatchListeners=event._dispatchListeners,dispatchInstances=event._dispatchInstances;if(validateEventDispatches(event),Array.isArray(dispatchListeners))for(var i=0;i-1))throw Error("EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `"+pluginName+"`.");if(!plugins[pluginIndex]){if(!pluginModule.extractEvents)throw Error("EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `"+pluginName+"` does not.");plugins[pluginIndex]=pluginModule;var publishedEvents=pluginModule.eventTypes;for(var eventName in publishedEvents)if(!publishEventForPlugin(publishedEvents[eventName],pluginModule,eventName))throw Error("EventPluginRegistry: Failed to publish event `"+eventName+"` for plugin `"+pluginName+"`.")}}}function publishEventForPlugin(dispatchConfig,pluginModule,eventName){if(eventNameDispatchConfigs.hasOwnProperty(eventName))throw Error("EventPluginRegistry: More than one plugin attempted to publish the same event name, `"+eventName+"`.");eventNameDispatchConfigs[eventName]=dispatchConfig;var phasedRegistrationNames=dispatchConfig.phasedRegistrationNames;if(phasedRegistrationNames){for(var phaseName in phasedRegistrationNames)if(phasedRegistrationNames.hasOwnProperty(phaseName)){var phasedRegistrationName=phasedRegistrationNames[phaseName];publishRegistrationName(phasedRegistrationName,pluginModule,eventName)}return!0}else if(dispatchConfig.registrationName)return publishRegistrationName(dispatchConfig.registrationName,pluginModule,eventName),!0;return!1}function publishRegistrationName(registrationName,pluginModule,eventName){if(registrationNameModules[registrationName])throw Error("EventPluginRegistry: More than one plugin attempted to publish the same registration name, `"+registrationName+"`.");registrationNameModules[registrationName]=pluginModule,registrationNameDependencies[registrationName]=pluginModule.eventTypes[eventName].dependencies;{var lowerCasedName=registrationName.toLowerCase();possibleRegistrationNames[lowerCasedName]=registrationName,registrationName==="onDoubleClick"&&(possibleRegistrationNames.ondblclick=registrationName)}}var plugins=[],eventNameDispatchConfigs={},registrationNameModules={},registrationNameDependencies={},possibleRegistrationNames={};function injectEventPluginOrder(injectedEventPluginOrder){if(eventPluginOrder)throw Error("EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.");eventPluginOrder=Array.prototype.slice.call(injectedEventPluginOrder),recomputePluginOrdering()}function injectEventPluginsByName(injectedNamesToPlugins){var isOrderingDirty=!1;for(var pluginName in injectedNamesToPlugins)if(injectedNamesToPlugins.hasOwnProperty(pluginName)){var pluginModule=injectedNamesToPlugins[pluginName];if(!namesToPlugins.hasOwnProperty(pluginName)||namesToPlugins[pluginName]!==pluginModule){if(namesToPlugins[pluginName])throw Error("EventPluginRegistry: Cannot inject two different event plugins using the same name, `"+pluginName+"`.");namesToPlugins[pluginName]=pluginModule,isOrderingDirty=!0}}isOrderingDirty&&recomputePluginOrdering()}var canUseDOM=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",PLUGIN_EVENT_SYSTEM=1,IS_REPLAYED=32,IS_FIRST_ANCESTOR=64,restoreImpl=null,restoreTarget=null,restoreQueue=null;function restoreStateOfTarget(target){var internalInstance=getInstanceFromNode(target);if(internalInstance){if(typeof restoreImpl!="function")throw Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var stateNode=internalInstance.stateNode;if(stateNode){var _props=getFiberCurrentPropsFromNode(stateNode);restoreImpl(internalInstance.stateNode,internalInstance.type,_props)}}}function setRestoreImplementation(impl){restoreImpl=impl}function enqueueStateRestore(target){restoreTarget?restoreQueue?restoreQueue.push(target):restoreQueue=[target]:restoreTarget=target}function needsStateRestore(){return restoreTarget!==null||restoreQueue!==null}function restoreStateIfNeeded(){if(restoreTarget){var target=restoreTarget,queuedTargets=restoreQueue;if(restoreTarget=null,restoreQueue=null,restoreStateOfTarget(target),queuedTargets)for(var i=0;i2&&(name[0]==="o"||name[0]==="O")&&(name[1]==="n"||name[1]==="N")}function shouldRemoveAttributeWithWarning(name,value,propertyInfo,isCustomComponentTag){if(propertyInfo!==null&&propertyInfo.type===RESERVED)return!1;switch(typeof value){case"function":case"symbol":return!0;case"boolean":{if(isCustomComponentTag)return!1;if(propertyInfo!==null)return!propertyInfo.acceptsBooleans;var prefix2=name.toLowerCase().slice(0,5);return prefix2!=="data-"&&prefix2!=="aria-"}default:return!1}}function shouldRemoveAttribute(name,value,propertyInfo,isCustomComponentTag){if(value===null||typeof value>"u"||shouldRemoveAttributeWithWarning(name,value,propertyInfo,isCustomComponentTag))return!0;if(isCustomComponentTag)return!1;if(propertyInfo!==null)switch(propertyInfo.type){case BOOLEAN:return!value;case OVERLOADED_BOOLEAN:return value===!1;case NUMERIC:return isNaN(value);case POSITIVE_NUMERIC:return isNaN(value)||value<1}return!1}function getPropertyInfo(name){return properties.hasOwnProperty(name)?properties[name]:null}function PropertyInfoRecord(name,type,mustUseProperty,attributeName,attributeNamespace,sanitizeURL2){this.acceptsBooleans=type===BOOLEANISH_STRING||type===BOOLEAN||type===OVERLOADED_BOOLEAN,this.attributeName=attributeName,this.attributeNamespace=attributeNamespace,this.mustUseProperty=mustUseProperty,this.propertyName=name,this.type=type,this.sanitizeURL=sanitizeURL2}var properties={},reservedProps=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];reservedProps.forEach(function(name){properties[name]=new PropertyInfoRecord(name,RESERVED,!1,name,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(_ref){var name=_ref[0],attributeName=_ref[1];properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEANISH_STRING,!1,name.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEANISH_STRING,!1,name,null,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEAN,!1,name.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEAN,!0,name,null,!1)}),["capture","download"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,OVERLOADED_BOOLEAN,!1,name,null,!1)}),["cols","rows","size","span"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,POSITIVE_NUMERIC,!1,name,null,!1)}),["rowSpan","start"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,NUMERIC,!1,name.toLowerCase(),null,!1)});var CAMELIZE=/[\-\:]([a-z])/g,capitalize=function(token2){return token2[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-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,null,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(attributeName){properties[attributeName]=new PropertyInfoRecord(attributeName,STRING,!1,attributeName.toLowerCase(),null,!1)});var xlinkHref="xlinkHref";properties[xlinkHref]=new PropertyInfoRecord("xlinkHref",STRING,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(attributeName){properties[attributeName]=new PropertyInfoRecord(attributeName,STRING,!1,attributeName.toLowerCase(),null,!0)});var ReactDebugCurrentFrame=null;ReactDebugCurrentFrame=ReactSharedInternals.ReactDebugCurrentFrame;var isJavaScriptProtocol=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,didWarn=!1;function sanitizeURL(url){!didWarn&&isJavaScriptProtocol.test(url)&&(didWarn=!0,error("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(url)))}function getValueForProperty(node2,name,expected,propertyInfo){if(propertyInfo.mustUseProperty){var propertyName=propertyInfo.propertyName;return node2[propertyName]}else{propertyInfo.sanitizeURL&&sanitizeURL(""+expected);var attributeName=propertyInfo.attributeName,stringValue=null;if(propertyInfo.type===OVERLOADED_BOOLEAN){if(node2.hasAttribute(attributeName)){var value=node2.getAttribute(attributeName);return value===""?!0:shouldRemoveAttribute(name,expected,propertyInfo,!1)?value:value===""+expected?expected:value}}else if(node2.hasAttribute(attributeName)){if(shouldRemoveAttribute(name,expected,propertyInfo,!1))return node2.getAttribute(attributeName);if(propertyInfo.type===BOOLEAN)return expected;stringValue=node2.getAttribute(attributeName)}return shouldRemoveAttribute(name,expected,propertyInfo,!1)?stringValue===null?expected:stringValue:stringValue===""+expected?expected:stringValue}}function getValueForAttribute(node2,name,expected){{if(!isAttributeNameSafe(name))return;if(!node2.hasAttribute(name))return expected===void 0?void 0:null;var value=node2.getAttribute(name);return value===""+expected?expected:value}}function setValueForProperty(node2,name,value,isCustomComponentTag){var propertyInfo=getPropertyInfo(name);if(!shouldIgnoreAttribute(name,propertyInfo,isCustomComponentTag)){if(shouldRemoveAttribute(name,value,propertyInfo,isCustomComponentTag)&&(value=null),isCustomComponentTag||propertyInfo===null){if(isAttributeNameSafe(name)){var _attributeName=name;value===null?node2.removeAttribute(_attributeName):node2.setAttribute(_attributeName,""+value)}return}var mustUseProperty=propertyInfo.mustUseProperty;if(mustUseProperty){var propertyName=propertyInfo.propertyName;if(value===null){var type=propertyInfo.type;node2[propertyName]=type===BOOLEAN?!1:""}else node2[propertyName]=value;return}var attributeName=propertyInfo.attributeName,attributeNamespace=propertyInfo.attributeNamespace;if(value===null)node2.removeAttribute(attributeName);else{var _type=propertyInfo.type,attributeValue;_type===BOOLEAN||_type===OVERLOADED_BOOLEAN&&value===!0?attributeValue="":(attributeValue=""+value,propertyInfo.sanitizeURL&&sanitizeURL(attributeValue.toString())),attributeNamespace?node2.setAttributeNS(attributeNamespace,attributeName,attributeValue):node2.setAttribute(attributeName,attributeValue)}}}var BEFORE_SLASH_RE=/^(.*)[\\\/]/;function describeComponentFrame(name,source,ownerName){var sourceInfo="";if(source){var path=source.fileName,fileName=path.replace(BEFORE_SLASH_RE,"");if(/^index\./.test(fileName)){var match2=path.match(BEFORE_SLASH_RE);if(match2){var pathBeforeSlash=match2[1];if(pathBeforeSlash){var folderName=pathBeforeSlash.replace(BEFORE_SLASH_RE,"");fileName=folderName+"/"+fileName}}}sourceInfo=" (at "+fileName+":"+source.lineNumber+")"}else ownerName&&(sourceInfo=" (created by "+ownerName+")");return` + in `+(name||"Unknown")+sourceInfo}var hasSymbol=typeof Symbol=="function"&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,REACT_STRICT_MODE_TYPE=hasSymbol?Symbol.for("react.strict_mode"):60108,REACT_PROFILER_TYPE=hasSymbol?Symbol.for("react.profiler"):60114,REACT_PROVIDER_TYPE=hasSymbol?Symbol.for("react.provider"):60109,REACT_CONTEXT_TYPE=hasSymbol?Symbol.for("react.context"):60110,REACT_CONCURRENT_MODE_TYPE=hasSymbol?Symbol.for("react.concurrent_mode"):60111,REACT_FORWARD_REF_TYPE=hasSymbol?Symbol.for("react.forward_ref"):60112,REACT_SUSPENSE_TYPE=hasSymbol?Symbol.for("react.suspense"):60113,REACT_SUSPENSE_LIST_TYPE=hasSymbol?Symbol.for("react.suspense_list"):60120,REACT_MEMO_TYPE=hasSymbol?Symbol.for("react.memo"):60115,REACT_LAZY_TYPE=hasSymbol?Symbol.for("react.lazy"):60116,REACT_BLOCK_TYPE=hasSymbol?Symbol.for("react.block"):60121,MAYBE_ITERATOR_SYMBOL=typeof Symbol=="function"&&Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){if(maybeIterable===null||typeof maybeIterable!="object")return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL];return typeof maybeIterator=="function"?maybeIterator:null}var Uninitialized=-1,Pending=0,Resolved=1,Rejected=2;function refineResolvedLazyComponent(lazyComponent){return lazyComponent._status===Resolved?lazyComponent._result:null}function initializeLazyComponentType(lazyComponent){if(lazyComponent._status===Uninitialized){lazyComponent._status=Pending;var ctor=lazyComponent._ctor,thenable=ctor();lazyComponent._result=thenable,thenable.then(function(moduleObject){if(lazyComponent._status===Pending){var defaultExport=moduleObject.default;defaultExport===void 0&&error(`lazy: Expected the result of a dynamic import() call. Instead received: %s + +Your code should look like: + const MyComponent = lazy(() => import('./MyComponent'))`,moduleObject),lazyComponent._status=Resolved,lazyComponent._result=defaultExport}},function(error2){lazyComponent._status===Pending&&(lazyComponent._status=Rejected,lazyComponent._result=error2)})}}function getWrappedName(outerType,innerType,wrapperName){var functionName=innerType.displayName||innerType.name||"";return outerType.displayName||(functionName!==""?wrapperName+"("+functionName+")":wrapperName)}function getComponentName(type){if(type==null)return null;if(typeof type.tag=="number"&&error("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof type=="function")return type.displayName||type.name||null;if(typeof type=="string")return type;switch(type){case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PORTAL_TYPE:return"Portal";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList"}if(typeof type=="object")switch(type.$$typeof){case REACT_CONTEXT_TYPE:return"Context.Consumer";case REACT_PROVIDER_TYPE:return"Context.Provider";case REACT_FORWARD_REF_TYPE:return getWrappedName(type,type.render,"ForwardRef");case REACT_MEMO_TYPE:return getComponentName(type.type);case REACT_BLOCK_TYPE:return getComponentName(type.render);case REACT_LAZY_TYPE:{var thenable=type,resolvedThenable=refineResolvedLazyComponent(thenable);if(resolvedThenable)return getComponentName(resolvedThenable);break}}return null}var ReactDebugCurrentFrame$1=ReactSharedInternals.ReactDebugCurrentFrame;function describeFiber(fiber){switch(fiber.tag){case HostRoot:case HostPortal:case HostText:case Fragment2:case ContextProvider:case ContextConsumer:return"";default:var owner=fiber._debugOwner,source=fiber._debugSource,name=getComponentName(fiber.type),ownerName=null;return owner&&(ownerName=getComponentName(owner.type)),describeComponentFrame(name,source,ownerName)}}function getStackByFiberInDevAndProd(workInProgress2){var info="",node2=workInProgress2;do info+=describeFiber(node2),node2=node2.return;while(node2);return info}var current=null,isRendering=!1;function getCurrentFiberOwnerNameInDevOrNull(){{if(current===null)return null;var owner=current._debugOwner;if(owner!==null&&typeof owner<"u")return getComponentName(owner.type)}return null}function getCurrentFiberStackInDev(){return current===null?"":getStackByFiberInDevAndProd(current)}function resetCurrentFiber(){ReactDebugCurrentFrame$1.getCurrentStack=null,current=null,isRendering=!1}function setCurrentFiber(fiber){ReactDebugCurrentFrame$1.getCurrentStack=getCurrentFiberStackInDev,current=fiber,isRendering=!1}function setIsRendering(rendering){isRendering=rendering}function toString(value){return""+value}function getToStringValue(value){switch(typeof value){case"boolean":case"number":case"object":case"string":case"undefined":return value;default:return""}}var ReactDebugCurrentFrame$2=null,ReactControlledValuePropTypes={checkPropTypes:null};{ReactDebugCurrentFrame$2=ReactSharedInternals.ReactDebugCurrentFrame;var hasReadOnlyValue={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},propTypes={value:function(props,propName,componentName){return hasReadOnlyValue[props.type]||props.onChange||props.readOnly||props.disabled||props[propName]==null||enableDeprecatedFlareAPI?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(props,propName,componentName){return props.onChange||props.readOnly||props.disabled||props[propName]==null||enableDeprecatedFlareAPI?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}};ReactControlledValuePropTypes.checkPropTypes=function(tagName,props){checkPropTypes(propTypes,props,"prop",tagName,ReactDebugCurrentFrame$2.getStackAddendum)}}function isCheckable(elem){var type=elem.type,nodeName=elem.nodeName;return nodeName&&nodeName.toLowerCase()==="input"&&(type==="checkbox"||type==="radio")}function getTracker(node2){return node2._valueTracker}function detachTracker(node2){node2._valueTracker=null}function getValueFromNode(node2){var value="";return node2&&(isCheckable(node2)?value=node2.checked?"true":"false":value=node2.value),value}function trackValueOnNode(node2){var valueField=isCheckable(node2)?"checked":"value",descriptor=Object.getOwnPropertyDescriptor(node2.constructor.prototype,valueField),currentValue=""+node2[valueField];if(!(node2.hasOwnProperty(valueField)||typeof descriptor>"u"||typeof descriptor.get!="function"||typeof descriptor.set!="function")){var get2=descriptor.get,set2=descriptor.set;Object.defineProperty(node2,valueField,{configurable:!0,get:function(){return get2.call(this)},set:function(value){currentValue=""+value,set2.call(this,value)}}),Object.defineProperty(node2,valueField,{enumerable:descriptor.enumerable});var tracker={getValue:function(){return currentValue},setValue:function(value){currentValue=""+value},stopTracking:function(){detachTracker(node2),delete node2[valueField]}};return tracker}}function track(node2){getTracker(node2)||(node2._valueTracker=trackValueOnNode(node2))}function updateValueIfChanged(node2){if(!node2)return!1;var tracker=getTracker(node2);if(!tracker)return!0;var lastValue=tracker.getValue(),nextValue=getValueFromNode(node2);return nextValue!==lastValue?(tracker.setValue(nextValue),!0):!1}var didWarnValueDefaultValue=!1,didWarnCheckedDefaultChecked=!1,didWarnControlledToUncontrolled=!1,didWarnUncontrolledToControlled=!1;function isControlled(props){var usesChecked=props.type==="checkbox"||props.type==="radio";return usesChecked?props.checked!=null:props.value!=null}function getHostProps(element,props){var node2=element,checked=props.checked,hostProps=_assign({},props,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:checked??node2._wrapperState.initialChecked});return hostProps}function initWrapperState(element,props){ReactControlledValuePropTypes.checkPropTypes("input",props),props.checked!==void 0&&props.defaultChecked!==void 0&&!didWarnCheckedDefaultChecked&&(error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component",props.type),didWarnCheckedDefaultChecked=!0),props.value!==void 0&&props.defaultValue!==void 0&&!didWarnValueDefaultValue&&(error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component",props.type),didWarnValueDefaultValue=!0);var node2=element,defaultValue=props.defaultValue==null?"":props.defaultValue;node2._wrapperState={initialChecked:props.checked!=null?props.checked:props.defaultChecked,initialValue:getToStringValue(props.value!=null?props.value:defaultValue),controlled:isControlled(props)}}function updateChecked(element,props){var node2=element,checked=props.checked;checked!=null&&setValueForProperty(node2,"checked",checked,!1)}function updateWrapper(element,props){var node2=element;{var controlled=isControlled(props);!node2._wrapperState.controlled&&controlled&&!didWarnUncontrolledToControlled&&(error("A component is changing an uncontrolled input of type %s to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",props.type),didWarnUncontrolledToControlled=!0),node2._wrapperState.controlled&&!controlled&&!didWarnControlledToUncontrolled&&(error("A component is changing a controlled input of type %s to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",props.type),didWarnControlledToUncontrolled=!0)}updateChecked(element,props);var value=getToStringValue(props.value),type=props.type;if(value!=null)type==="number"?(value===0&&node2.value===""||node2.value!=value)&&(node2.value=toString(value)):node2.value!==toString(value)&&(node2.value=toString(value));else if(type==="submit"||type==="reset"){node2.removeAttribute("value");return}props.hasOwnProperty("value")?setDefaultValue(node2,props.type,value):props.hasOwnProperty("defaultValue")&&setDefaultValue(node2,props.type,getToStringValue(props.defaultValue)),props.checked==null&&props.defaultChecked!=null&&(node2.defaultChecked=!!props.defaultChecked)}function postMountWrapper(element,props,isHydrating2){var node2=element;if(props.hasOwnProperty("value")||props.hasOwnProperty("defaultValue")){var type=props.type,isButton=type==="submit"||type==="reset";if(isButton&&(props.value===void 0||props.value===null))return;var initialValue=toString(node2._wrapperState.initialValue);isHydrating2||initialValue!==node2.value&&(node2.value=initialValue),node2.defaultValue=initialValue}var name=node2.name;name!==""&&(node2.name=""),node2.defaultChecked=!node2.defaultChecked,node2.defaultChecked=!!node2._wrapperState.initialChecked,name!==""&&(node2.name=name)}function restoreControlledState(element,props){var node2=element;updateWrapper(node2,props),updateNamedCousins(node2,props)}function updateNamedCousins(rootNode,props){var name=props.name;if(props.type==="radio"&&name!=null){for(var queryRoot=rootNode;queryRoot.parentNode;)queryRoot=queryRoot.parentNode;for(var group=queryRoot.querySelectorAll("input[name="+JSON.stringify(""+name)+'][type="radio"]'),i=0;i children."))))}),props.selected!=null&&!didWarnSelectedSetOnOption&&(error("Use the `defaultValue` or `value` props on must be a scalar value if `multiple` is false.%s",propName,getDeclarationErrorAddendum())}}}}function updateOptions(node2,multiple,propValue,setDefaultSelected){var options=node2.options;if(multiple){for(var selectedValues=propValue,selectedValue={},i=0;i.");var hostProps=_assign({},props,{value:void 0,defaultValue:void 0,children:toString(node2._wrapperState.initialValue)});return hostProps}function initWrapperState$2(element,props){var node2=element;ReactControlledValuePropTypes.checkPropTypes("textarea",props),props.value!==void 0&&props.defaultValue!==void 0&&!didWarnValDefaultVal&&(error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component"),didWarnValDefaultVal=!0);var initialValue=props.value;if(initialValue==null){var children=props.children,defaultValue=props.defaultValue;if(children!=null){error("Use the `defaultValue` or `value` props instead of setting children on